@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,16 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42412,(e,t,r)=>{t.exports=e.r(3506)},39485,(e,t,r)=>{t.exports=e.r(92587)},59531,e=>{"use strict";let t,r,n;var i,s=e.i(27999),a=e.i(69178),o=e.i(1415),l=e.i(20733),d=e.i(88639);let u=({client:e,children:t})=>{let r=(0,d.getApolloContext)(),n=o.useContext(r),i=o.useMemo(()=>({...n,client:e||n.client}),[n,e]);return(0,l.invariant)(i.client,38),o.createElement(r.Provider,{value:i},t)};var c=e.i(42412),f=e.i(49061),m=e.i(29252),h=e.i(24413),g=e.i(83769),_=e.i(80265);let p={en:g.default,de:_.default},w=e=>{let t=e?.split("-")?.shift()||"de";return({...p})[t]};function y(e){return Intl.getCanonicalLocales(e)}let v=new WeakMap;function b(e,t){let r=v.get(e);r||(r=new Set(e),v.set(e,r));let n=t;for(;;){if(r.has(n))return n;let e=n.lastIndexOf("-");if(!~e)return;e>=2&&"-"===n[e-2]&&(e-=2),n=n.slice(0,e)}}var x=e.i(23775);let E={"written-new":[{paradigmLocales:{_locales:"en en_GB es es_419 pt_BR pt_PT"}},{$enUS:{_value:"AS+CA+GU+MH+MP+PH+PR+UM+US+VI"}},{$cnsar:{_value:"HK+MO"}},{$americas:{_value:"019"}},{$maghreb:{_value:"MA+DZ+TN+LY+MR+EH"}},{no:{_desired:"nb",_distance:"1"}},{bs:{_desired:"hr",_distance:"4"}},{bs:{_desired:"sh",_distance:"4"}},{hr:{_desired:"sh",_distance:"4"}},{sr:{_desired:"sh",_distance:"4"}},{aa:{_desired:"ssy",_distance:"4"}},{de:{_desired:"gsw",_distance:"4",_oneway:"true"}},{de:{_desired:"lb",_distance:"4",_oneway:"true"}},{no:{_desired:"da",_distance:"8"}},{nb:{_desired:"da",_distance:"8"}},{ru:{_desired:"ab",_distance:"30",_oneway:"true"}},{en:{_desired:"ach",_distance:"30",_oneway:"true"}},{nl:{_desired:"af",_distance:"20",_oneway:"true"}},{en:{_desired:"ak",_distance:"30",_oneway:"true"}},{en:{_desired:"am",_distance:"30",_oneway:"true"}},{es:{_desired:"ay",_distance:"20",_oneway:"true"}},{ru:{_desired:"az",_distance:"30",_oneway:"true"}},{ur:{_desired:"bal",_distance:"20",_oneway:"true"}},{ru:{_desired:"be",_distance:"20",_oneway:"true"}},{en:{_desired:"bem",_distance:"30",_oneway:"true"}},{hi:{_desired:"bh",_distance:"30",_oneway:"true"}},{en:{_desired:"bn",_distance:"30",_oneway:"true"}},{zh:{_desired:"bo",_distance:"20",_oneway:"true"}},{fr:{_desired:"br",_distance:"20",_oneway:"true"}},{es:{_desired:"ca",_distance:"20",_oneway:"true"}},{fil:{_desired:"ceb",_distance:"30",_oneway:"true"}},{en:{_desired:"chr",_distance:"20",_oneway:"true"}},{ar:{_desired:"ckb",_distance:"30",_oneway:"true"}},{fr:{_desired:"co",_distance:"20",_oneway:"true"}},{fr:{_desired:"crs",_distance:"20",_oneway:"true"}},{sk:{_desired:"cs",_distance:"20"}},{en:{_desired:"cy",_distance:"20",_oneway:"true"}},{en:{_desired:"ee",_distance:"30",_oneway:"true"}},{en:{_desired:"eo",_distance:"30",_oneway:"true"}},{es:{_desired:"eu",_distance:"20",_oneway:"true"}},{da:{_desired:"fo",_distance:"20",_oneway:"true"}},{nl:{_desired:"fy",_distance:"20",_oneway:"true"}},{en:{_desired:"ga",_distance:"20",_oneway:"true"}},{en:{_desired:"gaa",_distance:"30",_oneway:"true"}},{en:{_desired:"gd",_distance:"20",_oneway:"true"}},{es:{_desired:"gl",_distance:"20",_oneway:"true"}},{es:{_desired:"gn",_distance:"20",_oneway:"true"}},{hi:{_desired:"gu",_distance:"30",_oneway:"true"}},{en:{_desired:"ha",_distance:"30",_oneway:"true"}},{en:{_desired:"haw",_distance:"20",_oneway:"true"}},{fr:{_desired:"ht",_distance:"20",_oneway:"true"}},{ru:{_desired:"hy",_distance:"30",_oneway:"true"}},{en:{_desired:"ia",_distance:"30",_oneway:"true"}},{en:{_desired:"ig",_distance:"30",_oneway:"true"}},{en:{_desired:"is",_distance:"20",_oneway:"true"}},{id:{_desired:"jv",_distance:"20",_oneway:"true"}},{en:{_desired:"ka",_distance:"30",_oneway:"true"}},{fr:{_desired:"kg",_distance:"30",_oneway:"true"}},{ru:{_desired:"kk",_distance:"30",_oneway:"true"}},{en:{_desired:"km",_distance:"30",_oneway:"true"}},{en:{_desired:"kn",_distance:"30",_oneway:"true"}},{en:{_desired:"kri",_distance:"30",_oneway:"true"}},{tr:{_desired:"ku",_distance:"30",_oneway:"true"}},{ru:{_desired:"ky",_distance:"30",_oneway:"true"}},{it:{_desired:"la",_distance:"20",_oneway:"true"}},{en:{_desired:"lg",_distance:"30",_oneway:"true"}},{fr:{_desired:"ln",_distance:"30",_oneway:"true"}},{en:{_desired:"lo",_distance:"30",_oneway:"true"}},{en:{_desired:"loz",_distance:"30",_oneway:"true"}},{fr:{_desired:"lua",_distance:"30",_oneway:"true"}},{hi:{_desired:"mai",_distance:"20",_oneway:"true"}},{en:{_desired:"mfe",_distance:"30",_oneway:"true"}},{fr:{_desired:"mg",_distance:"30",_oneway:"true"}},{en:{_desired:"mi",_distance:"20",_oneway:"true"}},{en:{_desired:"ml",_distance:"30",_oneway:"true"}},{ru:{_desired:"mn",_distance:"30",_oneway:"true"}},{hi:{_desired:"mr",_distance:"30",_oneway:"true"}},{id:{_desired:"ms",_distance:"30",_oneway:"true"}},{en:{_desired:"mt",_distance:"30",_oneway:"true"}},{en:{_desired:"my",_distance:"30",_oneway:"true"}},{en:{_desired:"ne",_distance:"30",_oneway:"true"}},{nb:{_desired:"nn",_distance:"20"}},{no:{_desired:"nn",_distance:"20"}},{en:{_desired:"nso",_distance:"30",_oneway:"true"}},{en:{_desired:"ny",_distance:"30",_oneway:"true"}},{en:{_desired:"nyn",_distance:"30",_oneway:"true"}},{fr:{_desired:"oc",_distance:"20",_oneway:"true"}},{en:{_desired:"om",_distance:"30",_oneway:"true"}},{en:{_desired:"or",_distance:"30",_oneway:"true"}},{en:{_desired:"pa",_distance:"30",_oneway:"true"}},{en:{_desired:"pcm",_distance:"20",_oneway:"true"}},{en:{_desired:"ps",_distance:"30",_oneway:"true"}},{es:{_desired:"qu",_distance:"30",_oneway:"true"}},{de:{_desired:"rm",_distance:"20",_oneway:"true"}},{en:{_desired:"rn",_distance:"30",_oneway:"true"}},{fr:{_desired:"rw",_distance:"30",_oneway:"true"}},{hi:{_desired:"sa",_distance:"30",_oneway:"true"}},{en:{_desired:"sd",_distance:"30",_oneway:"true"}},{en:{_desired:"si",_distance:"30",_oneway:"true"}},{en:{_desired:"sn",_distance:"30",_oneway:"true"}},{en:{_desired:"so",_distance:"30",_oneway:"true"}},{en:{_desired:"sq",_distance:"30",_oneway:"true"}},{en:{_desired:"st",_distance:"30",_oneway:"true"}},{id:{_desired:"su",_distance:"20",_oneway:"true"}},{en:{_desired:"sw",_distance:"30",_oneway:"true"}},{en:{_desired:"ta",_distance:"30",_oneway:"true"}},{en:{_desired:"te",_distance:"30",_oneway:"true"}},{ru:{_desired:"tg",_distance:"30",_oneway:"true"}},{en:{_desired:"ti",_distance:"30",_oneway:"true"}},{ru:{_desired:"tk",_distance:"30",_oneway:"true"}},{en:{_desired:"tlh",_distance:"30",_oneway:"true"}},{en:{_desired:"tn",_distance:"30",_oneway:"true"}},{en:{_desired:"to",_distance:"30",_oneway:"true"}},{ru:{_desired:"tt",_distance:"30",_oneway:"true"}},{en:{_desired:"tum",_distance:"30",_oneway:"true"}},{zh:{_desired:"ug",_distance:"20",_oneway:"true"}},{ru:{_desired:"uk",_distance:"20",_oneway:"true"}},{en:{_desired:"ur",_distance:"30",_oneway:"true"}},{ru:{_desired:"uz",_distance:"30",_oneway:"true"}},{fr:{_desired:"wo",_distance:"30",_oneway:"true"}},{en:{_desired:"xh",_distance:"30",_oneway:"true"}},{en:{_desired:"yi",_distance:"30",_oneway:"true"}},{en:{_desired:"yo",_distance:"30",_oneway:"true"}},{zh:{_desired:"za",_distance:"20",_oneway:"true"}},{en:{_desired:"zu",_distance:"30",_oneway:"true"}},{ar:{_desired:"aao",_distance:"10",_oneway:"true"}},{ar:{_desired:"abh",_distance:"10",_oneway:"true"}},{ar:{_desired:"abv",_distance:"10",_oneway:"true"}},{ar:{_desired:"acm",_distance:"10",_oneway:"true"}},{ar:{_desired:"acq",_distance:"10",_oneway:"true"}},{ar:{_desired:"acw",_distance:"10",_oneway:"true"}},{ar:{_desired:"acx",_distance:"10",_oneway:"true"}},{ar:{_desired:"acy",_distance:"10",_oneway:"true"}},{ar:{_desired:"adf",_distance:"10",_oneway:"true"}},{ar:{_desired:"aeb",_distance:"10",_oneway:"true"}},{ar:{_desired:"aec",_distance:"10",_oneway:"true"}},{ar:{_desired:"afb",_distance:"10",_oneway:"true"}},{ar:{_desired:"ajp",_distance:"10",_oneway:"true"}},{ar:{_desired:"apc",_distance:"10",_oneway:"true"}},{ar:{_desired:"apd",_distance:"10",_oneway:"true"}},{ar:{_desired:"arq",_distance:"10",_oneway:"true"}},{ar:{_desired:"ars",_distance:"10",_oneway:"true"}},{ar:{_desired:"ary",_distance:"10",_oneway:"true"}},{ar:{_desired:"arz",_distance:"10",_oneway:"true"}},{ar:{_desired:"auz",_distance:"10",_oneway:"true"}},{ar:{_desired:"avl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayh",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayn",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayp",_distance:"10",_oneway:"true"}},{ar:{_desired:"bbz",_distance:"10",_oneway:"true"}},{ar:{_desired:"pga",_distance:"10",_oneway:"true"}},{ar:{_desired:"shu",_distance:"10",_oneway:"true"}},{ar:{_desired:"ssh",_distance:"10",_oneway:"true"}},{az:{_desired:"azb",_distance:"10",_oneway:"true"}},{et:{_desired:"vro",_distance:"10",_oneway:"true"}},{ff:{_desired:"ffm",_distance:"10",_oneway:"true"}},{ff:{_desired:"fub",_distance:"10",_oneway:"true"}},{ff:{_desired:"fue",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuf",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuh",_distance:"10",_oneway:"true"}},{ff:{_desired:"fui",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuq",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuv",_distance:"10",_oneway:"true"}},{gn:{_desired:"gnw",_distance:"10",_oneway:"true"}},{gn:{_desired:"gui",_distance:"10",_oneway:"true"}},{gn:{_desired:"gun",_distance:"10",_oneway:"true"}},{gn:{_desired:"nhd",_distance:"10",_oneway:"true"}},{iu:{_desired:"ikt",_distance:"10",_oneway:"true"}},{kln:{_desired:"enb",_distance:"10",_oneway:"true"}},{kln:{_desired:"eyo",_distance:"10",_oneway:"true"}},{kln:{_desired:"niq",_distance:"10",_oneway:"true"}},{kln:{_desired:"oki",_distance:"10",_oneway:"true"}},{kln:{_desired:"pko",_distance:"10",_oneway:"true"}},{kln:{_desired:"sgc",_distance:"10",_oneway:"true"}},{kln:{_desired:"tec",_distance:"10",_oneway:"true"}},{kln:{_desired:"tuy",_distance:"10",_oneway:"true"}},{kok:{_desired:"gom",_distance:"10",_oneway:"true"}},{kpe:{_desired:"gkp",_distance:"10",_oneway:"true"}},{luy:{_desired:"ida",_distance:"10",_oneway:"true"}},{luy:{_desired:"lkb",_distance:"10",_oneway:"true"}},{luy:{_desired:"lko",_distance:"10",_oneway:"true"}},{luy:{_desired:"lks",_distance:"10",_oneway:"true"}},{luy:{_desired:"lri",_distance:"10",_oneway:"true"}},{luy:{_desired:"lrm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lsm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lto",_distance:"10",_oneway:"true"}},{luy:{_desired:"lts",_distance:"10",_oneway:"true"}},{luy:{_desired:"lwg",_distance:"10",_oneway:"true"}},{luy:{_desired:"nle",_distance:"10",_oneway:"true"}},{luy:{_desired:"nyd",_distance:"10",_oneway:"true"}},{luy:{_desired:"rag",_distance:"10",_oneway:"true"}},{lv:{_desired:"ltg",_distance:"10",_oneway:"true"}},{mg:{_desired:"bhr",_distance:"10",_oneway:"true"}},{mg:{_desired:"bjq",_distance:"10",_oneway:"true"}},{mg:{_desired:"bmm",_distance:"10",_oneway:"true"}},{mg:{_desired:"bzc",_distance:"10",_oneway:"true"}},{mg:{_desired:"msh",_distance:"10",_oneway:"true"}},{mg:{_desired:"skg",_distance:"10",_oneway:"true"}},{mg:{_desired:"tdx",_distance:"10",_oneway:"true"}},{mg:{_desired:"tkg",_distance:"10",_oneway:"true"}},{mg:{_desired:"txy",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmv",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmw",_distance:"10",_oneway:"true"}},{mn:{_desired:"mvf",_distance:"10",_oneway:"true"}},{ms:{_desired:"bjn",_distance:"10",_oneway:"true"}},{ms:{_desired:"btj",_distance:"10",_oneway:"true"}},{ms:{_desired:"bve",_distance:"10",_oneway:"true"}},{ms:{_desired:"bvu",_distance:"10",_oneway:"true"}},{ms:{_desired:"coa",_distance:"10",_oneway:"true"}},{ms:{_desired:"dup",_distance:"10",_oneway:"true"}},{ms:{_desired:"hji",_distance:"10",_oneway:"true"}},{ms:{_desired:"id",_distance:"10",_oneway:"true"}},{ms:{_desired:"jak",_distance:"10",_oneway:"true"}},{ms:{_desired:"jax",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvb",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvr",_distance:"10",_oneway:"true"}},{ms:{_desired:"kxd",_distance:"10",_oneway:"true"}},{ms:{_desired:"lce",_distance:"10",_oneway:"true"}},{ms:{_desired:"lcf",_distance:"10",_oneway:"true"}},{ms:{_desired:"liw",_distance:"10",_oneway:"true"}},{ms:{_desired:"max",_distance:"10",_oneway:"true"}},{ms:{_desired:"meo",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfa",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfb",_distance:"10",_oneway:"true"}},{ms:{_desired:"min",_distance:"10",_oneway:"true"}},{ms:{_desired:"mqg",_distance:"10",_oneway:"true"}},{ms:{_desired:"msi",_distance:"10",_oneway:"true"}},{ms:{_desired:"mui",_distance:"10",_oneway:"true"}},{ms:{_desired:"orn",_distance:"10",_oneway:"true"}},{ms:{_desired:"ors",_distance:"10",_oneway:"true"}},{ms:{_desired:"pel",_distance:"10",_oneway:"true"}},{ms:{_desired:"pse",_distance:"10",_oneway:"true"}},{ms:{_desired:"tmw",_distance:"10",_oneway:"true"}},{ms:{_desired:"urk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkt",_distance:"10",_oneway:"true"}},{ms:{_desired:"xmm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zlm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zmi",_distance:"10",_oneway:"true"}},{ne:{_desired:"dty",_distance:"10",_oneway:"true"}},{om:{_desired:"gax",_distance:"10",_oneway:"true"}},{om:{_desired:"hae",_distance:"10",_oneway:"true"}},{om:{_desired:"orc",_distance:"10",_oneway:"true"}},{or:{_desired:"spv",_distance:"10",_oneway:"true"}},{ps:{_desired:"pbt",_distance:"10",_oneway:"true"}},{ps:{_desired:"pst",_distance:"10",_oneway:"true"}},{qu:{_desired:"qub",_distance:"10",_oneway:"true"}},{qu:{_desired:"qud",_distance:"10",_oneway:"true"}},{qu:{_desired:"quf",_distance:"10",_oneway:"true"}},{qu:{_desired:"qug",_distance:"10",_oneway:"true"}},{qu:{_desired:"quh",_distance:"10",_oneway:"true"}},{qu:{_desired:"quk",_distance:"10",_oneway:"true"}},{qu:{_desired:"qul",_distance:"10",_oneway:"true"}},{qu:{_desired:"qup",_distance:"10",_oneway:"true"}},{qu:{_desired:"qur",_distance:"10",_oneway:"true"}},{qu:{_desired:"qus",_distance:"10",_oneway:"true"}},{qu:{_desired:"quw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qux",_distance:"10",_oneway:"true"}},{qu:{_desired:"quy",_distance:"10",_oneway:"true"}},{qu:{_desired:"qva",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qve",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvi",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvj",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvm",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvs",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvz",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qws",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxr",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxt",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxu",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxw",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdc",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdn",_distance:"10",_oneway:"true"}},{sc:{_desired:"sro",_distance:"10",_oneway:"true"}},{sq:{_desired:"aae",_distance:"10",_oneway:"true"}},{sq:{_desired:"aat",_distance:"10",_oneway:"true"}},{sq:{_desired:"aln",_distance:"10",_oneway:"true"}},{syr:{_desired:"aii",_distance:"10",_oneway:"true"}},{uz:{_desired:"uzs",_distance:"10",_oneway:"true"}},{yi:{_desired:"yih",_distance:"10",_oneway:"true"}},{zh:{_desired:"cdo",_distance:"10",_oneway:"true"}},{zh:{_desired:"cjy",_distance:"10",_oneway:"true"}},{zh:{_desired:"cpx",_distance:"10",_oneway:"true"}},{zh:{_desired:"czh",_distance:"10",_oneway:"true"}},{zh:{_desired:"czo",_distance:"10",_oneway:"true"}},{zh:{_desired:"gan",_distance:"10",_oneway:"true"}},{zh:{_desired:"hak",_distance:"10",_oneway:"true"}},{zh:{_desired:"hsn",_distance:"10",_oneway:"true"}},{zh:{_desired:"lzh",_distance:"10",_oneway:"true"}},{zh:{_desired:"mnp",_distance:"10",_oneway:"true"}},{zh:{_desired:"nan",_distance:"10",_oneway:"true"}},{zh:{_desired:"wuu",_distance:"10",_oneway:"true"}},{zh:{_desired:"yue",_distance:"10",_oneway:"true"}},{"*":{_desired:"*",_distance:"80"}},{"en-Latn":{_desired:"am-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"az-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"bn-Beng",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"bo-Tibt",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"hy-Armn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ka-Geor",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"km-Khmr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"kn-Knda",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"lo-Laoo",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ml-Mlym",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"my-Mymr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ne-Deva",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"or-Orya",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"pa-Guru",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ps-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"sd-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"si-Sinh",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ta-Taml",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"te-Telu",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ti-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"tk-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ur-Arab",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"uz-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"yi-Hebr",_distance:"10",_oneway:"true"}},{"sr-Cyrl":{_desired:"sr-Latn",_distance:"5"}},{"zh-Hans":{_desired:"za-Latn",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"zh-Hant":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"ar-Arab":{_desired:"ar-Latn",_distance:"20",_oneway:"true"}},{"bn-Beng":{_desired:"bn-Latn",_distance:"20",_oneway:"true"}},{"gu-Gujr":{_desired:"gu-Latn",_distance:"20",_oneway:"true"}},{"hi-Deva":{_desired:"hi-Latn",_distance:"20",_oneway:"true"}},{"kn-Knda":{_desired:"kn-Latn",_distance:"20",_oneway:"true"}},{"ml-Mlym":{_desired:"ml-Latn",_distance:"20",_oneway:"true"}},{"mr-Deva":{_desired:"mr-Latn",_distance:"20",_oneway:"true"}},{"ta-Taml":{_desired:"ta-Latn",_distance:"20",_oneway:"true"}},{"te-Telu":{_desired:"te-Latn",_distance:"20",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Latn",_distance:"20",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Latn",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hani",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hrkt",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hani",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hang",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"ko-Hang":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"*-*":{_desired:"*-*",_distance:"50"}},{"ar-*-$maghreb":{_desired:"ar-*-$maghreb",_distance:"4"}},{"ar-*-$!maghreb":{_desired:"ar-*-$!maghreb",_distance:"4"}},{"ar-*-*":{_desired:"ar-*-*",_distance:"5"}},{"en-*-$enUS":{_desired:"en-*-$enUS",_distance:"4"}},{"en-*-GB":{_desired:"en-*-$!enUS",_distance:"3"}},{"en-*-$!enUS":{_desired:"en-*-$!enUS",_distance:"4"}},{"en-*-*":{_desired:"en-*-*",_distance:"5"}},{"es-*-$americas":{_desired:"es-*-$americas",_distance:"4"}},{"es-*-$!americas":{_desired:"es-*-$!americas",_distance:"4"}},{"es-*-*":{_desired:"es-*-*",_distance:"5"}},{"pt-*-$americas":{_desired:"pt-*-$americas",_distance:"4"}},{"pt-*-$!americas":{_desired:"pt-*-$!americas",_distance:"4"}},{"pt-*-*":{_desired:"pt-*-*",_distance:"5"}},{"zh-Hant-$cnsar":{_desired:"zh-Hant-$cnsar",_distance:"4"}},{"zh-Hant-$!cnsar":{_desired:"zh-Hant-$!cnsar",_distance:"4"}},{"zh-Hant-*":{_desired:"zh-Hant-*",_distance:"5"}},{"*-*-*":{_desired:"*-*-*",_distance:"4"}}]},N={"001":["001","001-status-grouping","002","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"002":["002","002-status-grouping","011","014","015","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EA","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","IC","IO","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TN","TZ","UG","YT","ZA","ZM","ZW"],"003":["003","013","021","029","AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],"005":["005","AR","BO","BR","BV","CL","CO","EC","FK","GF","GS","GY","PE","PY","SR","UY","VE"],"009":["009","053","054","057","061","AC","AQ","AS","AU","CC","CK","CP","CX","DG","FJ","FM","GU","HM","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PN","PW","QO","SB","TA","TK","TO","TV","UM","VU","WF","WS"],"011":["011","BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["013","BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["014","BI","DJ","ER","ET","IO","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","SS","TF","TZ","UG","YT","ZM","ZW"],"015":["015","DZ","EA","EG","EH","IC","LY","MA","SD","TN"],"017":["017","AO","CD","CF","CG","CM","GA","GQ","ST","TD"],"018":["018","BW","LS","NA","SZ","ZA"],"019":["003","005","013","019","019-status-grouping","021","029","419","AG","AI","AR","AW","BB","BL","BM","BO","BQ","BR","BS","BV","BZ","CA","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GL","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PM","PR","PY","SR","SV","SX","TC","TT","US","UY","VC","VE","VG","VI"],"021":["021","BM","CA","GL","PM","US"],"029":["029","AG","AI","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["030","CN","HK","JP","KP","KR","MN","MO","TW"],"034":["034","AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["035","BN","ID","KH","LA","MM","MY","PH","SG","TH","TL","VN"],"039":["039","AD","AL","BA","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK"],"053":["053","AU","CC","CX","HM","NF","NZ"],"054":["054","FJ","NC","PG","SB","VU"],"057":["057","FM","GU","KI","MH","MP","NR","PW","UM"],"061":["061","AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],142:["030","034","035","142","143","145","AE","AF","AM","AZ","BD","BH","BN","BT","CN","CY","GE","HK","ID","IL","IN","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],143:["143","KG","KZ","TJ","TM","UZ"],145:["145","AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","YE"],150:["039","150","151","154","155","AD","AL","AT","AX","BA","BE","BG","BY","CH","CQ","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],151:["151","BG","BY","CZ","HU","MD","PL","RO","RU","SK","UA"],154:["154","AX","CQ","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","NO","SE","SJ"],155:["155","AT","BE","CH","DE","FR","LI","LU","MC","NL"],202:["011","014","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","ER","ET","GA","GH","GM","GN","GQ","GW","IO","KE","KM","LR","LS","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TZ","UG","YT","ZA","ZM","ZW"],419:["005","013","029","419","AG","AI","AR","AW","BB","BL","BO","BQ","BR","BS","BV","BZ","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PR","PY","SR","SV","SX","TC","TT","UY","VC","VE","VG","VI"],EU:["AT","BE","BG","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],EZ:["AT","BE","CY","DE","EE","ES","EZ","FI","FR","GR","IE","IT","LT","LU","LV","MT","NL","PT","SI","SK"],QO:["AC","AQ","CP","DG","QO","TA"],UN:["AD","AE","AF","AG","AL","AM","AO","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FM","FR","GA","GB","GD","GE","GH","GM","GN","GQ","GR","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SY","SZ","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TZ","UA","UG","UN","US","UY","UZ","VC","VE","VN","VU","WS","YE","ZA","ZM","ZW"]},M=/-u(?:-[0-9a-z]{2,8})+/gi;function k(e,t,r=Error){if(!e)throw new r(t)}function S(e,t,r){let[n,i,s]=t.split("-"),a=!0;if(s&&"$"===s[0]){let t="!"!==s[1],n=(t?r[s.slice(1)]:r[s.slice(2)]).map(e=>N[e]||[e]).reduce((e,t)=>[...e,...t],[]);a&&=n.indexOf(e.region||"")>-1==t}else a&&=!e.region||"*"===s||s===e.region;return a&&=!e.script||"*"===i||i===e.script,a&&=!e.language||"*"===n||n===e.language}function L(e){return[e.language,e.script,e.region].filter(Boolean).join("-")}function T(e,t,r){for(let n of r.matches){let i=S(e,n.desired,r.matchVariables)&&S(t,n.supported,r.matchVariables);if(n.oneway||i||(i=S(e,n.supported,r.matchVariables)&&S(t,n.desired,r.matchVariables)),i){let i=10*n.distance;if(r.paradigmLocales.indexOf(L(e))>-1!=r.paradigmLocales.indexOf(L(t))>-1)return i-1;return i}}throw Error("No matching distance found")}let C=(0,x.memoize)(function(e,r){let n=new Intl.Locale(e).maximize(),i=new Intl.Locale(r).maximize(),s={language:n.language,script:n.script||"",region:n.region||""},a={language:i.language,script:i.script||"",region:i.region||""},o=0,l=function(){if(!t){let e=E["written-new"][0]?.paradigmLocales?._locales.split(" "),r=E["written-new"].slice(1,5);t={matches:E["written-new"].slice(5).map(e=>{let t=Object.keys(e)[0],r=e[t];return{supported:t,desired:r._desired,distance:+r._distance,oneway:"true"===r.oneway}},{}),matchVariables:r.reduce((e,t)=>{let r=Object.keys(t)[0],n=t[r];return e[r.slice(1)]=n._value.split("+"),e},{}),paradigmLocales:[...e,...e.map(e=>new Intl.Locale(e.replace(/_/g,"-")).maximize().toString())]}}return t}();return s.language!==a.language&&(o+=T({language:n.language,script:"",region:""},{language:i.language,script:"",region:""},l)),s.script!==a.script&&(o+=T({language:n.language,script:s.script,region:""},{language:i.language,script:a.script,region:""},l)),s.region!==a.region&&(o+=T(s,a,l)),o},{serializer:e=>`${e[0]}|${e[1]}`}),j=new WeakMap;var I,R,D="0123456789abcdef",A="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",P="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",O={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},F=!0,G="[DecimalError] ",q=G+"Invalid argument: ",B=G+"Precision limit exceeded",U=G+"crypto unavailable",H="[object Decimal]",K=Math.floor,Z=Math.pow,z=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,V=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,W=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,$=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Y=A.length-1,J=P.length-1,Q={toStringTag:H};function X(e){var t,r,n,i=e.length-1,s="",a=e[0];if(i>0){for(s+=a,t=1;t<i;t++)(r=7-(n=e[t]+"").length)&&(s+=eu(r)),s+=n;(r=7-(n=(a=e[t])+"").length)&&(s+=eu(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return s+a}function ee(e,t,r){if(e!==~~e||e<t||e>r)throw Error(q+e)}function et(e,t,r,n){var i,s,a,o;for(s=e[0];s>=10;s/=10)--t;return--t<0?(t+=7,i=0):(i=Math.ceil((t+1)/7),t%=7),s=Z(10,7-t),o=e[i]%s|0,null==n?t<3?(0==t?o=o/100|0:1==t&&(o=o/10|0),a=r<4&&99999==o||r>3&&49999==o||5e4==o||0==o):a=(r<4&&o+1==s||r>3&&o+1==s/2)&&(e[i+1]/s/100|0)==Z(10,t-2)-1||(o==s/2||0==o)&&(e[i+1]/s/100|0)==0:t<4?(0==t?o=o/1e3|0:1==t?o=o/100|0:2==t&&(o=o/10|0),a=(n||r<4)&&9999==o||!n&&r>3&&4999==o):a=((n||r<4)&&o+1==s||!n&&r>3&&o+1==s/2)&&(e[i+1]/s/1e3|0)==Z(10,t-3)-1,a}function er(e,t,r){for(var n,i,s=[0],a=0,o=e.length;a<o;){for(i=s.length;i--;)s[i]*=t;for(s[0]+=D.indexOf(e.charAt(a++)),n=0;n<s.length;n++)s[n]>r-1&&(void 0===s[n+1]&&(s[n+1]=0),s[n+1]+=s[n]/r|0,s[n]%=r)}return s.reverse()}Q.absoluteValue=Q.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),ei(e)},Q.ceil=function(){return ei(new this.constructor(this),this.e+1,2)},Q.clampedTo=Q.clamp=function(e,t){var r=this.constructor;if(e=new r(e),t=new r(t),!e.s||!t.s)return new r(NaN);if(e.gt(t))throw Error(q+t);return 0>this.cmp(e)?e:this.cmp(t)>0?t:new r(this)},Q.comparedTo=Q.cmp=function(e){var t,r,n,i,s=this.d,a=(e=new this.constructor(e)).d,o=this.s,l=e.s;if(!s||!a)return o&&l?o!==l?o:s===a?0:!s^o<0?1:-1:NaN;if(!s[0]||!a[0])return s[0]?o:a[0]?-l:0;if(o!==l)return o;if(this.e!==e.e)return this.e>e.e^o<0?1:-1;for(t=0,r=(n=s.length)<(i=a.length)?n:i;t<r;++t)if(s[t]!==a[t])return s[t]>a[t]^o<0?1:-1;return n===i?0:n>i^o<0?1:-1},Q.cosine=Q.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+7,n.rounding=1,r=function(e,t){var r,n,i;if(t.isZero())return t;(n=t.d.length)<32?i=(1/ey(4,r=Math.ceil(n/3))).toString():(r=16,i="2.3283064365386962890625e-10"),e.precision+=r,t=ew(e,1,t.times(i),new e(1));for(var s=r;s--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=r,t}(n,ev(n,r)),n.precision=e,n.rounding=t,ei(2==R||3==R?r.neg():r,e,t,!0)):new n(1):new n(NaN)},Q.cubeRoot=Q.cbrt=function(){var e,t,r,n,i,s,a,o,l,d,u=this.constructor;if(!this.isFinite()||this.isZero())return new u(this);for(F=!1,(s=this.s*Z(this.s*this,1/3))&&Math.abs(s)!=1/0?n=new u(s.toString()):(r=X(this.d),(s=((e=this.e)-r.length+1)%3)&&(r+=1==s||-2==s?"0":"00"),s=Z(r,1/3),e=K((e+1)/3)-(e%3==(e<0?-1:2)),(n=new u(r=s==1/0?"5e"+e:(r=s.toExponential()).slice(0,r.indexOf("e")+1)+e)).s=this.s),a=(e=u.precision)+3;;)if(n=en((d=(l=(o=n).times(o).times(o)).plus(this)).plus(this).times(o),d.plus(l),a+2,1),X(o.d).slice(0,a)===(r=X(n.d)).slice(0,a)){if("9999"!=(r=r.slice(a-3,a+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(ei(n,e+1,1),t=!n.times(n).times(n).eq(this));break}if(!i&&(ei(o,e+1,0),o.times(o).times(o).eq(this))){n=o;break}a+=4,i=1}return F=!0,ei(n,e,u.rounding,t)},Q.decimalPlaces=Q.dp=function(){var e,t=this.d,r=NaN;if(t){if(r=((e=t.length-1)-K(this.e/7))*7,e=t[e])for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r},Q.dividedBy=Q.div=function(e){return en(this,new this.constructor(e))},Q.dividedToIntegerBy=Q.divToInt=function(e){var t=this.constructor;return ei(en(this,new t(e),0,1,1),t.precision,t.rounding)},Q.equals=Q.eq=function(e){return 0===this.cmp(e)},Q.floor=function(){return ei(new this.constructor(this),this.e+1,3)},Q.greaterThan=Q.gt=function(e){return this.cmp(e)>0},Q.greaterThanOrEqualTo=Q.gte=function(e){var t=this.cmp(e);return 1==t||0===t},Q.hyperbolicCosine=Q.cosh=function(){var e,t,r,n,i,s=this,a=s.constructor,o=new a(1);if(!s.isFinite())return new a(s.s?1/0:NaN);if(s.isZero())return o;r=a.precision,n=a.rounding,a.precision=r+Math.max(s.e,s.sd())+4,a.rounding=1,(i=s.d.length)<32?t=(1/ey(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),s=ew(a,1,s.times(t),new a(1),!0);for(var l,d=e,u=new a(8);d--;)l=s.times(s),s=o.minus(l.times(u.minus(l.times(u))));return ei(s,a.precision=r,a.rounding=n,!0)},Q.hyperbolicSine=Q.sinh=function(){var e,t,r,n,i=this,s=i.constructor;if(!i.isFinite()||i.isZero())return new s(i);if(t=s.precision,r=s.rounding,s.precision=t+Math.max(i.e,i.sd())+4,s.rounding=1,(n=i.d.length)<3)i=ew(s,2,i,i,!0);else{e=(e=1.4*Math.sqrt(n))>16?16:0|e,i=ew(s,2,i=i.times(1/ey(5,e)),i,!0);for(var a,o=new s(5),l=new s(16),d=new s(20);e--;)a=i.times(i),i=i.times(o.plus(a.times(l.times(a).plus(d))))}return s.precision=t,s.rounding=r,ei(i,t,r,!0)},Q.hyperbolicTangent=Q.tanh=function(){var e,t,r=this.constructor;return this.isFinite()?this.isZero()?new r(this):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,en(this.sinh(),this.cosh(),r.precision=e,r.rounding=t)):new r(this.s)},Q.inverseCosine=Q.acos=function(){var e=this,t=e.constructor,r=e.abs().cmp(1),n=t.precision,i=t.rounding;return -1!==r?0===r?e.isNeg()?el(t,n,i):new t(0):new t(NaN):e.isZero()?el(t,n+4,i).times(.5):(t.precision=n+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=n,t.rounding=i,e.times(2))},Q.inverseHyperbolicCosine=Q.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,F=!1,r=r.times(r).minus(1).sqrt().plus(r),F=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)},Q.inverseHyperbolicSine=Q.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,F=!1,r=r.times(r).plus(1).sqrt().plus(r),F=!0,n.precision=e,n.rounding=t,r.ln())},Q.inverseHyperbolicTangent=Q.atanh=function(){var e,t,r,n,i=this,s=i.constructor;return i.isFinite()?i.e>=0?new s(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=s.precision,t=s.rounding,Math.max(n=i.sd(),e)<-(2*i.e)-1)?ei(new s(i),e,t,!0):(s.precision=r=n-i.e,i=en(i.plus(1),new s(1).minus(i),r+e,1),s.precision=e+4,s.rounding=1,i=i.ln(),s.precision=e,s.rounding=t,i.times(.5)):new s(NaN)},Q.inverseSine=Q.asin=function(){var e,t,r,n,i=this,s=i.constructor;return i.isZero()?new s(i):(t=i.abs().cmp(1),r=s.precision,n=s.rounding,-1!==t)?0===t?((e=el(s,r+4,n).times(.5)).s=i.s,e):new s(NaN):(s.precision=r+6,s.rounding=1,i=i.div(new s(1).minus(i.times(i)).sqrt().plus(1)).atan(),s.precision=r,s.rounding=n,i.times(2))},Q.inverseTangent=Q.atan=function(){var e,t,r,n,i,s,a,o,l,d=this,u=d.constructor,c=u.precision,f=u.rounding;if(d.isFinite()){if(d.isZero())return new u(d);else if(d.abs().eq(1)&&c+4<=J)return(a=el(u,c+4,f).times(.25)).s=d.s,a}else{if(!d.s)return new u(NaN);if(c+4<=J)return(a=el(u,c+4,f).times(.5)).s=d.s,a}for(u.precision=o=c+10,u.rounding=1,e=r=Math.min(28,o/7+2|0);e;--e)d=d.div(d.times(d).plus(1).sqrt().plus(1));for(F=!1,t=Math.ceil(o/7),n=1,l=d.times(d),a=new u(d),i=d;-1!==e;)if(i=i.times(l),s=a.minus(i.div(n+=2)),i=i.times(l),void 0!==(a=s.plus(i.div(n+=2))).d[t])for(e=t;a.d[e]===s.d[e]&&e--;);return r&&(a=a.times(2<<r-1)),F=!0,ei(a,u.precision=c,u.rounding=f,!0)},Q.isFinite=function(){return!!this.d},Q.isInteger=Q.isInt=function(){return!!this.d&&K(this.e/7)>this.d.length-2},Q.isNaN=function(){return!this.s},Q.isNegative=Q.isNeg=function(){return this.s<0},Q.isPositive=Q.isPos=function(){return this.s>0},Q.isZero=function(){return!!this.d&&0===this.d[0]},Q.lessThan=Q.lt=function(e){return 0>this.cmp(e)},Q.lessThanOrEqualTo=Q.lte=function(e){return 1>this.cmp(e)},Q.logarithm=Q.log=function(e){var t,r,n,i,s,a,o,l=this.constructor,d=l.precision,u=l.rounding;if(null==e)e=new l(10),t=!0;else{if(r=(e=new l(e)).d,e.s<0||!r||!r[0]||e.eq(1))return new l(NaN);t=e.eq(10)}if(r=this.d,this.s<0||!r||!r[0]||this.eq(1))return new l(r&&!r[0]?-1/0:1!=this.s?NaN:r?0:1/0);if(t)if(r.length>1)i=!0;else{for(n=r[0];n%10==0;)n/=10;i=1!==n}if(F=!1,et((o=en(s=eg(this,a=d+5),t?eo(l,a+10):eg(e,a),a,1)).d,n=d,u))do if(a+=10,o=en(s=eg(this,a),t?eo(l,a+10):eg(e,a),a,1),!i){+X(o.d).slice(n+1,n+15)+1==1e14&&(o=ei(o,d+1,0));break}while(et(o.d,n+=10,u))return F=!0,ei(o,d,u)},Q.minus=Q.sub=function(e){var t,r,n,i,s,a,o,l,d,u,c,f,m=this.constructor;if(e=new m(e),!this.d||!e.d)return this.s&&e.s?this.d?e.s=-e.s:e=new m(e.d||this.s!==e.s?this:NaN):e=new m(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.plus(e);if(d=this.d,f=e.d,o=m.precision,l=m.rounding,!d[0]||!f[0]){if(f[0])e.s=-e.s;else{if(!d[0])return new m(3===l?-0:0);e=new m(this)}return F?ei(e,o,l):e}if(r=K(e.e/7),u=K(this.e/7),d=d.slice(),s=u-r){for((c=s<0)?(t=d,s=-s,a=f.length):(t=f,r=u,a=d.length),s>(n=Math.max(Math.ceil(o/7),a)+2)&&(s=n,t.length=1),t.reverse(),n=s;n--;)t.push(0);t.reverse()}else{for((c=(n=d.length)<(a=f.length))&&(a=n),n=0;n<a;n++)if(d[n]!=f[n]){c=d[n]<f[n];break}s=0}for(c&&(t=d,d=f,f=t,e.s=-e.s),a=d.length,n=f.length-a;n>0;--n)d[a++]=0;for(n=f.length;n>s;){if(d[--n]<f[n]){for(i=n;i&&0===d[--i];)d[i]=1e7-1;--d[i],d[n]+=1e7}d[n]-=f[n]}for(;0===d[--a];)d.pop();for(;0===d[0];d.shift())--r;return d[0]?(e.d=d,e.e=ea(d,r),F?ei(e,o,l):e):new m(3===l?-0:0)},Q.modulo=Q.mod=function(e){var t,r=this.constructor;return(e=new r(e),this.d&&e.s&&(!e.d||e.d[0]))?e.d&&(!this.d||this.d[0])?(F=!1,9==r.modulo?(t=en(this,e.abs(),0,3,1),t.s*=e.s):t=en(this,e,0,r.modulo,1),t=t.times(e),F=!0,this.minus(t)):ei(new r(this),r.precision,r.rounding):new r(NaN)},Q.naturalExponential=Q.exp=function(){return eh(this)},Q.naturalLogarithm=Q.ln=function(){return eg(this)},Q.negated=Q.neg=function(){var e=new this.constructor(this);return e.s=-e.s,ei(e)},Q.plus=Q.add=function(e){var t,r,n,i,s,a,o,l,d,u,c=this.constructor;if(e=new c(e),!this.d||!e.d)return this.s&&e.s?this.d||(e=new c(e.d||this.s===e.s?this:NaN)):e=new c(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.minus(e);if(d=this.d,u=e.d,o=c.precision,l=c.rounding,!d[0]||!u[0])return u[0]||(e=new c(this)),F?ei(e,o,l):e;if(s=K(this.e/7),n=K(e.e/7),d=d.slice(),i=s-n){for(i<0?(r=d,i=-i,a=u.length):(r=u,n=s,a=d.length),i>(a=(s=Math.ceil(o/7))>a?s+1:a+1)&&(i=a,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((a=d.length)-(i=u.length)<0&&(i=a,r=u,u=d,d=r),t=0;i;)t=(d[--i]=d[i]+u[i]+t)/1e7|0,d[i]%=1e7;for(t&&(d.unshift(t),++n),a=d.length;0==d[--a];)d.pop();return e.d=d,e.e=ea(d,n),F?ei(e,o,l):e},Q.precision=Q.sd=function(e){var t;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(q+e);return this.d?(t=ed(this.d),e&&this.e+1>t&&(t=this.e+1)):t=NaN,t},Q.round=function(){var e=this.constructor;return ei(new e(this),this.e+1,e.rounding)},Q.sine=Q.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+7,n.rounding=1,r=function(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:ew(e,2,t,t);r=(r=1.4*Math.sqrt(n))>16?16:0|r,t=ew(e,2,t=t.times(1/ey(5,r)),t);for(var i,s=new e(5),a=new e(16),o=new e(20);r--;)i=t.times(t),t=t.times(s.plus(i.times(a.times(i).minus(o))));return t}(n,ev(n,r)),n.precision=e,n.rounding=t,ei(R>2?r.neg():r,e,t,!0)):new n(NaN)},Q.squareRoot=Q.sqrt=function(){var e,t,r,n,i,s,a=this.d,o=this.e,l=this.s,d=this.constructor;if(1!==l||!a||!a[0])return new d(!l||l<0&&(!a||a[0])?NaN:a?this:1/0);for(F=!1,0==(l=Math.sqrt(+this))||l==1/0?(((t=X(a)).length+o)%2==0&&(t+="0"),l=Math.sqrt(t),o=K((o+1)/2)-(o<0||o%2),n=new d(t=l==1/0?"5e"+o:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+o)):n=new d(l.toString()),r=(o=d.precision)+3;;)if(n=(s=n).plus(en(this,s,r+2,1)).times(.5),X(s.d).slice(0,r)===(t=X(n.d)).slice(0,r)){if("9999"!=(t=t.slice(r-3,r+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(ei(n,o+1,1),e=!n.times(n).eq(this));break}if(!i&&(ei(s,o+1,0),s.times(s).eq(this))){n=s;break}r+=4,i=1}return F=!0,ei(n,o,d.rounding,e)},Q.tangent=Q.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.rounding=1,(r=r.sin()).s=1,r=en(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,ei(2==R||4==R?r.neg():r,e,t,!0)):new n(NaN)},Q.times=Q.mul=function(e){var t,r,n,i,s,a,o,l,d,u=this.constructor,c=this.d,f=(e=new u(e)).d;if(e.s*=this.s,!c||!c[0]||!f||!f[0])return new u(!e.s||c&&!c[0]&&!f||f&&!f[0]&&!c?NaN:!c||!f?e.s/0:0*e.s);for(r=K(this.e/7)+K(e.e/7),(l=c.length)<(d=f.length)&&(s=c,c=f,f=s,a=l,l=d,d=a),s=[],n=a=l+d;n--;)s.push(0);for(n=d;--n>=0;){for(t=0,i=l+n;i>n;)o=s[i]+f[n]*c[i-n-1]+t,s[i--]=o%1e7|0,t=o/1e7|0;s[i]=(s[i]+t)%1e7|0}for(;!s[--a];)s.pop();return t?++r:s.shift(),e.d=s,e.e=ea(s,r),F?ei(e,u.precision,u.rounding):e},Q.toBinary=function(e,t){return eb(this,2,e,t)},Q.toDecimalPlaces=Q.toDP=function(e,t){var r=this,n=r.constructor;return(r=new n(r),void 0===e)?r:(ee(e,0,1e9),void 0===t?t=n.rounding:ee(t,0,8),ei(r,e+r.e+1,t))},Q.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=es(n,!0):(ee(e,0,1e9),void 0===t?t=i.rounding:ee(t,0,8),r=es(n=ei(new i(n),e+1,t),!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r},Q.toFixed=function(e,t){var r,n,i=this.constructor;return void 0===e?r=es(this):(ee(e,0,1e9),void 0===t?t=i.rounding:ee(t,0,8),r=es(n=ei(new i(this),e+this.e+1,t),!1,e+n.e+1)),this.isNeg()&&!this.isZero()?"-"+r:r},Q.toFraction=function(e){var t,r,n,i,s,a,o,l,d,u,c,f,m=this.d,h=this.constructor;if(!m)return new h(this);if(d=r=new h(1),n=l=new h(0),a=(s=(t=new h(n)).e=ed(m)-this.e-1)%7,t.d[0]=Z(10,a<0?7+a:a),null==e)e=s>0?t:d;else{if(!(o=new h(e)).isInt()||o.lt(d))throw Error(q+o);e=o.gt(t)?s>0?t:d:o}for(F=!1,o=new h(X(m)),u=h.precision,h.precision=s=7*m.length*2;c=en(o,t,0,1,1),1!=(i=r.plus(c.times(n))).cmp(e);)r=n,n=i,i=d,d=l.plus(c.times(i)),l=i,i=t,t=o.minus(c.times(i)),o=i;return i=en(e.minus(r),n,0,1,1),l=l.plus(i.times(d)),r=r.plus(i.times(n)),l.s=d.s=this.s,f=1>en(d,n,s,1).minus(this).abs().cmp(en(l,r,s,1).minus(this).abs())?[d,n]:[l,r],h.precision=u,F=!0,f},Q.toHexadecimal=Q.toHex=function(e,t){return eb(this,16,e,t)},Q.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),null==e){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),void 0===t?t=n.rounding:ee(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(F=!1,r=en(r,e,0,t,1).times(e),F=!0,ei(r)):(e.s=r.s,r=e),r},Q.toNumber=function(){return+this},Q.toOctal=function(e,t){return eb(this,8,e,t)},Q.toPower=Q.pow=function(e){var t,r,n,i,s,a,o=this,l=o.constructor,d=+(e=new l(e));if(!o.d||!e.d||!o.d[0]||!e.d[0])return new l(Z(+o,d));if((o=new l(o)).eq(1))return o;if(n=l.precision,s=l.rounding,e.eq(1))return ei(o,n,s);if((t=K(e.e/7))>=e.d.length-1&&(r=d<0?-d:d)<=0x1fffffffffffff)return i=ec(l,o,r,n),e.s<0?new l(1).div(i):ei(i,n,s);if((a=o.s)<0){if(t<e.d.length-1)return new l(NaN);if((1&e.d[t])==0&&(a=1),0==o.e&&1==o.d[0]&&1==o.d.length)return o.s=a,o}return(t=0!=(r=Z(+o,d))&&isFinite(r)?new l(r+"").e:K(d*(Math.log("0."+X(o.d))/Math.LN10+o.e+1)))>l.maxE+1||t<l.minE-1?new l(t>0?a/0:0):(F=!1,l.rounding=o.s=1,r=Math.min(12,(t+"").length),(i=eh(e.times(eg(o,n+r)),n)).d&&et((i=ei(i,n+5,1)).d,n,s)&&(t=n+10,+X((i=ei(eh(e.times(eg(o,t+r)),t),t+5,1)).d).slice(n+1,n+15)+1==1e14&&(i=ei(i,n+1,0))),i.s=a,F=!0,l.rounding=s,ei(i,n,s))},Q.toPrecision=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=es(n,n.e<=i.toExpNeg||n.e>=i.toExpPos):(ee(e,1,1e9),void 0===t?t=i.rounding:ee(t,0,8),r=es(n=ei(new i(n),e,t),e<=n.e||n.e<=i.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r},Q.toSignificantDigits=Q.toSD=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(ee(e,1,1e9),void 0===t?t=r.rounding:ee(t,0,8)),ei(new r(this),e,t)},Q.toString=function(){var e=this.constructor,t=es(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()&&!this.isZero()?"-"+t:t},Q.truncated=Q.trunc=function(){return ei(new this.constructor(this),this.e+1,1)},Q.valueOf=Q.toJSON=function(){var e=this.constructor,t=es(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()?"-"+t:t};var en=function(){function e(e,t,r){var n,i=0,s=e.length;for(e=e.slice();s--;)n=e[s]*t+i,e[s]=n%r|0,i=n/r|0;return i&&e.unshift(i),e}function t(e,t,r,n){var i,s;if(r!=n)s=r>n?1:-1;else for(i=s=0;i<r;i++)if(e[i]!=t[i]){s=e[i]>t[i]?1:-1;break}return s}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=+(e[r]<t[r]),e[r]=i*n+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,s,a,o,l){var d,u,c,f,m,h,g,_,p,w,y,v,b,x,E,N,M,k,S,L,T=n.constructor,C=n.s==i.s?1:-1,j=n.d,R=i.d;if(!j||!j[0]||!R||!R[0])return new T(!n.s||!i.s||(j?R&&j[0]==R[0]:!R)?NaN:j&&0==j[0]||!R?0*C:C/0);for(l?(m=1,u=n.e-i.e):(l=1e7,m=7,u=K(n.e/m)-K(i.e/m)),S=R.length,M=j.length,w=(p=new T(C)).d=[],c=0;R[c]==(j[c]||0);c++);if(R[c]>(j[c]||0)&&u--,null==s?(x=s=T.precision,a=T.rounding):x=o?s+(n.e-i.e)+1:s,x<0)w.push(1),h=!0;else{if(x=x/m+2|0,c=0,1==S){for(f=0,R=R[0],x++;(c<M||f)&&x--;c++)E=f*l+(j[c]||0),w[c]=E/R|0,f=E%R|0;h=f||c<M}else{for((f=l/(R[0]+1)|0)>1&&(R=e(R,f,l),j=e(j,f,l),S=R.length,M=j.length),N=S,v=(y=j.slice(0,S)).length;v<S;)y[v++]=0;(L=R.slice()).unshift(0),k=R[0],R[1]>=l/2&&++k;do f=0,(d=t(R,y,S,v))<0?(b=y[0],S!=v&&(b=b*l+(y[1]||0)),(f=b/k|0)>1?(f>=l&&(f=l-1),_=(g=e(R,f,l)).length,v=y.length,1==(d=t(g,y,_,v))&&(f--,r(g,S<_?L:R,_,l))):(0==f&&(d=f=1),g=R.slice()),(_=g.length)<v&&g.unshift(0),r(y,g,v,l),-1==d&&(v=y.length,(d=t(R,y,S,v))<1&&(f++,r(y,S<v?L:R,v,l))),v=y.length):0===d&&(f++,y=[0]),w[c++]=f,d&&y[0]?y[v++]=j[N]||0:(y=[j[N]],v=1);while((N++<M||void 0!==y[0])&&x--)h=void 0!==y[0]}w[0]||w.shift()}if(1==m)p.e=u,I=h;else{for(c=1,f=w[0];f>=10;f/=10)c++;p.e=c+u*m-1,ei(p,o?s+p.e+1:s,a,h)}return p}}();function ei(e,t,r,n){var i,s,a,o,l,d,u,c,f,m=e.constructor;e:if(null!=t){if(!(c=e.d))return e;for(i=1,o=c[0];o>=10;o/=10)i++;if((s=t-i)<0)s+=7,a=t,l=(u=c[f=0])/Z(10,i-a-1)%10|0;else if((f=Math.ceil((s+1)/7))>=(o=c.length))if(n){for(;o++<=f;)c.push(0);u=l=0,i=1,s%=7,a=s-7+1}else break e;else{for(i=1,u=o=c[f];o>=10;o/=10)i++;s%=7,l=(a=s-7+i)<0?0:u/Z(10,i-a-1)%10|0}if(n=n||t<0||void 0!==c[f+1]||(a<0?u:u%Z(10,i-a-1)),d=r<4?(l||n)&&(0==r||r==(e.s<0?3:2)):l>5||5==l&&(4==r||n||6==r&&(s>0?a>0?u/Z(10,i-a):0:c[f-1])%10&1||r==(e.s<0?8:7)),t<1||!c[0])return c.length=0,d?(t-=e.e+1,c[0]=Z(10,(7-t%7)%7),e.e=-t||0):c[0]=e.e=0,e;if(0==s?(c.length=f,o=1,f--):(c.length=f+1,o=Z(10,7-s),c[f]=a>0?(u/Z(10,i-a)%Z(10,a)|0)*o:0),d)for(;;)if(0==f){for(s=1,a=c[0];a>=10;a/=10)s++;for(a=c[0]+=o,o=1;a>=10;a/=10)o++;s!=o&&(e.e++,1e7==c[0]&&(c[0]=1));break}else{if(c[f]+=o,1e7!=c[f])break;c[f--]=0,o=1}for(s=c.length;0===c[--s];)c.pop()}return F&&(e.e>m.maxE?(e.d=null,e.e=NaN):e.e<m.minE&&(e.e=0,e.d=[0])),e}function es(e,t,r){if(!e.isFinite())return e_(e);var n,i=e.e,s=X(e.d),a=s.length;return t?(r&&(n=r-a)>0?s=s.charAt(0)+"."+s.slice(1)+eu(n):a>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):i<0?(s="0."+eu(-i-1)+s,r&&(n=r-a)>0&&(s+=eu(n))):i>=a?(s+=eu(i+1-a),r&&(n=r-i-1)>0&&(s=s+"."+eu(n))):((n=i+1)<a&&(s=s.slice(0,n)+"."+s.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(s+="."),s+=eu(n))),s}function ea(e,t){var r=e[0];for(t*=7;r>=10;r/=10)t++;return t}function eo(e,t,r){if(t>Y)throw F=!0,r&&(e.precision=r),Error(B);return ei(new e(A),t,1,!0)}function el(e,t,r){if(t>J)throw Error(B);return ei(new e(P),t,r,!0)}function ed(e){var t=e.length-1,r=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function eu(e){for(var t="";e--;)t+="0";return t}function ec(e,t,r,n){var i,s=new e(1),a=Math.ceil(n/7+4);for(F=!1;;){if(r%2&&ex((s=s.times(t)).d,a)&&(i=!0),0===(r=K(r/2))){r=s.d.length-1,i&&0===s.d[r]&&++s.d[r];break}ex((t=t.times(t)).d,a)}return F=!0,s}function ef(e){return 1&e.d[e.d.length-1]}function em(e,t,r){for(var n,i,s=new e(t[0]),a=0;++a<t.length;){if(!(i=new e(t[a])).s){s=i;break}((n=s.cmp(i))===r||0===n&&s.s===r)&&(s=i)}return s}function eh(e,t){var r,n,i,s,a,o,l,d=0,u=0,c=0,f=e.constructor,m=f.rounding,h=f.precision;if(!e.d||!e.d[0]||e.e>17)return new f(e.d?!e.d[0]?1:e.s<0?0:1/0:e.s?e.s<0?0:e:0/0);for(null==t?(F=!1,l=h):l=t,o=new f(.03125);e.e>-2;)e=e.times(o),c+=5;for(l+=n=Math.log(Z(2,c))/Math.LN10*2+5|0,r=s=a=new f(1),f.precision=l;;){if(s=ei(s.times(e),l,1),r=r.times(++u),X((o=a.plus(en(s,r,l,1))).d).slice(0,l)===X(a.d).slice(0,l)){for(i=c;i--;)a=ei(a.times(a),l,1);if(null!=t)return f.precision=h,a;if(!(d<3&&et(a.d,l-n,m,d)))return ei(a,f.precision=h,m,F=!0);f.precision=l+=10,r=s=o=new f(1),u=0,d++}a=o}}function eg(e,t){var r,n,i,s,a,o,l,d,u,c,f,m=1,h=e,g=h.d,_=h.constructor,p=_.rounding,w=_.precision;if(h.s<0||!g||!g[0]||!h.e&&1==g[0]&&1==g.length)return new _(g&&!g[0]?-1/0:1!=h.s?NaN:g?0:h);if(null==t?(F=!1,u=w):u=t,_.precision=u+=10,n=(r=X(g)).charAt(0),!(15e14>Math.abs(s=h.e)))return d=eo(_,u+2,w).times(s+""),h=eg(new _(n+"."+r.slice(1)),u-10).plus(d),_.precision=w,null==t?ei(h,w,p,F=!0):h;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=X((h=h.times(e)).d)).charAt(0),m++;for(s=h.e,n>1?(h=new _("0."+r),s++):h=new _(n+"."+r.slice(1)),c=h,l=a=h=en(h.minus(1),h.plus(1),u,1),f=ei(h.times(h),u,1),i=3;;){if(a=ei(a.times(f),u,1),X((d=l.plus(en(a,new _(i),u,1))).d).slice(0,u)===X(l.d).slice(0,u)){if(l=l.times(2),0!==s&&(l=l.plus(eo(_,u+2,w).times(s+""))),l=en(l,new _(m),u,1),null!=t)return _.precision=w,l;if(!et(l.d,u-10,p,o))return ei(l,_.precision=w,p,F=!0);_.precision=u+=10,d=a=h=en(c.minus(1),c.plus(1),u,1),f=ei(h.times(h),u,1),i=o=1}l=d,i+=2}}function e_(e){return String(e.s*e.s/0)}function ep(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);n++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(n,i)){if(i-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=7;n<i;)e.d.push(+t.slice(n,n+=7));n=7-(t=t.slice(n)).length}else n-=i;for(;n--;)t+="0";e.d.push(+t),F&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function ew(e,t,r,n,i){var s,a,o,l,d=e.precision,u=Math.ceil(d/7);for(F=!1,l=r.times(r),o=new e(n);;){if(a=en(o.times(l),new e(t++*t++),d,1),o=i?n.plus(a):n.minus(a),n=en(a.times(l),new e(t++*t++),d,1),void 0!==(a=o.plus(n)).d[u]){for(s=u;a.d[s]===o.d[s]&&s--;);if(-1==s)break}s=o,o=n,n=a,a=s}return F=!0,a.d.length=u+1,a}function ey(e,t){for(var r=e;--t;)r*=e;return r}function ev(e,t){var r,n=t.s<0,i=el(e,e.precision,1),s=i.times(.5);if((t=t.abs()).lte(s))return R=n?4:1,t;if((r=t.divToInt(i)).isZero())R=n?3:2;else{if((t=t.minus(r.times(i))).lte(s))return R=ef(r)?n?2:3:n?4:1,t;R=ef(r)?n?1:4:n?3:2}return t.minus(i).abs()}function eb(e,t,r,n){var i,s,a,o,l,d,u,c,f,m=e.constructor,h=void 0!==r;if(h?(ee(r,1,1e9),void 0===n?n=m.rounding:ee(n,0,8)):(r=m.precision,n=m.rounding),e.isFinite()){for(a=(u=es(e)).indexOf("."),h?(i=2,16==t?r=4*r-3:8==t&&(r=3*r-2)):i=t,a>=0&&(u=u.replace(".",""),(f=new m(1)).e=u.length-a,f.d=er(es(f),10,i),f.e=f.d.length),s=l=(c=er(u,10,i)).length;0==c[--l];)c.pop();if(c[0]){if(a<0?s--:((e=new m(e)).d=c,e.e=s,c=(e=en(e,f,r,n,0,i)).d,s=e.e,d=I),a=c[r],o=i/2,d=d||void 0!==c[r+1],d=n<4?(void 0!==a||d)&&(0===n||n===(e.s<0?3:2)):a>o||a===o&&(4===n||d||6===n&&1&c[r-1]||n===(e.s<0?8:7)),c.length=r,d)for(;++c[--r]>i-1;)c[r]=0,r||(++s,c.unshift(1));for(l=c.length;!c[l-1];--l);for(a=0,u="";a<l;a++)u+=D.charAt(c[a]);if(h){if(l>1)if(16==t||8==t){for(a=16==t?4:3,--l;l%a;l++)u+="0";for(l=(c=er(u,i,t)).length;!c[l-1];--l);for(a=1,u="1.";a<l;a++)u+=D.charAt(c[a])}else u=u.charAt(0)+"."+u.slice(1);u=u+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)u="0"+u;u="0."+u}else if(++s>l)for(s-=l;s--;)u+="0";else s<l&&(u=u.slice(0,s)+"."+u.slice(s))}else u=h?"0p+0":"0";u=(16==t?"0x":2==t?"0b":8==t?"0o":"")+u}else u=e_(e);return e.s<0?"-"+u:u}function ex(e,t){if(e.length>t)return e.length=t,!0}function eE(e){return new this(e).abs()}function eN(e){return new this(e).acos()}function eM(e){return new this(e).acosh()}function ek(e,t){return new this(e).plus(t)}function eS(e){return new this(e).asin()}function eL(e){return new this(e).asinh()}function eT(e){return new this(e).atan()}function eC(e){return new this(e).atanh()}function ej(e,t){e=new this(e),t=new this(t);var r,n=this.precision,i=this.rounding,s=n+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(r=t.s<0?el(this,n,i):new this(0)).s=e.s:!e.d||t.isZero()?(r=el(this,s,1).times(.5)).s=e.s:t.s<0?(this.precision=s,this.rounding=1,r=this.atan(en(e,t,s,1)),t=el(this,s,1),this.precision=n,this.rounding=i,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(en(e,t,s,1)):(r=el(this,s,1).times(t.s>0?.25:.75)).s=e.s:r=new this(NaN),r}function eI(e){return new this(e).cbrt()}function eR(e){return ei(e=new this(e),e.e+1,2)}function eD(e,t,r){return new this(e).clamp(t,r)}function eA(e){if(!e||"object"!=typeof e)throw Error(G+"Object expected");var t,r,n,i=!0===e.defaults,s=["precision",1,1e9,"rounding",0,8,"toExpNeg",-9e15,0,"toExpPos",0,9e15,"maxE",0,9e15,"minE",-9e15,0,"modulo",0,9];for(t=0;t<s.length;t+=3)if(r=s[t],i&&(this[r]=O[r]),void 0!==(n=e[r]))if(K(n)===n&&n>=s[t+1]&&n<=s[t+2])this[r]=n;else throw Error(q+r+": "+n);if(r="crypto",i&&(this[r]=O[r]),void 0!==(n=e[r]))if(!0===n||!1===n||0===n||1===n)if(n)if("u">typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(U);else this[r]=!1;else throw Error(q+r+": "+n);return this}function eP(e){return new this(e).cos()}function eO(e){return new this(e).cosh()}function eF(e,t){return new this(e).div(t)}function eG(e){return new this(e).exp()}function eq(e){return ei(e=new this(e),e.e+1,3)}function eB(){var e,t,r=new this(0);for(e=0,F=!1;e<arguments.length;)if(t=new this(arguments[e++]),t.d)r.d&&(r=r.plus(t.times(t)));else{if(t.s)return F=!0,new this(1/0);r=t}return F=!0,r.sqrt()}function eU(e){return e instanceof e8||e&&e.toStringTag===H||!1}function eH(e){return new this(e).ln()}function eK(e,t){return new this(e).log(t)}function eZ(e){return new this(e).log(2)}function ez(e){return new this(e).log(10)}function eV(){return em(this,arguments,-1)}function eW(){return em(this,arguments,1)}function e$(e,t){return new this(e).mod(t)}function eY(e,t){return new this(e).mul(t)}function eJ(e,t){return new this(e).pow(t)}function eQ(e){var t,r,n,i,s=0,a=new this(1),o=[];if(void 0===e?e=this.precision:ee(e,1,1e9),n=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(n));s<n;)(i=t[s])>=429e7?t[s]=crypto.getRandomValues(new Uint32Array(1))[0]:o[s++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);s<n;)(i=t[s]+(t[s+1]<<8)+(t[s+2]<<16)+((127&t[s+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,s):(o.push(i%1e7),s+=4);s=n/4}else throw Error(U);else for(;s<n;)o[s++]=1e7*Math.random()|0;for(n=o[--s],e%=7,n&&e&&(i=Z(10,7-e),o[s]=(n/i|0)*i);0===o[s];s--)o.pop();if(s<0)r=0,o=[0];else{for(r=-1;0===o[0];r-=7)o.shift();for(n=1,i=o[0];i>=10;i/=10)n++;n<7&&(r-=7-n)}return a.e=r,a.d=o,a}function eX(e){return ei(e=new this(e),e.e+1,this.rounding)}function e0(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function e1(e){return new this(e).sin()}function e2(e){return new this(e).sinh()}function e5(e){return new this(e).sqrt()}function e3(e,t){return new this(e).sub(t)}function e4(){var e=0,t=arguments,r=new this(t[0]);for(F=!1;r.s&&++e<t.length;)r=r.plus(t[e]);return F=!0,ei(r,this.precision,this.rounding)}function e7(e){return new this(e).tan()}function e6(e){return new this(e).tanh()}function e9(e){return ei(e=new this(e),e.e+1,1)}Q[Symbol.for("nodejs.util.inspect.custom")]=Q.toString,Q[Symbol.toStringTag]="Decimal";var e8=Q.constructor=function e(t){var r,n,i;function s(e){var t,r,n;if(!(this instanceof s))return new s(e);if(this.constructor=s,eU(e)){this.s=e.s,F?!e.d||e.e>s.maxE?(this.e=NaN,this.d=null):e.e<s.minE?(this.e=0,this.d=[0]):(this.e=e.e,this.d=e.d.slice()):(this.e=e.e,this.d=e.d?e.d.slice():e.d);return}if("number"==(n=typeof e)){if(0===e){this.s=1/e<0?-1:1,this.e=0,this.d=[0];return}if(e<0?(e=-e,this.s=-1):this.s=1,e===~~e&&e<1e7){for(t=0,r=e;r>=10;r/=10)t++;F?t>s.maxE?(this.e=NaN,this.d=null):t<s.minE?(this.e=0,this.d=[0]):(this.e=t,this.d=[e]):(this.e=t,this.d=[e]);return}if(0*e!=0){e||(this.s=NaN),this.e=NaN,this.d=null;return}return ep(this,e.toString())}if("string"===n)return 45===(r=e.charCodeAt(0))?(e=e.slice(1),this.s=-1):(43===r&&(e=e.slice(1)),this.s=1),$.test(e)?ep(this,e):function(e,t){var r,n,i,s,a,o,l,d,u;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),$.test(t))return ep(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(V.test(t))r=16,t=t.toLowerCase();else if(z.test(t))r=2;else if(W.test(t))r=8;else throw Error(q+t);for((s=t.search(/p/i))>0?(l=+t.slice(s+1),t=t.substring(2,s)):t=t.slice(2),a=(s=t.indexOf("."))>=0,n=e.constructor,a&&(s=(o=(t=t.replace(".","")).length)-s,i=ec(n,new n(r),s,2*s)),s=u=(d=er(t,r,1e7)).length-1;0===d[s];--s)d.pop();return s<0?new n(0*e.s):(e.e=ea(d,u),e.d=d,F=!1,a&&(e=en(e,i,4*o)),l&&(e=e.times(54>Math.abs(l)?Z(2,l):e8.pow(2,l))),F=!0,e)}(this,e);if("bigint"===n)return e<0?(e=-e,this.s=-1):this.s=1,ep(this,e.toString());throw Error(q+e)}if(s.prototype=Q,s.ROUND_UP=0,s.ROUND_DOWN=1,s.ROUND_CEIL=2,s.ROUND_FLOOR=3,s.ROUND_HALF_UP=4,s.ROUND_HALF_DOWN=5,s.ROUND_HALF_EVEN=6,s.ROUND_HALF_CEIL=7,s.ROUND_HALF_FLOOR=8,s.EUCLID=9,s.config=s.set=eA,s.clone=e,s.isDecimal=eU,s.abs=eE,s.acos=eN,s.acosh=eM,s.add=ek,s.asin=eS,s.asinh=eL,s.atan=eT,s.atanh=eC,s.atan2=ej,s.cbrt=eI,s.ceil=eR,s.clamp=eD,s.cos=eP,s.cosh=eO,s.div=eF,s.exp=eG,s.floor=eq,s.hypot=eB,s.ln=eH,s.log=eK,s.log10=ez,s.log2=eZ,s.max=eV,s.min=eW,s.mod=e$,s.mul=eY,s.pow=eJ,s.random=eQ,s.round=eX,s.sign=e0,s.sin=e1,s.sinh=e2,s.sqrt=e5,s.sub=e3,s.sum=e4,s.tan=e7,s.tanh=e6,s.trunc=e9,void 0===t&&(t={}),t&&!0!==t.defaults)for(r=0,i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"];r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return s.config(t),s}(O);A=new e8(A),P=new e8(P),new e8(10);let te=new e8(0),tt=new e8(-0);function tr(e,t){if("function"==typeof e.repeat)return e.repeat(t);let r=Array.from({length:t});for(let t=0;t<r.length;t++)r[t]=e;return r.join("")}function tn(e,t,r=Error){if(!e)throw new r(t)}let ti=(0,x.memoize)((...e)=>new Intl.NumberFormat(...e),{strategy:x.strategies.variadic}),ts=(0,x.memoize)((...e)=>new Intl.PluralRules(...e),{strategy:x.strategies.variadic});function ta(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function to(e){if("number"==typeof e)return new e8(e);if("bigint"==typeof e)return new e8(e.toString());if(tn("symbol"!=typeof e,"Symbol is not supported",TypeError),void 0===e)return new e8(NaN);if(null===e||0===e)return te;if(!0===e)return new e8(1);if("string"==typeof e)try{return new e8(e)}catch{return new e8(NaN)}tn("object"==typeof e,"object expected",TypeError);let t=tu(e,"number");return tn("object"!=typeof t,"object expected",TypeError),to(t)}function tl(e){if(null==e)throw TypeError("undefined/null cannot be converted to object");return Object(e)}function td(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":void 0}function tu(e,t){if("object"==typeof e&&null!=e){let r,n=Symbol.toPrimitive in e?e[Symbol.toPrimitive]:void 0;if(void 0!==n){void 0===t?r="default":"string"===t?r="string":(tn("number"===t,'preferredType must be "string" or "number"'),r="number");let i=n.call(e,r);if("object"!=typeof i)return i;throw TypeError("Cannot convert exotic object to primitive.")}for(let r of(void 0===t&&(t="number"),"string"===t?["toString","valueOf"]:["valueOf","toString"])){let t=e[r];if("function"==typeof t){let r=t.call(e);if("object"!=typeof r)return r}}throw TypeError("Cannot convert object to primitive value")}return e}function tc(e,t,r,n,i){if("object"!=typeof e)throw TypeError("Options must be an object");let s=e[t];if(void 0!==s){if("boolean"!==r&&"string"!==r)throw TypeError("invalid type");if("boolean"===r&&(s=!!s),"string"===r&&(s=ta(s)),void 0!==n&&!n.filter(e=>e==s).length)throw RangeError(`${s} is not within ${n.join(", ")}`);return s}return i}function tf(e,t,r){void 0!==r&&tc(r=tl(r),"localeMatcher","string",["lookup","best fit"],"best fit");var n=Array.from(e);let i=[];for(let e of t){let t=b(n,e.replace(M,""));t&&i.push(t)}return i}function tm(e){if("bigint"==typeof e)return new e8(e.toString());let t=tu(e,"number");if(void 0===t)return new e8(NaN);if(!0===t)return new e8(1);if(!1===t||null===t)return new e8(0);try{return new e8(t)}catch{return new e8(NaN)}}function th(e){return void 0===e?Object.create(null):tl(e)}function tg(e,t,r,n){if(void 0===e)return n;let i=Number(e);if(isNaN(i)||i<t||i>r)throw RangeError(`${i} is outside of range [${t}, ${r}]`);return Math.floor(i)}(0,x.memoize)((...e)=>new Intl.Locale(...e),{strategy:x.strategies.variadic}),(0,x.memoize)((...e)=>new Intl.ListFormat(...e),{strategy:x.strategies.variadic});let t_=new Set([1,2,5,10,20,25,50,100,200,250,500,1e3,2e3,2500,5e3]);function tp(e){return Intl.getCanonicalLocales(e)[0]}function tw(e,t,r,n,i,s){let a,o;if("lookup"===r.localeMatcher)a=function(e,t,r){let n={locale:""};for(let r of t){let t=r.replace(M,""),i=b(e,t);if(i)return n.locale=i,r!==t&&(n.extension=r.slice(t.length,r.length)),n}return n.locale=r(),n}(Array.from(e),t,s);else{var l;let r,n,i,o,d;l=Array.from(e),i=[],o=t.reduce((e,t)=>{let r=t.replace(M,"");return i.push(r),e[r]=t,e},{}),(d=function(e,t,r=838){let n=1/0,i={matchedDesiredLocale:"",distances:{}},s=j.get(t);s||(s=t.map(e=>{try{return Intl.getCanonicalLocales([e])[0]||e}catch{return e}}),j.set(t,s));let a=new Set(s);for(let t=0;t<e.length;t++){let r=e[t];if(a.has(r)){let e=0+40*t;if(i.distances[r]={[r]:e},e<n&&(n=e,i.matchedDesiredLocale=r,i.matchedSupportedLocale=r),0===t)return i}}for(let t=0;t<e.length;t++){let r=e[t];try{let e=new Intl.Locale(r).maximize().toString();if(e!==r){let s=function(e){let t=[],r=e;for(;r;){t.push(r);let e=r.lastIndexOf("-");if(-1===e)break;r=r.substring(0,e)}return t}(e);for(let o=0;o<s.length;o++){let l=s[o];if(l!==r&&a.has(l)){let s;try{s=new Intl.Locale(l).maximize().toString()===e?0+40*t:10*o+40*t}catch{s=10*o+40*t}i.distances[r]||(i.distances[r]={}),i.distances[r][l]=s,s<n&&(n=s,i.matchedDesiredLocale=r,i.matchedSupportedLocale=l);break}}}}catch{}}return i.matchedSupportedLocale&&0===n||(e.forEach((e,r)=>{i.distances[e]||(i.distances[e]={}),s.forEach((s,a)=>{let o=t[a],l=C(e,s)+0+40*r;i.distances[e][o]=l,l<n&&(n=l,i.matchedDesiredLocale=e,i.matchedSupportedLocale=o)})}),n>=r&&(i.matchedDesiredLocale=void 0,i.matchedSupportedLocale=void 0)),i}(i,l)).matchedSupportedLocale&&d.matchedDesiredLocale&&(r=d.matchedSupportedLocale,n=o[d.matchedDesiredLocale].slice(d.matchedDesiredLocale.length)||void 0),a=r?{locale:r,extension:n}:{locale:s()}}null==a&&(a={locale:s(),extension:""});let d=a.locale,u=i[d],c={locale:"en",dataLocale:d};o=a.extension?function(e){let t;k(e===e.toLowerCase(),"Expected extension to be lowercase"),k("-u-"===e.slice(0,3),"Expected extension to be a Unicode locale extension");let r=[],n=[],i=e.length,s=3;for(;s<i;){let a,o=e.indexOf("-",s);a=-1===o?i-s:o-s;let l=e.slice(s,s+a);k(a>=2,"Expected a subtag to have at least 2 characters"),void 0===t&&2!=a?-1===r.indexOf(l)&&r.push(l):2===a?(t={key:l,value:""},void 0===n.find(e=>e.key===t?.key)&&n.push(t)):t?.value===""?t.value=l:(k(void 0!==t,"Expected keyword to be defined"),t.value+="-"+l),s+=a+1}return{attributes:r,keywords:n}}(a.extension).keywords:[];let f=[];for(let e of n){let t,n=u?.[e]??[];k(Array.isArray(n),`keyLocaleData for ${e} must be an array`);let i=n[0];k(void 0===i||"string"==typeof i,"value must be a string or undefined");let s=o.find(t=>t.key===e);if(s){let r=s.value;""!==r?n.indexOf(r)>-1&&(t={key:e,value:i=r}):n.indexOf("true")>-1&&(t={key:e,value:i="true"})}let a=r[e];k(null==a||"string"==typeof a,"optionsValue must be a string or undefined"),"string"==typeof a&&""===(a=function(e,t){let r=t.toLowerCase();return k(void 0!==e,"ukey must be defined"),r}(e.toLowerCase(),a))&&(a="true"),a!==i&&n.indexOf(a)>-1&&(i=a,t=void 0),t&&f.push(t),c[e]=i}return f.length>0&&(d=function(e,t,r){k(-1===e.indexOf("-u-"),"Expected locale to not have a Unicode locale extension");let n="-u";for(let e of t)n+=`-${e}`;for(let e of r){let{key:t,value:r}=e;n+=`-${t}`,""!==r&&(n+=`-${r}`)}if("-u"===n)return tp(e);let i=e.indexOf("-x-");return tp(-1===i?e+n:e.slice(0,i)+n+e.slice(i))}(d,[],f)),c.locale=d,c}let ty=(0,x.memoize)(e=>e8.pow(10,e));e8.set({toExpPos:100});let tv={ceil:"zero",floor:"infinity",expand:"infinity",trunc:"zero",halfCeil:"half-zero",halfFloor:"half-infinity",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"},tb={ceil:"infinity",floor:"zero",expand:"infinity",trunc:"zero",halfCeil:"half-infinity",halfFloor:"half-zero",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"};function tx(e,t,r,n){if(e.eq(t)||t.eq(r))return t;if(e.eq(r))return r;if(tn(t.lessThan(e)&&e.lessThan(r),`x should be between r1 and r2 but x=${e}, r1=${t}, r2=${r}`),"zero"===n)return t;if("infinity"===n)return r;let i=e.minus(t),s=r.minus(e);return i.lessThan(s)?t:s.lessThan(i)?r:(tn(i.eq(s),"d1 should be equal to d2"),"half-zero"===n)?t:"half-infinity"===n?r:(tn("half-even"===n,"unsignedRoundingMode should be half-even"),t.div(r.minus(t)).mod(2).isZero())?t:r}function tE(e,t){return e.times(ty(-t))}function tN(e,t,r,n,i){let s,a,o,l,d,u,c,f,{n1:m,r1:h}=(u=tE(d=e.times(ty(r)).floor().div(n).floor().times(n),r),{n1:d,r1:u}),{n2:g,r2:_}=(f=tE(c=e.times(ty(r)).ceil().div(n).ceil().times(n),r),{n2:c,r2:f});if(tx(e,h,_,i).eq(h)?(s=m,a=h):(s=g,a=_),o=s.isZero()?"0":s.toString(),0!==r){let e=o.length;e<=r&&(o=tr("0",r-e+1)+o,e=r+1);let t=o.slice(0,e-r);o=t+"."+o.slice(o.length-r),l=t.length}else l=o.length;let p=r-t;for(;p>0&&"0"===o[o.length-1];)o=o.slice(0,o.length-1),p--;return"."===o[o.length-1]&&(o=o.slice(0,o.length-1)),{formattedString:o,roundedNumber:a,integerDigitsCount:l,roundingMagnitude:-r}}function tM(e,t,r,n){let i,s,a,o;if(e.isZero())i=tr("0",r),s=0,a=te;else{let t,{n1:o,e1:l,r1:d}=function(e,t){let r=ty(t),n=ty(t-1),i=e.log(10).floor(),s=ty(i.minus(t).plus(1)),a=e.div(s).floor(),o=a.times(s);if(a.greaterThanOrEqualTo(r)){let r=ty((i=i.plus(1)).minus(t).plus(1));o=(a=e.div(r).floor()).times(r)}else if(a.lessThan(n)){let r=ty((i=i.minus(1)).minus(t).plus(1));o=(a=e.div(r).floor()).times(r)}if(o.lessThanOrEqualTo(e)&&a.lessThan(r)&&a.greaterThanOrEqualTo(n))return{n1:a,e1:i,r1:o};let l=e.div(n).log(10).plus(t).minus(1).ceil();for(;;){let i=ty(l.minus(t).plus(1)),s=e.div(i).floor();if(s.lessThan(r)&&s.greaterThanOrEqualTo(n)){let t=s.times(i);if(t.lessThanOrEqualTo(e))return{n1:s,e1:l,r1:t}}l=l.minus(1)}}(e,r),{n2:u,e2:c,r2:f}=function(e,t){let r=ty(t),n=ty(t-1),i=e.log(10).floor(),s=ty(i.minus(t).plus(1)),a=e.div(s).ceil(),o=a.times(s);if(a.greaterThanOrEqualTo(r)){let r=ty((i=i.plus(1)).minus(t).plus(1));o=(a=e.div(r).ceil()).times(r)}else if(a.lessThan(n)){let r=ty((i=i.minus(1)).minus(t).plus(1));o=(a=e.div(r).ceil()).times(r)}if(o.greaterThanOrEqualTo(e)&&a.lessThan(r)&&a.greaterThanOrEqualTo(n))return{n2:a,e2:i,r2:o};let l=e.div(r).log(10).plus(t).minus(1).floor();for(;;){let i=ty(l.minus(t).plus(1)),s=e.div(i).ceil();if(s.lessThan(r)&&s.greaterThanOrEqualTo(n)){let t=s.times(i);if(t.greaterThanOrEqualTo(e))return{n2:s,e2:l,r2:t}}l=l.plus(1)}}(e,r);tx(e,d,f,n).eq(d)?(t=o,s=l.toNumber(),a=d):(t=u,s=c.toNumber(),a=f),i=t.toString()}if(s>=r-1?(i+=tr("0",s-r+1),o=s+1):s>=0?(i=i.slice(0,s+1)+"."+i.slice(i.length-(r-(s+1))),o=s+1):(tn(s<0,"e should be less than 0"),i="0."+tr("0",-s-1)+i,o=1),i.includes(".")&&r>t){let e=r-t;for(;e>0&&"0"===i[i.length-1];)i=i.slice(0,i.length-1),e--;"."===i[i.length-1]&&(i=i.slice(0,i.length-1))}return{formattedString:i,roundedNumber:a,integerDigitsCount:o,roundingMagnitude:s}}function tk(e,t,{getInternalSlots:r,PluralRuleSelect:n}){let i=r(e);if(tn("Object"===td(i),"pl has to be an object"),tn("initializedPluralRules"in i,"pluralrules must be initialized"),!t.isFinite())return{formattedString:String(t),pluralCategory:"other"};let{locale:s,type:a,notation:o}=i,l=function(e,t){var r;let n,i,s=t;s.isZero()&&s.isNegative()?(n="negative",s=te):(tn(s.isFinite(),"NumberFormatDigitInternalSlots value is not finite"),"negative"==(n=s.lessThan(0)?"negative":"positive")&&(s=s.negated()));let a=e.roundingType,o=(r=e.roundingMode,"negative"===n?tv[r]:tb[r]);switch(a){case"significantDigits":i=tM(s,e.minimumSignificantDigits,e.maximumSignificantDigits,o);break;case"fractionDigits":i=tN(s,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,o);break;default:let l=tM(s,e.minimumSignificantDigits,e.maximumSignificantDigits,o),d=tN(s,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,o);"morePrecision"===e.roundingType?i=l.roundingMagnitude<=d.roundingMagnitude?l:d:(tn("lessPrecision"===e.roundingType,"Invalid roundingType"),i=l.roundingMagnitude<=d.roundingMagnitude?d:l)}s=i.roundedNumber;let u=i.formattedString;if("stripIfInteger"===e.trailingZeroDisplay&&s.isInteger()){let e=u.indexOf(".");e>-1&&(u=u.slice(0,e))}let c=i.integerDigitsCount,f=e.minimumIntegerDigits;return c<f&&(u=tr("0",f-c)+u),"negative"===n&&(s=s.isZero()?tt:s.negated()),{roundedNumber:s,formattedString:u}}(i,t).formattedString,d=0;if("compact"===o&&!t.isZero()&&i.dataLocaleData?.numbers)try{let e=Math.floor(Math.log10(Math.abs(t.toNumber()))),r=new e8(e);d=function(e,t){let{notation:r,dataLocaleData:n,numberingSystem:i}=e;switch(r){case"standard":return 0;case"scientific":return t.toNumber();case"engineering":return t.div(3).floor().times(3).toNumber();default:{let s;tn("compact"===r,"Invalid notation");let{compactDisplay:a,style:o,currencyDisplay:l}=e;if("currency"===o&&"name"!==l)s=(n.numbers.currency[i]||n.numbers.currency[n.numbers.nu[0]]).short;else{let e=n.numbers.decimal[i]||n.numbers.decimal[n.numbers.nu[0]];s="long"===a?e.long:e.short}if(!s)return 0;let d=ty(t).toString(),u=Object.keys(s);if(d<u[0])return 0;if(d>u[u.length-1]){let e=u[u.length-1];if("0"===s[e].other)return 0;return e.length-s[e].other.match(/0+/)[0].length}let c=u.indexOf(d);if(-1===c)return 0;let f=u[c];if("0"===s[f].other)return 0;return f.length-s[f].other.match(/0+/)[0].length}}}(i,r)}catch{d=0}let u=n(s,a,t,function(e,t=0){let r,n,i,s,a;tn("string"==typeof e,"GetOperands should have been called with a string");let o=to(e);tn(o.isFinite(),"n should be finite");let l=e.indexOf("."),d="";-1===l?(r=o,n=te,i=0):(r=e.slice(0,l),n=to(d=e.slice(l,e.length)),i=d.length);let u=to(r).abs();if(n.isZero())s=0,a=te;else{let e=d.replace(/0+$/,"");s=e.length,a=to(e)}return{Number:o,IntegerDigits:u.lessThanOrEqualTo(Number.MAX_SAFE_INTEGER)&&u.greaterThanOrEqualTo(-Number.MAX_SAFE_INTEGER)?u.toNumber():u.toString(),NumberOfFractionDigits:i,NumberOfFractionDigitsWithoutTrailing:s,FractionDigits:n.toNumber(),FractionDigitsWithoutTrailing:a.toNumber(),CompactExponent:t}}(l,d));return{formattedString:l,pluralCategory:u}}e8.set({toExpPos:100});let tS=new WeakMap;function tL(e){let t=tS.get(e);return t||(t=Object.create(null),tS.set(e,t)),t}function tT(e,t){if(!(e instanceof tI))throw TypeError(`Method Intl.PluralRules.prototype.${t} called on incompatible receiver ${String(e)}`)}function tC(e,t,r,{IntegerDigits:n,NumberOfFractionDigits:i,FractionDigits:s,CompactExponent:a}){return tI.localeData[e].fn(i?`${n}.${s}`:String(n),"ordinal"===t,a)}function tj(e,t,r,n){let i=tI.localeData[e];if(!i||!i.pluralRanges)return n;let s=`${r}_${n}`,a="ordinal"===t?i.pluralRanges.ordinal:i.pluralRanges.cardinal;return a?.[s]??n}class tI{constructor(e,t){if(!(this&&this instanceof tI?this.constructor:void 0))throw TypeError("Intl.PluralRules must be called with 'new'");return function(e,t,r,{availableLocales:n,relevantExtensionKeys:i,localeData:s,getDefaultLocale:a,getInternalSlots:o}){let l=y(t),d=Object.create(null),u=th(r),c=o(e);c.initializedPluralRules=!0,d.localeMatcher=tc(u,"localeMatcher","string",["best fit","lookup"],"best fit");let f=tw(n,l,d,i,s,a);c.locale=f.locale,c.type=tc(u,"type","string",["cardinal","ordinal"],"cardinal");let m=tc(u,"notation","string",["standard","compact"],"standard");return c.notation=m,"compact"===m&&(c.compactDisplay=tc(u,"compactDisplay","string",["short","long"],"short"),"u">typeof Intl&&Intl.NumberFormat&&Intl.NumberFormat.localeData&&(c.dataLocaleData=Intl.NumberFormat.localeData[f.locale])),!function(e,t,r,n,i){let s=tg(t.minimumIntegerDigits,1,21,1),a=t.minimumFractionDigits,o=t.maximumFractionDigits,l=t.minimumSignificantDigits,d=t.maximumSignificantDigits;e.minimumIntegerDigits=s;let u=tg(t.roundingIncrement,1,5e3,1);tn(t_.has(u),`Invalid rounding increment value: ${u}.
|
|
2
|
+
Valid values are ${Array.from(t_).join(", ")}.`);let c=tc(t,"roundingMode","string",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],"halfExpand"),f=tc(t,"roundingPriority","string",["auto","morePrecision","lessPrecision"],"auto"),m=tc(t,"trailingZeroDisplay","string",["auto","stripIfInteger"],"auto");1!==u&&(n=0),e.roundingIncrement=u,e.roundingMode=c,e.trailingZeroDisplay=m;let h=void 0!==l||void 0!==d,g=void 0!==a||void 0!==o,_=!0,p=!0;if("auto"===f&&(_=h,(h||!g&&"compact"===i)&&(p=!1)),_&&(h?(e.minimumSignificantDigits=tg(l,1,21,1),e.maximumSignificantDigits=tg(d,e.minimumSignificantDigits,21,21)):(e.minimumSignificantDigits=1,e.maximumSignificantDigits=21)),p)if(g){if(a=tg(a,0,100,void 0),o=tg(o,0,100,void 0),void 0===a)tn(void 0!==o,"maximumFractionDigits must be defined"),a=Math.min(0,o);else if(void 0===o)o=Math.max(n,a);else if(a>o)throw RangeError(`Invalid range, ${a} > ${o}`);e.minimumFractionDigits=a,e.maximumFractionDigits=o}else e.minimumFractionDigits=0,e.maximumFractionDigits=n;_||p?"morePrecision"===f?(e.roundingType="morePrecision",e.roundingPriority="morePrecision"):"lessPrecision"===f?(e.roundingType="lessPrecision",e.roundingPriority="lessPrecision"):(h?e.roundingType="significantDigits":e.roundingType="fractionDigits",e.roundingPriority="auto"):(e.minimumFractionDigits=0,e.maximumFractionDigits=0,e.minimumSignificantDigits=1,e.maximumSignificantDigits=2,e.roundingType="morePrecision",e.roundingPriority="morePrecision"),1!==u&&(tn("fractionDigits"===e.roundingType,"Invalid roundingType",TypeError),tn(e.maximumFractionDigits===e.minimumFractionDigits,"With roundingIncrement > 1, maximumFractionDigits and minimumFractionDigits must be equal.",RangeError))}(c,u,0,3,"standard"),e}(this,e,t,{availableLocales:tI.availableLocales,relevantExtensionKeys:tI.relevantExtensionKeys,localeData:tI.localeData,getDefaultLocale:tI.getDefaultLocale,getInternalSlots:tL})}resolvedOptions(){tT(this,"resolvedOptions");let e=Object.create(null),t=tL(this);return e.locale=t.locale,e.type=t.type,["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"].forEach(r=>{let n=t[r];void 0!==n&&(e[r]=n)}),e.pluralCategories=[...tI.localeData[e.locale].categories[e.type]],e}select(e){return tT(this,"select"),function(e,t,{getInternalSlots:r,PluralRuleSelect:n}){return tk(e,t,{getInternalSlots:r,PluralRuleSelect:n}).pluralCategory}(this,tm(e),{getInternalSlots:tL,PluralRuleSelect:tC})}selectRange(e,t){if(tT(this,"selectRange"),void 0===e||void 0===t)throw TypeError("selectRange requires both start and end arguments");return function(e,t,r,{getInternalSlots:n,PluralRuleSelect:i,PluralRuleSelectRange:s}){if(!t.isFinite()||!r.isFinite())throw RangeError("selectRange requires start and end values to be finite numbers");let a=n(e);tn("Object"===td(a),"pluralRules has to be an object"),tn("initializedPluralRules"in a,"pluralrules must be initialized");let o=tk(e,t,{getInternalSlots:n,PluralRuleSelect:i}),l=tk(e,r,{getInternalSlots:n,PluralRuleSelect:i});if(o.formattedString===l.formattedString)return o.pluralCategory;let{locale:d,type:u}=a;return s(d,u,o.pluralCategory,l.pluralCategory)}(this,tm(e),tm(t),{getInternalSlots:tL,PluralRuleSelect:tC,PluralRuleSelectRange:tj})}toString(){return"[object Intl.PluralRules]"}static supportedLocalesOf(e,t){return tf(tI.availableLocales,y(e),t)}static __addLocaleData(...e){for(let{data:t,locale:r}of e)tI.localeData[r]=t,tI.availableLocales.add(r),tI.__defaultLocale||(tI.__defaultLocale=r)}static localeData={};static availableLocales=new Set;static __defaultLocale="";static getDefaultLocale(){return tI.__defaultLocale}static relevantExtensionKeys=[];static polyfilled=!0}try{"u">typeof Symbol&&Object.defineProperty(tI.prototype,Symbol.toStringTag,{value:"Intl.PluralRules",writable:!1,enumerable:!1,configurable:!0});try{Object.defineProperty(tI,"length",{value:0,writable:!1,enumerable:!1,configurable:!0})}catch{}Object.defineProperty(tI.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(tI.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(tI,"name",{value:"PluralRules",writable:!1,enumerable:!1,configurable:!0})}catch{}function tR(e,t,r,n){return tw(t,Intl.getCanonicalLocales(e),{localeMatcher:n?.algorithm||"best fit"},[],{},()=>r).locale}let tD=["af","ak","am","an","ar","ars","as","asa","ast","az","bal","be","bem","bez","bg","bho","bm","bn","bo","br","brx","bs","ca","ce","ceb","cgg","chr","ckb","cs","cy","da","de","doi","dsb","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fil","fo","fr","fur","fy","ga","gd","gl","gsw","gu","guw","gv","ha","haw","he","hi","hnj","hr","hsb","hu","hy","ia","id","ig","ii","io","is","it","iu","ja","jbo","jgo","jmc","jv","jw","ka","kab","kaj","kcg","kde","kea","kk","kkj","kl","km","kn","ko","ks","ksb","ksh","ku","kw","ky","lag","lb","lg","lij","lkt","ln","lo","lt","lv","mas","mg","mgo","mk","ml","mn","mo","mr","ms","mt","my","nah","naq","nb","nd","ne","nl","nn","nnh","no","nqo","nr","nso","ny","nyn","om","or","os","osa","pa","pap","pcm","pl","prg","ps","pt","pt-PT","rm","ro","rof","ru","rwk","sah","saq","sat","sc","scn","sd","sdh","se","seh","ses","sg","sh","shi","si","sk","sl","sma","smi","smj","smn","sms","sn","so","sq","sr","ss","ssy","st","su","sv","sw","syr","ta","te","teo","th","ti","tig","tk","tl","tn","to","tpi","tr","ts","tzm","ug","uk","und","ur","uz","ve","vi","vo","vun","wa","wae","wo","xh","xog","yi","yo","yue","zh","zu"];(function(e="en"){if(!("PluralRules"in Intl)||"one"===new Intl.PluralRules("en",{minimumFractionDigits:2}).select(1)||!function(e){if(!e)return!0;let t=Array.isArray(e)?e:[e];return Intl.PluralRules.supportedLocalesOf(t).length===t.length}(e))return e?tR([e],tD,"en"):void 0})()&&Object.defineProperty(Intl,"PluralRules",{value:tI,writable:!0,enumerable:!1,configurable:!0});let tA=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;function tP(e,t,r,{getInternalSlots:n}){if(tn("Number"===td(t),`value must be number, instead got ${typeof t}`,TypeError),tn("String"===td(r),`unit must be number, instead got ${typeof t}`,TypeError),isNaN(t)||!isFinite(t))throw RangeError(`Invalid value ${t}`);let i=function(e){if(tn("String"===td(e),"unit must be a string"),"seconds"===e)return"second";if("minutes"===e)return"minute";if("hours"===e)return"hour";if("days"===e)return"day";if("weeks"===e)return"week";if("months"===e)return"month";if("quarters"===e)return"quarter";if("years"===e)return"year";if("second"!==e&&"minute"!==e&&"hour"!==e&&"day"!==e&&"week"!==e&&"month"!==e&&"quarter"!==e&&"year"!==e)throw RangeError("invalid unit");return e}(r),{fields:s,style:a,numeric:o,pluralRules:l,numberFormat:d}=n(e),u=i;"short"===a?u=`${i}-short`:"narrow"===a&&(u=`${i}-narrow`),u in s||(u=i);let c=s[u];if("auto"===o&&ta(t)in c)return[{type:"literal",value:c[ta(t)]}];let f="future";((Object.is?Object.is(t,-0):-0===t&&(0!==t||1/t==-1/0))||t<0)&&(f="past");let m=c[f],h="function"==typeof d.formatToParts?d.formatToParts(Math.abs(t)):[{type:"literal",value:d.format(Math.abs(t)),unit:r}];var g=m[l.select(t)];let _=function(e){let t=[],r=e.indexOf("{"),n=0,i=0,s=e.length;for(;r<e.length&&r>-1;)tn((n=e.indexOf("}",r))>r,`Invalid pattern ${e}`),r>i&&t.push({type:"literal",value:e.substring(i,r)}),t.push({type:e.substring(r+1,n),value:void 0}),i=n+1,r=e.indexOf("{",i);return i<s&&t.push({type:"literal",value:e.substring(i,s)}),t}(g),p=[];for(let e of _)if("literal"===e.type)p.push({type:"literal",value:e.value});else for(let t of(tn("0"===e.type,`Malformed pattern ${g}`),h))p.push({type:t.type,value:t.value,unit:i});return p}let tO=new WeakMap;function tF(e){let t=tO.get(e);return t||(t=Object.create(null),tO.set(e,t)),t}class tG{constructor(e,t){if(!(this&&this instanceof tG?this.constructor:void 0))throw TypeError("Intl.RelativeTimeFormat must be called with 'new'");return function(e,t,r,{getInternalSlots:n,availableLocales:i,relevantExtensionKeys:s,localeData:a,getDefaultLocale:o}){let l=n(e);l.initializedRelativeTimeFormat=!0;let d=y(t),u=Object.create(null),c=th(r);u.localeMatcher=tc(c,"localeMatcher","string",["best fit","lookup"],"best fit");let f=tc(c,"numberingSystem","string",void 0,void 0);if(void 0!==f&&!tA.test(f))throw RangeError(`Invalid numbering system ${f}`);u.nu=f;let m=tw(i,d,u,s,a,o),{locale:h,nu:g}=m;l.locale=h,l.style=tc(c,"style","string",["long","narrow","short"],"long"),l.numeric=tc(c,"numeric","string",["always","auto"],"always");let _=a[m.dataLocale];return tn(!!_,`Missing locale data for ${m.dataLocale}`),l.fields=_,l.numberFormat=ti(t),l.pluralRules=ts(t),l.numberingSystem=g,e}(this,e,t,{getInternalSlots:tF,availableLocales:tG.availableLocales,relevantExtensionKeys:tG.relevantExtensionKeys,localeData:tG.localeData,getDefaultLocale:tG.getDefaultLocale})}format(e,t){if("object"!=typeof this)throw TypeError("format was called on a non-object");if(!tF(this).initializedRelativeTimeFormat)throw TypeError("format was called on a invalid context");return tP(this,Number(e),ta(t),{getInternalSlots:tF}).map(e=>e.value).join("")}formatToParts(e,t){if("object"!=typeof this)throw TypeError("formatToParts was called on a non-object");if(!tF(this).initializedRelativeTimeFormat)throw TypeError("formatToParts was called on a invalid context");return tP(this,Number(e),ta(t),{getInternalSlots:tF})}resolvedOptions(){if("object"!=typeof this)throw TypeError("resolvedOptions was called on a non-object");let e=tF(this);if(!e.initializedRelativeTimeFormat)throw TypeError("resolvedOptions was called on a invalid context");return{locale:e.locale,style:e.style,numeric:e.numeric,numberingSystem:e.numberingSystem}}static supportedLocalesOf(e,t){return tf(tG.availableLocales,y(e),t)}static __addLocaleData(...e){for(let{data:t,locale:r}of e){let e=new Intl.Locale(r).minimize().toString();tG.localeData[r]=tG.localeData[e]=t,tG.availableLocales.add(e),tG.availableLocales.add(r),tG.__defaultLocale||(tG.__defaultLocale=e)}}static localeData={};static availableLocales=new Set;static __defaultLocale="";static getDefaultLocale(){return tG.__defaultLocale}static relevantExtensionKeys=["nu"];static polyfilled=!0}try{"u">typeof Symbol&&Object.defineProperty(tG.prototype,Symbol.toStringTag,{value:"Intl.RelativeTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(tG.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(tG.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch{}let tq=["af","af-NA","agq","ak","am","ar","ar-AE","ar-BH","ar-DJ","ar-DZ","ar-EG","ar-EH","ar-ER","ar-IL","ar-IQ","ar-JO","ar-KM","ar-KW","ar-LB","ar-LY","ar-MA","ar-MR","ar-OM","ar-PS","ar-QA","ar-SA","ar-SD","ar-SO","ar-SS","ar-SY","ar-TD","ar-TN","ar-YE","as","asa","ast","az","az-Cyrl","az-Latn","bas","be","be-tarask","bem","bez","bg","bm","bn","bn-IN","bo","bo-IN","br","brx","bs","bs-Cyrl","bs-Latn","ca","ca-AD","ca-ES-valencia","ca-FR","ca-IT","ccp","ccp-IN","ce","ceb","cgg","chr","ckb","ckb-IR","cs","cy","da","da-GL","dav","de","de-AT","de-BE","de-CH","de-IT","de-LI","de-LU","dje","doi","dsb","dua","dyo","dz","ebu","ee","ee-TG","el","el-CY","en","en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","eo","es","es-419","es-AR","es-BO","es-BR","es-BZ","es-CL","es-CO","es-CR","es-CU","es-DO","es-EA","es-EC","es-GQ","es-GT","es-HN","es-IC","es-MX","es-NI","es-PA","es-PE","es-PH","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et","eu","ewo","fa","fa-AF","ff","ff-Adlm","ff-Adlm-BF","ff-Adlm-CM","ff-Adlm-GH","ff-Adlm-GM","ff-Adlm-GW","ff-Adlm-LR","ff-Adlm-MR","ff-Adlm-NE","ff-Adlm-NG","ff-Adlm-SL","ff-Adlm-SN","ff-Latn","ff-Latn-BF","ff-Latn-CM","ff-Latn-GH","ff-Latn-GM","ff-Latn-GN","ff-Latn-GW","ff-Latn-LR","ff-Latn-MR","ff-Latn-NE","ff-Latn-NG","ff-Latn-SL","fi","fil","fo","fo-DK","fr","fr-BE","fr-BF","fr-BI","fr-BJ","fr-BL","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI","fr-CM","fr-DJ","fr-DZ","fr-GA","fr-GF","fr-GN","fr-GP","fr-GQ","fr-HT","fr-KM","fr-LU","fr-MA","fr-MC","fr-MF","fr-MG","fr-ML","fr-MQ","fr-MR","fr-MU","fr-NC","fr-NE","fr-PF","fr-PM","fr-RE","fr-RW","fr-SC","fr-SN","fr-SY","fr-TD","fr-TG","fr-TN","fr-VU","fr-WF","fr-YT","fur","fy","ga","ga-GB","gd","gl","gsw","gsw-FR","gsw-LI","gu","guz","gv","ha","ha-GH","ha-NE","haw","he","hi","hr","hr-BA","hsb","hu","hy","ia","id","ig","ii","is","it","it-CH","it-SM","it-VA","ja","jgo","jmc","jv","ka","kab","kam","kde","kea","kgp","khq","ki","kk","kkj","kl","kln","km","kn","ko","ko-KP","kok","ks","ks-Arab","ksb","ksf","ksh","ku","kw","ky","lag","lb","lg","lkt","ln","ln-AO","ln-CF","ln-CG","lo","lrc","lrc-IQ","lt","lu","luo","luy","lv","mai","mas","mas-TZ","mer","mfe","mg","mgh","mgo","mi","mk","ml","mn","mni","mni-Beng","mr","ms","ms-BN","ms-ID","ms-SG","mt","mua","my","mzn","naq","nb","nb-SJ","nd","nds","nds-NL","ne","ne-IN","nl","nl-AW","nl-BE","nl-BQ","nl-CW","nl-SR","nl-SX","nmg","nn","nnh","no","nus","nyn","om","om-KE","or","os","os-RU","pa","pa-Arab","pa-Guru","pcm","pl","ps","ps-PK","pt","pt-AO","pt-CH","pt-CV","pt-GQ","pt-GW","pt-LU","pt-MO","pt-MZ","pt-PT","pt-ST","pt-TL","qu","qu-BO","qu-EC","rm","rn","ro","ro-MD","rof","ru","ru-BY","ru-KG","ru-KZ","ru-MD","ru-UA","rw","rwk","sa","sah","saq","sat","sat-Olck","sbp","sc","sd","sd-Arab","sd-Deva","se","se-FI","se-SE","seh","ses","sg","shi","shi-Latn","shi-Tfng","si","sk","sl","smn","sn","so","so-DJ","so-ET","so-KE","sq","sq-MK","sq-XK","sr","sr-Cyrl","sr-Cyrl-BA","sr-Cyrl-ME","sr-Cyrl-XK","sr-Latn","sr-Latn-BA","sr-Latn-ME","sr-Latn-XK","su","su-Latn","sv","sv-AX","sv-FI","sw","sw-CD","sw-KE","sw-UG","ta","ta-LK","ta-MY","ta-SG","te","teo","teo-KE","tg","th","ti","ti-ER","tk","to","tr","tr-CY","tt","twq","tzm","ug","uk","und","ur","ur-IN","uz","uz-Arab","uz-Cyrl","uz-Latn","vai","vai-Latn","vai-Vaii","vi","vun","wae","wo","xh","xog","yav","yi","yo","yo-BJ","yrl","yrl-CO","yrl-VE","yue","yue-Hans","yue-Hant","zgh","zh","zh-Hans","zh-Hans-HK","zh-Hans-MO","zh-Hans-SG","zh-Hant","zh-Hant-HK","zh-Hant-MO","zu"];(function(e="en"){if(!("RelativeTimeFormat"in Intl)||!function(e){if(!e)return!0;let t=Array.isArray(e)?e:[e];return Intl.RelativeTimeFormat.supportedLocalesOf(t).length===t.length}(e)||!function(e){try{return"numberingSystem"in new Intl.RelativeTimeFormat(e||"en",{numeric:"auto"}).resolvedOptions()}catch{return!1}}(e))return tR([e],tq,"en")})()&&Object.defineProperty(Intl,"RelativeTimeFormat",{value:tG,writable:!0,enumerable:!1,configurable:!0});var tB=e.i(46170),tU=o,tH=e.i(31617);e.i(35195);var tK=e.i(20171);let tZ=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function tz({locale:e,formats:t,onError:r,timeZone:n},i,s,a={}){let{format:o}=a,l={...n&&{timeZone:n},...o&&(0,tB.getNamedFormat)(t,i,o,r)},d=(0,tB.filterProps)(a,tZ,l);return"time"!==i||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d={...d,hour:"numeric",minute:"numeric"}),s(e,d)}function tV(e,t,r,n={}){let i="string"==typeof r?new Date(r||0):r;try{return tz(e,"date",t,n).format(i)}catch(t){e.onError(new tK.IntlFormatError("Error formatting date.",e.locale,t))}return String(i)}function tW(e,t,r,n={}){let i="string"==typeof r?new Date(r||0):r;try{return tz(e,"time",t,n).format(i)}catch(t){e.onError(new tK.IntlFormatError("Error formatting time.",e.locale,t))}return String(i)}function t$(e,t,r,n,i={}){let s="string"==typeof r?new Date(r||0):r,a="string"==typeof n?new Date(n||0):n;try{return tz(e,"dateTimeRange",t,i).formatRange(s,a)}catch(t){e.onError(new tK.IntlFormatError("Error formatting date time range.",e.locale,t))}return String(s)}function tY(e,t,r,n={}){let i="string"==typeof r?new Date(r||0):r;try{return tz(e,"date",t,n).formatToParts(i)}catch(t){e.onError(new tK.IntlFormatError("Error formatting date.",e.locale,t))}return[]}function tJ(e,t,r,n={}){let i="string"==typeof r?new Date(r||0):r;try{return tz(e,"time",t,n).formatToParts(i)}catch(t){e.onError(new tK.IntlFormatError("Error formatting time.",e.locale,t))}return[]}var tQ=e.i(1377);let tX=["style","type","fallback","languageDisplay"];function t0({locale:e,onError:t},r,n,i){Intl.DisplayNames||t(new tQ.FormatError(`Intl.DisplayNames is not available in this environment.
|
|
3
|
+
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
4
|
+
`,tQ.ErrorCode.MISSING_INTL_API));let s=(0,tB.filterProps)(i,tX);try{return r(e,s).of(n)}catch(r){t(new tK.IntlFormatError("Error formatting display name.",e,r))}}let t1=["type","style"],t2=Date.now();function t5(e,t,r,n={}){let i=t3(e,t,r,n).reduce((e,t)=>{let r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e},[]);return 1===i.length?i[0]:0===i.length?"":i}function t3({locale:e,onError:t},r,n,i={}){Intl.ListFormat||t(new tQ.FormatError(`Intl.ListFormat is not available in this environment.
|
|
5
|
+
Try polyfilling it using "@formatjs/intl-listformat"
|
|
6
|
+
`,tQ.ErrorCode.MISSING_INTL_API));let s=(0,tB.filterProps)(i,t1);try{let t={},i=Array.from(n).map((e,r)=>{if("object"==typeof e&&null!==e){let n=`${t2}_${r}_${t2}`;return t[n]=e,n}return String(e)});return r(e,s).formatToParts(i).map(e=>"literal"===e.type?e:{...e,value:t[e.value]||e.value})}catch(r){t(new tK.IntlFormatError("Error formatting list.",e,r))}return n}var t4=e.i(61150),t7=e.i(8433);function t6(e,t){return Object.keys(e).reduce((r,n)=>(r[n]={timeZone:t,...e[n]},r),{})}function t9(e,t){return Object.keys({...e,...t}).reduce((r,n)=>(r[n]={...e[n],...t[n]},r),{})}function t8(e,t){if(!t)return e;let r=t7.IntlMessageFormat.formats;return{...r,...e,date:t9(t6(r.date,t),t6(e.date||{},t)),time:t9(t6(r.time,t),t6(e.time||{},t))}}let re=({locale:e,formats:t,messages:r,defaultLocale:n,defaultFormats:i,fallbackOnEmptyString:s,onError:a,timeZone:o,defaultRichTextElements:l},d,u={id:""},c,f)=>{let{id:m,defaultMessage:h}=u;(0,tB.invariant)(!!m,`[@formatjs/intl] An \`id\` must be provided to format a message. You can either:
|
|
7
|
+
1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)
|
|
8
|
+
or [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR
|
|
9
|
+
2. Configure your \`eslint\` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)
|
|
10
|
+
to autofix this issue`);let g=String(m),_=r&&Object.prototype.hasOwnProperty.call(r,g)&&r[g];if(Array.isArray(_)&&1===_.length&&_[0].type===t4.TYPE.literal)return _[0].value;if(c={...l,...c},t=t8(t,o),i=t8(i,o),!_){if(!1===s&&""===_)return _;if((!h||e&&e.toLowerCase()!==n.toLowerCase())&&a(new tK.MissingTranslationError(u,e)),h)try{return d.getMessageFormat(h,n,i,f).format(c)}catch(t){return a(new tK.MessageFormatError(`Error formatting default message for: "${g}", rendering default message verbatim`,e,u,t)),"string"==typeof h?h:g}return g}try{return d.getMessageFormat(_,e,t,{formatters:d,...f}).format(c)}catch(t){a(new tK.MessageFormatError(`Error formatting message: "${g}", using ${h?"default message":"id"} as fallback.`,e,u,t))}if(h)try{return d.getMessageFormat(h,n,i,f).format(c)}catch(t){a(new tK.MessageFormatError(`Error formatting the default message for: "${g}", rendering message verbatim`,e,u,t))}return"string"==typeof _?_:"string"==typeof h?h:g},rt=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function rr({locale:e,formats:t,onError:r},n,i={}){let{format:s}=i,a=s&&(0,tB.getNamedFormat)(t,"number",s,r)||{};return n(e,(0,tB.filterProps)(i,rt,a))}function rn(e,t,r,n={}){try{return rr(e,t,n).format(r)}catch(t){e.onError(new tK.IntlFormatError("Error formatting number.",e.locale,t))}return String(r)}function ri(e,t,r,n={}){try{return rr(e,t,n).formatToParts(r)}catch(t){e.onError(new tK.IntlFormatError("Error formatting number.",e.locale,t))}return[]}let rs=["type"];function ra({locale:e,onError:t},r,n,i={}){Intl.PluralRules||t(new tQ.FormatError(`Intl.PluralRules is not available in this environment.
|
|
11
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
12
|
+
`,tQ.ErrorCode.MISSING_INTL_API));let s=(0,tB.filterProps)(i,rs);try{return r(e,s).select(n)}catch(r){t(new tK.IntlFormatError("Error formatting plural.",e,r))}return"other"}let ro=["numeric","style"];function rl(e,t,r,n,i={}){n||(n="second"),Intl.RelativeTimeFormat||e.onError(new tQ.FormatError(`Intl.RelativeTimeFormat is not available in this environment.
|
|
13
|
+
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
14
|
+
`,tQ.ErrorCode.MISSING_INTL_API));try{return(function({locale:e,formats:t,onError:r},n,i={}){let{format:s}=i,a=!!s&&(0,tB.getNamedFormat)(t,"relative",s,r)||{};return n(e,(0,tB.filterProps)(i,ro,a))})(e,t,i).format(r,n)}catch(t){e.onError(new tK.IntlFormatError("Error formatting relative time.",e.locale,t))}return String(r)}var rd=e.i(18060);function ru(e){return e?Object.keys(e).reduce((t,r)=>{let n=e[r];return t[r]=(0,rd.isFormatXMLElementFn)(n)?(0,tH.assignUniqueKeysToParts)(n):n,t},{}):e}let rc=(e,t,r,n,...i)=>{let s=re(e,t,r,ru(n),...i);return Array.isArray(s)?(0,tH.toKeyedReactNodeArray)(s):s},rf=({defaultRichTextElements:e,...t},r)=>{let n=ru(e),i=function(e,t){var r;let n=(0,tB.createFormatters)(t),i={...tB.DEFAULT_INTL_CONFIG,...e},{locale:s,defaultLocale:a,onError:o}=i;return s?!Intl.NumberFormat.supportedLocalesOf(s).length&&o?o(new tK.MissingDataError(`Missing locale data for locale: "${s}" in Intl.NumberFormat. Using default locale: "${a}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(s).length&&o&&o(new tK.MissingDataError(`Missing locale data for locale: "${s}" in Intl.DateTimeFormat. Using default locale: "${a}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):(o&&o(new tK.InvalidConfigError(`"locale" was not configured, using "${a}" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details`)),i.locale=i.defaultLocale||"en"),i.onWarn&&i.defaultRichTextElements&&"string"==typeof(r=i.messages||{})[Object.keys(r)[0]]&&i.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
15
|
+
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
16
|
+
For more details see https://formatjs.github.io/docs/getting-started/message-distribution`),{...i,formatters:n,formatNumber:rn.bind(null,i,n.getNumberFormat),formatNumberToParts:ri.bind(null,i,n.getNumberFormat),formatRelativeTime:rl.bind(null,i,n.getRelativeTimeFormat),formatDate:tV.bind(null,i,n.getDateTimeFormat),formatDateToParts:tY.bind(null,i,n.getDateTimeFormat),formatTime:tW.bind(null,i,n.getDateTimeFormat),formatDateTimeRange:t$.bind(null,i,n.getDateTimeFormat),formatTimeToParts:tJ.bind(null,i,n.getDateTimeFormat),formatPlural:ra.bind(null,i,n.getPluralRules),formatMessage:re.bind(null,i,n),$t:re.bind(null,i,n),formatList:t5.bind(null,i,n.getListFormat),formatListToParts:t3.bind(null,i,n.getListFormat),formatDisplayName:t0.bind(null,i,n.getDisplayNames)}}({...tH.DEFAULT_INTL_CONFIG,...t,defaultRichTextElements:n},r),s={locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,messages:i.messages,onError:i.onError,defaultRichTextElements:n};return{...i,formatMessage:rc.bind(null,s,i.formatters),$t:rc.bind(null,s,i.formatters)}};var rm=e.i(33197);function rh(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}class rg extends tU.PureComponent{static displayName="IntlProvider";static defaultProps=tH.DEFAULT_INTL_CONFIG;cache=(0,tB.createIntlCache)();state={cache:this.cache,intl:rf(rh(this.props),this.cache),prevConfig:rh(this.props)};static getDerivedStateFromProps(e,{prevConfig:t,cache:r}){let n=rh(e);return(0,tH.shallowEqual)(t,n)?null:{intl:rf(n,r),prevConfig:n}}render(){return(0,tH.invariantIntlContext)(this.state.intl),(0,a.jsx)(rm.Provider,{value:this.state.intl,children:this.props.children})}}var r_=e.i(30060);let rp=({children:e,locale:t,messages:r})=>{let[n,i]=(0,o.useState)(t),[s,l]=(0,o.useState)(r),[d]=(0,r_.default)("preferred-language",n);return(0,o.useEffect)(()=>{d&&(i(d),l(w(d)))},[n]),(0,a.jsx)(rg,{onError:()=>{},locale:n,messages:s,textComponent:"span",children:e})};var rw=e.i(59562);let ry=o.forwardRef(function({title:e,titleId:t,...r},n){return o.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:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 21v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21m0 0h4.5V3.545M12.75 21h7.5V10.75M2.25 21h1.5m18 0h-18M2.25 9l4.5-1.636M18.75 3l-1.5.545m0 6.205 3 1m1.5.5-1.5-.5M6.75 7.364V3h-3v18m3-13.636 10.5-3.819"}))}),rv=o.forwardRef(function({title:e,titleId:t,...r},n){return o.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:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m7.875 14.25 1.214 1.942a2.25 2.25 0 0 0 1.908 1.058h2.006c.776 0 1.497-.4 1.908-1.058l1.214-1.942M2.41 9h4.636a2.25 2.25 0 0 1 1.872 1.002l.164.246a2.25 2.25 0 0 0 1.872 1.002h2.092a2.25 2.25 0 0 0 1.872-1.002l.164-.246A2.25 2.25 0 0 1 16.954 9h4.636M2.41 9a2.25 2.25 0 0 0-.16.832V12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 12V9.832c0-.287-.055-.57-.16-.832M2.41 9a2.25 2.25 0 0 1 .382-.632l3.285-3.832a2.25 2.25 0 0 1 1.708-.786h8.43c.657 0 1.281.287 1.709.786l3.284 3.832c.163.19.291.404.382.632M4.5 20.25h15A2.25 2.25 0 0 0 21.75 18v-2.625c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125V18a2.25 2.25 0 0 0 2.25 2.25Z"}))});var rb=e.i(28314),rx=e.i(46493);let rE=o.forwardRef(function({title:e,titleId:t,...r},n){return o.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:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}))}),rN=o.forwardRef(function({title:e,titleId:t,...r},n){return o.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:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))}),rM=o.forwardRef(function({title:e,titleId:t,...r},n){return o.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:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 5.25h16.5m-16.5 4.5h16.5m-16.5 4.5h16.5m-16.5 4.5h16.5"}))}),rk=o.forwardRef(function({title:e,titleId:t,...r},n){return o.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:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"}))});var rS=e.i(52791);let rL=o.forwardRef(function({title:e,titleId:t,...r},n){return o.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:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"}))});var rT=e.i(27559);let rC=o.forwardRef(function({title:e,titleId:t,...r},n){return o.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:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375v-4.5ZM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 0 1-1.125-1.125v-4.5ZM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375v-4.5Z"}),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 6.75h.75v.75h-.75v-.75ZM6.75 16.5h.75v.75h-.75v-.75ZM16.5 6.75h.75v.75h-.75v-.75ZM13.5 13.5h.75v.75h-.75v-.75ZM13.5 19.5h.75v.75h-.75v-.75ZM19.5 13.5h.75v.75h-.75v-.75ZM19.5 19.5h.75v.75h-.75v-.75ZM16.5 16.5h.75v.75h-.75v-.75Z"}))});var rj=e.i(72608);let rI=o.forwardRef(function({title:e,titleId:t,...r},n){return o.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:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}),rR=o.forwardRef(function({title:e,titleId:t,...r},n){return o.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:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 13.5 3 3m0 0 3-3m-3 3v-6m1.06-4.19-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))});var rD=e.i(30758),rA=e.i(98183),rP=e.i(28113),rO=e.i(79174),rF=e.i(87637),rG=e.i(47566),rq=e.i(55905),rB=e.i(79255),rU=e.i(98958),rH=e.i(96075),rK=e.i(85503),rZ=e.i(892);let rz=(0,o.createContext)(()=>{});function rV({value:e,children:t}){return o.default.createElement(rz.Provider,{value:e},t)}var rW=e.i(80051),r$=e.i(76781),rY=e.i(32920),rJ=e.i(99598),rQ=e.i(69871),rX=e.i(78071);let r0=null!=(i=o.default.startTransition)?i:function(e){e()};var r1=e.i(5785),r2=((r=r2||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),r5=((n=r5||{})[n.ToggleDisclosure=0]="ToggleDisclosure",n[n.CloseDisclosure=1]="CloseDisclosure",n[n.SetButtonId=2]="SetButtonId",n[n.SetPanelId=3]="SetPanelId",n[n.SetButtonElement=4]="SetButtonElement",n[n.SetPanelElement=5]="SetPanelElement",n);let r3={0:e=>({...e,disclosureState:(0,rJ.match)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId},4:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},5:(e,t)=>e.panelElement===t.element?e:{...e,panelElement:t.element}},r4=(0,o.createContext)(null);function r7(e){let t=(0,o.useContext)(r4);if(null===t){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,r7),t}return t}r4.displayName="DisclosureContext";let r6=(0,o.createContext)(null);r6.displayName="DisclosureAPIContext";let r9=(0,o.createContext)(null);function r8(e,t){return(0,rJ.match)(t.type,r3,e,t)}r9.displayName="DisclosurePanelContext";let ne=o.Fragment,nt=rX.RenderFeatures.RenderStrategy|rX.RenderFeatures.Static,nr=(0,rX.forwardRefWithAs)(function(e,t){let{defaultOpen:r=!1,...n}=e,i=(0,o.useRef)(null),s=(0,rK.useSyncRefs)(t,(0,rK.optionalRef)(e=>{i.current=e},void 0===e.as||(0,rX.isFragment)(e.as))),a=(0,o.useReducer)(r8,{disclosureState:+!r,buttonElement:null,panelElement:null,buttonId:null,panelId:null}),[{disclosureState:l,buttonId:d},u]=a,c=(0,rB.useEvent)(e=>{u({type:1});let t=(0,rQ.getOwnerDocument)(i.current);if(!t||!d)return;let r=e?rY.isHTMLorSVGElement(e)?e:"current"in e&&rY.isHTMLorSVGElement(e.current)?e.current:t.getElementById(d):t.getElementById(d);null==r||r.focus()}),f=(0,o.useMemo)(()=>({close:c}),[c]),m=(0,rH.useSlot)({open:0===l,close:c}),h=(0,rX.useRender)();return o.default.createElement(r4.Provider,{value:a},o.default.createElement(r6.Provider,{value:f},o.default.createElement(rV,{value:c},o.default.createElement(rW.OpenClosedProvider,{value:(0,rJ.match)(l,{0:rW.State.Open,1:rW.State.Closed})},h({ourProps:{ref:s},theirProps:n,slot:m,defaultTag:ne,name:"Disclosure"})))))}),nn=(0,rX.forwardRefWithAs)(function(e,t){let r=(0,o.useId)(),{id:n=`headlessui-disclosure-button-${r}`,disabled:i=!1,autoFocus:s=!1,...a}=e,[l,d]=r7("Disclosure.Button"),u=(0,o.useContext)(r9),c=null!==u&&u===l.panelId,f=(0,o.useRef)(null),m=(0,rK.useSyncRefs)(f,t,(0,rB.useEvent)(e=>{if(!c)return d({type:4,element:e})}));(0,o.useEffect)(()=>{if(!c)return d({type:2,buttonId:n}),()=>{d({type:2,buttonId:null})}},[n,d,c]);let h=(0,rB.useEvent)(e=>{var t;if(c){if(1===l.disclosureState)return;switch(e.key){case r1.Keys.Space:case r1.Keys.Enter:e.preventDefault(),e.stopPropagation(),d({type:0}),null==(t=l.buttonElement)||t.focus()}}else switch(e.key){case r1.Keys.Space:case r1.Keys.Enter:e.preventDefault(),e.stopPropagation(),d({type:0})}}),g=(0,rB.useEvent)(e=>{e.key===r1.Keys.Space&&e.preventDefault()}),_=(0,rB.useEvent)(e=>{var t;(0,r$.isDisabledReactIssue7711)(e.currentTarget)||i||(c?(d({type:0}),null==(t=l.buttonElement)||t.focus()):d({type:0}))}),{isFocusVisible:p,focusProps:w}=(0,rF.useFocusRing)({autoFocus:s}),{isHovered:y,hoverProps:v}=(0,rG.useHover)({isDisabled:i}),{pressed:b,pressProps:x}=(0,rq.useActivePress)({disabled:i}),E=(0,rH.useSlot)({open:0===l.disclosureState,hover:y,active:b,disabled:i,focus:p,autofocus:s}),N=(0,rU.useResolveButtonType)(e,l.buttonElement),M=c?(0,rX.mergeProps)({ref:m,type:N,disabled:i||void 0,autoFocus:s,onKeyDown:h,onClick:_},w,v,x):(0,rX.mergeProps)({ref:m,id:n,type:N,"aria-expanded":0===l.disclosureState,"aria-controls":l.panelElement?l.panelId:void 0,disabled:i||void 0,autoFocus:s,onKeyDown:h,onKeyUp:g,onClick:_},w,v,x);return(0,rX.useRender)()({ourProps:M,theirProps:a,slot:E,defaultTag:"button",name:"Disclosure.Button"})}),ni=(0,rX.forwardRefWithAs)(function(e,t){let r=(0,o.useId)(),{id:n=`headlessui-disclosure-panel-${r}`,transition:i=!1,...s}=e,[a,l]=r7("Disclosure.Panel"),{close:d}=function e(t){let r=(0,o.useContext)(r6);if(null===r){let r=Error(`<${t} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,e),r}return r}("Disclosure.Panel"),[u,c]=(0,o.useState)(null),f=(0,rK.useSyncRefs)(t,(0,rB.useEvent)(e=>{r0(()=>l({type:5,element:e}))}),c);(0,o.useEffect)(()=>(l({type:3,panelId:n}),()=>{l({type:3,panelId:null})}),[n,l]);let m=(0,rW.useOpenClosed)(),[h,g]=(0,rZ.useTransition)(i,u,null!==m?(m&rW.State.Open)===rW.State.Open:0===a.disclosureState),_=(0,rH.useSlot)({open:0===a.disclosureState,close:d}),p={ref:f,id:n,...(0,rZ.transitionDataAttributes)(g)},w=(0,rX.useRender)();return o.default.createElement(rW.ResetOpenClosedProvider,null,o.default.createElement(r9.Provider,{value:a.panelId},w({ourProps:p,theirProps:s,slot:_,defaultTag:"div",features:nt,visible:h,name:"Disclosure.Panel"})))}),ns=Object.assign(nr,{Button:nn,Panel:ni});var na=e.i(13071);let no=o.forwardRef(function({title:e,titleId:t,...r},n){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z",clipRule:"evenodd"}))});var nl=e.i(19372),nd=e.i(72670);let nu=({item:e,hasRole:t,onSelected:r,narrowView:n})=>{let i=(0,f.useRouter)(),[s,l]=(0,o.useState)(!1),[d,u]=(0,o.useState)(!1),c=(0,o.useRef)(null),m=e.children?.some(e=>i.pathname===e.href);return((0,o.useEffect)(()=>{let e=e=>{c.current&&!c.current.contains(e.target)&&l(!1)};if(s)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[s]),n)?e.children?.some(e=>!e?.requiredRole||t(e?.requiredRole))?(0,a.jsxs)("div",{className:"relative group",ref:c,children:[(0,a.jsx)("button",{className:(0,na.default)("flex w-full justify-center items-center p-2 rounded-md transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",m?"text-slate-900 dark:text-slate-100 bg-slate-100 dark:bg-slate-800":"text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800"),title:e.name,onClick:()=>l(!s),children:e?.icon&&(0,a.jsx)(e.icon,{className:(0,na.default)("h-6 w-6",m?"text-slate-900 dark:text-slate-100":"text-slate-800 dark:text-slate-300"),"aria-hidden":"true"})}),s&&(0,a.jsx)("div",{className:"fixed left-16 top-auto w-48 rounded-md shadow-lg bg-white dark:bg-slate-800 ring-1 ring-black ring-opacity-5 z-[100]",style:{top:c.current?.getBoundingClientRect().top},children:(0,a.jsxs)("div",{className:"py-1",children:[(0,a.jsx)("div",{className:"px-4 py-2 text-sm font-medium text-slate-900 dark:text-slate-100 border-b border-slate-200 dark:border-slate-700",children:e.name}),e.children.filter(e=>!e?.requiredRole||t(e.requiredRole)).map(e=>(0,a.jsx)(rD.default,{href:e.href,className:(0,na.default)("block px-4 py-2 text-sm text-slate-700 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800",{"bg-slate-100 dark:bg-slate-700 text-slate-900 dark:text-slate-100":i.pathname===e.href}),onClick:()=>{l(!1),r?.()},children:e.name},e.name))]})})]},e.name):null:e.children?.some(e=>!e?.requiredRole||t(e?.requiredRole))?(0,a.jsx)(ns,{defaultOpen:!0,as:"div",className:"space-y-1",children:({open:n})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(nn,{className:(0,na.default)("group flex w-full cursor-pointer hover:bg-slate-50 dark:bg-slate-900 dark:hover:bg-slate-700 dark:text-slate-400 items-center rounded-md py-2 pl-2 pr-4 text-left text-sm font-medium focus:outline-hidden focus:ring-2 focus:ring-slate-800"),onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:[e?.icon&&(0,a.jsx)(e.icon,{className:"mr-3 h-6 w-6 shrink-0 text-slate-800 dark:text-slate-300 group-hover:text-slate-900 dark:group-hover:text-slate-100","aria-hidden":"true"}),(0,a.jsx)("span",{className:"flex-1 dark:text-slate-300 dark:hover:text-white",children:e.name}),(0,a.jsx)(no,{className:(0,na.default)("h-5 w-5 transition-all duration-200 ease-out",d||n?"opacity-100 text-slate-600 dark:text-slate-300":"opacity-0",n?"rotate-180":"rotate-0")})]}),(0,a.jsx)(ni,{className:"pl-6 space-y-1",onClick:r,children:e.children.filter(e=>!e?.requiredRole||t(e.requiredRole)).map(e=>(0,a.jsx)(rD.default,{href:e.href,className:(0,na.default)("group flex w-full items-center rounded-md py-2 pl-5 pr-2 text-sm font-medium text-slate-600 dark:text-slate-400 hover:bg-slate-50 dark:hover:bg-slate-700 hover:text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800",{" dark:bg-slate-800 text-slate-900 dark:text-slate-300 dark:hover:text-white bg-slate-50 hover:bg-slate-100":i.pathname===e.href}),children:e.name},e.name))})]})},e.name):null},nc=({navigation:e,onClick:t=null,narrowView:r=!1})=>{let{hasRole:n}=(0,nl.default)(),i=(0,f.useRouter)();return(0,a.jsx)("div",{className:"mt-8 flex grow flex-col dark:bg-slate-900",children:(0,a.jsx)("nav",{className:`pb-8 flex-1 space-y-1 bg-white dark:bg-slate-900 ${r?"px-2":"px-2 lg:px-4 2xl:px-6"}`,"aria-label":"Sidebar",children:e.map(e=>!e.children&&(!e.requiredRole||n(e.requiredRole))?(0,a.jsx)("div",{onClick:t,children:(0,a.jsx)(rD.default,{href:e?.href||"#",className:(0,na.default)("group flex w-full items-center rounded-md py-2 text-sm font-medium focus:outline-hidden focus:ring-2 focus:ring-slate-800",i.asPath===e.href||i.pathname===e.href?"text-slate-900 dark:text-slate-100 bg-slate-100 dark:bg-slate-800":"text-slate-600 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800",{"justify-center":r,"pl-2":!r}),title:r?e.name:void 0,children:(0,a.jsxs)(a.Fragment,{children:[e?.icon&&(0,a.jsx)(e.icon,{className:(0,na.default)("h-6 w-6 shrink-0",{"text-slate-900 dark:text-slate-100":i.asPath===e.href||i.pathname===e.href,"text-slate-800 dark:text-slate-300 group-hover:text-slate-900 dark:group-hover:text-slate-100":i.asPath!==e.href&&i.pathname!==e.href,"mr-3":!r}),"aria-hidden":"true"}),!r&&(0,a.jsx)("span",{className:"flex-1 dark:text-slate-300",children:e.name}),e.count&&(0,a.jsx)(nd.default,{text:e.count,dotted:!0})]})})},e.name):(0,a.jsx)(nu,{item:e,hasRole:n,onSelected:t,narrowView:r},e.name))})})};var nf=e.i(23729),nm=e.i(48637),nh=e.i(53041),ng=e.i(46554),n_=e.i(51443),np=e.i(4134);let nw=({children:e})=>{let t=(0,f.useRouter)(),{currentUser:r,loading:n}=(0,rP.default)(),{loading:i,usersCount:l,error:d}=(0,np.default)(),{checkAccess:u,isUserAuthenticated:c,isUserAdmin:m,checkRole:h,isPublicOnlyPage:g}=(0,o.useMemo)(()=>window?.AdminUiPermissions?window.AdminUiPermissions():{},[]),_=(0,o.useMemo)(()=>({isAdmin:()=>!!m&&m(r),hasRole:e=>"function"==typeof e?e(r):!!h&&h(r,e)}),[r,h,m]);return(0,o.useEffect)(()=>{let e;n||i||(c(r)?u(r,t.pathname)?g(t.pathname)?e="/":!m(r)&&s.default.env.NEXT_PUBLIC_ONLY_ADMIN&&"/423"!==t.pathname&&(e="/423"):e="/403":i||d||0!==l?u(r,t.pathname)||(e="/log-in"):e="/install",e&&t.pathname!==e&&t.replace(e))},[r,n,m,c,g,t,u,i]),(0,a.jsx)(ng.default.Provider,{value:_,children:n&&!r?(0,a.jsx)(n_.default,{}):e})};var ny=e.i(25863),nv=e.i(62497),nb=e.i(91938),nx=e.i(27706),nE=e.i(81312),nN=e.i(97524),nM=e.i(18492);let nk=({className:e})=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,fill:"currentColor",stroke:"currentColor",viewBox:"0 0 512 423.85",children:(0,a.jsx)("path",{d:"M88.47 0c8.93 0 17.04 3.63 22.89 9.48 2.73 2.74 4.98 5.95 6.6 9.52h52.71c1.62-3.56 3.87-6.78 6.59-9.51C183.12 3.64 191.22 0 200.16 0c8.93 0 17.04 3.64 22.89 9.48 2.73 2.74 4.98 5.96 6.6 9.52h52.71c1.62-3.56 3.87-6.78 6.6-9.51C294.82 3.64 302.92 0 311.85 0c8.94 0 17.04 3.64 22.89 9.48 2.74 2.74 4.98 5.96 6.6 9.52h52.7c1.62-3.56 3.87-6.78 6.59-9.51C406.49 3.64 414.6 0 423.54 0c8.93 0 17.03 3.64 22.88 9.48 2.73 2.74 4.98 5.96 6.6 9.52h45.6c7.39 0 13.38 5.99 13.38 13.38v337.51c-.03 5.09-2.96 9.95-7.89 12.17-61.54 27.94-154.45 41.79-247.16 41.79-92.63 0-185.76-13.85-247.89-41.29-5.27-1.8-9.06-6.79-9.06-12.67V32.38C0 24.99 5.99 19 13.37 19h45.61c1.62-3.56 3.87-6.78 6.6-9.51C71.44 3.64 79.54 0 88.47 0zm127.99 277.29c8.08 0 14.63 6.56 14.63 14.63s-6.55 14.63-14.63 14.63c-8.07 0-14.62-6.56-14.62-14.63s6.55-14.63 14.62-14.63zm0-71.59c8.08 0 14.63 6.54 14.63 14.62 0 8.08-6.55 14.63-14.63 14.63-8.07 0-14.62-6.55-14.62-14.63 0-8.08 6.55-14.62 14.62-14.62zm0-70.86c8.08 0 14.63 6.56 14.63 14.63s-6.55 14.63-14.63 14.63c-8.07 0-14.62-6.56-14.62-14.63s6.55-14.63 14.62-14.63zM372.27 278.9c7.19 0 13.02 5.83 13.02 13.02 0 7.19-5.83 13.02-13.02 13.02H264.7c-7.19 0-13.02-5.83-13.02-13.02 0-7.19 5.83-13.02 13.02-13.02h107.57zm57.88-71.61c7.19 0 13.02 5.84 13.02 13.03 0 7.19-5.83 13.02-13.02 13.02H264.7c-7.19 0-13.02-5.83-13.02-13.02 0-7.19 5.83-13.03 13.02-13.03h165.45zm5.03-70.84c7.19 0 13.03 5.83 13.03 13.02 0 7.19-5.84 13.02-13.03 13.02H264.7c-7.19 0-13.02-5.83-13.02-13.02 0-7.19 5.83-13.02 13.02-13.02h170.48zM107.71 293.97c-9.17-.65-20.85-2.9-29.84-5.32v-32.04l9.06.74c11.7.69 27.58 1.92 39.06.89 2.23-.2 4.83-.58 6.86-1.57 3.86-1.85 3.81-15 1.26-16.81-1.47-1.04-3.14-1.44-4.92-1.44h-9.35c-7.05 0-13.29-.79-18.73-2.37-5.54-1.61-10.21-4.03-14.02-7.26-3.89-3.32-6.8-7.71-8.72-13.18-1.85-5.32-2.8-11.65-2.8-18.99v-12.21c0-6.8 1.04-12.78 3.11-17.94 3.44-8.55 10.58-15.4 18.87-19.29 2.9-1.36 6.15-2.39 10.16-3.06v-14.21h29.54v13.65c4.89.38 8.68 1.06 13.47 1.93 5.48.95 10.79 2.03 16.2 3.34v32.09l-2.85-.25a422.93 422.93 0 0 0-36.47-1.58c-3.54 0-10.29.09-12.96 2.76-2.19 2.18-1.87 15.23.49 17.16 1.78 1.44 4.81 1.69 6.99 1.69h11.65c7.5 0 15.26 1.28 21.84 5.03 5.93 3.37 10.4 7.97 13.39 13.77 1.47 2.86 2.59 5.93 3.33 9.21 1.62 7.15 1.12 15.14 1.12 22.48 0 5.74-.52 10.86-1.53 15.33-1.04 4.57-2.63 8.47-4.74 11.68-6.6 10.01-18.44 14.36-29.93 15.62v15.39h-29.54v-15.24zm10.25-248.22a32.507 32.507 0 0 1-6.6 9.51c-5.86 5.86-13.96 9.5-22.89 9.5s-17.04-3.64-22.89-9.5a32.245 32.245 0 0 1-6.6-9.51H26.75v315.36c58.52 23.93 144.27 35.99 230.2 35.99 85.36 0 170.32-11.92 228.3-35.96V45.75h-32.23a32.507 32.507 0 0 1-6.6 9.51c-5.86 5.86-13.97 9.5-22.88 9.5-8.94 0-17.04-3.64-22.89-9.49a32.452 32.452 0 0 1-6.61-9.52h-52.7a32.234 32.234 0 0 1-6.6 9.52c-5.86 5.85-13.96 9.49-22.89 9.49s-17.04-3.64-22.89-9.5a32.245 32.245 0 0 1-6.6-9.51h-52.71a32.422 32.422 0 0 1-6.6 9.52c-5.86 5.85-13.96 9.49-22.89 9.49-8.94 0-17.04-3.64-22.9-9.5a32.402 32.402 0 0 1-6.59-9.51h-52.71z"})}),nS=({children:e,pageHeader:t="",componentName:r})=>{var n;let i,s,{isSystemReady:l}=(0,nE.default)(),{formatMessage:d}=(0,rA.useIntl)(),{currentUser:u}=(0,rP.default)(),{configuration:c}=(0,nN.default)(),h=(0,nM.default)(),{shopInfo:g}=(0,rO.default)(),[_,p]=(0,o.useState)(!0),[w,y]=(0,o.useState)(!1),v=(0,nv.useApolloClient)(),b=(0,f.useRouter)(),x=(n=()=>{p(!0)},i=(0,o.useRef)(void 0),s=(0,o.useCallback)(e=>{i.current&&!i.current.contains(e.target)&&n()},[i,n]),(0,o.useEffect)(()=>{if(document)return document.addEventListener("click",s),()=>{document.removeEventListener("click",s)}},[s]),i),E=async()=>{let e=u?.username||u?.profile?.displayName||u?.name||"";await (0,nb.default)(v,b),m.toast.success(d({id:"goodbye_user",defaultMessage:"See you later, {name}!"},{name:e}))},N=[{name:c.isFullyConfigured?d({id:"dashboard",defaultMessage:"Dashboard"}):d({id:"complete_system_setup",defaultMessage:"Complete Setup"}),icon:ry,href:"/"},l&&{name:d({id:"copilot",defaultMessage:"Copilot"}),requiredRole:e=>e?.roles?.includes("admin"),icon:rS.CommandLineIcon,href:"/copilot"},{name:d({id:"recent_exports",defaultMessage:"Recent exports"}),icon:rR,href:"/exports",count:h?.count||""},l&&{name:d({id:"orders",defaultMessage:"Orders"}),requiredRole:"viewOrders",icon:rv,href:"/orders"},l&&{name:d({id:"products",defaultMessage:"Products"}),requiredRole:"viewProducts",icon:rj.CubeIcon,href:"/products"},l&&{name:d({id:"assortments",defaultMessage:"Assortments"}),icon:rb.RectangleStackIcon,href:"/assortments",requiredRole:"viewAssortments"},l&&{name:d({id:"filters",defaultMessage:"Filters"}),icon:rk,requiredRole:"viewFilters",href:"/filters"},l&&{name:d({id:"users",defaultMessage:"Users"}),icon:rE,href:"/users",requiredRole:"viewUsers"},l&&{name:d({id:"enrollments",defaultMessage:"Enrollments"}),href:"/enrollments",requiredRole:"viewEnrollments",icon:rx.CalendarIcon},l&&{name:d({id:"quotations",defaultMessage:"Quotations"}),href:"/quotations",icon:nk,requiredRole:"viewQuotations"},l&&{name:d({id:"tokens",defaultMessage:"Tokens"}),icon:rC,href:"/tokens",requiredRole:"viewTokens"},{name:d({id:"system",defaultMessage:"System settings"}),icon:rw.Cog8ToothIcon,children:[{name:d({id:"currencies",defaultMessage:"Currencies"}),requiredRole:"viewCurrencies",href:"/currency"},{name:d({id:"countries",defaultMessage:"Countries"}),href:"/country",requiredRole:"viewCountries"},{name:d({id:"languages",defaultMessage:"Languages"}),href:"/language",requiredRole:"viewLanguages"},l&&{name:d({id:"delivery_providers",defaultMessage:"Delivery providers"}),requiredRole:"viewDeliveryProviders",href:"/delivery-provider"},l&&{name:d({id:"payment_providers",defaultMessage:"Payment providers"}),requiredRole:"viewPaymentProviders",href:"/payment-provider"},l&&{name:d({id:"warehousing_provider",defaultMessage:"Warehousing provider"}),requiredRole:"viewWarehousingProviders",href:"/warehousing-provider"}].filter(Boolean)},{name:d({id:"activities",defaultMessage:"Activities"}),icon:rL,children:[{name:d({id:"work_queue",defaultMessage:"Work queue"}),requiredRole:"viewWorkQueue",href:"/works"},{name:d({id:"event",defaultMessage:"Events"}),href:"/events",requiredRole:"showEvents"}]},g?.adminUiConfig?.externalLinks?.length&&{name:d({id:"extensions",defaultMessage:"Extensions"}),icon:rT.LinkIcon,href:"/",children:g?.adminUiConfig?.externalLinks?.map(e=>{let t=e.href;return e?.target==="SELF"&&(t=`/external?url=${e.href}`),{name:e.title,href:t}})}].filter(Boolean);return(0,a.jsxs)(nw,{children:[(0,a.jsxs)("div",{className:`fixed inset-0 z-40 flex md:hidden ${_?"hidden":""} `,role:"dialog","aria-modal":"true",children:[(0,a.jsx)("div",{className:"fixed inset-0 backdrop-blur-sm","aria-hidden":"true"}),(0,a.jsxs)("div",{className:"relative flex w-full max-w-xs flex-1 flex-col bg-white dark:bg-slate-900 shadow-xl",children:[(0,a.jsx)("div",{className:"absolute top-0 right-0 -mr-12 pt-2",children:(0,a.jsxs)("button",{id:"close_sidebar",type:"button",onClick:()=>p(!_),className:"ml-1 flex h-10 w-10 items-center justify-center rounded-full bg-white/10 dark:bg-slate-800/50 backdrop-blur-sm shadow-lg focus:outline-hidden focus:ring-2 focus:ring-inset focus:ring-white dark:focus:ring-slate-400",children:[(0,a.jsx)("span",{className:"sr-only",children:d({id:"close_sidebar",defaultMessage:"Close sidebar"})}),(0,a.jsx)("svg",{className:"h-6 w-6 text-slate-800 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})]})}),(0,a.jsxs)("div",{className:"h-0 flex-1 overflow-y-auto pt-5 pb-4",children:[(0,a.jsx)("div",{className:"flex shrink-0 items-center px-2 lg:px-4 2xl:px-6",children:(0,a.jsx)(rD.default,{href:"/",className:"focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md p-1",children:(0,a.jsx)("div",{className:"dark:brightness-0 dark:invert",children:(0,a.jsx)(nh.default,{src:"/logo-light.svg",width:41,height:25,alt:d({id:"unchained_logo",defaultMessage:"Unchained Logo"})})})})}),(0,a.jsx)(nc,{navigation:N,onClick:()=>p(!_)})]}),(0,a.jsxs)("div",{className:"flex items-center shrink-0 border-t border-slate-300 dark:border-slate-800 px-2 py-2",children:[(0,a.jsxs)(rD.default,{href:"/account",className:"flex items-center flex-1 py-2 pr-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 rounded-md text-sm font-medium focus:outline-hidden focus:ring-2 focus:ring-slate-800",children:[u?.avatar?(0,a.jsx)(nh.default,{src:u.avatar.url,width:32,height:32,className:"h-8 w-8 shrink-0 mr-2 rounded-full object-cover",alt:d({id:"user_avatar",defaultMessage:"User avatar"})}):(0,a.jsx)(rN,{className:"h-8 w-8 shrink-0 mr-2 text-slate-800 dark:text-slate-300"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"text-sm font-medium dark:text-slate-400",children:d({id:"account",defaultMessage:"Account"})}),(0,a.jsx)("div",{className:"text-xs text-slate-500 dark:text-slate-400",children:(0,ny.default)(u)})]})]}),(0,a.jsxs)("div",{className:"flex items-center space-x-2 ml-auto",children:[(0,a.jsx)("button",{onClick:E,className:"p-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:d({id:"log_out",defaultMessage:"Log out"}),children:(0,a.jsx)(nx.ArrowRightEndOnRectangleIcon,{className:"h-5 w-5"})}),(0,a.jsx)(rD.default,{href:"https://docs.unchained.shop/src/docs/admin-ui/overview",target:"_blank",rel:"noopener noreferrer",className:"p-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:d({id:"documentation",defaultMessage:"Documentation"}),children:(0,a.jsx)(rI,{className:"h-5 w-5"})}),(0,a.jsx)(nf.default,{})]})]})]})]}),(0,a.jsx)("div",{className:`hidden md:fixed md:inset-y-0 md:flex md:flex-col dark:bg-slate-900 dark:text-slate-200 ${w?"md:w-16":"md:w-64 2xl:w-96"}`,children:(0,a.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col border-r border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900",children:[(0,a.jsxs)("div",{className:"flex flex-1 flex-col overflow-y-auto scrollbar-hide pt-10",children:[(0,a.jsx)("div",{className:`flex shrink-0 items-center ${w?"px-2 justify-center":"px-2 lg:px-4 2xl:px-6"}`,children:(0,a.jsx)(rD.default,{href:"/",className:"focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md p-1",children:(0,a.jsx)("div",{className:"dark:brightness-0 dark:invert",children:(0,a.jsx)(nh.default,{src:"/logo-light.svg",width:w?25:41,height:25,alt:d({id:"unchained_logo",defaultMessage:"Unchained Logo"})})})})}),(0,a.jsx)(nc,{navigation:N,narrowView:w})]}),(0,a.jsxs)("div",{className:`flex items-center shrink-0 py-2 ${w?"justify-center px-2":"border-t border-slate-200 dark:border-slate-800 px-2 lg:px-4 2xl:px-6"}`,children:[!w&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(rD.default,{href:"/account",className:"flex items-center flex-1 py-2 pr-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 rounded-md text-sm font-medium focus:outline-hidden focus:ring-2 focus:ring-slate-800",children:[u?.avatar?(0,a.jsx)(nh.default,{src:u.avatar.url,width:32,height:32,className:"h-8 w-8 shrink-0 mr-3 rounded-full object-cover",alt:d({id:"user_avatar",defaultMessage:"User avatar"})}):(0,a.jsx)(rN,{className:"h-8 w-8 shrink-0 mr-3 text-slate-800 dark:text-slate-300"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"text-sm font-medium dark:text-slate-400",children:d({id:"account",defaultMessage:"Account"})}),(0,a.jsx)("div",{className:"text-xs text-slate-500 dark:text-slate-400",children:(0,ny.default)(u)})]})]}),(0,a.jsx)("button",{onClick:E,className:"p-2 mr-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800 ml-auto",title:d({id:"log_out",defaultMessage:"Log out"}),children:(0,a.jsx)(nx.ArrowRightEndOnRectangleIcon,{className:"h-5 w-5"})})]}),w&&(0,a.jsxs)("div",{className:"flex items-center flex-col space-y-2",children:[(0,a.jsx)(rD.default,{href:"/account",className:"p-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 rounded-md transition-colors focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400",title:d({id:"account",defaultMessage:"Account"}),children:u?.avatar?(0,a.jsx)(nh.default,{src:u.avatar.url,width:24,height:24,className:"h-6 w-6 rounded-full object-cover",alt:d({id:"user_avatar",defaultMessage:"User avatar"})}):(0,a.jsx)(rN,{className:"h-6 w-6"})}),(0,a.jsx)("button",{onClick:E,className:"p-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400",title:d({id:"log_out",defaultMessage:"Log out"}),children:(0,a.jsx)(nx.ArrowRightEndOnRectangleIcon,{className:"h-5 w-5"})}),(0,a.jsx)(nm.default,{narrowNav:w}),(0,a.jsx)(rD.default,{href:"https://docs.unchained.shop/src/docs/admin-ui/overview",target:"_blank",rel:"noopener noreferrer",className:"p-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400",title:d({id:"documentation",defaultMessage:"Documentation"}),children:(0,a.jsx)(rI,{className:"h-5 w-5"})}),(0,a.jsx)(nf.default,{})]})]}),(0,a.jsx)("div",{className:`flex shrink-0 p-2 ${w?"":"border-t border-slate-200 dark:border-slate-800"}`,children:w?(0,a.jsx)("button",{onClick:()=>y(!w),className:"w-full flex items-center justify-center p-2 text-slate-600 dark:text-emerald-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:d({id:"expand_navigation",defaultMessage:"Expand navigation"}),children:(0,a.jsx)(rM,{className:"h-6 w-6 transition-transform"})}):(0,a.jsxs)("div",{className:"w-full flex items-center justify-center",children:[(0,a.jsx)("button",{onClick:()=>y(!w),className:"flex items-center p-2 text-slate-600 dark:text-emerald-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:d({id:"collapse_navigation",defaultMessage:"Collapse navigation"}),children:(0,a.jsx)(rM,{className:"h-6 w-6 rotate-90 transition-transform"})}),(0,a.jsxs)("div",{className:"ml-2 flex items-center space-x-2",children:[(0,a.jsx)(nm.default,{narrowNav:w}),(0,a.jsx)(rD.default,{href:"https://docs.unchained.shop/src/docs/admin-ui/overview",target:"_blank",rel:"noopener noreferrer",className:"p-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:d({id:"documentation",defaultMessage:"Documentation"}),children:(0,a.jsx)(rI,{className:"h-6 w-6"})}),(0,a.jsx)(nf.default,{})]})]})})]})}),(0,a.jsxs)("div",{className:`flex flex-1 flex-col ${w?"md:pl-16":"md:pl-64 2xl:pl-96"}`,children:[(0,a.jsxs)("div",{className:"flex justify-between items-center sticky top-0 z-10 bg-white dark:bg-slate-800 md:hidden border-b border-slate-200 dark:border-slate-700",children:[(0,a.jsxs)("button",{type:"button",ref:x,onClick:()=>p(!_),className:"-ml-0.5 -mt-0.5 inline-flex h-12 w-12 items-center justify-center rounded-md text-slate-500 hover:text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-inset focus:ring-slate-800 dark:text-slate-200",children:[(0,a.jsx)("span",{className:"sr-only",children:d({id:"open_sidebar",defaultMessage:" Open sidebar"})}),(0,a.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 8h16M4 16h16"})})]}),(0,a.jsx)("div",{className:"flex-1 flex justify-center",children:(0,a.jsx)("div",{className:"dark:brightness-0 dark:invert",children:(0,a.jsx)(nh.default,{src:"/logo-light.svg",width:41,height:25,alt:d({id:"unchained_logo",defaultMessage:"Unchained Logo"})})})}),(0,a.jsxs)("div",{className:"flex flex-wrap justify-center items-center gap-2 pr-4",children:[(0,a.jsx)(nm.default,{narrowNav:!1}),(0,a.jsx)(rD.default,{href:"https://docs.unchained.shop/src/docs/admin-ui/overview",target:"_blank",rel:"noopener noreferrer",className:"p-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:d({id:"documentation",defaultMessage:"Documentation"}),children:(0,a.jsx)(rI,{className:"h-5 w-5"})}),(0,a.jsx)(nf.default,{})]})]}),(0,a.jsxs)("main",{className:"container mx-auto max-w-7xl flex-1 px-4 py-5 md:pt-10 lg:pt-5 pb-20 sm:px-6 md:px-8",children:[(0,a.jsx)("h3",{className:"ml-8 text-lg font-medium leading-6 text-slate-900",children:t}),o.default.cloneElement(e)]})]})]})};var nL=e.i(93736);let nT=({children:e=null})=>{let t=(0,o.useRef)(null),[,r]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=document.createElement("div");return t.current=e,document.body.appendChild(e),r(!0),()=>{t.current&&document.body.removeChild(t.current)}},[]),t.current?nL.default.createPortal(e,t.current):null},nC=(0,rm.default)(({onClose:e,children:t,visible:r,closeOnOutsideClick:n=!1,intl:i})=>{let[s,l]=(0,o.useState)(!1),[d,u]=(0,o.useState)(r);return(0,o.useEffect)(()=>{r?(u(!0),document.body.classList.add("modal-blur-active"),setTimeout(()=>l(!0),10)):d&&(l(!1),setTimeout(()=>{u(!1),document.body.classList.remove("modal-blur-active")},200))},[r,d]),d?(0,a.jsx)(nT,{intl:i,children:(0,a.jsx)("div",{className:"fixed inset-0 z-50 overflow-y-auto","aria-modal":"true",children:(0,a.jsxs)("div",{className:"flex min-h-screen items-center justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0",tabIndex:-1,onClick:t=>{t.target===t.currentTarget&&r&&e()},children:[(0,a.jsx)("span",{className:"hidden sm:inline-block sm:h-screen sm:align-middle","aria-hidden":"true",children:""}),(0,a.jsxs)("div",{className:`inline-block z-50 transform overflow-hidden rounded-lg bg-white dark:bg-slate-800 px-4 pt-5 pb-4 text-left shadow-2xl dark:shadow-2xl transition-all duration-200 ease-out sm:my-8 sm:w-full sm:max-w-lg sm:p-6 sm:align-middle ${s?"opacity-100 scale-100 translate-y-0":"opacity-0 scale-95 translate-y-4"}`,onClick:e=>{e.stopPropagation()},children:[(0,a.jsx)("div",{className:"absolute top-0 right-0 pt-4 pr-4 sm:block",children:(0,a.jsxs)("button",{id:"modal_close",type:"button",onClick:e,className:"rounded-md bg-white dark:bg-slate-900 text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2",children:[(0,a.jsx)("span",{className:"sr-only",children:i.formatMessage({id:"close",defaultMessage:"Close"})}),(0,a.jsx)("svg",{className:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})]})}),t&&o.default.isValidElement(t)?o.default.cloneElement(t,{close:e}):t]})]})})}):null});var nj=e.i(53162);let nI=({children:e})=>{let[t,r]=(0,o.useState)(null),[n,i]=(0,o.useState)(!1),s=()=>r(null),[l,d]=(0,o.useState)(()=>s),u=(0,o.useMemo)(()=>({setModal:(e,{closeOnOutsideClick:t=!1}={})=>new Promise(n=>{e||n(!0),i(t),r(()=>e),d(()=>()=>{s(),n(!0)})})}),[]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(nC,{visible:!!t,onClose:l,closeOnOutsideClick:n,children:t}),(0,a.jsx)(nj.default.Provider,{value:u,children:e})]})};var nR=e.i(92443),nD=e.i(71983),nA=e.i(19190);let nP=(e,t)=>{let r={};return Object.keys(t).forEach(n=>{let i=e?.[n],s=t?.[n];"object"==typeof s?r[n]=nP(i,s):r[n]=i}),r},nO=e=>e.reduce((e,t)=>{switch(t.kind){case"InlineFragment":Object.assign(e,nO(t.selectionSet.selections));break;case"Field":{let r,n=t.name.value;r=t.selectionSet?nO(t.selectionSet.selections):t.value,e[n]=r}}return e},{}),nF=(e,t)=>{if(!e||!t)return null;let r=nD.gql`fragment CustomProperty on ExtendedUnchainedSchema { ${e} }`;return nP(t,nO(r?.definitions[0]?.selectionSet?.selections))},nG=({children:e})=>{let{shopInfo:t}=(0,rO.default)();return(0,a.jsx)(nA.default.Provider,{value:(0,o.useMemo)(()=>({customProperties:t?.adminUiConfig?.customProperties?.reduce((e,{entityName:t,inlineFragment:r})=>({...e,[t]:r}),{}),singleSignOnURL:t?.adminUiConfig?.singleSignOnURL,hydrateFragment:nF}),[t]),children:e})};var nq=e.i(18524),nB=e.i(1110);e.i(39485);var nU=e.i(99981),nH=e.i(58724);let nK=e=>{((e,t,{username:r,clientId:n,emailAddress:i}={})=>{let s=((...e)=>window?.Matomo?window.Matomo.getAsyncTracker(...e):null)();s&&((i||r)&&s.setVisitorId((i||r).substr(3).padStart(16,"0")),n&&s.setUserId(n),s.setCustomUrl(e),s.setDocumentTitle(t),s.trackPageView())})(document.location.origin+e,document.title)},nZ=({Component:e,componentName:t,pageProps:r,router:n})=>{let i=(0,h.useApollo)(r),s=e.getLayout?t=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute top-4 left-4",children:(0,a.jsx)(nh.default,{src:"/logo-light.svg",width:32,height:20,alt:"Logo",className:"dark:brightness-0 dark:invert"})}),(0,a.jsx)("div",{className:"absolute top-4 right-4",children:(0,a.jsx)(nf.default,{})}),e.getLayout(t)]}):e=>(0,a.jsx)(nS,{componentName:t,children:e}),l=w("en");return(0,o.useEffect)(()=>(f.Router.events.on("routeChangeComplete",nK),()=>{f.Router.events.off("routeChangeComplete",nK)}),[i]),(0,a.jsx)(rp,{locale:"en",messages:l,children:(0,a.jsxs)(nq.default,{children:[(0,a.jsxs)(nB.default,{children:[(0,a.jsx)("title",{children:"Unchained: Admin UI"}),null]}),(0,a.jsx)(u,{client:i,children:(0,a.jsx)(nw,{children:(0,a.jsx)(nH.AppContextWrapper,{children:(0,a.jsx)(nG,{children:(0,a.jsx)(nR.default,{children:(0,a.jsxs)(nU.ChatProvider,{children:[(0,a.jsx)(m.ToastContainer,{position:"top-right",autoClose:5e3,newestOnTop:!1,closeOnClick:!0,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}),(0,a.jsx)(nI,{children:s((0,a.jsx)(e,{...r}))})]})})})})})})]})},"intl-provider")};nZ.getInitialProps=async e=>{let t=await c.default.getInitialProps(e),r=e.Component.displayName||e.Component.name||"Unknown";return{...t,componentName:r}},e.s(["default",0,nZ],59531)},20200,(e,t,r)=>{let n="/_app";(window.__NEXT_P=window.__NEXT_P||[]).push([n,()=>e.r(59531)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([n])})}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94388,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return i}});let o=t.r(1415),r="u"<typeof window,s=r?()=>{}:o.useLayoutEffect,n=r?()=>{}:o.useEffect;function i(t){let{headManager:e,reduceComponentsToState:a}=t;function i(){if(e&&e.mountedInstances){let t=o.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(a(t))}}return r&&(e?.mountedInstances?.add(t.children),i()),s(()=>(e?.mountedInstances?.add(t.children),()=>{e?.mountedInstances?.delete(t.children)})),s(()=>(e&&(e._pendingUpdate=i),()=>{e&&(e._pendingUpdate=i)})),n(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},84437,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o={default:function(){return y},defaultHead:function(){return f}};for(var r in o)Object.defineProperty(a,r,{enumerable:!0,get:o[r]});let s=t.r(23726),n=t.r(10902),i=t.r(69178),l=n._(t.r(1415)),d=s._(t.r(94388)),c=t.r(24312);function f(){return[(0,i.jsx)("meta",{charSet:"utf-8"},"charset"),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function u(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===l.default.Fragment?t.concat(l.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}t.r(59523);let p=["name","httpEquiv","charSet","itemProp"];function m(t){let e,a,o,r;return t.reduce(u,[]).reverse().concat(f().reverse()).filter((e=new Set,a=new Set,o=new Set,r={},t=>{let s=!0,n=!1;if(t.key&&"number"!=typeof t.key&&t.key.indexOf("$")>0){n=!0;let a=t.key.slice(t.key.indexOf("$")+1);e.has(a)?s=!1:e.add(a)}switch(t.type){case"title":case"base":a.has(t.type)?s=!1:a.add(t.type);break;case"meta":for(let e=0,a=p.length;e<a;e++){let a=p[e];if(t.props.hasOwnProperty(a))if("charSet"===a)o.has(a)?s=!1:o.add(a);else{let e=t.props[a],o=r[a]||new Set;("name"!==a||!n)&&o.has(e)?s=!1:(o.add(e),r[a]=o)}}}return s})).reverse().map((t,e)=>{let a=t.key||e;return l.default.cloneElement(t,{key:a})})}let y=function({children:t}){let e=(0,l.useContext)(c.HeadManagerContext);return(0,i.jsx)(d.default,{reduceComponentsToState:m,headManager:e,children:t})};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),e.exports=a.default)},13686,t=>{"use strict";var e=t.i(60097),a=t.i(1415),o=t.i(23009),r=t.i(12609);let s=t.i(9360).canUseDOM?a.useLayoutEffect:a.useEffect;var n=t.i(62497);function i(t,i){let d=(0,n.useApolloClient)(i?.client),[c,f]=a.useState(()=>l(d)),u=a.useRef({result:c,mutationId:0,isMounted:!0,client:d,mutation:t,options:i});s(()=>{Object.assign(u.current,{client:d,options:i,mutation:t})});let p=a.useCallback((t={})=>{let{options:a,mutation:s}=u.current,n={...a,mutation:s},i=t.client||u.current.client,l="function"==typeof t.context?t.context(a?.context):t.context;!u.current.result.loading&&u.current.isMounted&&f(u.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:i});let d=++u.current.mutationId,c=(0,o.mergeOptions)(n,{...t,context:l});return(0,r.preventUnhandledRejection)(i.mutate(c).then(a=>{let{data:o,error:r}=a,s=t.onError||u.current.options?.onError;if(r&&s&&s(r,c),d===u.current.mutationId){let t={called:!0,loading:!1,data:o,error:r,client:i};u.current.isMounted&&!(0,e.equal)(u.current.result,t)&&f(u.current.result=t)}let n=t.onCompleted||u.current.options?.onCompleted;return r||n?.(a.data,c),a},a=>{if(d===u.current.mutationId&&u.current.isMounted){let t={loading:!1,error:a,data:void 0,called:!0,client:i};(0,e.equal)(u.current.result,t)||f(u.current.result=t)}let o=t.onError||u.current.options?.onError;throw o&&o(a,c),a}))},[]),m=a.useCallback(()=>{if(u.current.isMounted){let t=l(u.current.client);Object.assign(u.current,{mutationId:0,result:t}),f(t)}},[]);return a.useEffect(()=>{let t=u.current;return t.isMounted=!0,()=>{t.isMounted=!1}},[]),[p,{reset:m,...c}]}function l(t){return{data:void 0,error:void 0,called:!1,loading:!1,client:t}}t.s(["useMutation",()=>i],13686)},68034,t=>{"use strict";function e(){for(var t,e,a=0,o="",r=arguments.length;a<r;a++)(t=arguments[a])&&(e=function t(e){var a,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(a=0;a<s;a++)e[a]&&(o=t(e[a]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}(t))&&(o&&(o+=" "),o+=e);return o}t.s(["clsx",()=>e,"default",0,e])},29252,t=>{"use strict";var e=t.i(1415),a=t.i(68034);!function(t){if(!t||"u"<typeof document)return;let e=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",e.firstChild?e.insertBefore(a,e.firstChild):e.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
2
|
+
`);var o=t=>"number"==typeof t&&!isNaN(t),r=t=>"string"==typeof t||"function"==typeof t?t:null,s=t=>(0,e.isValidElement)(t)||"string"==typeof t||"function"==typeof t||o(t);function n({enter:t,exit:a,appendPosition:o=!1,collapse:r=!0,collapseDuration:s=300}){return function({children:n,position:i,preventExitTransition:l,done:d,nodeRef:c,isIn:f,playToast:u}){let p=o?`${t}--${i}`:t,m=o?`${a}--${i}`:a,y=(0,e.useRef)(0);return(0,e.useLayoutEffect)(()=>{let t=c.current,e=p.split(" "),a=o=>{o.target===c.current&&(u(),t.removeEventListener("animationend",a),t.removeEventListener("animationcancel",a),0===y.current&&"animationcancel"!==o.type&&t.classList.remove(...e))};t.classList.add(...e),t.addEventListener("animationend",a),t.addEventListener("animationcancel",a)},[]),(0,e.useEffect)(()=>{let t=c.current,e=()=>{t.removeEventListener("animationend",e),r?function(t,e,a=300){let{scrollHeight:o,style:r}=t;requestAnimationFrame(()=>{r.minHeight="initial",r.height=o+"px",r.transition=`all ${a}ms`,requestAnimationFrame(()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(e,a)})})}(t,d,s):d()};f||(l?e():(y.current=1,t.className+=` ${m}`,t.addEventListener("animationend",e)))},[f]),e.default.createElement(e.default.Fragment,null,n)}}function i(t,e){return{content:l(t.content,t.props),containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,reason:t.removalReason,status:e}}function l(t,a,o=!1){return(0,e.isValidElement)(t)&&"string"!=typeof t.type?(0,e.cloneElement)(t,{closeToast:a.closeToast,toastProps:a,data:a.data,isPaused:o}):"function"==typeof t?t({closeToast:a.closeToast,toastProps:a,data:a.data,isPaused:o}):t}function d({delay:t,isRunning:o,closeToast:r,type:s="default",hide:n,className:i,controlledProgress:l,progress:d,rtl:c,isIn:f,theme:u}){let p=n||l&&0===d,m={animationDuration:`${t}ms`,animationPlayState:o?"running":"paused"};l&&(m.transform=`scaleX(${d})`);let y=(0,a.default)("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${u}`,`Toastify__progress-bar--${s}`,{"Toastify__progress-bar--rtl":c}),g="function"==typeof i?i({rtl:c,type:s,defaultClassName:y}):(0,a.default)(y,i);return e.default.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":p},e.default.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${u} Toastify__progress-bar--${s}`}),e.default.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer",className:g,style:m,...{[l&&d>=1?"onTransitionEnd":"onAnimationEnd"]:l&&d<1?null:()=>{f&&r()}}}))}var c=1,f=()=>`${c++}`,u=new Map,p=[],m=new Set,y=t=>m.forEach(e=>e(t));function g(t,e){var a;if(e)return!!(null!=(a=u.get(e))&&a.isToastActive(t));let o=!1;return u.forEach(e=>{e.isToastActive(t)&&(o=!0)}),o}function _(t,e){s(t)&&(u.size>0||p.push({content:t,options:e}),u.forEach(a=>{a.buildToast(t,e)}))}function b(t,e){u.forEach(a=>{null!=e&&null!=e&&e.containerId&&(null==e?void 0:e.containerId)!==a.id||a.toggle(t,null==e?void 0:e.id)})}function h(t,e){return _(t,e),e.toastId}function v(t,e){var a;return{...e,type:e&&e.type||t,toastId:(a=e)&&("string"==typeof a.toastId||o(a.toastId))?a.toastId:f()}}function x(t){return(e,a)=>h(e,v(t,a))}function T(t,e){return h(t,v("default",e))}T.loading=(t,e)=>h(t,v("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),T.promise=function(t,{pending:e,error:a,success:o},r){let s;e&&(s="string"==typeof e?T.loading(e,r):T.loading(e.render,{...r,...e}));let n={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},i=(t,e,a)=>{if(null==e)return void T.dismiss(s);let o={type:t,...n,...r,data:a},i="string"==typeof e?{render:e}:e;return s?T.update(s,{...o,...i}):T(i.render,{...o,...i}),a},l="function"==typeof t?t():t;return l.then(t=>i("success",o,t)).catch(t=>i("error",a,t)),l},T.success=x("success"),T.info=x("info"),T.error=x("error"),T.warning=x("warning"),T.warn=T.warning,T.dark=(t,e)=>h(t,v("default",{theme:"dark",...e})),T.dismiss=function(t){!function(t){let e;if(!(u.size>0)){p=p.filter(e=>null!=t&&e.options.toastId!==t);return}if(null==t||"string"==typeof(e=t)||o(e))u.forEach(e=>{e.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){let e=u.get(t.containerId);e?e.removeToast(t.id):u.forEach(e=>{e.removeToast(t.id)})}}(t)},T.clearWaitingQueue=(t={})=>{u.forEach(e=>{e.props.limit&&(!t.containerId||e.id===t.containerId)&&e.clearQueue()})},T.isActive=g,T.update=(t,e={})=>{let a=((t,{containerId:e})=>{var a;return null==(a=u.get(e||1))?void 0:a.toasts.get(t)})(t,e);if(a){let{props:o,content:r}=a,s={delay:100,...o,...e,toastId:e.toastId||t,updateId:f()};s.toastId!==t&&(s.staleId=t);let n=s.render||r;delete s.render,h(n,s)}},T.done=t=>{T.update(t,{progress:1})},T.onChange=function(t){return m.add(t),()=>{m.delete(t)}},T.play=t=>b(!0,t),T.pause=t=>b(!1,t);var k="u">typeof window?e.useLayoutEffect:e.useEffect,w=({theme:t,type:a,isLoading:o,...r})=>e.default.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${a})`,...r}),E={info:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return e.default.createElement("div",{className:"Toastify__spinner"})}},I=t=>{let{isRunning:o,preventExitTransition:r,toastRef:s,eventHandlers:n,playToast:i}=function(t){var a,o;let[r,s]=(0,e.useState)(!1),[n,i]=(0,e.useState)(!1),l=(0,e.useRef)(null),d=(0,e.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:c,pauseOnHover:f,closeToast:p,onClick:m,closeOnClick:y}=t;function g(){s(!0)}function _(){s(!1)}function b(e){let a=l.current;if(d.canDrag&&a){d.didMove=!0,r&&_(),"x"===t.draggableDirection?d.delta=e.clientX-d.start:d.delta=e.clientY-d.start,d.start!==e.clientX&&(d.canCloseOnClick=!1);let o="x"===t.draggableDirection?`${d.delta}px, var(--y)`:`0, calc(${d.delta}px + var(--y))`;a.style.transform=`translate3d(${o},0)`,a.style.opacity=`${1-Math.abs(d.delta/d.removalDistance)}`}}function h(){document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",h);let e=l.current;if(d.canDrag&&d.didMove&&e){if(d.canDrag=!1,Math.abs(d.delta)>d.removalDistance){i(!0),t.closeToast(!0),t.collapseAll();return}e.style.transition="transform 0.2s, opacity 0.2s",e.style.removeProperty("transform"),e.style.removeProperty("opacity")}}a={id:t.toastId,containerId:t.containerId,fn:s},null==(o=u.get(a.containerId||1))||o.setToggle(a.id,a.fn),(0,e.useEffect)(()=>{if(t.pauseOnFocusLoss)return document.hasFocus()||_(),window.addEventListener("focus",g),window.addEventListener("blur",_),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",_)}},[t.pauseOnFocusLoss]);let v={onPointerDown:function(e){if(!0===t.draggable||t.draggable===e.pointerType){d.didMove=!1,document.addEventListener("pointermove",b),document.addEventListener("pointerup",h);let a=l.current;d.canCloseOnClick=!0,d.canDrag=!0,a.style.transition="none","x"===t.draggableDirection?(d.start=e.clientX,d.removalDistance=a.offsetWidth*(t.draggablePercent/100)):(d.start=e.clientY,d.removalDistance=a.offsetHeight*(80===t.draggablePercent?1.5*t.draggablePercent:t.draggablePercent)/100)}},onPointerUp:function(e){let{top:a,bottom:o,left:r,right:s}=l.current.getBoundingClientRect();"touchend"!==e.nativeEvent.type&&t.pauseOnHover&&e.clientX>=r&&e.clientX<=s&&e.clientY>=a&&e.clientY<=o?_():g()}};return c&&f&&(v.onMouseEnter=_,t.stacked||(v.onMouseLeave=g)),y&&(v.onClick=t=>{m&&m(t),d.canCloseOnClick&&p(!0)}),{playToast:g,pauseToast:_,isRunning:r,preventExitTransition:n,toastRef:l,eventHandlers:v}}(t),{closeButton:c,children:f,autoClose:p,onClick:m,type:y,hideProgressBar:g,closeToast:_,transition:b,position:h,className:v,style:x,progressClassName:T,updateId:k,role:w,progress:I,rtl:C,toastId:L,deleteToast:O,isIn:j,isLoading:P,closeOnClick:M,theme:N,ariaLabel:z}=t,R=(0,a.default)("Toastify__toast",`Toastify__toast-theme--${N}`,`Toastify__toast--${y}`,{"Toastify__toast--rtl":C},{"Toastify__toast--close-on-click":M}),$="function"==typeof v?v({rtl:C,position:h,type:y,defaultClassName:R}):(0,a.default)(R,v),A=function({theme:t,type:a,isLoading:o,icon:r}){let s=null,n={theme:t,type:a};return!1===r||("function"==typeof r?s=r({...n,isLoading:o}):(0,e.isValidElement)(r)?s=(0,e.cloneElement)(r,n):o?s=E.spinner():a in E&&(s=E[a](n))),s}(t),B=!!I||!p,D={closeToast:_,type:y,theme:N},S=null;return!1===c||(S="function"==typeof c?c(D):(0,e.isValidElement)(c)?(0,e.cloneElement)(c,D):function({closeToast:t,theme:a,ariaLabel:o="close"}){return e.default.createElement("button",{className:`Toastify__close-button Toastify__close-button--${a}`,type:"button",onClick:e=>{e.stopPropagation(),t(!0)},"aria-label":o},e.default.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},e.default.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(D)),e.default.createElement(b,{isIn:j,done:O,position:h,preventExitTransition:r,nodeRef:s,playToast:i},e.default.createElement("div",{id:L,tabIndex:0,onClick:m,"data-in":j,className:$,...n,style:x,ref:s,...j&&{role:w,"aria-label":z}},null!=A&&e.default.createElement("div",{className:(0,a.default)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!P})},A),l(f,t,!o),S,!t.customProgressBar&&e.default.createElement(d,{...k&&!B?{key:`p-${k}`}:{},rtl:C,theme:N,delay:p,isRunning:o,isIn:j,closeToast:_,hide:g,type:y,className:T,controlledProgress:B,progress:I||0})))},C=(t,e=!1)=>({enter:`Toastify--animate Toastify__${t}-enter`,exit:`Toastify--animate Toastify__${t}-exit`,appendPosition:e}),L=n(C("bounce",!0));n(C("slide",!0)),n(C("zoom")),n(C("flip"));var O={position:"top-right",transition:L,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:t=>t.altKey&&"KeyT"===t.code};function j(t){let n={...O,...t},l=t.stacked,[d,c]=(0,e.useState)(!0),f=(0,e.useRef)(null),{getToastToRender:m,isToastActive:b,count:h}=function(t){var a;let n,{subscribe:l,getSnapshot:d,setProps:c}=(0,e.useRef)((n=t.containerId||1,{subscribe(e){let a,l,d,c,f,m,g,b,h,v,x,T=(a=1,l=0,d=[],c=[],f=t,m=new Map,g=new Set,b=()=>{c=Array.from(m.values()),g.forEach(t=>t())},h=t=>{var e,a;null==(a=null==(e=t.props)?void 0:e.onClose)||a.call(e,t.removalReason),t.isActive=!1},v=t=>{if(null==t)m.forEach(h);else{let e=m.get(t);e&&h(e)}b()},x=t=>{var e,a;let{toastId:o,updateId:r}=t.props,s=null==r;t.staleId&&m.delete(t.staleId),t.isActive=!0,m.set(o,t),b(),y(i(t,s?"added":"updated")),s&&(null==(a=(e=t.props).onOpen)||a.call(e))},{id:n,props:f,observe:t=>(g.add(t),()=>g.delete(t)),toggle:(t,e)=>{m.forEach(a=>{var o;(null==e||e===a.props.toastId)&&(null==(o=a.toggle)||o.call(a,t))})},removeToast:v,toasts:m,clearQueue:()=>{l-=d.length,d=[]},buildToast:(t,e)=>{let c,u;if((({containerId:t,toastId:e,updateId:a})=>{let o=m.has(e)&&null==a;return(t?t!==n:1!==n)||o})(e))return;let{toastId:p,updateId:g,data:_,staleId:h,delay:T}=e,k=null==g;k&&l++;let w={...f,style:f.toastStyle,key:a++,...Object.fromEntries(Object.entries(e).filter(([t,e])=>null!=e)),toastId:p,updateId:g,data:_,isIn:!1,className:r(e.className||f.toastClassName),progressClassName:r(e.progressClassName||f.progressClassName),autoClose:!e.isLoading&&(c=e.autoClose,u=f.autoClose,!1===c||o(c)&&c>0?c:u),closeToast(t){m.get(p).removalReason=t,v(p)},deleteToast(){let t=m.get(p);if(null!=t){if(y(i(t,"removed")),m.delete(p),--l<0&&(l=0),d.length>0)return void x(d.shift());b()}}};w.closeButton=f.closeButton,!1===e.closeButton||s(e.closeButton)?w.closeButton=e.closeButton:!0===e.closeButton&&(w.closeButton=!s(f.closeButton)||f.closeButton);let E={content:t,props:w,staleId:h};f.limit&&f.limit>0&&l>f.limit&&k?d.push(E):o(T)?setTimeout(()=>{x(E)},T):x(E)},setProps(t){f=t},setToggle:(t,e)=>{let a=m.get(t);a&&(a.toggle=e)},isToastActive:t=>{var e;return null==(e=m.get(t))?void 0:e.isActive},getSnapshot:()=>c});u.set(n,T);let k=T.observe(e);return p.forEach(t=>_(t.content,t.options)),p=[],()=>{k(),u.delete(n)}},setProps(t){var e;null==(e=u.get(n))||e.setProps(t)},getSnapshot(){var t;return null==(t=u.get(n))?void 0:t.getSnapshot()}})).current;c(t);let f=null==(a=(0,e.useSyncExternalStore)(l,d,d))?void 0:a.slice();return{getToastToRender:function(e){if(!f)return[];let a=new Map;return t.newestOnTop&&f.reverse(),f.forEach(t=>{let{position:e}=t.props;a.has(e)||a.set(e,[]),a.get(e).push(t)}),Array.from(a,t=>e(t[0],t[1]))},isToastActive:g,count:null==f?void 0:f.length}}(n),{className:v,style:x,rtl:w,containerId:E,hotKeys:C}=n;function L(){l&&(c(!0),T.play())}return k(()=>{var t;if(l){let e=f.current.querySelectorAll('[data-in="true"]'),a=null==(t=n.position)?void 0:t.includes("top"),o=0,r=0;Array.from(e).reverse().forEach((t,e)=>{t.classList.add("Toastify__toast--stacked"),e>0&&(t.dataset.collapsed=`${d}`),t.dataset.pos||(t.dataset.pos=a?"top":"bot");let s=o*(d?.2:1)+(d?0:12*e);t.style.setProperty("--y",`${a?s:-1*s}px`),t.style.setProperty("--g","12"),t.style.setProperty("--s",`${1-(d?r:0)}`),o+=t.offsetHeight,r+=.025})}},[d,h,l]),(0,e.useEffect)(()=>{function t(t){var e;let a=f.current;C(t)&&(null==(e=a.querySelector('[tabIndex="0"]'))||e.focus(),c(!1),T.pause()),"Escape"===t.key&&(document.activeElement===a||null!=a&&a.contains(document.activeElement))&&(c(!0),T.play())}return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[C]),e.default.createElement("section",{ref:f,className:"Toastify",id:E,onMouseEnter:()=>{l&&(c(!1),T.pause())},onMouseLeave:L,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":n["aria-label"]},m((t,o)=>{var s;let n,i=o.length?{...x}:{...x,pointerEvents:"none"};return e.default.createElement("div",{tabIndex:-1,className:(s=t,n=(0,a.default)("Toastify__toast-container",`Toastify__toast-container--${s}`,{"Toastify__toast-container--rtl":w}),"function"==typeof v?v({position:s,rtl:w,defaultClassName:n}):(0,a.default)(n,r(v))),"data-stacked":l,style:i,key:`c-${t}`},o.map(({content:t,props:a})=>e.default.createElement(I,{...a,stacked:l,collapseAll:L,isIn:b(a.toastId,a.containerId),key:`t-${a.key}`},t)))}))}t.s(["ToastContainer",()=>j,"toast",()=>T])},12609,t=>{"use strict";function e(t){return t.catch(()=>{}),t}t.s(["preventUnhandledRejection",()=>e])},1110,(t,e,a)=>{e.exports=t.r(84437)},23529,t=>{"use strict";var e=t.i(69178),a=t.i(30758),o=t.i(49061),r=t.i(98183);t.s(["default",0,({routeName:t=null,currentPageTitle:s=null,depth:n=null})=>{let i=(0,o.useRouter)(),{formatMessage:l}=(0,r.useIntl)(),d={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},c=i.asPath?.split("/")?.filter((t,e)=>i.asPath?.split("/")?.indexOf(t)===e);if(1===c.length)return null;let f="";n&&c.splice(n),t&&(c[c.length-1]=t);let u=c?.map(e=>{if(f+=`${e}/`,!e)return{name:l({id:"home",defaultMessage:"Home"}),path:"/"};let a=e?.split("?")[0],o=t?a:a.replace(/-/g," "),r=d[a];return{name:r?l({id:r,defaultMessage:o}):decodeURIComponent(o),path:f.replace(/.$/,"")}});return(0,e.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,e.jsx)("ol",{className:"flex items-center space-x-4",children:u?.map((t,o)=>(0,e.jsx)("li",{children:(0,e.jsxs)("div",{className:"flex items-center",children:[0!==o&&(0,e.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,e.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,e.jsx)(a.default,{href:t.path,className:"text-sm font-medium capitalize text-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:o===u.length-1&&s?s:t.name})]})},t.path))})})}])},89317,t=>{"use strict";var e=t.i(1415);let a=e.forwardRef(function({title:t,titleId:a,...o},r){return e.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":a},o),t?e.createElement("title",{id:a},t):null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});t.s(["PlusIcon",0,a],89317)},93734,t=>{"use strict";var e=t.i(69178),a=t.i(13071);t.s(["default",0,({text:t,children:o,onClick:r,className:s="",disabled:n=!1,id:i="",variant:l="primary",size:d="md",type:c="button",loading:f=!1,icon:u,iconRight:p,fullWidth:m=!1,rounded:y="md",ariaLabel:g,..._})=>{let b=o||t,h=(u||p)&&b?"gap-2":"";return(0,e.jsx)("button",{id:i,type:c,disabled:n||f,onClick:r,"aria-label":g,className:(0,a.default)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[d],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[y],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[l],h,{"w-full":m},s),..._,children:f?(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),b]}):(0,e.jsxs)(e.Fragment,{children:[u,b,p]})})}])},71588,t=>{"use strict";var e=t.i(69178),a=t.i(1110),o=t.i(30758),r=t.i(98183),s=t.i(89317),n=t.i(93734);t.s(["default",0,({headerText:t=null,onEdit:i=null,onDelete:l=null,children:d=null,title:c=null,addPath:f=null,addButtonText:u=null})=>{let{formatMessage:p}=(0,r.useIntl)();return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(a.default,{children:(0,e.jsxs)("title",{children:["Unchained AdminUI - ",c||t," "]})}),(0,e.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,e.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[t&&(0,e.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:t}),(0,e.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[d,f&&(0,e.jsx)(o.default,{href:f,children:(0,e.jsx)(n.default,{variant:"secondary",icon:(0,e.jsx)(s.PlusIcon,{className:"h-5 w-5"}),text:u||p({id:"add",defaultMessage:"Add"})})}),i&&(0,e.jsx)(n.default,{variant:"secondary",onClick:i,text:p({id:"edit",defaultMessage:"Edit"})}),l&&(0,e.jsx)(n.default,{variant:"danger",onClick:l,text:p({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])}]);
|