2 lines
78 KiB
JavaScript
2 lines
78 KiB
JavaScript
/*! For license information please see index.js.LICENSE.txt */
|
|
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["pages/shopping/index"],{"./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/shopping/index.tsx":function(q,B,L){var U=L("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");var V=L("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");var H=L("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var G=L("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var W=L("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var Q=L("./node_modules/@tarojs/taro/index.js");var X=L.n(Q);var Y=L("./node_modules/react/cjs/react.production.min.js");var Z=L("./node_modules/classnames/index.js");var ee=L.n(Z);var ne=L("./src/pages/shopping/index.module.scss");var oe=L("./src/pages/shopping/components/shoppingCartItem/index.tsx");var ie=L("./src/pages/shopping/components/bottomSettleBar/index.tsx");var te=L("./src/pages/shopping/components/bottomEditBar/index.tsx");var _e=L("./src/pages/shopping/components/shoppingCart/index.tsx");var ue=L("./src/pages/shopping/context/index.ts");var ae=L("./src/pages/shopping/context/shoppingStore.ts");var re=L("./src/common/util.ts");var ce=L("./src/api/index.ts");var de=L("./src/components/infiniteScroll/index.tsx");var le=L("./src/components/iconText/index.tsx");var se=L("./src/components/search/index.tsx");var me=L("./src/common/common.ts");var he=L("./src/use/useCommon.ts");var fe=L("./src/reducers/tabBar.ts");var pe=L("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var xe=function ShoppingCartContainer(){var q,B;var L=(0,Y.useRef)(true);console.log("rerender component ShoppingCartContainer");var X=(0,ue.useShoppingState)(),Z=X.isMultipleSelection,_e=X.isManageStatus,xe=X.selectedAmount,ge=X.currentCheckedPurchaserId;console.log("rerender selectedAmount",xe);var ve=(0,ue.useShoppingDispatch)();var ye=function onStartToManage(){ve({type:ue.ShoppingDispatchType.UPDATE_MANAGE_STATUS,data:!_e})};var be=(0,Y.useRef)("auto");var je=(0,ce.ShoppingCartListApi)(),ke=je.fetchData,we=je.state;var Se=(0,Y.useState)({page:1,size:10}),ze=(0,G["default"])(Se,2),Ee=ze[0],Te=ze[1];var Ce=(0,Y.useRef)({size:Ee.size,page:Ee.page});var Pe=function(){var q=(0,H["default"])((0,V["default"])().mark((function _callee(){var q;return(0,V["default"])().wrap((function _callee$(B){while(1)switch(B.prev=B.next){case 0:B.next=2;return ke((0,re.getFilterData)(Ee));case 2:q=B.sent;if(!q.success){me.alert.error("请求失败");He(false)}He(false);case 5:case"end":return B.stop()}}),_callee)})));return function getData(){return q.apply(this,arguments)}}();(0,Q.useDidShow)((0,H["default"])((0,V["default"])().mark((function _callee2(){return(0,V["default"])().wrap((function _callee2$(q){while(1)switch(q.prev=q.next){case 0:if(!L.current){console.log("重新刷新");Pe()}case 1:case"end":return q.stop()}}),_callee2)}))));(0,Y.useEffect)((function(){console.log("useEffect fetchData",(0,re.getFilterData)(Ee));if(!L.current){Pe()}}),[Ee]);var De=(0,Y.useCallback)((0,re.debounce)((function(q){console.log("getSearchData===>",q);Te({short_name_or_phone:q,size:10,page:1})}),300),[]);var Ie=(0,Y.useState)({list:[],total:0}),Ae=(0,G["default"])(Ie,2),Oe=Ae[0],Ne=Ae[1];var Me=(0,Y.useMemo)((function(){console.log("shoppingCartData==>",Oe,we);var q=(0,re.dataLoadingStatus)({list:Oe.list,total:Oe.total,status:we.loading});console.log("status==>",q);return q}),[Oe,we]);(0,Y.useLayoutEffect)((function(){(0,H["default"])((0,V["default"])().mark((function _callee3(){return(0,V["default"])().wrap((function _callee3$(q){while(1)switch(q.prev=q.next){case 0:console.log("useLayoutEffect");q.next=3;return ke((0,re.getFilterData)(Ee));case 3:L.current=false;case 4:case"end":return q.stop()}}),_callee3)})))()}),[]);(0,Y.useEffect)((function(){if(we.success){console.log("fetch success",we);Ne({list:we.data.list,total:we.data.total})}}),[we]);var qe=(0,re.debounce)((function(){ae.events.trigger("SettleAccount",ge)}),400);var Be=(0,Y.useCallback)((0,H["default"])((0,V["default"])().mark((function _callee4(){var q;return(0,V["default"])().wrap((function _callee4$(B){while(1)switch(B.prev=B.next){case 0:B.next=2;return ke(Ee);case 2:q=B.sent;console.log("onDeleteItem");ae.events.trigger("handleOtherHighLight",ge,q.data.list.find((function(q){return q.purchaser_id===ge})));case 5:case"end":return B.stop()}}),_callee4)}))),[]);var Le=function handleDelete(){console.log("handleDelete");ae.events.trigger("DeleteSpecificItem",ge)};var Ue=function handleSelectAllCheckbox(q){if(!ge){return me.alert.error("请先选择客户")}if(q){ve({type:ue.ShoppingDispatchType.UPDATE_MULTIPLE_SELECTION_STATUS,data:q})}else{ae.events.trigger("CleanMultiSelection",ge)}};var Re=(0,Y.useState)(false),Ke=(0,G["default"])(Re,2),Ve=Ke[0],He=Ke[1];var Fe=function(){var q=(0,H["default"])((0,V["default"])().mark((function _callee5(){return(0,V["default"])().wrap((function _callee5$(q){while(1)switch(q.prev=q.next){case 0:Ce.current.page=1;He(true);Te((function(q){return(0,U["default"])((0,U["default"])({},q),{},{size:10})}));case 3:case"end":return q.stop()}}),_callee5)})));return function handleRefresh(){return q.apply(this,arguments)}}();(0,he.useCheckTabBarSelectStatus)(fe.TabBarIndex.SHOPPING);var Ge=(0,Y.useCallback)((function(){if(Oe.list.length<Oe.total){Ce.current.page++;var q=Ce.current.size*Ce.current.page;Te((function(B){return(0,U["default"])((0,U["default"])({},B),{},{size:q})}))}}),[Oe]);return(0,pe.jsxs)(W.View,{className:ee()("flex-col",ne["default"].shopping),id:"shoppingContainer",children:[(0,pe.jsx)(W.View,{className:ne["default"]["shopping--topBar"],id:"topBar",children:(0,pe.jsx)(se["default"],{placeholder:"请输入客户名称",showBtn:false,changeOnSearch:De,children:(0,pe.jsx)(W.View,{className:ne["default"].flexBox,onClick:ye,children:_e?(0,pe.jsx)(le["default"],{svg:true,iconName:"icon-guanlidingdan",text:"取消",color:"#4581ff",customClass:ne["default"]["icon--manage--cancel"]}):(0,pe.jsx)(le["default"],{svg:true,iconName:"icon-guanlidingdan",text:"管理"})})})}),(0,pe.jsxs)(W.View,{className:ee()("flex-item","flex-col",ne["default"]["shopping--context"]),children:[(0,pe.jsx)(W.View,{id:"shoppingListContainer",className:ee()(ne["default"].shopping__list__container,"flex-item"),style:{height:be.current},children:(0,pe.jsx)(de["default"],{selfonScrollToLower:Ge,safeAreaInsetBottom:false,statusMore:Me,refresherEnabled:true,selfOnRefresherRefresh:Fe,refresherTriggered:Ve,children:!!(Oe!==null&&Oe!==void 0&&(q=Oe.list)!==null&&q!==void 0&&q.length)&&(Oe===null||Oe===void 0?void 0:(B=Oe.list)===null||B===void 0?void 0:B.map((function(q,B){return(0,pe.jsx)(oe["default"],{itemData:q,onDeleteItem:Be},B)})))})}),(0,pe.jsx)(W.View,{className:ne["default"].bottomBar,children:_e?(0,pe.jsx)(te["default"],{disabled:ge<0,isSelectAll:Z,onDelete:Le,onSelectCheckbox:function onSelectCheckbox(q){return Ue(q)}}):(0,pe.jsx)(ie["default"],{onSettleAccount:qe,amount:xe})})]})]})};var ge=function Shopping(){return(0,pe.jsx)(_e.ShoppingProvider,{children:(0,pe.jsx)(xe,{})})};B["default"]=(0,Y.memo)(ge)},"./src/pages/shopping/components/bottomEditBar/index.tsx":function(q,B,L){var U=L("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var V=L("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var H=L("./src/pages/shopping/context/index.ts");var G=L("./src/pages/shopping/components/bottomEditBar/index.module.scss");var W=L("./src/components/normalButton/index.tsx");var Q=L("./src/components/checkbox/index.tsx");var X=L("./src/use/useCommon.ts");var Y=L("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var Z=function BottomEditBar(q){var B=q.onDelete,L=q.onSelectCheckbox,Z=q.disabled,ee=Z===void 0?false:Z,ne=q.isSelectAll,oe=ne===void 0?false:ne;var ie=(0,H.useShoppingDispatch)();console.log("isSelectAll==>",oe);var te=function handleDelete(){B&&B()};var _e=function selectCallBack(){L&&L(true);ie({type:H.ShoppingDispatchType.UPDATE_MULTIPLE_SELECTION_STATUS,data:true})};var ue=function closeCallBack(){ie({type:H.ShoppingDispatchType.UPDATE_MULTIPLE_SELECTION_STATUS,data:false});L&&L(false)};var ae=(0,X.usePropsValue)({value:oe,defaultValue:false}),re=(0,U["default"])(ae,2),ce=re[0],de=re[1];return(0,Y.jsxs)(V.View,{className:G["default"].bottomBar,children:[(0,Y.jsx)(V.View,{className:G["default"].bottomLeft,children:(0,Y.jsx)(Q["default"],{status:ce,disabled:ee,round:true,size:"small",onSelect:_e,onClose:ue,customStyles:{color:"$color: #000000, $alpha: 0.6"},children:"全选"})}),(0,Y.jsx)(V.View,{className:G["default"].bottomRight,children:(0,Y.jsx)(W["default"],{round:true,type:"danger",size:"normal",onClick:te,customStyles:{backgroundColor:"#F44761",padding:"0 80rpx"},children:(0,Y.jsx)(V.Text,{style:{fontSize:"32rpx"},children:"删除"})})})]})};B["default"]=Z},"./src/pages/shopping/components/bottomSettleBar/index.tsx":function(q,B,L){var U=L("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var V=L("./src/pages/shopping/components/bottomSettleBar/index.module.scss");var H=L("./src/components/normalButton/index.tsx");var G=L("./src/common/format.js");var W=L("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var Q=function BottomSettleBar(q){var B=q.onSettleAccount,L=q.amount,Q=L===void 0?0:L;var X=function handleSettle(){B&&B()};return(0,W.jsxs)(U.View,{className:V["default"].bottomBar,children:[(0,W.jsxs)(U.View,{className:V["default"].bottomLeft,children:[(0,W.jsx)(U.Text,{className:V["default"].moneyText,children:"预估金额:"}),(0,W.jsxs)(U.Text,{className:V["default"].moneyNumber,children:[(0,W.jsx)(U.Text,{className:V["default"].unit,children:"¥"}),(0,W.jsx)(U.Text,{className:V["default"].money,children:(0,G.formatPriceDiv)(Q,1,true)})]})]}),(0,W.jsx)(U.View,{className:V["default"].bottomRight,children:(0,W.jsx)(H["default"],{type:"primary",round:true,size:"normal",onClick:X,customStyles:{padding:"0 80rpx"},children:(0,W.jsx)(U.Text,{style:{fontSize:"32rpx"},children:"结算"})})})]})};B["default"]=Q},"./src/pages/shopping/components/colorKindItem/index.tsx":function(q,B,L){var U=L("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");var V=L("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var H=L("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var G=L("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var W=L("./node_modules/react/cjs/react.production.min.js");var Q=L("./node_modules/classnames/index.js");var X=L.n(Q);var Y=L("./src/pages/shopping/context/shoppingStore.ts");var Z=L("./src/pages/shopping/components/colorKindItem/index.module.scss");var ee=L("./src/components/checkbox/index.tsx");var ne=L("./src/components/counter/index.tsx");var oe=L("./src/common/util.ts");var ie=L("./src/common/format.js");var te=L("./src/common/Enumerate/index.ts");var _e=L("./src/api/shopping/index.ts");var ue=L("./src/components/LabAndImg/index.tsx");var ae=L("./src/use/useCommon.ts");var re=L("./src/common/Enumerate/BaseEnum/index.ts");var ce=L("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var de=function ColorKindItem(q){console.log("rerender component ColorKindItem",q);var B=q.purchaserId,L=q.itemData,Q=q.checked;var de=(0,ae.usePropsValue)({defaultValue:Q,value:Q}),le=(0,H["default"])(de,2),se=le[0],me=le[1];var he=(0,W.useRef)({roll:L.roll,length:L.length});var fe=function formatCount(q){return q.sale_mode==te.EnumSaleMode.Bulk?q.roll:(0,ie.formatMeterDiv)(q.length)};var pe=(0,W.useState)(fe(L)),xe=(0,H["default"])(pe,2),ge=xe[0],ve=xe[1];var ye=function formatPrice(q){return Number((0,ie.formatPriceDiv)(q))};var be=function handleCountChange(q){ve(q)};var je=function formatUnit(q){return q.sale_mode==te.EnumSaleMode.Bulk?"条":"米"};var ke=function handleSelect(){console.log("currentCount==>",he.current,L);var q={id:L===null||L===void 0?void 0:L.id,estimate_amount:L.estimate_amount,product_code:L.product_code,product_color_code:L.product_color_code,sale_mode:L.sale_mode,count:L.sale_mode===te.EnumSaleMode.Bulk?he.current.roll:Number((0,ie.formatMeterDiv)(he.current.length))};Y.events.trigger("updatePurchaserMultipleSelection",B,q,"add",L===null||L===void 0?void 0:L.id);me(true)};var we=function handleClose(){Y.events.trigger("updatePurchaserMultipleSelection",B,null,"delete",L.id);me(false)};var Se=(0,_e.AdjestShoppingCartApi)(),ze=Se.fetchData;var Ee=(0,W.useCallback)((0,oe.debounce)(function(){var q=(0,V["default"])((0,U["default"])().mark((function _callee(q){var V,H;return(0,U["default"])().wrap((function _callee$(U){while(1)switch(U.prev=U.next){case 0:console.log("num===>",q);if(!(q<re.selectList[L.sale_mode].minNum)){U.next=3;break}return U.abrupt("return");case 3:V={roll:0,length:0};if(L.sale_mode===te.EnumSaleMode.Bulk){V.roll=Math.trunc(q)}else{V.length=(0,ie.formatMeterMul)(q)}U.next=7;return ze({id:L.id,roll:V.roll,length:V.length});case 7:H=U.sent;if(H.success){he.current=V;Y.events.trigger("FetchSpecificPurchaser",B)}else{ve(fe(L))}case 9:case"end":return U.stop()}}),_callee)})));return function(B){return q.apply(this,arguments)}}(),300),[L]);var Te=(0,W.useCallback)((function(q){return{lab:q.lab,rgb:q.rgb,texture_url:q.product_color_texture_url}}),[]);(0,W.useEffect)((function(){console.log("itemData==>",L);ve(fe(L))}),[L.roll,L.length]);return(0,ce.jsxs)(ee["default"],{status:se,onSelect:ke,onClose:we,customClassName:X()(Z["default"].checkbox,se?Z["default"].selected:""),customTextClass:Z["default"].colorKindItem,children:[(0,ce.jsx)(G.View,{className:Z["default"].colorKindItem__left,children:(0,ce.jsx)(ue["default"],{suffix:"!w200",value:Te(L)})}),(0,ce.jsxs)(G.View,{className:Z["default"].colorKindItem__center,children:[(0,ce.jsxs)(G.Text,{className:Z["default"]["colorKindItem__center--title"],children:[L.product_code,"# ",L.product_name]}),(0,ce.jsxs)(G.View,{className:Z["default"]["colorKindItem__center--detail"],children:[(0,ce.jsx)(G.Text,{className:Z["default"]["colorKindItem__center--ID"],children:L.product_color_code}),(0,ce.jsx)(G.Text,{className:Z["default"]["colorKindItem__center--description"],children:L.product_color_name})]})]}),(0,ce.jsxs)(G.View,{className:Z["default"].colorKindItem__right,children:[(0,ce.jsxs)(G.View,{className:Z["default"]["colorKindItem__right--price"],children:["¥ ",ye(L.sale_price),"/",L.sale_mode==te.EnumSaleMode.Plate?"米":"kg"]}),L.sale_mode===te.EnumSaleMode.Bulk&&(L===null||L===void 0?void 0:L.standard_sale_price)!==(L===null||L===void 0?void 0:L.sale_price)&&(0,ce.jsxs)(G.View,{className:Z["default"]["colorKindItem__right--yuanPrice"],children:["¥ ",ye(L===null||L===void 0?void 0:L.standard_sale_price),"/",L.sale_mode==te.EnumSaleMode.Plate?"米":"kg"]}),(0,ce.jsx)(G.View,{className:Z["default"]["colorKindItem__right--counter"],children:(0,ce.jsx)(ne["default"],{onBlue:Ee,defaultNum:ge,onChange:be,step:L.step,digits:L.digits,onClickBtn:Ee,unit:je(L),minNum:re.selectList[L.sale_mode].minNum,maxNum:re.selectList[L.sale_mode].maxNum})})]})]})};B["default"]=(0,W.memo)(de)},"./src/pages/shopping/components/shoppingCartItem/index.tsx":function(q,B,L){var U=L("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");var V=L("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var H=L("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");var G=L("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");var W=L("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");var Q=L("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var X=L("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var Y=L("./node_modules/@tarojs/taro/index.js");var Z=L.n(Y);var ee=L("./node_modules/react/cjs/react.production.min.js");var ne=L("./node_modules/classnames/index.js");var oe=L.n(ne);var ie=L("./src/pages/shopping/components/colorKindItem/index.tsx");var te=L("./src/pages/shopping/context/index.ts");var _e=L("./src/pages/shopping/context/shoppingStore.ts");var ue=L("./src/pages/shopping/components/shoppingCartItem/index.module.scss");var ae=L("./src/common/format.js");var re=L("./src/components/layoutBlock/index.tsx");var ce=L("./src/components/tag/index.tsx");var de=L("./src/components/Divider/index.tsx");var le=L("./src/common/Enumerate/index.ts");var se=L("./src/components/iconfont/iconfont.tsx");var me=L("./src/common/common.ts");var he=L("./src/api/index.ts");var fe=L("./src/use/useCommon.ts");var pe=L("./src/common/Enumerate/BaseEnum/index.ts");var xe=L("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var ge=function(q){q[q["bulk_color_list"]=0]="bulk_color_list";q[q["length_cut_color_list"]=1]="length_cut_color_list";q[q["weight_cut_color_list"]=2]="weight_cut_color_list";return q}({});var ve=[ge.bulk_color_list,ge.length_cut_color_list,ge.weight_cut_color_list];var ye=function SaleModeButton(q){var B=q.onClick,L=q.children,U=q.isActive,V=U===void 0?false:U,H=q.customStyle;var G=function handleClick(){B===null||B===void 0?void 0:B()};return(0,xe.jsx)(X.View,{className:oe()(ue["default"].saleModeButton,V&&ue["default"]["saleModeButton--active"]),style:H,onClick:G,children:(0,xe.jsx)(X.View,{className:oe()(ue["default"]["saleModeButton--text"]),children:L})})};var be=function DrawerButton(q){var B=q.isOpen;return(0,xe.jsx)(X.View,{className:ue["default"].drawerButton,children:B?(0,xe.jsx)(se["default"],{name:"icon-shouqi",size:52}):(0,xe.jsx)(se["default"],{name:"icon-zhankai",size:52})})};var je=(0,ee.memo)(be);var ke=function ColorKindItemContainer(q){var B=q.id,L=q.item,U=q.purchaser_id,V=q.checked;return(0,xe.jsx)(ie["default"],{checked:V,purchaserId:U,itemData:L},B)};var we=(0,ee.memo)(ke);var Se=function GoodsList(q){var B;var L=q.itemData,U=q.selected,V=q.multipleSelection;console.log("rerender component GoodsList",q,(B=q.itemData)===null||B===void 0?void 0:B.purchaser_name);return(0,xe.jsx)(xe.Fragment,{children:(L===null||L===void 0?void 0:L[ge[U]].length)!==0?L===null||L===void 0?void 0:L[ge[U]].map((function(q){console.log("item===>",q,V===null||V===void 0?void 0:V.hasOwnProperty(q.id));return(0,xe.jsx)(we,{checked:(V===null||V===void 0?void 0:V.hasOwnProperty(q.id))||false,id:q.id,purchaser_id:L.purchaser_id,item:q},q.id)})):(0,xe.jsx)(X.View,{className:ue["default"].noList,children:"暂无数据"})})};var ze=(0,ee.memo)(Se);var Ee=function ShoppingCartItem(q){var B,L;var Y=q.state;console.log("rerender component ShoppingCartItem",q,(B=q.itemData)===null||B===void 0?void 0:B.purchaser_name);var ne=(0,ee.useRef)(q.itemData);ne.current=q.itemData;var ie=(0,fe.usePropsValue)({value:ne.current,defaultValue:q.itemData}),se=(0,Q["default"])(ie,2),be=se[0],ke=se[1];var we=(0,ee.useState)([]),Se=(0,Q["default"])(we,2),Ee=Se[0],Te=Se[1];console.log("rerender multipleSelection",Ee,(L=q.itemData)===null||L===void 0?void 0:L.purchaser_name);var Ce=Y,Pe=Ce.currentCheckedPurchaserId,De=Ce.isMultipleSelection;var Ie=(0,te.useShoppingDispatch)();var Ae=(0,ee.useState)(false),Oe=(0,Q["default"])(Ae,2),Ne=Oe[0],Me=Oe[1];var qe=(0,ee.useState)(0),Be=(0,Q["default"])(qe,2),Le=Be[0],Ue=Be[1];(0,ee.useEffect)((function(){if(Pe===(be===null||be===void 0?void 0:be.purchaser_id)){console.log("isMultipleSelection",De,Pe,be===null||be===void 0?void 0:be.purchaser_id);if(De){Te(Object.fromEntries(be===null||be===void 0?void 0:be[ge[Le]].map((function(q){return[q===null||q===void 0?void 0:q.id,{id:q===null||q===void 0?void 0:q.id,estimate_amount:q.estimate_amount,product_code:q.product_code,product_color_code:q.product_color_code,sale_mode:q.sale_mode,count:Le===le.EnumSaleMode.Bulk?q.roll:Number((0,ae.formatMeterDiv)(q.length))}]}))))}}}),[De,be,Le,Pe]);var Re=function cleanMultiSelection(){if(Pe===(be===null||be===void 0?void 0:be.purchaser_id)){Te({})}};var Ke=function onSelectOrderType(q){if(Le!==q){Re()}Ue(q);Ie({type:te.ShoppingDispatchType.UPDATE_SELECTED_AMOUNT,data:0});Ie({type:te.ShoppingDispatchType.UPDATE_MULTIPLE_SELECTION_STATUS,data:false})};var Ve=function handleClickLayout(){var B,L;if(Pe===((B=q.itemData)===null||B===void 0?void 0:B.purchaser_id)){return}ne.current=q.itemData;ke(q.itemData);Ie({type:te.ShoppingDispatchType.UPDATE_SELECTED_AMOUNT,data:0});Ie({type:te.ShoppingDispatchType.UPDATE_CURRENT_CHECKED_PURCHASERID,data:(L=q.itemData)===null||L===void 0?void 0:L.purchaser_id});Ie({type:te.ShoppingDispatchType.UPDATE_MULTIPLE_SELECTION_STATUS,data:Object.values(Ee).length===(be===null||be===void 0?void 0:be[ge[Le]].length)})};var He=function handleOpenDetail(){Me((function(q){return!q}));Ve()};var Fe=(0,ee.useMemo)((function(){var q;console.log("materialChecked",Ee);if(!Ee||(0,me.isEmptyObject)(Ee)){return 0}return new Set((q=Object.values(Ee))===null||q===void 0?void 0:q.reduce((function(q,B){if(B.sale_mode===Le){return[].concat((0,W["default"])(q),[B.product_code])}return q}),[])).size}),[Ee,Pe,Le]);var Ge=(0,ee.useMemo)((function(){console.log("colorChecked item",Ee);if(!Ee||(0,me.isEmptyObject)(Ee)){return 0}return new Set(Object.values(Ee).reduce((function(q,B){if(B.sale_mode===Le){return[].concat((0,W["default"])(q),[B.product_color_code])}return q}),[])).size}),[Ee,Pe,Le]);var Je=(0,ee.useMemo)((function(){console.log("lengthOrRollChecked item",Ee,Pe);if(!Ee||(0,me.isEmptyObject)(Ee)){return 0}return Object.values(Ee).reduce((function(q,B){return q+B.count}),0)||0}),[Ee,Pe,Le]);var We=(0,he.ShoppingCartListApi)(),Qe=We.fetchData;var Xe=function updatePurchaserMultipleSelection(q,B,L,U){if((be===null||be===void 0?void 0:be.purchaser_id)===q){console.log("updatePurchaserMultipleSelection",q);if(L==="add"){var V=(0,G["default"])((0,G["default"])({},Ee),{},(0,H["default"])({},U,B));console.log("nextMultipleSelection",V);Te(V);if((be===null||be===void 0?void 0:be[ge[Le]].length)===Object.keys(V).length){Ie({type:te.ShoppingDispatchType.UPDATE_MULTIPLE_SELECTION_STATUS,data:true})}}else if(L==="delete"){var W=(0,G["default"])({},Ee);W===null||W===void 0?true:delete W[U];Te(W);if(De){Ie({type:te.ShoppingDispatchType.UPDATE_MULTIPLE_SELECTION_STATUS,data:false})}}}};var Ye=function handleOtherHighLight(q,B){if(q===(be===null||be===void 0?void 0:be.purchaser_id)){if((B===null||B===void 0?void 0:B[ge[Le]].length)!==0){return}for(var L=0;L<ve.length;L++){if((B===null||B===void 0?void 0:B[ge[L]].length)!==0){Ke(L);return}}}};(0,ee.useEffect)((function(){_e.events.on("handleOtherHighLight",Ye);return function(){_e.events.off("handleOtherHighLight",Ye)}}),[Ye]);(0,ee.useEffect)((function(){_e.events.on("updatePurchaserMultipleSelection",Xe);return function(){_e.events.off("updatePurchaserMultipleSelection",Xe)}}),[Xe]);var Ze=function(){var q=(0,V["default"])((0,U["default"])().mark((function _callee(q){var B,L,V;return(0,U["default"])().wrap((function _callee$(U){while(1)switch(U.prev=U.next){case 0:if(!((be===null||be===void 0?void 0:be.purchaser_id)!==q)){U.next=2;break}return U.abrupt("return");case 2:console.log("request new data start run");U.next=5;return Qe({purchaser_id:q});case 5:B=U.sent;console.log("res===>",B);if(!B.success){U.next=16;break}if(B.data.list.length){U.next=10;break}return U.abrupt("return",me.alert.error("修改数量失败"));case 10:V=Object.fromEntries((L=B.data.list[0])===null||L===void 0?void 0:L[ge[Le]].map((function(q){return[q===null||q===void 0?void 0:q.id,{id:q===null||q===void 0?void 0:q.id,estimate_amount:q.estimate_amount,product_code:q.product_code,product_color_code:q.product_color_code,sale_mode:q.sale_mode,count:Le===le.EnumSaleMode.Bulk?q.roll:Number((0,ae.formatMeterDiv)(q.length))}]})));Te((function(q){return Object.fromEntries(Object.keys(q).map((function(q){return[q,{id:Number(q),estimate_amount:V[q].estimate_amount,product_code:V[q].product_code,product_color_code:V[q].product_color_code,sale_mode:V[q].sale_mode,count:V[q].count}]})))}));ne.current=B.data.list[0];ke((function(){return B.data.list[0]}));U.next=17;break;case 16:me.alert.error("请求失败");case 17:case"end":return U.stop()}}),_callee)})));return function fetchSpecificPurchaser(B){return q.apply(this,arguments)}}();var $e=(0,he.ShoppingCartDeleteApi)(),en=$e.fetchData;var nn=function(){var B=(0,V["default"])((0,U["default"])().mark((function _callee3(B){var L;return(0,U["default"])().wrap((function _callee3$(H){while(1)switch(H.prev=H.next){case 0:console.log("handleDelete",be===null||be===void 0?void 0:be.purchaser_id,B);if(!(B!==(be===null||be===void 0?void 0:be.purchaser_id))){H.next=3;break}return H.abrupt("return");case 3:console.log("multipleSelection",Ee);L=Object.values(Ee);if(!(L.length===0)){H.next=7;break}return H.abrupt("return",me.alert.error("请选择商品"));case 7:console.log("checked==>",L);Z().showModal({title:"要删除这些商品吗?",success:function success(B){return(0,V["default"])((0,U["default"])().mark((function _callee2(){var V,H;return(0,U["default"])().wrap((function _callee2$(U){while(1)switch(U.prev=U.next){case 0:if(!B.confirm){U.next=7;break}me.alert.showLoading("删除中");V=L.map((function(q){return q.id}));U.next=5;return en({ids:V.join(",")});case 5:H=U.sent;if(H.success){me.alert.hideLoading();me.alert.success("删除成功");Re();Ie({type:te.ShoppingDispatchType.UPDATE_MULTIPLE_SELECTION_STATUS,data:false});q===null||q===void 0?void 0:q.onDeleteItem()}else{me.alert.hideLoading();me.alert.none(H.msg)}case 7:case"end":return U.stop()}}),_callee2)})))()}});case 9:case"end":return H.stop()}}),_callee3)})));return function handleDelete(q){return B.apply(this,arguments)}}();var on=function handleSettleAccount(q){console.log("handleSettleAccount",be===null||be===void 0?void 0:be.purchaser_id,q);if(q!==(be===null||be===void 0?void 0:be.purchaser_id)){return}if(!Ee){return me.alert.error("请先选择客户")}var B=Object.values(Ee).reduce((function(q,B){return[].concat((0,W["default"])(q),[B.id])}),[]);if(B.length===0){return me.alert.error("请先选择商品")}(0,me.goLink)("/pages/submitOrder/index",{purchaser_id:Pe,sale_mode:Le,shopping_cart_product_color_list:JSON.stringify(B),purchaser_name:be===null||be===void 0?void 0:be.purchaser_name,isBuyNew:false})};(0,ee.useEffect)((function(){_e.events.on("FetchSpecificPurchaser",Ze);_e.events.on("DeleteSpecificItem",nn);_e.events.on("SettleAccount",on);_e.events.on("CleanMultiSelection",Re);return function(){_e.events.off("FetchSpecificPurchaser",Ze);_e.events.off("DeleteSpecificItem",nn);_e.events.off("SettleAccount",on);_e.events.off("CleanMultiSelection",Re)}}),[Ze,nn,on]);(0,ee.useEffect)((function(){if((be===null||be===void 0?void 0:be.purchaser_id)===Pe){var q=Object.values(Ee);console.log("shoppingCartItem multipleSelection change",Ee,be===null||be===void 0?void 0:be.purchaser_name);if(q.length>0){var B=q.reduce((function(q,B){return q+Number((0,ae.formatPriceDiv)(B.estimate_amount))}),0);Ie({type:te.ShoppingDispatchType.UPDATE_SELECTED_AMOUNT,data:B})}else{Ie({type:te.ShoppingDispatchType.UPDATE_SELECTED_AMOUNT,data:0})}}}),[Ee]);return(0,xe.jsxs)(re["default"],{circle:true,customClassName:oe()(ue["default"].layout,(be===null||be===void 0?void 0:be.purchaser_id)===Pe?ue["default"].selected:""),customStyle:{paddingBottom:!Ne?"24rpx":0},onClick:Ve,children:[(0,xe.jsxs)(X.View,{className:oe()(ue["default"].checkbox,"flex-row","justify-between"),onClick:He,children:[(0,xe.jsxs)(X.View,{className:ue["default"].topItem,children:[(0,xe.jsxs)(X.View,{className:"flex-row items-center",children:[(0,xe.jsx)(X.View,{className:ue["default"].topTitle,children:be===null||be===void 0?void 0:be.purchaser_name}),(be===null||be===void 0?void 0:be.sale_user_name)&&(0,xe.jsx)(ce["default"],{type:"info",size:"normal",circle:true,customStyle:{backgroundColor:"#f0f0f0",borderColor:"transparent"},plain:true,children:be===null||be===void 0?void 0:be.sale_user_name})]}),(0,xe.jsx)(X.View,{className:ue["default"].summary,children:(0,xe.jsxs)(X.Text,{children:["已选 ",Fe," 种面料,",Ge," 个颜色,共"," ",Le===le.EnumSaleMode.Bulk?"".concat(Je," 条"):"".concat(Je.toLocaleString()," 米")]})})]}),(0,xe.jsx)(je,{isOpen:Ne})]}),Ne&&(0,xe.jsx)(xe.Fragment,{children:(0,xe.jsxs)(X.View,{className:oe()(ue["default"].detailBox,Ne?ue["default"].drawerOpen:ue["default"].drawerClose),children:[(0,xe.jsx)(X.View,{className:ue["default"].orderType,children:(0,xe.jsxs)(X.View,{className:ue["default"].orderTypeDetail,children:[(0,xe.jsx)(ye,{customStyle:{padding:"0 50rpx",height:"60rpx"},isActive:Le===le.EnumSaleMode.Bulk,onClick:function onClick(){return Ke(le.EnumSaleMode.Bulk)},children:"大货"}),(0,xe.jsx)(ye,{customStyle:{padding:"0 50rpx",height:"60rpx"},isActive:Le===le.EnumSaleMode.Plate,onClick:function onClick(){return Ke(le.EnumSaleMode.Plate)},children:"剪板"}),(0,xe.jsx)(ye,{customStyle:{padding:"0 50rpx",height:"60rpx"},isActive:Le===le.EnumSaleMode.BulkCut,onClick:function onClick(){return Ke(le.EnumSaleMode.BulkCut)},children:"散剪"})]})}),(0,xe.jsxs)(X.View,{className:ue["default"].orderColor,children:[(0,xe.jsx)(de["default"],{customClassName:ue["default"].line}),(0,xe.jsxs)(X.View,{className:oe()(ue["default"].orderTitle,"justify-between"),children:[(0,xe.jsx)(X.Text,{children:"布料颜色"}),(0,xe.jsxs)(ce["default"],{type:"danger",size:"normal",circle:true,plain:true,children:[pe.selectList[Le].title,"单位:",pe.selectList[Le].unit]})]})]}),(0,xe.jsx)(X.View,{className:ue["default"].orderContainer,children:(0,xe.jsx)(ze,{multipleSelection:Ee,itemData:be,selected:Le})})]})})]})};var Te=function withStateSlice(q,B){var L=(0,ee.memo)(q);var U=function Wrapper(q,B){var U=(0,te.useShoppingState)();var V=(0,ee.useMemo)((function(){return{currentCheckedPurchaserId:U.currentCheckedPurchaserId,isMultipleSelection:U.isMultipleSelection}}),[U.currentCheckedPurchaserId,U.isMultipleSelection]);return(0,xe.jsx)(L,(0,G["default"])({ref:B,state:V},q))};return(0,ee.memo)((0,ee.forwardRef)(U))};var Ce=Te(Ee,(function(q){return{currentCheckedPurchaserId:q.currentCheckedPurchaserId,isMultipleSelection:q.isMultipleSelection}}));B["default"]=Ce},"./src/pages/shopping/components/shoppingCart/index.tsx":function(q,B,L){L.d(B,{ShoppingProvider:function(){return Q}});var U=L("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var V=L("./node_modules/react/cjs/react.production.min.js");var H=L("./src/pages/shopping/context/index.ts");var G=L("./src/pages/shopping/context/shoppingStore.ts");var W=L("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var Q=function ShoppingProvider(q){var B=q.children,L=q.initialValues;var Q=(0,V.useMemo)((function(){return new G.ShoppingStore}),[]);var X=(0,V.useReducer)(H.shoppingReducer,{colorStore:L||{},currentCheckedPurchaserId:-1,isManageStatus:false,isMultipleSelection:false,selectedAmount:0,Observer:Q}),Y=(0,U["default"])(X,2),Z=Y[0],ee=Y[1];return(0,W.jsx)(H.ShoppingStateContext.Provider,{value:Z,children:(0,W.jsx)(H.ShoppingDispatchContext.Provider,{value:ee,children:B})})}},"./src/pages/shopping/context/index.ts":function(q,B,L){L.d(B,{ShoppingDispatchContext:function(){return X},ShoppingDispatchType:function(){return G},ShoppingStateContext:function(){return Q},shoppingReducer:function(){return W},useShoppingDispatch:function(){return useShoppingDispatch},useShoppingState:function(){return useShoppingState}});var U=L("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");var V=L("./node_modules/immer/dist/immer.esm.mjs");var H=L("./node_modules/react/cjs/react.production.min.js");var G=function(q){q["UPDATE_MANAGE_STATUS"]="UPDATE_MANAGE_STATUS";q["UPDATE_MULTIPLE_SELECTION_STATUS"]="UPDATE_MULTIPLE_SELECTION_STATUS";q["UPDATE_CURRENT_CHECKED_PURCHASERID"]="UPDATE_CURRENT_CHECKED_PURCHASERID";q["UPDATE_COLOR_STORE"]="UPDATE_COLOR_STORE";q["UPDATE_SELECTED_AMOUNT"]="UPDATE_SELECTED_AMOUNT";q["UPDATE_CHANGED_CHECKBOX"]="UPDATE_CHANGED_CHECKBOX";return q}({});var W=(0,V["default"])((function(q,B){var L=B.type,H=B.data;switch(L){case G.UPDATE_MANAGE_STATUS:{q.isManageStatus=H;break}case G.UPDATE_MULTIPLE_SELECTION_STATUS:{q.isMultipleSelection=H;break}case G.UPDATE_CURRENT_CHECKED_PURCHASERID:{q.currentCheckedPurchaserId=H;break}case G.UPDATE_COLOR_STORE:{q.colorStore=H;break}case G.UPDATE_SELECTED_AMOUNT:{q.selectedAmount=H;break}case G.UPDATE_CHANGED_CHECKBOX:{if(!q.colorStore[H.purchaserId]){q.colorStore[H.purchaserId]={purchaserId:H.purchaserId,goodsKind:H.goodsKind,multipleSelection:H.multipleSelection}}else{q.colorStore[H.purchaserId]=(0,V["default"])(q.colorStore[H.purchaserId],(function(q){q.purchaserId=H.purchaserId;q.goodsKind=(0,U["default"])((0,U["default"])({},q.goodsKind),H.goodsKind);q.multipleSelection=H.multipleSelection?H.multipleSelection:q===null||q===void 0?void 0:q.multipleSelection}))}break}default:throwError()}}));var Q=H.createContext(null);var X=H.createContext(null);function useShoppingState(){var q=(0,H.useContext)(Q);if(!q){throw new Error("没有获取到shopping context")}return q}function useShoppingDispatch(){var q=(0,H.useContext)(X);if(!q){throw new Error("没有获取到shopping dispatch")}return q}function useWatch(q,B){var L=useShoppingState(),U=L.colorStore;return B?U[q].goodsKind[B]:U[q].goodsKind}function throwError(){throw new Error("没有这个action.type")}},"./src/pages/shopping/context/shoppingStore.ts":function(q,B,L){L.d(B,{ShoppingStore:function(){return X},events:function(){return Q}});var U=L("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");var V=L("./node_modules/@babel/runtime/helpers/esm/createClass.js");var H=L("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");var G=L("./node_modules/@tarojs/taro/index.js");var W=L.n(G);var Q=new G.Events;var X=function(){function ShoppingStore(q){(0,U["default"])(this,ShoppingStore);(0,H["default"])(this,"store",{});(0,H["default"])(this,"observers",[]);q&&this.updateStore(q)}(0,V["default"])(ShoppingStore,[{key:"updateStore",value:function updateStore(q){this.store=q}},{key:"subscribe",value:function subscribe(q){var B=this;this.observers.push(q);return function(){B.observers=B.observers.filter((function(B){return q!==B}))}}},{key:"notify",value:function notify(q){this.observers.forEach((function(B){B(q)}))}}]);return ShoppingStore}()},"./src/pages/shopping/index.tsx":function(q,B,L){var U=L("./node_modules/@tarojs/runtime/dist/runtime.esm.js");var V=L("./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/shopping/index.tsx");var H={navigationBarTitleText:"购物页面"};var G=Page((0,U.createPageConfig)(V["default"],"pages/shopping/index",{root:{cn:[]}},H||{}));var W=V["default"]},"./src/pages/shopping/components/bottomEditBar/index.module.scss":function(q,B){B["default"]={common_safe_area_y:"index-module__common_safe_area_y___eNJSZ","flex-col":"index-module__flex-col___PhLMD","flex-row":"index-module__flex-row___d_wkz","justify-between":"index-module__justify-between___zRtwG","justify-center":"index-module__justify-center___QHT2E","items-center":"index-module__items-center___AJIf7","flex-item":"index-module__flex-item___w_MjE","full-100":"index-module__full-100___IkB6L","color-blue":"index-module__color-blue___J24Mw","color-yellow":"index-module__color-yellow___kGAM0","color-green":"index-module__color-green___aWfB5","color-grey":"index-module__color-grey___LVlhS","color-white":"index-module__color-white___qLZgT","s-w":"index-module__s-w___QjSIe","s-e":"index-module__s-e___cufU9",filter:"index-module__filter___UsaGB",iconfont:"index-module__iconfont___C0_iy","icon-shouhou1":"index-module__icon-shouhou1___aADs3","icon-cangku1":"index-module__icon-cangku1___HZjHs","icon-saoma":"index-module__icon-saoma___qMQYu","icon-dizhi1":"index-module__icon-dizhi1___W6P7q","icon-huodaofukuan":"index-module__icon-huodaofukuan___XAayH","icon-yufukuan1":"index-module__icon-yufukuan1___GDpJW","icon-yue":"index-module__icon-yue___bIsUv","icon-zidingyi":"index-module__icon-zidingyi___JNIEI","icon-jinetiaozheng":"index-module__icon-jinetiaozheng___FC_kO","icon-tuikuan1":"index-module__icon-tuikuan1___ylTMW","icon-zhankai":"index-module__icon-zhankai___MpVdg","icon-shouqi":"index-module__icon-shouqi___uB_xQ","icon-lujing":"index-module__icon-lujing___MAiRE","icon-jizhumima":"index-module__icon-jizhumima___YBmij","icon-a-jizhumima":"index-module__icon-a-jizhumima___NSx3I","icon-weixindenglu":"index-module__icon-weixindenglu___V5g1I","icon-kehuxinxi":"index-module__icon-kehuxinxi___BzmsQ","icon-yewuyuanqizi":"index-module__icon-yewuyuanqizi___YQ0vT","icon-chakanquanbukehu":"index-module__icon-chakanquanbukehu___b74pb","icon-biyan":"index-module__icon-biyan___BCmiC","icon-bianji":"index-module__icon-bianji___qBmPa","icon-daikuan":"index-module__icon-daikuan___Rfgm_","icon-cangku":"index-module__icon-cangku___rK2Up","icon-guanlidingdan":"index-module__icon-guanlidingdan___bljyL","icon-mima":"index-module__icon-mima___FJFuQ","icon-guanbi":"index-module__icon-guanbi___ymJ98","icon-jianshao":"index-module__icon-jianshao___HcKFh","icon-dingwei":"index-module__icon-dingwei___qqt2I","icon-saomiao":"index-module__icon-saomiao___vVNk6","icon-peihuo":"index-module__icon-peihuo___IlHnb","icon-shaixuan":"index-module__icon-shaixuan___Es3Pm","icon-paiming":"index-module__icon-paiming___i275I","icon-shanchusousuoxinxi":"index-module__icon-shanchusousuoxinxi___RuR2c","icon-shijian":"index-module__icon-shijian___qiu41","icon-sousuo":"index-module__icon-sousuo___SQqDi","icon-shouhou":"index-module__icon-shouhou___wK4XV","icon-sousuofanhui":"index-module__icon-sousuofanhui___V5zhA","icon-sousuoshanchu":"index-module__icon-sousuoshanchu___RkDcK","icon-tuikuan":"index-module__icon-tuikuan___rt1b9","icon-tishi":"index-module__icon-tishi___LXMgU","icon-xianxiahuizong":"index-module__icon-xianxiahuizong___HMwSh","icon-xinzeng":"index-module__icon-xinzeng___WYWHr","icon-yonghuming":"index-module__icon-yonghuming___cA7m_","icon-yanjing":"index-module__icon-yanjing___hpC6D","icon-yufukuan":"index-module__icon-yufukuan___yOJoO","icon-wodekefu":"index-module__icon-wodekefu____GGUE","icon-dizhi":"index-module__icon-dizhi___sEqzJ","icon-shouhouzhongxin":"index-module__icon-shouhouzhongxin___AwN9P","icon-wodeshoucang":"index-module__icon-wodeshoucang___YLFSd","icon-shoukuanliebiao":"index-module__icon-shoukuanliebiao___TTdKw","icon-madanguanli":"index-module__icon-madanguanli___Fh1k1","icon-qusechazhao":"index-module__icon-qusechazhao___Degqq","icon-pandiansaoma":"index-module__icon-pandiansaoma___p11CU","icon-yaoqingma":"index-module__icon-yaoqingma___DR2YL","icon-duizhang":"index-module__icon-duizhang___xRfnI","icon-tihuoliebiao":"index-module__icon-tihuoliebiao___bwQ27","icon-yangpinduibi":"index-module__icon-yangpinduibi___zy9CJ","icon-yansequyang":"index-module__icon-yansequyang___cCr8l","icon-fahuoliebiao":"index-module__icon-fahuoliebiao___kDKpe","icon-yuncangkucun":"index-module__icon-yuncangkucun___fhSLq","icon-xiaoshou":"index-module__icon-xiaoshou___c1MOY","icon-qianzhicangkucun":"index-module__icon-qianzhicangkucun___GNaBt","icon-lingquseka":"index-module__icon-lingquseka___LjeJQ","icon-gouwu1":"index-module__icon-gouwu1___N5F9W","icon-dingdan1":"index-module__icon-dingdan1___EARjU","icon-gerenzhongxin1":"index-module__icon-gerenzhongxin1___BOUOd","icon-shouye1":"index-module__icon-shouye1___HIRA7","icon-gerenzhongxin":"index-module__icon-gerenzhongxin___kUNiM","icon-dingdan":"index-module__icon-dingdan___lLjRa","icon-shouye":"index-module__icon-shouye___N0azj","icon-gouwu":"index-module__icon-gouwu___pTmd7",bottomBar:"index-module__bottomBar___hWO3j",bottomLeft:"index-module__bottomLeft___UsLb7",moneyText:"index-module__moneyText___C4ulT",moneyNumber:"index-module__moneyNumber___fMs_5",bottomRight:"index-module__bottomRight___NAKOE"}},"./src/pages/shopping/components/bottomSettleBar/index.module.scss":function(q,B){B["default"]={common_safe_area_y:"index-module__common_safe_area_y___ywkBM","flex-col":"index-module__flex-col___de8wP","flex-row":"index-module__flex-row___gDspD","justify-between":"index-module__justify-between___VoVh6","justify-center":"index-module__justify-center___gVzDU","items-center":"index-module__items-center___ozCp3","flex-item":"index-module__flex-item___gVEzn","full-100":"index-module__full-100___jvGKu","color-blue":"index-module__color-blue___c4cFd","color-yellow":"index-module__color-yellow___fKrs3","color-green":"index-module__color-green___yIx6k","color-grey":"index-module__color-grey___oGnEl","color-white":"index-module__color-white___bN0GE","s-w":"index-module__s-w___WGA8M","s-e":"index-module__s-e___Tk6q7",filter:"index-module__filter____OLRp",iconfont:"index-module__iconfont___T0qZ0","icon-shouhou1":"index-module__icon-shouhou1___o0cXg","icon-cangku1":"index-module__icon-cangku1___PwsvY","icon-saoma":"index-module__icon-saoma___Y_VUo","icon-dizhi1":"index-module__icon-dizhi1___l_fY8","icon-huodaofukuan":"index-module__icon-huodaofukuan___RSyvL","icon-yufukuan1":"index-module__icon-yufukuan1___BBg6B","icon-yue":"index-module__icon-yue___TVZiO","icon-zidingyi":"index-module__icon-zidingyi___c8zY5","icon-jinetiaozheng":"index-module__icon-jinetiaozheng___O6kFY","icon-tuikuan1":"index-module__icon-tuikuan1___qud3h","icon-zhankai":"index-module__icon-zhankai___IjJW7","icon-shouqi":"index-module__icon-shouqi____pyHP","icon-lujing":"index-module__icon-lujing___IOQAa","icon-jizhumima":"index-module__icon-jizhumima___YarnE","icon-a-jizhumima":"index-module__icon-a-jizhumima___KWxHW","icon-weixindenglu":"index-module__icon-weixindenglu___onyM5","icon-kehuxinxi":"index-module__icon-kehuxinxi___CfWI0","icon-yewuyuanqizi":"index-module__icon-yewuyuanqizi___znq4n","icon-chakanquanbukehu":"index-module__icon-chakanquanbukehu___Qs1iu","icon-biyan":"index-module__icon-biyan____9_gX","icon-bianji":"index-module__icon-bianji___oUfY7","icon-daikuan":"index-module__icon-daikuan___JYwED","icon-cangku":"index-module__icon-cangku___VNtbN","icon-guanlidingdan":"index-module__icon-guanlidingdan___Dh4xp","icon-mima":"index-module__icon-mima___pr4cd","icon-guanbi":"index-module__icon-guanbi___UI8Hy","icon-jianshao":"index-module__icon-jianshao___O0LJM","icon-dingwei":"index-module__icon-dingwei____P4rr","icon-saomiao":"index-module__icon-saomiao___Tt5pZ","icon-peihuo":"index-module__icon-peihuo___knob_","icon-shaixuan":"index-module__icon-shaixuan___PTsRm","icon-paiming":"index-module__icon-paiming___JHQT1","icon-shanchusousuoxinxi":"index-module__icon-shanchusousuoxinxi___Hpze2","icon-shijian":"index-module__icon-shijian___negLP","icon-sousuo":"index-module__icon-sousuo___wqL5d","icon-shouhou":"index-module__icon-shouhou___nvnIU","icon-sousuofanhui":"index-module__icon-sousuofanhui___njO9U","icon-sousuoshanchu":"index-module__icon-sousuoshanchu___XKskX","icon-tuikuan":"index-module__icon-tuikuan___rngpK","icon-tishi":"index-module__icon-tishi___pJ7Vd","icon-xianxiahuizong":"index-module__icon-xianxiahuizong___jmMwb","icon-xinzeng":"index-module__icon-xinzeng___l2Kfd","icon-yonghuming":"index-module__icon-yonghuming___mK2c6","icon-yanjing":"index-module__icon-yanjing___t9s2A","icon-yufukuan":"index-module__icon-yufukuan___JKwzB","icon-wodekefu":"index-module__icon-wodekefu___OHG7Z","icon-dizhi":"index-module__icon-dizhi___yz6qV","icon-shouhouzhongxin":"index-module__icon-shouhouzhongxin___Gopg9","icon-wodeshoucang":"index-module__icon-wodeshoucang___zBO5Q","icon-shoukuanliebiao":"index-module__icon-shoukuanliebiao___c48_7","icon-madanguanli":"index-module__icon-madanguanli___JKF3m","icon-qusechazhao":"index-module__icon-qusechazhao___sqYkn","icon-pandiansaoma":"index-module__icon-pandiansaoma___Rtr2X","icon-yaoqingma":"index-module__icon-yaoqingma___ijRHO","icon-duizhang":"index-module__icon-duizhang___TEG9f","icon-tihuoliebiao":"index-module__icon-tihuoliebiao___Ketof","icon-yangpinduibi":"index-module__icon-yangpinduibi___RXnvq","icon-yansequyang":"index-module__icon-yansequyang___QO455","icon-fahuoliebiao":"index-module__icon-fahuoliebiao___cOe2g","icon-yuncangkucun":"index-module__icon-yuncangkucun___lQ4mE","icon-xiaoshou":"index-module__icon-xiaoshou___RaSKM","icon-qianzhicangkucun":"index-module__icon-qianzhicangkucun___ooMx0","icon-lingquseka":"index-module__icon-lingquseka___Th2GH","icon-gouwu1":"index-module__icon-gouwu1___Ef6Gg","icon-dingdan1":"index-module__icon-dingdan1___HoJHK","icon-gerenzhongxin1":"index-module__icon-gerenzhongxin1___yT_Wd","icon-shouye1":"index-module__icon-shouye1___orlCc","icon-gerenzhongxin":"index-module__icon-gerenzhongxin___FBbiq","icon-dingdan":"index-module__icon-dingdan___IFviB","icon-shouye":"index-module__icon-shouye___tQeTk","icon-gouwu":"index-module__icon-gouwu___dqktj",bottomBar:"index-module__bottomBar___s1C3T",bottomLeft:"index-module__bottomLeft___CXaSe",moneyText:"index-module__moneyText___HI_B_",moneyNumber:"index-module__moneyNumber___adzn0",unit:"index-module__unit___Yo7zI",money:"index-module__money___sgJ8F"}},"./src/pages/shopping/components/colorKindItem/index.module.scss":function(q,B){B["default"]={common_safe_area_y:"index-module__common_safe_area_y___fWsCw","flex-col":"index-module__flex-col___Ra0HZ","flex-row":"index-module__flex-row___a2x9u","justify-between":"index-module__justify-between___CfLIX","justify-center":"index-module__justify-center___ve6h7","items-center":"index-module__items-center___px4zj","flex-item":"index-module__flex-item____aoyw","full-100":"index-module__full-100___hA5V5","color-blue":"index-module__color-blue___Dxo4G","color-yellow":"index-module__color-yellow___lCuXN","color-green":"index-module__color-green___dJNqM","color-grey":"index-module__color-grey___cK2Om","color-white":"index-module__color-white___QbWlK","s-w":"index-module__s-w___ZJ0be","s-e":"index-module__s-e___iKnIo",filter:"index-module__filter___sdosw",iconfont:"index-module__iconfont___mOjyG","icon-shouhou1":"index-module__icon-shouhou1___Fr5rq","icon-cangku1":"index-module__icon-cangku1___JTOrU","icon-saoma":"index-module__icon-saoma___YI_5G","icon-dizhi1":"index-module__icon-dizhi1___QHFbG","icon-huodaofukuan":"index-module__icon-huodaofukuan___zV5Cj","icon-yufukuan1":"index-module__icon-yufukuan1___m4byu","icon-yue":"index-module__icon-yue___OykWJ","icon-zidingyi":"index-module__icon-zidingyi___NyUNN","icon-jinetiaozheng":"index-module__icon-jinetiaozheng___gAI8u","icon-tuikuan1":"index-module__icon-tuikuan1___VEFRM","icon-zhankai":"index-module__icon-zhankai___pJBZi","icon-shouqi":"index-module__icon-shouqi___Jbns0","icon-lujing":"index-module__icon-lujing___k9038","icon-jizhumima":"index-module__icon-jizhumima___FB3jh","icon-a-jizhumima":"index-module__icon-a-jizhumima___0GHFw","icon-weixindenglu":"index-module__icon-weixindenglu___Q5Wpc","icon-kehuxinxi":"index-module__icon-kehuxinxi___G265g","icon-yewuyuanqizi":"index-module__icon-yewuyuanqizi___ZHCaz","icon-chakanquanbukehu":"index-module__icon-chakanquanbukehu___wSOJH","icon-biyan":"index-module__icon-biyan___scXGX","icon-bianji":"index-module__icon-bianji___bYUmo","icon-daikuan":"index-module__icon-daikuan___GHCWd","icon-cangku":"index-module__icon-cangku___kSbiF","icon-guanlidingdan":"index-module__icon-guanlidingdan___mcsiA","icon-mima":"index-module__icon-mima___SKwEZ","icon-guanbi":"index-module__icon-guanbi___RTq5b","icon-jianshao":"index-module__icon-jianshao___K8DRB","icon-dingwei":"index-module__icon-dingwei___amEmw","icon-saomiao":"index-module__icon-saomiao___Efbb8","icon-peihuo":"index-module__icon-peihuo___Zp5lk","icon-shaixuan":"index-module__icon-shaixuan___i6Qpr","icon-paiming":"index-module__icon-paiming___n6ayO","icon-shanchusousuoxinxi":"index-module__icon-shanchusousuoxinxi___nk5Fn","icon-shijian":"index-module__icon-shijian___yr8VC","icon-sousuo":"index-module__icon-sousuo___tAc75","icon-shouhou":"index-module__icon-shouhou___ysoSf","icon-sousuofanhui":"index-module__icon-sousuofanhui___rGled","icon-sousuoshanchu":"index-module__icon-sousuoshanchu___K9Coj","icon-tuikuan":"index-module__icon-tuikuan___CLyeB","icon-tishi":"index-module__icon-tishi___ltIKs","icon-xianxiahuizong":"index-module__icon-xianxiahuizong___MTTBZ","icon-xinzeng":"index-module__icon-xinzeng___he0eG","icon-yonghuming":"index-module__icon-yonghuming___uXlJ9","icon-yanjing":"index-module__icon-yanjing___qqLPn","icon-yufukuan":"index-module__icon-yufukuan___uPxHv","icon-wodekefu":"index-module__icon-wodekefu___JqGWL","icon-dizhi":"index-module__icon-dizhi___QWqIV","icon-shouhouzhongxin":"index-module__icon-shouhouzhongxin___I8LSO","icon-wodeshoucang":"index-module__icon-wodeshoucang___jVH7n","icon-shoukuanliebiao":"index-module__icon-shoukuanliebiao___jBS24","icon-madanguanli":"index-module__icon-madanguanli___o1mr6","icon-qusechazhao":"index-module__icon-qusechazhao___keOhY","icon-pandiansaoma":"index-module__icon-pandiansaoma___DS5Dr","icon-yaoqingma":"index-module__icon-yaoqingma___uh967","icon-duizhang":"index-module__icon-duizhang___dxSOX","icon-tihuoliebiao":"index-module__icon-tihuoliebiao___QQR8R","icon-yangpinduibi":"index-module__icon-yangpinduibi___Dt6bA","icon-yansequyang":"index-module__icon-yansequyang___EEV8l","icon-fahuoliebiao":"index-module__icon-fahuoliebiao___TVPPY","icon-yuncangkucun":"index-module__icon-yuncangkucun___Ypwl9","icon-xiaoshou":"index-module__icon-xiaoshou___istk5","icon-qianzhicangkucun":"index-module__icon-qianzhicangkucun___nlI9C","icon-lingquseka":"index-module__icon-lingquseka___xSkUd","icon-gouwu1":"index-module__icon-gouwu1___WSE0b","icon-dingdan1":"index-module__icon-dingdan1___tcfUQ","icon-gerenzhongxin1":"index-module__icon-gerenzhongxin1___o0wXd","icon-shouye1":"index-module__icon-shouye1___Kkak5","icon-gerenzhongxin":"index-module__icon-gerenzhongxin___dSS1N","icon-dingdan":"index-module__icon-dingdan___vqHg3","icon-shouye":"index-module__icon-shouye___EftCG","icon-gouwu":"index-module__icon-gouwu___hpHId",container:"index-module__container___8yMGa",colorKindItem:"index-module__colorKindItem___unIT2",colorKindItem__left:"index-module__colorKindItem__left___T53SU","colorKindItem__left--image":"index-module__colorKindItem__left--image___mmuUp",colorKindItem__center:"index-module__colorKindItem__center___ejsbq","colorKindItem__center--title":"index-module__colorKindItem__center--title___z6WQr","colorKindItem__center--ID":"index-module__colorKindItem__center--ID___vq6as","colorKindItem__center--description":"index-module__colorKindItem__center--description___obrWy",colorKindItem__right:"index-module__colorKindItem__right___jp_VV","colorKindItem__right--price":"index-module__colorKindItem__right--price___Fu6Pv","colorKindItem__right--yuanPrice":"index-module__colorKindItem__right--yuanPrice___hdVun",checkbox:"index-module__checkbox___IxTs9",selected:"index-module__selected___DiFAO"}},"./src/pages/shopping/components/shoppingCartItem/index.module.scss":function(q,B){B["default"]={common_safe_area_y:"index-module__common_safe_area_y___hMeQP","flex-col":"index-module__flex-col___u4mqJ","flex-row":"index-module__flex-row___QF4Xz","justify-between":"index-module__justify-between___SVnXc","justify-center":"index-module__justify-center___WAqpp","items-center":"index-module__items-center___TeRak","flex-item":"index-module__flex-item___JP4fE","full-100":"index-module__full-100___sMWPr","color-blue":"index-module__color-blue___M3nPu","color-yellow":"index-module__color-yellow___wQhTc","color-green":"index-module__color-green___ymSO3","color-grey":"index-module__color-grey___Rpf81","color-white":"index-module__color-white___U5GdE","s-w":"index-module__s-w___lIaPQ","s-e":"index-module__s-e___Wsj1P",filter:"index-module__filter___ah9RB",iconfont:"index-module__iconfont___WlKBg","icon-shouhou1":"index-module__icon-shouhou1___fnXo5","icon-cangku1":"index-module__icon-cangku1___cZW6b","icon-saoma":"index-module__icon-saoma___loxfJ","icon-dizhi1":"index-module__icon-dizhi1___oeqkg","icon-huodaofukuan":"index-module__icon-huodaofukuan___Soq27","icon-yufukuan1":"index-module__icon-yufukuan1___Afw2h","icon-yue":"index-module__icon-yue___zOOJw","icon-zidingyi":"index-module__icon-zidingyi___XkbfL","icon-jinetiaozheng":"index-module__icon-jinetiaozheng___NK4KA","icon-tuikuan1":"index-module__icon-tuikuan1___MlDpR","icon-zhankai":"index-module__icon-zhankai___mQOIf","icon-shouqi":"index-module__icon-shouqi___vaYfR","icon-lujing":"index-module__icon-lujing___kYa_3","icon-jizhumima":"index-module__icon-jizhumima___cZt3X","icon-a-jizhumima":"index-module__icon-a-jizhumima___PlEfx","icon-weixindenglu":"index-module__icon-weixindenglu___uaxfu","icon-kehuxinxi":"index-module__icon-kehuxinxi___imqXw","icon-yewuyuanqizi":"index-module__icon-yewuyuanqizi___oZnS2","icon-chakanquanbukehu":"index-module__icon-chakanquanbukehu___NAe0g","icon-biyan":"index-module__icon-biyan___WWVcu","icon-bianji":"index-module__icon-bianji___x19Qt","icon-daikuan":"index-module__icon-daikuan___l3qMj","icon-cangku":"index-module__icon-cangku___haHAw","icon-guanlidingdan":"index-module__icon-guanlidingdan___oqweC","icon-mima":"index-module__icon-mima___ZrXJS","icon-guanbi":"index-module__icon-guanbi___tDscL","icon-jianshao":"index-module__icon-jianshao___WIiD1","icon-dingwei":"index-module__icon-dingwei___g1dxc","icon-saomiao":"index-module__icon-saomiao___ooRys","icon-peihuo":"index-module__icon-peihuo___EP0Yo","icon-shaixuan":"index-module__icon-shaixuan___W5Cwc","icon-paiming":"index-module__icon-paiming___sFmCR","icon-shanchusousuoxinxi":"index-module__icon-shanchusousuoxinxi___ZWpO4","icon-shijian":"index-module__icon-shijian___YFeez","icon-sousuo":"index-module__icon-sousuo___qms0H","icon-shouhou":"index-module__icon-shouhou___VVqkj","icon-sousuofanhui":"index-module__icon-sousuofanhui___f_2eq","icon-sousuoshanchu":"index-module__icon-sousuoshanchu___HT45H","icon-tuikuan":"index-module__icon-tuikuan___wzF5i","icon-tishi":"index-module__icon-tishi___u7Iqq","icon-xianxiahuizong":"index-module__icon-xianxiahuizong___u9lYU","icon-xinzeng":"index-module__icon-xinzeng____SorA","icon-yonghuming":"index-module__icon-yonghuming___BmbnW","icon-yanjing":"index-module__icon-yanjing___cnUux","icon-yufukuan":"index-module__icon-yufukuan___MSM_u","icon-wodekefu":"index-module__icon-wodekefu___iZkmE","icon-dizhi":"index-module__icon-dizhi___UGvTl","icon-shouhouzhongxin":"index-module__icon-shouhouzhongxin___wd0Kq","icon-wodeshoucang":"index-module__icon-wodeshoucang___CdOiH","icon-shoukuanliebiao":"index-module__icon-shoukuanliebiao___lYYq0","icon-madanguanli":"index-module__icon-madanguanli___nxj6_","icon-qusechazhao":"index-module__icon-qusechazhao___fBGjY","icon-pandiansaoma":"index-module__icon-pandiansaoma___rvOSY","icon-yaoqingma":"index-module__icon-yaoqingma___tULqF","icon-duizhang":"index-module__icon-duizhang___nJbay","icon-tihuoliebiao":"index-module__icon-tihuoliebiao___OuKuH","icon-yangpinduibi":"index-module__icon-yangpinduibi___qXsFj","icon-yansequyang":"index-module__icon-yansequyang___INEXD","icon-fahuoliebiao":"index-module__icon-fahuoliebiao___oYHOq","icon-yuncangkucun":"index-module__icon-yuncangkucun___mjB1t","icon-xiaoshou":"index-module__icon-xiaoshou___lLm9h","icon-qianzhicangkucun":"index-module__icon-qianzhicangkucun___GVxMm","icon-lingquseka":"index-module__icon-lingquseka___BqkpH","icon-gouwu1":"index-module__icon-gouwu1___zZElc","icon-dingdan1":"index-module__icon-dingdan1___Jce6p","icon-gerenzhongxin1":"index-module__icon-gerenzhongxin1___WjPun","icon-shouye1":"index-module__icon-shouye1___THcHE","icon-gerenzhongxin":"index-module__icon-gerenzhongxin___PON54","icon-dingdan":"index-module__icon-dingdan___LBq8w","icon-shouye":"index-module__icon-shouye___EkPRo","icon-gouwu":"index-module__icon-gouwu___wQOz7",layout:"index-module__layout___xCsni",checkbox:"index-module__checkbox___h99C7","checkbox--text":"index-module__checkbox--text___f_Yes",selected:"index-module__selected___jo7LR",line:"index-module__line___kat2C",topItem:"index-module__topItem___yYKWx",topTitle:"index-module__topTitle___FdpQH",summary:"index-module__summary___b0i6I",detailBox:"index-module__detailBox___Ug3IB",orderTitle:"index-module__orderTitle___FfbyX",orderType:"index-module__orderType___hlmst",orderTypeDetail:"index-module__orderTypeDetail___aDmtP",orderColor:"index-module__orderColor___rxtLi",bottomBox:"index-module__bottomBox____9Lf7",drawerButton:"index-module__drawerButton___l8Rgq",drawerOpen:"index-module__drawerOpen___xkch1",drawerClose:"index-module__drawerClose___XfbvG",saleModeButton:"index-module__saleModeButton___Y9vCc","saleModeButton--text":"index-module__saleModeButton--text___mrVBc","saleModeButton--active":"index-module__saleModeButton--active___mrbjn",noList:"index-module__noList___FELw0"}},"./src/pages/shopping/index.module.scss":function(q,B){B["default"]={common_safe_area_y:"index-module__common_safe_area_y___jj3jo","flex-col":"index-module__flex-col___q_VtL","flex-row":"index-module__flex-row___Nck70","justify-between":"index-module__justify-between___UjDhf","justify-center":"index-module__justify-center___M4By6","items-center":"index-module__items-center___OBcP9","flex-item":"index-module__flex-item___wnEie","full-100":"index-module__full-100___fcChp","color-blue":"index-module__color-blue___MN6uH","color-yellow":"index-module__color-yellow___VBNSH","color-green":"index-module__color-green___QAcCb","color-grey":"index-module__color-grey___BHWcM","color-white":"index-module__color-white___Xcvik","s-w":"index-module__s-w___fChQD","s-e":"index-module__s-e___Xp3JG",filter:"index-module__filter___Mm_Ce",iconfont:"index-module__iconfont___i2K5X","icon-shouhou1":"index-module__icon-shouhou1___zX6rX","icon-cangku1":"index-module__icon-cangku1___RLZl3","icon-saoma":"index-module__icon-saoma___FhYDY","icon-dizhi1":"index-module__icon-dizhi1___jfCQQ","icon-huodaofukuan":"index-module__icon-huodaofukuan___rtX6u","icon-yufukuan1":"index-module__icon-yufukuan1___z1hDO","icon-yue":"index-module__icon-yue___iJrPD","icon-zidingyi":"index-module__icon-zidingyi___AIGCI","icon-jinetiaozheng":"index-module__icon-jinetiaozheng___nlwWi","icon-tuikuan1":"index-module__icon-tuikuan1___q6uL8","icon-zhankai":"index-module__icon-zhankai___sdA2z","icon-shouqi":"index-module__icon-shouqi___IZmTL","icon-lujing":"index-module__icon-lujing___FFzmj","icon-jizhumima":"index-module__icon-jizhumima___GBg1f","icon-a-jizhumima":"index-module__icon-a-jizhumima___V3m4w","icon-weixindenglu":"index-module__icon-weixindenglu___TUty3","icon-kehuxinxi":"index-module__icon-kehuxinxi___K6Q9y","icon-yewuyuanqizi":"index-module__icon-yewuyuanqizi___YXi8W","icon-chakanquanbukehu":"index-module__icon-chakanquanbukehu___m6mT_","icon-biyan":"index-module__icon-biyan___j7uZt","icon-bianji":"index-module__icon-bianji___z9Gan","icon-daikuan":"index-module__icon-daikuan___I1jDm","icon-cangku":"index-module__icon-cangku___wQX1T","icon-guanlidingdan":"index-module__icon-guanlidingdan___d9Lap","icon-mima":"index-module__icon-mima___HUzqZ","icon-guanbi":"index-module__icon-guanbi___VkbNi","icon-jianshao":"index-module__icon-jianshao___ocT96","icon-dingwei":"index-module__icon-dingwei___bQJyV","icon-saomiao":"index-module__icon-saomiao___c01s6","icon-peihuo":"index-module__icon-peihuo___ToMEj","icon-shaixuan":"index-module__icon-shaixuan___fLFsE","icon-paiming":"index-module__icon-paiming___fhz4x","icon-shanchusousuoxinxi":"index-module__icon-shanchusousuoxinxi___wv9bF","icon-shijian":"index-module__icon-shijian___Tpp5x","icon-sousuo":"index-module__icon-sousuo___VwJQp","icon-shouhou":"index-module__icon-shouhou___N6vPW","icon-sousuofanhui":"index-module__icon-sousuofanhui___N97gB","icon-sousuoshanchu":"index-module__icon-sousuoshanchu___AN9Ql","icon-tuikuan":"index-module__icon-tuikuan___z39y2","icon-tishi":"index-module__icon-tishi___iAzRU","icon-xianxiahuizong":"index-module__icon-xianxiahuizong___Q6yFN","icon-xinzeng":"index-module__icon-xinzeng___lDBJL","icon-yonghuming":"index-module__icon-yonghuming___EkBVj","icon-yanjing":"index-module__icon-yanjing___xKWjf","icon-yufukuan":"index-module__icon-yufukuan___g81vo","icon-wodekefu":"index-module__icon-wodekefu___WbsN7","icon-dizhi":"index-module__icon-dizhi___Y5NxC","icon-shouhouzhongxin":"index-module__icon-shouhouzhongxin___mX7Fo","icon-wodeshoucang":"index-module__icon-wodeshoucang___WBMIP","icon-shoukuanliebiao":"index-module__icon-shoukuanliebiao___PWBUn","icon-madanguanli":"index-module__icon-madanguanli___EROC3","icon-qusechazhao":"index-module__icon-qusechazhao___UJaK1","icon-pandiansaoma":"index-module__icon-pandiansaoma___Lko5M","icon-yaoqingma":"index-module__icon-yaoqingma___eCB20","icon-duizhang":"index-module__icon-duizhang___MUU9d","icon-tihuoliebiao":"index-module__icon-tihuoliebiao___kjB3j","icon-yangpinduibi":"index-module__icon-yangpinduibi___yIqYo","icon-yansequyang":"index-module__icon-yansequyang___avnLk","icon-fahuoliebiao":"index-module__icon-fahuoliebiao___YizLa","icon-yuncangkucun":"index-module__icon-yuncangkucun___kQnuO","icon-xiaoshou":"index-module__icon-xiaoshou___NJKpV","icon-qianzhicangkucun":"index-module__icon-qianzhicangkucun___x5A2u","icon-lingquseka":"index-module__icon-lingquseka___RL46m","icon-gouwu1":"index-module__icon-gouwu1___YAYoi","icon-dingdan1":"index-module__icon-dingdan1___ZBMwr","icon-gerenzhongxin1":"index-module__icon-gerenzhongxin1___VZHiu","icon-shouye1":"index-module__icon-shouye1___krgsV","icon-gerenzhongxin":"index-module__icon-gerenzhongxin___Lr8Mx","icon-dingdan":"index-module__icon-dingdan___ehafB","icon-shouye":"index-module__icon-shouye___CbrH3","icon-gouwu":"index-module__icon-gouwu___yFCMV",shopping:"index-module__shopping___rSsIK","shopping--topBar":"index-module__shopping--topBar___NgzyU","shopping--context":"index-module__shopping--context___wd0NG",shopping__list__container:"index-module__shopping__list__container___eQIei",bottomBar:"index-module__bottomBar___fVCAl",flexBox:"index-module__flexBox___XHnXI","icon--manage--cancel":"index-module__icon--manage--cancel___EBDNt"}},"./node_modules/immer/dist/immer.esm.mjs":function(q,B,L){function n(q){for(var B=arguments.length,L=Array(B>1?B-1:0),U=1;U<B;U++)L[U-1]=arguments[U];if(true){var V=ne[q],H=V?"function"==typeof V?V.apply(null,L):V:"unknown error nr: "+q;throw Error("[Immer] "+H)}throw Error("[Immer] minified error nr: "+q+(L.length?" "+L.map((function(q){return"'"+q+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(q){return!!q&&!!q[Z]}function t(q){var B;return!!q&&(function(q){if(!q||"object"!=typeof q)return!1;var B=Object.getPrototypeOf(q);if(null===B)return!0;var L=Object.hasOwnProperty.call(B,"constructor")&&B.constructor;return L===Object||"function"==typeof L&&Function.toString.call(L)===oe}(q)||Array.isArray(q)||!!q[Y]||!!(null===(B=q.constructor)||void 0===B?void 0:B[Y])||s(q)||v(q))}function e(q){return r(q)||n(23,q),q[Z].t}function i(q,B,L){void 0===L&&(L=!1),0===o(q)?(L?Object.keys:ie)(q).forEach((function(U){L&&"symbol"==typeof U||B(U,q[U],q)})):q.forEach((function(L,U){return B(U,L,q)}))}function o(q){var B=q[Z];return B?B.i>3?B.i-4:B.i:Array.isArray(q)?1:s(q)?2:v(q)?3:0}function u(q,B){return 2===o(q)?q.has(B):Object.prototype.hasOwnProperty.call(q,B)}function a(q,B){return 2===o(q)?q.get(B):q[B]}function f(q,B,L){var U=o(q);2===U?q.set(B,L):3===U?q.add(L):q[B]=L}function c(q,B){return q===B?0!==q||1/q==1/B:q!=q&&B!=B}function s(q){return G&&q instanceof Map}function v(q){return W&&q instanceof Set}function p(q){return q.o||q.t}function l(q){if(Array.isArray(q))return Array.prototype.slice.call(q);var B=te(q);delete B[Z];for(var L=ie(B),U=0;U<L.length;U++){var V=L[U],H=B[V];!1===H.writable&&(H.writable=!0,H.configurable=!0),(H.get||H.set)&&(B[V]={configurable:!0,writable:!0,enumerable:H.enumerable,value:q[V]})}return Object.create(Object.getPrototypeOf(q),B)}function d(q,B){return void 0===B&&(B=!1),y(q)||r(q)||!t(q)||(o(q)>1&&(q.set=q.add=q.clear=q.delete=h),Object.freeze(q),B&&i(q,(function(q,B){return d(B,!0)}),!0)),q}function h(){n(2)}function y(q){return null==q||"object"!=typeof q||Object.isFrozen(q)}function b(q){var B=_e[q];return B||n(18,q),B}function m(q,B){_e[q]||(_e[q]=B)}function _(){return false||V||n(0),V}function j(q,B){B&&(b("Patches"),q.u=[],q.s=[],q.v=B)}function g(q){O(q),q.p.forEach(S),q.p=null}function O(q){q===V&&(V=q.l)}function w(q){return V={p:[],l:V,h:q,m:!0,_:0}}function S(q){var B=q[Z];0===B.i||1===B.i?B.j():B.g=!0}function P(q,B){B._=B.p.length;var L=B.p[0],U=void 0!==q&&q!==L;return B.h.O||b("ES5").S(B,q,U),U?(L[Z].P&&(g(B),n(4)),t(q)&&(q=M(B,q),B.l||x(B,q)),B.u&&b("Patches").M(L[Z].t,q,B.u,B.s)):q=M(B,L,[]),g(B),B.u&&B.v(B.u,B.s),q!==X?q:void 0}function M(q,B,L){if(y(B))return B;var U=B[Z];if(!U)return i(B,(function(V,H){return A(q,U,B,V,H,L)}),!0),B;if(U.A!==q)return B;if(!U.P)return x(q,U.t,!0),U.t;if(!U.I){U.I=!0,U.A._--;var V=4===U.i||5===U.i?U.o=l(U.k):U.o,H=V,G=!1;3===U.i&&(H=new Set(V),V.clear(),G=!0),i(H,(function(B,H){return A(q,U,V,B,H,L,G)})),x(q,V,!1),L&&q.u&&b("Patches").N(U,L,q.u,q.s)}return U.o}function A(q,B,L,U,V,H,G){if(true&&V===L&&n(5),r(V)){var W=M(q,V,H&&B&&3!==B.i&&!u(B.R,U)?H.concat(U):void 0);if(f(L,U,W),!r(W))return;q.m=!1}else G&&L.add(V);if(t(V)&&!y(V)){if(!q.h.D&&q._<1)return;M(q,V),B&&B.A.l||x(q,V)}}function x(q,B,L){void 0===L&&(L=!1),!q.l&&q.h.D&&q.m&&d(B,L)}function z(q,B){var L=q[Z];return(L?p(L):q)[B]}function I(q,B){if(B in q)for(var L=Object.getPrototypeOf(q);L;){var U=Object.getOwnPropertyDescriptor(L,B);if(U)return U;L=Object.getPrototypeOf(L)}}function k(q){q.P||(q.P=!0,q.l&&k(q.l))}function E(q){q.o||(q.o=l(q.t))}function N(q,B,L){var U=s(B)?b("MapSet").F(B,L):v(B)?b("MapSet").T(B,L):q.O?function(q,B){var L=Array.isArray(q),U={i:L?1:0,A:B?B.A:_(),P:!1,I:!1,R:{},l:B,t:q,k:null,o:null,j:null,C:!1},V=U,H=ue;L&&(V=[U],H=ae);var G=Proxy.revocable(V,H),W=G.revoke,Q=G.proxy;return U.k=Q,U.j=W,Q}(B,L):b("ES5").J(B,L);return(L?L.A:_()).p.push(U),U}function R(q){return r(q)||n(22,q),function n(q){if(!t(q))return q;var B,L=q[Z],U=o(q);if(L){if(!L.P&&(L.i<4||!b("ES5").K(L)))return L.t;L.I=!0,B=D(q,U),L.I=!1}else B=D(q,U);return i(B,(function(q,U){L&&a(L.t,q)===U||f(B,q,n(U))})),3===U?new Set(B):B}(q)}function D(q,B){switch(B){case 2:return new Map(q);case 3:return Array.from(q)}return l(q)}function F(){function t(B,L){var U=q[B];return U?U.enumerable=L:q[B]=U={configurable:!0,enumerable:L,get:function(){var q=this[Z];return true&&f(q),ue.get(q,B)},set:function(q){var L=this[Z];true&&f(L),ue.set(L,B,q)}},U}function e(q){for(var B=q.length-1;B>=0;B--){var L=q[B][Z];if(!L.P)switch(L.i){case 5:a(L)&&k(L);break;case 4:o(L)&&k(L)}}}function o(q){for(var B=q.t,L=q.k,U=ie(L),V=U.length-1;V>=0;V--){var H=U[V];if(H!==Z){var G=B[H];if(void 0===G&&!u(B,H))return!0;var W=L[H],Q=W&&W[Z];if(Q?Q.t!==G:!c(W,G))return!0}}var X=!!B[Z];return U.length!==ie(B).length+(X?0:1)}function a(q){var B=q.k;if(B.length!==q.t.length)return!0;var L=Object.getOwnPropertyDescriptor(B,B.length-1);if(L&&!L.get)return!0;for(var U=0;U<B.length;U++)if(!B.hasOwnProperty(U))return!0;return!1}function f(q){q.g&&n(3,JSON.stringify(p(q)))}var q={};m("ES5",{J:function(q,B){var L=Array.isArray(q),U=function(q,B){if(q){for(var L=Array(B.length),U=0;U<B.length;U++)Object.defineProperty(L,""+U,t(U,!0));return L}var V=te(B);delete V[Z];for(var H=ie(V),G=0;G<H.length;G++){var W=H[G];V[W]=t(W,q||!!V[W].enumerable)}return Object.create(Object.getPrototypeOf(B),V)}(L,q),V={i:L?5:4,A:B?B.A:_(),P:!1,I:!1,R:{},l:B,t:q,k:U,o:null,g:!1,C:!1};return Object.defineProperty(U,Z,{value:V,writable:!0}),U},S:function(q,B,L){L?r(B)&&B[Z].A===q&&e(q.p):(q.u&&function n(q){if(q&&"object"==typeof q){var B=q[Z];if(B){var L=B.t,U=B.k,V=B.R,H=B.i;if(4===H)i(U,(function(q){q!==Z&&(void 0!==L[q]||u(L,q)?V[q]||n(U[q]):(V[q]=!0,k(B)))})),i(L,(function(q){void 0!==U[q]||u(U,q)||(V[q]=!1,k(B))}));else if(5===H){if(a(B)&&(k(B),V.length=!0),U.length<L.length)for(var G=U.length;G<L.length;G++)V[G]=!1;else for(var W=L.length;W<U.length;W++)V[W]=!0;for(var Q=Math.min(U.length,L.length),X=0;X<Q;X++)U.hasOwnProperty(X)||(V[X]=!0),void 0===V[X]&&n(U[X])}}}}(q.p[0]),e(q.p))},K:function(q){return 4===q.i?o(q):a(q)}})}function T(){function e(q){if(!t(q))return q;if(Array.isArray(q))return q.map(e);if(s(q))return new Map(Array.from(q.entries()).map((function(q){return[q[0],e(q[1])]})));if(v(q))return new Set(Array.from(q).map(e));var B=Object.create(Object.getPrototypeOf(q));for(var L in q)B[L]=e(q[L]);return u(q,Y)&&(B[Y]=q[Y]),B}function f(q){return r(q)?e(q):q}var q="add";m("Patches",{$:function(B,L){return L.forEach((function(L){for(var U=L.path,V=L.op,H=B,G=0;G<U.length-1;G++){var W=o(H),Q=U[G];"string"!=typeof Q&&"number"!=typeof Q&&(Q=""+Q),0!==W&&1!==W||"__proto__"!==Q&&"constructor"!==Q||n(24),"function"==typeof H&&"prototype"===Q&&n(24),"object"!=typeof(H=a(H,Q))&&n(15,U.join("/"))}var X=o(H),Y=e(L.value),Z=U[U.length-1];switch(V){case"replace":switch(X){case 2:return H.set(Z,Y);case 3:n(16);default:return H[Z]=Y}case q:switch(X){case 1:return"-"===Z?H.push(Y):H.splice(Z,0,Y);case 2:return H.set(Z,Y);case 3:return H.add(Y);default:return H[Z]=Y}case"remove":switch(X){case 1:return H.splice(Z,1);case 2:return H.delete(Z);case 3:return H.delete(L.value);default:return delete H[Z]}default:n(17,V)}})),B},N:function(B,L,U,V){switch(B.i){case 0:case 4:case 2:return function(B,L,U,V){var H=B.t,G=B.o;i(B.R,(function(B,W){var Q=a(H,B),X=a(G,B),Y=W?u(H,B)?"replace":q:"remove";if(Q!==X||"replace"!==Y){var Z=L.concat(B);U.push("remove"===Y?{op:Y,path:Z}:{op:Y,path:Z,value:X}),V.push(Y===q?{op:"remove",path:Z}:"remove"===Y?{op:q,path:Z,value:f(Q)}:{op:"replace",path:Z,value:f(Q)})}}))}(B,L,U,V);case 5:case 1:return function(B,L,U,V){var H=B.t,G=B.R,W=B.o;if(W.length<H.length){var Q=[W,H];H=Q[0],W=Q[1];var X=[V,U];U=X[0],V=X[1]}for(var Y=0;Y<H.length;Y++)if(G[Y]&&W[Y]!==H[Y]){var Z=L.concat([Y]);U.push({op:"replace",path:Z,value:f(W[Y])}),V.push({op:"replace",path:Z,value:f(H[Y])})}for(var ee=H.length;ee<W.length;ee++){var ne=L.concat([ee]);U.push({op:q,path:ne,value:f(W[ee])})}H.length<W.length&&V.push({op:"replace",path:L.concat(["length"]),value:H.length})}(B,L,U,V);case 3:return function(B,L,U,V){var H=B.t,G=B.o,W=0;H.forEach((function(B){if(!G.has(B)){var H=L.concat([W]);U.push({op:"remove",path:H,value:B}),V.unshift({op:q,path:H,value:B})}W++})),W=0,G.forEach((function(B){if(!H.has(B)){var G=L.concat([W]);U.push({op:q,path:G,value:B}),V.unshift({op:"remove",path:G,value:B})}W++}))}(B,L,U,V)}},M:function(q,B,L,U){L.push({op:"replace",path:[],value:B===X?void 0:B}),U.push({op:"replace",path:[],value:q})}})}function C(){function r(q,B){function t(){this.constructor=q}a(q,B),q.prototype=(t.prototype=B.prototype,new t)}function e(q){q.o||(q.R=new Map,q.o=new Map(q.t))}function o(q){q.o||(q.o=new Set,q.t.forEach((function(B){if(t(B)){var L=N(q.A.h,B,q);q.p.set(B,L),q.o.add(L)}else q.o.add(B)})))}function u(q){q.g&&n(3,JSON.stringify(p(q)))}var a=function(q,B){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,B){q.__proto__=B}||function(q,B){for(var L in B)B.hasOwnProperty(L)&&(q[L]=B[L])})(q,B)},q=function(){function n(q,B){return this[Z]={i:2,l:B,A:B?B.A:_(),P:!1,I:!1,o:void 0,R:void 0,t:q,k:this,C:!1,g:!1},this}r(n,Map);var q=n.prototype;return Object.defineProperty(q,"size",{get:function(){return p(this[Z]).size}}),q.has=function(q){return p(this[Z]).has(q)},q.set=function(q,B){var L=this[Z];return u(L),p(L).has(q)&&p(L).get(q)===B||(e(L),k(L),L.R.set(q,!0),L.o.set(q,B),L.R.set(q,!0)),this},q.delete=function(q){if(!this.has(q))return!1;var B=this[Z];return u(B),e(B),k(B),B.t.has(q)?B.R.set(q,!1):B.R.delete(q),B.o.delete(q),!0},q.clear=function(){var q=this[Z];u(q),p(q).size&&(e(q),k(q),q.R=new Map,i(q.t,(function(B){q.R.set(B,!1)})),q.o.clear())},q.forEach=function(q,B){var L=this;p(this[Z]).forEach((function(U,V){q.call(B,L.get(V),V,L)}))},q.get=function(q){var B=this[Z];u(B);var L=p(B).get(q);if(B.I||!t(L))return L;if(L!==B.t.get(q))return L;var U=N(B.A.h,L,B);return e(B),B.o.set(q,U),U},q.keys=function(){return p(this[Z]).keys()},q.values=function(){var q,B=this,L=this.keys();return(q={})[ee]=function(){return B.values()},q.next=function(){var q=L.next();return q.done?q:{done:!1,value:B.get(q.value)}},q},q.entries=function(){var q,B=this,L=this.keys();return(q={})[ee]=function(){return B.entries()},q.next=function(){var q=L.next();if(q.done)return q;var U=B.get(q.value);return{done:!1,value:[q.value,U]}},q},q[ee]=function(){return this.entries()},n}(),B=function(){function n(q,B){return this[Z]={i:3,l:B,A:B?B.A:_(),P:!1,I:!1,o:void 0,t:q,k:this,p:new Map,g:!1,C:!1},this}r(n,Set);var q=n.prototype;return Object.defineProperty(q,"size",{get:function(){return p(this[Z]).size}}),q.has=function(q){var B=this[Z];return u(B),B.o?!!B.o.has(q)||!(!B.p.has(q)||!B.o.has(B.p.get(q))):B.t.has(q)},q.add=function(q){var B=this[Z];return u(B),this.has(q)||(o(B),k(B),B.o.add(q)),this},q.delete=function(q){if(!this.has(q))return!1;var B=this[Z];return u(B),o(B),k(B),B.o.delete(q)||!!B.p.has(q)&&B.o.delete(B.p.get(q))},q.clear=function(){var q=this[Z];u(q),p(q).size&&(o(q),k(q),q.o.clear())},q.values=function(){var q=this[Z];return u(q),o(q),q.o.values()},q.entries=function(){var q=this[Z];return u(q),o(q),q.o.entries()},q.keys=function(){return this.values()},q[ee]=function(){return this.values()},q.forEach=function(q,B){for(var L=this.values(),U=L.next();!U.done;)q.call(B,U.value,U.value,this),U=L.next()},n}();m("MapSet",{F:function(B,L){return new q(B,L)},T:function(q,L){return new B(q,L)}})}function J(){F(),C(),T()}function K(q){return q}function $(q){return q}var U,V,H="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),G="undefined"!=typeof Map,W="undefined"!=typeof Set,Q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,X=H?Symbol.for("immer-nothing"):((U={})["immer-nothing"]=!0,U),Y=H?Symbol.for("immer-draftable"):"__$immer_draftable",Z=H?Symbol.for("immer-state"):"__$immer_state",ee="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",ne={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(q){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+q},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(q){return"Cannot apply patch, path doesn't resolve: "+q},16:'Sets cannot have "replace" patches.',17:function(q){return"Unsupported patch operation: "+q},18:function(q){return"The plugin for '"+q+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+q+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(q){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+q+"'"},22:function(q){return"'current' expects a draft, got: "+q},23:function(q){return"'original' expects a draft, got: "+q},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},oe=""+Object.prototype.constructor,ie="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(q){return Object.getOwnPropertyNames(q).concat(Object.getOwnPropertySymbols(q))}:Object.getOwnPropertyNames,te=Object.getOwnPropertyDescriptors||function(q){var B={};return ie(q).forEach((function(L){B[L]=Object.getOwnPropertyDescriptor(q,L)})),B},_e={},ue={get:function(q,B){if(B===Z)return q;var L=p(q);if(!u(L,B))return function(q,B,L){var U,V=I(B,L);return V?"value"in V?V.value:null===(U=V.get)||void 0===U?void 0:U.call(q.k):void 0}(q,L,B);var U=L[B];return q.I||!t(U)?U:U===z(q.t,B)?(E(q),q.o[B]=N(q.A.h,U,q)):U},has:function(q,B){return B in p(q)},ownKeys:function(q){return Reflect.ownKeys(p(q))},set:function(q,B,L){var U=I(p(q),B);if(null==U?void 0:U.set)return U.set.call(q.k,L),!0;if(!q.P){var V=z(p(q),B),H=null==V?void 0:V[Z];if(H&&H.t===L)return q.o[B]=L,q.R[B]=!1,!0;if(c(L,V)&&(void 0!==L||u(q.t,B)))return!0;E(q),k(q)}return q.o[B]===L&&(void 0!==L||B in q.o)||Number.isNaN(L)&&Number.isNaN(q.o[B])||(q.o[B]=L,q.R[B]=!0),!0},deleteProperty:function(q,B){return void 0!==z(q.t,B)||B in q.t?(q.R[B]=!1,E(q),k(q)):delete q.R[B],q.o&&delete q.o[B],!0},getOwnPropertyDescriptor:function(q,B){var L=p(q),U=Reflect.getOwnPropertyDescriptor(L,B);return U?{writable:!0,configurable:1!==q.i||"length"!==B,enumerable:U.enumerable,value:L[B]}:U},defineProperty:function(){n(11)},getPrototypeOf:function(q){return Object.getPrototypeOf(q.t)},setPrototypeOf:function(){n(12)}},ae={};i(ue,(function(q,B){ae[q]=function(){return arguments[0]=arguments[0][0],B.apply(this,arguments)}})),ae.deleteProperty=function(q,B){return true&&isNaN(parseInt(B))&&n(13),ae.set.call(this,q,B,void 0)},ae.set=function(q,B,L){return true&&"length"!==B&&isNaN(parseInt(B))&&n(14),ue.set.call(this,q[0],B,L,q[0])};var re=function(){function e(q){var B=this;this.O=Q,this.D=!0,this.produce=function(q,L,U){if("function"==typeof q&&"function"!=typeof L){var V=L;L=q;var H=B;return function(q){var B=this;void 0===q&&(q=V);for(var U=arguments.length,G=Array(U>1?U-1:0),W=1;W<U;W++)G[W-1]=arguments[W];return H.produce(q,(function(q){var U;return(U=L).call.apply(U,[B,q].concat(G))}))}}var G;if("function"!=typeof L&&n(6),void 0!==U&&"function"!=typeof U&&n(7),t(q)){var W=w(B),Q=N(B,q,void 0),Y=!0;try{G=L(Q),Y=!1}finally{Y?g(W):O(W)}return"undefined"!=typeof Promise&&G instanceof Promise?G.then((function(q){return j(W,U),P(q,W)}),(function(q){throw g(W),q})):(j(W,U),P(G,W))}if(!q||"object"!=typeof q){if(void 0===(G=L(q))&&(G=q),G===X&&(G=void 0),B.D&&d(G,!0),U){var Z=[],ee=[];b("Patches").M(q,G,Z,ee),U(Z,ee)}return G}n(21,q)},this.produceWithPatches=function(q,L){if("function"==typeof q)return function(L){for(var U=arguments.length,V=Array(U>1?U-1:0),H=1;H<U;H++)V[H-1]=arguments[H];return B.produceWithPatches(L,(function(B){return q.apply(void 0,[B].concat(V))}))};var U,V,H=B.produce(q,L,(function(q,B){U=q,V=B}));return"undefined"!=typeof Promise&&H instanceof Promise?H.then((function(q){return[q,U,V]})):[H,U,V]},"boolean"==typeof(null==q?void 0:q.useProxies)&&this.setUseProxies(q.useProxies),"boolean"==typeof(null==q?void 0:q.autoFreeze)&&this.setAutoFreeze(q.autoFreeze)}var q=e.prototype;return q.createDraft=function(q){t(q)||n(8),r(q)&&(q=R(q));var B=w(this),L=N(this,q,void 0);return L[Z].C=!0,O(B),L},q.finishDraft=function(q,B){var L=q&&q[Z];true&&(L&&L.C||n(9),L.I&&n(10));var U=L.A;return j(U,B),P(void 0,U)},q.setAutoFreeze=function(q){this.D=q},q.setUseProxies=function(q){q&&!Q&&n(20),this.O=q},q.applyPatches=function(q,B){var L;for(L=B.length-1;L>=0;L--){var U=B[L];if(0===U.path.length&&"replace"===U.op){q=U.value;break}}L>-1&&(B=B.slice(L+1));var V=b("Patches").$;return r(q)?V(q,B):this.produce(q,(function(q){return V(q,B)}))},e}(),ce=new re,de=ce.produce,le=ce.produceWithPatches.bind(ce),se=ce.setAutoFreeze.bind(ce),me=ce.setUseProxies.bind(ce),he=ce.applyPatches.bind(ce),fe=ce.createDraft.bind(ce),pe=ce.finishDraft.bind(ce);B["default"]=de}},function(q){var __webpack_exec__=function(B){return q(q.s=B)};q.O(0,["taro","vendors","common"],(function(){return __webpack_exec__("./src/pages/shopping/index.tsx")}));var B=q.O()}]); |