diff --git a/config/routes.js b/config/routes.js index 3c88d19..84c309d 100644 --- a/config/routes.js +++ b/config/routes.js @@ -310,6 +310,13 @@ export default [ component: './goods/goods-manage', access: 'k10', }, + { + name: '商品属性', + icon: 'smile', + path: '/goods/goodsattribute', + component: './goods/goodsattribute', + access: 'k10', + }, { name: '商品管理新', icon: 'smile', diff --git a/dist/activity/activityInfo/index.html b/dist/activity/activityInfo/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/activity/activityInfo/index.html +++ b/dist/activity/activityInfo/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/activity/activityRecord/index.html b/dist/activity/activityRecord/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/activity/activityRecord/index.html +++ b/dist/activity/activityRecord/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/activity/activityStart/index.html b/dist/activity/activityStart/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/activity/activityStart/index.html +++ b/dist/activity/activityStart/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/activity/index.html b/dist/activity/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/activity/index.html +++ b/dist/activity/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/activity/rechargeactivity/index.html b/dist/activity/rechargeactivity/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/activity/rechargeactivity/index.html +++ b/dist/activity/rechargeactivity/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/applet/index.html b/dist/applet/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/applet/index.html +++ b/dist/applet/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/applet/material/index.html b/dist/applet/material/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/applet/material/index.html +++ b/dist/applet/material/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/applet/pageManage/index.html b/dist/applet/pageManage/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/applet/pageManage/index.html +++ b/dist/applet/pageManage/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/asset-manifest.json b/dist/asset-manifest.json index 898c39e..16b69a7 100644 --- a/dist/asset-manifest.json +++ b/dist/asset-manifest.json @@ -1,6 +1,6 @@ { "/umi.css": "/umi.ed4fa1d0.css", - "/umi.js": "/umi.6f9c9542.js", + "/umi.js": "/umi.5476cea8.js", "/t__plugin-layout__Layout.css": "/t__plugin-layout__Layout.e1129705.chunk.css", "/t__plugin-layout__Layout.js": "/t__plugin-layout__Layout.5d0197aa.async.js", "/p__user__login.css": "/p__user__login.86a3eff2.chunk.css", @@ -68,13 +68,15 @@ "/p__bom__cookingentry.css": "/p__bom__cookingentry.80ddd79c.chunk.css", "/p__bom__cookingentry.js": "/p__bom__cookingentry.4b0a6b2f.async.js", "/p__goods__goods-manage.js": "/p__goods__goods-manage.8c4ea063.async.js", + "/p__goods__goodsattribute.css": "/p__goods__goodsattribute.80ddd79c.chunk.css", + "/p__goods__goodsattribute.js": "/p__goods__goodsattribute.f2d94cef.async.js", "/p__goods__newgoods.js": "/p__goods__newgoods.a8760102.async.js", "/p__goods__goods-taste.css": "/p__goods__goods-taste.b20b12da.chunk.css", "/p__goods__goods-taste.js": "/p__goods__goods-taste.472ffe88.async.js", "/p__goods__goods-type-manage.js": "/p__goods__goods-type-manage.b16288ec.async.js", "/p__goods__goodsParentTypemanage.js": "/p__goods__goodsParentTypemanage.945a22b8.async.js", "/p__goods__unit.js": "/p__goods__unit.59f70a8c.async.js", - "/p__goods__goodsInfo.js": "/p__goods__goodsInfo.8f298827.async.js", + "/p__goods__goodsInfo.js": "/p__goods__goodsInfo.6d4edeb0.async.js", "/p__goods__goodsPractice.js": "/p__goods__goodsPractice.bad5ced0.async.js", "/p__goods__goodsPracticeType.css": "/p__goods__goodsPracticeType.80ddd79c.chunk.css", "/p__goods__goodsPracticeType.js": "/p__goods__goodsPracticeType.85dfb1c5.async.js", @@ -115,7 +117,7 @@ "/p__integral__integralConfigure.js": "/p__integral__integralConfigure.ff7adb78.async.js", "/p__integral__integralDistribute.js": "/p__integral__integralDistribute.14f54272.async.js", "/p__foodMenu__foodMenuInfo.css": "/p__foodMenu__foodMenuInfo.80ddd79c.chunk.css", - "/p__foodMenu__foodMenuInfo.js": "/p__foodMenu__foodMenuInfo.ae79f944.async.js", + "/p__foodMenu__foodMenuInfo.js": "/p__foodMenu__foodMenuInfo.be3bcf11.async.js", "/p__foodMenu__storeFoodMenu.css": "/p__foodMenu__storeFoodMenu.80ddd79c.chunk.css", "/p__foodMenu__storeFoodMenu.js": "/p__foodMenu__storeFoodMenu.36fcd59f.async.js", "/p__member__memberInfo.css": "/p__member__memberInfo.80ddd79c.chunk.css", diff --git a/dist/bom/bomtype/index.html b/dist/bom/bomtype/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/bom/bomtype/index.html +++ b/dist/bom/bomtype/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/bom/cookingentry/index.html b/dist/bom/cookingentry/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/bom/cookingentry/index.html +++ b/dist/bom/cookingentry/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/bom/index.html b/dist/bom/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/bom/index.html +++ b/dist/bom/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/bom/manage/index.html b/dist/bom/manage/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/bom/manage/index.html +++ b/dist/bom/manage/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/card/checkgoods/index.html b/dist/card/checkgoods/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/card/checkgoods/index.html +++ b/dist/card/checkgoods/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/card/enterpriseReservation/index.html b/dist/card/enterpriseReservation/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/card/enterpriseReservation/index.html +++ b/dist/card/enterpriseReservation/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/card/gate/index.html b/dist/card/gate/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/card/gate/index.html +++ b/dist/card/gate/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/card/index.html b/dist/card/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/card/index.html +++ b/dist/card/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/card/machine/index.html b/dist/card/machine/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/card/machine/index.html +++ b/dist/card/machine/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/card/memberAccount/index.html b/dist/card/memberAccount/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/card/memberAccount/index.html +++ b/dist/card/memberAccount/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/card/reservation/index.html b/dist/card/reservation/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/card/reservation/index.html +++ b/dist/card/reservation/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/card/reservationReport/index.html b/dist/card/reservationReport/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/card/reservationReport/index.html +++ b/dist/card/reservationReport/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/card/storedValueCard/index.html b/dist/card/storedValueCard/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/card/storedValueCard/index.html +++ b/dist/card/storedValueCard/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/crm/coupon/coupon-Batch/index.html b/dist/crm/coupon/coupon-Batch/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/crm/coupon/coupon-Batch/index.html +++ b/dist/crm/coupon/coupon-Batch/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/crm/coupon/couponInfo/index.html b/dist/crm/coupon/couponInfo/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/crm/coupon/couponInfo/index.html +++ b/dist/crm/coupon/couponInfo/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/crm/coupon/customerCoupon/index.html b/dist/crm/coupon/customerCoupon/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/crm/coupon/customerCoupon/index.html +++ b/dist/crm/coupon/customerCoupon/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/crm/coupon/goodsCoupon/index.html b/dist/crm/coupon/goodsCoupon/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/crm/coupon/goodsCoupon/index.html +++ b/dist/crm/coupon/goodsCoupon/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/crm/coupon/goodsCouponReport/index.html b/dist/crm/coupon/goodsCouponReport/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/crm/coupon/goodsCouponReport/index.html +++ b/dist/crm/coupon/goodsCouponReport/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/crm/coupon/paperCoupon/index.html b/dist/crm/coupon/paperCoupon/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/crm/coupon/paperCoupon/index.html +++ b/dist/crm/coupon/paperCoupon/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/crm/coupon/paperCouponReport/index.html b/dist/crm/coupon/paperCouponReport/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/crm/coupon/paperCouponReport/index.html +++ b/dist/crm/coupon/paperCouponReport/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/crm/index.html b/dist/crm/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/crm/index.html +++ b/dist/crm/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/device/deviceBom/index.html b/dist/device/deviceBom/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/device/deviceBom/index.html +++ b/dist/device/deviceBom/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/device/deviceInfo/index.html b/dist/device/deviceInfo/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/device/deviceInfo/index.html +++ b/dist/device/deviceInfo/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/device/deviceRecipeStock/index.html b/dist/device/deviceRecipeStock/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/device/deviceRecipeStock/index.html +++ b/dist/device/deviceRecipeStock/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/device/deviceStirFryTime/index.html b/dist/device/deviceStirFryTime/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/device/deviceStirFryTime/index.html +++ b/dist/device/deviceStirFryTime/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/device/deviceStock/index.html b/dist/device/deviceStock/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/device/deviceStock/index.html +++ b/dist/device/deviceStock/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/device/deviceType/index.html b/dist/device/deviceType/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/device/deviceType/index.html +++ b/dist/device/deviceType/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/device/devicemorkmwpush/index.html b/dist/device/devicemorkmwpush/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/device/devicemorkmwpush/index.html +++ b/dist/device/devicemorkmwpush/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/device/index.html b/dist/device/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/device/index.html +++ b/dist/device/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/erp/basic/product/index.html b/dist/erp/basic/product/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/erp/basic/product/index.html +++ b/dist/erp/basic/product/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/erp/basic/productType/index.html b/dist/erp/basic/productType/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/erp/basic/productType/index.html +++ b/dist/erp/basic/productType/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/erp/basic/unit/index.html b/dist/erp/basic/unit/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/erp/basic/unit/index.html +++ b/dist/erp/basic/unit/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/erp/bill/purchaseOrder/index.html b/dist/erp/bill/purchaseOrder/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/erp/bill/purchaseOrder/index.html +++ b/dist/erp/bill/purchaseOrder/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/erp/bill/receivingNote/index.html b/dist/erp/bill/receivingNote/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/erp/bill/receivingNote/index.html +++ b/dist/erp/bill/receivingNote/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/erp/index.html b/dist/erp/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/erp/index.html +++ b/dist/erp/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/erp/stock/index.html b/dist/erp/stock/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/erp/stock/index.html +++ b/dist/erp/stock/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/financereport/finance/index.html b/dist/financereport/finance/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/financereport/finance/index.html +++ b/dist/financereport/finance/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/financereport/index.html b/dist/financereport/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/financereport/index.html +++ b/dist/financereport/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/foodMenu/foodMenuInfo/index.html b/dist/foodMenu/foodMenuInfo/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/foodMenu/foodMenuInfo/index.html +++ b/dist/foodMenu/foodMenuInfo/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/foodMenu/index.html b/dist/foodMenu/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/foodMenu/index.html +++ b/dist/foodMenu/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/foodMenu/storeFoodMenu/index.html b/dist/foodMenu/storeFoodMenu/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/foodMenu/storeFoodMenu/index.html +++ b/dist/foodMenu/storeFoodMenu/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/gateAdmin/index.html b/dist/gateAdmin/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/gateAdmin/index.html +++ b/dist/gateAdmin/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/goods-manage/index.html b/dist/goods/goods-manage/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/goods-manage/index.html +++ b/dist/goods/goods-manage/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/goods-taste/index.html b/dist/goods/goods-taste/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/goods-taste/index.html +++ b/dist/goods/goods-taste/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/goods-type-manage/index.html b/dist/goods/goods-type-manage/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/goods-type-manage/index.html +++ b/dist/goods/goods-type-manage/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/goodsInfo/index.html b/dist/goods/goodsInfo/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/goodsInfo/index.html +++ b/dist/goods/goodsInfo/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/goodsParentTypemanage/index.html b/dist/goods/goodsParentTypemanage/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/goodsParentTypemanage/index.html +++ b/dist/goods/goodsParentTypemanage/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/goodsPractice/index.html b/dist/goods/goodsPractice/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/goodsPractice/index.html +++ b/dist/goods/goodsPractice/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/goodsPracticeInfo/index.html b/dist/goods/goodsPracticeInfo/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/goodsPracticeInfo/index.html +++ b/dist/goods/goodsPracticeInfo/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/goodsPracticeType/index.html b/dist/goods/goodsPracticeType/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/goodsPracticeType/index.html +++ b/dist/goods/goodsPracticeType/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/goodsattribute/index.html b/dist/goods/goodsattribute/index.html new file mode 100644 index 0000000..71f0d7a --- /dev/null +++ b/dist/goods/goodsattribute/index.html @@ -0,0 +1,226 @@ + + + + + + + + + + Ant Design Pro + + + + + + + + +
+ +
+ logo +
+
+ +
+
+
+ + Ant Design +
+
+
+ + + + diff --git a/dist/goods/goodstechnology/index.html b/dist/goods/goodstechnology/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/goodstechnology/index.html +++ b/dist/goods/goodstechnology/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/index.html b/dist/goods/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/index.html +++ b/dist/goods/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/newgoods/index.html b/dist/goods/newgoods/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/newgoods/index.html +++ b/dist/goods/newgoods/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/goods/unit/index.html b/dist/goods/unit/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/goods/unit/index.html +++ b/dist/goods/unit/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/index.html b/dist/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/index.html +++ b/dist/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/integral/index.html b/dist/integral/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/integral/index.html +++ b/dist/integral/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/integral/integralConfigure/index.html b/dist/integral/integralConfigure/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/integral/integralConfigure/index.html +++ b/dist/integral/integralConfigure/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/integral/integralDistribute/index.html b/dist/integral/integralDistribute/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/integral/integralDistribute/index.html +++ b/dist/integral/integralDistribute/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/member/index.html b/dist/member/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/member/index.html +++ b/dist/member/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/member/memberAnalysis/index.html b/dist/member/memberAnalysis/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/member/memberAnalysis/index.html +++ b/dist/member/memberAnalysis/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/member/memberInfo/index.html b/dist/member/memberInfo/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/member/memberInfo/index.html +++ b/dist/member/memberInfo/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/member/membertag/index.html b/dist/member/membertag/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/member/membertag/index.html +++ b/dist/member/membertag/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/DailyReport/index.html b/dist/order/DailyReport/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/DailyReport/index.html +++ b/dist/order/DailyReport/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/cost-of-sales/index.html b/dist/order/cost-of-sales/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/cost-of-sales/index.html +++ b/dist/order/cost-of-sales/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/exOrder/index.html b/dist/order/exOrder/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/exOrder/index.html +++ b/dist/order/exOrder/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/gross-profit-store-sales/index.html b/dist/order/gross-profit-store-sales/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/gross-profit-store-sales/index.html +++ b/dist/order/gross-profit-store-sales/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/index.html b/dist/order/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/index.html +++ b/dist/order/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/order-flow-manage/index.html b/dist/order/order-flow-manage/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/order-flow-manage/index.html +++ b/dist/order/order-flow-manage/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/order-market-report/index.html b/dist/order/order-market-report/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/order-market-report/index.html +++ b/dist/order/order-market-report/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/order-member-statement/index.html b/dist/order/order-member-statement/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/order-member-statement/index.html +++ b/dist/order/order-member-statement/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/order-nopay-detail/index.html b/dist/order/order-nopay-detail/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/order-nopay-detail/index.html +++ b/dist/order/order-nopay-detail/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/order-product-report/index.html b/dist/order/order-product-report/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/order-product-report/index.html +++ b/dist/order/order-product-report/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/order-report/index.html b/dist/order/order-report/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/order-report/index.html +++ b/dist/order/order-report/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/order-report/order-report-detail/index.html b/dist/order/order-report/order-report-detail/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/order-report/order-report-detail/index.html +++ b/dist/order/order-report/order-report-detail/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/order-revenue-statement/index.html b/dist/order/order-revenue-statement/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/order-revenue-statement/index.html +++ b/dist/order/order-revenue-statement/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/order-summary-manage/index.html b/dist/order/order-summary-manage/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/order-summary-manage/index.html +++ b/dist/order/order-summary-manage/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/orderDetail/index.html b/dist/order/orderDetail/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/orderDetail/index.html +++ b/dist/order/orderDetail/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/ordersalescountbyday/index.html b/dist/order/ordersalescountbyday/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/ordersalescountbyday/index.html +++ b/dist/order/ordersalescountbyday/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/refundOrder/index.html b/dist/order/refundOrder/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/refundOrder/index.html +++ b/dist/order/refundOrder/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/sales-gross-profit/index.html b/dist/order/sales-gross-profit/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/sales-gross-profit/index.html +++ b/dist/order/sales-gross-profit/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/order/salesReport/index.html b/dist/order/salesReport/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/order/salesReport/index.html +++ b/dist/order/salesReport/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/p__foodMenu__foodMenuInfo.ae79f944.async.js b/dist/p__foodMenu__foodMenuInfo.ae79f944.async.js deleted file mode 100644 index d5a3c8a..0000000 --- a/dist/p__foodMenu__foodMenuInfo.ae79f944.async.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5523,1322],{72887:function(re,b,a){"use strict";a.r(b),a.d(b,{default:function(){return Ce}});var Q=a(57663),x=a(71577),G=a(2824),t=a(39428),I=a(34792),s=a(48086),o=a(3182),S=a(67294),E=a(78009),V=a(85224),D=a(49101),B=a(16894),W=a(71194),X=a(50146),Ie=a(9715),R=a(55843),ke=a(47673),U=a(4107),xe=a(43358),q=a(34041),te=a(51496),u=a(85893),ae=function(n){var h=q.Z.Option,e=q.Z.OptGroup;return(0,u.jsx)(X.Z,{title:n.values.id?"\u7F16\u8F91":"\u65B0\u5EFA",width:640,visible:n.createModalVisible,bodyStyle:{padding:"32px 40px 1px 48px"},footer:null,onCancel:function(){n.onCancel()},destroyOnClose:!0,children:(0,u.jsxs)(R.Z,{layout:"vertical",preserve:!1,initialValues:n.values,onFinish:n.onFinish,children:[(0,u.jsx)(R.Z.Item,{name:"id",hidden:!0,children:(0,u.jsx)(U.Z,{})}),(0,u.jsx)(R.Z.Item,{label:"\u83DC\u8C31\u7F16\u7801",name:"code",initialValue:(0,te.x0)(20),rules:[{required:!0,max:20}],children:(0,u.jsx)(U.Z,{})}),(0,u.jsx)(R.Z.Item,{label:"\u83DC\u8C31\u540D\u79F0",name:"name",rules:[{required:!0,max:20}],children:(0,u.jsx)(U.Z,{})}),(0,u.jsx)(R.Z.Item,{label:"\u6392\u5E8F",name:"sort",rules:[{required:!0}],children:(0,u.jsx)(U.Z,{type:"number"})}),(0,u.jsxs)(R.Z.Item,{children:[(0,u.jsx)(x.Z,{htmlType:"button",style:{float:"right",left:10},onClick:n.onCancel,children:"\u53D6\u6D88"}),(0,u.jsx)(x.Z,{type:"primary",htmlType:"submit",style:{float:"right"},children:"\u4FDD\u5B58"})]})]})})},ue=ae,_=a(11849),A=a(48971);function se(l){return Y.apply(this,arguments)}function Y(){return Y=(0,o.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/GetFoodMenuInfoPage",{method:"POST",data:n}));case 1:case"end":return e.stop()}},l)})),Y.apply(this,arguments)}function le(l){return K.apply(this,arguments)}function K(){return K=(0,o.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/AddUpdateFoodMenu",{method:"POST",data:n}));case 1:case"end":return e.stop()}},l)})),K.apply(this,arguments)}function oe(l){return N.apply(this,arguments)}function N(){return N=(0,o.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/AddUpdateFoodMenu",{method:"POST",data:n}));case 1:case"end":return e.stop()}},l)})),N.apply(this,arguments)}function ie(l){return J.apply(this,arguments)}function J(){return J=(0,o.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("\u200B/kitchen/api/FoodMenu/DelFoodMenu",{method:"POST",data:n}));case 1:case"end":return e.stop()}},l)})),J.apply(this,arguments)}function de(l){return z.apply(this,arguments)}function z(){return z=(0,o.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/GetGoodsByMenuIdPage",{method:"POST",data:(0,_.Z)({},n)}));case 1:case"end":return e.stop()}},l)})),z.apply(this,arguments)}function ce(l){return L.apply(this,arguments)}function L(){return L=(0,o.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/GetFoodMenuGoodsPage_V2",{method:"POST",data:(0,_.Z)({},n)}));case 1:case"end":return e.stop()}},l)})),L.apply(this,arguments)}function fe(l){return H.apply(this,arguments)}function H(){return H=(0,o.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/EditFoodMenuGoods",{method:"POST",data:n}));case 1:case"end":return e.stop()}},l)})),H.apply(this,arguments)}var Ae=a(49111),he=a(19650),Ge=a(62350),pe=a(24565),ee=a(86582),ve=[{title:"\u5546\u54C1id",dataIndex:"id",tip:"\u89C4\u5219\u540D\u79F0\u662F\u552F\u4E00\u7684 key",hideInSearch:!0,hideInTable:!0},{title:"\u5546\u54C1\u540D\u79F0",dataIndex:"name"}],me=function(n){var h=(0,S.useRef)(),e=(0,S.useState)([]),w=(0,G.Z)(e,2),r=w[0],m=w[1],$=function(){var y=(0,o.Z)((0,t.Z)().mark(function p(){var Z,c,i;return(0,t.Z)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if((Z=n.foodMenu)!==null&&Z!==void 0&&Z.id){v.next=2;break}return v.abrupt("return");case 2:return c={goodsIds:[],foodMenuId:n.foodMenu.id},r.forEach(function(d){c.goodsIds.push({goodsId:d})}),v.next=6,fe(c);case 6:i=v.sent,i.statusCode===200?(s.default.success("\u66F4\u65B0\u83DC\u8C31\u5546\u54C1\u6210\u529F\uFF01"),n.onOk()):s.default.error(JSON.stringify(i.errors)||"\u66F4\u65B0\u83DC\u8C31\u5546\u54C1\u51FA\u9519");case 8:case"end":return v.stop()}},p)}));return function(){return y.apply(this,arguments)}}(),T=function(){var y=(0,o.Z)((0,t.Z)().mark(function p(){var Z,c,i,f;return(0,t.Z)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(!n.foodMenu.id){d.next=5;break}return d.next=3,ce({current:1,pageSize:999,FoodMenuId:n.foodMenu.id});case 3:Z=d.sent,Z.statusCode===200&&(f=[],(c=Z.data)===null||c===void 0||(i=c.data)===null||i===void 0||i.forEach(function(P){f.push(P.goodid)}),m(f));case 5:case"end":return d.stop()}},p)}));return function(){return y.apply(this,arguments)}}();return(0,S.useEffect)(function(){T()},[]),(0,u.jsxs)(X.Z,{width:800,footer:null,bodyStyle:{padding:"32px 40px 1px 48px",height:"912px"},title:n.foodMenu.name,visible:n.open,onOk:$,onCancel:n.onCancel,children:[(0,u.jsx)(B.ZP,{columns:ve,actionRef:h,pagination:{pageSize:10},rowSelection:{type:"checkbox",selectedRowKeys:r,onSelect:function(p,Z){var c=(0,ee.Z)(r),i=c.findIndex(function(f){return f===p.id});Z?i<0&&c.push(p.id):i>-1&&c.splice(i,1),m(c)},onSelectAll:function(p,Z,c){var i=(0,ee.Z)(r);p?Z.forEach(function(f){if(!!f){var v=i.findIndex(function(d){return d===f.id});v<0&&i.push(f.id)}}):c.forEach(function(f){var v=i.findIndex(function(d){return d===f.id});v>-1&&i.splice(v,1)}),m(i)}},tableAlertOptionRender:function(){return(0,u.jsx)(he.Z,{size:16,children:(0,u.jsx)(pe.Z,{title:"\u6B64\u64CD\u4F5C\u4F1A\u53D6\u6D88\u6240\u6709\u9009\u4E2D\u9879\uFF0C\u786E\u5B9A\u8981\u53D6\u6D88\u5417\uFF1F",onConfirm:function(){return m([])},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,u.jsx)("a",{children:"\u53D6\u6D88\u9009\u62E9"})})})},request:(0,o.Z)((0,t.Z)().mark(function y(){var p,Z,c,i,f=arguments;return(0,t.Z)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return p=f.length>0&&f[0]!==void 0?f[0]:{},Z=f.length>1?f[1]:void 0,c=f.length>2?f[2]:void 0,p.FoodMenuId=n.foodMenu.id,d.next=6,de(p);case 6:if(i=d.sent,i.statusCode!==200){d.next=11;break}return d.abrupt("return",{data:i.data.data,success:!0,total:i.data.total});case 11:return d.abrupt("return",[]);case 12:case"end":return d.stop()}},y)})),rowKey:"id",headerTitle:"\u5546\u54C1\u5217\u8868"}),(0,u.jsx)(x.Z,{htmlType:"button",style:{float:"right",left:10},onClick:n.onCancel,children:"\u53D6\u6D88"}),(0,u.jsx)(x.Z,{type:"primary",htmlType:"submit",style:{float:"right"},onClick:function(){return $()},children:"\u4FDD\u5B58"})]})},Ze=me,O="message",ge=function(){var l=(0,o.Z)((0,t.Z)().mark(function n(h){var e;return(0,t.Z)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=!1,r.prev=1,s.default.loading("\u6B63\u5728\u6DFB\u52A0",O),r.next=5,oe(JSON.stringify(h)).then(function(m){s.default.destroy(O),m.data?(s.default.success("\u6DFB\u52A0\u6210\u529F"),e=!0):(s.default.error(m.errors||"\u6DFB\u52A0\u5931\u8D25"),e=!1)});case 5:r.next=11;break;case 7:r.prev=7,r.t0=r.catch(1),s.default.error("\u6DFB\u52A0\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),e=!1;case 11:return r.abrupt("return",e);case 12:case"end":return r.stop()}},n,null,[[1,7]])}));return function(h){return l.apply(this,arguments)}}(),ye=function(){var l=(0,o.Z)((0,t.Z)().mark(function n(h){var e;return(0,t.Z)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=!1,r.prev=1,s.default.loading("\u6B63\u5728\u4FEE\u6539",O),s.default.destroy(O),r.next=6,le(JSON.stringify(h)).then(function(m){s.default.destroy(O),m.data?(s.default.success("\u4FEE\u6539\u6210\u529F"),e=!0):(s.default.error(m.errors||"\u4FEE\u6539\u5931\u8D25"),e=!1)});case 6:r.next=12;break;case 8:r.prev=8,r.t0=r.catch(1),s.default.error("\u4FEE\u6539\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),e=!1;case 12:return r.abrupt("return",e);case 13:case"end":return r.stop()}},n,null,[[1,8]])}));return function(h){return l.apply(this,arguments)}}(),Me=function(){var l=(0,o.Z)((0,t.Z)().mark(function n(h){var e;return(0,t.Z)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,s.default.loading("\u6B63\u5728\u5220\u9664"),e=[],h.forEach(function(m){e.push(m.id)}),r.next=6,ie(e).then(function(m){return s.default.destroy(),m.data?(s.default.success("\u5220\u9664\u6210\u529F"),!0):(s.default.error("\u83DC\u8C31\u5DF2\u5173\u8054\u5230\u5546\u54C1\uFF0C\u5220\u9664\u5931\u8D25"),!1)});case 6:r.next=12;break;case 8:return r.prev=8,r.t0=r.catch(0),s.default.error("\u5220\u9664\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),r.abrupt("return",!1);case 12:case"end":return r.stop()}},n,null,[[0,8]])}));return function(h){return l.apply(this,arguments)}}(),Fe=function(){var n=(0,S.useState)(!1),h=(0,G.Z)(n,2),e=h[0],w=h[1],r=(0,S.useRef)(),m=(0,S.useState)(),$=(0,G.Z)(m,2),T=$[0],y=$[1],p=(0,S.useState)([]),Z=(0,G.Z)(p,2),c=Z[0],i=Z[1],f=(0,S.useState)(!1),v=(0,G.Z)(f,2),d=v[0],P=v[1],Se=[{title:"\u4E3B\u952E",dataIndex:"id",hideInSearch:!0,hideInTable:!0,tip:"\u89C4\u5219\u540D\u79F0\u662F\u552F\u4E00\u7684 key"},{title:"\u83DC\u8C31\u540D\u79F0",dataIndex:"name"},{title:"\u83DC\u8C31\u7F16\u7801",dataIndex:"code"},{title:"\u6392\u5E8F",dataIndex:"sort"},{title:"\u64CD\u4F5C",dataIndex:"option",valueType:"option",render:function(C,M){return[(0,u.jsx)("a",{onClick:function(){w(!0),y(M)},children:"\u7F16\u8F91"},"config"),(0,u.jsx)("a",{onClick:function(){y(M),P(!0)},children:"\u5173\u8054\u52A0\u76DF\u5546\u5546\u54C1"},"food")]}}],we=function(){P(!1)};return(0,u.jsxs)(E.ZP,{children:[(0,u.jsx)(B.ZP,{headerTitle:"\u83DC\u8C31\u57FA\u7840\u4FE1\u606F",actionRef:r,rowKey:"id",search:{labelWidth:120},toolBarRender:function(){return[(0,u.jsxs)(x.Z,{type:"primary",onClick:function(){w(!0)},children:[(0,u.jsx)(D.Z,{})," \u65B0\u5EFA"]},"primary")]},request:function(){var j=(0,o.Z)((0,t.Z)().mark(function C(M){var k,F;return(0,t.Z)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return k=[],F=0,g.next=4,se(M).then(function(ne){k=ne.data.data,F=ne.data.total});case 4:return g.abrupt("return",{data:k,success:!0,total:F});case 5:case"end":return g.stop()}},C)}));return function(C){return j.apply(this,arguments)}}(),columns:Se,rowSelection:{onChange:function(C,M){i(M)}}}),(c==null?void 0:c.length)>0&&(0,u.jsx)(V.Z,{extra:(0,u.jsxs)("div",{children:["\u5DF2\u9009\u62E9"," ",(0,u.jsx)("a",{style:{fontWeight:600},children:c.length})," ","\u9879 \xA0\xA0"]}),children:(0,u.jsx)(x.Z,{onClick:(0,o.Z)((0,t.Z)().mark(function j(){var C,M;return(0,t.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,Me(c);case 2:i([]),(C=r.current)===null||C===void 0||(M=C.reloadAndRest)===null||M===void 0||M.call(C);case 4:case"end":return F.stop()}},j)})),children:"\u5220\u9664"})}),(0,u.jsx)(ue,{onFinish:function(){var j=(0,o.Z)((0,t.Z)().mark(function C(M){var k,F;return(0,t.Z)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(F=!1,!M.id){g.next=7;break}return g.next=4,ye(M);case 4:F=g.sent,g.next=10;break;case 7:return g.next=9,ge(M);case 9:F=g.sent;case 10:console.log("success",F),F&&(w(!1),y(void 0)),(k=r.current)===null||k===void 0||k.reload();case 13:case"end":return g.stop()}},C)}));return function(C){return j.apply(this,arguments)}}(),onCancel:function(){w(!1),y(void 0)},createModalVisible:e,values:T||{}}),T&&d&&(0,u.jsx)(Ze,{foodMenu:T,open:d,onOk:we,onCancel:function(){return P(!1)}})]})},Ce=Fe},51496:function(re,b,a){"use strict";a.d(b,{x0:function(){return t}});let Q=I=>crypto.getRandomValues(new Uint8Array(I)),x=(I,s,o)=>{let S=(2<{let D="";for(;;){let B=o(E),W=E;for(;W--;)if(D+=I[B[W]&S]||"",D.length===V)return D}}},G=(I,s=21)=>x(I,s,Q),t=(I=21)=>crypto.getRandomValues(new Uint8Array(I)).reduce((s,o)=>(o&=63,o<36?s+=o.toString(36):o<62?s+=(o-26).toString(36).toUpperCase():o>62?s+="-":s+="_",s),"")}}]); diff --git a/dist/p__foodMenu__foodMenuInfo.be3bcf11.async.js b/dist/p__foodMenu__foodMenuInfo.be3bcf11.async.js new file mode 100644 index 0000000..fdf3e71 --- /dev/null +++ b/dist/p__foodMenu__foodMenuInfo.be3bcf11.async.js @@ -0,0 +1 @@ +(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5523,1322],{72887:function(re,b,a){"use strict";a.r(b),a.d(b,{default:function(){return Ce}});var Q=a(57663),x=a(71577),G=a(2824),t=a(39428),I=a(34792),s=a(48086),i=a(3182),S=a(67294),E=a(78009),V=a(85224),D=a(49101),B=a(16894),W=a(71194),X=a(50146),Ie=a(9715),R=a(55843),ke=a(47673),U=a(4107),xe=a(43358),q=a(34041),te=a(51496),u=a(85893),ae=function(n){var h=q.Z.Option,e=q.Z.OptGroup;return(0,u.jsx)(X.Z,{title:n.values.id?"\u7F16\u8F91":"\u65B0\u5EFA",width:640,visible:n.createModalVisible,bodyStyle:{padding:"32px 40px 1px 48px"},footer:null,onCancel:function(){n.onCancel()},destroyOnClose:!0,children:(0,u.jsxs)(R.Z,{layout:"vertical",preserve:!1,initialValues:n.values,onFinish:n.onFinish,children:[(0,u.jsx)(R.Z.Item,{name:"id",hidden:!0,children:(0,u.jsx)(U.Z,{})}),(0,u.jsx)(R.Z.Item,{label:"\u83DC\u8C31\u7F16\u7801",name:"code",initialValue:(0,te.x0)(20),rules:[{required:!0,max:20}],children:(0,u.jsx)(U.Z,{})}),(0,u.jsx)(R.Z.Item,{label:"\u83DC\u8C31\u540D\u79F0",name:"name",rules:[{required:!0,max:20}],children:(0,u.jsx)(U.Z,{})}),(0,u.jsx)(R.Z.Item,{label:"\u6392\u5E8F",name:"sort",rules:[{required:!0}],children:(0,u.jsx)(U.Z,{type:"number"})}),(0,u.jsxs)(R.Z.Item,{children:[(0,u.jsx)(x.Z,{htmlType:"button",style:{float:"right",left:10},onClick:n.onCancel,children:"\u53D6\u6D88"}),(0,u.jsx)(x.Z,{type:"primary",htmlType:"submit",style:{float:"right"},children:"\u4FDD\u5B58"})]})]})})},ue=ae,_=a(11849),A=a(48971);function se(l){return Y.apply(this,arguments)}function Y(){return Y=(0,i.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/GetFoodMenuInfoPage",{method:"POST",data:n}));case 1:case"end":return e.stop()}},l)})),Y.apply(this,arguments)}function le(l){return K.apply(this,arguments)}function K(){return K=(0,i.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/AddUpdateFoodMenu",{method:"POST",data:n}));case 1:case"end":return e.stop()}},l)})),K.apply(this,arguments)}function oe(l){return N.apply(this,arguments)}function N(){return N=(0,i.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/AddUpdateFoodMenu",{method:"POST",data:n}));case 1:case"end":return e.stop()}},l)})),N.apply(this,arguments)}function ie(l){return J.apply(this,arguments)}function J(){return J=(0,i.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("\u200B/kitchen/api/FoodMenu/DelFoodMenu",{method:"POST",data:n}));case 1:case"end":return e.stop()}},l)})),J.apply(this,arguments)}function de(l){return z.apply(this,arguments)}function z(){return z=(0,i.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/GetGoodsByMenuIdPage",{method:"POST",data:(0,_.Z)({},n)}));case 1:case"end":return e.stop()}},l)})),z.apply(this,arguments)}function ce(l){return L.apply(this,arguments)}function L(){return L=(0,i.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/GetFoodMenuGoodsPage_V2",{method:"POST",data:(0,_.Z)({},n)}));case 1:case"end":return e.stop()}},l)})),L.apply(this,arguments)}function fe(l){return H.apply(this,arguments)}function H(){return H=(0,i.Z)((0,t.Z)().mark(function l(n){return(0,t.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,A.WY)("/kitchen/api/FoodMenu/EditFoodMenuGoods",{method:"POST",data:n}));case 1:case"end":return e.stop()}},l)})),H.apply(this,arguments)}var Ae=a(49111),he=a(19650),Ge=a(62350),pe=a(24565),ee=a(86582),ve=[{title:"\u5546\u54C1id",dataIndex:"id",tip:"\u89C4\u5219\u540D\u79F0\u662F\u552F\u4E00\u7684 key",hideInSearch:!0,hideInTable:!0},{title:"\u5546\u54C1\u540D\u79F0",dataIndex:"name"}],me=function(n){var h=(0,S.useRef)(),e=(0,S.useState)([]),w=(0,G.Z)(e,2),r=w[0],m=w[1],$=function(){var y=(0,i.Z)((0,t.Z)().mark(function p(){var Z,c,o;return(0,t.Z)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if((Z=n.foodMenu)!==null&&Z!==void 0&&Z.id){v.next=2;break}return v.abrupt("return");case 2:return c={goodsIds:[],foodMenuId:n.foodMenu.id},r.forEach(function(d){c.goodsIds.push({goodsId:d})}),v.next=6,fe(c);case 6:o=v.sent,o.statusCode===200?(s.default.success("\u66F4\u65B0\u83DC\u8C31\u5546\u54C1\u6210\u529F\uFF01"),n.onOk()):s.default.error(JSON.stringify(o.errors)||"\u66F4\u65B0\u83DC\u8C31\u5546\u54C1\u51FA\u9519");case 8:case"end":return v.stop()}},p)}));return function(){return y.apply(this,arguments)}}(),T=function(){var y=(0,i.Z)((0,t.Z)().mark(function p(){var Z,c,o,f;return(0,t.Z)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(!n.foodMenu.id){d.next=5;break}return d.next=3,ce({current:1,pageSize:999,FoodMenuId:n.foodMenu.id});case 3:Z=d.sent,Z.statusCode===200&&(f=[],(c=Z.data)===null||c===void 0||(o=c.data)===null||o===void 0||o.forEach(function(P){f.push(P.goodid)}),m(f));case 5:case"end":return d.stop()}},p)}));return function(){return y.apply(this,arguments)}}();return(0,S.useEffect)(function(){T()},[]),(0,u.jsxs)(X.Z,{width:800,footer:null,bodyStyle:{padding:"32px 40px 1px 48px",height:"912px"},title:n.foodMenu.name,visible:n.open,onOk:$,onCancel:n.onCancel,children:[(0,u.jsx)(B.ZP,{columns:ve,actionRef:h,pagination:{pageSize:10},rowSelection:{type:"checkbox",selectedRowKeys:r,onSelect:function(p,Z){var c=(0,ee.Z)(r),o=c.findIndex(function(f){return f===p.id});Z?o<0&&c.push(p.id):o>-1&&c.splice(o,1),m(c)},onSelectAll:function(p,Z,c){var o=(0,ee.Z)(r);p?(console.log("11111111"),console.log(o),Z.forEach(function(f){if(!!f){var v=o.findIndex(function(d){return d===f.id});v<0&&o.push(f.id)}})):c.forEach(function(f){var v=o.findIndex(function(d){return d===f.id});v>-1&&o.splice(v,1)}),m(o)}},tableAlertOptionRender:function(){return(0,u.jsx)(he.Z,{size:16,children:(0,u.jsx)(pe.Z,{title:"\u6B64\u64CD\u4F5C\u4F1A\u53D6\u6D88\u6240\u6709\u9009\u4E2D\u9879\uFF0C\u786E\u5B9A\u8981\u53D6\u6D88\u5417\uFF1F",onConfirm:function(){return m([])},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,u.jsx)("a",{children:"\u53D6\u6D88\u9009\u62E9"})})})},request:(0,i.Z)((0,t.Z)().mark(function y(){var p,Z,c,o,f=arguments;return(0,t.Z)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return p=f.length>0&&f[0]!==void 0?f[0]:{},Z=f.length>1?f[1]:void 0,c=f.length>2?f[2]:void 0,p.FoodMenuId=n.foodMenu.id,d.next=6,de(p);case 6:if(o=d.sent,o.statusCode!==200){d.next=11;break}return d.abrupt("return",{data:o.data.data,success:!0,total:o.data.total});case 11:return d.abrupt("return",[]);case 12:case"end":return d.stop()}},y)})),rowKey:"id",headerTitle:"\u5546\u54C1\u5217\u8868"}),(0,u.jsx)(x.Z,{htmlType:"button",style:{float:"right",left:10},onClick:n.onCancel,children:"\u53D6\u6D88"}),(0,u.jsx)(x.Z,{type:"primary",htmlType:"submit",style:{float:"right"},onClick:function(){return $()},children:"\u4FDD\u5B58"})]})},Ze=me,O="message",ge=function(){var l=(0,i.Z)((0,t.Z)().mark(function n(h){var e;return(0,t.Z)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=!1,r.prev=1,s.default.loading("\u6B63\u5728\u6DFB\u52A0",O),r.next=5,oe(JSON.stringify(h)).then(function(m){s.default.destroy(O),m.data?(s.default.success("\u6DFB\u52A0\u6210\u529F"),e=!0):(s.default.error(m.errors||"\u6DFB\u52A0\u5931\u8D25"),e=!1)});case 5:r.next=11;break;case 7:r.prev=7,r.t0=r.catch(1),s.default.error("\u6DFB\u52A0\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),e=!1;case 11:return r.abrupt("return",e);case 12:case"end":return r.stop()}},n,null,[[1,7]])}));return function(h){return l.apply(this,arguments)}}(),ye=function(){var l=(0,i.Z)((0,t.Z)().mark(function n(h){var e;return(0,t.Z)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=!1,r.prev=1,s.default.loading("\u6B63\u5728\u4FEE\u6539",O),s.default.destroy(O),r.next=6,le(JSON.stringify(h)).then(function(m){s.default.destroy(O),m.data?(s.default.success("\u4FEE\u6539\u6210\u529F"),e=!0):(s.default.error(m.errors||"\u4FEE\u6539\u5931\u8D25"),e=!1)});case 6:r.next=12;break;case 8:r.prev=8,r.t0=r.catch(1),s.default.error("\u4FEE\u6539\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),e=!1;case 12:return r.abrupt("return",e);case 13:case"end":return r.stop()}},n,null,[[1,8]])}));return function(h){return l.apply(this,arguments)}}(),Me=function(){var l=(0,i.Z)((0,t.Z)().mark(function n(h){var e;return(0,t.Z)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,s.default.loading("\u6B63\u5728\u5220\u9664"),e=[],h.forEach(function(m){e.push(m.id)}),r.next=6,ie(e).then(function(m){return s.default.destroy(),m.data?(s.default.success("\u5220\u9664\u6210\u529F"),!0):(s.default.error("\u83DC\u8C31\u5DF2\u5173\u8054\u5230\u5546\u54C1\uFF0C\u5220\u9664\u5931\u8D25"),!1)});case 6:r.next=12;break;case 8:return r.prev=8,r.t0=r.catch(0),s.default.error("\u5220\u9664\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),r.abrupt("return",!1);case 12:case"end":return r.stop()}},n,null,[[0,8]])}));return function(h){return l.apply(this,arguments)}}(),Fe=function(){var n=(0,S.useState)(!1),h=(0,G.Z)(n,2),e=h[0],w=h[1],r=(0,S.useRef)(),m=(0,S.useState)(),$=(0,G.Z)(m,2),T=$[0],y=$[1],p=(0,S.useState)([]),Z=(0,G.Z)(p,2),c=Z[0],o=Z[1],f=(0,S.useState)(!1),v=(0,G.Z)(f,2),d=v[0],P=v[1],Se=[{title:"\u4E3B\u952E",dataIndex:"id",hideInSearch:!0,hideInTable:!0,tip:"\u89C4\u5219\u540D\u79F0\u662F\u552F\u4E00\u7684 key"},{title:"\u83DC\u8C31\u540D\u79F0",dataIndex:"name"},{title:"\u83DC\u8C31\u7F16\u7801",dataIndex:"code"},{title:"\u6392\u5E8F",dataIndex:"sort"},{title:"\u64CD\u4F5C",dataIndex:"option",valueType:"option",render:function(C,M){return[(0,u.jsx)("a",{onClick:function(){w(!0),y(M)},children:"\u7F16\u8F91"},"config"),(0,u.jsx)("a",{onClick:function(){y(M),P(!0)},children:"\u5173\u8054\u52A0\u76DF\u5546\u5546\u54C1"},"food")]}}],we=function(){P(!1)};return(0,u.jsxs)(E.ZP,{children:[(0,u.jsx)(B.ZP,{headerTitle:"\u83DC\u8C31\u57FA\u7840\u4FE1\u606F",actionRef:r,rowKey:"id",search:{labelWidth:120},toolBarRender:function(){return[(0,u.jsxs)(x.Z,{type:"primary",onClick:function(){w(!0)},children:[(0,u.jsx)(D.Z,{})," \u65B0\u5EFA"]},"primary")]},request:function(){var j=(0,i.Z)((0,t.Z)().mark(function C(M){var k,F;return(0,t.Z)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return k=[],F=0,g.next=4,se(M).then(function(ne){k=ne.data.data,F=ne.data.total});case 4:return g.abrupt("return",{data:k,success:!0,total:F});case 5:case"end":return g.stop()}},C)}));return function(C){return j.apply(this,arguments)}}(),columns:Se,rowSelection:{onChange:function(C,M){o(M)}}}),(c==null?void 0:c.length)>0&&(0,u.jsx)(V.Z,{extra:(0,u.jsxs)("div",{children:["\u5DF2\u9009\u62E9"," ",(0,u.jsx)("a",{style:{fontWeight:600},children:c.length})," ","\u9879 \xA0\xA0"]}),children:(0,u.jsx)(x.Z,{onClick:(0,i.Z)((0,t.Z)().mark(function j(){var C,M;return(0,t.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,Me(c);case 2:o([]),(C=r.current)===null||C===void 0||(M=C.reloadAndRest)===null||M===void 0||M.call(C);case 4:case"end":return F.stop()}},j)})),children:"\u5220\u9664"})}),(0,u.jsx)(ue,{onFinish:function(){var j=(0,i.Z)((0,t.Z)().mark(function C(M){var k,F;return(0,t.Z)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(F=!1,!M.id){g.next=7;break}return g.next=4,ye(M);case 4:F=g.sent,g.next=10;break;case 7:return g.next=9,ge(M);case 9:F=g.sent;case 10:console.log("success",F),F&&(w(!1),y(void 0)),(k=r.current)===null||k===void 0||k.reload();case 13:case"end":return g.stop()}},C)}));return function(C){return j.apply(this,arguments)}}(),onCancel:function(){w(!1),y(void 0)},createModalVisible:e,values:T||{}}),T&&d&&(0,u.jsx)(Ze,{foodMenu:T,open:d,onOk:we,onCancel:function(){return P(!1)}})]})},Ce=Fe},51496:function(re,b,a){"use strict";a.d(b,{x0:function(){return t}});let Q=I=>crypto.getRandomValues(new Uint8Array(I)),x=(I,s,i)=>{let S=(2<{let D="";for(;;){let B=i(E),W=E;for(;W--;)if(D+=I[B[W]&S]||"",D.length===V)return D}}},G=(I,s=21)=>x(I,s,Q),t=(I=21)=>crypto.getRandomValues(new Uint8Array(I)).reduce((s,i)=>(i&=63,i<36?s+=i.toString(36):i<62?s+=(i-26).toString(36).toUpperCase():i>62?s+="-":s+="_",s),"")}}]); diff --git a/dist/p__goods__goodsInfo.6d4edeb0.async.js b/dist/p__goods__goodsInfo.6d4edeb0.async.js new file mode 100644 index 0000000..697ddee --- /dev/null +++ b/dist/p__goods__goodsInfo.6d4edeb0.async.js @@ -0,0 +1 @@ +(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[131],{20851:function(Ve,J,r){"use strict";r.r(J),r.d(J,{default:function(){return ct}});var B=r(58024),E=r(91894),R=r(77576),se=r(12028),K=r(11849),Ie=r(43185),N=r(93009),ze=r(57663),P=r(71577),Ne=r(77883),M=r(85986),Te=r(47673),G=r(4107),s=r(39428),Q=r(34792),x=r(48086),Z=r(3182),we=r(9715),l=r(55843),g=r(2824),X=r(43358),m=r(34041),_=r(35556),d=r(75899),v=r(84391),T=r(49101),n=r(78009),y=r(67294),Kt=r(94184),Ge=r(16894),Mt=r(71194),De=r(50146),A=r(48971);function qe(i){return oe.apply(this,arguments)}function oe(){return oe=(0,Z.Z)((0,s.Z)().mark(function i(t){return(0,s.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,A.WY)("/kitchen/api/goodes/GetGoodsBomPage",{method:"Post",data:t}));case 1:case"end":return a.stop()}},i)})),oe.apply(this,arguments)}function Ee(i){return ie.apply(this,arguments)}function ie(){return ie=(0,Z.Z)((0,s.Z)().mark(function i(t){return(0,s.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,A.WY)("/kitchen/api/bom/getpage",{method:"Post",data:t}));case 1:case"end":return a.stop()}},i)})),ie.apply(this,arguments)}function He(i){return le.apply(this,arguments)}function le(){return le=(0,Z.Z)((0,s.Z)().mark(function i(t){return(0,s.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,A.WY)("/kitchen/api/systemconfig/GetCosRequestSignURL",{method:"POST",data:t}));case 1:case"end":return a.stop()}},i)})),le.apply(this,arguments)}function Je(i){return de.apply(this,arguments)}function de(){return de=(0,Z.Z)((0,s.Z)().mark(function i(t){return(0,s.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,A.WY)("/kitchen/api/GoodsBom/AddBom",{method:"Post",data:t}));case 1:case"end":return a.stop()}},i)})),de.apply(this,arguments)}function Qe(i){return ce.apply(this,arguments)}function ce(){return ce=(0,Z.Z)((0,s.Z)().mark(function i(t){return(0,s.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,A.WY)("/kitchen/api/goodes/DelGoodsBom?Id=".concat(t),{method:"DELETE"}));case 1:case"end":return a.stop()}},i)})),ce.apply(this,arguments)}function Xe(i){return he.apply(this,arguments)}function he(){return he=(0,Z.Z)((0,s.Z)().mark(function i(t){return(0,s.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,A.WY)("/kitchen/api/goods-unit/type",{method:"Post",data:t}));case 1:case"end":return a.stop()}},i)})),he.apply(this,arguments)}function _e(i){return me.apply(this,arguments)}function me(){return me=(0,Z.Z)((0,s.Z)().mark(function i(t){return(0,s.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,A.WY)("/kitchen/api/goodsattribute/getbygoodsidattribute?id="+t,{method:"Get"}));case 1:case"end":return a.stop()}},i)})),me.apply(this,arguments)}function et(i){return pe.apply(this,arguments)}function pe(){return pe=(0,Z.Z)((0,s.Z)().mark(function i(t){return(0,s.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,A.WY)("/kitchen/api/product/product-list",{method:"Post",data:t}));case 1:case"end":return a.stop()}},i)})),pe.apply(this,arguments)}function tt(i){return fe.apply(this,arguments)}function fe(){return fe=(0,Z.Z)((0,s.Z)().mark(function i(t){return(0,s.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,A.WY)("/kitchen/api/bom/getbomtypepage",{method:"Post",data:t}));case 1:case"end":return a.stop()}},i)})),fe.apply(this,arguments)}function at(i){return ge.apply(this,arguments)}function ge(){return ge=(0,Z.Z)((0,s.Z)().mark(function i(t){return(0,s.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,A.WY)("/kitchen/api/goodsattribute/addgoodsbomattribute",{method:"Post",data:t}));case 1:case"end":return a.stop()}},i)})),ge.apply(this,arguments)}var e=r(85893),nt=function(t){var C=m.Z.Option,a=m.Z.OptGroup,ee=(0,y.useState)([]),L=(0,g.Z)(ee,2),k=L[0],$=L[1];return(0,e.jsx)(De.Z,{title:"\u5173\u8054\u5546\u54C1\u914D\u65B9",width:640,visible:t.createModalVisible,bodyStyle:{padding:"32px 40px 1px 48px"},footer:null,onCancel:function(){t.onCancel()},destroyOnClose:!0,children:(0,e.jsxs)(l.Z,{labelCol:{span:4},layout:"horizontal",preserve:!1,onFinish:t.onFinish,children:[(0,e.jsx)(l.Z.Item,{name:"BomType",label:"\u72B6\u6001",rules:[{required:!0,message:"\u914D\u65B9\u7C7B\u578B"}],children:(0,e.jsx)(m.Z,{placeholder:"\u8BF7\u9009\u914D\u65B9\u7C7B\u578B",onChange:function(U){Ee({current:1,pageSize:1e7,IsMain:U}).then(function(W){var Y=W.data.data;$(Y),console.log(Y)})},children:(0,e.jsxs)(a,{children:[(0,e.jsx)(m.Z.Option,{value:"1",children:"\u4E3B\u6599\u914D\u65B9"}),(0,e.jsx)(m.Z.Option,{value:"0",children:"\u8F85\u6599\u914D\u65B9"})]})})}),(0,e.jsx)(l.Z.Item,{name:"bomId",label:"\u914D\u65B9\u4FE1\u606F",rules:[{required:!0,message:"\u914D\u65B9\u4FE1\u606F"}],children:(0,e.jsx)(m.Z,{showSearch:!0,optionFilterProp:"children",placeholder:"\u8BF7\u9009\u914D\u65B9\u4FE1\u606F",children:k.map(function(O,U){return(0,e.jsx)(C,{index:U,value:O.id,children:O.name},O.id)})})}),(0,e.jsxs)(l.Z.Item,{children:[(0,e.jsx)(P.Z,{htmlType:"button",style:{float:"right",left:10},onClick:t.onCancel,children:"\u53D6\u6D88"}),(0,e.jsx)(P.Z,{type:"primary",htmlType:"submit",style:{float:"right"},children:"\u4FDD\u5B58"})]})]})})},rt=nt,Lt=r(88983),Pe=r(47933),ut=r(86582),st=function(t){var C,a=m.Z.Option,ee=m.Z.OptGroup,L=(0,y.useState)([]),k=(0,g.Z)(L,2),$=k[0],O=k[1],U=(0,y.useState)([]),W=(0,g.Z)(U,2),Y=W[0],ye=W[1],Ze=(0,y.useState)([]),q=(0,g.Z)(Ze,2),V=q[0],be=q[1],je=(0,y.useRef)(),te=l.Z.useForm(),Oe=(0,g.Z)(te,1),ae=Oe[0],xe=[{title:"\u4E3B\u952E",dataIndex:"id",tip:"key",hideInSearch:!0,hideInTable:!0,render:function(S,j){return(0,e.jsx)("a",{onClick:function(){},children:S})}},{title:"\u7269\u6599\u540D\u79F0",dataIndex:"name",ellipsis:!0,hideInSearch:!0,formItemProps:{rules:[{required:!0,message:"\u540D\u79F0\u4E3A\u5FC5\u586B\u9879"}]}},{title:"\u7269\u6599\u7F16\u7801",dataIndex:"code",hideInSearch:!0,ellipsis:!0},{title:"\u7269\u6599\u89C4\u683C",hideInSearch:!0,dataIndex:"specs"},{title:"\u7269\u6599\u5C5E\u6027",dataIndex:"aittribute",hideInSearch:!0,valueEnum:{0:{text:"\u6210\u54C1"},1:{text:"\u534A\u6210\u54C1"},2:{text:"\u6613\u8017\u54C1"}}}],ne=function(){ae.validateFields().then(function(S){var j=!0,F=S;V.length==0?(j=!1,x.default.error("\u8BF7\u9009\u62E9\u5546\u54C1\u5C5E\u6027")):F.shuxing=V,$.length==0?(j=!1,x.default.error("\u8BF7\u9009\u62E9\u7269\u6599")):F.mate=$.map(function(D){return D.id}),j&&(ae.resetFields(),t.onFinish(F))}).catch(function(S){x.default.error("\u8BF7\u586B\u5199\u5FC5\u586B\u4FE1\u606F")})},Ce=function(S){for(var j=S.target,F=j.name,D=j.value,z=(0,ut.Z)(V),I=0;I*{white-space:unset}.ant-page-header-content{padding-top:12px}.ant-page-header-footer{margin-top:16px}.ant-page-header-footer .ant-tabs>.ant-tabs-nav{margin:0}.ant-page-header-footer .ant-tabs>.ant-tabs-nav:before{border:none}.ant-page-header-footer .ant-tabs .ant-tabs-tab{padding-top:8px;padding-bottom:8px;font-size:16px}.ant-page-header-compact .ant-page-header-heading{flex-wrap:wrap}.ant-page-header-rtl{direction:rtl}.ant-page-header-rtl .ant-page-header-back{float:right;margin-right:0;margin-left:16px}.ant-page-header-rtl .ant-page-header-heading-title{margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading .ant-avatar{margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading-sub-title{float:right;margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading-tags{float:right}.ant-page-header-rtl .ant-page-header-heading-extra{float:left}.ant-page-header-rtl .ant-page-header-heading-extra>*{margin-right:12px;margin-left:0}.ant-page-header-rtl .ant-page-header-heading-extra>:first-child{margin-right:0}.ant-page-header-rtl .ant-page-header-footer .ant-tabs-bar .ant-tabs-nav{float:right}.ant-breadcrumb{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum","tnum";color:rgba(0,0,0,.45);font-size:14px}.ant-breadcrumb .anticon{font-size:14px}.ant-breadcrumb ol{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.ant-breadcrumb a{color:rgba(0,0,0,.45);transition:color .3s}.ant-breadcrumb a:hover{color:rgba(0,0,0,.85)}.ant-breadcrumb li:last-child{color:rgba(0,0,0,.85)}.ant-breadcrumb li:last-child a{color:rgba(0,0,0,.85)}li:last-child>.ant-breadcrumb-separator{display:none}.ant-breadcrumb-separator{margin:0 8px;color:rgba(0,0,0,.45)}.ant-breadcrumb-link>.anticon+a,.ant-breadcrumb-link>.anticon+span{margin-left:4px}.ant-breadcrumb-overlay-link>.anticon{margin-left:4px}.ant-breadcrumb-rtl{direction:rtl}.ant-breadcrumb-rtl:before{display:table;content:""}.ant-breadcrumb-rtl:after{display:table;clear:both;content:""}.ant-breadcrumb-rtl>span{float:right}.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+a,.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+span{margin-right:4px;margin-left:0}.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link>.anticon{margin-right:4px;margin-left:0}.ant-pro-page-container-children-content{margin:24px 24px 0;padding:inherit}.ant-pro-page-container{background-color:inherit}.ant-pro-page-container-warp{background-color:#fff}.ant-pro-page-container-warp .ant-tabs-nav{margin:0}.ant-pro-page-container-ghost .ant-pro-page-container-warp{background-color:transparent}.ant-pro-page-container-ghost .ant-pro-page-container-children-content{margin-top:0}.ant-pro-page-container-main .ant-pro-page-container-detail{display:flex}.ant-pro-page-container-main .ant-pro-page-container-row{display:flex;width:100%}.ant-pro-page-container-main .ant-pro-page-container-title-content{margin-bottom:16px}.ant-pro-page-container-main .ant-pro-page-container-content,.ant-pro-page-container-main .ant-pro-page-container-title{flex:auto;width:100%}.ant-pro-page-container-main .ant-pro-page-container-extraContent,.ant-pro-page-container-main .ant-pro-page-container-main{flex:0 1 auto}.ant-pro-page-container-main .ant-pro-page-container-main{width:100%}.ant-pro-page-container-main .ant-pro-page-container-title{margin-bottom:16px}.ant-pro-page-container-main .ant-pro-page-container-logo{margin-bottom:16px}.ant-pro-page-container-main .ant-pro-page-container-extraContent{min-width:242px;margin-left:88px;text-align:right}@media screen and (max-width:1200px){.ant-pro-page-container-main .ant-pro-page-container-extraContent{margin-left:44px}}@media screen and (max-width:992px){.ant-pro-page-container-main .ant-pro-page-container-extraContent{margin-left:20px}}@media screen and (max-width:768px){.ant-pro-page-container-main .ant-pro-page-container-row{display:block}.ant-pro-page-container-main .ant-pro-page-container-action,.ant-pro-page-container-main .ant-pro-page-container-extraContent{margin-left:0;text-align:left}}@media screen and (max-width:576px){.ant-pro-page-container-detail{display:block}.ant-pro-page-container-extraContent{margin-left:0}}.ant-pro-grid-content{width:100%}.ant-pro-grid-content.wide{max-width:1200px;margin:0 auto}.ant-pro-footer-bar{position:fixed;right:0;bottom:0;z-index:99;display:flex;align-items:center;width:100%;padding:0 24px;line-height:44px;background:#fff;border-top:1px solid #f0f0f0;box-shadow:0 -6px 16px -8px rgba(0,0,0,.08),0 -9px 28px 0 rgba(0,0,0,.05),0 -12px 48px 16px rgba(0,0,0,.03);transition:width .3s cubic-bezier(.645,.045,.355,1)}.ant-pro-footer-bar-left{flex:1 1}.ant-pro-footer-bar-right>*{margin-right:8px}.ant-pro-footer-bar-right>:last-child{margin:0} \ No newline at end of file diff --git a/dist/p__goods__goodsattribute.f2d94cef.async.js b/dist/p__goods__goodsattribute.f2d94cef.async.js new file mode 100644 index 0000000..e47b215 --- /dev/null +++ b/dist/p__goods__goodsattribute.f2d94cef.async.js @@ -0,0 +1 @@ +(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[3148,1322],{14996:function(it,se,r){"use strict";r.r(se),r.d(se,{default:function(){return rt}});var ot=r(57663),J=r(71577),dt=r(62350),Se=r(24565),W=r(2824),u=r(39428),st=r(34792),E=r(48086),R=r(3182),ce=r(49101),b=r(67294),je=r(78009),Te=r(85224),Fe=r(16894),ct=r(71194),ve=r(50146),vt=r(77883),$e=r(85986),ft=r(43358),fe=r(34041),ht=r(9715),Y=r(55843),mt=r(47673),he=r(4107),t=r(85893),Ve=function(a){return(0,t.jsx)(ve.Z,{title:a.values.id?"\u7F16\u8F91":"\u65B0\u5EFA",width:640,visible:a.createModalVisible,bodyStyle:{padding:"32px 40px 1px 48px"},footer:null,onCancel:function(){a.onCancel()},destroyOnClose:!0,children:(0,t.jsxs)(Y.Z,{labelCol:{span:4},layout:"horizontal",initialValues:a.values,onFinish:a.onFinish,children:[(0,t.jsx)(Y.Z.Item,{name:"id",hidden:!0,children:(0,t.jsx)(he.Z,{})}),(0,t.jsx)(Y.Z.Item,{name:"attributeName",label:"\u5C5E\u6027\u540D\u79F0",rules:[{required:!0,max:50}],children:(0,t.jsx)(he.Z,{})}),(0,t.jsx)(Y.Z.Item,{name:"goodsTypeId",label:"\u5546\u54C1\u5206\u7C7B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u72B6\u6001"}],children:(0,t.jsx)(fe.Z,{children:a.goodstypeData==null?"":a.goodstypeData.map(function(l,n){return(0,t.jsx)(fe.Z.Option,{index:n,value:l.value,children:l.label},l.value)})})}),(0,t.jsx)(Y.Z.Item,{name:"sort",label:"\u6392\u5E8F",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6392\u5E8F\u53F7"}],children:(0,t.jsx)($e.Z,{})}),(0,t.jsxs)(Y.Z.Item,{children:[(0,t.jsx)(J.Z,{htmlType:"button",style:{float:"right",left:10},onClick:a.onCancel,children:"\u53D6\u6D88"}),(0,t.jsx)(J.Z,{type:"primary",htmlType:"submit",style:{float:"right"},children:"\u4FDD\u5B58"})]})]})})},De=Ve,Ee=r(96156),Ie=r(28481),me=r(81253),ge=r(55507),Pe=r(92137),C=r(28991),Be=r(952),Ae=r(97462),Ke=r(78775),Me=r(26369),Ze=r(22270),Oe=r(48171),Ne=r(60249),ke=r(21770),We=r(88306),ye=r(8880),Ge=r(29595),Ye=["onTableChange","maxLength","formItemProps","recordCreatorProps","rowKey","controlled","defaultValue","onChange","editableFormRef"],Le=["record","position","creatorButtonText","newRecordType","parentKey","style"],pe=b.createContext(void 0);function be(e){var a=e.children,l=e.record,n=e.position,K=e.newRecordType,o=e.parentKey,I=(0,b.useContext)(pe);return b.cloneElement(a,(0,C.Z)((0,C.Z)({},a.props),{},{onClick:function(){var M=(0,Pe.Z)((0,ge.Z)().mark(function N(G){var T,V,y,x;return(0,ge.Z)().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,(T=(V=a.props).onClick)===null||T===void 0?void 0:T.call(V,G);case 2:if(x=m.sent,x!==!1){m.next=5;break}return m.abrupt("return");case 5:I==null||(y=I.current)===null||y===void 0||y.addEditRecord(l,{position:n,newRecordType:K,parentKey:o});case 6:case"end":return m.stop()}},N)}));function P(N){return M.apply(this,arguments)}return P}()}))}function Ce(e){var a,l,n=(0,Ke.YB)(),K=e.onTableChange,o=e.maxLength,I=e.formItemProps,M=e.recordCreatorProps,P=e.rowKey,N=e.controlled,G=e.defaultValue,T=e.onChange,V=e.editableFormRef,y=(0,me.Z)(e,Ye),x=(0,Me.Z)(e.value),B=(0,b.useRef)(),m=(0,b.useRef)();(0,b.useImperativeHandle)(y.actionRef,function(){return B.current});var D=(0,ke.Z)(function(){return e.value||G||[]},{value:e.value,onChange:e.onChange}),z=(0,Ie.Z)(D,2),p=z[0],Q=z[1],A=b.useMemo(function(){return typeof P=="function"?P:function(F,d){return F[P]||d}},[P]),X=function(d){if(typeof d=="number"&&!e.name){if(d>=p.length)return d;var c=p&&p[d];return A==null?void 0:A(c,d)}if((typeof d=="string"||d>=p.length)&&e.name){var h=p.findIndex(function(Z,j){var $;return(A==null||($=A(Z,j))===null||$===void 0?void 0:$.toString())===(d==null?void 0:d.toString())});return h}return d};(0,b.useImperativeHandle)(V,function(){var F=function(h){var Z,j;if(h==null)throw new Error("rowIndex is required");var $=X(h),k=[e.name,(Z=$==null?void 0:$.toString())!==null&&Z!==void 0?Z:""].flat(1).filter(Boolean);return(j=m.current)===null||j===void 0?void 0:j.getFieldValue(k)},d=function(){var h,Z=[e.name].flat(1).filter(Boolean);if(Array.isArray(Z)&&Z.length===0){var j,$=(j=m.current)===null||j===void 0?void 0:j.getFieldsValue();return Array.isArray($)?$:Object.keys($).map(function(k){return $[k]})}return(h=m.current)===null||h===void 0?void 0:h.getFieldValue(Z)};return(0,C.Z)((0,C.Z)({},m.current),{},{getRowData:F,getRowsData:d,setRowData:function(h,Z){var j,$,k,oe;if(h==null)throw new Error("rowIndex is required");var de=X(h),at=[e.name,(j=de==null?void 0:de.toString())!==null&&j!==void 0?j:""].flat(1).filter(Boolean),ut=(($=m.current)===null||$===void 0||(k=$.getFieldsValue)===null||k===void 0?void 0:k.call($))||{},lt=(0,ye.Z)(ut,at,(0,C.Z)((0,C.Z)({},F(h)),Z||{}));return(oe=m.current)===null||oe===void 0?void 0:oe.setFieldsValue(lt)}})}),(0,b.useEffect)(function(){!e.controlled||p.forEach(function(F,d){var c;(c=m.current)===null||c===void 0||c.setFieldsValue((0,Ee.Z)({},A(F,d),F))},{})},[p,e.controlled]),(0,b.useEffect)(function(){if(e.name){var F;m.current=e==null||(F=e.editable)===null||F===void 0?void 0:F.form}},[(a=e.editable)===null||a===void 0?void 0:a.form,e.name]);var O=M||{},H=O.record,U=O.position,le=O.creatorButtonText,ie=O.newRecordType,S=O.parentKey,v=O.style,s=(0,me.Z)(O,Le),f=U==="top",g=(0,b.useMemo)(function(){return o&&o<=(p==null?void 0:p.length)?!1:M!==!1&&(0,t.jsx)(be,{record:(0,Ze.h)(H,p==null?void 0:p.length,p)||{},position:U,parentKey:(0,Ze.h)(S,p==null?void 0:p.length,p),newRecordType:ie,children:(0,t.jsx)(J.Z,(0,C.Z)((0,C.Z)({type:"dashed",style:(0,C.Z)({display:"block",margin:"10px 0",width:"100%"},v),icon:(0,t.jsx)(ce.Z,{})},s),{},{children:le||n.getMessage("editableTable.action.add","\u6DFB\u52A0\u4E00\u884C\u6570\u636E")}))})},[M,o,p==null?void 0:p.length]),i=(0,b.useMemo)(function(){return g?f?{components:{header:{wrapper:function(d){var c,h=d.className,Z=d.children;return(0,t.jsxs)("thead",{className:h,children:[Z,(0,t.jsxs)("tr",{style:{position:"relative"},children:[(0,t.jsx)("td",{colSpan:0,style:{visibility:"hidden"},children:g}),(0,t.jsx)("td",{style:{position:"absolute",left:0,width:"100%"},colSpan:(c=y.columns)===null||c===void 0?void 0:c.length,children:g})]})]})}}}}:{tableViewRender:function(d,c){var h,Z;return(0,t.jsxs)(t.Fragment,{children:[(h=(Z=e.tableViewRender)===null||Z===void 0?void 0:Z.call(e,d,c))!==null&&h!==void 0?h:c,g]})}}:{}},[f,g]),w=(0,C.Z)({},e.editable),q=(0,Oe.J)(function(F,d){var c,h,Z;if((c=e.editable)===null||c===void 0||(h=c.onValuesChange)===null||h===void 0||h.call(c,F,d),(Z=e.onValuesChange)===null||Z===void 0||Z.call(e,d,F),e.controlled){var j;e==null||(j=e.onChange)===null||j===void 0||j.call(e,d)}});return((e==null?void 0:e.onValuesChange)||((l=e.editable)===null||l===void 0?void 0:l.onValuesChange)||e.controlled&&(e==null?void 0:e.onChange))&&(w.onValuesChange=q),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(pe.Provider,{value:B,children:(0,t.jsx)(Ge.Z,(0,C.Z)((0,C.Z)((0,C.Z)({search:!1,options:!1,pagination:!1,rowKey:P,revalidateOnFocus:!1},y),i),{},{tableLayout:"fixed",actionRef:B,onChange:K,editable:(0,C.Z)((0,C.Z)({},w),{},{formProps:(0,C.Z)({formRef:m},w.formProps)}),dataSource:p,onDataSourceChange:function(d){if(Q(d),e.name&&U==="top"){var c,h=(0,ye.Z)({},[e.name].flat(1).filter(Boolean),d);(c=m.current)===null||c===void 0||c.setFieldsValue(h)}}}))}),e.name?(0,t.jsx)(Ae.Z,{name:[e.name],children:function(d){var c,h,Z=(0,We.Z)(d,[e.name].flat(1)),j=Z==null?void 0:Z.find(function($,k){return!(0,Ne.Z)($,x==null?void 0:x[k])});return j&&x&&(e==null||(c=e.editable)===null||c===void 0||(h=c.onValuesChange)===null||h===void 0||h.call(c,j,Z)),null}}):null]})}function we(e){var a=Be.ZP.useFormInstance();return e.name?(0,t.jsx)(Y.Z.Item,(0,C.Z)((0,C.Z)({style:{maxWidth:"100%"}},e==null?void 0:e.formItemProps),{},{name:e.name,children:(0,t.jsx)(Ce,(0,C.Z)((0,C.Z)({},e),{},{editable:(0,C.Z)((0,C.Z)({},e.editable),{},{form:a})}))})):(0,t.jsx)(Ce,(0,C.Z)({},e))}we.RecordCreator=be;var He=we,L=r(48971);function Je(e){return _.apply(this,arguments)}function _(){return _=(0,R.Z)((0,u.Z)().mark(function e(a){return(0,u.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,L.WY)("/kitchen/api/goodsattribute/getgoodsattributepage",{method:"POST",data:a}));case 1:case"end":return n.stop()}},e)})),_.apply(this,arguments)}function Re(e){return ee.apply(this,arguments)}function ee(){return ee=(0,R.Z)((0,u.Z)().mark(function e(a){return(0,u.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,L.WY)("/kitchen/api/goodsattribute/addgoodsattribute",{method:"POST",data:a}));case 1:case"end":return n.stop()}},e)})),ee.apply(this,arguments)}function xe(e){return te.apply(this,arguments)}function te(){return te=(0,R.Z)((0,u.Z)().mark(function e(a){return(0,u.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,L.WY)("/kitchen/api/goodsattribute/deletegoodsattribute",{method:"POST",data:a}));case 1:case"end":return n.stop()}},e)})),te.apply(this,arguments)}function Ue(e){return ne.apply(this,arguments)}function ne(){return ne=(0,R.Z)((0,u.Z)().mark(function e(a){return(0,u.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,L.WY)("/kitchen/api/goodsattribute/getgoodsattributevalue?goodsAttributeId="+a,{method:"GET"}));case 1:case"end":return n.stop()}},e)})),ne.apply(this,arguments)}function ze(e){return re.apply(this,arguments)}function re(){return re=(0,R.Z)((0,u.Z)().mark(function e(a){return(0,u.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,L.WY)("/kitchen/api/goodsattribute/addgoodsattributevalue",{method:"POST",data:a}));case 1:case"end":return n.stop()}},e)})),re.apply(this,arguments)}function Qe(e){return ae.apply(this,arguments)}function ae(){return ae=(0,R.Z)((0,u.Z)().mark(function e(a){return(0,u.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,L.WY)("/kitchen/api/goodsattribute/deletegoodsattributevalue?id="+a,{method:"GET"}));case 1:case"end":return n.stop()}},e)})),ae.apply(this,arguments)}function Xe(){return ue.apply(this,arguments)}function ue(){return ue=(0,R.Z)((0,u.Z)().mark(function e(){return(0,u.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,L.WY)("/kitchen/api/goodstype/list",{method:"POST"}));case 1:case"end":return l.stop()}},e)})),ue.apply(this,arguments)}var qe=function(a){var l=(0,b.useState)([]),n=(0,W.Z)(l,2),K=n[0],o=n[1],I=(0,b.useState)([]),M=(0,W.Z)(I,2),P=M[0],N=M[1],G=[{title:"\u540D\u79F0",dataIndex:"attributeValue",formItemProps:function(V,y){var x=y.rowIndex;return{rules:x>1?[{required:!0,message:"\u6B64\u9879\u4E3A\u5FC5\u586B\u9879"}]:[]}},width:"25%"},{title:"\u6392\u5E8F",dataIndex:"sort",valueType:"digit",width:"15%"},{title:"\u64CD\u4F5C",valueType:"option",width:"15%",render:function(){return null}}];return(0,b.useEffect)((0,R.Z)((0,u.Z)().mark(function T(){return(0,u.Z)().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:case"end":return y.stop()}},T)})),[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(ve.Z,{title:"\u6DFB\u52A0\u5C5E\u6027\u503C",width:840,visible:a.createattrModalVisible,bodyStyle:{padding:"32px 40px 1px 48px"},footer:null,onCancel:function(){a.onCancel()},destroyOnClose:!0,children:(0,t.jsx)(He,{headerTitle:"\u5C5E\u6027\u5217\u8868",columns:G,rowKey:"id",request:(0,R.Z)((0,u.Z)().mark(function T(){var V,y;return(0,u.Z)().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return V=[],y=0,B.next=4,Ue(a.attributeid).then(function(m){V=m.data,y=m.data.length,N(m.data),o(m.data.map(function(D){return D.id}))});case 4:return B.abrupt("return",{data:V,success:!0,total:y});case 5:case"end":return B.stop()}},T)})),value:P,onChange:N,recordCreatorProps:{newRecordType:"dataSource",record:function(){return{id:Date.now()}}},toolBarRender:function(){return[(0,t.jsx)(J.Z,{type:"primary",onClick:function(){a.onFinish(P),console.log(P)},children:"\u4FDD\u5B58\u6570\u636E"},"save")]},editable:{type:"multiple",editableKeys:K,actionRender:function(V,y,x){return[x.delete,x.Button]},onValuesChange:function(V,y){N(y)},onDelete:function(){var T=(0,R.Z)((0,u.Z)().mark(function y(x,B){return(0,u.Z)().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return console.log(x),console.log(B),D.next=4,Qe(x).then(function(z){});case 4:case"end":return D.stop()}},y)}));function V(y,x){return T.apply(this,arguments)}return V}(),onChange:o}})})})},_e=qe,et=function(){var e=(0,R.Z)((0,u.Z)().mark(function a(l){var n;return(0,u.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return n=E.default.loading("\u6B63\u5728\u6DFB\u52A0"),l.createBy="admin",o.prev=2,o.next=5,Re(JSON.stringify(l)).then(function(I){I.succeeded?E.default.success("\u6DFB\u52A0\u6210\u529F"):E.default.error(I.errors)});case 5:return n(),o.abrupt("return",!0);case 9:return o.prev=9,o.t0=o.catch(2),n(),E.default.error("\u6DFB\u52A0\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),o.abrupt("return",!1);case 14:case"end":return o.stop()}},a,null,[[2,9]])}));return function(l){return e.apply(this,arguments)}}(),tt=function(){var e=(0,R.Z)((0,u.Z)().mark(function a(l){var n;return(0,u.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return n=E.default.loading("\u6B63\u5728\u4FEE\u6539"),o.prev=1,o.next=4,Re({id:l.id,AttributeName:l.attributeName,goodsTypeId:l.goodsTypeId,Sort:l.sort}).then(function(I){I.succeeded?E.default.success("\u4FEE\u6539\u6210\u529F"):E.default.error(I.errors)});case 4:return n(),o.abrupt("return",!0);case 8:return o.prev=8,o.t0=o.catch(1),n(),E.default.error("\u4FEE\u6539\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),o.abrupt("return",!1);case 13:case"end":return o.stop()}},a,null,[[1,8]])}));return function(l){return e.apply(this,arguments)}}(),nt=function(){var a=(0,b.useState)(!1),l=(0,W.Z)(a,2),n=l[0],K=l[1],o=(0,b.useState)(!1),I=(0,W.Z)(o,2),M=I[0],P=I[1],N=(0,b.useState)([]),G=(0,W.Z)(N,2),T=G[0],V=G[1],y=(0,b.useState)(""),x=(0,W.Z)(y,2),B=x[0],m=x[1],D=(0,b.useRef)(),z=(0,b.useState)(),p=(0,W.Z)(z,2),Q=p[0],A=p[1],X=(0,b.useState)([]),O=(0,W.Z)(X,2),H=O[0],U=O[1];(0,b.useEffect)(function(){function S(){Xe().then(function(v){var s=v.data,f=s.map(function(g){return{value:g.id,label:g.name}});V(f)})}S()},[]);var le=function(){var S=(0,R.Z)((0,u.Z)().mark(function v(s){var f;return(0,u.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(f=E.default.loading("\u6B63\u5728\u5220\u9664"),s){i.next=3;break}return i.abrupt("return",!0);case 3:return i.next=5,xe(s.map(function(w){return w.id})).then(function(w){w.succeeded?(E.default.success("\u5220\u9664\u6210\u529F"),D.current.reload()):E.default.error(w.errors)});case 5:return f(),i.abrupt("return",!0);case 7:case"end":return i.stop()}},v)}));return function(s){return S.apply(this,arguments)}}(),ie=[{title:"\u4E3B\u952E",dataIndex:"id",hideInSearch:!0,hideInTable:!0,tip:"\u89C4\u5219\u540D\u79F0\u662F\u552F\u4E00\u7684 key",render:function(v,s){return(0,t.jsx)("a",{onClick:function(){A(s),setShowDetail(!0)},children:v})}},{title:"\u5C5E\u6027\u540D\u79F0",dataIndex:"attributeName",valueType:"textarea",ellipsis:!0},{title:"\u5546\u54C1\u5C0F\u7C7B",dataIndex:"goodsTypeName"},{title:"\u6392\u5E8F",dataIndex:"sort",hideInSearch:!0},{title:"\u64CD\u4F5C",dataIndex:"option",valueType:"option",render:function(v,s){return[(0,t.jsx)("a",{onClick:(0,R.Z)((0,u.Z)().mark(function f(){return(0,u.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:m(s.id),P(!0),A(s);case 3:case"end":return i.stop()}},f)})),children:"\u6DFB\u52A0\u5C5E\u6027\u503C"},"state"),(0,t.jsx)("a",{onClick:function(){K(!0),A(s)},children:"\u66F4\u65B0"},"config"),(0,t.jsx)(Se.Z,{type:"primary",title:"\u5220\u9664\u5C5E\u6027\u540E\u4F1A\u5C06\u5C5E\u6027\u7684\u503C\u4E00\u8D77\u5220\u9664\uFF0C\u786E\u8BA4\u5220\u9664\u5417\uFF1F",okText:"\u662F",cancelText:"\u5426",onConfirm:(0,R.Z)((0,u.Z)().mark(function f(){return(0,u.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,xe([s.id]).then(function(w){w.succeeded?(E.default.success("\u5220\u9664\u6210\u529F"),D.current.reload()):E.default.error(w.errors)});case 2:case"end":return i.stop()}},f)})),onCancel:function(){},children:(0,t.jsx)("a",{href:"#",children:"\u5220\u9664"})},"primary")]}}];return(0,t.jsxs)(je.ZP,{children:[(0,t.jsx)(Fe.ZP,{headerTitle:"\u67E5\u8BE2\u8868\u683C",actionRef:D,rowKey:"id",search:{labelWidth:120},toolBarRender:function(){return[(0,t.jsxs)(J.Z,{type:"primary",onClick:function(){K(!0)},children:[(0,t.jsx)(ce.Z,{})," \u65B0\u5EFA"]},"primary")]},request:function(){var S=(0,R.Z)((0,u.Z)().mark(function v(s){var f,g;return(0,u.Z)().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return f=[],g=0,w.next=4,Je(s).then(function(q){f=q.data.data,g=q.data.total});case 4:return w.abrupt("return",{data:f,success:!0,total:g});case 5:case"end":return w.stop()}},v)}));return function(v){return S.apply(this,arguments)}}(),columns:ie,rowSelection:{onChange:function(v,s){U(s)}}}),(H==null?void 0:H.length)>0&&(0,t.jsx)(Te.Z,{extra:(0,t.jsxs)("div",{children:["\u5DF2\u9009\u62E9"," ",(0,t.jsx)("a",{style:{fontWeight:600},children:H.length})," ","\u9879 \xA0\xA0"]}),children:(0,t.jsx)(J.Z,{onClick:(0,R.Z)((0,u.Z)().mark(function S(){var v,s;return(0,u.Z)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,le(H);case 2:U([]),(v=D.current)===null||v===void 0||(s=v.reloadAndRest)===null||s===void 0||s.call(v);case 4:case"end":return g.stop()}},S)})),children:"\u5220\u9664"})}),(0,t.jsx)(De,{goodstypeData:T,onFinish:function(){var S=(0,R.Z)((0,u.Z)().mark(function v(s){var f;return(0,u.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(f=!1,!s.id){i.next=7;break}return i.next=4,tt(s);case 4:f=i.sent,i.next=10;break;case 7:return i.next=9,et(s);case 9:f=i.sent;case 10:f&&(K(!1),A(void 0),D.current&&D.current.reload());case 11:case"end":return i.stop()}},v)}));return function(v){return S.apply(this,arguments)}}(),onCancel:function(){K(!1),A(void 0)},createModalVisible:n,values:Q||{}}),(0,t.jsx)(_e,{onFinish:function(){var S=(0,R.Z)((0,u.Z)().mark(function v(s){var f;return(0,u.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return console.log(s),f=s.map(function(w){return w.GoodsAttributeId=Q.id,w}),i.next=4,ze(f).then(function(w){w.data?(E.default.success("\u4FDD\u5B58\u6210\u529F"),D.current.reload()):E.default.error(w.errors)});case 4:case"end":return i.stop()}},v)}));return function(v){return S.apply(this,arguments)}}(),onCancel:function(){var S=(0,R.Z)((0,u.Z)().mark(function v(s){return(0,u.Z)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:m(void 0),P(!1),A(void 0);case 3:case"end":return g.stop()}},v)}));return function(v){return S.apply(this,arguments)}}(),attributeid:B,createattrModalVisible:M})]})},rt=nt}}]); diff --git a/dist/quickStart/index.html b/dist/quickStart/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/quickStart/index.html +++ b/dist/quickStart/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/refundment/index.html b/dist/refundment/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/refundment/index.html +++ b/dist/refundment/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/refundment/orderAfterSales/index.html b/dist/refundment/orderAfterSales/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/refundment/orderAfterSales/index.html +++ b/dist/refundment/orderAfterSales/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/split/FranchiseePlan/index.html b/dist/split/FranchiseePlan/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/split/FranchiseePlan/index.html +++ b/dist/split/FranchiseePlan/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/split/account/index.html b/dist/split/account/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/split/account/index.html +++ b/dist/split/account/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/split/index.html b/dist/split/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/split/index.html +++ b/dist/split/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/split/plan/index.html b/dist/split/plan/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/split/plan/index.html +++ b/dist/split/plan/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/split/splitOrders/index.html b/dist/split/splitOrders/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/split/splitOrders/index.html +++ b/dist/split/splitOrders/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/stockManager/index.html b/dist/stockManager/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/stockManager/index.html +++ b/dist/stockManager/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/stockManager/stockInventory/index.html b/dist/stockManager/stockInventory/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/stockManager/stockInventory/index.html +++ b/dist/stockManager/stockInventory/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/stockManager/stockItem/index.html b/dist/stockManager/stockItem/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/stockManager/stockItem/index.html +++ b/dist/stockManager/stockItem/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/stockManager/stockReports/index.html b/dist/stockManager/stockReports/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/stockManager/stockReports/index.html +++ b/dist/stockManager/stockReports/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/index.html b/dist/store/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/index.html +++ b/dist/store/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/printer/Printer/index.html b/dist/store/printer/Printer/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/printer/Printer/index.html +++ b/dist/store/printer/Printer/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/printer/printerTemplate/index.html b/dist/store/printer/printerTemplate/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/printer/printerTemplate/index.html +++ b/dist/store/printer/printerTemplate/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/storeAddGoodsInfo/index.html b/dist/store/storeAddGoodsInfo/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/storeAddGoodsInfo/index.html +++ b/dist/store/storeAddGoodsInfo/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/storeAdvertisement/index.html b/dist/store/storeAdvertisement/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/storeAdvertisement/index.html +++ b/dist/store/storeAdvertisement/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/storeDesktopNumber/index.html b/dist/store/storeDesktopNumber/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/storeDesktopNumber/index.html +++ b/dist/store/storeDesktopNumber/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/storeGoodsInfo/index.html b/dist/store/storeGoodsInfo/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/storeGoodsInfo/index.html +++ b/dist/store/storeGoodsInfo/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/storeInfo/index.html b/dist/store/storeInfo/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/storeInfo/index.html +++ b/dist/store/storeInfo/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/storeLevel/index.html b/dist/store/storeLevel/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/storeLevel/index.html +++ b/dist/store/storeLevel/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/storeStaff/index.html b/dist/store/storeStaff/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/storeStaff/index.html +++ b/dist/store/storeStaff/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/store/storeType/index.html b/dist/store/storeType/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/store/storeType/index.html +++ b/dist/store/storeType/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/company/index.html b/dist/sys/company/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/company/index.html +++ b/dist/sys/company/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/companyApply/index.html b/dist/sys/companyApply/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/companyApply/index.html +++ b/dist/sys/companyApply/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/deviceTypeConfig/index.html b/dist/sys/deviceTypeConfig/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/deviceTypeConfig/index.html +++ b/dist/sys/deviceTypeConfig/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/dictionary/dictdata/index.html b/dist/sys/dictionary/dictdata/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/dictionary/dictdata/index.html +++ b/dist/sys/dictionary/dictdata/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/dictionary/dicttype/index.html b/dist/sys/dictionary/dicttype/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/dictionary/dicttype/index.html +++ b/dist/sys/dictionary/dicttype/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/index.html b/dist/sys/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/index.html +++ b/dist/sys/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/log/index.html b/dist/sys/log/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/log/index.html +++ b/dist/sys/log/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/menus/index.html b/dist/sys/menus/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/menus/index.html +++ b/dist/sys/menus/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/org/index.html b/dist/sys/org/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/org/index.html +++ b/dist/sys/org/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/paytemplate/index.html b/dist/sys/paytemplate/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/paytemplate/index.html +++ b/dist/sys/paytemplate/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/roles/index.html b/dist/sys/roles/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/roles/index.html +++ b/dist/sys/roles/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/storemanage/index.html b/dist/sys/storemanage/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/storemanage/index.html +++ b/dist/sys/storemanage/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/sysSettings/index.html b/dist/sys/sysSettings/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/sysSettings/index.html +++ b/dist/sys/sysSettings/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/sys/user/index.html b/dist/sys/user/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/sys/user/index.html +++ b/dist/sys/user/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/test/index.html b/dist/test/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/test/index.html +++ b/dist/test/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/test/update/index.html b/dist/test/update/index.html index 6f0a0f9..71f0d7a 100644 --- a/dist/test/update/index.html +++ b/dist/test/update/index.html @@ -221,6 +221,6 @@ - + diff --git a/dist/umi.6f9c9542.js b/dist/umi.5476cea8.js similarity index 95% rename from dist/umi.6f9c9542.js rename to dist/umi.5476cea8.js index 0987bcb..abbcbce 100644 --- a/dist/umi.6f9c9542.js +++ b/dist/umi.5476cea8.js @@ -115,7 +115,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(h){return a(h)||o(h)||(0,l.Z)(h)||u()}},58954:function(O,f,e){"use strict";e.d(f,{Z:function(){return n}});function n(a){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},n(a)}},64254:function(O,f,e){"use strict";e.d(f,{Z:function(){return a}});var n=e(72560);function a(o,l){if(!!o){if(typeof o=="string")return(0,n.Z)(o,l);var u=Object.prototype.toString.call(o).slice(8,-1);if(u==="Object"&&o.constructor&&(u=o.constructor.name),u==="Map"||u==="Set")return Array.from(o);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return(0,n.Z)(o,l)}}},23671:function(O){function f(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}O.exports=f,O.exports.__esModule=!0,O.exports.default=O.exports},74193:function(O){function f(e,n){var a=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var o=[],l=!0,u=!1,d,h;try{for(a=a.call(e);!(l=(d=a.next()).done)&&(o.push(d.value),!(n&&o.length===n));l=!0);}catch(y){u=!0,h=y}finally{try{!l&&a.return!=null&&a.return()}finally{if(u)throw h}}return o}}O.exports=f,O.exports.__esModule=!0,O.exports.default=O.exports},74695:function(O){function f(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}O.exports=f,O.exports.__esModule=!0,O.exports.default=O.exports},80709:function(O){function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}O.exports=f,O.exports.__esModule=!0,O.exports.default=O.exports},66933:function(O,f,e){var n=e(70144),a=e(74193),o=e(44801),l=e(74695);function u(d,h){return n(d)||a(d,h)||o(d,h)||l()}O.exports=u,O.exports.__esModule=!0,O.exports.default=O.exports},30352:function(O,f,e){var n=e(99933),a=e(23671),o=e(44801),l=e(80709);function u(d){return n(d)||a(d)||o(d)||l()}O.exports=u,O.exports.__esModule=!0,O.exports.default=O.exports},44801:function(O,f,e){var n=e(25083);function a(o,l){if(!!o){if(typeof o=="string")return n(o,l);var u=Object.prototype.toString.call(o).slice(8,-1);if(u==="Object"&&o.constructor&&(u=o.constructor.name),u==="Map"||u==="Set")return Array.from(o);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return n(o,l)}}O.exports=a,O.exports.__esModule=!0,O.exports.default=O.exports},86698:function(O){O.exports={container:"container___1Rq3A"}},39156:function(O){O.exports={headerSearch:"headerSearch___RN1il",input:"input___3Vzpl",show:"show___VZRKu"}},2836:function(O){O.exports={menu:"menu___1L63y",right:"right___3L8KG",action:"action___LP4_P",search:"search___2W0sJ",account:"account___6HXOq",avatar:"avatar___2cOWV",dark:"dark___1NwCY"}},50293:function(O){O.exports={tags_wrapper:"tags_wrapper___3bIMQ",item:"item___1RAuT",active:"active___3h3r1",icon_close:"icon_close___h4LdZ",contextmenu:"contextmenu___3bxfm"}},2288:function(O){O.exports={tag_view:"tag_view___2TBfO",tags_container:"tags_container___1gc86"}},80471:function(){},58136:function(){},52683:function(){},9683:function(){},33508:function(){},10469:function(){},3482:function(){},7104:function(){},12001:function(){},8116:function(){},79186:function(){},5810:function(){},31930:function(){},47323:function(){},34621:function(){},955:function(){},38663:function(){},24090:function(){},9684:function(O,f,e){"use strict";e.d(f,{f:function(){return l},m:function(){return o}});var n=e(97175),a={basename:"/"};window.routerBase&&(a.basename=window.routerBase);var o={NODE_ENV:"production"}.__IS_SERVER?null:(0,n.lX)(a),l=function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return d||(o=(0,n.lX)(a)),o}},72255:function(O,f,e){"use strict";e.d(f,{B:function(){return a}});var n=e(79004),a=new n.Sy({validKeys:["modifyClientRenderOpts","patchRoutes","rootContainer","render","onRouteChange","__mfsu","getInitialState","initialStateConfig","locale","layout","layoutActionRef","request"]})},48971:function(O,f,e){"use strict";e.d(f,{_H:function(){return m._H},pD:function(){return D},m8:function(){return n.m},BA:function(){return a.B},WY:function(){return vt},Bz:function(){return u.B},md:function(){return h},YB:function(){return m.YB},tT:function(){return Y.t}});var n=e(9684),a=e(72255),o=e(67294),l=e(57650),u=e(14027),d=e(85893),h=function(){var ve=(0,o.useContext)(l.Z);return ve},y=function(ve){var Te=ve.accessible,Pe=ve.fallback,De=ve.children;return _jsx(_Fragment,{children:Te?De:Pe})},m=e(10146),T=e(30887),C=e(28682),S=e(2824),E=e(11849),A=e(59250),_=e(13013),I=e(93224),M=["overlayClassName"],H=["globalIconClassName","postLocalesData","onItemClick","icon","style","reload"],F=function(ve){var Te=ve.overlayClassName,Pe=(0,I.Z)(ve,M);return(0,d.jsx)(_.Z,(0,E.Z)({overlayClassName:Te},Pe))},x=function(ve){return ve.reduce(function(Te,Pe){return Pe.lang?_objectSpread(_objectSpread({},Te),{},_defineProperty({},Pe.lang,Pe)):Te},{})},P={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"zh-TW",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Vlaams",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},D=function(ve){var Te,Pe=ve.globalIconClassName,De=ve.postLocalesData,lt=ve.onItemClick,Et=ve.icon,_t=ve.style,Zt=ve.reload,Jt=(0,I.Z)(ve,H),Sn=(0,o.useState)(function(){return(0,m.Kd)()}),zn=(0,S.Z)(Sn,2),Hn=zn[0],Vn=zn[1],qr=function(xa){var ha=xa.key;(0,m.i_)(ha,Zt),Vn((0,m.Kd)())},fr=(0,m.XZ)().map(function(Bn){return P[Bn]||{lang:Bn,label:Bn,icon:"\u{1F310}",title:Bn}}),ir=(De==null?void 0:De(fr))||fr,Cr=lt?function(Bn){return lt(Bn)}:qr,ur={minWidth:"160px"},aa={marginRight:"8px"},er=(0,d.jsx)(C.Z,{selectedKeys:[Hn],onClick:Cr,children:ir.map(function(Bn){return(0,d.jsxs)(C.Z.Item,{style:ur,children:[(0,d.jsx)("span",{role:"img","aria-label":(Bn==null?void 0:Bn.label)||"en-US",style:aa,children:(Bn==null?void 0:Bn.icon)||"\u{1F310}"}),(Bn==null?void 0:Bn.label)||"en-US"]},Bn.lang||Bn.key)})}),br=(0,E.Z)({cursor:"pointer",padding:"12px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:18,verticalAlign:"middle"},_t);return(0,d.jsx)(F,(0,E.Z)((0,E.Z)({overlay:er,placement:"bottomRight"},Jt),{},{children:(0,d.jsx)("span",{className:Pe,style:br,children:(0,d.jsx)("i",{className:"anticon",title:(Te=ir[Hn])===null||Te===void 0?void 0:Te.title,children:Et||(0,d.jsxs)("svg",{viewBox:"0 0 24 24",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,d.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,d.jsx)("path",{d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",className:"css-c4d79v"})]})})})}))},k={},Y=e(53776),q=e(39428),$=e(3182),le=e(80129),ie=e(94301),ne=e(34155);function W(we,ve){var Te=Object.keys(we);if(Object.getOwnPropertySymbols){var Pe=Object.getOwnPropertySymbols(we);ve&&(Pe=Pe.filter(function(De){return Object.getOwnPropertyDescriptor(we,De).enumerable})),Te.push.apply(Te,Pe)}return Te}function Z(we){for(var ve=1;vewe.length)&&(ve=we.length);for(var Te=0,Pe=new Array(ve);Te1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1,defaultInstance:!1},De=!1,lt=!1,Et=!1;if(typeof Pe=="number"?(De=!0,lt=!1):N(Pe)==="object"&&Pe&&(lt=Pe.global||!1,De=Pe.core||!1,Et=Pe.defaultInstance||!1),lt){we.globalMiddlewares.splice(we.globalMiddlewares.length-we.defaultGlobalMiddlewaresLength,0,Te);return}if(De){we.coreMiddlewares.splice(we.coreMiddlewares.length-we.defaultCoreMiddlewaresLength,0,Te);return}if(Et){this.defaultMiddlewares.push(Te);return}this.middlewares.push(Te)}},{key:"execute",value:function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,Pe=dt([].concat(Fe(this.middlewares),Fe(this.defaultMiddlewares),Fe(we.globalMiddlewares),Fe(we.coreMiddlewares)));return Pe(Te)}}]),we}();rt.globalMiddlewares=[],rt.defaultGlobalMiddlewaresLength=0,rt.coreMiddlewares=[],rt.defaultCoreMiddlewaresLength=0;var bt=function(){function we(ve){J(this,we),this.cache=new Map,this.timer={},this.extendOptions(ve)}return Q(we,[{key:"extendOptions",value:function(Te){this.maxCache=Te.maxCache||0}},{key:"get",value:function(Te){return this.cache.get(JSON.stringify(Te))}},{key:"set",value:function(Te,Pe){var De=this,lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var Et=Fe(this.cache.keys())[0];this.cache.delete(Et),this.timer[Et]&&clearTimeout(this.timer[Et])}var _t=JSON.stringify(Te);this.cache.set(_t,Pe),lt>0&&(this.timer[_t]=setTimeout(function(){De.cache.delete(_t),delete De.timer[_t]},lt))}},{key:"delete",value:function(Te){var Pe=JSON.stringify(Te);return delete this.timer[Pe],this.cache.delete(Pe)}},{key:"clear",value:function(){return this.timer={},this.cache.clear()}}]),we}(),st=function(we){fe(Te,we);var ve=be(Te);function Te(Pe,De){var lt,Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"RequestError";return J(this,Te),lt=ve.call(this,Pe),lt.name="RequestError",lt.request=De,lt.type=Et,lt}return Te}(ee(Error)),ht=function(we){fe(Te,we);var ve=be(Te);function Te(Pe,De,lt,Et){var _t,Zt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"ResponseError";return J(this,Te),_t=ve.call(this,De||Pe.statusText),_t.name="ResponseError",_t.data=lt,_t.response=Pe,_t.request=Et,_t.type=Zt,_t}return Te}(ee(Error));function dn(we){return new Promise(function(ve,Te){var Pe=new FileReader;Pe.onload=function(){ve(Pe.result)},Pe.onerror=Te,Pe.readAsText(we,"GBK")})}function fn(we){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;try{return JSON.parse(we)}catch(De){if(ve)throw new ht(Te,"JSON.parse fail",we,Pe,"ParseError")}return we}function cn(we,ve,Te){return new Promise(function(Pe,De){setTimeout(function(){De(new st(ve||"timeout of ".concat(we,"ms exceeded"),Te,"Timeout"))},we)})}function gn(we){return new Promise(function(ve,Te){we.cancelToken&&we.cancelToken.promise.then(function(Pe){Te(Pe)})})}var tn=Object.prototype.toString;function yt(){var we;return typeof ne!="undefined"&&tn.call(ne)==="[object process]"&&(we="NODE"),typeof XMLHttpRequest!="undefined"&&(we="BROWSER"),we}function Qe(we){return N(we)==="object"&&Object.prototype.toString.call(we)==="[object Array]"}function Be(we){return typeof URLSearchParams!="undefined"&&we instanceof URLSearchParams}function Ke(we){return N(we)==="object"&&Object.prototype.toString.call(we)==="[object Date]"}function ut(we){return we!==null&&N(we)==="object"}function tt(we,ve){if(!!we)if(N(we)!=="object"&&(we=[we]),Qe(we))for(var Te=0;Te1&&arguments[1]!==void 0?arguments[1]:{},Pe=Te.prefix,De=Te.suffix;return Pe&&(ve="".concat(Pe).concat(ve)),De&&(ve="".concat(ve).concat(De)),{url:ve,options:Te}},ft=!1;function St(we,ve){var Te=ve.method,Pe=Te===void 0?"get":Te;return Pe.toLowerCase()==="get"}function Ge(we,ve){if(!we)return ve();var Te=we.req;Te=Te===void 0?{}:Te;var Pe=Te.options,De=Pe===void 0?{}:Pe,lt=Te.url,Et=lt===void 0?"":lt,_t=we.cache,Zt=we.responseInterceptors,Jt=De.timeout,Sn=Jt===void 0?0:Jt,zn=De.timeoutMessage,Hn=De.__umiRequestCoreType__,Vn=Hn===void 0?"normal":Hn,qr=De.useCache,fr=qr===void 0?!1:qr,ir=De.method,Cr=ir===void 0?"get":ir,ur=De.params,aa=De.ttl,er=De.validateCache,br=er===void 0?St:er;if(Vn!=="normal")return ve();var Bn=fetch;if(!Bn)throw new Error("Global fetch not exist!");var xa=yt()==="BROWSER",ha=br(Et,De)&&fr&&xa;if(ha){var ma=_t.get({url:Et,params:ur,method:Cr});if(ma)return ma=ma.clone(),ma.useCache=!0,we.res=ma,ve()}var Ua;return Sn>0?Ua=Promise.race([gn(De),Bn(Et,De),cn(Sn,zn,we.req)]):Ua=Promise.race([gn(De),Bn(Et,De)]),Zt.forEach(function(Vr){Ua=Ua.then(function(mr){var Va=typeof mr.clone=="function"?mr.clone():mr;return Vr(Va,De)})}),Ua.then(function(Vr){if(ha&&Vr.status===200){var mr=Vr.clone();mr.useCache=!0,_t.set({url:Et,params:ur,method:Cr},mr,aa)}return we.res=Vr,ve()})}function Pt(we,ve){var Te;return ve().then(function(){if(!!we){var Pe=we.res,De=Pe===void 0?{}:Pe,lt=we.req,Et=lt===void 0?{}:lt,_t=Et||{},Zt=_t.options;Zt=Zt===void 0?{}:Zt;var Jt=Zt.responseType,Sn=Jt===void 0?"json":Jt,zn=Zt.charset,Hn=zn===void 0?"utf8":zn,Vn=Zt.getResponse,qr=Zt.throwErrIfParseFail,fr=qr===void 0?!1:qr,ir=Zt.parseResponse,Cr=ir===void 0?!0:ir;if(!!Cr&&!(!De||!De.clone)){if(Te=yt()==="BROWSER"?De.clone():De,Te.useCache=De.useCache||!1,Hn==="gbk")try{return De.blob().then(dn).then(function(ur){return fn(ur,!1,Te,Et)})}catch(ur){throw new ht(Te,ur.message,null,Et,"ParseError")}else if(Sn==="json")return De.text().then(function(ur){return fn(ur,fr,Te,Et)});try{return De[Sn]()}catch(ur){throw new ht(Te,"responseType not support",null,Et,"ParseError")}}}}).then(function(Pe){if(!!we){var De=we.res,lt=we.req,Et=lt===void 0?{}:lt,_t=Et||{},Zt=_t.options;Zt=Zt===void 0?{}:Zt;var Jt=Zt.getResponse,Sn=Jt===void 0?!1:Jt;if(!!Te){if(Te.status>=200&&Te.status<300){if(Sn){we.res={data:Pe,response:Te};return}we.res=Pe;return}throw new ht(Te,"http error",Pe,Et,"HttpError")}}}).catch(function(Pe){if(Pe instanceof st||Pe instanceof ht)throw Pe;var De=we.req,lt=we.res;throw Pe.request=Pe.request||De,Pe.response=Pe.response||lt,Pe.type=Pe.type||Pe.name,Pe.data=Pe.data||void 0,Pe})}function Mt(we,ve){if(!we)return ve();var Te=we.req;Te=Te===void 0?{}:Te;var Pe=Te.options,De=Pe===void 0?{}:Pe,lt=De.method,Et=lt===void 0?"get":lt;if(["post","put","patch","delete"].indexOf(Et.toLowerCase())===-1)return ve();var _t=De.requestType,Zt=_t===void 0?"json":_t,Jt=De.data;if(Jt){var Sn=Object.prototype.toString.call(Jt);Sn==="[object Object]"||Sn==="[object Array]"?Zt==="json"?(De.headers=Z({Accept:"application/json","Content-Type":"application/json;charset=UTF-8"},De.headers),De.body=JSON.stringify(Jt)):Zt==="form"&&(De.headers=Z({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},De.headers),De.body=Ce(Jt)):(De.headers=Z({Accept:"application/json"},De.headers),De.body=Jt)}return we.req.options=De,ve()}function Ft(we,ve){var Te,Pe;if(we)if(ve)Te=ve(we);else if(Be(we))Te=we.toString();else if(Qe(we))Pe=[],tt(we,function(lt){lt===null||typeof lt=="undefined"?Pe.push(lt):Pe.push(ut(lt)?JSON.stringify(lt):lt)}),Te=Ce(Pe);else{Pe={},tt(we,function(lt,Et){var _t=lt;lt===null||typeof lt=="undefined"?Pe[Et]=lt:Ke(lt)?_t=lt.toISOString():Qe(lt)?_t=lt:ut(lt)&&(_t=JSON.stringify(lt)),Pe[Et]=_t});var De=Ce(Pe);Te=De}return Te}function Nt(we,ve){if(!we)return ve();var Te=we.req;Te=Te===void 0?{}:Te;var Pe=Te.options,De=Pe===void 0?{}:Pe,lt=De.paramsSerializer,Et=De.params,_t=we.req;_t=_t===void 0?{}:_t;var Zt=_t.url,Jt=Zt===void 0?"":Zt;De.method=De.method?De.method.toUpperCase():"GET",De.credentials=De.credentials||"same-origin";var Sn=Ft(Et,lt);if(we.req.originUrl=Jt,Sn){var zn=Jt.indexOf("?")!==-1?"&":"?";we.req.url="".concat(Jt).concat(zn).concat(Sn)}return we.req.options=De,ve()}var Qt=[Mt,Nt,Pt],Mn=[Ge];rt.globalMiddlewares=Qt,rt.defaultGlobalMiddlewaresLength=Qt.length,rt.coreMiddlewares=Mn,rt.defaultCoreMiddlewaresLength=Mn.length;var En=function(){function we(ve){J(this,we),this.onion=new rt([]),this.fetchIndex=0,this.mapCache=new bt(ve),this.initOptions=ve,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return Q(we,[{key:"use",value:function(Te){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1};return this.onion.use(Te,Pe),this}},{key:"extendOptions",value:function(Te){this.initOptions=Me(this.initOptions,Te),this.mapCache.extendOptions(Te)}},{key:"dealRequestInterceptors",value:function(Te){var Pe=function(Et,_t){return Et.then(function(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Te.req.url=Zt.url||Te.req.url,Te.req.options=Zt.options||Te.req.options,_t(Te.req.url,Te.req.options)})},De=[].concat(Fe(we.requestInterceptors),Fe(this.instanceRequestInterceptors));return De.reduce(Pe,Promise.resolve()).then(function(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Te.req.url=lt.url||Te.req.url,Te.req.options=lt.options||Te.req.options,Promise.resolve()})}},{key:"request",value:function(Te,Pe){var De=this,lt=this.onion,Et={req:{url:Te,options:Z(Z({},Pe),{},{url:Te})},res:null,cache:this.mapCache,responseInterceptors:[].concat(Fe(we.responseInterceptors),Fe(this.instanceResponseInterceptors))};if(typeof Te!="string")throw new Error("url MUST be a string");return new Promise(function(_t,Zt){De.dealRequestInterceptors(Et).then(function(){return lt.execute(Et)}).then(function(){_t(Et.res)}).catch(function(Jt){var Sn=Et.req.options.errorHandler;if(Sn)try{var zn=Sn(Jt);_t(zn)}catch(Hn){Zt(Hn)}else Zt(Jt)})})}}],[{key:"requestUse",value:function(Te){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof Te!="function")throw new TypeError("Interceptor must be function!");Pe.global?we.requestInterceptors.push(Te):this.instanceRequestInterceptors.push(Te)}},{key:"responseUse",value:function(Te){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof Te!="function")throw new TypeError("Interceptor must be function!");Pe.global?we.responseInterceptors.push(Te):this.instanceResponseInterceptors.push(Te)}}]),we}();En.requestInterceptors=[qe],En.responseInterceptors=[];function Zn(we){this.message=we}Zn.prototype.toString=function(){return this.message?"Cancel: ".concat(this.message):"Cancel"},Zn.prototype.__CANCEL__=!0;function Qn(we){if(typeof we!="function")throw new TypeError("executor must be a function.");var ve;this.promise=new Promise(function(De){ve=De});var Te=this;we(function(De){Te.reason||(Te.reason=new Zn(De),ve(Te.reason))})}Qn.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Qn.source=function(){var ve,Te=new Qn(function(De){ve=De});return{token:Te,cancel:ve}};function Ut(we){return!!(we&&we.__CANCEL__)}var Dn=function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Te=new En(ve),Pe=function(Et){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Zt=Me(Te.initOptions,_t);return Te.request(Et,Zt)};Pe.use=Te.use.bind(Te),Pe.fetchIndex=Te.fetchIndex,Pe.interceptors={request:{use:En.requestUse.bind(Te)},response:{use:En.responseUse.bind(Te)}};var De=["get","post","delete","put","patch","head","options","rpc"];return De.forEach(function(lt){Pe[lt]=function(Et,_t){return Pe(Et,Z(Z({},_t),{},{method:lt}))}}),Pe.Cancel=Zn,Pe.CancelToken=Qn,Pe.isCancel=Ut,Pe.extendOptions=Te.extendOptions.bind(Te),Pe.middlewares={instance:Te.onion.middlewares,defaultInstance:Te.onion.defaultMiddlewares,global:rt.globalMiddlewares,core:rt.coreMiddlewares},Pe},yr=function(ve){return Dn(ve)},Gt=Dn({parseResponse:!1}),Oa=Dn({}),zr=null,Er=e(79004),Or=e(92989),Kn=e(91296),wr=e.n(Kn),ua=e(93096),Wn=e.n(ua);function Ne(){return typeof document!="undefined"&&typeof document.visibilityState!="undefined"?document.visibilityState!=="hidden":!0}function gt(){return typeof navigator.onLine!="undefined"?navigator.onLine:!0}var it=new Map,Tt=function(ve,Te,Pe){var De=it.get(ve);(De==null?void 0:De.timer)&&clearTimeout(De.timer);var lt=void 0;Te>-1&&(lt=setTimeout(function(){it.delete(ve)},Te)),it.set(ve,{data:Pe,timer:lt,startTime:new Date().getTime()})},Rt=function(ve){var Te=it.get(ve);return{data:Te==null?void 0:Te.data,startTime:Te==null?void 0:Te.startTime}},Fn=function(we,ve){var Te=typeof Symbol=="function"&&we[Symbol.iterator];if(!Te)return we;var Pe=Te.call(we),De,lt=[],Et;try{for(;(ve===void 0||ve-- >0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},_n=function(){for(var we=[],ve=0;ve0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},Xn=function(){for(var we=[],ve=0;ve0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},Pn=function(){for(var we=[],ve=0;ve0){var fi=ma&&((_a=getCache(ma))===null||_a===void 0?void 0:_a.startTime)||0;Va===-1||new Date().getTime()-fi<=Va||Object.values(ki).forEach(function(hi){hi.refresh()})}else Oo.current.apply(Oo,Pn(aa))},[]);var Po=useCallback(function(){Object.values(Oi.current).forEach(function(_a){_a.unmount()}),Mi.current=tr,Ca({}),Oi.current={}},[Ca]);useUpdateEffect(function(){Et||Object.values(Oi.current).forEach(function(_a){_a.refresh()})},Pn(De)),useEffect(function(){return function(){Object.values(Oi.current).forEach(function(_a){_a.unmount()})}},[]);var wo=useCallback(function(_a){return function(){console.warn("You should't call "+_a+" when service not executed once.")}},[]);return yn(yn({loading:di&&!Et||Hn,data:ri,error:void 0,params:[],cancel:wo("cancel"),refresh:wo("refresh"),mutate:wo("mutate")},ki[Mi.current]||{}),{run:jo,fetches:ki,reset:Po})}var Rr=null,hr=function(){return hr=Object.assign||function(we){for(var ve,Te=1,Pe=arguments.length;Te0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},or=function(){for(var we=[],ve=0;ve0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},$r=function(){for(var we=[],ve=0;veBo&&(di=Math.max(1,Bo)),ha({current:di,pageSize:Zi})},[ma,ha]),mr=useCallback(function(ri){Vr(ri,aa)},[Vr,aa]),Va=useCallback(function(ri){Vr(Cr,ri)},[Vr,Cr]),yi=useRef(mr);yi.current=mr,useUpdateEffect(function(){ve.manual||yi.current(1)},$r(Et));var Bi=useCallback(function(ri,Ei,di){ha({current:ri.current,pageSize:ri.pageSize||De,filters:Ei,sorter:di})},[xa,br,ha]);return cr({loading:Vn,data:Sn,params:zn,run:Hn,pagination:{current:Cr,pageSize:aa,total:ma,totalPage:Ua,onChange:Vr,changeCurrent:mr,changePageSize:Va},tableProps:{dataSource:(Sn==null?void 0:Sn.list)||[],loading:Vn,onChange:Bi,pagination:{current:Cr,pageSize:aa,total:ma}},sorter:br,filters:xa},qr)}var La=null,ga=o.createContext({});ga.displayName="UseRequestConfigContext";var We=ga,Oe=function(){return Oe=Object.assign||function(we){for(var ve,Te=1,Pe=arguments.length;Te0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},U=function(){for(var we=[],ve=0;ve1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(we,_objectSpread({formatResult:function(Pe){return Pe==null?void 0:Pe.data},requestMethod:function(Pe){if(typeof Pe=="string")return vt(Pe);if(typeof Pe=="object"){var De=Pe.url,lt=_objectWithoutProperties(Pe,He);return vt(De,lt)}throw new Error("request options error")}},ve))}var Je;(function(we){we[we.SILENT=0]="SILENT",we[we.WARN_MESSAGE=1]="WARN_MESSAGE",we[we.ERROR_MESSAGE=2]="ERROR_MESSAGE",we[we.NOTIFICATION=4]="NOTIFICATION",we[we.REDIRECT=9]="REDIRECT"})(Je||(Je={}));var Ot="/exception",Dt,kt=function(){var ve;if(Dt)return Dt;var Te=a.B.applyPlugins({key:"request",type:Er.Ac.modify,initialValue:{}}),Pe=((ve=Te.errorConfig)===null||ve===void 0?void 0:ve.adaptor)||function(_t){return _t};Dt=yr((0,E.Z)({errorHandler:function(Zt){var Jt,Sn,zn;if(Zt!=null&&(Jt=Zt.request)!==null&&Jt!==void 0&&(Sn=Jt.options)!==null&&Sn!==void 0&&Sn.skipErrorHandler)throw Zt;var Hn;if(Zt.name==="ResponseError"&&Zt.data&&Zt.request){var Vn,qr={req:Zt.request,res:Zt.response};Hn=Pe(Zt.data,qr),Zt.message=((Vn=Hn)===null||Vn===void 0?void 0:Vn.errorMessage)||Zt.message,Zt.data=Zt.data,Zt.info=Hn}if(Hn=Zt.info,Hn){var fr,ir,Cr,ur=(fr=Hn)===null||fr===void 0?void 0:fr.errorMessage,aa=(ir=Hn)===null||ir===void 0?void 0:ir.errorCode,er=((Cr=Te.errorConfig)===null||Cr===void 0?void 0:Cr.errorPage)||Ot;switch((zn=Hn)===null||zn===void 0?void 0:zn.showType){case Je.SILENT:break;case Je.WARN_MESSAGE:Or.yw.warn(ur);break;case Je.ERROR_MESSAGE:Or.yw.error(ur);break;case Je.NOTIFICATION:Or.t6.open({description:ur,message:aa});break;case Je.REDIRECT:n.m.push({pathname:er,query:{errorCode:aa,errorMessage:ur}});break;default:Or.yw.error(ur);break}}else Or.yw.error(Zt.message||"Request error, please retry.");throw Zt}},Te)),Dt.use(function(){var _t=(0,$.Z)((0,q.Z)().mark(function Zt(Jt,Sn){var zn,Hn,Vn,qr,fr,ir,Cr,ur;return(0,q.Z)().wrap(function(er){for(;;)switch(er.prev=er.next){case 0:return er.next=2,Sn();case 2:if(Hn=Jt.req,Vn=Jt.res,!((zn=Hn.options)!==null&&zn!==void 0&&zn.skipErrorHandler)){er.next=5;break}return er.abrupt("return");case 5:if(qr=Hn.options,fr=qr.getResponse,ir=fr?Vn.data:Vn,Cr=Pe(ir,Jt),Cr.success!==!1){er.next=16;break}throw ur=new Error(Cr.errorMessage),ur.name="BizError",ur.data=ir,ur.info=Cr,ur.response=Vn,ur;case 16:case"end":return er.stop()}},Zt)}));return function(Zt,Jt){return _t.apply(this,arguments)}}());var De=Te.middlewares||[];De.forEach(function(_t){Dt.use(_t)});var lt=Te.requestInterceptors||[],Et=Te.responseInterceptors||[];return lt.map(function(_t){Dt.interceptors.request.use(_t)}),Et.map(function(_t){Dt.interceptors.response.use(_t)}),Dt},vt=function(ve,Te){var Pe=kt();return Pe(ve,Te)},Ct=e(45697),mt=e.n(Ct),nn=e(83524),Kt=e.n(nn),On=e(69590),In=e.n(On),bn=e(27418),qn=e.n(bn),Un={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},mn={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},Sr=Object.keys(mn).map(function(we){return mn[we]}),Rn={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},nr={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ar={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},Zr=Object.keys(nr).reduce(function(we,ve){return we[nr[ve]]=ve,we},{}),za=[mn.NOSCRIPT,mn.SCRIPT,mn.STYLE],oa="data-react-helmet",qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(we){return typeof we}:function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we},Yr=function(we,ve){if(!(we instanceof ve))throw new TypeError("Cannot call a class as a function")},Ea=function(){function we(ve,Te){for(var Pe=0;Pe=0||!Object.prototype.hasOwnProperty.call(we,Pe)||(Te[Pe]=we[Pe]);return Te},Ha=function(we,ve){if(!we)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve&&(typeof ve=="object"||typeof ve=="function")?ve:we},Ta=function(ve){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Te===!1?String(ve):String(ve).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},ei=function(ve){var Te=K(ve,mn.TITLE),Pe=K(ve,ar.TITLE_TEMPLATE);if(Pe&&Te)return Pe.replace(/%s/g,function(){return Array.isArray(Te)?Te.join(""):Te});var De=K(ve,ar.DEFAULT_TITLE);return Te||De||void 0},ja=function(ve){return K(ve,ar.ON_CHANGE_CLIENT_STATE)||function(){}},Wa=function(ve,Te){return Te.filter(function(Pe){return typeof Pe[ve]!="undefined"}).map(function(Pe){return Pe[ve]}).reduce(function(Pe,De){return Tr({},Pe,De)},{})},Se=function(ve,Te){return Te.filter(function(Pe){return typeof Pe[mn.BASE]!="undefined"}).map(function(Pe){return Pe[mn.BASE]}).reverse().reduce(function(Pe,De){if(!Pe.length)for(var lt=Object.keys(De),Et=0;Et=0;Pe--){var De=ve[Pe];if(De.hasOwnProperty(Te))return De[Te]}return null},Ye=function(ve){return{baseTag:Se([Rn.HREF,Rn.TARGET],ve),bodyAttributes:Wa(Un.BODY,ve),defer:K(ve,ar.DEFER),encode:K(ve,ar.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Wa(Un.HTML,ve),linkTags:Le(mn.LINK,[Rn.REL,Rn.HREF],ve),metaTags:Le(mn.META,[Rn.NAME,Rn.CHARSET,Rn.HTTPEQUIV,Rn.PROPERTY,Rn.ITEM_PROP],ve),noscriptTags:Le(mn.NOSCRIPT,[Rn.INNER_HTML],ve),onChangeClientState:ja(ve),scriptTags:Le(mn.SCRIPT,[Rn.SRC,Rn.INNER_HTML],ve),styleTags:Le(mn.STYLE,[Rn.CSS_TEXT],ve),title:ei(ve),titleAttributes:Wa(Un.TITLE,ve)}},ot=function(){var we=Date.now();return function(ve){var Te=Date.now();Te-we>16?(we=Te,ve(Te)):setTimeout(function(){ot(ve)},0)}}(),Vt=function(ve){return clearTimeout(ve)},Xt=typeof window!="undefined"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ot:e.g.requestAnimationFrame||ot,an=typeof window!="undefined"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Vt:e.g.cancelAnimationFrame||Vt,An=function(ve){return console&&typeof console.warn=="function"&&console.warn(ve)},lr=null,Tn=function(ve){lr&&an(lr),ve.defer?lr=Xt(function(){pn(ve,function(){lr=null})}):(pn(ve),lr=null)},pn=function(ve,Te){var Pe=ve.baseTag,De=ve.bodyAttributes,lt=ve.htmlAttributes,Et=ve.linkTags,_t=ve.metaTags,Zt=ve.noscriptTags,Jt=ve.onChangeClientState,Sn=ve.scriptTags,zn=ve.styleTags,Hn=ve.title,Vn=ve.titleAttributes;ra(mn.BODY,De),ra(mn.HTML,lt),sr(Hn,Vn);var qr={baseTag:ni(mn.BASE,Pe),linkTags:ni(mn.LINK,Et),metaTags:ni(mn.META,_t),noscriptTags:ni(mn.NOSCRIPT,Zt),scriptTags:ni(mn.SCRIPT,Sn),styleTags:ni(mn.STYLE,zn)},fr={},ir={};Object.keys(qr).forEach(function(Cr){var ur=qr[Cr],aa=ur.newTags,er=ur.oldTags;aa.length&&(fr[Cr]=aa),er.length&&(ir[Cr]=qr[Cr].oldTags)}),Te&&Te(),Jt(ve,fr,ir)},Ln=function(ve){return Array.isArray(ve)?ve.join(""):ve},sr=function(ve,Te){typeof ve!="undefined"&&document.title!==ve&&(document.title=Ln(ve)),ra(mn.TITLE,Te)},ra=function(ve,Te){var Pe=document.getElementsByTagName(ve)[0];if(!!Pe){for(var De=Pe.getAttribute(oa),lt=De?De.split(","):[],Et=[].concat(lt),_t=Object.keys(Te),Zt=0;Zt<_t.length;Zt++){var Jt=_t[Zt],Sn=Te[Jt]||"";Pe.getAttribute(Jt)!==Sn&&Pe.setAttribute(Jt,Sn),lt.indexOf(Jt)===-1&<.push(Jt);var zn=Et.indexOf(Jt);zn!==-1&&Et.splice(zn,1)}for(var Hn=Et.length-1;Hn>=0;Hn--)Pe.removeAttribute(Et[Hn]);lt.length===Et.length?Pe.removeAttribute(oa):Pe.getAttribute(oa)!==_t.join(",")&&Pe.setAttribute(oa,_t.join(","))}},ni=function(ve,Te){var Pe=document.head||document.querySelector(mn.HEAD),De=Pe.querySelectorAll(ve+"["+oa+"]"),lt=Array.prototype.slice.call(De),Et=[],_t=void 0;return Te&&Te.length&&Te.forEach(function(Zt){var Jt=document.createElement(ve);for(var Sn in Zt)if(Zt.hasOwnProperty(Sn))if(Sn===Rn.INNER_HTML)Jt.innerHTML=Zt.innerHTML;else if(Sn===Rn.CSS_TEXT)Jt.styleSheet?Jt.styleSheet.cssText=Zt.cssText:Jt.appendChild(document.createTextNode(Zt.cssText));else{var zn=typeof Zt[Sn]=="undefined"?"":Zt[Sn];Jt.setAttribute(Sn,zn)}Jt.setAttribute(oa,"true"),lt.some(function(Hn,Vn){return _t=Vn,Jt.isEqualNode(Hn)})?lt.splice(_t,1):Et.push(Jt)}),lt.forEach(function(Zt){return Zt.parentNode.removeChild(Zt)}),Et.forEach(function(Zt){return Pe.appendChild(Zt)}),{oldTags:lt,newTags:Et}},Vi=function(ve){return Object.keys(ve).reduce(function(Te,Pe){var De=typeof ve[Pe]!="undefined"?Pe+'="'+ve[Pe]+'"':""+Pe;return Te?Te+" "+De:De},"")},ci=function(ve,Te,Pe,De){var lt=Vi(Pe),Et=Ln(Te);return lt?"<"+ve+" "+oa+'="true" '+lt+">"+Ta(Et,De)+"":"<"+ve+" "+oa+'="true">'+Ta(Et,De)+""},Yi=function(ve,Te,Pe){return Te.reduce(function(De,lt){var Et=Object.keys(lt).filter(function(Jt){return!(Jt===Rn.INNER_HTML||Jt===Rn.CSS_TEXT)}).reduce(function(Jt,Sn){var zn=typeof lt[Sn]=="undefined"?Sn:Sn+'="'+Ta(lt[Sn],Pe)+'"';return Jt?Jt+" "+zn:zn},""),_t=lt.innerHTML||lt.cssText||"",Zt=za.indexOf(ve)===-1;return De+"<"+ve+" "+oa+'="true" '+Et+(Zt?"/>":">"+_t+"")},"")},ui=function(ve){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(ve).reduce(function(Pe,De){return Pe[nr[De]||De]=ve[De],Pe},Te)},zi=function(ve){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(ve).reduce(function(Pe,De){return Pe[Zr[De]||De]=ve[De],Pe},Te)},ho=function(ve,Te,Pe){var De,lt=(De={key:Te},De[oa]=!0,De),Et=ui(Pe,lt);return[o.createElement(mn.TITLE,Et,Te)]},Ri=function(ve,Te){return Te.map(function(Pe,De){var lt,Et=(lt={key:De},lt[oa]=!0,lt);return Object.keys(Pe).forEach(function(_t){var Zt=nr[_t]||_t;if(Zt===Rn.INNER_HTML||Zt===Rn.CSS_TEXT){var Jt=Pe.innerHTML||Pe.cssText;Et.dangerouslySetInnerHTML={__html:Jt}}else Et[Zt]=Pe[_t]}),o.createElement(ve,Et)})},gi=function(ve,Te,Pe){switch(ve){case mn.TITLE:return{toComponent:function(){return ho(ve,Te.title,Te.titleAttributes,Pe)},toString:function(){return ci(ve,Te.title,Te.titleAttributes,Pe)}};case Un.BODY:case Un.HTML:return{toComponent:function(){return ui(Te)},toString:function(){return Vi(Te)}};default:return{toComponent:function(){return Ri(ve,Te)},toString:function(){return Yi(ve,Te,Pe)}}}},mo=function(ve){var Te=ve.baseTag,Pe=ve.bodyAttributes,De=ve.encode,lt=ve.htmlAttributes,Et=ve.linkTags,_t=ve.metaTags,Zt=ve.noscriptTags,Jt=ve.scriptTags,Sn=ve.styleTags,zn=ve.title,Hn=zn===void 0?"":zn,Vn=ve.titleAttributes;return{base:gi(mn.BASE,Te,De),bodyAttributes:gi(Un.BODY,Pe,De),htmlAttributes:gi(Un.HTML,lt,De),link:gi(mn.LINK,Et,De),meta:gi(mn.META,_t,De),noscript:gi(mn.NOSCRIPT,Zt,De),script:gi(mn.SCRIPT,Jt,De),style:gi(mn.STYLE,Sn,De),title:gi(mn.TITLE,{title:Hn,titleAttributes:Vn},De)}},Ma=function(ve){var Te,Pe;return Pe=Te=function(De){na(lt,De);function lt(){return Yr(this,lt),Ha(this,De.apply(this,arguments))}return lt.prototype.shouldComponentUpdate=function(_t){return!In()(this.props,_t)},lt.prototype.mapNestedChildrenToProps=function(_t,Zt){if(!Zt)return null;switch(_t.type){case mn.SCRIPT:case mn.NOSCRIPT:return{innerHTML:Zt};case mn.STYLE:return{cssText:Zt}}throw new Error("<"+_t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},lt.prototype.flattenArrayTypeChildren=function(_t){var Zt,Jt=_t.child,Sn=_t.arrayTypeChildren,zn=_t.newChildProps,Hn=_t.nestedChildren;return Tr({},Sn,(Zt={},Zt[Jt.type]=[].concat(Sn[Jt.type]||[],[Tr({},zn,this.mapNestedChildrenToProps(Jt,Hn))]),Zt))},lt.prototype.mapObjectTypeChildren=function(_t){var Zt,Jt,Sn=_t.child,zn=_t.newProps,Hn=_t.newChildProps,Vn=_t.nestedChildren;switch(Sn.type){case mn.TITLE:return Tr({},zn,(Zt={},Zt[Sn.type]=Vn,Zt.titleAttributes=Tr({},Hn),Zt));case mn.BODY:return Tr({},zn,{bodyAttributes:Tr({},Hn)});case mn.HTML:return Tr({},zn,{htmlAttributes:Tr({},Hn)})}return Tr({},zn,(Jt={},Jt[Sn.type]=Tr({},Hn),Jt))},lt.prototype.mapArrayTypeChildrenToProps=function(_t,Zt){var Jt=Tr({},Zt);return Object.keys(_t).forEach(function(Sn){var zn;Jt=Tr({},Jt,(zn={},zn[Sn]=_t[Sn],zn))}),Jt},lt.prototype.warnOnInvalidChildren=function(_t,Zt){return!0},lt.prototype.mapChildrenToProps=function(_t,Zt){var Jt=this,Sn={};return o.Children.forEach(_t,function(zn){if(!(!zn||!zn.props)){var Hn=zn.props,Vn=Hn.children,qr=Nr(Hn,["children"]),fr=zi(qr);switch(Jt.warnOnInvalidChildren(zn,Vn),zn.type){case mn.LINK:case mn.META:case mn.NOSCRIPT:case mn.SCRIPT:case mn.STYLE:Sn=Jt.flattenArrayTypeChildren({child:zn,arrayTypeChildren:Sn,newChildProps:fr,nestedChildren:Vn});break;default:Zt=Jt.mapObjectTypeChildren({child:zn,newProps:Zt,newChildProps:fr,nestedChildren:Vn});break}}}),Zt=this.mapArrayTypeChildrenToProps(Sn,Zt),Zt},lt.prototype.render=function(){var _t=this.props,Zt=_t.children,Jt=Nr(_t,["children"]),Sn=Tr({},Jt);return Zt&&(Sn=this.mapChildrenToProps(Zt,Sn)),o.createElement(ve,Sn)},Ea(lt,null,[{key:"canUseDOM",set:function(_t){ve.canUseDOM=_t}}]),lt}(o.Component),Te.propTypes={base:mt().object,bodyAttributes:mt().object,children:mt().oneOfType([mt().arrayOf(mt().node),mt().node]),defaultTitle:mt().string,defer:mt().bool,encodeSpecialCharacters:mt().bool,htmlAttributes:mt().object,link:mt().arrayOf(mt().object),meta:mt().arrayOf(mt().object),noscript:mt().arrayOf(mt().object),onChangeClientState:mt().func,script:mt().arrayOf(mt().object),style:mt().arrayOf(mt().object),title:mt().string,titleAttributes:mt().object,titleTemplate:mt().string},Te.defaultProps={defer:!0,encodeSpecialCharacters:!0},Te.peek=ve.peek,Te.rewind=function(){var De=ve.rewind();return De||(De=mo({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),De},Pe},Vo=function(){return null},po=Kt()(Ye,Tn,mo)(Vo),go=Ma(po);go.renderStatic=go.rewind;var xo=null,no=function(){return(0,d.jsx)(d.Fragment,{})};no.displayName="INSERT_BLOCK_PLACEHOLDER"},57650:function(O,f,e){"use strict";var n=e(67294),a=n.createContext(null);f.Z=a},14027:function(O,f,e){"use strict";e.d(f,{B:function(){return l}});var n=e(32059),a=e(11849),o="routes";function l(u,d){var h=[].concat(u).map(function(y){var m=y.children||y[o];return m&&m!==null&&m!==void 0&&m.length?(0,a.Z)((0,a.Z)({},y),{},(0,n.Z)({children:m==null?void 0:m.map(function(T){return(0,a.Z)({},T)})},o,m==null?void 0:m.map(function(T){return(0,a.Z)({},T)}))):y});return h.map(function(y){var m=typeof y.unaccessible=="boolean"?!y.unaccessible:!0;if(y&&y.access){if(typeof y.access!="string")throw new Error('[plugin-access]: "access" field set in "'+y.path+'" route should be a string.');var T=d[y.access];typeof T=="function"?m=T(y):typeof T=="boolean"&&(m=T),y.unaccessible=!m}var C=y.children||y[o];if(C&&Array.isArray(C)&&C.length){if(!Array.isArray(C))return y;C.forEach(function(A){A.unaccessible=!m});var S=l(C,d),E=Array.isArray(S)&&S.every(function(A){return A.unaccessible});if(!y.unaccessible&&E&&(y.unaccessible=!0),S&&(S==null?void 0:S.length)>0)return(0,a.Z)((0,a.Z)({},y),{},(0,n.Z)({children:S},o,S));delete y.routes,delete y.children}return y})}},64353:function(O,f,e){"use strict";e.d(f,{B:function(){return _},PZ:function(){return I},WT:function(){return M},dh:function(){return F}});var n=e(84305),a=e(39559),o=e(2824),l=e(67294),u=e(17187),d=e.n(u),h=e(30381),y=e.n(h),m=e(83839),T=e.n(m),C=e(74152),S=e.n(C),E=e(10146),A=e(85893),_=new(d());_.setMaxListeners(5);var I=Symbol("LANG_CHANGE");function M(){var x=(0,E.Kd)();if(y()!==null&&y()!==void 0&&y().locale){var P;y().locale(((P=E.H8[x])===null||P===void 0?void 0:P.momentLocale)||"")}(0,E.cv)(x)}var H=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?l.useLayoutEffect:l.useEffect,F=function(P){var D,k=l.useState(function(){return(0,E.Kd)()}),Y=(0,o.Z)(k,2),q=Y[0],$=Y[1],le=l.useState(function(){return(0,E.lw)(q,!0)}),ie=(0,o.Z)(le,2),ne=ie[0],W=ie[1],Z=function(Q){if(y()!==null&&y()!==void 0&&y().locale){var de;y().locale(((de=E.H8[Q])===null||de===void 0?void 0:de.momentLocale)||"en")}$(Q),W((0,E.lw)(Q))};H(function(){return _.on(I,Z),function(){_.off(I,Z)}},[]);var N={},J=(0,E.Mg)();return(0,A.jsx)(a.ZP,{direction:J,locale:((D=E.H8[q])===null||D===void 0?void 0:D.antd)||N,children:(0,A.jsx)(E.eU,{value:ne,children:P.children})})}},10146:function(O,f,e){"use strict";e.d(f,{_H:function(){return cr},eU:function(){return _},XZ:function(){return Wa},Mg:function(){return Ha},lw:function(){return Tr},Kd:function(){return Nr},H8:function(){return Yr},cv:function(){return na},i_:function(){return Ta},YB:function(){return va}});var n=e(11849),a=e(69610),o=e(54941),l=e(81306),u=e(59206),d=e(67294),h=e.t(d,2),y=e(8679),m=e.n(y),T=m()||y;function C(Se){return Se.displayName||Se.name||"Component"}var S=d.createContext(null),E=S.Consumer,A=S.Provider,_=A,I=S;function M(Se,Le){var K=Le||{},Ye=K.intlPropName,ot=Ye===void 0?"intl":Ye,Vt=K.forwardRef,Xt=Vt===void 0?!1:Vt,an=K.enforceContext,An=an===void 0?!0:an,lr=function(pn){return React.createElement(E,null,function(Ln){return An&&invariantIntlContext(Ln),React.createElement(Se,Object.assign({},pn,_defineProperty({},ot,Ln),{ref:Xt?pn.forwardedRef:null}))})};return lr.displayName="injectIntl(".concat(C(Se),")"),lr.WrappedComponent=Se,T(Xt?React.forwardRef(function(Tn,pn){return React.createElement(lr,Object.assign({},Tn,{forwardedRef:pn}))}):lr,Se)}var H;(function(Se){Se[Se.literal=0]="literal",Se[Se.argument=1]="argument",Se[Se.number=2]="number",Se[Se.date=3]="date",Se[Se.time=4]="time",Se[Se.select=5]="select",Se[Se.plural=6]="plural",Se[Se.pound=7]="pound"})(H||(H={}));function F(Se){return Se.type===H.literal}function x(Se){return Se.type===H.argument}function P(Se){return Se.type===H.number}function D(Se){return Se.type===H.date}function k(Se){return Se.type===H.time}function Y(Se){return Se.type===H.select}function q(Se){return Se.type===H.plural}function $(Se){return Se.type===H.pound}function le(Se){return!!(Se&&typeof Se=="object"&&Se.type===0)}function ie(Se){return!!(Se&&typeof Se=="object"&&Se.type===1)}function ne(Se){return{type:H.literal,value:Se}}function W(Se,Le){return{type:H.number,value:Se,style:Le}}var Z=function(){var Se=function(Le,K){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ye,ot){Ye.__proto__=ot}||function(Ye,ot){for(var Vt in ot)ot.hasOwnProperty(Vt)&&(Ye[Vt]=ot[Vt])},Se(Le,K)};return function(Le,K){Se(Le,K);function Ye(){this.constructor=Le}Le.prototype=K===null?Object.create(K):(Ye.prototype=K.prototype,new Ye)}}(),N=function(){return N=Object.assign||function(Se){for(var Le,K=1,Ye=arguments.length;K0){for(Ln=1,sr=1;Ln1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1,defaultInstance:!1},De=!1,lt=!1,Et=!1;if(typeof Pe=="number"?(De=!0,lt=!1):N(Pe)==="object"&&Pe&&(lt=Pe.global||!1,De=Pe.core||!1,Et=Pe.defaultInstance||!1),lt){we.globalMiddlewares.splice(we.globalMiddlewares.length-we.defaultGlobalMiddlewaresLength,0,Te);return}if(De){we.coreMiddlewares.splice(we.coreMiddlewares.length-we.defaultCoreMiddlewaresLength,0,Te);return}if(Et){this.defaultMiddlewares.push(Te);return}this.middlewares.push(Te)}},{key:"execute",value:function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,Pe=dt([].concat(Fe(this.middlewares),Fe(this.defaultMiddlewares),Fe(we.globalMiddlewares),Fe(we.coreMiddlewares)));return Pe(Te)}}]),we}();rt.globalMiddlewares=[],rt.defaultGlobalMiddlewaresLength=0,rt.coreMiddlewares=[],rt.defaultCoreMiddlewaresLength=0;var bt=function(){function we(ve){J(this,we),this.cache=new Map,this.timer={},this.extendOptions(ve)}return Q(we,[{key:"extendOptions",value:function(Te){this.maxCache=Te.maxCache||0}},{key:"get",value:function(Te){return this.cache.get(JSON.stringify(Te))}},{key:"set",value:function(Te,Pe){var De=this,lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var Et=Fe(this.cache.keys())[0];this.cache.delete(Et),this.timer[Et]&&clearTimeout(this.timer[Et])}var _t=JSON.stringify(Te);this.cache.set(_t,Pe),lt>0&&(this.timer[_t]=setTimeout(function(){De.cache.delete(_t),delete De.timer[_t]},lt))}},{key:"delete",value:function(Te){var Pe=JSON.stringify(Te);return delete this.timer[Pe],this.cache.delete(Pe)}},{key:"clear",value:function(){return this.timer={},this.cache.clear()}}]),we}(),st=function(we){fe(Te,we);var ve=be(Te);function Te(Pe,De){var lt,Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"RequestError";return J(this,Te),lt=ve.call(this,Pe),lt.name="RequestError",lt.request=De,lt.type=Et,lt}return Te}(ee(Error)),ht=function(we){fe(Te,we);var ve=be(Te);function Te(Pe,De,lt,Et){var _t,Zt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"ResponseError";return J(this,Te),_t=ve.call(this,De||Pe.statusText),_t.name="ResponseError",_t.data=lt,_t.response=Pe,_t.request=Et,_t.type=Zt,_t}return Te}(ee(Error));function dn(we){return new Promise(function(ve,Te){var Pe=new FileReader;Pe.onload=function(){ve(Pe.result)},Pe.onerror=Te,Pe.readAsText(we,"GBK")})}function fn(we){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;try{return JSON.parse(we)}catch(De){if(ve)throw new ht(Te,"JSON.parse fail",we,Pe,"ParseError")}return we}function cn(we,ve,Te){return new Promise(function(Pe,De){setTimeout(function(){De(new st(ve||"timeout of ".concat(we,"ms exceeded"),Te,"Timeout"))},we)})}function gn(we){return new Promise(function(ve,Te){we.cancelToken&&we.cancelToken.promise.then(function(Pe){Te(Pe)})})}var tn=Object.prototype.toString;function yt(){var we;return typeof ne!="undefined"&&tn.call(ne)==="[object process]"&&(we="NODE"),typeof XMLHttpRequest!="undefined"&&(we="BROWSER"),we}function Qe(we){return N(we)==="object"&&Object.prototype.toString.call(we)==="[object Array]"}function Be(we){return typeof URLSearchParams!="undefined"&&we instanceof URLSearchParams}function Ke(we){return N(we)==="object"&&Object.prototype.toString.call(we)==="[object Date]"}function ut(we){return we!==null&&N(we)==="object"}function tt(we,ve){if(!!we)if(N(we)!=="object"&&(we=[we]),Qe(we))for(var Te=0;Te1&&arguments[1]!==void 0?arguments[1]:{},Pe=Te.prefix,De=Te.suffix;return Pe&&(ve="".concat(Pe).concat(ve)),De&&(ve="".concat(ve).concat(De)),{url:ve,options:Te}},ft=!1;function St(we,ve){var Te=ve.method,Pe=Te===void 0?"get":Te;return Pe.toLowerCase()==="get"}function Ge(we,ve){if(!we)return ve();var Te=we.req;Te=Te===void 0?{}:Te;var Pe=Te.options,De=Pe===void 0?{}:Pe,lt=Te.url,Et=lt===void 0?"":lt,_t=we.cache,Zt=we.responseInterceptors,Jt=De.timeout,Sn=Jt===void 0?0:Jt,zn=De.timeoutMessage,Hn=De.__umiRequestCoreType__,Vn=Hn===void 0?"normal":Hn,qr=De.useCache,fr=qr===void 0?!1:qr,ir=De.method,Cr=ir===void 0?"get":ir,ur=De.params,aa=De.ttl,er=De.validateCache,br=er===void 0?St:er;if(Vn!=="normal")return ve();var Bn=fetch;if(!Bn)throw new Error("Global fetch not exist!");var xa=yt()==="BROWSER",ha=br(Et,De)&&fr&&xa;if(ha){var ma=_t.get({url:Et,params:ur,method:Cr});if(ma)return ma=ma.clone(),ma.useCache=!0,we.res=ma,ve()}var Ua;return Sn>0?Ua=Promise.race([gn(De),Bn(Et,De),cn(Sn,zn,we.req)]):Ua=Promise.race([gn(De),Bn(Et,De)]),Zt.forEach(function(Vr){Ua=Ua.then(function(mr){var Va=typeof mr.clone=="function"?mr.clone():mr;return Vr(Va,De)})}),Ua.then(function(Vr){if(ha&&Vr.status===200){var mr=Vr.clone();mr.useCache=!0,_t.set({url:Et,params:ur,method:Cr},mr,aa)}return we.res=Vr,ve()})}function Pt(we,ve){var Te;return ve().then(function(){if(!!we){var Pe=we.res,De=Pe===void 0?{}:Pe,lt=we.req,Et=lt===void 0?{}:lt,_t=Et||{},Zt=_t.options;Zt=Zt===void 0?{}:Zt;var Jt=Zt.responseType,Sn=Jt===void 0?"json":Jt,zn=Zt.charset,Hn=zn===void 0?"utf8":zn,Vn=Zt.getResponse,qr=Zt.throwErrIfParseFail,fr=qr===void 0?!1:qr,ir=Zt.parseResponse,Cr=ir===void 0?!0:ir;if(!!Cr&&!(!De||!De.clone)){if(Te=yt()==="BROWSER"?De.clone():De,Te.useCache=De.useCache||!1,Hn==="gbk")try{return De.blob().then(dn).then(function(ur){return fn(ur,!1,Te,Et)})}catch(ur){throw new ht(Te,ur.message,null,Et,"ParseError")}else if(Sn==="json")return De.text().then(function(ur){return fn(ur,fr,Te,Et)});try{return De[Sn]()}catch(ur){throw new ht(Te,"responseType not support",null,Et,"ParseError")}}}}).then(function(Pe){if(!!we){var De=we.res,lt=we.req,Et=lt===void 0?{}:lt,_t=Et||{},Zt=_t.options;Zt=Zt===void 0?{}:Zt;var Jt=Zt.getResponse,Sn=Jt===void 0?!1:Jt;if(!!Te){if(Te.status>=200&&Te.status<300){if(Sn){we.res={data:Pe,response:Te};return}we.res=Pe;return}throw new ht(Te,"http error",Pe,Et,"HttpError")}}}).catch(function(Pe){if(Pe instanceof st||Pe instanceof ht)throw Pe;var De=we.req,lt=we.res;throw Pe.request=Pe.request||De,Pe.response=Pe.response||lt,Pe.type=Pe.type||Pe.name,Pe.data=Pe.data||void 0,Pe})}function Mt(we,ve){if(!we)return ve();var Te=we.req;Te=Te===void 0?{}:Te;var Pe=Te.options,De=Pe===void 0?{}:Pe,lt=De.method,Et=lt===void 0?"get":lt;if(["post","put","patch","delete"].indexOf(Et.toLowerCase())===-1)return ve();var _t=De.requestType,Zt=_t===void 0?"json":_t,Jt=De.data;if(Jt){var Sn=Object.prototype.toString.call(Jt);Sn==="[object Object]"||Sn==="[object Array]"?Zt==="json"?(De.headers=Z({Accept:"application/json","Content-Type":"application/json;charset=UTF-8"},De.headers),De.body=JSON.stringify(Jt)):Zt==="form"&&(De.headers=Z({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},De.headers),De.body=Ce(Jt)):(De.headers=Z({Accept:"application/json"},De.headers),De.body=Jt)}return we.req.options=De,ve()}function Ft(we,ve){var Te,Pe;if(we)if(ve)Te=ve(we);else if(Be(we))Te=we.toString();else if(Qe(we))Pe=[],tt(we,function(lt){lt===null||typeof lt=="undefined"?Pe.push(lt):Pe.push(ut(lt)?JSON.stringify(lt):lt)}),Te=Ce(Pe);else{Pe={},tt(we,function(lt,Et){var _t=lt;lt===null||typeof lt=="undefined"?Pe[Et]=lt:Ke(lt)?_t=lt.toISOString():Qe(lt)?_t=lt:ut(lt)&&(_t=JSON.stringify(lt)),Pe[Et]=_t});var De=Ce(Pe);Te=De}return Te}function Nt(we,ve){if(!we)return ve();var Te=we.req;Te=Te===void 0?{}:Te;var Pe=Te.options,De=Pe===void 0?{}:Pe,lt=De.paramsSerializer,Et=De.params,_t=we.req;_t=_t===void 0?{}:_t;var Zt=_t.url,Jt=Zt===void 0?"":Zt;De.method=De.method?De.method.toUpperCase():"GET",De.credentials=De.credentials||"same-origin";var Sn=Ft(Et,lt);if(we.req.originUrl=Jt,Sn){var zn=Jt.indexOf("?")!==-1?"&":"?";we.req.url="".concat(Jt).concat(zn).concat(Sn)}return we.req.options=De,ve()}var Qt=[Mt,Nt,Pt],Mn=[Ge];rt.globalMiddlewares=Qt,rt.defaultGlobalMiddlewaresLength=Qt.length,rt.coreMiddlewares=Mn,rt.defaultCoreMiddlewaresLength=Mn.length;var En=function(){function we(ve){J(this,we),this.onion=new rt([]),this.fetchIndex=0,this.mapCache=new bt(ve),this.initOptions=ve,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return Q(we,[{key:"use",value:function(Te){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1};return this.onion.use(Te,Pe),this}},{key:"extendOptions",value:function(Te){this.initOptions=Me(this.initOptions,Te),this.mapCache.extendOptions(Te)}},{key:"dealRequestInterceptors",value:function(Te){var Pe=function(Et,_t){return Et.then(function(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Te.req.url=Zt.url||Te.req.url,Te.req.options=Zt.options||Te.req.options,_t(Te.req.url,Te.req.options)})},De=[].concat(Fe(we.requestInterceptors),Fe(this.instanceRequestInterceptors));return De.reduce(Pe,Promise.resolve()).then(function(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Te.req.url=lt.url||Te.req.url,Te.req.options=lt.options||Te.req.options,Promise.resolve()})}},{key:"request",value:function(Te,Pe){var De=this,lt=this.onion,Et={req:{url:Te,options:Z(Z({},Pe),{},{url:Te})},res:null,cache:this.mapCache,responseInterceptors:[].concat(Fe(we.responseInterceptors),Fe(this.instanceResponseInterceptors))};if(typeof Te!="string")throw new Error("url MUST be a string");return new Promise(function(_t,Zt){De.dealRequestInterceptors(Et).then(function(){return lt.execute(Et)}).then(function(){_t(Et.res)}).catch(function(Jt){var Sn=Et.req.options.errorHandler;if(Sn)try{var zn=Sn(Jt);_t(zn)}catch(Hn){Zt(Hn)}else Zt(Jt)})})}}],[{key:"requestUse",value:function(Te){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof Te!="function")throw new TypeError("Interceptor must be function!");Pe.global?we.requestInterceptors.push(Te):this.instanceRequestInterceptors.push(Te)}},{key:"responseUse",value:function(Te){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof Te!="function")throw new TypeError("Interceptor must be function!");Pe.global?we.responseInterceptors.push(Te):this.instanceResponseInterceptors.push(Te)}}]),we}();En.requestInterceptors=[qe],En.responseInterceptors=[];function Zn(we){this.message=we}Zn.prototype.toString=function(){return this.message?"Cancel: ".concat(this.message):"Cancel"},Zn.prototype.__CANCEL__=!0;function Qn(we){if(typeof we!="function")throw new TypeError("executor must be a function.");var ve;this.promise=new Promise(function(De){ve=De});var Te=this;we(function(De){Te.reason||(Te.reason=new Zn(De),ve(Te.reason))})}Qn.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Qn.source=function(){var ve,Te=new Qn(function(De){ve=De});return{token:Te,cancel:ve}};function Ut(we){return!!(we&&we.__CANCEL__)}var Dn=function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Te=new En(ve),Pe=function(Et){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Zt=Me(Te.initOptions,_t);return Te.request(Et,Zt)};Pe.use=Te.use.bind(Te),Pe.fetchIndex=Te.fetchIndex,Pe.interceptors={request:{use:En.requestUse.bind(Te)},response:{use:En.responseUse.bind(Te)}};var De=["get","post","delete","put","patch","head","options","rpc"];return De.forEach(function(lt){Pe[lt]=function(Et,_t){return Pe(Et,Z(Z({},_t),{},{method:lt}))}}),Pe.Cancel=Zn,Pe.CancelToken=Qn,Pe.isCancel=Ut,Pe.extendOptions=Te.extendOptions.bind(Te),Pe.middlewares={instance:Te.onion.middlewares,defaultInstance:Te.onion.defaultMiddlewares,global:rt.globalMiddlewares,core:rt.coreMiddlewares},Pe},yr=function(ve){return Dn(ve)},Gt=Dn({parseResponse:!1}),Oa=Dn({}),zr=null,Er=e(79004),Or=e(92989),Kn=e(91296),wr=e.n(Kn),ua=e(93096),Wn=e.n(ua);function Ne(){return typeof document!="undefined"&&typeof document.visibilityState!="undefined"?document.visibilityState!=="hidden":!0}function gt(){return typeof navigator.onLine!="undefined"?navigator.onLine:!0}var it=new Map,Tt=function(ve,Te,Pe){var De=it.get(ve);(De==null?void 0:De.timer)&&clearTimeout(De.timer);var lt=void 0;Te>-1&&(lt=setTimeout(function(){it.delete(ve)},Te)),it.set(ve,{data:Pe,timer:lt,startTime:new Date().getTime()})},Rt=function(ve){var Te=it.get(ve);return{data:Te==null?void 0:Te.data,startTime:Te==null?void 0:Te.startTime}},Fn=function(we,ve){var Te=typeof Symbol=="function"&&we[Symbol.iterator];if(!Te)return we;var Pe=Te.call(we),De,lt=[],Et;try{for(;(ve===void 0||ve-- >0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},_n=function(){for(var we=[],ve=0;ve0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},Xn=function(){for(var we=[],ve=0;ve0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},Pn=function(){for(var we=[],ve=0;ve0){var fi=ma&&((_a=getCache(ma))===null||_a===void 0?void 0:_a.startTime)||0;Va===-1||new Date().getTime()-fi<=Va||Object.values(ki).forEach(function(hi){hi.refresh()})}else Oo.current.apply(Oo,Pn(aa))},[]);var Po=useCallback(function(){Object.values(Oi.current).forEach(function(_a){_a.unmount()}),Mi.current=tr,Ca({}),Oi.current={}},[Ca]);useUpdateEffect(function(){Et||Object.values(Oi.current).forEach(function(_a){_a.refresh()})},Pn(De)),useEffect(function(){return function(){Object.values(Oi.current).forEach(function(_a){_a.unmount()})}},[]);var wo=useCallback(function(_a){return function(){console.warn("You should't call "+_a+" when service not executed once.")}},[]);return yn(yn({loading:di&&!Et||Hn,data:ri,error:void 0,params:[],cancel:wo("cancel"),refresh:wo("refresh"),mutate:wo("mutate")},ki[Mi.current]||{}),{run:jo,fetches:ki,reset:Po})}var Rr=null,hr=function(){return hr=Object.assign||function(we){for(var ve,Te=1,Pe=arguments.length;Te0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},or=function(){for(var we=[],ve=0;ve0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},$r=function(){for(var we=[],ve=0;veBo&&(di=Math.max(1,Bo)),ha({current:di,pageSize:Zi})},[ma,ha]),mr=useCallback(function(ri){Vr(ri,aa)},[Vr,aa]),Va=useCallback(function(ri){Vr(Cr,ri)},[Vr,Cr]),yi=useRef(mr);yi.current=mr,useUpdateEffect(function(){ve.manual||yi.current(1)},$r(Et));var Bi=useCallback(function(ri,Ei,di){ha({current:ri.current,pageSize:ri.pageSize||De,filters:Ei,sorter:di})},[xa,br,ha]);return cr({loading:Vn,data:Sn,params:zn,run:Hn,pagination:{current:Cr,pageSize:aa,total:ma,totalPage:Ua,onChange:Vr,changeCurrent:mr,changePageSize:Va},tableProps:{dataSource:(Sn==null?void 0:Sn.list)||[],loading:Vn,onChange:Bi,pagination:{current:Cr,pageSize:aa,total:ma}},sorter:br,filters:xa},qr)}var La=null,ga=o.createContext({});ga.displayName="UseRequestConfigContext";var We=ga,Oe=function(){return Oe=Object.assign||function(we){for(var ve,Te=1,Pe=arguments.length;Te0)&&!(De=Pe.next()).done;)lt.push(De.value)}catch(_t){Et={error:_t}}finally{try{De&&!De.done&&(Te=Pe.return)&&Te.call(Pe)}finally{if(Et)throw Et.error}}return lt},U=function(){for(var we=[],ve=0;ve1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(we,_objectSpread({formatResult:function(Pe){return Pe==null?void 0:Pe.data},requestMethod:function(Pe){if(typeof Pe=="string")return vt(Pe);if(typeof Pe=="object"){var De=Pe.url,lt=_objectWithoutProperties(Pe,He);return vt(De,lt)}throw new Error("request options error")}},ve))}var Je;(function(we){we[we.SILENT=0]="SILENT",we[we.WARN_MESSAGE=1]="WARN_MESSAGE",we[we.ERROR_MESSAGE=2]="ERROR_MESSAGE",we[we.NOTIFICATION=4]="NOTIFICATION",we[we.REDIRECT=9]="REDIRECT"})(Je||(Je={}));var Ot="/exception",Dt,kt=function(){var ve;if(Dt)return Dt;var Te=a.B.applyPlugins({key:"request",type:Er.Ac.modify,initialValue:{}}),Pe=((ve=Te.errorConfig)===null||ve===void 0?void 0:ve.adaptor)||function(_t){return _t};Dt=yr((0,E.Z)({errorHandler:function(Zt){var Jt,Sn,zn;if(Zt!=null&&(Jt=Zt.request)!==null&&Jt!==void 0&&(Sn=Jt.options)!==null&&Sn!==void 0&&Sn.skipErrorHandler)throw Zt;var Hn;if(Zt.name==="ResponseError"&&Zt.data&&Zt.request){var Vn,qr={req:Zt.request,res:Zt.response};Hn=Pe(Zt.data,qr),Zt.message=((Vn=Hn)===null||Vn===void 0?void 0:Vn.errorMessage)||Zt.message,Zt.data=Zt.data,Zt.info=Hn}if(Hn=Zt.info,Hn){var fr,ir,Cr,ur=(fr=Hn)===null||fr===void 0?void 0:fr.errorMessage,aa=(ir=Hn)===null||ir===void 0?void 0:ir.errorCode,er=((Cr=Te.errorConfig)===null||Cr===void 0?void 0:Cr.errorPage)||Ot;switch((zn=Hn)===null||zn===void 0?void 0:zn.showType){case Je.SILENT:break;case Je.WARN_MESSAGE:Or.yw.warn(ur);break;case Je.ERROR_MESSAGE:Or.yw.error(ur);break;case Je.NOTIFICATION:Or.t6.open({description:ur,message:aa});break;case Je.REDIRECT:n.m.push({pathname:er,query:{errorCode:aa,errorMessage:ur}});break;default:Or.yw.error(ur);break}}else Or.yw.error(Zt.message||"Request error, please retry.");throw Zt}},Te)),Dt.use(function(){var _t=(0,$.Z)((0,q.Z)().mark(function Zt(Jt,Sn){var zn,Hn,Vn,qr,fr,ir,Cr,ur;return(0,q.Z)().wrap(function(er){for(;;)switch(er.prev=er.next){case 0:return er.next=2,Sn();case 2:if(Hn=Jt.req,Vn=Jt.res,!((zn=Hn.options)!==null&&zn!==void 0&&zn.skipErrorHandler)){er.next=5;break}return er.abrupt("return");case 5:if(qr=Hn.options,fr=qr.getResponse,ir=fr?Vn.data:Vn,Cr=Pe(ir,Jt),Cr.success!==!1){er.next=16;break}throw ur=new Error(Cr.errorMessage),ur.name="BizError",ur.data=ir,ur.info=Cr,ur.response=Vn,ur;case 16:case"end":return er.stop()}},Zt)}));return function(Zt,Jt){return _t.apply(this,arguments)}}());var De=Te.middlewares||[];De.forEach(function(_t){Dt.use(_t)});var lt=Te.requestInterceptors||[],Et=Te.responseInterceptors||[];return lt.map(function(_t){Dt.interceptors.request.use(_t)}),Et.map(function(_t){Dt.interceptors.response.use(_t)}),Dt},vt=function(ve,Te){var Pe=kt();return Pe(ve,Te)},Ct=e(45697),mt=e.n(Ct),rn=e(83524),Kt=e.n(rn),On=e(69590),In=e.n(On),bn=e(27418),qn=e.n(bn),Un={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},mn={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},Sr=Object.keys(mn).map(function(we){return mn[we]}),Rn={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},nr={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ar={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},Zr=Object.keys(nr).reduce(function(we,ve){return we[nr[ve]]=ve,we},{}),za=[mn.NOSCRIPT,mn.SCRIPT,mn.STYLE],oa="data-react-helmet",qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(we){return typeof we}:function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we},Yr=function(we,ve){if(!(we instanceof ve))throw new TypeError("Cannot call a class as a function")},Ea=function(){function we(ve,Te){for(var Pe=0;Pe=0||!Object.prototype.hasOwnProperty.call(we,Pe)||(Te[Pe]=we[Pe]);return Te},Ha=function(we,ve){if(!we)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve&&(typeof ve=="object"||typeof ve=="function")?ve:we},Ta=function(ve){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Te===!1?String(ve):String(ve).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},ei=function(ve){var Te=K(ve,mn.TITLE),Pe=K(ve,ar.TITLE_TEMPLATE);if(Pe&&Te)return Pe.replace(/%s/g,function(){return Array.isArray(Te)?Te.join(""):Te});var De=K(ve,ar.DEFAULT_TITLE);return Te||De||void 0},ja=function(ve){return K(ve,ar.ON_CHANGE_CLIENT_STATE)||function(){}},Wa=function(ve,Te){return Te.filter(function(Pe){return typeof Pe[ve]!="undefined"}).map(function(Pe){return Pe[ve]}).reduce(function(Pe,De){return Tr({},Pe,De)},{})},Se=function(ve,Te){return Te.filter(function(Pe){return typeof Pe[mn.BASE]!="undefined"}).map(function(Pe){return Pe[mn.BASE]}).reverse().reduce(function(Pe,De){if(!Pe.length)for(var lt=Object.keys(De),Et=0;Et=0;Pe--){var De=ve[Pe];if(De.hasOwnProperty(Te))return De[Te]}return null},Ye=function(ve){return{baseTag:Se([Rn.HREF,Rn.TARGET],ve),bodyAttributes:Wa(Un.BODY,ve),defer:K(ve,ar.DEFER),encode:K(ve,ar.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Wa(Un.HTML,ve),linkTags:Le(mn.LINK,[Rn.REL,Rn.HREF],ve),metaTags:Le(mn.META,[Rn.NAME,Rn.CHARSET,Rn.HTTPEQUIV,Rn.PROPERTY,Rn.ITEM_PROP],ve),noscriptTags:Le(mn.NOSCRIPT,[Rn.INNER_HTML],ve),onChangeClientState:ja(ve),scriptTags:Le(mn.SCRIPT,[Rn.SRC,Rn.INNER_HTML],ve),styleTags:Le(mn.STYLE,[Rn.CSS_TEXT],ve),title:ei(ve),titleAttributes:Wa(Un.TITLE,ve)}},ot=function(){var we=Date.now();return function(ve){var Te=Date.now();Te-we>16?(we=Te,ve(Te)):setTimeout(function(){ot(ve)},0)}}(),Vt=function(ve){return clearTimeout(ve)},Xt=typeof window!="undefined"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ot:e.g.requestAnimationFrame||ot,an=typeof window!="undefined"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Vt:e.g.cancelAnimationFrame||Vt,An=function(ve){return console&&typeof console.warn=="function"&&console.warn(ve)},lr=null,Tn=function(ve){lr&&an(lr),ve.defer?lr=Xt(function(){pn(ve,function(){lr=null})}):(pn(ve),lr=null)},pn=function(ve,Te){var Pe=ve.baseTag,De=ve.bodyAttributes,lt=ve.htmlAttributes,Et=ve.linkTags,_t=ve.metaTags,Zt=ve.noscriptTags,Jt=ve.onChangeClientState,Sn=ve.scriptTags,zn=ve.styleTags,Hn=ve.title,Vn=ve.titleAttributes;ra(mn.BODY,De),ra(mn.HTML,lt),sr(Hn,Vn);var qr={baseTag:ni(mn.BASE,Pe),linkTags:ni(mn.LINK,Et),metaTags:ni(mn.META,_t),noscriptTags:ni(mn.NOSCRIPT,Zt),scriptTags:ni(mn.SCRIPT,Sn),styleTags:ni(mn.STYLE,zn)},fr={},ir={};Object.keys(qr).forEach(function(Cr){var ur=qr[Cr],aa=ur.newTags,er=ur.oldTags;aa.length&&(fr[Cr]=aa),er.length&&(ir[Cr]=qr[Cr].oldTags)}),Te&&Te(),Jt(ve,fr,ir)},Ln=function(ve){return Array.isArray(ve)?ve.join(""):ve},sr=function(ve,Te){typeof ve!="undefined"&&document.title!==ve&&(document.title=Ln(ve)),ra(mn.TITLE,Te)},ra=function(ve,Te){var Pe=document.getElementsByTagName(ve)[0];if(!!Pe){for(var De=Pe.getAttribute(oa),lt=De?De.split(","):[],Et=[].concat(lt),_t=Object.keys(Te),Zt=0;Zt<_t.length;Zt++){var Jt=_t[Zt],Sn=Te[Jt]||"";Pe.getAttribute(Jt)!==Sn&&Pe.setAttribute(Jt,Sn),lt.indexOf(Jt)===-1&<.push(Jt);var zn=Et.indexOf(Jt);zn!==-1&&Et.splice(zn,1)}for(var Hn=Et.length-1;Hn>=0;Hn--)Pe.removeAttribute(Et[Hn]);lt.length===Et.length?Pe.removeAttribute(oa):Pe.getAttribute(oa)!==_t.join(",")&&Pe.setAttribute(oa,_t.join(","))}},ni=function(ve,Te){var Pe=document.head||document.querySelector(mn.HEAD),De=Pe.querySelectorAll(ve+"["+oa+"]"),lt=Array.prototype.slice.call(De),Et=[],_t=void 0;return Te&&Te.length&&Te.forEach(function(Zt){var Jt=document.createElement(ve);for(var Sn in Zt)if(Zt.hasOwnProperty(Sn))if(Sn===Rn.INNER_HTML)Jt.innerHTML=Zt.innerHTML;else if(Sn===Rn.CSS_TEXT)Jt.styleSheet?Jt.styleSheet.cssText=Zt.cssText:Jt.appendChild(document.createTextNode(Zt.cssText));else{var zn=typeof Zt[Sn]=="undefined"?"":Zt[Sn];Jt.setAttribute(Sn,zn)}Jt.setAttribute(oa,"true"),lt.some(function(Hn,Vn){return _t=Vn,Jt.isEqualNode(Hn)})?lt.splice(_t,1):Et.push(Jt)}),lt.forEach(function(Zt){return Zt.parentNode.removeChild(Zt)}),Et.forEach(function(Zt){return Pe.appendChild(Zt)}),{oldTags:lt,newTags:Et}},Vi=function(ve){return Object.keys(ve).reduce(function(Te,Pe){var De=typeof ve[Pe]!="undefined"?Pe+'="'+ve[Pe]+'"':""+Pe;return Te?Te+" "+De:De},"")},ci=function(ve,Te,Pe,De){var lt=Vi(Pe),Et=Ln(Te);return lt?"<"+ve+" "+oa+'="true" '+lt+">"+Ta(Et,De)+"":"<"+ve+" "+oa+'="true">'+Ta(Et,De)+""},Yi=function(ve,Te,Pe){return Te.reduce(function(De,lt){var Et=Object.keys(lt).filter(function(Jt){return!(Jt===Rn.INNER_HTML||Jt===Rn.CSS_TEXT)}).reduce(function(Jt,Sn){var zn=typeof lt[Sn]=="undefined"?Sn:Sn+'="'+Ta(lt[Sn],Pe)+'"';return Jt?Jt+" "+zn:zn},""),_t=lt.innerHTML||lt.cssText||"",Zt=za.indexOf(ve)===-1;return De+"<"+ve+" "+oa+'="true" '+Et+(Zt?"/>":">"+_t+"")},"")},ui=function(ve){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(ve).reduce(function(Pe,De){return Pe[nr[De]||De]=ve[De],Pe},Te)},zi=function(ve){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(ve).reduce(function(Pe,De){return Pe[Zr[De]||De]=ve[De],Pe},Te)},ho=function(ve,Te,Pe){var De,lt=(De={key:Te},De[oa]=!0,De),Et=ui(Pe,lt);return[o.createElement(mn.TITLE,Et,Te)]},Ri=function(ve,Te){return Te.map(function(Pe,De){var lt,Et=(lt={key:De},lt[oa]=!0,lt);return Object.keys(Pe).forEach(function(_t){var Zt=nr[_t]||_t;if(Zt===Rn.INNER_HTML||Zt===Rn.CSS_TEXT){var Jt=Pe.innerHTML||Pe.cssText;Et.dangerouslySetInnerHTML={__html:Jt}}else Et[Zt]=Pe[_t]}),o.createElement(ve,Et)})},gi=function(ve,Te,Pe){switch(ve){case mn.TITLE:return{toComponent:function(){return ho(ve,Te.title,Te.titleAttributes,Pe)},toString:function(){return ci(ve,Te.title,Te.titleAttributes,Pe)}};case Un.BODY:case Un.HTML:return{toComponent:function(){return ui(Te)},toString:function(){return Vi(Te)}};default:return{toComponent:function(){return Ri(ve,Te)},toString:function(){return Yi(ve,Te,Pe)}}}},mo=function(ve){var Te=ve.baseTag,Pe=ve.bodyAttributes,De=ve.encode,lt=ve.htmlAttributes,Et=ve.linkTags,_t=ve.metaTags,Zt=ve.noscriptTags,Jt=ve.scriptTags,Sn=ve.styleTags,zn=ve.title,Hn=zn===void 0?"":zn,Vn=ve.titleAttributes;return{base:gi(mn.BASE,Te,De),bodyAttributes:gi(Un.BODY,Pe,De),htmlAttributes:gi(Un.HTML,lt,De),link:gi(mn.LINK,Et,De),meta:gi(mn.META,_t,De),noscript:gi(mn.NOSCRIPT,Zt,De),script:gi(mn.SCRIPT,Jt,De),style:gi(mn.STYLE,Sn,De),title:gi(mn.TITLE,{title:Hn,titleAttributes:Vn},De)}},Ma=function(ve){var Te,Pe;return Pe=Te=function(De){na(lt,De);function lt(){return Yr(this,lt),Ha(this,De.apply(this,arguments))}return lt.prototype.shouldComponentUpdate=function(_t){return!In()(this.props,_t)},lt.prototype.mapNestedChildrenToProps=function(_t,Zt){if(!Zt)return null;switch(_t.type){case mn.SCRIPT:case mn.NOSCRIPT:return{innerHTML:Zt};case mn.STYLE:return{cssText:Zt}}throw new Error("<"+_t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},lt.prototype.flattenArrayTypeChildren=function(_t){var Zt,Jt=_t.child,Sn=_t.arrayTypeChildren,zn=_t.newChildProps,Hn=_t.nestedChildren;return Tr({},Sn,(Zt={},Zt[Jt.type]=[].concat(Sn[Jt.type]||[],[Tr({},zn,this.mapNestedChildrenToProps(Jt,Hn))]),Zt))},lt.prototype.mapObjectTypeChildren=function(_t){var Zt,Jt,Sn=_t.child,zn=_t.newProps,Hn=_t.newChildProps,Vn=_t.nestedChildren;switch(Sn.type){case mn.TITLE:return Tr({},zn,(Zt={},Zt[Sn.type]=Vn,Zt.titleAttributes=Tr({},Hn),Zt));case mn.BODY:return Tr({},zn,{bodyAttributes:Tr({},Hn)});case mn.HTML:return Tr({},zn,{htmlAttributes:Tr({},Hn)})}return Tr({},zn,(Jt={},Jt[Sn.type]=Tr({},Hn),Jt))},lt.prototype.mapArrayTypeChildrenToProps=function(_t,Zt){var Jt=Tr({},Zt);return Object.keys(_t).forEach(function(Sn){var zn;Jt=Tr({},Jt,(zn={},zn[Sn]=_t[Sn],zn))}),Jt},lt.prototype.warnOnInvalidChildren=function(_t,Zt){return!0},lt.prototype.mapChildrenToProps=function(_t,Zt){var Jt=this,Sn={};return o.Children.forEach(_t,function(zn){if(!(!zn||!zn.props)){var Hn=zn.props,Vn=Hn.children,qr=Nr(Hn,["children"]),fr=zi(qr);switch(Jt.warnOnInvalidChildren(zn,Vn),zn.type){case mn.LINK:case mn.META:case mn.NOSCRIPT:case mn.SCRIPT:case mn.STYLE:Sn=Jt.flattenArrayTypeChildren({child:zn,arrayTypeChildren:Sn,newChildProps:fr,nestedChildren:Vn});break;default:Zt=Jt.mapObjectTypeChildren({child:zn,newProps:Zt,newChildProps:fr,nestedChildren:Vn});break}}}),Zt=this.mapArrayTypeChildrenToProps(Sn,Zt),Zt},lt.prototype.render=function(){var _t=this.props,Zt=_t.children,Jt=Nr(_t,["children"]),Sn=Tr({},Jt);return Zt&&(Sn=this.mapChildrenToProps(Zt,Sn)),o.createElement(ve,Sn)},Ea(lt,null,[{key:"canUseDOM",set:function(_t){ve.canUseDOM=_t}}]),lt}(o.Component),Te.propTypes={base:mt().object,bodyAttributes:mt().object,children:mt().oneOfType([mt().arrayOf(mt().node),mt().node]),defaultTitle:mt().string,defer:mt().bool,encodeSpecialCharacters:mt().bool,htmlAttributes:mt().object,link:mt().arrayOf(mt().object),meta:mt().arrayOf(mt().object),noscript:mt().arrayOf(mt().object),onChangeClientState:mt().func,script:mt().arrayOf(mt().object),style:mt().arrayOf(mt().object),title:mt().string,titleAttributes:mt().object,titleTemplate:mt().string},Te.defaultProps={defer:!0,encodeSpecialCharacters:!0},Te.peek=ve.peek,Te.rewind=function(){var De=ve.rewind();return De||(De=mo({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),De},Pe},Vo=function(){return null},po=Kt()(Ye,Tn,mo)(Vo),go=Ma(po);go.renderStatic=go.rewind;var xo=null,no=function(){return(0,d.jsx)(d.Fragment,{})};no.displayName="INSERT_BLOCK_PLACEHOLDER"},57650:function(O,f,e){"use strict";var n=e(67294),a=n.createContext(null);f.Z=a},14027:function(O,f,e){"use strict";e.d(f,{B:function(){return l}});var n=e(32059),a=e(11849),o="routes";function l(u,d){var h=[].concat(u).map(function(y){var m=y.children||y[o];return m&&m!==null&&m!==void 0&&m.length?(0,a.Z)((0,a.Z)({},y),{},(0,n.Z)({children:m==null?void 0:m.map(function(T){return(0,a.Z)({},T)})},o,m==null?void 0:m.map(function(T){return(0,a.Z)({},T)}))):y});return h.map(function(y){var m=typeof y.unaccessible=="boolean"?!y.unaccessible:!0;if(y&&y.access){if(typeof y.access!="string")throw new Error('[plugin-access]: "access" field set in "'+y.path+'" route should be a string.');var T=d[y.access];typeof T=="function"?m=T(y):typeof T=="boolean"&&(m=T),y.unaccessible=!m}var C=y.children||y[o];if(C&&Array.isArray(C)&&C.length){if(!Array.isArray(C))return y;C.forEach(function(A){A.unaccessible=!m});var S=l(C,d),E=Array.isArray(S)&&S.every(function(A){return A.unaccessible});if(!y.unaccessible&&E&&(y.unaccessible=!0),S&&(S==null?void 0:S.length)>0)return(0,a.Z)((0,a.Z)({},y),{},(0,n.Z)({children:S},o,S));delete y.routes,delete y.children}return y})}},64353:function(O,f,e){"use strict";e.d(f,{B:function(){return _},PZ:function(){return I},WT:function(){return M},dh:function(){return F}});var n=e(84305),a=e(39559),o=e(2824),l=e(67294),u=e(17187),d=e.n(u),h=e(30381),y=e.n(h),m=e(83839),T=e.n(m),C=e(74152),S=e.n(C),E=e(10146),A=e(85893),_=new(d());_.setMaxListeners(5);var I=Symbol("LANG_CHANGE");function M(){var x=(0,E.Kd)();if(y()!==null&&y()!==void 0&&y().locale){var P;y().locale(((P=E.H8[x])===null||P===void 0?void 0:P.momentLocale)||"")}(0,E.cv)(x)}var H=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?l.useLayoutEffect:l.useEffect,F=function(P){var D,k=l.useState(function(){return(0,E.Kd)()}),Y=(0,o.Z)(k,2),q=Y[0],$=Y[1],le=l.useState(function(){return(0,E.lw)(q,!0)}),ie=(0,o.Z)(le,2),ne=ie[0],W=ie[1],Z=function(Q){if(y()!==null&&y()!==void 0&&y().locale){var de;y().locale(((de=E.H8[Q])===null||de===void 0?void 0:de.momentLocale)||"en")}$(Q),W((0,E.lw)(Q))};H(function(){return _.on(I,Z),function(){_.off(I,Z)}},[]);var N={},J=(0,E.Mg)();return(0,A.jsx)(a.ZP,{direction:J,locale:((D=E.H8[q])===null||D===void 0?void 0:D.antd)||N,children:(0,A.jsx)(E.eU,{value:ne,children:P.children})})}},10146:function(O,f,e){"use strict";e.d(f,{_H:function(){return cr},eU:function(){return _},XZ:function(){return Wa},Mg:function(){return Ha},lw:function(){return Tr},Kd:function(){return Nr},H8:function(){return Yr},cv:function(){return na},i_:function(){return Ta},YB:function(){return va}});var n=e(11849),a=e(69610),o=e(54941),l=e(81306),u=e(59206),d=e(67294),h=e.t(d,2),y=e(8679),m=e.n(y),T=m()||y;function C(Se){return Se.displayName||Se.name||"Component"}var S=d.createContext(null),E=S.Consumer,A=S.Provider,_=A,I=S;function M(Se,Le){var K=Le||{},Ye=K.intlPropName,ot=Ye===void 0?"intl":Ye,Vt=K.forwardRef,Xt=Vt===void 0?!1:Vt,an=K.enforceContext,An=an===void 0?!0:an,lr=function(pn){return React.createElement(E,null,function(Ln){return An&&invariantIntlContext(Ln),React.createElement(Se,Object.assign({},pn,_defineProperty({},ot,Ln),{ref:Xt?pn.forwardedRef:null}))})};return lr.displayName="injectIntl(".concat(C(Se),")"),lr.WrappedComponent=Se,T(Xt?React.forwardRef(function(Tn,pn){return React.createElement(lr,Object.assign({},Tn,{forwardedRef:pn}))}):lr,Se)}var H;(function(Se){Se[Se.literal=0]="literal",Se[Se.argument=1]="argument",Se[Se.number=2]="number",Se[Se.date=3]="date",Se[Se.time=4]="time",Se[Se.select=5]="select",Se[Se.plural=6]="plural",Se[Se.pound=7]="pound"})(H||(H={}));function F(Se){return Se.type===H.literal}function x(Se){return Se.type===H.argument}function P(Se){return Se.type===H.number}function D(Se){return Se.type===H.date}function k(Se){return Se.type===H.time}function Y(Se){return Se.type===H.select}function q(Se){return Se.type===H.plural}function $(Se){return Se.type===H.pound}function le(Se){return!!(Se&&typeof Se=="object"&&Se.type===0)}function ie(Se){return!!(Se&&typeof Se=="object"&&Se.type===1)}function ne(Se){return{type:H.literal,value:Se}}function W(Se,Le){return{type:H.number,value:Se,style:Le}}var Z=function(){var Se=function(Le,K){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ye,ot){Ye.__proto__=ot}||function(Ye,ot){for(var Vt in ot)ot.hasOwnProperty(Vt)&&(Ye[Vt]=ot[Vt])},Se(Le,K)};return function(Le,K){Se(Le,K);function Ye(){this.constructor=Le}Le.prototype=K===null?Object.create(K):(Ye.prototype=K.prototype,new Ye)}}(),N=function(){return N=Object.assign||function(Se){for(var Le,K=1,Ye=arguments.length;K0){for(Ln=1,sr=1;Lnai&&(ai=xe,Sa=[]),Sa.push(me))}function wi(me,Ie){return new J(me,[],"",Ie)}function ao(me,Ie,ct){return new J(J.buildMessage(me,Ie),me,Ie,ct)}function Zo(){var me;return me=Ka(),me}function Ka(){var me,Ie;for(me=[],Ie=Ao();Ie!==K;)me.push(Ie),Ie=Ao();return me}function Ao(){var me;return me=bl(),me===K&&(me=Go(),me===K&&(me=_l(),me===K&&(me=fl(),me===K&&(me=kl(),me===K&&(me=Lo()))))),me}function ul(){var me,Ie,ct;if(me=xe,Ie=[],ct=oi(),ct===K&&(ct=Br(),ct===K&&(ct=Ji())),ct!==K)for(;ct!==K;)Ie.push(ct),ct=oi(),ct===K&&(ct=Br(),ct===K&&(ct=Ji()));else Ie=K;return Ie!==K&&(Pr=me,Ie=Vt(Ie)),me=Ie,me}function bl(){var me,Ie;return me=xe,Ie=ul(),Ie!==K&&(Pr=me,Ie=Xt(Ie)),me=Ie,me}function Lo(){var me,Ie;return me=xe,Se.charCodeAt(xe)===35?(Ie=an,xe++):(Ie=K,Wt===0&&hn(An)),Ie!==K&&(Pr=me,Ie=lr()),me=Ie,me}function Go(){var me,Ie,ct,Lt,sn,Jn;return Wt++,me=xe,Se.charCodeAt(xe)===123?(Ie=pn,xe++):(Ie=K,Wt===0&&hn(Ln)),Ie!==K?(ct=Bt(),ct!==K?(Lt=io(),Lt!==K?(sn=Bt(),sn!==K?(Se.charCodeAt(xe)===125?(Jn=sr,xe++):(Jn=K,Wt===0&&hn(ra)),Jn!==K?(Pr=me,Ie=ni(Lt),me=Ie):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K),Wt--,me===K&&(Ie=K,Wt===0&&hn(Tn)),me}function bo(){var me,Ie,ct,Lt,sn;if(Wt++,me=xe,Ie=[],ct=xe,Lt=xe,Wt++,sn=Xi(),sn===K&&(ci.test(Se.charAt(xe))?(sn=Se.charAt(xe),xe++):(sn=K,Wt===0&&hn(Yi))),Wt--,sn===K?Lt=void 0:(xe=Lt,Lt=K),Lt!==K?(Se.length>xe?(sn=Se.charAt(xe),xe++):(sn=K,Wt===0&&hn(ui)),sn!==K?(Lt=[Lt,sn],ct=Lt):(xe=ct,ct=K)):(xe=ct,ct=K),ct!==K)for(;ct!==K;)Ie.push(ct),ct=xe,Lt=xe,Wt++,sn=Xi(),sn===K&&(ci.test(Se.charAt(xe))?(sn=Se.charAt(xe),xe++):(sn=K,Wt===0&&hn(Yi))),Wt--,sn===K?Lt=void 0:(xe=Lt,Lt=K),Lt!==K?(Se.length>xe?(sn=Se.charAt(xe),xe++):(sn=K,Wt===0&&hn(ui)),sn!==K?(Lt=[Lt,sn],ct=Lt):(xe=ct,ct=K)):(xe=ct,ct=K);else Ie=K;return Ie!==K?me=Se.substring(me,xe):me=Ie,Wt--,me===K&&(Ie=K,Wt===0&&hn(Vi)),me}function Eo(){var me,Ie,ct;return Wt++,me=xe,Se.charCodeAt(xe)===47?(Ie=ho,xe++):(Ie=K,Wt===0&&hn(Ri)),Ie!==K?(ct=bo(),ct!==K?(Pr=me,Ie=gi(ct),me=Ie):(xe=me,me=K)):(xe=me,me=K),Wt--,me===K&&(Ie=K,Wt===0&&hn(zi)),me}function Bl(){var me,Ie,ct,Lt,sn;if(Wt++,me=xe,Ie=Bt(),Ie!==K)if(ct=bo(),ct!==K){for(Lt=[],sn=Eo();sn!==K;)Lt.push(sn),sn=Eo();Lt!==K?(Pr=me,Ie=Ma(ct,Lt),me=Ie):(xe=me,me=K)}else xe=me,me=K;else xe=me,me=K;return Wt--,me===K&&(Ie=K,Wt===0&&hn(mo)),me}function El(){var me,Ie,ct;if(me=xe,Ie=[],ct=Bl(),ct!==K)for(;ct!==K;)Ie.push(ct),ct=Bl();else Ie=K;return Ie!==K&&(Pr=me,Ie=Vo(Ie)),me=Ie,me}function Ml(){var me,Ie,ct;return me=xe,Se.substr(xe,2)===po?(Ie=po,xe+=2):(Ie=K,Wt===0&&hn(go)),Ie!==K?(ct=El(),ct!==K?(Pr=me,Ie=xo(ct),me=Ie):(xe=me,me=K)):(xe=me,me=K),me===K&&(me=xe,Pr=xe,Ie=no(),Ie?Ie=void 0:Ie=K,Ie!==K?(ct=ul(),ct!==K?(Pr=me,Ie=we(ct),me=Ie):(xe=me,me=K)):(xe=me,me=K)),me}function Yl(){var me,Ie,ct,Lt,sn,Jn,Ra,ea,Ja,Kr,ya,ia,Da;return me=xe,Se.charCodeAt(xe)===123?(Ie=pn,xe++):(Ie=K,Wt===0&&hn(Ln)),Ie!==K?(ct=Bt(),ct!==K?(Lt=io(),Lt!==K?(sn=Bt(),sn!==K?(Se.charCodeAt(xe)===44?(Jn=ve,xe++):(Jn=K,Wt===0&&hn(Te)),Jn!==K?(Ra=Bt(),Ra!==K?(Se.substr(xe,6)===Pe?(ea=Pe,xe+=6):(ea=K,Wt===0&&hn(De)),ea!==K?(Ja=Bt(),Ja!==K?(Kr=xe,Se.charCodeAt(xe)===44?(ya=ve,xe++):(ya=K,Wt===0&&hn(Te)),ya!==K?(ia=Bt(),ia!==K?(Da=Ml(),Da!==K?(ya=[ya,ia,Da],Kr=ya):(xe=Kr,Kr=K)):(xe=Kr,Kr=K)):(xe=Kr,Kr=K),Kr===K&&(Kr=null),Kr!==K?(ya=Bt(),ya!==K?(Se.charCodeAt(xe)===125?(ia=sr,xe++):(ia=K,Wt===0&&hn(ra)),ia!==K?(Pr=me,Ie=lt(Lt,ea,Kr),me=Ie):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K),me}function xl(){var me,Ie,ct,Lt;if(me=xe,Se.charCodeAt(xe)===39?(Ie=Et,xe++):(Ie=K,Wt===0&&hn(_t)),Ie!==K){if(ct=[],Lt=oi(),Lt===K&&(Zt.test(Se.charAt(xe))?(Lt=Se.charAt(xe),xe++):(Lt=K,Wt===0&&hn(Jt))),Lt!==K)for(;Lt!==K;)ct.push(Lt),Lt=oi(),Lt===K&&(Zt.test(Se.charAt(xe))?(Lt=Se.charAt(xe),xe++):(Lt=K,Wt===0&&hn(Jt)));else ct=K;ct!==K?(Se.charCodeAt(xe)===39?(Lt=Et,xe++):(Lt=K,Wt===0&&hn(_t)),Lt!==K?(Ie=[Ie,ct,Lt],me=Ie):(xe=me,me=K)):(xe=me,me=K)}else xe=me,me=K;if(me===K)if(me=[],Ie=oi(),Ie===K&&(Sn.test(Se.charAt(xe))?(Ie=Se.charAt(xe),xe++):(Ie=K,Wt===0&&hn(zn))),Ie!==K)for(;Ie!==K;)me.push(Ie),Ie=oi(),Ie===K&&(Sn.test(Se.charAt(xe))?(Ie=Se.charAt(xe),xe++):(Ie=K,Wt===0&&hn(zn)));else me=K;return me}function p(){var me,Ie;if(me=[],Hn.test(Se.charAt(xe))?(Ie=Se.charAt(xe),xe++):(Ie=K,Wt===0&&hn(Vn)),Ie!==K)for(;Ie!==K;)me.push(Ie),Hn.test(Se.charAt(xe))?(Ie=Se.charAt(xe),xe++):(Ie=K,Wt===0&&hn(Vn));else me=K;return me}function Ql(){var me,Ie,ct,Lt;if(me=xe,Ie=xe,ct=[],Lt=xl(),Lt===K&&(Lt=p()),Lt!==K)for(;Lt!==K;)ct.push(Lt),Lt=xl(),Lt===K&&(Lt=p());else ct=K;return ct!==K?Ie=Se.substring(Ie,xe):Ie=ct,Ie!==K&&(Pr=me,Ie=qr(Ie)),me=Ie,me}function dl(){var me,Ie,ct;return me=xe,Se.substr(xe,2)===po?(Ie=po,xe+=2):(Ie=K,Wt===0&&hn(go)),Ie!==K?(ct=Ql(),ct!==K?(Pr=me,Ie=xo(ct),me=Ie):(xe=me,me=K)):(xe=me,me=K),me===K&&(me=xe,Pr=xe,Ie=fr(),Ie?Ie=void 0:Ie=K,Ie!==K?(ct=ul(),ct!==K?(Pr=me,Ie=we(ct),me=Ie):(xe=me,me=K)):(xe=me,me=K)),me}function B(){var me,Ie,ct,Lt,sn,Jn,Ra,ea,Ja,Kr,ya,ia,Da;return me=xe,Se.charCodeAt(xe)===123?(Ie=pn,xe++):(Ie=K,Wt===0&&hn(Ln)),Ie!==K?(ct=Bt(),ct!==K?(Lt=io(),Lt!==K?(sn=Bt(),sn!==K?(Se.charCodeAt(xe)===44?(Jn=ve,xe++):(Jn=K,Wt===0&&hn(Te)),Jn!==K?(Ra=Bt(),Ra!==K?(Se.substr(xe,4)===ir?(ea=ir,xe+=4):(ea=K,Wt===0&&hn(Cr)),ea===K&&(Se.substr(xe,4)===ur?(ea=ur,xe+=4):(ea=K,Wt===0&&hn(aa))),ea!==K?(Ja=Bt(),Ja!==K?(Kr=xe,Se.charCodeAt(xe)===44?(ya=ve,xe++):(ya=K,Wt===0&&hn(Te)),ya!==K?(ia=Bt(),ia!==K?(Da=dl(),Da!==K?(ya=[ya,ia,Da],Kr=ya):(xe=Kr,Kr=K)):(xe=Kr,Kr=K)):(xe=Kr,Kr=K),Kr===K&&(Kr=null),Kr!==K?(ya=Bt(),ya!==K?(Se.charCodeAt(xe)===125?(ia=sr,xe++):(ia=K,Wt===0&&hn(ra)),ia!==K?(Pr=me,Ie=lt(Lt,ea,Kr),me=Ie):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K),me}function _l(){var me;return me=Yl(),me===K&&(me=B()),me}function fl(){var me,Ie,ct,Lt,sn,Jn,Ra,ea,Ja,Kr,ya,ia,Da,Ti,Ci,Io;if(me=xe,Se.charCodeAt(xe)===123?(Ie=pn,xe++):(Ie=K,Wt===0&&hn(Ln)),Ie!==K)if(ct=Bt(),ct!==K)if(Lt=io(),Lt!==K)if(sn=Bt(),sn!==K)if(Se.charCodeAt(xe)===44?(Jn=ve,xe++):(Jn=K,Wt===0&&hn(Te)),Jn!==K)if(Ra=Bt(),Ra!==K)if(Se.substr(xe,6)===er?(ea=er,xe+=6):(ea=K,Wt===0&&hn(br)),ea===K&&(Se.substr(xe,13)===Bn?(ea=Bn,xe+=13):(ea=K,Wt===0&&hn(xa))),ea!==K)if(Ja=Bt(),Ja!==K)if(Se.charCodeAt(xe)===44?(Kr=ve,xe++):(Kr=K,Wt===0&&hn(Te)),Kr!==K)if(ya=Bt(),ya!==K)if(ia=xe,Se.substr(xe,7)===ha?(Da=ha,xe+=7):(Da=K,Wt===0&&hn(ma)),Da!==K?(Ti=Bt(),Ti!==K?(Ci=ii(),Ci!==K?(Da=[Da,Ti,Ci],ia=Da):(xe=ia,ia=K)):(xe=ia,ia=K)):(xe=ia,ia=K),ia===K&&(ia=null),ia!==K)if(Da=Bt(),Da!==K){if(Ti=[],Ci=Hi(),Ci!==K)for(;Ci!==K;)Ti.push(Ci),Ci=Hi();else Ti=K;Ti!==K?(Ci=Bt(),Ci!==K?(Se.charCodeAt(xe)===125?(Io=sr,xe++):(Io=K,Wt===0&&hn(ra)),Io!==K?(Pr=me,Ie=Ua(Lt,ea,ia,Ti),me=Ie):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)}else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;return me}function kl(){var me,Ie,ct,Lt,sn,Jn,Ra,ea,Ja,Kr,ya,ia,Da,Ti;if(me=xe,Se.charCodeAt(xe)===123?(Ie=pn,xe++):(Ie=K,Wt===0&&hn(Ln)),Ie!==K)if(ct=Bt(),ct!==K)if(Lt=io(),Lt!==K)if(sn=Bt(),sn!==K)if(Se.charCodeAt(xe)===44?(Jn=ve,xe++):(Jn=K,Wt===0&&hn(Te)),Jn!==K)if(Ra=Bt(),Ra!==K)if(Se.substr(xe,6)===Vr?(ea=Vr,xe+=6):(ea=K,Wt===0&&hn(mr)),ea!==K)if(Ja=Bt(),Ja!==K)if(Se.charCodeAt(xe)===44?(Kr=ve,xe++):(Kr=K,Wt===0&&hn(Te)),Kr!==K)if(ya=Bt(),ya!==K){if(ia=[],Da=vl(),Da!==K)for(;Da!==K;)ia.push(Da),Da=vl();else ia=K;ia!==K?(Da=Bt(),Da!==K?(Se.charCodeAt(xe)===125?(Ti=sr,xe++):(Ti=K,Wt===0&&hn(ra)),Ti!==K?(Pr=me,Ie=Va(Lt,ia),me=Ie):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)}else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;else xe=me,me=K;return me}function Wi(){var me,Ie,ct,Lt;return me=xe,Ie=xe,Se.charCodeAt(xe)===61?(ct=yi,xe++):(ct=K,Wt===0&&hn(Bi)),ct!==K?(Lt=ii(),Lt!==K?(ct=[ct,Lt],Ie=ct):(xe=Ie,Ie=K)):(xe=Ie,Ie=K),Ie!==K?me=Se.substring(me,xe):me=Ie,me===K&&(me=xi()),me}function vl(){var me,Ie,ct,Lt,sn,Jn,Ra,ea;return me=xe,Ie=Bt(),Ie!==K?(ct=xi(),ct!==K?(Lt=Bt(),Lt!==K?(Se.charCodeAt(xe)===123?(sn=pn,xe++):(sn=K,Wt===0&&hn(Ln)),sn!==K?(Pr=xe,Jn=ri(ct),Jn?Jn=void 0:Jn=K,Jn!==K?(Ra=Ka(),Ra!==K?(Se.charCodeAt(xe)===125?(ea=sr,xe++):(ea=K,Wt===0&&hn(ra)),ea!==K?(Pr=me,Ie=Ei(ct,Ra),me=Ie):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K),me}function Hi(){var me,Ie,ct,Lt,sn,Jn,Ra,ea;return me=xe,Ie=Bt(),Ie!==K?(ct=Wi(),ct!==K?(Lt=Bt(),Lt!==K?(Se.charCodeAt(xe)===123?(sn=pn,xe++):(sn=K,Wt===0&&hn(Ln)),sn!==K?(Pr=xe,Jn=di(ct),Jn?Jn=void 0:Jn=K,Jn!==K?(Ra=Ka(),Ra!==K?(Se.charCodeAt(xe)===125?(ea=sr,xe++):(ea=K,Wt===0&&hn(ra)),ea!==K?(Pr=me,Ie=Zi(ct,Ra),me=Ie):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K)):(xe=me,me=K),me}function Xi(){var me,Ie;return Wt++,Mi.test(Se.charAt(xe))?(me=Se.charAt(xe),xe++):(me=K,Wt===0&&hn(ko)),Wt--,me===K&&(Ie=K,Wt===0&&hn(Bo)),me}function hl(){var me,Ie;return Wt++,rl.test(Se.charAt(xe))?(me=Se.charAt(xe),xe++):(me=K,Wt===0&&hn(al)),Wt--,me===K&&(Ie=K,Wt===0&&hn(_o)),me}function Bt(){var me,Ie,ct;for(Wt++,me=xe,Ie=[],ct=Xi();ct!==K;)Ie.push(ct),ct=Xi();return Ie!==K?me=Se.substring(me,xe):me=Ie,Wt--,me===K&&(Ie=K,Wt===0&&hn(il)),me}function ii(){var me,Ie,ct;return Wt++,me=xe,Se.charCodeAt(xe)===45?(Ie=yo,xe++):(Ie=K,Wt===0&&hn(Uo)),Ie===K&&(Ie=null),Ie!==K?(ct=Xl(),ct!==K?(Pr=me,Ie=ll(Ie,ct),me=Ie):(xe=me,me=K)):(xe=me,me=K),Wt--,me===K&&(Ie=K,Wt===0&&hn(ol)),me}function Yo(){var me,Ie;return Wt++,Se.charCodeAt(xe)===39?(me=Et,xe++):(me=K,Wt===0&&hn(_t)),Wt--,me===K&&(Ie=K,Wt===0&&hn(ki)),me}function oi(){var me,Ie;return Wt++,me=xe,Se.substr(xe,2)===Oi?(Ie=Oi,xe+=2):(Ie=K,Wt===0&&hn(Ui)),Ie!==K&&(Pr=me,Ie=jo()),me=Ie,Wt--,me===K&&(Ie=K,Wt===0&&hn(Ca)),me}function Br(){var me,Ie,ct,Lt,sn,Jn;if(me=xe,Se.charCodeAt(xe)===39?(Ie=Et,xe++):(Ie=K,Wt===0&&hn(_t)),Ie!==K)if(ct=Ii(),ct!==K){for(Lt=xe,sn=[],Se.substr(xe,2)===Oi?(Jn=Oi,xe+=2):(Jn=K,Wt===0&&hn(Ui)),Jn===K&&(Zt.test(Se.charAt(xe))?(Jn=Se.charAt(xe),xe++):(Jn=K,Wt===0&&hn(Jt)));Jn!==K;)sn.push(Jn),Se.substr(xe,2)===Oi?(Jn=Oi,xe+=2):(Jn=K,Wt===0&&hn(Ui)),Jn===K&&(Zt.test(Se.charAt(xe))?(Jn=Se.charAt(xe),xe++):(Jn=K,Wt===0&&hn(Jt)));sn!==K?Lt=Se.substring(Lt,xe):Lt=sn,Lt!==K?(Se.charCodeAt(xe)===39?(sn=Et,xe++):(sn=K,Wt===0&&hn(_t)),sn===K&&(sn=null),sn!==K?(Pr=me,Ie=Oo(ct,Lt),me=Ie):(xe=me,me=K)):(xe=me,me=K)}else xe=me,me=K;else xe=me,me=K;return me}function Ji(){var me,Ie,ct,Lt;return me=xe,Ie=xe,Se.length>xe?(ct=Se.charAt(xe),xe++):(ct=K,Wt===0&&hn(ui)),ct!==K?(Pr=xe,Lt=cl(ct),Lt?Lt=void 0:Lt=K,Lt!==K?(ct=[ct,Lt],Ie=ct):(xe=Ie,Ie=K)):(xe=Ie,Ie=K),Ie===K&&(Se.charCodeAt(xe)===10?(Ie=Po,xe++):(Ie=K,Wt===0&&hn(wo))),Ie!==K?me=Se.substring(me,xe):me=Ie,me}function Ii(){var me,Ie,ct,Lt;return me=xe,Ie=xe,Se.length>xe?(ct=Se.charAt(xe),xe++):(ct=K,Wt===0&&hn(ui)),ct!==K?(Pr=xe,Lt=_a(ct),Lt?Lt=void 0:Lt=K,Lt!==K?(ct=[ct,Lt],Ie=ct):(xe=Ie,Ie=K)):(xe=Ie,Ie=K),Ie!==K?me=Se.substring(me,xe):me=Ie,me}function io(){var me,Ie;return Wt++,me=xe,Ie=Xl(),Ie===K&&(Ie=xi()),Ie!==K?me=Se.substring(me,xe):me=Ie,Wt--,me===K&&(Ie=K,Wt===0&&hn(fi)),me}function Xl(){var me,Ie,ct,Lt,sn;if(Wt++,me=xe,Se.charCodeAt(xe)===48?(Ie=Ai,xe++):(Ie=K,Wt===0&&hn(mi)),Ie!==K&&(Pr=me,Ie=Fo()),me=Ie,me===K){if(me=xe,Ie=xe,ro.test(Se.charAt(xe))?(ct=Se.charAt(xe),xe++):(ct=K,Wt===0&&hn(zo)),ct!==K){for(Lt=[],sl.test(Se.charAt(xe))?(sn=Se.charAt(xe),xe++):(sn=K,Wt===0&&hn(To));sn!==K;)Lt.push(sn),sl.test(Se.charAt(xe))?(sn=Se.charAt(xe),xe++):(sn=K,Wt===0&&hn(To));Lt!==K?(ct=[ct,Lt],Ie=ct):(xe=Ie,Ie=K)}else xe=Ie,Ie=K;Ie!==K&&(Pr=me,Ie=ji(Ie)),me=Ie}return Wt--,me===K&&(Ie=K,Wt===0&&hn(hi)),me}function xi(){var me,Ie,ct,Lt,sn;if(Wt++,me=xe,Ie=[],ct=xe,Lt=xe,Wt++,sn=Xi(),sn===K&&(sn=hl()),Wt--,sn===K?Lt=void 0:(xe=Lt,Lt=K),Lt!==K?(Se.length>xe?(sn=Se.charAt(xe),xe++):(sn=K,Wt===0&&hn(ui)),sn!==K?(Lt=[Lt,sn],ct=Lt):(xe=ct,ct=K)):(xe=ct,ct=K),ct!==K)for(;ct!==K;)Ie.push(ct),ct=xe,Lt=xe,Wt++,sn=Xi(),sn===K&&(sn=hl()),Wt--,sn===K?Lt=void 0:(xe=Lt,Lt=K),Lt!==K?(Se.length>xe?(sn=Se.charAt(xe),xe++):(sn=K,Wt===0&&hn(ui)),sn!==K?(Lt=[Lt,sn],ct=Lt):(xe=ct,ct=K)):(xe=ct,ct=K);else Ie=K;return Ie!==K?me=Se.substring(me,xe):me=Ie,Wt--,me===K&&(Ie=K,Wt===0&&hn(Co)),me}var _i=["root"];function Pl(){return _i.length>1}function Ho(){return _i[_i.length-1]==="plural"}function Ga(){return Le&&Le.captureLocation?{location:So()}:{}}if(Wo=ot(),Wo!==K&&xe===Se.length)return Wo;throw Wo!==K&&xe1)throw new RangeError("Fraction-precision stems only accept a single optional option");ot.stem.replace(Ve,function(Xt,an,An){return Xt==="."?Le.maximumFractionDigits=0:An==="+"?Le.minimumFractionDigits=An.length:an[0]==="#"?Le.maximumFractionDigits=an.length:(Le.minimumFractionDigits=an.length,Le.maximumFractionDigits=an.length+(typeof An=="string"?An.length:0)),""}),ot.options.length&&(Le=ue(ue({},Le),$e(ot.options[0])));continue}if(Ae.test(ot.stem)){Le=ue(ue({},Le),$e(ot.stem));continue}var Vt=Xe(ot.stem);Vt&&(Le=ue(ue({},Le),Vt))}return Le}var bt=function(){var Se=function(Le,K){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ye,ot){Ye.__proto__=ot}||function(Ye,ot){for(var Vt in ot)ot.hasOwnProperty(Vt)&&(Ye[Vt]=ot[Vt])},Se(Le,K)};return function(Le,K){Se(Le,K);function Ye(){this.constructor=Le}Le.prototype=K===null?Object.create(K):(Ye.prototype=K.prototype,new Ye)}}(),st=function(){for(var Se=0,Le=0,K=arguments.length;Le3&&arguments[3]!==void 0?arguments[3]:{},Xt=Intl.DisplayNames;Xt||ot(Ut(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" -`));var an=Zn(Vt,ln);try{return Le(Ye,an).of(K)}catch(An){ot(Ut("Error formatting display name.",An))}}var yn=jt()||xt;function xn(Se){return{locale:Se.locale,timeZone:Se.timeZone,formats:Se.formats,textComponent:Se.textComponent,messages:Se.messages,defaultLocale:Se.defaultLocale,defaultFormats:Se.defaultFormats,onError:Se.onError}}function Pn(Se,Le){var K=Oa(Le),Ye=Object.assign(Object.assign({},yr),Se),ot=Ye.locale,Vt=Ye.defaultLocale,Xt=Ye.onError;return ot?!Intl.NumberFormat.supportedLocalesOf(ot).length&&Xt?Xt(Ut('Missing locale data for locale: "'.concat(ot,'" in Intl.NumberFormat. Using default locale: "').concat(Vt,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(ot).length&&Xt&&Xt(Ut('Missing locale data for locale: "'.concat(ot,'" in Intl.DateTimeFormat. Using default locale: "').concat(Vt,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(Xt&&Xt(Ut('"locale" was not configured, using "'.concat(Vt,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),Ye.locale=Ye.defaultLocale||"en"),Object.assign(Object.assign({},Ye),{formatters:K,formatNumber:Kn.bind(null,Ye,K.getNumberFormat),formatNumberToParts:wr.bind(null,Ye,K.getNumberFormat),formatRelativeTime:Ne.bind(null,Ye,K.getRelativeTimeFormat),formatDate:Tt.bind(null,Ye,K.getDateTimeFormat),formatDateToParts:Fn.bind(null,Ye,K.getDateTimeFormat),formatTime:Rt.bind(null,Ye,K.getDateTimeFormat),formatTimeToParts:_n.bind(null,Ye,K.getDateTimeFormat),formatPlural:Mr.bind(null,Ye,K.getPluralRules),formatMessage:Za.bind(null,Ye,K),formatHTMLMessage:At.bind(null,Ye,K),formatList:Yt.bind(null,Ye,K.getListFormat),formatDisplayName:wn.bind(null,Ye,K.getDisplayNames)})}var tr=function(Se){(0,l.Z)(K,Se);var Le=(0,u.Z)(K);function K(){var Ye;return(0,a.Z)(this,K),Ye=Le.apply(this,arguments),Ye.cache=Gt(),Ye.state={cache:Ye.cache,intl:Pn(xn(Ye.props),Ye.cache),prevConfig:xn(Ye.props)},Ye}return(0,o.Z)(K,[{key:"render",value:function(){return Qn(this.state.intl),d.createElement(_,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(ot,Vt){var Xt=Vt.prevConfig,an=Vt.cache,An=xn(ot);return yn(Xt,An)?null:{intl:Pn(An,an),prevConfig:An}}}]),K}(d.PureComponent);tr.displayName="IntlProvider",tr.defaultProps=yr;var jr=e(79004),Gr=e(64353),Rr=e(80250),hr=e.n(Rr),fa=e(72255),xr=function(Se,Le){var K={};for(var Ye in Se)Object.prototype.hasOwnProperty.call(Se,Ye)&&Le.indexOf(Ye)<0&&(K[Ye]=Se[Ye]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ye=Object.getOwnPropertySymbols(Se);ot