@unchainedshop/admin-ui 4.4.2 → 4.6.0
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/_buildManifest.js +254 -0
- package/out/_next/static/N9Z2SsJs2tDfugfSzn0XU/_clientMiddlewareManifest.json +1 -0
- package/out/_next/static/N9Z2SsJs2tDfugfSzn0XU/_ssgManifest.js +1 -0
- package/out/_next/static/chunks/0096b9e4072ea982.js +87 -0
- package/out/_next/static/chunks/015a12a268d9d8cc.js +13 -0
- package/out/_next/static/chunks/01d02b25e90598b0.js +2 -0
- package/out/_next/static/chunks/01ebe787a8ddd0f8.js +1 -0
- package/out/_next/static/chunks/0411c4be4ed602e6.js +15 -0
- package/out/_next/static/chunks/0454a7068dba9e50.js +13 -0
- package/out/_next/static/chunks/04be98027a2dc21d.js +2 -0
- package/out/_next/static/chunks/04f6e2039ed872b5.js +13 -0
- package/out/_next/static/chunks/054f8ab329a69595.js +1 -0
- package/out/_next/static/chunks/056c259617500a97.js +342 -0
- package/out/_next/static/chunks/06b009dc933923df.js +224 -0
- package/out/_next/static/chunks/06d6d8bf5f971763.js +23 -0
- package/out/_next/static/chunks/08542b2ec00cf886.js +14 -0
- package/out/_next/static/chunks/08687e11efcba80d.js +1 -0
- package/out/_next/static/chunks/09ba49b4ce40eb8d.js +12 -0
- package/out/_next/static/chunks/0a2a08eb8b29ee43.js +1 -0
- package/out/_next/static/chunks/0ed1db1732820209.js +36 -0
- package/out/_next/static/chunks/10e6f9a219fd2d59.js +324 -0
- package/out/_next/static/chunks/115ae5cbbc71c47b.js +13 -0
- package/out/_next/static/chunks/11bc210de354e563.js +8 -0
- package/out/_next/static/chunks/12a85d4b9d6ed551.js +119 -0
- package/out/_next/static/chunks/132a6033de66c4c2.js +11 -0
- package/out/_next/static/chunks/1393534a6af8c1bb.js +39 -0
- package/out/_next/static/chunks/13ab0c90930f76c0.js +1 -0
- package/out/_next/static/chunks/17a51698889f206f.js +10 -0
- package/out/_next/static/chunks/180f19d81c896a56.js +1 -0
- package/out/_next/static/chunks/1ac3c2ecd12b3c68.js +13 -0
- package/out/_next/static/chunks/1b7969a2d3aaaf50.js +1 -0
- package/out/_next/static/chunks/1bb121543a6f1fbf.js +1 -0
- package/out/_next/static/chunks/1bfc8f4848828752.js +344 -0
- package/out/_next/static/chunks/1c545b91d2677a38.js +260 -0
- package/out/_next/static/chunks/1cbc5bab7320d121.js +15 -0
- package/out/_next/static/chunks/202781ff93ff3a35.js +43 -0
- package/out/_next/static/chunks/21e1b4ee63219a13.js +12 -0
- package/out/_next/static/chunks/2204d70f62d21522.js +14 -0
- package/out/_next/static/chunks/22e9c8414771b45f.js +19 -0
- package/out/_next/static/chunks/2562397db3d3cad1.js +188 -0
- package/out/_next/static/chunks/2d06af75ece8bc6d.js +26 -0
- package/out/_next/static/chunks/2d638de705f33182.js +7 -0
- package/out/_next/static/chunks/2e1c75c452faae18.js +16 -0
- package/out/_next/static/chunks/2f00317a0dfc6047.js +10 -0
- package/out/_next/static/chunks/2f23acb4a8a11b35.js +44 -0
- package/out/_next/static/chunks/2fe9dad1269d21d5.js +214 -0
- package/out/_next/static/chunks/310f57d562073c82.js +66 -0
- package/out/_next/static/chunks/311d1921e69f7c93.js +7 -0
- package/out/_next/static/chunks/31b59b4652d398c3.js +3 -0
- package/out/_next/static/chunks/33f61aeaa072ceb3.js +16 -0
- package/out/_next/static/chunks/34d24e57d297f025.js +71 -0
- package/out/_next/static/chunks/34df7e31e89a877f.js +178 -0
- package/out/_next/static/chunks/362c1460ecd452f0.js +12 -0
- package/out/_next/static/chunks/3668ae67081a69e3.js +193 -0
- package/out/_next/static/chunks/380087a616841542.js +384 -0
- package/out/_next/static/chunks/398be80b131c086b.js +2 -0
- package/out/_next/static/chunks/3a32c0d7bf016b19.js +43 -0
- package/out/_next/static/chunks/3c247fb4b62a4c6a.js +7 -0
- package/out/_next/static/chunks/3d870a0e339f83b1.js +266 -0
- package/out/_next/static/chunks/44cc864453be04d0.js +5 -0
- package/out/_next/static/chunks/45f599929bd7f34f.js +17 -0
- package/out/_next/static/chunks/4834ec6ac33c6774.js +13 -0
- package/out/_next/static/chunks/48b67c3254c9af38.js +1 -0
- package/out/_next/static/chunks/4a41bb5444629faa.js +1 -0
- package/out/_next/static/chunks/4e075951daaf40e9.js +11 -0
- package/out/_next/static/chunks/4ea20a695596f02c.js +13 -0
- package/out/_next/static/chunks/52161e2148039530.js +22 -0
- package/out/_next/static/chunks/53f8dde7813ae201.js +119 -0
- package/out/_next/static/chunks/5573e42eb3314f57.js +1 -0
- package/out/_next/static/chunks/5689c09869e48b86.js +1 -0
- package/out/_next/static/chunks/5763a0bcd3a13fa1.js +135 -0
- package/out/_next/static/chunks/578069c46ce13bdb.js +14 -0
- package/out/_next/static/chunks/589624f7093b23c5.js +12 -0
- package/out/_next/static/chunks/58df71393b1870e6.js +31 -0
- package/out/_next/static/chunks/58efb06a97adf57e.js +12 -0
- package/out/_next/static/chunks/5a15295537deba19.js +14 -0
- package/out/_next/static/chunks/5afccd7f3bb23a0e.js +20 -0
- package/out/_next/static/chunks/5b4e690b002be10d.js +101 -0
- package/out/_next/static/chunks/5bcace73a8d9c6b0.js +1 -0
- package/out/_next/static/chunks/5c2c8884164984d7.js +23 -0
- package/out/_next/static/chunks/5e61314918ab1901.js +73 -0
- package/out/_next/static/chunks/61794d8ca01e79e1.js +1 -0
- package/out/_next/static/chunks/63420020fcc3c50f.js +1 -0
- package/out/_next/static/chunks/63d4bf210999c12d.js +15 -0
- package/out/_next/static/chunks/6450e0b75a6a8e0b.js +1 -0
- package/out/_next/static/chunks/674d5880aaf4d35e.js +1 -0
- package/out/_next/static/chunks/689f229f02e92ca8.js +1 -0
- package/out/_next/static/chunks/6a68747a19752b56.js +22 -0
- package/out/_next/static/chunks/6cca5ebda40e4477.js +12 -0
- package/out/_next/static/chunks/6e7adaa6d233dba1.js +46 -0
- package/out/_next/static/chunks/6fdd5525b8653974.js +16 -0
- package/out/_next/static/chunks/70fd8910b0212107.js +137 -0
- package/out/_next/static/chunks/7260c9ed446105c3.js +2 -0
- package/out/_next/static/chunks/72d8edce9e613802.js +16 -0
- package/out/_next/static/chunks/72da749fb2eb00ad.js +1 -0
- package/out/_next/static/chunks/76526584207a694c.js +31 -0
- package/out/_next/static/chunks/777412be81d9c33a.js +1 -0
- package/out/_next/static/chunks/7a033fad4428e1bc.js +18 -0
- package/out/_next/static/chunks/7a4db36836cf15f9.js +2 -0
- package/out/_next/static/chunks/7ac7b6f89a6bb9c1.js +51 -0
- package/out/_next/static/chunks/7af6bc3590a522e4.js +288 -0
- package/out/_next/static/chunks/7ca7a803a8676541.js +16 -0
- package/out/_next/static/chunks/7ddea44a67e3f4d2.js +596 -0
- package/out/_next/static/chunks/80d9123c9f3abb30.js +1 -0
- package/out/_next/static/chunks/8250360d92610891.js +1 -0
- package/out/_next/static/chunks/82599e21825addc9.js +13 -0
- package/out/_next/static/chunks/83619aa5695889d1.js +58 -0
- package/out/_next/static/chunks/838b910ef7e4c0ca.js +1 -0
- package/out/_next/static/chunks/83c4b2c785d33921.js +1 -0
- package/out/_next/static/chunks/844f642223bd65be.js +1 -0
- package/out/_next/static/chunks/854229936d29e550.js +286 -0
- package/out/_next/static/chunks/8624972bdb99a2c8.js +3 -0
- package/out/_next/static/chunks/88e592fb9134cd52.js +1 -0
- package/out/_next/static/chunks/8907db8e040efe5d.js +36 -0
- package/out/_next/static/chunks/8a5f559fe8c1c489.js +1 -0
- package/out/_next/static/chunks/8b556a74079aba4f.js +15 -0
- package/out/_next/static/chunks/8cf6faffdff55492.js +2 -0
- package/out/_next/static/chunks/8e8ba9e4c57f576c.js +46 -0
- package/out/_next/static/chunks/8ecf24ee3683d1cf.js +15 -0
- package/out/_next/static/chunks/90989afd6f01d777.js +5 -0
- package/out/_next/static/chunks/967842635197ec2c.js +8 -0
- package/out/_next/static/chunks/9880e45a71e7b384.js +13 -0
- package/out/_next/static/chunks/995de591fb28d84b.js +15 -0
- package/out/_next/static/chunks/99fee86c1d424573.js +15 -0
- package/out/_next/static/chunks/9a9cf63d3876abbe.js +10 -0
- package/out/_next/static/chunks/9ce91f70bbd92b8b.js +177 -0
- package/out/_next/static/chunks/9d64dabee2592951.js +1 -0
- package/out/_next/static/chunks/9f17f97b2086d6b1.js +44 -0
- package/out/_next/static/chunks/a58247d14a314bda.js +1 -0
- package/out/_next/static/chunks/a66ae6f06537ef1e.js +138 -0
- package/out/_next/static/chunks/a70681ab87c1e5ed.js +81 -0
- package/out/_next/static/chunks/a82b5e0a9fd2af1b.js +1 -0
- package/out/_next/static/chunks/a8baa1a74b5a4b17.js +3 -0
- package/out/_next/static/chunks/a96e3623312d7877.js +21 -0
- package/out/_next/static/chunks/ad8739afcbc536aa.js +142 -0
- package/out/_next/static/chunks/af772d006fb559cc.js +147 -0
- package/out/_next/static/chunks/b08d768b4e6f0b30.js +14 -0
- package/out/_next/static/chunks/b195fa15dd90d90d.js +5 -0
- package/out/_next/static/chunks/b211df15f812738a.js +5 -0
- package/out/_next/static/chunks/b22405aa65784fd1.js +59 -0
- package/out/_next/static/chunks/b2717f6b4d13c00d.js +12 -0
- package/out/_next/static/chunks/b31abd650a827ab7.js +15 -0
- package/out/_next/static/chunks/b34b4902bf5251c6.js +1 -0
- package/out/_next/static/chunks/b35962ad3916f370.js +2 -0
- package/out/_next/static/chunks/b4cf38e8cafd15dd.js +3 -0
- package/out/_next/static/chunks/b60f1005cfaa1e4d.js +46 -0
- package/out/_next/static/chunks/b6446a534a83781d.js +108 -0
- package/out/_next/static/chunks/b6529b2854960106.js +50 -0
- package/out/_next/static/chunks/b69969599c4851a5.js +54 -0
- package/out/_next/static/chunks/b953be094d79c77a.js +471 -0
- package/out/_next/static/chunks/ba782714aa359eb3.js +8 -0
- package/out/_next/static/chunks/bc4fe1846c66514a.js +13 -0
- package/out/_next/static/chunks/bd7dffcbba9388ce.js +1 -0
- package/out/_next/static/chunks/bea7d18bcfa278cc.js +51 -0
- package/out/_next/static/chunks/c04e3e14bae51ec0.js +101 -0
- package/out/_next/static/chunks/c2dab8d2d4aa1312.js +12 -0
- package/out/_next/static/chunks/c2e4e35e8bcfe434.js +15 -0
- package/out/_next/static/chunks/c4eaa6f8c3f94ce6.js +1 -0
- package/out/_next/static/chunks/c511954c023d8fa5.js +1 -0
- package/out/_next/static/chunks/c5c35ce15c3a5bbf.js +169 -0
- package/out/_next/static/chunks/c7aebf8fb25b9bce.js +16 -0
- package/out/_next/static/chunks/c7b2620f6802dc60.js +14 -0
- package/out/_next/static/chunks/c9d2f92c023061f0.js +26 -0
- package/out/_next/static/chunks/cb17f9a8eab1a071.js +13 -0
- package/out/_next/static/chunks/cb239694ac3b2a02.js +12 -0
- package/out/_next/static/chunks/cbced7e18621ef67.js +1 -0
- package/out/_next/static/chunks/cd972acf52b0c0b5.css +1 -0
- package/out/_next/static/chunks/cf023c047bfe3172.js +1 -0
- package/out/_next/static/chunks/cf751731977de8a7.js +384 -0
- package/out/_next/static/chunks/d213dac8d0245238.js +1 -0
- package/out/_next/static/chunks/d240afc78f4135a8.js +14 -0
- package/out/_next/static/chunks/d2649c1116becc6a.js +13 -0
- package/out/_next/static/chunks/d2a4c6262906cb68.js +1 -0
- package/out/_next/static/chunks/d4e8f53e7a153ebf.js +596 -0
- package/out/_next/static/chunks/d4f23097ae6ffeb8.js +2 -0
- package/out/_next/static/chunks/d82feacfdc37ffc6.js +3 -0
- package/out/_next/static/chunks/dd41138446700434.js +8 -0
- package/out/_next/static/chunks/dd7d77c8e91e2560.js +132 -0
- package/out/_next/static/chunks/dddc02f5e3f90a22.js +46 -0
- package/out/_next/static/chunks/ddfeca7dae96beb9.js +20 -0
- package/out/_next/static/chunks/de50b6fcd131b622.js +13 -0
- package/out/_next/static/chunks/de5bc771274d7fa2.js +1 -0
- package/out/_next/static/chunks/e08282f87c28d042.js +342 -0
- package/out/_next/static/chunks/e1a04f2b988c0127.js +1 -0
- package/out/_next/static/chunks/e45b45f51794fc91.js +10 -0
- package/out/_next/static/chunks/e5f0ab61a0737b88.js +1 -0
- package/out/_next/static/chunks/e6f8531b24c4d8aa.js +227 -0
- package/out/_next/static/chunks/e7023915d17ccabc.js +61 -0
- package/out/_next/static/chunks/e7ae256d74cf1a79.js +14 -0
- package/out/_next/static/chunks/e90e3ae24a48fbc3.js +13 -0
- package/out/_next/static/chunks/e9e91f3763dfd8e6.js +14 -0
- package/out/_next/static/chunks/eab07a9d821cca6e.js +15 -0
- package/out/_next/static/chunks/eafd0f7a9dfe11e3.js +2 -0
- package/out/_next/static/chunks/eb8d19d35d559572.js +61 -0
- package/out/_next/static/chunks/ecbb43b35ec68dca.js +173 -0
- package/out/_next/static/chunks/f0b4a38f0b700d5b.js +13 -0
- package/out/_next/static/chunks/f12fd60740986cd3.js +13 -0
- package/out/_next/static/chunks/f2a520d75ef83d66.js +88 -0
- package/out/_next/static/chunks/f332652322d66970.js +1 -0
- package/out/_next/static/chunks/f3bbb6f5cd572aef.js +71 -0
- package/out/_next/static/chunks/f3f5bb2da4be059c.js +227 -0
- package/out/_next/static/chunks/f47bc797e90a14cd.js +9 -0
- package/out/_next/static/chunks/f4da369af633ca2c.js +13 -0
- package/out/_next/static/chunks/f585cc7fc2c34888.js +5 -0
- package/out/_next/static/chunks/f62a9768f2112c4d.js +2 -0
- package/out/_next/static/chunks/f764df1e357b1af0.js +1 -0
- package/out/_next/static/chunks/f9369c39c18227dd.js +137 -0
- package/out/_next/static/chunks/f98be5df0ea84e80.js +1 -0
- package/out/_next/static/chunks/fac4bb5cc7a79e00.js +110 -0
- package/out/_next/static/chunks/fbde3f4a69691196.js +2 -0
- package/out/_next/static/chunks/fe2b047fdc80b492.js +31 -0
- package/out/_next/static/chunks/fe2b44ca7d9077b4.js +2 -0
- package/out/_next/static/chunks/turbopack-06326531308e420c.js +4 -0
- package/out/_next/static/chunks/turbopack-0b2886eac294208b.js +4 -0
- package/out/_next/static/chunks/turbopack-11490f589626ae95.js +4 -0
- package/out/_next/static/chunks/turbopack-176751ac2097a088.js +4 -0
- package/out/_next/static/chunks/turbopack-18c2df6a9c61dcf4.js +4 -0
- package/out/_next/static/chunks/turbopack-203d6803feb3c33a.js +4 -0
- package/out/_next/static/chunks/turbopack-2665eff1cfad8581.js +4 -0
- package/out/_next/static/chunks/turbopack-2688a09e528b01fb.js +4 -0
- package/out/_next/static/chunks/turbopack-29c231fbc65ef11d.js +4 -0
- package/out/_next/static/chunks/turbopack-2abec513e1b0311b.js +4 -0
- package/out/_next/static/chunks/turbopack-2f20f676ac5b125b.js +4 -0
- package/out/_next/static/chunks/turbopack-369a26cc44caef3b.js +4 -0
- package/out/_next/static/chunks/turbopack-36db2f05127f624f.js +4 -0
- package/out/_next/static/chunks/turbopack-38d6ede5d54f26f2.js +4 -0
- package/out/_next/static/chunks/turbopack-41573d526c4a948a.js +4 -0
- package/out/_next/static/chunks/turbopack-439c52b77980c4c7.js +4 -0
- package/out/_next/static/chunks/turbopack-4ad063e3cbffc00c.js +4 -0
- package/out/_next/static/chunks/turbopack-4b488bf64a2e8dd1.js +4 -0
- package/out/_next/static/chunks/turbopack-4c7477517b52ba68.js +4 -0
- package/out/_next/static/chunks/turbopack-5c983e42a1e260e4.js +4 -0
- package/out/_next/static/chunks/turbopack-5f2bcdcaa043728a.js +4 -0
- package/out/_next/static/chunks/turbopack-671122c54887dc69.js +4 -0
- package/out/_next/static/chunks/turbopack-6d75f05ddacb7da2.js +4 -0
- package/out/_next/static/chunks/turbopack-6dc028ecebd94645.js +4 -0
- package/out/_next/static/chunks/turbopack-723604d1148e5320.js +4 -0
- package/out/_next/static/chunks/turbopack-74fa79f5127116c8.js +4 -0
- package/out/_next/static/chunks/turbopack-8003cebb87e02b6f.js +4 -0
- package/out/_next/static/chunks/turbopack-8140fe478fb3e120.js +4 -0
- package/out/_next/static/chunks/turbopack-88086a75b1e60f46.js +4 -0
- package/out/_next/static/chunks/turbopack-88eb03702be93ae0.js +4 -0
- package/out/_next/static/chunks/turbopack-897ba35fba678b73.js +4 -0
- package/out/_next/static/chunks/turbopack-8a1b19f230ba6880.js +4 -0
- package/out/_next/static/chunks/turbopack-8ffb67edeb44d982.js +4 -0
- package/out/_next/static/chunks/turbopack-998a786f942e947d.js +4 -0
- package/out/_next/static/chunks/turbopack-9a2df05b70127c82.js +4 -0
- package/out/_next/static/chunks/turbopack-9b182fc4451b5698.js +4 -0
- package/out/_next/static/chunks/turbopack-9cc6b7acb7136339.js +4 -0
- package/out/_next/static/chunks/turbopack-a0ba8198cae7c432.js +4 -0
- package/out/_next/static/chunks/turbopack-a57eed18cbeb25e7.js +4 -0
- package/out/_next/static/chunks/turbopack-a7ff96ea75235751.js +4 -0
- package/out/_next/static/chunks/turbopack-af20a66dd4bceecf.js +4 -0
- package/out/_next/static/chunks/turbopack-b356908061e33334.js +4 -0
- package/out/_next/static/chunks/turbopack-b6ce904246ed7a9f.js +4 -0
- package/out/_next/static/chunks/turbopack-b9cef4be1decb7b2.js +4 -0
- package/out/_next/static/chunks/turbopack-bf2ca10d6641cd12.js +4 -0
- package/out/_next/static/chunks/turbopack-c3399585cf5c035a.js +4 -0
- package/out/_next/static/chunks/turbopack-c44178b57b3e98b5.js +4 -0
- package/out/_next/static/chunks/turbopack-c51548c040a966c5.js +4 -0
- package/out/_next/static/chunks/turbopack-c8e973d3b138f742.js +4 -0
- package/out/_next/static/chunks/turbopack-cc20aca40e453b88.js +4 -0
- package/out/_next/static/chunks/turbopack-d34b6cf8960cacf6.js +4 -0
- package/out/_next/static/chunks/turbopack-d37a5e6c8a834dea.js +4 -0
- package/out/_next/static/chunks/turbopack-d82b95fbbee71ed9.js +4 -0
- package/out/_next/static/chunks/turbopack-d8ed8a779ed564d6.js +4 -0
- package/out/_next/static/chunks/turbopack-dafa04d793b6860d.js +4 -0
- package/out/_next/static/chunks/turbopack-dc4b2a768f14c44e.js +4 -0
- package/out/_next/static/chunks/turbopack-deaa436e60eccde3.js +4 -0
- package/out/_next/static/chunks/turbopack-f58c8e41f737271a.js +4 -0
- package/out/_next/static/chunks/turbopack-f67c925e56a43b50.js +4 -0
- package/out/_next/static/chunks/turbopack-f7b7451c68d69b3c.js +4 -0
- package/out/_next/static/chunks/turbopack-f8e4bfb5ec24c06d.js +4 -0
- package/out/_next/static/chunks/turbopack-f9eebeab42544066.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/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 +35 -35
- package/out/_next/static/ZINZExBw48QXAnmZi6Rup/_buildManifest.js +0 -1
- package/out/_next/static/ZINZExBw48QXAnmZi6Rup/_ssgManifest.js +0 -1
- package/out/_next/static/chunks/1098-f06e88084df9b348.js +0 -1
- package/out/_next/static/chunks/1362-226d9559808706fc.js +0 -1
- package/out/_next/static/chunks/1381-76db46dc20b92879.js +0 -1
- package/out/_next/static/chunks/1676-3e866ed86d2da007.js +0 -1
- package/out/_next/static/chunks/1715-6127e34a03342576.js +0 -1
- package/out/_next/static/chunks/1940-7b7e1d94d001480f.js +0 -1
- package/out/_next/static/chunks/2160-4ad6a3cf212c1874.js +0 -1
- package/out/_next/static/chunks/2186-0f0b937b7680da4f.js +0 -1
- package/out/_next/static/chunks/2281-ad67f157caaf9efc.js +0 -1
- package/out/_next/static/chunks/2506-3f08aebcd05156a8.js +0 -1
- package/out/_next/static/chunks/2683-4d012b08d3181a14.js +0 -1
- package/out/_next/static/chunks/2910-fa17aebaa2094a8e.js +0 -1
- package/out/_next/static/chunks/3154-a4c5da4384a47804.js +0 -1
- package/out/_next/static/chunks/3282-94459d44b61b3901.js +0 -1
- package/out/_next/static/chunks/3286-4d962b31f1d3cfef.js +0 -1
- package/out/_next/static/chunks/3790-8c09af288c7bcab4.js +0 -1
- package/out/_next/static/chunks/381-b7661fa0164a4922.js +0 -1
- package/out/_next/static/chunks/3908-6852b2e785d79ac3.js +0 -1
- package/out/_next/static/chunks/4027-38c935801e906ed4.js +0 -1
- package/out/_next/static/chunks/4082-483d3a6b6f425579.js +0 -1
- package/out/_next/static/chunks/4341-63b049a3ad8c2f00.js +0 -1
- package/out/_next/static/chunks/5433-6236c5f79aea6cc5.js +0 -1
- package/out/_next/static/chunks/5581-bc65da430c8c77fb.js +0 -1
- package/out/_next/static/chunks/5918-4dd79ffe11400a1f.js +0 -1
- package/out/_next/static/chunks/5994-b34c301bc531a27c.js +0 -1
- package/out/_next/static/chunks/603-2b774eddf2ea575f.js +0 -1
- package/out/_next/static/chunks/6267-75b48608109279c3.js +0 -1
- package/out/_next/static/chunks/6475-007aa40a81622387.js +0 -1
- package/out/_next/static/chunks/676-3c25d070720f719d.js +0 -1
- package/out/_next/static/chunks/6825-2a2e2f05a7611391.js +0 -1
- package/out/_next/static/chunks/6984-ec6e71d0c29f8ddf.js +0 -1
- package/out/_next/static/chunks/7291-4b866be4e8f0f76d.js +0 -1
- package/out/_next/static/chunks/7434-d333bf785a339ef8.js +0 -1
- package/out/_next/static/chunks/824-fd8ea3573638c07d.js +0 -1
- package/out/_next/static/chunks/8356-d5d642356fe3df07.js +0 -1
- package/out/_next/static/chunks/8474-cc16eb7b40a6b8f0.js +0 -1
- package/out/_next/static/chunks/8479-514f7826abaa5283.js +0 -1
- package/out/_next/static/chunks/8488-7648939f32accbe2.js +0 -1
- package/out/_next/static/chunks/8837-1ab5639468c8382b.js +0 -1
- package/out/_next/static/chunks/9031-fb515c7190302286.js +0 -1
- package/out/_next/static/chunks/9135-dd8b92edf33cb911.js +0 -1
- package/out/_next/static/chunks/9317-9b5d0ffd1091a4a0.js +0 -1
- package/out/_next/static/chunks/9527-15a5be9dda0b576e.js +0 -1
- package/out/_next/static/chunks/9681-21f91d8189fe6bac.js +0 -1
- package/out/_next/static/chunks/9692-8bfb316546b7a271.js +0 -1
- package/out/_next/static/chunks/9771-7c85d5564dae1b5d.js +0 -1
- package/out/_next/static/chunks/fce541bf-03f2c61f9d385b96.js +0 -1
- package/out/_next/static/chunks/framework-fdb7dfb9c66112bd.js +0 -1
- package/out/_next/static/chunks/main-0b7c28ac78dca0b0.js +0 -1
- package/out/_next/static/chunks/pages/403-409c684420c6cdb8.js +0 -1
- package/out/_next/static/chunks/pages/404-7e6e5f5b28517f5a.js +0 -1
- package/out/_next/static/chunks/pages/423-dd33e5a8f5f1bb79.js +0 -1
- package/out/_next/static/chunks/pages/500-9847c2012b290bc5.js +0 -1
- package/out/_next/static/chunks/pages/_app-5dcbe8fa50ed1458.js +0 -47
- package/out/_next/static/chunks/pages/_error-960d04c21f6e7c04.js +0 -1
- package/out/_next/static/chunks/pages/_offline-3eb9308dfa1a3078.js +0 -1
- package/out/_next/static/chunks/pages/account/forgot-password-564df5febbdf6a83.js +0 -1
- package/out/_next/static/chunks/pages/account-d16dc335af24a873.js +0 -1
- package/out/_next/static/chunks/pages/assortments/AssortmentDetailPage-dad9408a6c01517f.js +0 -1
- package/out/_next/static/chunks/pages/assortments/new-02439b7f8c406a8b.js +0 -1
- package/out/_next/static/chunks/pages/assortments-2632b05c72ac776c.js +0 -1
- package/out/_next/static/chunks/pages/copilot-6b52f3936598ea18.js +0 -1
- package/out/_next/static/chunks/pages/country/CountryDetailPage-dd2154c275bcfe47.js +0 -1
- package/out/_next/static/chunks/pages/country/new-2d92bd673b224a9f.js +0 -1
- package/out/_next/static/chunks/pages/country-cd79b3149c976f66.js +0 -1
- package/out/_next/static/chunks/pages/currency/CurrencyDetailPage-fafeb3ea84faa8b2.js +0 -1
- package/out/_next/static/chunks/pages/currency/new-c5ee3befef36df04.js +0 -1
- package/out/_next/static/chunks/pages/currency-ceba77b93e6df120.js +0 -1
- package/out/_next/static/chunks/pages/delivery-provider/DeliveryProviderDetailPage-4261990f6f8cb8ca.js +0 -1
- package/out/_next/static/chunks/pages/delivery-provider/new-362fbd08a261c266.js +0 -1
- package/out/_next/static/chunks/pages/delivery-provider-82ec58c28d76a6ee.js +0 -1
- package/out/_next/static/chunks/pages/enrollments/EnrollmentDetailPage-b5301327c4739e82.js +0 -1
- package/out/_next/static/chunks/pages/enrollments-1a2b2ca33b372fa8.js +0 -1
- package/out/_next/static/chunks/pages/events/EventDetailPage-0ef072701050ea9f.js +0 -1
- package/out/_next/static/chunks/pages/events-ec19df1a71ebf5ee.js +0 -1
- package/out/_next/static/chunks/pages/external-831f8fda63b56492.js +0 -1
- package/out/_next/static/chunks/pages/filters/FilterDetailPage-6bb8beaa35b66cfa.js +0 -1
- package/out/_next/static/chunks/pages/filters/new-728984fbf1519419.js +0 -1
- package/out/_next/static/chunks/pages/filters-b83fb111f232404c.js +0 -1
- package/out/_next/static/chunks/pages/index-cbe65d651f31437e.js +0 -1
- package/out/_next/static/chunks/pages/install-1c59fb0f9f0bc2c4.js +0 -1
- package/out/_next/static/chunks/pages/language/LanguageDetailPage-5fe4a80071e1aceb.js +0 -1
- package/out/_next/static/chunks/pages/language/new-200939ee06b64389.js +0 -1
- package/out/_next/static/chunks/pages/language-bff90b88f8ea466b.js +0 -1
- package/out/_next/static/chunks/pages/log-in-c93e9fc59a057d25.js +0 -1
- package/out/_next/static/chunks/pages/orders/OrderDetailPage-1a2b04572645f9b7.js +0 -1
- package/out/_next/static/chunks/pages/orders-0bff059400d018fd.js +0 -1
- package/out/_next/static/chunks/pages/payment-provider/PaymentProviderDetailPage-989c4cd9084c2c38.js +0 -1
- package/out/_next/static/chunks/pages/payment-provider/new-b83e33896adddba1.js +0 -1
- package/out/_next/static/chunks/pages/payment-provider-c8c5c502d45a605a.js +0 -1
- package/out/_next/static/chunks/pages/products/ProductDetailPage-b486d7c00f51d654.js +0 -1
- package/out/_next/static/chunks/pages/products/new-04fe5222e2a1b6fd.js +0 -1
- package/out/_next/static/chunks/pages/products-423ebc7d61aebce3.js +0 -1
- package/out/_next/static/chunks/pages/quotations/QuotationDetailPage-eb70509ae3ac67a3.js +0 -1
- package/out/_next/static/chunks/pages/quotations-8efd2456618935a3.js +0 -1
- package/out/_next/static/chunks/pages/reset-password-4520c3db78d411ac.js +0 -1
- package/out/_next/static/chunks/pages/sign-up-d4736e09396bc548.js +0 -1
- package/out/_next/static/chunks/pages/styleguide-70d0516a6a8cd10f.js +0 -1
- package/out/_next/static/chunks/pages/tokens/TokenDetailPage-22da2eed34a6ce3d.js +0 -1
- package/out/_next/static/chunks/pages/tokens-64f66e15dfaf736b.js +0 -1
- package/out/_next/static/chunks/pages/users/UserDetailPage-a42896a64002a2d9.js +0 -1
- package/out/_next/static/chunks/pages/users/new-a878520f80c25473.js +0 -1
- package/out/_next/static/chunks/pages/users-c5a15e2e173d3ece.js +0 -1
- package/out/_next/static/chunks/pages/verify-email-12f6e59db9c1f7e1.js +0 -1
- package/out/_next/static/chunks/pages/warehousing-provider/WarehousingProviderDetailPage-3c4b9862f1dab920.js +0 -1
- package/out/_next/static/chunks/pages/warehousing-provider/new-5962205d43675498.js +0 -1
- package/out/_next/static/chunks/pages/warehousing-provider-1a2acf68795037de.js +0 -1
- package/out/_next/static/chunks/pages/works/WorkDetailPage-b6850b0befe6d400.js +0 -1
- package/out/_next/static/chunks/pages/works/WorkQueueListView-619dbc619e328f71.js +0 -1
- package/out/_next/static/chunks/pages/works/management-0c5b3c46b8513d59.js +0 -1
- package/out/_next/static/chunks/pages/works-9d1e4f01b5612cac.js +0 -1
- package/out/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/out/_next/static/chunks/webpack-e67b0ff03d96edf5.js +0 -1
- package/out/_next/static/css/66bf20079561271a.css +0 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,83454,t=>{"use strict";var e,n=t.i(69178),r=t.i(98183),s=t.i(5858),i=t.i(49061),a=t.i(23529),o=t.i(1516),l=t.i(71588),u=t.i(62458),c=t.i(39381),d=t.i(19372),f=t.i(51443),h=t.i(1415),p={value:()=>{}};function m(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new _(r)}function _(t){this._=t}function g(t,e,n){for(var r=0,s=t.length;r<s;++r)if(t[r].name===e){t[r]=p,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}function v(){}function y(t){return null==t?v:function(){return this.querySelector(t)}}function x(){return[]}function w(t){return null==t?x:function(){return this.querySelectorAll(t)}}function b(t){return function(){return this.matches(t)}}function A(t){return function(e){return e.matches(t)}}_.prototype=m.prototype={constructor:_,on:function(t,e){var n,r=this._,s=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),i=-1,a=s.length;if(arguments.length<2){for(;++i<a;)if((n=(t=s[i]).type)&&(n=function(t,e){for(var n,r=0,s=t.length;r<s;++r)if((n=t[r]).name===e)return n.value}(r[n],t.name)))return n;return}if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++i<a;)if(n=(t=s[i]).type)r[n]=g(r[n],t.name,e);else if(null==e)for(n in r)r[n]=g(r[n],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new _(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,s=Array(n),i=0;i<n;++i)s[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(r=this._[t],i=0,n=r.length;i<n;++i)r[i].value.apply(e,s)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],s=0,i=r.length;s<i;++s)r[s].value.apply(e,n)}};var C=Array.prototype.find;function j(){return this.firstElementChild}var S=Array.prototype.filter;function M(){return Array.from(this.children)}function k(t){return Array(t.length)}function E(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function I(t,e,n,r,s,i){for(var a,o=0,l=e.length,u=i.length;o<u;++o)(a=e[o])?(a.__data__=i[o],r[o]=a):n[o]=new E(t,i[o]);for(;o<l;++o)(a=e[o])&&(s[o]=a)}function N(t,e,n,r,s,i,a){var o,l,u,c=new Map,d=e.length,f=i.length,h=Array(d);for(o=0;o<d;++o)(l=e[o])&&(h[o]=u=a.call(l,l.__data__,o,e)+"",c.has(u)?s[o]=l:c.set(u,l));for(o=0;o<f;++o)u=a.call(t,i[o],o,i)+"",(l=c.get(u))?(r[o]=l,l.__data__=i[o],c.delete(u)):n[o]=new E(t,i[o]);for(o=0;o<d;++o)(l=e[o])&&c.get(h[o])===l&&(s[o]=l)}function $(t){return t.__data__}function V(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}E.prototype={constructor:E,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var q="http://www.w3.org/1999/xhtml";let T={svg:"http://www.w3.org/2000/svg",xhtml:q,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function P(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),T.hasOwnProperty(e)?{space:T[e],local:t}:t}function L(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function O(t,e){return t.style.getPropertyValue(e)||L(t).getComputedStyle(t,null).getPropertyValue(e)}function R(t){return t.trim().split(/^|\s+/)}function F(t){return t.classList||new X(t)}function X(t){this._node=t,this._names=R(t.getAttribute("class")||"")}function B(t,e){for(var n=F(t),r=-1,s=e.length;++r<s;)n.add(e[r])}function D(t,e){for(var n=F(t),r=-1,s=e.length;++r<s;)n.remove(e[r])}function K(){this.textContent=""}function Y(){this.innerHTML=""}function Q(){this.nextSibling&&this.parentNode.appendChild(this)}function z(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function U(t){var e=P(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===q&&e.documentElement.namespaceURI===q?e.createElement(t):e.createElementNS(n,t)}})(e)}function G(){return null}function W(){var t=this.parentNode;t&&t.removeChild(this)}function H(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function J(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Z(t){return function(){var e=this.__on;if(e){for(var n,r=0,s=-1,i=e.length;r<i;++r)(n=e[r],t.type&&n.type!==t.type||n.name!==t.name)?e[++s]=n:this.removeEventListener(n.type,n.listener,n.options);++s?e.length=s:delete this.__on}}}function tt(t,e,n){return function(){var r,s=this.__on,i=function(t){e.call(this,t,this.__data__)};if(s){for(var a=0,o=s.length;a<o;++a)if((r=s[a]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=i,r.options=n),r.value=e;return}}this.addEventListener(t.type,i,n),r={type:t.type,name:t.name,value:e,listener:i,options:n},s?s.push(r):this.__on=[r]}}function te(t,e,n){var r=L(t),s=r.CustomEvent;"function"==typeof s?s=new s(e,n):(s=r.document.createEvent("Event"),n?(s.initEvent(e,n.bubbles,n.cancelable),s.detail=n.detail):s.initEvent(e,!1,!1)),t.dispatchEvent(s)}X.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var tn=[null];function tr(t,e){this._groups=t,this._parents=e}function ts(){return new tr([[document.documentElement]],tn)}tr.prototype=ts.prototype={constructor:tr,select:function(t){"function"!=typeof t&&(t=y(t));for(var e=this._groups,n=e.length,r=Array(n),s=0;s<n;++s)for(var i,a,o=e[s],l=o.length,u=r[s]=Array(l),c=0;c<l;++c)(i=o[c])&&(a=t.call(i,i.__data__,c,o))&&("__data__"in i&&(a.__data__=i.__data__),u[c]=a);return new tr(r,this._parents)},selectAll:function(t){if("function"==typeof t){var e;e=t,t=function(){var t;return t=e.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=w(t);for(var n=this._groups,r=n.length,s=[],i=[],a=0;a<r;++a)for(var o,l=n[a],u=l.length,c=0;c<u;++c)(o=l[c])&&(s.push(t.call(o,o.__data__,c,l)),i.push(o));return new tr(s,i)},selectChild:function(t){var e;return this.select(null==t?j:(e="function"==typeof t?t:A(t),function(){return C.call(this.children,e)}))},selectChildren:function(t){var e;return this.selectAll(null==t?M:(e="function"==typeof t?t:A(t),function(){return S.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=b(t));for(var e=this._groups,n=e.length,r=Array(n),s=0;s<n;++s)for(var i,a=e[s],o=a.length,l=r[s]=[],u=0;u<o;++u)(i=a[u])&&t.call(i,i.__data__,u,a)&&l.push(i);return new tr(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,$);var n=e?N:I,r=this._parents,s=this._groups;"function"!=typeof t&&(v=t,t=function(){return v});for(var i=s.length,a=Array(i),o=Array(i),l=Array(i),u=0;u<i;++u){var c=r[u],d=s[u],f=d.length,h="object"==typeof(g=t.call(c,c&&c.__data__,u,r))&&"length"in g?g:Array.from(g),p=h.length,m=o[u]=Array(p),_=a[u]=Array(p);n(c,d,m,_,l[u]=Array(f),h,e);for(var g,v,y,x,w=0,b=0;w<p;++w)if(y=m[w]){for(w>=b&&(b=w+1);!(x=_[b])&&++b<p;);y._next=x||null}}return(a=new tr(a,r))._enter=o,a._exit=l,a},enter:function(){return new tr(this._enter||this._groups.map(k),this._parents)},exit:function(){return new tr(this._exit||this._groups.map(k),this._parents)},join:function(t,e,n){var r=this.enter(),s=this,i=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(s=e(s))&&(s=s.selection()),null==n?i.remove():n(i),r&&s?r.merge(s).order():s},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,s=n.length,i=r.length,a=Math.min(s,i),o=Array(s),l=0;l<a;++l)for(var u,c=n[l],d=r[l],f=c.length,h=o[l]=Array(f),p=0;p<f;++p)(u=c[p]||d[p])&&(h[p]=u);for(;l<s;++l)o[l]=n[l];return new tr(o,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,s=t[e],i=s.length-1,a=s[i];--i>=0;)(r=s[i])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=V);for(var n=this._groups,r=n.length,s=Array(r),i=0;i<r;++i){for(var a,o=n[i],l=o.length,u=s[i]=Array(l),c=0;c<l;++c)(a=o[c])&&(u[c]=a);u.sort(e)}return new tr(s,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],s=0,i=r.length;s<i;++s){var a=r[s];if(a)return a}return null},size:function(){let t=0;for(let e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var s,i=e[n],a=0,o=i.length;a<o;++a)(s=i[a])&&t.call(s,s.__data__,a,i);return this},attr:function(t,e){var n=P(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):O(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=R(t+"");if(arguments.length<2){for(var r=F(this.node()),s=-1,i=n.length;++s<i;)if(!r.contains(n[s]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?B:D)(this,t)}}:e?function(t){return function(){B(this,t)}}:function(t){return function(){D(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?K:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?Y:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(Q)},lower:function(){return this.each(z)},append:function(t){var e="function"==typeof t?t:U(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:U(t),r=null==e?G:"function"==typeof e?e:y(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(W)},clone:function(t){return this.select(t?J:H)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,s,i=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),a=i.length;if(arguments.length<2){var o=this.node().__on;if(o){for(var l,u=0,c=o.length;u<c;++u)for(r=0,l=o[u];r<a;++r)if((s=i[r]).type===l.type&&s.name===l.name)return l.value}return}for(r=0,o=e?tt:Z;r<a;++r)this.each(o(i[r],e,n));return this},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return te(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return te(this,t,e)}})(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,s=t[e],i=0,a=s.length;i<a;++i)(r=s[i])&&(yield r)}},t.i(7917);var ti,ta,to=0,tl=0,tu=0,tc=0,td=0,tf=0,th="object"==typeof performance&&performance.now?performance:Date,tp="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function tm(){return td||(tp(t_),td=th.now()+tf)}function t_(){td=0}function tg(){this._call=this._time=this._next=null}function tv(t,e,n){var r=new tg;return r.restart(t,e,n),r}function ty(){td=(tc=th.now())+tf,to=tl=0;try{tm(),++to;for(var t,e=ti;e;)(t=td-e._time)>=0&&e._call.call(void 0,t),e=e._next;--to}finally{to=0,function(){for(var t,e,n=ti,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:ti=e);ta=t,tw(r)}(),td=0}}function tx(){var t=th.now(),e=t-tc;e>1e3&&(tf-=e,tc=t)}function tw(t){!to&&(tl&&(tl=clearTimeout(tl)),t-td>24?(t<1/0&&(tl=setTimeout(ty,t-th.now()-tf)),tu&&(tu=clearInterval(tu))):(tu||(tc=th.now(),tu=setInterval(tx,1e3)),to=1,tp(ty)))}function tb(t,e,n){var r=new tg;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}tg.prototype=tv.prototype={constructor:tg,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?tm():+n)+(null==e?0:+e),this._next||ta===this||(ta?ta._next=this:ti=this,ta=this),this._call=t,this._time=n,tw()},stop:function(){this._call&&(this._call=null,this._time=1/0,tw())}};var tA=m("start","end","cancel","interrupt"),tC=[];function tj(t,e,n,r,s,i){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,s=t.__transition;function i(l){var u,c,d,f;if(1!==n.state)return o();for(u in s)if((f=s[u]).name===n.name){if(3===f.state)return tb(i);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete s[u]):+u<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete s[u])}if(tb(function(){3===n.state&&(n.state=4,n.timer.restart(a,n.delay,n.time),a(l))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(u=0,n.state=3,r=Array(d=n.tween.length),c=-1;u<d;++u)(f=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++c]=f);r.length=c+1}}function a(e){for(var s=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(o),n.state=5,1),i=-1,a=r.length;++i<a;)r[i].call(t,s);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),o())}function o(){for(var r in n.state=6,n.timer.stop(),delete s[e],s)return;delete t.__transition}s[e]=n,n.timer=tv(function(t){n.state=1,n.timer.restart(i,n.delay,n.time),n.delay<=t&&i(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:s,on:tA,tween:tC,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:0})}function tS(t,e){var n=tk(t,e);if(n.state>0)throw Error("too late; already scheduled");return n}function tM(t,e){var n=tk(t,e);if(n.state>3)throw Error("too late; already running");return n}function tk(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}var tE=t.i(92365),tI=180/Math.PI,tN={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function t$(t,e,n,r,s,i){var a,o,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(o=Math.sqrt(n*n+r*r))&&(n/=o,r/=o,l/=o),t*r<e*n&&(t=-t,e=-e,l=-l,a=-a),{translateX:s,translateY:i,rotate:Math.atan2(e,t)*tI,skewX:Math.atan(l)*tI,scaleX:a,scaleY:o}}function tV(t,e,n,r){function s(t){return t.length?t.pop()+" ":""}return function(i,a){var o,l,u,c,d=[],f=[];return i=t(i),a=t(a),!function(t,r,s,i,a,o){if(t!==s||r!==i){var l=a.push("translate(",null,e,null,n);o.push({i:l-4,x:(0,tE.default)(t,s)},{i:l-2,x:(0,tE.default)(r,i)})}else(s||i)&&a.push("translate("+s+e+i+n)}(i.translateX,i.translateY,a.translateX,a.translateY,d,f),o=i.rotate,l=a.rotate,o!==l?(o-l>180?l+=360:l-o>180&&(o+=360),f.push({i:d.push(s(d)+"rotate(",null,r)-2,x:(0,tE.default)(o,l)})):l&&d.push(s(d)+"rotate("+l+r),u=i.skewX,c=a.skewX,u!==c?f.push({i:d.push(s(d)+"skewX(",null,r)-2,x:(0,tE.default)(u,c)}):c&&d.push(s(d)+"skewX("+c+r),!function(t,e,n,r,i,a){if(t!==n||e!==r){var o=i.push(s(i)+"scale(",null,",",null,")");a.push({i:o-4,x:(0,tE.default)(t,n)},{i:o-2,x:(0,tE.default)(e,r)})}else(1!==n||1!==r)&&i.push(s(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,d,f),i=a=null,function(t){for(var e,n=-1,r=f.length;++n<r;)d[(e=f[n]).i]=e.x(t);return d.join("")}}}var tq=tV(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?tN:t$(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),tT=tV(function(t){return null==t?tN:(e||(e=document.createElementNS("http://www.w3.org/2000/svg","g")),e.setAttribute("transform",t),t=e.transform.baseVal.consolidate())?t$((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):tN},", ",")",")");function tP(t,e,n){var r=t._id;return t.each(function(){var t=tM(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return tk(t,r).value[e]}}var tL=t.i(85867),tO=t.i(75728),tR=t.i(85588),tR=tR,tF=t.i(50928),tF=tF;function tX(t,e){var n;return("number"==typeof e?tO.interpolateNumber:e instanceof tL.color?tR.default:(n=(0,tL.color)(e))?(e=n,tR.default):tF.default)(t,e)}var tB=ts.prototype.constructor;function tD(t){return function(){this.style.removeProperty(t)}}var tK=0;function tY(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}var tQ=ts.prototype;tY.prototype=(function(t){return ts().transition(t)}).prototype={constructor:tY,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=y(t));for(var r=this._groups,s=r.length,i=Array(s),a=0;a<s;++a)for(var o,l,u=r[a],c=u.length,d=i[a]=Array(c),f=0;f<c;++f)(o=u[f])&&(l=t.call(o,o.__data__,f,u))&&("__data__"in o&&(l.__data__=o.__data__),d[f]=l,tj(d[f],e,n,f,d,tk(o,n)));return new tY(i,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=w(t));for(var r=this._groups,s=r.length,i=[],a=[],o=0;o<s;++o)for(var l,u=r[o],c=u.length,d=0;d<c;++d)if(l=u[d]){for(var f,h=t.call(l,l.__data__,d,u),p=tk(l,n),m=0,_=h.length;m<_;++m)(f=h[m])&&tj(f,e,n,m,h,p);i.push(h),a.push(l)}return new tY(i,a,e,n)},selectChild:tQ.selectChild,selectChildren:tQ.selectChildren,filter:function(t){"function"!=typeof t&&(t=b(t));for(var e=this._groups,n=e.length,r=Array(n),s=0;s<n;++s)for(var i,a=e[s],o=a.length,l=r[s]=[],u=0;u<o;++u)(i=a[u])&&t.call(i,i.__data__,u,a)&&l.push(i);return new tY(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,n=t._groups,r=e.length,s=n.length,i=Math.min(r,s),a=Array(r),o=0;o<i;++o)for(var l,u=e[o],c=n[o],d=u.length,f=a[o]=Array(d),h=0;h<d;++h)(l=u[h]||c[h])&&(f[h]=l);for(;o<r;++o)a[o]=e[o];return new tY(a,this._parents,this._name,this._id)},selection:function(){return new tB(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=++tK,r=this._groups,s=r.length,i=0;i<s;++i)for(var a,o=r[i],l=o.length,u=0;u<l;++u)if(a=o[u]){var c=tk(a,e);tj(a,t,n,u,o,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new tY(r,this._parents,t,n)},call:tQ.call,nodes:tQ.nodes,node:tQ.node,size:tQ.size,empty:tQ.empty,each:tQ.each,on:function(t,e){var n,r,s,i,a,o,l=this._id;return arguments.length<2?tk(this.node(),l).on.on(t):this.each((n=l,r=t,s=e,o=(r+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})?tS:tM,function(){var t=o(this,n),e=t.on;e!==i&&(a=(i=e).copy()).on(r,s),t.on=a}))},attr:function(t,e){var n=P(t),r="transform"===n?tT:tX;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,s,i;return function(){var a,o,l=n(this);return null==l?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===(o=l+"")?null:a===r&&o===s?i:(s=o,i=e(r=a,l))}}:function(t,e,n){var r,s,i;return function(){var a,o,l=n(this);return null==l?void this.removeAttribute(t):(a=this.getAttribute(t))===(o=l+"")?null:a===r&&o===s?i:(s=o,i=e(r=a,l))}})(n,r,tP(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,s,i=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===i?null:a===r?s:s=e(r=a,n)}}:function(t,e,n){var r,s,i=n+"";return function(){var a=this.getAttribute(t);return a===i?null:a===r?s:s=e(r=a,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=P(t);return this.tween(n,(r.local?function(t,e){var n,r;function s(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&function(e){this.setAttributeNS(t.space,t.local,s.call(this,e))}),n}return s._value=e,s}:function(t,e){var n,r;function s(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&function(e){this.setAttribute(t,s.call(this,e))}),n}return s._value=e,s})(r,e))},style:function(t,e,n){var r,s,i,a,o,l,u,c,d,f,h,p,m,_,g,v,y,x,w,b,A,C="transform"==(t+="")?tq:tX;return null==e?this.styleTween(t,(r=t,function(){var t=O(this,r),e=(this.style.removeProperty(r),O(this,r));return t===e?null:t===s&&e===i?a:a=C(s=t,i=e)})).on("end.style."+t,tD(t)):"function"==typeof e?this.styleTween(t,(o=t,l=tP(this,"style."+t,e),function(){var t=O(this,o),e=l(this),n=e+"";return null==e&&(this.style.removeProperty(o),n=e=O(this,o)),t===n?null:t===u&&n===c?d:(c=n,d=C(u=t,e))})).each((f=this._id,y="end."+(v="style."+(h=t)),function(){var t=tM(this,f),e=t.on,n=null==t.value[v]?g||(g=tD(h)):void 0;(e!==p||_!==n)&&(m=(p=e).copy()).on(y,_=n),t.on=m})):this.styleTween(t,(x=t,A=e+"",function(){var t=O(this,x);return t===A?null:t===w?b:b=C(w=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,s;function i(){var i=e.apply(this,arguments);return i!==s&&(r=(s=i)&&function(e){this.style.setProperty(t,i.call(this,e),n)}),r}return i._value=e,i}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=tP(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,s=tk(this.node(),n).tween,i=0,a=s.length;i<a;++i)if((r=s[i]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var s=tM(this,t),i=s.tween;if(i!==n){r=n=i;for(var a=0,o=r.length;a<o;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}}s.tween=r}}:function(t,e,n){var r,s;if("function"!=typeof n)throw Error();return function(){var i=tM(this,t),a=i.tween;if(a!==r){s=(r=a).slice();for(var o={name:e,value:n},l=0,u=s.length;l<u;++l)if(s[l].name===e){s[l]=o;break}l===u&&s.push(o)}i.tween=s}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tS(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tS(this,t).delay=e}})(e,t)):tk(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tM(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tM(this,t).duration=e}})(e,t)):tk(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){tM(this,t).ease=e}}(e,t)):tk(this.node(),e).ease},easeVarying:function(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw Error();tM(this,e).ease=n}))},end:function(){var t,e,n=this,r=n._id,s=n.size();return new Promise(function(i,a){var o={value:a},l={value:function(){0==--s&&i()}};n.each(function(){var n=tM(this,r),s=n.on;s!==t&&((e=(t=s).copy())._.cancel.push(o),e._.interrupt.push(o),e._.end.push(l)),n.on=e}),0===s&&i()})},[Symbol.iterator]:tQ[Symbol.iterator]};var tz={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};ts.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var n,r,s,i=t.__transition,a=!0;if(i){for(s in e=null==e?null:e+"",i){if((n=i[s]).name!==e){a=!1;continue}r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete i[s]}a&&delete t.__transition}}(this,t)})},ts.prototype.transition=function(t){var e,n;t instanceof tY?(e=t._id,t=t._name):(e=++tK,(n=tz).time=tm(),t=null==t?null:t+"");for(var r=this._groups,s=r.length,i=0;i<s;++i)for(var a,o=r[i],l=o.length,u=0;u<l;++u)(a=o[u])&&tj(a,t,e,u,o,n||function(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw Error(`transition ${e} not found`);return n}(a,e));return new tY(r,this._parents,t,e)};let{abs:tU,max:tG,min:tW}=Math;function tH(t){return{type:t}}function tJ(t){return((t=Math.exp(t))+1/t)/2}function tZ(t,e,n){this.k=t,this.x=e,this.y=n}["w","e"].map(tH),["n","s"].map(tH),["n","w","e","s","nw","ne","sw","se"].map(tH),!function t(e,n,r){function s(t,s){var i,a,o=t[0],l=t[1],u=t[2],c=s[0],d=s[1],f=s[2],h=c-o,p=d-l,m=h*h+p*p;if(m<1e-12)a=Math.log(f/u)/e,i=function(t){return[o+t*h,l+t*p,u*Math.exp(e*t*a)]};else{var _=Math.sqrt(m),g=(f*f-u*u+r*m)/(2*u*n*_),v=(f*f-u*u-r*m)/(2*f*n*_),y=Math.log(Math.sqrt(g*g+1)-g);a=(Math.log(Math.sqrt(v*v+1)-v)-y)/e,i=function(t){var r,s,i=t*a,c=tJ(y),d=u/(n*_)*(c*(((r=Math.exp(2*(r=e*i+y)))-1)/(r+1))-((s=Math.exp(s=y))-1/s)/2);return[o+d*h,l+d*p,u*c/tJ(e*i+y)]}}return i.duration=1e3*a*e/Math.SQRT2,i}return s.rho=function(e){var n=Math.max(.001,+e),r=n*n;return t(n,r,r*r)},s}(Math.SQRT2,2,4),tZ.prototype={constructor:tZ,scale:function(t){return 1===t?this:new tZ(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new tZ(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new tZ(1,0,0);tZ.prototype;var t0=t.i(12060),t0=t0;let t1=function(t){for(var e=t.length/6|0,n=Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n}("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666");var t2=t.i(13756),t3=t.i(30758),t6=t.i(85055),t6=t6,t9=t.i(81040),t9=t9,t4=t.i(39439),t4=t4,t5=t.i(72670),t8=t.i(6356);let t7=(0,t0.default)(t1),et=({data:t,options:e={}})=>{let{formatMessage:s}=(0,r.useIntl)(),a=(0,i.useRouter)(),o=((t,e={})=>{t.forEach((t,e)=>t.forEach(t=>{t.level=e}));let n=t.reduce((t,e)=>t.concat(e),[]),r={};n.forEach(t=>{r[t.id]=t}),n.forEach(t=>{t.parents=(void 0===t.parents?[]:t.parents).map(t=>r[t])}),t.forEach((t,e)=>{let n={};t.forEach(t=>{if(0===t.parents.length)return;let r=t.parents.filter(Boolean).map(t=>t.id).sort().join("-X-");r in n?n[r].parents=n[r].parents.concat(t.parents):n[r]={id:r,parents:t.parents.slice(),level:e,span:e-(0,t6.default)(t.parents,t=>t?.level)},t.bundle=n[r]}),t.bundles=Object.keys(n).map(t=>n[t]),t.bundles.forEach((t,e)=>{t.i=e})});let s=[];n.forEach(t=>{t.parents.forEach(e=>s.push({source:t,bundle:t.bundle,target:e}))});let i=t.reduce((t,e)=>t.concat(e.bundles),[]);(i||[]).forEach(t=>t.parents.filter(Boolean).forEach(e=>{e?.bundles_index===void 0&&(e.bundles_index={}),t.id in(e?.bundles_index||[])||(e.bundles_index[t.id]=[]),e.bundles_index[t.id].push(t)})),n.forEach(t=>{void 0!==t.bundles_index?t.bundles=Object.keys(t.bundles_index).map(e=>t.bundles_index[e]):(t.bundles_index={},t.bundles=[]),t.bundles.sort((t,e)=>(0,t4.default)((0,t9.default)(t,t=>t.span),(0,t9.default)(e,t=>t.span))),t.bundles.forEach((t,e)=>{t.i=e})}),s.forEach(t=>{void 0===t.bundle.links&&(t.bundle.links=[]),t.bundle.links.push(t)}),e.c||=16;let{c:a}=e;e.bigc||=100+a,n.forEach(t=>t.height=(Math.max(1,t.bundles.length)-1)*4);let o=8,l=8;t.forEach(t=>{o+=14*t.bundles.length,l+=16,t.forEach(t=>{t.x=100*t.level+o,t.y=30+l+t.height/2,l+=30+t.height})});let u=0;t.forEach(t=>{t.bundles.filter(Boolean).forEach(e=>{e.x=(0,t9.default)(e.parents,t=>t?.x)+100+(t.bundles.length-1-e.i)*14,e.y=30*u}),u+=t.length}),s.forEach(t=>{t.xt=t.target.x,t.yt=t.target.y+4*t.target.bundles_index[t.bundle.id].i-4*t.target.bundles.length/2+2,t.xb=t.bundle.x,t.yb=t.bundle.y,t.xs=t.source.x,t.ys=t.source.y});let c=0;t.forEach(t=>{c+=-22+(0,t6.default)(t.bundles,t=>(0,t6.default)(t.links,t=>t.ys-2*a-(t.yt+a)))||0,t.forEach(t=>t.y-=c)}),s.forEach(t=>{t.yt=t.target.y+4*t.target.bundles_index[t.bundle.id].i-4*t.target.bundles.length/2+2,t.ys=t.source.y,t.c1=t.source.level-t.target.level>1?Math.min(e.bigc,t.xb-t.xt,t.yb-t.yt)-a:a,t.c2=a});let d={width:(0,t9.default)(n,t=>t.x)+100+16,height:(0,t9.default)(n,t=>t.y)+15+16,node_height:30,node_width:100,bundle_width:14,level_y_padding:16,metro_d:4};return{levels:t,nodes:n,nodes_index:r,links:s,bundles:i,layout:d}})(t,e);return e.color||=(t,e)=>t7(e),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"absolute top-2 left-8",children:(0,n.jsx)("button",{type:"button",className:"inline-flex items-center justify-center px-2 py-2 hover:bg-amber-100 dark:hover:bg-yellow-700 rounded-full focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-yellow-600 dark:focus:ring-yellow-500",onClick:()=>a.back(),children:(0,n.jsx)(t2.ArrowLeftIcon,{className:"h-6 w-6 text-teal-600 hover:text-teal-800"})})}),(0,n.jsxs)("svg",{id:"tangle-tree",width:"100%",height:`${o.layout.height+6}`,className:"fill-transparent pt-2 mx-10 w-full",children:[o.bundles.map((t,r)=>{let s=t.links.map(t=>`
|
|
2
|
+
M${t.xt} ${t.yt}
|
|
3
|
+
L${t.xb-t.c1} ${t.yt}
|
|
4
|
+
A${t.c1} ${t.c1} 90 0 1 ${t.xb} ${t.yt+t.c1}
|
|
5
|
+
L${t.xb} ${t.ys-t.c2}
|
|
6
|
+
A${t.c2} ${t.c2} 90 0 0 ${t.xb+t.c2} ${t.ys}
|
|
7
|
+
L${t.xs} ${t.ys}`).join("");return(0,n.jsxs)(h.Fragment,{children:[(0,n.jsx)("path",{className:"link stroke-white dark:stroke-slate-600",d:`${s}`,strokeWidth:"5"}),(0,n.jsx)("path",{className:"link",d:`${s}`,stroke:`${e.color(t,r)}`,strokeWidth:"2"})]},s)}),o.nodes.map((t,e)=>(0,n.jsxs)(h.Fragment,{children:[(0,n.jsx)("path",{className:"selectable node","data-id":`${t.id}`,stroke:"black",strokeWidth:"8",d:`M${t.x} ${t.y-t.height/2} L${t.x} ${t.y+t.height/2}`}),(0,n.jsx)("path",{className:"node",stroke:"white",strokeWidth:"4",d:`M${t.x} ${t.y-t.height/2} L${t.x} ${t.y+t.height/2}`}),(0,n.jsx)("foreignObject",{"data-id":`${t.id}`,x:`${t.x+4}`,y:`${t.y-t.height/2-4}`,width:"100%",height:"100%",children:(0,n.jsxs)("div",{children:[(0,n.jsx)(t3.default,{href:`/assortments?assortmentSlug=${(0,t8.default)({_id:t?.id,texts:t})}`,className:'className="selectable text-slate-950 hover:text-slate-950 dark:text-lime-400 dark:hover:text-lime-500 text-base',id:"root",children:t?.title}),t?.childCount!==void 0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t3.default,{href:`/assortments?viewGraph=true&slug=${(0,t8.default)({_id:t?.id,texts:t})}`,className:"text-slate-900 dark:text-fuchsia-400 dark:hover:text-fuchsia-600 ml-2 inline-flex items-center px-4 border border-slate-300 shadow-xs text-sm font-medium rounded-md bg-white dark:bg-slate-500 hover:bg-slate-50 dark:hover:bg-slate-400 focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-slate-900",children:s({id:"children",defaultMessage:"Children:"})}),(0,n.jsx)(t5.default,{text:t?.childCount,color:"purple",className:"inline-block mx-2 dark:bg-slate-500 dark:text-purple-400"})]})]})})]},`${t.id}+${e}`))]})]})},ee=({assortments:t})=>(0,n.jsx)("div",{className:"relative w-full h-max rounded-lg bg-white dark:shadow-none dark:bg-slate-900 text-slate-900 dark:text-slate-200",children:(0,n.jsx)(et,{data:[t?.map(t=>({id:t?._id,slug:t?.texts.slug,title:t?.texts.title,subtitle:t?.texts.subtitle})),t?.map(t=>t?.children?.map(e=>({id:e?._id,slug:e?.texts.slug,title:e?.texts.title,subtitle:e?.texts.subtitle,childCount:e?.childrenCount,parents:[t?._id]})))?.flat()].filter(Boolean)})});var en=t.i(71983),er=t.i(13699);let es=en.gql`
|
|
8
|
+
fragment AssortmentChildrenFragment on Assortment {
|
|
9
|
+
_id
|
|
10
|
+
texts {
|
|
11
|
+
_id
|
|
12
|
+
slug
|
|
13
|
+
title
|
|
14
|
+
subtitle
|
|
15
|
+
}
|
|
16
|
+
childrenCount
|
|
17
|
+
}
|
|
18
|
+
`,ei=en.gql`
|
|
19
|
+
query AssortmentChildren(
|
|
20
|
+
$slugs: [String!]
|
|
21
|
+
$includeInactive: Boolean
|
|
22
|
+
$includeLeaves: Boolean
|
|
23
|
+
) {
|
|
24
|
+
assortments(
|
|
25
|
+
slugs: $slugs
|
|
26
|
+
includeInactive: $includeInactive
|
|
27
|
+
includeLeaves: $includeLeaves
|
|
28
|
+
) {
|
|
29
|
+
...AssortmentChildrenFragment
|
|
30
|
+
children {
|
|
31
|
+
...AssortmentChildrenFragment
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
${es}
|
|
36
|
+
`;var ea=t.i(81312);let eo=({options:t})=>{let{includeInactive:e,slug:r}=t,{selectedLocale:s}=(0,ea.default)(),{assortments:i,loading:a}=(({slugs:t,includeInactive:e=!1,includeLeaves:n=!1,forceLocale:r})=>{let s=t?.map(t=>(0,t8.parseSlug)(t)),{data:i,loading:a,error:o}=(0,er.useQuery)(ei,{variables:{slugs:s,includeInactive:e,includeLeaves:n},context:{headers:{forceLocale:r}}});return{assortments:i?.assortments||[],loading:a,error:o}})({slugs:r?[r].filter(Boolean):null,includeInactive:e,includeLeaves:!!r,forceLocale:s});return(0,n.jsx)("div",{className:"mt-5",children:a?(0,n.jsx)(f.default,{}):(0,n.jsx)(ee,{assortments:i})})};var el=t.i(69438),eu=t.i(81907),ec=t.i(25211),ed=t.i(98531),ef=t.i(81751),eh=t.i(22103),ep=t.i(31891),em=t.i(17831),e_=t.i(41134),eg=t.i(30525);let ev=({assortment:t,showAvatar:e})=>{let{formatMessage:a}=(0,r.useIntl)(),o=(0,i.useRouter)(),{hasRole:l}=(0,d.default)(),{setModal:u}=(0,ep.default)(),{updateAssortment:c}=(0,e_.default)(),{removeAssortment:f}=(0,eg.default)(),h={true:a({id:"active",defaultMessage:"Active"}),false:a({id:"in_active",defaultMessage:"In-Active"})},p=async()=>{await u((0,n.jsx)(em.default,{onCancelClick:async()=>u(""),message:a({id:"delete_assortment_warning",defaultMessage:"This action will permanently delete this assortment and all associated data. Are you sure you want to continue?"}),onOkClick:async()=>{u(""),await f({assortmentId:t._id})},okText:a({id:"delete_assortment",defaultMessage:"Delete Assortment"})}))},m=async e=>{e.target.value&&await c({assortmentId:t?._id,assortment:{sequence:parseInt(e.target.value,10)}})};return(0,n.jsxs)(ed.default.Row,{children:[(0,n.jsx)(ed.default.Cell,{className:"whitespace-nowrap",children:(0,n.jsxs)("div",{className:"flex items-center text-sm text-slate-900",children:[e&&(0,n.jsx)(ef.default,{file:t?.media?.length&&t.media[0].file,className:"mr-3"}),(0,n.jsx)(t3.default,{href:`/assortments?assortmentSlug=${(0,t8.default)(t)}`,className:"text-slate-900 dark:text-slate-300",children:t?.texts?.title||(0,n.jsxs)(n.Fragment,{children:[t._id," ",(0,n.jsx)(t5.default,{color:"blue",text:a({id:"name",defaultMessage:"Name"})})]})})]})}),(0,n.jsx)(ed.default.Cell,{className:"whitespace-nowrap",children:(0,n.jsx)(t5.default,{text:h[t.isActive],color:t.isActive?"emerald":"yellow",square:!0})}),(0,n.jsx)(ed.default.Cell,{className:"whitespace-nowrap",children:(0,n.jsx)("div",{className:"flex items-center text-sm text-slate-900",children:t.isRoot&&(0,n.jsx)(t5.default,{text:a({id:"root_assortment",defaultMessage:"Root"}),color:"stone",square:!0})})}),(0,n.jsx)(ed.default.Cell,{children:(0,n.jsx)("input",{type:"number",id:`${t._id}-sequence`,className:"text-center w-16 shadow-xs focus:ring-slate-900 dark:bg-slate-800 dark:border-slate-700 focus:border-slate-900 block text-sm border-slate-300 rounded-md mr-2 font-semibold text-slate-900 dark:text-slate-300",defaultValue:t?.sequence,onBlur:m,disabled:!l(s.IRoleAction.ManageAssortments)})}),(0,n.jsx)(ed.default.Cell,{className:"text-right",children:(0,n.jsx)(eh.default,{onEdit:()=>{o.push(`/assortments?assortmentSlug=${(0,t8.default)(t)}`)},onDelete:p,showEdit:!0,showDelete:l(s.IRoleAction.ManageAssortments)})})]})},ey=({assortments:t,showAvatar:e=!0,sortable:s})=>{let{formatMessage:i}=(0,r.useIntl)();return(0,n.jsxs)(ed.default,{className:"min-w-full",children:[t?.map(t=>(0,n.jsxs)(ed.default.Row,{header:!0,enablesort:s,children:[(0,n.jsx)(ed.default.Cell,{children:i({id:"name",defaultMessage:"Name"})}),(0,n.jsx)(ed.default.Cell,{sortKey:"isActive",children:i({id:"active",defaultMessage:"Active"})}),(0,n.jsx)(ed.default.Cell,{sortKey:"isRoot",children:i({id:"root",defaultMessage:"Root"})}),(0,n.jsx)(ed.default.Cell,{sortKey:"sequence",defaultSortDirection:"ASC",children:i({id:"sequence",defaultMessage:"Display Order"})}),(0,n.jsx)(ed.default.Cell,{children:" "})]},t._id)),t?.map(t=>(0,n.jsx)(ev,{showAvatar:e,assortment:t},`${t?._id}-body`))]})},ex=({options:t,queryString:e,sortable:r})=>{let{includeInactive:s,includeLeaves:i,limit:a,offset:o,tags:l,slug:u,sort:c}=t,{selectedLocale:d}=(0,ea.default)(),h=(0,eu.convertSortFieldsToQueryFormat)(c),{assortments:p,loading:m,loadMore:_,hasMore:g}=(0,ec.default)({queryString:e,includeInactive:s,includeLeaves:i,limit:a,offset:o,tags:l,slugs:u,sort:h,forceLocale:d});return m&&p?.length===0?(0,n.jsx)(f.default,{}):(0,n.jsx)(el.default,{loading:m,hasMore:g,onLoadMore:_,children:(0,n.jsx)(ey,{assortments:p,sortable:r})})};var ew=t.i(12763),eb=t.i(32680),eA=t.i(74709),eC=t.i(47024),ej=t.i(8878),eS=t.i(93734),eM=t.i(44791),ek=t.i(43128),eE=t.i(73975),eI=t.i(69127),eN=t.i(3673);async function e$(t,e){let n={assortments:{},children:{},filters:{},products:{}};return await Promise.all(t.map(async t=>{let{data:r}=await e.query({query:ek.TranslatedAssortmentTextsQuery,variables:{assortmentId:t?._id}});n.assortments[t._id]=r.translatedAssortmentTexts||[];let{data:s}=await e.query({query:eN.AssortmentFiltersQuery,variables:{assortmentId:t?._id}});n.filters[t._id]=s?.assortment?.filterAssignments||[];let{data:i}=await e.query({query:eE.AssortmentProductsQuery,variables:{assortmentId:t._id}});n.products[t._id]=i?.assortment?.productAssignments||[];let{data:a}=await e.query({query:eI.AssortmentLinksQuery,variables:{assortmentId:t._id}});n.children[t._id]=a?.assortment?.linkedAssortments||[]})),n}let eV=["_id","isActive","isRoot","sequence","tags"],eq=["title","subtitle","description","slug"],eT=["_id","assortmentId","filterId","tags","sortKey"],eP=["_id","assortmentId","productId","tags","sortKey"],eL=["_id","assortmentId","childAssortmentId","tags","sortKey"],eO=t=>[...eV,...t.flatMap(t=>eq.map(e=>`texts.${t}.${e}`))],eR=()=>[...eT],eF=()=>[...eP],eX=()=>[...eL],eB=(t,e,n)=>{let r={};eV.forEach(e=>{r[e]=t[e]??""});let s=n[t._id]||{};return e.forEach(t=>{let e=s[t]||{};eq.forEach(n=>{let s=e[n];Array.isArray(s)&&(s=s.join(";")),r[`texts.${t}.${n}`]=s??""})}),r},eD=(t,e)=>(e||[]).map(({_id:e,filter:n,sortKey:r,tags:s})=>({_id:e,sortKey:r,tags:s||"",filterId:n?._id,assortmentId:t})),eK=(t,e)=>(e||[]).map(({_id:e,product:n,sortKey:r,tags:s})=>({_id:e,sortKey:r,tags:s||"",productId:n?._id,assortmentId:t})),eY=(t,e)=>(e||[]).filter(e=>e?.child?._id!==t).map(({_id:e,child:n,sortKey:r,tags:s})=>({_id:e,sortKey:r,tags:s||"",childAssortmentId:n?._id,assortmentId:t})),eQ=({includeInactive:t,includeLeaves:e,queryString:s,tags:i,sort:a})=>{let{selectedLocale:o}=(0,ea.default)(),{assortments:l,loading:u,client:c}=(0,ec.default)({limit:0,queryString:s,includeInactive:t,includeLeaves:e,tags:i,sort:a,forceLocale:o}),{exportAssortments:d,isLoading:f}=((t,e)=>{let{languageDialectList:n}=(0,ea.default)(),r=(0,h.useMemo)(()=>n?.map(t=>t.isoCode)??[],[n]),s=(0,h.useMemo)(()=>eO(r),[r]),i=(0,h.useMemo)(()=>eR(),[]),a=(0,h.useMemo)(()=>eF(),[]),o=(0,h.useMemo)(()=>eX(),[]),{exportCSV:l,isExporting:u}=(0,eM.useCSVExport)(t,t=>t,{headers:s}),{exportCSV:c}=(0,eM.useCSVExport)(t,t=>t,{headers:i}),{exportCSV:d}=(0,eM.useCSVExport)(t,t=>t,{headers:a}),{exportCSV:f}=(0,eM.useCSVExport)(t,t=>t,{headers:o}),[p,m]=(0,h.useState)(!1);return{exportAssortments:(0,h.useCallback)(async()=>{m(!0);let n=await e$(t,e);m(!1);let s=(t=>{let e={};for(let n in t.assortments)for(let r of(e[n]={},t.assortments[n]))e[n][r.locale]=r;return e})(n),i=[],a=[],o=[],u=[];for(let e of t)i.push(eB(e,r,s)),a.push(...eD(e._id,n?.filters?.[e?._id])),u.push(...eK(e._id,n?.products?.[e?._id])),o.push(...eY(e._id,n?.children?.[e?._id]));l("assortments_export",i),c("assortment_filters_export",a),d("assortment_product_export",u),f("assortment_children_export",o)},[t,e,l,r]),isLoading:p||u}})(l,c),{formatMessage:p}=(0,r.useIntl)();return u?null:(0,n.jsx)(eS.default,{onClick:d,disabled:f||!l.length,variant:"secondary",text:p(f?{id:"exporting",defaultMessage:"Exporting..."}:{id:"export",defaultMessage:"Export"})})};var ez=t.i(14853),eU=t.i(43409);let eG=t=>{let e={};return Object.entries(t).forEach(([t,n])=>{if(!t.startsWith("texts."))return;let[,r,s]=t.split(".");e[r]||={},e[r][s]=n||""}),e},eW=({assortmentCSV:t,assortmentChildrenCSV:e,assortmentFiltersCSV:n,assortmentProductsCSV:r},s)=>{let i=[];for(let e of t){let t=eG(e);t&&Object.values(t).some(t=>t.title)||i.push(s.formatMessage({id:"assortment_import_localized_texts_missing",defaultMessage:"Title is required"}))}for(let t of e)t.assortmentId||i.push(s.formatMessage({id:"assortment_children_CSV_import_assortment_id_missing",defaultMessage:"Child csv record missing assortmentId"})),t.childAssortmentId||i.push(s.formatMessage({id:"assortment_children_CSV_import_child_id_missing",defaultMessage:"Child csv record missing childAssortmentId"}));for(let t of n)t.assortmentId||i.push(s.formatMessage({id:"assortment_filter_CSV_import_assortment_id_missing",defaultMessage:"Assortment filter csv record missing assortmentId"})),t.filterId||i.push(s.formatMessage({id:"assortment_filter_CSV_import_filter_id_missing",defaultMessage:"Assortment filter csv record missing filterId"}));for(let t of r)t.assortmentId||i.push(s.formatMessage({id:"assortment_product_CSV_import_assortment_id_missing",defaultMessage:"Product csv record missing assortmentId"})),t.productId||i.push(s.formatMessage({id:"assortment_product_CSV_import_product_id_missing",defaultMessage:"Product csv record missing productId"}));return i};var eH=t.i(36766),eJ=t.i(3239);let eZ={assortmentCSV:eV,assortmentChildrenCSV:eL,assortmentFiltersCSV:eT,assortmentProductsCSV:eP},e0=({onImport:t})=>{let e=(0,h.useRef)({}),{languageDialectList:s}=(0,ea.default)(),i=s?.map(t=>t.isoCode)||[],[a,o]=(0,h.useState)({}),[l,u]=(0,h.useState)({assortmentCSV:[],assortmentProductsCSV:[],assortmentChildrenCSV:[],assortmentFiltersCSV:[]}),[c,d]=(0,h.useState)(!1),{formatMessage:f}=(0,r.useIntl)(),p=[{key:"assortmentCSV",label:f({id:"assortment_csv_file",defaultMessage:"Assortments CSV"})},{key:"assortmentProductsCSV",label:f({id:"assortment_products_csv_file",defaultMessage:"Assortment products CSV (Optional)"}),optional:!0},{key:"assortmentChildrenCSV",label:f({id:"assortment_children_csv_file",defaultMessage:"Assortment children CSV (Optional)"}),optional:!0},{key:"assortmentFiltersCSV",label:f({id:"assortment_filters_csv_file",defaultMessage:"Assortment filters CSV (Optional)"}),optional:!0}],m=async t=>{let e=await t.text();return eH.default.parse(e,{header:!0,skipEmptyLines:!0}).data},_=async(t,e)=>{if(!e)return;let n=await m(e);((t,e)=>{if(!e.length)return!1;let n=Object.keys(e[0]),r=eZ[t].filter(t=>!n.includes(t));return r.length?(o(e=>({...e,[t]:f({id:"csv_missing_fields",defaultMessage:"Missing required columns: {fields}"},{fields:r.join(", ")})})),!1):(o(e=>({...e,[t]:void 0})),!0)})(t,n)?u(e=>({...e,[t]:n})):u(e=>({...e,[t]:[]}))},g=async(t,e)=>{let n=t.target.files?.[0];await _(e,n),t.target.value=""},v=(0,h.useCallback)(async()=>{d(!0);try{await t(l)}catch(t){console.error("Error importing assortments:",t)}finally{d(!1)}},[l,t]),y=l.assortmentCSV.length>0,x=Object.values(a).some(Boolean);return(0,n.jsxs)("div",{className:"max-w-md mx-auto p-6 bg-gray-50 border border-gray-200 rounded-lg flex flex-col gap-4",children:[(0,n.jsx)("h3",{className:"text-center text-lg font-semibold",children:f({id:"assortments_import_title",defaultMessage:"Import Assortments"})}),(0,n.jsx)("p",{className:"text-center text-sm text-gray-600",children:f({id:"assortment_import_description",defaultMessage:"Select your assortments CSV and optional related CSV files, then click Import."})}),p.map(({key:t,label:r,optional:s})=>(0,n.jsx)(h.default.Fragment,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("input",{ref:n=>{e.current[t]=n??null},type:"file",accept:".csv",onChange:e=>g(e,t),className:"hidden"}),(0,n.jsxs)("div",{className:"flex justify-between items-center gap-2",children:[(0,n.jsx)(eS.default,{text:l[t].length?f({id:`${t}_file_selected`,defaultMessage:`${r} Selected`}):f({id:`select_${t}`,defaultMessage:`Select ${r}`}),onClick:()=>e.current[t]?.click(),variant:"secondary",className:"flex-1",disabled:c||!y&&s}),(0,n.jsx)("button",{type:"button",className:"text-xs text-blue-600 hover:underline",title:"Download a CSV template with required columns",onClick:()=>((t,e,n=[])=>{let r=((t,e=[])=>"assortmentCSV"===t?eO(e):"assortmentChildrenCSV"===t?eX():"assortmentFiltersCSV"===t?eR():"assortmentProductsCSV"===t?eF():[])(t,n).join(",");(0,eJ.downloadCSV)(r,e)})(t,`${t}_template.csv`,i),children:f({id:"download_csv_template",defaultMessage:"Download template"})})]}),a[t]&&(0,n.jsxs)("p",{className:"text-red-600 text-xs flex items-center gap-1",children:["⚠ ",a[t]]})]},t)},t)),(0,n.jsx)(eS.default,{text:c?f({id:"importing",defaultMessage:"Importing..."}):f({id:"import",defaultMessage:"Import"}),onClick:v,disabled:c||!y||x,variant:"primary",className:"w-full"}),y&&!x&&(0,n.jsx)("p",{className:"text-center text-xs text-gray-500",children:f({id:"ready_to_import_assortments",defaultMessage:"Ready to import {assortments} assortments{products}{children}{filters}."},{assortments:l.assortmentCSV.length,products:l.assortmentProductsCSV.length?` with ${l.assortmentProductsCSV.length} products`:"",children:l.assortmentChildrenCSV.length?` with ${l.assortmentChildrenCSV.length} children`:"",filters:l.assortmentFiltersCSV.length?` with ${l.assortmentFiltersCSV.length} filters`:""})})]})};var e1=t.i(29252);let e2=()=>{let{formatMessage:t}=(0,r.useIntl)(),{hasRole:e}=(0,d.default)(),{setModal:i}=(0,ep.default)(),{prepareAssortmentImport:a}={prepareAssortmentImport:async({assortmentCSV:t,assortmentProductsCSV:e,assortmentChildrenCSV:n,assortmentFiltersCSV:r})=>t.map(t=>{let s,i,a,o,l=(e||[])?.filter(e=>e.assortmentId===t._id),u=(n||[])?.filter(e=>e.assortmentId===t._id),c=(r||[])?.filter(e=>e.assortmentId===t._id);return l.length&&(a=l.map(({productId:t,tags:e,sortKey:n,_id:r})=>({productId:t,tags:e?e.split(";"):[],sortKey:n?Number(n):void 0,_id:r}))),u.length&&(s=u.map(({childAssortmentId:t,tags:e,sortKey:n,_id:r})=>({assortmentId:t,tags:e?e.split(";"):[],sortKey:n?Number(n):void 0,_id:r}))),c.length&&(i=c.map(({filterId:t,tags:e,sortKey:n,_id:r})=>({filterId:t,tags:e?e.split(";"):[],sortKey:n?Number(n):void 0,_id:r}))),(({children:t,products:e,filters:n,...r})=>({entity:"assortment",operation:"CREATE",payload:{_id:r._id,specification:{...r},products:e,filters:n,children:t}}))({...(o=eG(t),{_id:t._id||void 0,sequence:"string"==typeof t.sequence?parseInt(t.sequence||"0",10):t.sequence||0,isActive:"true"===t.isActive,isRoot:"true"===t.isRoot,tags:t.tags?t.tags.split(";"):[],content:o}),filters:i,products:a,children:s})})},{isImporting:o,importItems:l}=(0,ez.useCSVImport)({validate:eW,process:a});return e(s.IRoleAction.ManageAssortments)?(0,n.jsx)(eS.default,{onClick:()=>{i((0,n.jsx)(e0,{onImport:async t=>{let e=await l(t);i(null),(0,e1.toast)((0,n.jsx)(eU.default,{result:e,entityName:"Assortments"}))}}))},disabled:o,variant:"secondary",text:t(o?{id:"importing",defaultMessage:"Importing..."}:{id:"import",defaultMessage:"Import"})}):null},e3=({options:t,queryString:e,onSearchChange:r,defaultSearchValue:s,availableTagOptions:i})=>{let{graph:a,...o}=t;return(0,n.jsx)(ew.default,{onSearchChange:r,defaultSearchValue:s,showTagFilter:!0,availableTagOptions:i,children:(0,n.jsx)(eC.default,{onlyFull:!0,children:"true"===a?(0,n.jsx)(eo,{options:o}):(0,n.jsx)(ex,{options:o,queryString:e,sortable:!0})})})};t.s(["default",0,()=>{let{formatMessage:t}=(0,r.useIntl)(),{shopInfo:e}=(0,ea.default)(),f=(0,i.useRouter)(),{hasRole:h}=(0,d.default)(),{query:p,push:m}=f,_=parseInt(p?.limit,10)||c.DefaultLimit,g=parseInt(p?.skip,10)||0,v=p?.includeInactive==="true"||!p?.includeInactive,y=p?.includeLeaves==="true",x=p?.tags?.split(",")||void 0,w=p?.viewGraph||!1,b=p?.slug||"",A=p?.sort||"",{queryString:C,assortmentSlug:j,...S}=p,{assortmentsCount:M}=(0,eb.default)({includeInactive:v,includeLeaves:y,queryString:C,tags:x});if(j)return(0,n.jsx)(eA.default,{assortmentSlug:j});let k=1===M?t({id:"assortments_header",defaultMessage:"1 Assortment"}):t({id:"assortments_count_header",defaultMessage:"{count} Assortments"},{count:(0,n.jsx)(ej.default,{value:M})});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.default,{}),(0,n.jsxs)(l.default,{title:t({id:"assortments_page_title",defaultMessage:"{count, plural, one {# Assortment} other {# Assortments}}"},{count:M}),headerText:k,addPath:h(s.IRoleAction.ManageAssortments)&&"/assortments/new",addButtonText:t({id:"add_assortment",defaultMessage:"Add Assortment"}),children:[(0,n.jsx)(eQ,{includeInactive:v,includeLeaves:y,queryString:C,sort:A,tags:x}),(0,n.jsx)(e2,{})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(o.default,{children:(0,n.jsxs)("div",{className:"lg:flex gap-5",children:[(0,n.jsx)(u.default,{toggleKey:"includeInactive",toggleText:t({id:"include_inactive",defaultMessage:"Include inactive"}),active:v}),(0,n.jsx)(u.default,{toggleKey:"includeLeaves",toggleText:t({id:"include_leaf",defaultMessage:"Include leafs",description:"Assortment children"})}),(0,n.jsx)(u.default,{toggleKey:"viewGraph",toggleText:t({id:"display_as_graph",defaultMessage:"Display as Graph"}),onToggle:()=>{p.viewGraph?m("/assortments"):m({query:{...p,viewGraph:!0}})}})]})}),(0,n.jsx)(e3,{availableTagOptions:(e?.adminUiConfig?.assortmentTags||[]).map(t=>({value:t,label:t})),queryString:C,onSearchChange:t=>{let{skip:e,...n}=S;t?m({query:(0,eu.normalizeQuery)(n,t,"queryString")}):m({query:(0,eu.normalizeQuery)(S)})},defaultSearchValue:C,options:{graph:w,includeInactive:v,includeLeaves:y,slug:b,tags:x,limit:_,offset:g,sort:A}})]})]})}],83454)},13991,(t,e,n)=>{let r="/assortments";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>t.r(83454)]),e.hot&&e.hot.dispose(function(){window.__NEXT_P.push([r])})}]);
|