Files
hnxdcount-uniapp/unpackage/dist/build/app-plus/app-service.js
PC-202306242200\Administrator dac42e3b0c first commit
2026-03-28 23:09:02 +08:00

8 lines
571 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then((o=>t.resolve(e()).then((()=>o))),(o=>t.resolve(e()).then((()=>{throw o}))))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const e=uni.requireGlobal();ArrayBuffer=e.ArrayBuffer,Int8Array=e.Int8Array,Uint8Array=e.Uint8Array,Uint8ClampedArray=e.Uint8ClampedArray,Int16Array=e.Int16Array,Uint16Array=e.Uint16Array,Int32Array=e.Int32Array,Uint32Array=e.Uint32Array,Float32Array=e.Float32Array,Float64Array=e.Float64Array,BigInt64Array=e.BigInt64Array,BigUint64Array=e.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(e){"use strict";const t=(e,t)=>{const o=e.__vccOpts||e;for(const[i,n]of t)o[i]=n;return o},o=t({__name:"statusBar",setup(t){const o=uni.getSystemInfoSync().statusBarHeight+"px";return(t,i)=>(e.openBlock(),e.createElementBlock("view",{style:{position:"relative"}},[e.createElementVNode("view",{style:e.normalizeStyle({height:o})},null,4),e.createElementVNode("view",{style:{height:"44px",display:"flex","align-items":"center"}},[e.renderSlot(t.$slots,"default",{},void 0,!0)])]))}},[["__scopeId","data-v-a0a58548"]]);function i(e,t,...o){uni.__log__?uni.__log__(e,t,...o):console[e].apply(console,[...o,t])}function n(e,t){return"string"==typeof e?t:e}const a=t=>(o,i=e.getCurrentInstance())=>{!e.isInSSRComponentSetup&&e.injectHook(t,o,i)},r=a("onShow"),s=a("onLoad"),l=a("onPageScroll"),c=a("onReachBottom"),d=a("onPullDownRefresh"),u={v:"3",version:"3",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc"},unit:"px"},h={calendar:{title:"日期选择",showTitle:!0,showSubtitle:!0,mode:"single",startText:"开始",endText:"结束",customList:[],color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"确定",confirmDisabledText:"确定",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3}},p={datetimePicker:{show:!1,popupMode:"bottom",showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:[]}},{color:m}=u,g={icon:{name:"",color:m["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:m["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}},{color:f}=u,y={link:{color:f["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"链接已复制,请在浏览器打开",lineColor:"",text:""}},{color:w}=u,v={loadingIcon:{show:!0,color:w["u-tips-color"],textColor:w["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}},b={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},S={actionSheet:{show:!1,title:"",description:"",actions:[],index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0},album:{urls:[],keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0},alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14},avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""},avatarGroup:{urls:[],maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0},backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:{color:"#909399",fontSize:"19px"}},badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:[],inverted:!1,absolute:!1},button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:""},...h,carKeyboard:{random:!1},cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""},cellGroup:{title:"",border:!0,customStyle:{}},checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""},checkboxGroup:{name:"",value:[],shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1},circleProgress:{percentage:30},code:{seconds:60,startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取",keepRunning:!1,uniqueKey:""},codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0},col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"},collapse:{value:null,accordion:!1,border:!0},collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300},columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0},countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1},countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""},...p,divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"},empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0},form:{model:{},rules:{},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:{}},formItem:{label:"",prop:"",rule:"",borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""},gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}},grid:{col:3,border:!1,align:"left"},gridItem:{name:null,bgColor:"transparent"},...g,image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"},indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#dedede",height:32},indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:[],sticky:!0,customNavHeight:0},input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:-1,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null},keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"取消",confirmText:"确定",autoChange:!1},line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1},lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12},...y,list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1},listItem:{anchor:""},...v,loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8"},loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1},modal:{show:!1,title:"",content:"",confirmText:"确认",cancelText:"取消",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:""},...{navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:b.mainColor,autoBack:!1,titleStyle:""}},noNetwork:{tips:"哎呀,网络信号丢失",zIndex:"",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBA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UAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"},noticeBar:{text:[],direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo"},notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1},...{numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonSize:30,bgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:""}},numberKeyboard:{mode:"number",dotDisabled:!1,random:!1},overlay:{show:!1,zIndex:10070,duration:300,opacity:.5},parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0},picker:{show:!1,popupMode:"bottom",showToolbar:!0,title:"",columns:[],loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确定",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,keyName:"text",closeOnClickOverlay:!1,defaultIndex:[],immediateChange:!0},popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:{},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5},radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""},radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left"},rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0},readMore:{showHeight:400,toggle:!1,closeText:"展开阅读全文",openText:"收起",color:"#2979ff",fontSize:14,textIndent:"2em",name:""},row:{gutter:0,justify:"start",align:"center"},rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80},scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""},search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:{},actionText:"搜索",inputAlign:"left",inputStyle:{},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null},section:{title:"",subTitle:"更多",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0},skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"},slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:{}},statusBar:{bgColor:"transparent"},steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1},stepsItem:{title:"",desc:"",iconSize:17,error:!1},sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""},subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name"},swipeAction:{autoClose:!0},swipeActionItem:{show:!1,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300},swiper:{list:[],indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1},swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"},switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0},tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0},tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"},tabs:{duration:300,list:[],lineColor:"#3c9cff",activeStyle:{color:"#303133"},inactiveStyle:{color:"#606266"},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:{height:"44px"},scrollable:!0,current:0,keyName:"name"},tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:"",iconColor:""},text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:{fontSize:"15px"},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal"},textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null},toast:{zIndex:10090,loading:!1,text:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:{},duration:2e3,isTab:!1,url:"",callback:null,back:!1},toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",title:""},tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:[],overlay:!0,showToast:!0},transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"},...{upload:{accept:"image",capture:["album","camera"],compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:["original","compressed"],multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:[],uploadText:"",width:80,height:80,previewImage:!0}}},k={props:{show:{type:Boolean,default:()=>S.loadingIcon.show},color:{type:String,default:()=>S.loadingIcon.color},textColor:{type:String,default:()=>S.loadingIcon.textColor},vertical:{type:Boolean,default:()=>S.loadingIcon.vertical},mode:{type:String,default:()=>S.loadingIcon.mode},size:{type:[String,Number],default:()=>S.loadingIcon.size},textSize:{type:[String,Number],default:()=>S.loadingIcon.textSize},text:{type:[String,Number],default:()=>S.loadingIcon.text},timingFunction:{type:String,default:()=>S.loadingIcon.timingFunction},duration:{type:[String,Number],default:()=>S.loadingIcon.duration},inactiveColor:{type:String,default:()=>S.loadingIcon.inactiveColor}}},x={};function C(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function T(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(const t in e)return!1;return!0}return!1}function A(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function E(e){return"[object Object]"===Object.prototype.toString.call(e)}function N(e){return"function"==typeof e}const B={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[23456789]\d{9}$/.test(e)},url:function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},date:function(e){return!!e&&(C(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:C,digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,o=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?o.test(e):8===e.length&&t.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:T,isEmpty:T,jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch($a){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:E,array:A,code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:N,promise:function(e){return E(e)&&N(e.then)&&N(e.catch)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};function V(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function _(e){const t=e.toString().split(/[eE]/),o=(t[0].split(".")[1]||"").length-+(t[1]||0);return o>0?o:0}function I(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=_(e);return t>0?V(Number(e)*Math.pow(10,t)):Number(e)}function D(e){(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&i("warn","at uni_modules/uview-plus/libs/function/digit.js:45",`${e} 超出了精度限制,结果可能不正确`)}function z(e,t){const[o,i,...n]=e;let a=t(o,i);return n.forEach((e=>{a=t(a,e)})),a}function R(...e){if(e.length>2)return z(e,R);const[t,o]=e,i=I(t),n=I(o),a=_(t)+_(o),r=i*n;return D(r),r/Math.pow(10,a)}function P(...e){if(e.length>2)return z(e,P);const[t,o]=e,i=I(t),n=I(o);return D(i),D(n),R(i/n,V(Math.pow(10,_(o)-_(t))))}function M(e,t=!1){return C(e)?t?`${e}px`:Number(e):/(rpx|upx)$/.test(e)?t?`${uni.upx2px(parseInt(e))}px`:Number(uni.upx2px(parseInt(e))):t?`${parseInt(e)}px`:parseInt(e)}function L(e=30){return new Promise((t=>{setTimeout((()=>{t()}),e)}))}function F(){return uni.getSystemInfoSync().platform.toLowerCase()}function O(){return uni.getSystemInfoSync()}function U(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function j(e,t="object"){if(T(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=Y(e)).split(";"),o={};for(let e=0;e<t.length;e++)if(t[e]){const i=t[e].split(":");o[Y(i[0])]=Y(i[1])}return o}let o="";return"object"==typeof e&&e.forEach(((e,t)=>{const i=t.replace(/([A-Z])/g,"-$1").toLowerCase();o+=`${i}:${e};`})),Y(o)}function H(e="auto",t=""){return t||(t=u.unit||"px"),C(e=String(e))?`${e}${t}`:e}function Q(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;const t=A(e)?[]:{};for(const o in e)e.hasOwnProperty(o)&&(t[o]="object"==typeof e[o]?Q(e[o]):e[o]);return t}function W(e={},t={}){let o=Q(e);if("object"!=typeof o||"object"!=typeof t)return!1;for(const i in t)t.hasOwnProperty(i)&&(i in o?null==t[i]||"object"!=typeof o[i]||"object"!=typeof t[i]?o[i]=t[i]:o[i].concat&&t[i].concat?o[i]=o[i].concat(t[i]):o[i]=W(o[i],t[i]):o[i]=t[i]);return o}function G(e){}function Z(e=null,t="yyyy-mm-dd"){let o;o=e?/^\d{10}$/.test(e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):new Date("string"==typeof e?e.replace(/-/g,"/"):e):new Date;const i={y:o.getFullYear().toString(),m:(o.getMonth()+1).toString().padStart(2,"0"),d:o.getDate().toString().padStart(2,"0"),h:o.getHours().toString().padStart(2,"0"),M:o.getMinutes().toString().padStart(2,"0"),s:o.getSeconds().toString().padStart(2,"0")};for(const n in i){const[e]=new RegExp(`${n}+`).exec(t)||[];if(e){const o="y"===n&&2===e.length?2:0;t=t.replace(e,i[n].slice(o))}}return t}function Y(e,t="both"){return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}function q(e={},t=!0,o="brackets"){const i=t?"?":"",n=[];-1==["indices","brackets","repeat","comma"].indexOf(o)&&(o="brackets");for(const a in e){const t=e[a];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(o){case"indices":for(let o=0;o<t.length;o++)n.push(`${a}[${o}]=${t[o]}`);break;case"brackets":default:t.forEach((e=>{n.push(`${a}[]=${e}`)}));break;case"repeat":t.forEach((e=>{n.push(`${a}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),n.push(`${a}=${e}`)}else n.push(`${a}=${t}`)}return n.length?i+n.join("&"):""}function J(e,t=2e3){uni.showToast({title:String(e),icon:"none",duration:t})}function K(e,t=0,o=".",i=","){e=`${e}`.replace(/[^0-9+-Ee.]/g,"");const n=isFinite(+e)?+e:0,a=isFinite(+t)?Math.abs(t):0,r=void 0===i?",":i,s=void 0===o?".":o;let l="";l=(a?function(e,t){const o=Math.pow(10,t);let i=P(Math.round(Math.abs(R(e,o))),o);return e<0&&0!==i&&(i=R(i,-1)),i}(n,a)+"":`${Math.round(n)}`).split(".");const c=/(-?\d+)(\d{3})/;for(;c.test(l[0]);)l[0]=l[0].replace(c,`$1${r}$2`);return(l[1]||"").length<a&&(l[1]=l[1]||"",l[1]+=new Array(a-l[1].length+1).join("0")),l.join(s)}function X(e,t){const o=U.call(e,"u-form-item"),i=U.call(e,"u-form");o&&i&&i.validateField(o.prop,(()=>{}),t)}function $(){const e=getCurrentPages();return`/${e[e.length-1].route||""}`}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const o=this;if(o.length>=e)return String(o);const i=e-o.length;let n=Math.ceil(i/t.length);for(;n>>=1;)t+=t,1===n&&(t+=t);return t.slice(0,i)+o});const ee={range:function(e=0,t=0,o=0){return Math.max(e,Math.min(t,Number(o)))},getPx:M,sleep:L,os:F,sys:O,random:function(e,t){if(e>=0&&t>0&&t>=e){const o=t-e+1;return Math.floor(Math.random()*o+e)}return 0},guid:function(e=32,t=!0,o=null){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];if(o=o||i.length,e)for(let a=0;a<e;a++)n[a]=i[0|Math.random()*o];else{let e;n[8]=n[13]=n[18]=n[23]="-",n[14]="4";for(let t=0;t<36;t++)n[t]||(e=0|16*Math.random(),n[t]=i[19==t?3&e|8:e])}return t?(n.shift(),`u${n.join("")}`):n.join("")},$parent:U,addStyle:j,addUnit:H,deepClone:Q,deepMerge:W,shallowMerge:function e(t,o={}){if("object"!=typeof t||"object"!=typeof o)return!1;for(const i in o)o.hasOwnProperty(i)&&(i in t?null==o[i]||"object"!=typeof t[i]||"object"!=typeof o[i]?t[i]=o[i]:t[i].concat&&o[i].concat?t[i]=t[i].concat(o[i]):t[i]=e(t[i],o[i]):t[i]=o[i]);return t},error:G,randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},timeFormat:Z,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let o=(new Date).getTime()-e;o=parseInt(o/1e3);let i="";switch(!0){case o<300:i="刚刚";break;case o>=300&&o<3600:i=`${parseInt(o/60)}分钟前`;break;case o>=3600&&o<86400:i=`${parseInt(o/3600)}小时前`;break;case o>=86400&&o<2592e3:i=`${parseInt(o/86400)}天前`;break;default:i=!1===t?o>=2592e3&&o<31536e3?`${parseInt(o/2592e3)}个月前`:`${parseInt(o/31536e3)}年前`:Z(e,t)}return i},trim:Y,queryParams:q,toast:J,type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let o="";switch(e){case"primary":case"info":o="info-circle";break;case"error":o="close-circle";break;case"warning":o="error-circle";break;default:o="checkmark-circle"}return t&&(o+="-fill"),o},priceFormat:K,getDuration:function(e,t=!0){const o=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?o:/s$/.test(e)?o>30?o:1e3*o:o},padZero:function(e){return`00${e}`.slice(-2)},formValidate:X,getProperty:function(e,t){if("object"!=typeof e||null==e)return"";if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const o=t.split(".");let i=e[o[0]]||{};for(let e=1;e<o.length;e++)i&&(i=i[o[e]]);return i}return e[t]},setProperty:function(e,t,o){if("object"!=typeof e||null==e)return;const i=function(e,t,o){if(1!==t.length)for(;t.length>1;){const n=t[0];e[n]&&"object"==typeof e[n]||(e[n]={}),t.shift(),i(e[n],t,o)}else e[t[0]]=o};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const n=t.split(".");i(e,n,o)}else e[t]=o},page:$,pages:function(){return getCurrentPages()}};const te=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let o="";return/.*\/.*\?.*=.*/.test(e)?(o=q(t,!1),e+`&${o}`):(o=q(t),e+o)}async route(e={},t={}){let o={};if("string"==typeof e?(o.url=this.mixinParam(e,t),o.type="navigateTo"):(o=W(this.config,e),o.url=this.mixinParam(e.url,e.params)),o.url!==$())if(t.intercept&&(this.config.intercept=t.intercept),o.params=t,o=W(this.config,o),"function"==typeof uni.$u.routeIntercept){await new Promise(((e,t)=>{uni.$u.routeIntercept(o,e)}))&&this.openPage(o)}else this.openPage(o)}openPage(e){const{url:t,type:o,delta:i,animationType:n,animationDuration:a}=e;"navigateTo"!=e.type&&"to"!=e.type||uni.navigateTo({url:t,animationType:n,animationDuration:a}),"redirectTo"!=e.type&&"redirect"!=e.type||uni.redirectTo({url:t}),"switchTab"!=e.type&&"tab"!=e.type||uni.switchTab({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||uni.reLaunch({url:t}),"navigateBack"!=e.type&&"back"!=e.type||uni.navigateBack({delta:i})}}).route,oe={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},created(){this.$u.getRect=this.$uGetRect},computed:{$u:()=>W(uni.$u,{props:void 0,http:void 0,mixin:void 0}),bem:()=>function(e,t,o){const i=`u-${e}--`,n={};return t&&t.map((e=>{n[i+this[e]]=!0})),o&&o.map((e=>{this[e]?n[i+e]=this[e]:delete n[i+e]})),Object.keys(n)}},methods:{openPage(e="url"){const t=this[e];t&&te({type:this.linkType,url:t})},$uGetRect(e,t){return new Promise((o=>{uni.createSelectorQuery().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&o(e),!t&&e&&o(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent={}),this.parent=U.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]}))},preventEvent(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()},noop(e){this.preventEvent(e)}},onReachBottom(){uni.$emit("uOnReachBottom")},beforeUnmount(){if(this.parent&&B.array(this.parent.children)){const e=this.parent.children;e.map(((t,o)=>{t===this&&e.splice(o,1)}))}}};function ie(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",o=10){const i=ne(e,!1),n=i[0],a=i[1],r=i[2],s=ne(t,!1),l=(s[0]-n)/o,c=(s[1]-a)/o,d=(s[2]-r)/o,u=[];for(let h=0;h<o;h++){let i=ae(`rgb(${Math.round(l*h+n)},${Math.round(c*h+a)},${Math.round(d*h+r)})`);0===h&&(i=ae(e)),h===o-1&&(i=ae(t)),u.push(i)}return u}function ne(e,t=!0){if((e=String(e).toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let o=1;o<4;o+=1)t+=e.slice(o,o+1).concat(e.slice(o,o+1));e=t}const o=[];for(let t=1;t<7;t+=2)o.push(parseInt(`0x${e.slice(t,t+2)}`));return t?`rgb(${o[0]},${o[1]},${o[2]})`:o}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function ae(e){const t=e;if(/^(rgb|RGB)/.test(t)){const e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let o="#";for(let t=0;t<e.length;t++){let i=Number(e[t]).toString(16);i=1==String(i).length?`0${i}`:i,"0"===i&&(i+=i),o+=i}return 7!==o.length&&(o=t),o}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))return t;{const e=t.replace(/#/,"").split("");if(6===e.length)return t;if(3===e.length){let t="#";for(let o=0;o<e.length;o+=1)t+=e[o]+e[o];return t}}}const re={colorGradient:ie,hexToRgb:ne,rgbToHex:ae,colorToRgba:function(e,t){e=ae(e);let o=String(e).toLowerCase();if(o&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(o)){if(4===o.length){let e="#";for(let t=1;t<4;t+=1)e+=o.slice(t,t+1).concat(o.slice(t,t+1));o=e}const e=[];for(let t=1;t<7;t+=2)e.push(parseInt(`0x${o.slice(t,t+2)}`));return`rgba(${e.join(",")},${t})`}return o}};const se=t({name:"u-loading-icon",mixins:[x,oe,k],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const e=ie(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:e:"transparent"}},watch:{show(e){}},mounted(){this.init()},methods:{addUnit:H,addStyle:j,init(){setTimeout((()=>{this.show&&this.addEventListenerToWebview()}),20)},addEventListenerToWebview(){const e=getCurrentPages(),t=e[e.length-1].$getAppWebview();t.addEventListener("hide",(()=>{this.webviewHide=!0})),t.addEventListener("show",(()=>{this.webviewHide=!1}))}}},[["render",function(t,o,i,n,a,r){return t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-loading-icon",[t.vertical&&"u-loading-icon--vertical"]]),style:e.normalizeStyle([r.addStyle(t.customStyle)])},[a.webviewHide?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-loading-icon__spinner",[`u-loading-icon__spinner--${t.mode}`]]),ref:"ani",style:e.normalizeStyle({color:t.color,width:r.addUnit(t.size),height:r.addUnit(t.size),borderTopColor:t.color,borderBottomColor:r.otherBorderColor,borderLeftColor:r.otherBorderColor,borderRightColor:r.otherBorderColor,"animation-duration":`${t.duration}ms`,"animation-timing-function":"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""})},["spinner"===t.mode?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.array12,((t,o)=>(e.openBlock(),e.createElementBlock("view",{key:o,class:"u-loading-icon__dot"})))),128)):e.createCommentVNode("",!0)],6)),t.text?(e.openBlock(),e.createElementBlock("text",{key:1,class:"u-loading-icon__text",style:e.normalizeStyle({fontSize:r.addUnit(t.textSize),color:t.textColor})},e.toDisplayString(t.text),5)):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)}],["__scopeId","data-v-0a821d5b"]]);const le=t({name:"u-swiper-indicator",mixins:[x,oe,{props:{length:{type:[String,Number],default:()=>S.swiperIndicator.length},current:{type:[String,Number],default:()=>S.swiperIndicator.current},indicatorActiveColor:{type:String,default:()=>S.swiperIndicator.indicatorActiveColor},indicatorInactiveColor:{type:String,default:()=>S.swiperIndicator.indicatorInactiveColor},indicatorMode:{type:String,default:()=>S.swiperIndicator.indicatorMode}}}],data:()=>({lineWidth:22}),computed:{lineStyle(){let e={};return e.width=H(this.lineWidth),e.transform=`translateX(${H(this.current*this.lineWidth)})`,e.backgroundColor=this.indicatorActiveColor,e},dotStyle(){return e=>{let t={};return t.backgroundColor=e===this.current?this.indicatorActiveColor:this.indicatorInactiveColor,t}}},methods:{addUnit:H}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:"u-swiper-indicator"},["line"===t.indicatorMode?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-swiper-indicator__wrapper",[`u-swiper-indicator__wrapper--${t.indicatorMode}`]]),style:e.normalizeStyle({width:r.addUnit(a.lineWidth*t.length),backgroundColor:t.indicatorInactiveColor})},[e.createElementVNode("view",{class:"u-swiper-indicator__wrapper--line__bar",style:e.normalizeStyle([r.lineStyle])},null,4)],6)):e.createCommentVNode("",!0),"dot"===t.indicatorMode?(e.openBlock(),e.createElementBlock("view",{key:1,class:"u-swiper-indicator__wrapper"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.length,((o,i)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-swiper-indicator__wrapper__dot",[i===t.current&&"u-swiper-indicator__wrapper__dot--active"]]),key:i,style:e.normalizeStyle([r.dotStyle(i)])},null,6)))),128))])):e.createCommentVNode("",!0)])}],["__scopeId","data-v-f90a097d"]]),ce={props:{list:{type:Array,default:()=>S.swiper.list},indicator:{type:Boolean,default:()=>S.swiper.indicator},indicatorActiveColor:{type:String,default:()=>S.swiper.indicatorActiveColor},indicatorInactiveColor:{type:String,default:()=>S.swiper.indicatorInactiveColor},indicatorStyle:{type:[String,Object],default:()=>S.swiper.indicatorStyle},indicatorMode:{type:String,default:()=>S.swiper.indicatorMode},autoplay:{type:Boolean,default:()=>S.swiper.autoplay},current:{type:[String,Number],default:()=>S.swiper.current},currentItemId:{type:String,default:()=>S.swiper.currentItemId},interval:{type:[String,Number],default:()=>S.swiper.interval},duration:{type:[String,Number],default:()=>S.swiper.duration},circular:{type:Boolean,default:()=>S.swiper.circular},previousMargin:{type:[String,Number],default:()=>S.swiper.previousMargin},nextMargin:{type:[String,Number],default:()=>S.swiper.nextMargin},acceleration:{type:Boolean,default:()=>S.swiper.acceleration},displayMultipleItems:{type:Number,default:()=>S.swiper.displayMultipleItems},easingFunction:{type:String,default:()=>S.swiper.easingFunction},keyName:{type:String,default:()=>S.swiper.keyName},imgMode:{type:String,default:()=>S.swiper.imgMode},height:{type:[String,Number],default:()=>S.swiper.height},bgColor:{type:String,default:()=>S.swiper.bgColor},radius:{type:[String,Number],default:()=>S.swiper.radius},loading:{type:Boolean,default:()=>S.swiper.loading},showTitle:{type:Boolean,default:()=>S.swiper.showTitle}}},de={name:"u-swiper",mixins:[x,oe,ce],data:()=>({currentIndex:0}),watch:{current(e,t){e!==t&&(this.currentIndex=e)}},emits:["click","change"],computed:{itemStyle(){return e=>{const t={};return this.nextMargin&&this.previousMargin&&(t.borderRadius=H(this.radius),e!==this.currentIndex&&(t.transform="scale(0.92)")),t}}},methods:{addStyle:j,addUnit:H,testObject:B.object,testImage:B.image,getItemType(e){return"string"==typeof e?B.video(this.getSource(e))?"video":"image":"object"==typeof e&&this.keyName?e.type?"image"===e.type?"image":"video"===e.type?"video":"image":B.video(this.getSource(e))?"video":"image":void 0},getSource(e){return"string"==typeof e?e:"object"==typeof e&&this.keyName?e[this.keyName]:""},change(e){const{current:t}=e.detail;this.pauseVideo(this.currentIndex),this.currentIndex=t,this.$emit("change",e.detail)},pauseVideo(e){const t=this.getSource(this.list[e]);if(B.video(t)){uni.createVideoContext(`video-${e}`,this).pause()}},getPoster:e=>"object"==typeof e&&e.poster?e.poster:"",clickHandler(e){this.$emit("click",e)}}};const ue=t(de,[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-loading-icon"),se),c=n(e.resolveDynamicComponent("u-swiper-indicator"),le);return e.openBlock(),e.createElementBlock("view",{class:"u-swiper",style:e.normalizeStyle({backgroundColor:t.bgColor,height:s.addUnit(t.height),borderRadius:s.addUnit(t.radius)})},[t.loading?(e.openBlock(),e.createElementBlock("view",{key:0,class:"u-swiper__loading"},[e.createVNode(l,{mode:"circle"})])):(e.openBlock(),e.createElementBlock("swiper",{key:1,class:"u-swiper__wrapper",style:e.normalizeStyle({flex:"1",height:s.addUnit(t.height)}),onChange:o[0]||(o[0]=(...e)=>s.change&&s.change(...e)),circular:t.circular,interval:t.interval,duration:t.duration,autoplay:t.autoplay,current:t.current,currentItemId:t.currentItemId,previousMargin:s.addUnit(t.previousMargin),nextMargin:s.addUnit(t.nextMargin),acceleration:t.acceleration,displayMultipleItems:t.displayMultipleItems,easingFunction:t.easingFunction},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,((o,i)=>(e.openBlock(),e.createElementBlock("swiper-item",{class:"u-swiper__wrapper__item",key:i},[e.createElementVNode("view",{class:"u-swiper__wrapper__item__wrapper",style:e.normalizeStyle([s.itemStyle(i)])},["image"===s.getItemType(o)?(e.openBlock(),e.createElementBlock("image",{key:0,class:"u-swiper__wrapper__item__wrapper__image",src:s.getSource(o),mode:t.imgMode,onClick:e=>s.clickHandler(i),style:e.normalizeStyle({height:s.addUnit(t.height),borderRadius:s.addUnit(t.radius)})},null,12,["src","mode","onClick"])):e.createCommentVNode("",!0),"video"===s.getItemType(o)?(e.openBlock(),e.createElementBlock("video",{key:1,class:"u-swiper__wrapper__item__wrapper__video",id:`video-${i}`,"enable-progress-gesture":!1,src:s.getSource(o),poster:s.getPoster(o),title:t.showTitle&&s.testObject(o)&&o.title?o.title:"",style:e.normalizeStyle({height:s.addUnit(t.height)}),controls:"",onClick:e=>s.clickHandler(i)},null,12,["id","src","poster","title","onClick"])):e.createCommentVNode("",!0),t.showTitle&&s.testObject(o)&&o.title&&s.testImage(s.getSource(o))?(e.openBlock(),e.createElementBlock("text",{key:2,class:"u-swiper__wrapper__item__wrapper__title u-line-1"},e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)],4)])))),128))],44,["circular","interval","duration","autoplay","current","currentItemId","previousMargin","nextMargin","acceleration","displayMultipleItems","easingFunction"])),e.createElementVNode("view",{class:"u-swiper__indicator",style:e.normalizeStyle([s.addStyle(t.indicatorStyle)])},[e.renderSlot(t.$slots,"indicator",{},(()=>[t.loading||!t.indicator||t.showTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(c,{key:0,indicatorActiveColor:t.indicatorActiveColor,indicatorInactiveColor:t.indicatorInactiveColor,length:t.list.length,current:r.currentIndex,indicatorMode:t.indicatorMode},null,8,["indicatorActiveColor","indicatorInactiveColor","length","current","indicatorMode"]))]),!0)],4)],4)}],["__scopeId","data-v-2aae6507"]]),he={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""},pe={props:{name:{type:String,default:()=>S.icon.name},color:{type:String,default:()=>S.icon.color},size:{type:[String,Number],default:()=>S.icon.size},bold:{type:Boolean,default:()=>S.icon.bold},index:{type:[String,Number],default:()=>S.icon.index},hoverClass:{type:String,default:()=>S.icon.hoverClass},customPrefix:{type:String,default:()=>S.icon.customPrefix},label:{type:[String,Number],default:()=>S.icon.label},labelPos:{type:String,default:()=>S.icon.labelPos},labelSize:{type:[String,Number],default:()=>S.icon.labelSize},labelColor:{type:String,default:()=>S.icon.labelColor},space:{type:[String,Number],default:()=>S.icon.space},imgMode:{type:String,default:()=>S.icon.imgMode},width:{type:[String,Number],default:()=>S.icon.width},height:{type:[String,Number],default:()=>S.icon.height},top:{type:[String,Number],default:()=>S.icon.top},stop:{type:Boolean,default:()=>S.icon.stop}}},me={name:"u-icon",data:()=>({}),emits:["click"],mixins:[x,oe,pe],computed:{uClasses(){let e=[];return e.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?e.push("u-iconfont"):e.push(this.customPrefix),this.color&&u.type.includes(this.color)&&e.push("u-icon__icon--"+this.color),e},iconStyle(){let e={};return e={fontSize:H(this.size),lineHeight:H(this.size),fontWeight:this.bold?"bold":"normal",top:H(this.top)},this.color&&!u.type.includes(this.color)&&(e.color=this.color),e},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let e={};return e.width=this.width?H(this.width):H(this.size),e.height=this.height?H(this.height):H(this.size),e},icon(){return"uicon"!==this.customPrefix?"":he["uicon-"+this.name]||this.name}},methods:{addStyle:j,addUnit:H,clickHandler(e){this.$emit("click",this.index),this.stop&&this.preventEvent(e)}}};const ge=t(me,[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-icon",["u-icon--"+t.labelPos]]),onClick:o[0]||(o[0]=(...e)=>r.clickHandler&&r.clickHandler(...e))},[r.isImg?(e.openBlock(),e.createElementBlock("image",{key:0,class:"u-icon__img",src:t.name,mode:"widthFix",style:e.normalizeStyle([r.imgStyle,r.addStyle(t.customStyle)])},null,12,["src"])):(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(["u-icon__icon",r.uClasses]),style:e.normalizeStyle([r.iconStyle,r.addStyle(t.customStyle)]),"hover-class":t.hoverClass},e.toDisplayString(r.icon),15,["hover-class"])),""!==t.label?(e.openBlock(),e.createElementBlock("text",{key:2,class:"u-icon__label",style:e.normalizeStyle({color:t.labelColor,fontSize:r.addUnit(t.labelSize),marginLeft:"right"==t.labelPos?r.addUnit(t.space):0,marginTop:"bottom"==t.labelPos?r.addUnit(t.space):0,marginRight:"left"==t.labelPos?r.addUnit(t.space):0,marginBottom:"top"==t.labelPos?r.addUnit(t.space):0})},e.toDisplayString(t.label),5)):e.createCommentVNode("",!0)],2)}],["__scopeId","data-v-2e3048ea"]]);const fe=t({name:"u-grid-item",mixins:[x,oe,{props:{name:{type:[String,Number,null],default:()=>S.gridItem.name},bgColor:{type:String,default:()=>S.gridItem.bgColor}}}],data:()=>({parentData:{col:0,border:!0},classes:[]}),mounted(){this.init()},emits:["click"],computed:{width(){return this.parentData.col>0?100/Number(this.parentData.col)+"%":0},itemStyle(){return W({background:this.bgColor,width:this.width},j(this.customStyle))}},methods:{init(){uni.$on("$uGridItem",(()=>{this.gridItemClasses()})),this.updateParentData(),uni.$emit("$uGridItem"),this.gridItemClasses()},updateParentData(){this.getParentData("u-grid")},clickHandler(){var e;let t=this.name;const o=null==(e=this.parent)?void 0:e.children;o&&null===this.name&&(t=o.findIndex((e=>e===this))),this.parent&&this.parent.childClick(t),this.$emit("click",t)},async getItemWidth(){let e=0;if(this.parent){e=await this.getParentWidth()/Number(this.parentData.col)+"px"}this.width=e},getParentWidth(){},gridItemClasses(){if(this.parentData.border){let e=[];this.parent.children.map(((t,o)=>{if(this===t){const t=this.parent.children.length;(o+1)%this.parentData.col!=0&&o+1!==t&&e.push("u-border-right");o<t-(t%this.parentData.col==0?this.parentData.col:t%this.parentData.col)&&e.push("u-border-bottom")}})),this.classes=e}}},beforeUnmount(){uni.$off("$uGridItem")}},[["render",function(t,o,i,n,a,r){return a.parentData.col>0?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-grid-item",a.classes]),"hover-class":"u-grid-item--hover-class","hover-stay-time":200,onClick:o[0]||(o[0]=(...e)=>r.clickHandler&&r.clickHandler(...e)),style:e.normalizeStyle([r.itemStyle])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],6)):e.createCommentVNode("",!0)}],["__scopeId","data-v-5217095c"]]),ye={props:{col:{type:[String,Number],default:()=>S.grid.col},border:{type:Boolean,default:()=>S.grid.border},align:{type:String,default:()=>S.grid.align}}};const we=t({name:"u-grid",mixins:[x,oe,ye],data:()=>({index:0,width:0}),watch:{parentData(){this.children.length&&this.children.map((e=>{"function"==typeof e.updateParentData&&e.updateParentData()}))}},created(){this.children=[]},computed:{parentData(){return[this.hoverClass,this.col,this.size,this.border]},gridStyle(){let e={};switch(this.align){case"left":default:e.justifyContent="flex-start";break;case"center":e.justifyContent="center";break;case"right":e.justifyContent="flex-end"}return W(e,j(this.customStyle))}},emits:["click"],methods:{childClick(e){this.$emit("click",e)}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:"u-grid",ref:"u-grid",style:e.normalizeStyle([r.gridStyle])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],4)}],["__scopeId","data-v-9a28398d"]]),ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAD1BMVEVHcExRUVFMTExRUVFRUVE9CdWsAAAABHRSTlMAjjrY9ZnUjwAAAQFJREFUWMPt2MsNgzAMgGEEE1B1gKJmAIRYoCH7z9RCXrabh33iYktcIv35EEg5ZBh07pvxJU6MFSPOSRnjnBUjUsaciRUjMsb4xIoRCWNiYsUInzE5sWKEyxiYWDbyefqHx1zIeiYTk7mQYziTYecxHvEJjwmIT3hMQELCYSISEg4TkZj0mYTEpM8kJCU9JiMp6TEZyUmbAUhO2gxAQNJiIAKSFgMRmNQZhMCkziAEJTUGIyipMRjBSZkhCE7KDEFIUmTeGCHJxWz0zXaE0GTCG8ZFt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eIrWwVEfvkshzQekO9r9P1/ALk+IG1eSPCDiCJfyG+FyU+A6ZCa/piZDinpz7LpkCv5gdkAEshP5emQhv7onw6pGeULyZCSUYiRDAmMkpJkCKs4JhFSq8p8hJBSVbAkhARV6ZUQoisik0FqXTmcDHLVFfbJIEFXoiiCNMpiSxGkVJaNiiBBWQArgTTaUl4JpNQWJUsgQVteXQg+AKkLxQWFGKW+5J2+eVp4S168X3CF1CltCKdTJ8lb84YK2bUBO+wZW0Pqv9nk4tKu49N45NJC5dMM5tLW5tOg59Jq6NM06dL+abFXwr/RkuvTXJwae1abtE/Dt0/ruksTvs84AZ/BCC4jHnyGVfiM3VBQFANEXEah+Ax18RlP4zNox2dkkM/wI58xTn8yDCXGYCDV3W5RGSajtXyGhG1jbpbjzpwGt/0MJft8jqC7iUbQ/QZaxdnKqcIftwAAAABJRU5ErkJggg==";const Ne=t({name:"z-paging-empty-view",data:()=>({}),props:{emptyViewText:{type:String,default:"没有数据哦~"},emptyViewImg:{type:String,default:""},showEmptyViewReload:{type:Boolean,default:!1},emptyViewReloadText:{type:String,default:"重新加载"},isLoadFailed:{type:Boolean,default:!1},emptyViewStyle:{type:Object,default:function(){return{}}},emptyViewImgStyle:{type:Object,default:function(){return{}}},emptyViewTitleStyle:{type:Object,default:function(){return{}}},emptyViewReloadStyle:{type:Object,default:function(){return{}}},emptyViewZIndex:{type:Number,default:9},emptyViewFixed:{type:Boolean,default:!0},unit:{type:String,default:"rpx"}},computed:{emptyImg(){return this.isLoadFailed?Ae:Te},finalEmptyViewStyle(){return this.emptyViewStyle["z-index"]=this.emptyViewZIndex,this.emptyViewStyle}},methods:{reloadClick(){this.$emit("reload")},emptyViewClick(){this.$emit("viewClick")}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass({"zp-container":!0,"zp-container-fixed":i.emptyViewFixed}),style:e.normalizeStyle([r.finalEmptyViewStyle]),onClick:o[1]||(o[1]=(...e)=>r.emptyViewClick&&r.emptyViewClick(...e))},[e.createElementVNode("view",{class:"zp-main"},[i.emptyViewImg.length?(e.openBlock(),e.createElementBlock("image",{key:1,class:e.normalizeClass({"zp-main-image-rpx":"rpx"===i.unit,"zp-main-image-px":"px"===i.unit}),mode:"aspectFit",style:e.normalizeStyle([i.emptyViewImgStyle]),src:i.emptyViewImg},null,14,["src"])):(e.openBlock(),e.createElementBlock("image",{key:0,class:e.normalizeClass({"zp-main-image-rpx":"rpx"===i.unit,"zp-main-image-px":"px"===i.unit}),style:e.normalizeStyle([i.emptyViewImgStyle]),src:r.emptyImg},null,14,["src"])),e.createElementVNode("text",{class:e.normalizeClass(["zp-main-title",{"zp-main-title-rpx":"rpx"===i.unit,"zp-main-title-px":"px"===i.unit}]),style:e.normalizeStyle([i.emptyViewTitleStyle])},e.toDisplayString(i.emptyViewText),7),i.showEmptyViewReload?(e.openBlock(),e.createElementBlock("text",{key:2,class:e.normalizeClass({"zp-main-error-btn":!0,"zp-main-error-btn-rpx":"rpx"===i.unit,"zp-main-error-btn-px":"px"===i.unit}),style:e.normalizeStyle([i.emptyViewReloadStyle]),onClick:o[0]||(o[0]=e.withModifiers(((...e)=>r.reloadClick&&r.reloadClick(...e)),["stop"]))},e.toDisplayString(i.emptyViewReloadText),7)):e.createCommentVNode("",!0)])],6)}],["__scopeId","data-v-5b8c527d"]]),Be="2.7.9",Ve=100,_e="z-paging-error-emit",Ie="z-paging-complete-emit",De="z-paging-cache",ze="zp_index",Re="zp_unique_index",Pe={},Me="Z-PAGING-REFRESHER-TIME-STORAGE-KEY";let Le=null,Fe=!1;const Oe={};function Ue(){return uni.getStorageSync(Me)}function je(){return(new Date).getTime()}function He(e){return 1===(e=e.toString()).length?"0"+e:e}const Qe={gc:function(e,t,o=!1){const i=()=>{if(function(){if(Fe)return;Pe&&Object.keys(Pe).length&&(Le=Pe);!Le&&uni.$zp&&(Le=uni.$zp.config);Le=Le?Object.keys(Le).reduce(((e,t)=>(e[function(e){return e.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()))}(t)]=Le[t],e)),{}):null,Fe=!0}(),!Le)return t;const o=Le[e];return void 0===o?t:o};return o?i():i},setRefesrherTime:function(e,t){const o=Ue()||{};o[t]=e,uni.setStorageSync(Me,o)},getRefesrherFormatTimeByKey:function(e,t){const o=function(e){const t=Ue();return t&&t[e]?t[e]:null}(e),i=o?function(e,t){const o=new Date(e),i=new Date,n=new Date(e).setHours(0,0,0,0),a=(new Date).setHours(0,0,0,0),r=n-a;let s="";const l=function(e){const t=e.getHours(),o=e.getMinutes();return`${He(t)}:${He(o)}`}(o);s=0===r?t.today:-864e5===r?t.yesterday:function(e,t=!0){const o=e.getFullYear(),i=e.getMonth()+1,n=e.getDate();return t?`${o}-${He(i)}-${He(n)}`:`${He(i)}-${He(n)}`}(o,o.getFullYear()!==i.getFullYear());return`${s} ${l}`}(o,t):t.none;return`${t.title}${i}`},getTouch:function(e){let t=null;if(e.touches&&e.touches.length)t=e.touches[0];else if(e.changedTouches&&e.changedTouches.length)t=e.changedTouches[0];else{if(!e.datail||e.datail=={})return{touchX:0,touchY:0};t=e.datail}return{touchX:t.clientX,touchY:t.clientY}},getTouchFromZPaging:function e(t){if(t&&t.tagName&&"BODY"!==t.tagName&&"UNI-PAGE-BODY"!==t.tagName){const o=t.classList;return o&&o.contains("z-paging-content")?{isFromZp:!0,isPageScroll:o.contains("z-paging-content-page"),isReachedTop:o.contains("z-paging-reached-top"),isUseChatRecordMode:o.contains("z-paging-use-chat-record-mode")}:e(t.parentNode)}return{isFromZp:!1}},getParent:function e(t){return t?t.$refs.paging?t:e(t.$parent):null},convertToPx:function(e){if("[object Number]"===Object.prototype.toString.call(e))return e;let t=!1;return-1!==e.indexOf("rpx")||-1!==e.indexOf("upx")?(e=e.replace("rpx","").replace("upx",""),t=!0):-1!==e.indexOf("px")&&(e=e.replace("px","")),isNaN(e)?0:Number(t?uni.upx2px(e):e)},getTime:je,getInstanceId:function(){const e=[];for(let t=0;t<10;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e.join("")+je()},consoleErr:function(e){i("error","at uni_modules/z-paging/components/z-paging/js/z-paging-utils.js:74",`[z-paging]${e}`)},delay:function(e,t=Ve,o){const i=setTimeout(e,t);return o&&(Oe[o]&&clearTimeout(Oe[o]),Oe[o]=i),i},wait:function(e){return new Promise((t=>{setTimeout(t,e)}))},isPromise:function(e){return"[object Promise]"===Object.prototype.toString.call(e)},addUnit:function(e,t){if("[object String]"===Object.prototype.toString.call(e)){let t=e;t=t.replace("rpx","").replace("upx","").replace("px",""),-1===e.indexOf("rpx")&&-1===e.indexOf("upx")&&-1!==e.indexOf("px")&&(t=2*parseFloat(t)),e=t}return"rpx"===t?e+"rpx":e/2+"px"},deepCopy:function e(t){if("object"!=typeof t||null===t)return t;let o=Array.isArray(t)?[]:{};for(let i in t)t.hasOwnProperty(i)&&(o[i]=e(t[i]));return o}},We={LoadingType:{Refresher:0,LoadingMore:1},Refresher:{Default:0,ReleaseToRefresh:1,Loading:2,Complete:3,GoF2:4},More:{Default:0,Loading:1,NoMore:2,Fail:3},QueryFrom:{UserPullDown:0,Reload:1,Refresh:2,LoadingMore:3},CellHeightMode:{Fixed:"fixed",Dynamic:"dynamic"},CacheMode:{Default:"default",Always:"always"}};const Ge=t({name:"z-paging-refresh",data:()=>({R:We.Refresher,isIos:"ios"===uni.getSystemInfoSync().platform,refresherTimeText:"",zTheme:{title:{white:"#efefef",black:"#555555"},arrow:{white:be,black:ve},flower:{white:ke,black:Se},success:{white:Ce,black:xe},indicator:{white:"#eeeeee",black:"#777777"}}}),props:["status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","goF2Text","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","imgStyle","titleStyle","updateTimeStyle","updateTimeTextMap","unit"],computed:{ts(){return this.defaultThemeStyle},statusTextArr(){return this.updateTime(),[this.defaultText,this.pullingText,this.refreshingText,this.completeText,this.goF2Text]},currentTitle(){return this.statusTextArr[this.status]||this.defaultText},leftImageClass(){const e=`zp-r-left-image-pre-size-${this.unit}`;return this.status===this.R.Complete?e:`zp-r-left-image ${e} ${this.status===this.R.Default?"zp-r-arrow-down":"zp-r-arrow-top"}`},leftImageStyle(){const e=this.showUpdateTime,t=e?Qe.addUnit(36,this.unit):Qe.addUnit(34,this.unit);return{width:t,height:t,"margin-right":e?Qe.addUnit(20,this.unit):Qe.addUnit(9,this.unit)}},leftImageSrc(){const e=this.R,t=this.status;return t===e.Default?this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:t===e.ReleaseToRefresh?this.pullingImg?this.pullingImg:this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:t===e.Loading?this.refreshingImg?this.refreshingImg:this.zTheme.flower[this.ts]:t===e.Complete?this.completeImg?this.completeImg:this.zTheme.success[this.ts]:t===e.GoF2?this.zTheme.arrow[this.ts]:""},rightTextStyle(){let e={};return e.color=this.zTheme.title[this.ts],e["font-size"]=Qe.addUnit(30,this.unit),e}},methods:{addUnit:(e,t)=>Qe.addUnit(e,t),updateTime(){this.showUpdateTime&&(this.refresherTimeText=Qe.getRefesrherFormatTimeByKey(this.updateTimeKey,this.updateTimeTextMap))}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{style:{height:"100%"}},[e.createElementVNode("view",{class:e.normalizeClass(i.showUpdateTime?"zp-r-container zp-r-container-padding":"zp-r-container")},[e.createElementVNode("view",{class:"zp-r-left"},[i.status!==a.R.Loading?(e.openBlock(),e.createElementBlock("image",{key:0,class:e.normalizeClass(r.leftImageClass),style:e.normalizeStyle([r.leftImageStyle,i.imgStyle]),src:r.leftImageSrc},null,14,["src"])):(e.openBlock(),e.createElementBlock("image",{key:1,class:e.normalizeClass({"zp-line-loading-image":i.refreshingAnimated,"zp-r-left-image":!0,"zp-r-left-image-pre-size-rpx":"rpx"===i.unit,"zp-r-left-image-pre-size-px":"px"===i.unit}),style:e.normalizeStyle([r.leftImageStyle,i.imgStyle]),src:r.leftImageSrc},null,14,["src"]))]),e.createElementVNode("view",{class:"zp-r-right"},[e.createElementVNode("text",{class:"zp-r-right-text",style:e.normalizeStyle([r.rightTextStyle,i.titleStyle])},e.toDisplayString(r.currentTitle),5),i.showUpdateTime&&a.refresherTimeText.length?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass(["zp-r-right-text",{"zp-r-right-time-text-rpx":"rpx"===i.unit,"zp-r-right-time-text-px":"px"===i.unit}]),style:e.normalizeStyle([{color:a.zTheme.title[r.ts]},i.updateTimeStyle])},e.toDisplayString(a.refresherTimeText),7)):e.createCommentVNode("",!0)])],2)])}],["__scopeId","data-v-42401a80"]]);const Ze=t({name:"z-paging-load-more",data:()=>({M:We.More,zTheme:{title:{white:"#efefef",black:"#a4a4a4"},line:{white:"#efefef",black:"#eeeeee"},circleBorder:{white:"#aaaaaa",black:"#c8c8c8"},circleBorderTop:{white:"#ffffff",black:"#444444"},flower:{white:ke,black:Se},indicator:{white:"#eeeeee",black:"#777777"}}}),props:["zConfig"],computed:{ts(){return this.c.defaultThemeStyle},c(){return this.zConfig||{}},ownLoadingMoreText(){return[this.c.defaultText,this.c.loadingText,this.c.noMoreText,this.c.failText][this.finalStatus]},finalStatus(){return this.c.defaultAsLoading&&this.c.status===this.M.Default?this.M.Loading:this.c.status},finalLoadingIconType(){return this.c.loadingIconType}},methods:{doClick(){this.$emit("doClick")}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["zp-l-container",{"zp-l-container-rpx":"rpx"===r.c.unit,"zp-l-container-px":"px"===r.c.unit}]),style:e.normalizeStyle([r.c.customStyle]),onClick:o[0]||(o[0]=(...e)=>r.doClick&&r.doClick(...e))},[r.c.hideContent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.c.showNoMoreLine&&r.finalStatus===a.M.NoMore?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass({"zp-l-line-rpx":"rpx"===r.c.unit,"zp-l-line-px":"px"===r.c.unit}),style:e.normalizeStyle([{backgroundColor:a.zTheme.line[r.ts]},r.c.noMoreLineCustomStyle])},null,6)):e.createCommentVNode("",!0),r.finalStatus===a.M.Loading&&r.c.loadingIconCustomImage?(e.openBlock(),e.createElementBlock("image",{key:1,src:r.c.loadingIconCustomImage,style:e.normalizeStyle([r.c.iconCustomStyle]),class:e.normalizeClass({"zp-l-line-loading-custom-image":!0,"zp-l-line-loading-custom-image-animated":r.c.loadingAnimated,"zp-l-line-loading-custom-image-rpx":"rpx"===r.c.unit,"zp-l-line-loading-custom-image-px":"px"===r.c.unit})},null,14,["src"])):e.createCommentVNode("",!0),r.finalStatus!==a.M.Loading||"flower"!==r.finalLoadingIconType||r.c.loadingIconCustomImage.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:2,class:e.normalizeClass({"zp-line-loading-image":!0,"zp-line-loading-image-rpx":"rpx"===r.c.unit,"zp-line-loading-image-px":"px"===r.c.unit}),style:e.normalizeStyle([r.c.iconCustomStyle]),src:a.zTheme.flower[r.ts]},null,14,["src"])),r.finalStatus!==a.M.Loading||"circle"!==r.finalLoadingIconType||r.c.loadingIconCustomImage.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("text",{key:3,class:e.normalizeClass(["zp-l-circle-loading-view",{"zp-l-circle-loading-view-rpx":"rpx"===r.c.unit,"zp-l-circle-loading-view-px":"px"===r.c.unit}]),style:e.normalizeStyle([{borderColor:a.zTheme.circleBorder[r.ts],borderTopColor:a.zTheme.circleBorderTop[r.ts]},r.c.iconCustomStyle])},null,6)),!r.c.isChat||!r.c.chatDefaultAsLoading&&r.finalStatus===a.M.Default||r.finalStatus===a.M.Fail?(e.openBlock(),e.createElementBlock("text",{key:4,class:e.normalizeClass({"zp-l-text-rpx":"rpx"===r.c.unit,"zp-l-text-px":"px"===r.c.unit}),style:e.normalizeStyle([{color:a.zTheme.title[r.ts]},r.c.titleCustomStyle])},e.toDisplayString(r.ownLoadingMoreText),7)):e.createCommentVNode("",!0),r.c.showNoMoreLine&&r.finalStatus===a.M.NoMore?(e.openBlock(),e.createElementBlock("text",{key:5,class:e.normalizeClass({"zp-l-line-rpx":"rpx"===r.c.unit,"zp-l-line-px":"px"===r.c.unit}),style:e.normalizeStyle([{backgroundColor:a.zTheme.line[r.ts]},r.c.noMoreLineCustomStyle])},null,6)):e.createCommentVNode("",!0)],64))],6)}],["__scopeId","data-v-57f25fe5"]]),Ye={data:()=>({systemInfo:null,cssSafeAreaInsetBottom:-1,isReadyDestroy:!1}),computed:{windowTop(){return this.systemInfo&&this.systemInfo.windowTop||0},safeAreaBottom(){if(!this.systemInfo)return 0;let e=0;return e=this.systemInfo.safeAreaInsets.bottom||0,e},isOldWebView(){try{const e=uni.getSystemInfoSync().system.split(" "),t=e[0],o=parseInt(e[1]);if("iOS"===t&&o<=10||"Android"===t&&o<=6)return!0}catch($a){return!1}return!1},zSlots(){return this.$slots}},beforeDestroy(){this.isReadyDestroy=!0},unmounted(){this.isReadyDestroy=!0},methods:{updateFixedLayout(){this.fixed&&this.$nextTick((()=>{this.systemInfo=uni.getSystemInfoSync()}))},_getNodeClientRect(e,t=!0,o=!1){if(this.isReadyDestroy)return Promise.resolve(!1);let i=t?uni.createSelectorQuery().in(!0===t?this:t):uni.createSelectorQuery();return o?i.select(e).scrollOffset():i.select(e).boundingClientRect(),new Promise(((e,t)=>{i.exec((t=>{e(!(!t||""==t||null==t||!t.length)&&t)}))}))},_updateLeftAndRightWidth(e,t){this.$nextTick((()=>{setTimeout((()=>{["left","right"].map((o=>{this._getNodeClientRect(`.${t}-${o}`).then((t=>{this.$set(e,o,t?t[0].width+"px":"0px")}))}))}),0)}))},_getCssSafeAreaInsetBottom(e){this._getNodeClientRect(".zp-safe-area-inset-bottom").then((t=>{this.cssSafeAreaInsetBottom=t?t[0].height:-1,t&&e&&e()}))}}},qe="Query",Je="FetchParams",Ke="FetchResult",Xe="Language2Local";function $e(){return getApp()}function et(e,t){try{setTimeout((function(){$e().globalData[`zp_handle${e}Callback`]=t}),1)}catch(o){}}function tt(e){return $e().globalData[`zp_handle${e}Callback`]}const ot={handleQuery:function(e){return et(qe,e),this},_handleQuery:function(e,t,o,i){const n=tt(qe);return n?n(e,t,o,i):[e,t,o]},handleFetchParams:function(e){return et(Je,e),this},_handleFetchParams:function(e,t){const o=tt(Je);return o?o(e,t||{}):{pageNo:e.pageNo,pageSize:e.pageSize,...t||{}}},handleFetchResult:function(e){return et(Ke,e),this},_handleFetchResult:function(e,t,o){const i=tt(Ke);return i&&i(e,t,o),!!i},handleLanguage2Local:function(e){return et(Xe,e),this},_handleLanguage2Local:function(e,t){const o=tt(Xe);return o?o(e,t):t}},it={props:{defaultPageNo:{type:[Number,String],default:Qe.gc("defaultPageNo",1),observer:function(e){this.pageNo=e}},defaultPageSize:{type:[Number,String],default:Qe.gc("defaultPageSize",10),validator:e=>(e<=0&&Qe.consoleErr("default-page-size必须大于0"),e>0)},dataKey:{type:[Number,String,Object],default:Qe.gc("dataKey",null)},useCache:{type:Boolean,default:Qe.gc("useCache",!1)},cacheKey:{type:String,default:Qe.gc("cacheKey",null)},cacheMode:{type:String,default:Qe.gc("cacheMode",We.CacheMode.Default)},autowireListName:{type:String,default:Qe.gc("autowireListName","")},autowireQueryName:{type:String,default:Qe.gc("autowireQueryName","")},fetch:{type:Function,default:Qe.gc("fetch",null,!0)},fetchParams:{type:Object,default:Qe.gc("fetchParams",null)},auto:{type:Boolean,default:Qe.gc("auto",!0)},reloadWhenRefresh:{type:Boolean,default:Qe.gc("reloadWhenRefresh",!0)},autoScrollToTopWhenReload:{type:Boolean,default:Qe.gc("autoScrollToTopWhenReload",!0)},autoCleanListWhenReload:{type:Boolean,default:Qe.gc("autoCleanListWhenReload",!0)},showRefresherWhenReload:{type:Boolean,default:Qe.gc("showRefresherWhenReload",!1)},showLoadingMoreWhenReload:{type:Boolean,default:Qe.gc("showLoadingMoreWhenReload",!1)},createdReload:{type:Boolean,default:Qe.gc("createdReload",!1)},localPagingLoadingTime:{type:[Number,String],default:Qe.gc("localPagingLoadingTime",200)},concat:{type:Boolean,default:Qe.gc("concat",!0)},callNetworkReject:{type:Boolean,default:Qe.gc("callNetworkReject",!0)},value:{type:Array,default:function(){return[]}},modelValue:{type:Array,default:function(){return[]}}},data:()=>({currentData:[],totalData:[],realTotalData:[],totalLocalPagingList:[],dataPromiseResultMap:{reload:null,complete:null,localPaging:null},isSettingCacheList:!1,pageNo:1,currentRefreshPageSize:0,isLocalPaging:!1,isAddedData:!1,isTotalChangeFromAddData:!1,privateConcat:!0,myParentQuery:-1,firstPageLoaded:!1,pagingLoaded:!1,loaded:!1,isUserReload:!0,fromEmptyViewReload:!1,queryFrom:"",listRendering:!1,isHandlingRefreshToPage:!1,isFirstPageAndNoMore:!1,totalDataChangeThrow:!0}),computed:{pageSize(){return this.defaultPageSize},finalConcat(){return this.concat&&this.privateConcat},finalUseCache(){return this.useCache&&!this.cacheKey&&Qe.consoleErr("use-cache为true时必须设置cache-key否则缓存无效"),this.useCache&&!!this.cacheKey},finalCacheKey(){return this.cacheKey?`${De}-${this.cacheKey}`:null},isFirstPage(){return this.pageNo===this.defaultPageNo}},watch:{totalData(e,t){this._totalDataChange(e,t,this.totalDataChangeThrow),this.totalDataChangeThrow=!0},currentData(e,t){this._currentDataChange(e,t)},useChatRecordMode(e,t){e&&(this.nLoadingMoreFixedHeight=!1)},value:{handler(e){e!==this.totalData&&(this.totalDataChangeThrow=!1,this.totalData=e)},immediate:!0},modelValue:{handler(e){e!==this.totalData&&(this.totalDataChangeThrow=!1,this.totalData=e)},immediate:!0}},methods:{complete(e,t=!0){return this.customNoMore=-1,this.addData(e,t)},completeByKey(e,t=null,o=!0){return null!==t&&null!==this.dataKey&&t!==this.dataKey?(this.isFirstPage&&this.endRefresh(),new Promise((e=>e()))):(this.customNoMore=-1,this.addData(e,o))},completeByTotal(e,t,o=!0){if("undefined"==t)this.customNoMore=-1;else{const i=this._checkDataType(e,o,!1);if(e=i.data,o=i.success,t>=0&&o)return new Promise(((i,n)=>{this.$nextTick((()=>{let a=!1;let r=(this.pageNo==this.defaultPageNo?0:this.realTotalData.length)+(this.privateConcat?e.length:0)-t;r>=0&&(a=!0,r=this.defaultPageSize-r,this.privateConcat&&r>0&&r<e.length&&(e=e.splice(0,r))),this.completeByNoMore(e,a,o).then((e=>i(e))).catch((()=>n()))}))}))}return this.addData(e,o)},completeByNoMore(e,t,o=!0){return"undefined"!=t&&(this.customNoMore=1==t?1:0),this.addData(e,o)},completeByError(e){return this.customerEmptyViewErrorText=e,this.complete(!1)},addData(e,t=!0){this.fromCompleteEmit||(this.disabledCompleteEmit=!0,this.fromCompleteEmit=!1);const o=Qe.getTime()-this.requestTimeStamp;let i=this.minDelay;this.isFirstPage&&this.finalShowRefresherWhenReload&&(i=Math.max(400,i));const n=this.requestTimeStamp>0&&o<i?i-o:0;return this.$nextTick((()=>{Qe.delay((()=>{this._addData(e,t,!1)}),this.delay>0?this.delay:n)})),new Promise(((e,t)=>{this.dataPromiseResultMap.complete={resolve:e,reject:t}}))},addDataFromTop(e,t=!0,o=!0){let i=!this.isChatRecordModeAndNotInversion;e="[object Array]"!==Object.prototype.toString.call(e)?[e]:i?e.reverse():e,this.finalUseVirtualList&&this._setCellIndex(e,"top"),this.totalData=i?[...e,...this.totalData]:[...this.totalData,...e],t&&Qe.delay((()=>this.useChatRecordMode?this.scrollToBottom(o):this.scrollToTop(o)))},resetTotalData(e){this.isTotalChangeFromAddData=!0,e="[object Array]"!==Object.prototype.toString.call(e)?[e]:e,this.totalData=e},setLocalPaging(e,t=!0){return this.isLocalPaging=!0,this.$nextTick((()=>{this._addData(e,t,!0)})),new Promise(((e,t)=>{this.dataPromiseResultMap.localPaging={resolve:e,reject:t}}))},reload(e=this.showRefresherWhenReload){return e&&(this.privateShowRefresherWhenReload=e,this.isUserPullDown=!0),this.showLoadingMoreWhenReload||(this.listRendering=!0),this.$nextTick((()=>{this._preReload(e,!1)})),new Promise(((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}}))},refresh(){return this._handleRefreshWithDisPageNo(this.pageNo-this.defaultPageNo+1)},refreshToPage(e){return this.isHandlingRefreshToPage=!0,this._handleRefreshWithDisPageNo(e+this.defaultPageNo-1)},updateCache(){this.finalUseCache&&this.totalData.length&&this._saveLocalCache(this.totalData.slice(0,Math.min(this.totalData.length,this.pageSize)))},clean(){this._reload(!0),this._addData([],!0,!1)},clear(){this.clean()},_preReload(e=this.showRefresherWhenReload,t=!0,o=0){const i=this.finalRefresherEnabled&&this.useCustomRefresher;-1===this.customRefresherHeight&&i?Qe.delay((()=>{++o%10==0&&this._updateCustomRefresherHeight(),this._preReload(e,t,o)}),Ve/2):(this.isUserReload=!0,this.loadingType=We.LoadingType.Refresher,e?(this.privateShowRefresherWhenReload=e,this.useCustomRefresher?this._doRefresherRefreshAnimate():this.refresherTriggered=!0):this._refresherEnd(!1,!1,!1,!1),this._reload(!1,t))},_reload(e=!1,t=!1,o=!1){if(this.isAddedData=!1,this.insideOfPaging=-1,this.cacheScrollNodeHeight=-1,this.pageNo=this.defaultPageNo,this._cleanRefresherEndTimeout(),!this.privateShowRefresherWhenReload&&!e&&this._startLoading(!0),this.firstPageLoaded=!0,this.isTotalChangeFromAddData=!1,this.isSettingCacheList||(this.totalData=[]),!e){this._emitQuery(this.pageNo,this.defaultPageSize,o?We.QueryFrom.UserPullDown:We.QueryFrom.Reload);let e=0;Qe.delay(this._callMyParentQuery,e),!t&&this.autoScrollToTopWhenReload&&this._scrollToTop(!1)}},_addData(e,t,o){this.isAddedData=!0,this.fromEmptyViewReload=!1,this.isTotalChangeFromAddData=!0,this.refresherTriggered=!1,this._endSystemLoadingAndRefresh();const i=this.isUserPullDown;this.showRefresherUpdateTime&&this.isFirstPage&&(Qe.setRefesrherTime(Qe.getTime(),this.refresherUpdateTimeKey),this.$refs.refresh&&this.$refs.refresh.updateTime()),!o&&i&&this.isFirstPage&&(this.isUserPullDown=!1),this.isFirstPage?this.listRendering=!1:(this.listRendering=!0,this.$nextTick((()=>{Qe.delay((()=>this.listRendering=!1))})));let n=this._checkDataType(e,t,o);e=n.data,t=n.success;let a=Ve;if(this.useChatRecordMode&&(a=0),this.loadingForNow=!1,Qe.delay((()=>{this.pagingLoaded=!0,this.$nextTick((()=>{!o&&this._refresherEnd(a>0,!0,i)}))})),this.isFirstPage&&(this.isLoadFailed=!t,this.$emit("isLoadFailedChange",this.isLoadFailed),this.finalUseCache&&t&&(this.cacheMode===We.CacheMode.Always||this.isSettingCacheList)&&this._saveLocalCache(e)),this.isSettingCacheList=!1,t){if((!1!==this.privateConcat||this.isHandlingRefreshToPage||this.loadingStatus!==We.More.NoMore)&&(this.loadingStatus=We.More.Default),o){this.totalLocalPagingList=e;const t=this.defaultPageNo,o=this.queryFrom!==We.QueryFrom.Refresh?this.defaultPageSize:this.currentRefreshPageSize;this._localPagingQueryList(t,o,0,(e=>{this.completeByTotal(e,this.totalLocalPagingList.length)}))}else{let t=0;Qe.delay((()=>{this._currentDataChange(e,this.currentData),this._callDataPromise(!0,this.totalData)}),t)}this.isHandlingRefreshToPage&&(this.isHandlingRefreshToPage=!1,this.pageNo=this.defaultPageNo+Math.ceil(e.length/this.pageSize)-1,e.length%this.pageSize!=0&&(this.customNoMore=1))}else this._currentDataChange(e,this.currentData),this._callDataPromise(!1),this.loadingStatus=We.More.Fail,this.isHandlingRefreshToPage=!1,this.loadingType===We.LoadingType.LoadingMore&&this.pageNo--},_totalDataChange(e,t,o=!0){(this.isUserReload&&this.autoCleanListWhenReload||!this.firstPageLoaded||e.length||!t.length)&&(this._doCheckScrollViewShouldFullHeight(e),this.realTotalData.length||e.length||(o=!1),this.realTotalData=e,o&&(this.$emit("input",e),this.$emit("update:modelValue",e),this.$emit("update:list",e),this.$emit("listChange",e),this._callMyParentList(e)),this.firstPageLoaded=!1,this.isTotalChangeFromAddData=!1,this.$nextTick((()=>{Qe.delay((()=>{this._getNodeClientRect(".zp-paging-container-content").then((e=>{e&&this.$emit("contentHeightChanged",e[0].height)}))}),Ve*(this.isIos?1:3))})))},_currentDataChange(e,t){e=[...e],this.finalUseVirtualList&&this._setCellIndex(e,"bottom"),this.isFirstPage&&this.finalConcat&&(this.totalData=[]),-1!==this.customNoMore?(1===this.customNoMore||0!==this.customNoMore&&!e.length)&&(this.loadingStatus=We.More.NoMore):(!e.length||e.length&&e.length<this.defaultPageSize)&&(this.loadingStatus=We.More.NoMore),this.totalData.length&&this.finalConcat?(this.oldScrollTop,this.totalData=[...this.totalData,...e]):this.totalData=e,this.privateConcat=!0},_handleRefreshWithDisPageNo(e){if(!this.isHandlingRefreshToPage&&!this.realTotalData.length)return this.reload();if(e>=1){this.loading=!0,this.privateConcat=!1;const t=e*this.pageSize;this.currentRefreshPageSize=t,this.isLocalPaging&&this.isHandlingRefreshToPage?this._localPagingQueryList(this.defaultPageNo,t,0,(e=>{this.complete(e)})):(this._emitQuery(this.defaultPageNo,t,We.QueryFrom.Refresh),this._callMyParentQuery(this.defaultPageNo,t))}return new Promise(((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}}))},_localPagingQueryList(e,t,o,i){e=Math.max(1,e),t=Math.max(1,t);const n=[...this.totalLocalPagingList],a=(e-1)*t,r=Math.min(n.length,a+t),s=n.splice(a,r-a);Qe.delay((()=>i(s)),o)},_saveLocalCache(e){uni.setStorageSync(this.finalCacheKey,e)},_setListByLocalCache(){this.totalData=uni.getStorageSync(this.finalCacheKey)||[],this.isSettingCacheList=!0},_callMyParentList(e){if(this.autowireListName.length){const t=Qe.getParent(this.$parent);t&&t[this.autowireListName]&&(t[this.autowireListName]=e)}},_callMyParentQuery(e=0,t=0){if(this.autowireQueryName){if(-1===this.myParentQuery){const e=Qe.getParent(this.$parent);e&&e[this.autowireQueryName]&&(this.myParentQuery=e[this.autowireQueryName])}-1!==this.myParentQuery&&(t>0?this.myParentQuery(e,t):this.myParentQuery(this.pageNo,this.defaultPageSize))}},_emitQuery(e,t,o){this.queryFrom=o,this.requestTimeStamp=Qe.getTime();const[i]=this.realTotalData.slice(-1);if(this.fetch){const n=ot._handleFetchParams({pageNo:e,pageSize:t,from:o,lastItem:i||null},this.fetchParams),a=this.fetch(n);ot._handleFetchResult(a,this,n)||(Qe.isPromise(a)?a.then((e=>{this.complete(e)})).catch((e=>{this.complete(!1)})):this.complete(a))}else this.$emit("query",...ot._handleQuery(e,t,o,i||null))},_callDataPromise(e,t){for(const o in this.dataPromiseResultMap){const i=this.dataPromiseResultMap[o];i&&(e?i.resolve({totalList:t,noMore:this.loadingStatus===We.More.NoMore}):this.callNetworkReject&&i.reject(`z-paging-${o}-error`))}},_checkDataType(e,t,o){const i=Object.prototype.toString.call(e);return"[object Boolean]"===i?(t=e,e=[]):"[object Array]"!==i&&(e=[],"[object Undefined]"!==i&&"[object Null]"!==i&&Qe.consoleErr((o?"setLocalPaging":"complete")+"参数类型不正确第一个参数类型必须为Array!")),{data:e,success:t}}}},nt=["{","}"];const at=/^(?:\d)+/,rt=/^(?:\w)+/;const st="zh-Hans",lt="zh-Hant",ct="en",dt=Object.prototype.hasOwnProperty,ut=(e,t)=>dt.call(e,t),ht=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,o=nt){if(!t)return[e];let i=this._caches[e];return i||(i=function(e,[t,o]){const i=[];let n=0,a="";for(;n<e.length;){let r=e[n++];if(r===t){a&&i.push({type:"text",value:a}),a="";let t="";for(r=e[n++];void 0!==r&&r!==o;)t+=r,r=e[n++];const s=r===o,l=at.test(t)?"list":s&&rt.test(t)?"named":"unknown";i.push({value:t,type:l})}else a+=r}return a&&i.push({type:"text",value:a}),i}(e,o),this._caches[e]=i),function(e,t){const o=[];let i=0;const n=Array.isArray(t)?"list":(a=t,null!==a&&"object"==typeof a?"named":"unknown");var a;if("unknown"===n)return o;for(;i<e.length;){const a=e[i];switch(a.type){case"text":o.push(a.value);break;case"list":o.push(t[parseInt(a.value,10)]);break;case"named":"named"===n&&o.push(t[a.value])}i++}return o}(i,t)}};function pt(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return st;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?st:e.indexOf("-hant")>-1?lt:(o=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==o.indexOf(e)))?lt:st);var o;let i=[ct,"fr","es"];t&&Object.keys(t).length>0&&(i=Object.keys(t));const n=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,i);return n||void 0}class mt{constructor({locale:e,fallbackLocale:t,messages:o,watcher:i,formater:n}){this.locale=ct,this.fallbackLocale=ct,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=n||ht,this.messages=o||{},this.setLocale(e||ct),i&&this.watchLocale(i)}setLocale(e){const t=this.locale;this.locale=pt(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,o=!0){const i=this.messages[e];i?o?Object.assign(i,t):Object.keys(t).forEach((e=>{ut(i,e)||(i[e]=t[e])})):this.messages[e]=t}f(e,t,o){return this.formater.interpolate(e,t,o).join("")}t(e,t,o){let i=this.message;return"string"==typeof t?(t=pt(t,this.messages))&&(i=this.messages[t]):o=t,ut(i,e)?this.formater.interpolate(i[e],o).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function gt(e,t={},o,i){if("string"!=typeof e){const o=[t,e];e=o[0],t=o[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&uni.getLocale?uni.getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():ct),"string"!=typeof o&&(o="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||ct);const n=new mt({locale:e,fallbackLocale:o,messages:t,watcher:i});let a=(e,t)=>{if("function"!=typeof getApp)a=function(e,t){return n.t(e,t)};else{let e=!1;a=function(t,o){const i=getApp().$vm;return i&&(i.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(i,n))),n.t(t,o)}}return a(e,t)};return{i18n:n,f:(e,t,o)=>n.f(e,t,o),t:(e,t)=>a(e,t),add:(e,t,o=!0)=>n.add(e,t,o),watch:e=>n.watchLocale(e),getLocale:()=>n.getLocale(),setLocale:e=>n.setLocale(e)}}const ft={en:{"zp.refresher.default":"Pull down to refresh","zp.refresher.pulling":"Release to refresh","zp.refresher.refreshing":"Refreshing...","zp.refresher.complete":"Refresh succeeded","zp.refresher.f2":"Refresh to enter 2f","zp.loadingMore.default":"Click to load more","zp.loadingMore.loading":"Loading...","zp.loadingMore.noMore":"No more data","zp.loadingMore.fail":"Load failed,click to reload","zp.emptyView.title":"No data","zp.emptyView.reload":"Reload","zp.emptyView.error":"Sorry,load failed","zp.refresherUpdateTime.title":"Last update: ","zp.refresherUpdateTime.none":"None","zp.refresherUpdateTime.today":"Today","zp.refresherUpdateTime.yesterday":"Yesterday","zp.systemLoading.title":"Loading..."},"zh-Hans":{"zp.refresher.default":"继续下拉刷新","zp.refresher.pulling":"松开立即刷新","zp.refresher.refreshing":"正在刷新...","zp.refresher.complete":"刷新成功","zp.refresher.f2":"松手进入二楼","zp.loadingMore.default":"点击加载更多","zp.loadingMore.loading":"正在加载...","zp.loadingMore.noMore":"没有更多了","zp.loadingMore.fail":"加载失败,点击重新加载","zp.emptyView.title":"没有数据哦~","zp.emptyView.reload":"重新加载","zp.emptyView.error":"很抱歉,加载失败","zp.refresherUpdateTime.title":"最后更新:","zp.refresherUpdateTime.none":"无","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加载中..."},"zh-Hant":{"zp.refresher.default":"繼續下拉重繪","zp.refresher.pulling":"鬆開立即重繪","zp.refresher.refreshing":"正在重繪...","zp.refresher.complete":"重繪成功","zp.refresher.f2":"鬆手進入二樓","zp.loadingMore.default":"點擊加載更多","zp.loadingMore.loading":"正在加載...","zp.loadingMore.noMore":"沒有更多了","zp.loadingMore.fail":"加載失敗,點擊重新加載","zp.emptyView.title":"沒有數據哦~","zp.emptyView.reload":"重新加載","zp.emptyView.error":"很抱歉,加載失敗","zp.refresherUpdateTime.title":"最後更新:","zp.refresherUpdateTime.none":"無","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加載中..."}},{t:yt}=gt(ft),wt=uni.getSystemInfoSync().language,vt={data:()=>({language:wt}),computed:{finalLanguage(){try{const e=uni.getLocale(),t=this.language;return"auto"===e?ot._handleLanguage2Local(t,this._language2Local(t)):e}catch($a){return"zh-Hans"}},finalRefresherDefaultText(){return this._getI18nText("zp.refresher.default",this.refresherDefaultText)},finalRefresherPullingText(){return this._getI18nText("zp.refresher.pulling",this.refresherPullingText)},finalRefresherRefreshingText(){return this._getI18nText("zp.refresher.refreshing",this.refresherRefreshingText)},finalRefresherCompleteText(){return this._getI18nText("zp.refresher.complete",this.refresherCompleteText)},finalRefresherUpdateTimeTextMap:()=>({title:yt("zp.refresherUpdateTime.title"),none:yt("zp.refresherUpdateTime.none"),today:yt("zp.refresherUpdateTime.today"),yesterday:yt("zp.refresherUpdateTime.yesterday")}),finalRefresherGoF2Text(){return this._getI18nText("zp.refresher.f2",this.refresherGoF2Text)},finalLoadingMoreDefaultText(){return this._getI18nText("zp.loadingMore.default",this.loadingMoreDefaultText)},finalLoadingMoreLoadingText(){return this._getI18nText("zp.loadingMore.loading",this.loadingMoreLoadingText)},finalLoadingMoreNoMoreText(){return this._getI18nText("zp.loadingMore.noMore",this.loadingMoreNoMoreText)},finalLoadingMoreFailText(){return this._getI18nText("zp.loadingMore.fail",this.loadingMoreFailText)},finalEmptyViewText(){return this.isLoadFailed?this.finalEmptyViewErrorText:this._getI18nText("zp.emptyView.title",this.emptyViewText)},finalEmptyViewReloadText(){return this._getI18nText("zp.emptyView.reload",this.emptyViewReloadText)},finalEmptyViewErrorText(){return this.customerEmptyViewErrorText||this._getI18nText("zp.emptyView.error",this.emptyViewErrorText)},finalSystemLoadingText(){return this._getI18nText("zp.systemLoading.title",this.systemLoadingText)}},methods:{getLanguage(){return this.finalLanguage},_getI18nText(e,t){const o=Object.prototype.toString.call(t);if("[object Object]"===o){const e=t[this.finalLanguage];if(e)return e}else if("[object String]"===o)return t;return yt(e)},_language2Local(e){const t=e.toLowerCase().replace(new RegExp("_",""),"-");return-1!==t.indexOf("zh")?"zh"===t||"zh-cn"===t||-1!==t.indexOf("zh-hans")?"zh-Hans":"zh-Hant":-1!==t.indexOf("en")?"en":e}}},bt={props:{},data:()=>({nRefresherLoading:!1,nListIsDragging:!1,nShowBottom:!0,nFixFreezing:!1,nShowRefresherReveal:!1,nLoadingMoreFixedHeight:!1,nShowRefresherRevealHeight:0,nOldShowRefresherRevealHeight:-1,nRefresherWidth:uni.upx2px(750),nF2Opacity:0}),computed:{},mounted(){},methods:{}},St={props:{hideEmptyView:{type:Boolean,default:Qe.gc("hideEmptyView",!1)},emptyViewText:{type:[String,Object],default:Qe.gc("emptyViewText",null)},showEmptyViewReload:{type:Boolean,default:Qe.gc("showEmptyViewReload",!1)},showEmptyViewReloadWhenError:{type:Boolean,default:Qe.gc("showEmptyViewReloadWhenError",!0)},emptyViewReloadText:{type:[String,Object],default:Qe.gc("emptyViewReloadText",null)},emptyViewImg:{type:String,default:Qe.gc("emptyViewImg","")},emptyViewErrorText:{type:[String,Object],default:Qe.gc("emptyViewErrorText",null)},emptyViewErrorImg:{type:String,default:Qe.gc("emptyViewErrorImg","")},emptyViewStyle:{type:Object,default:Qe.gc("emptyViewStyle",{})},emptyViewSuperStyle:{type:Object,default:Qe.gc("emptyViewSuperStyle",{})},emptyViewImgStyle:{type:Object,default:Qe.gc("emptyViewImgStyle",{})},emptyViewTitleStyle:{type:Object,default:Qe.gc("emptyViewTitleStyle",{})},emptyViewReloadStyle:{type:Object,default:Qe.gc("emptyViewReloadStyle",{})},emptyViewFixed:{type:Boolean,default:Qe.gc("emptyViewFixed",!1)},emptyViewCenter:{type:Boolean,default:Qe.gc("emptyViewCenter",!0)},autoHideEmptyViewWhenLoading:{type:Boolean,default:Qe.gc("autoHideEmptyViewWhenLoading",!0)},autoHideEmptyViewWhenPull:{type:Boolean,default:Qe.gc("autoHideEmptyViewWhenPull",!0)},emptyViewZIndex:{type:Number,default:Qe.gc("emptyViewZIndex",9)}},data:()=>({customerEmptyViewErrorText:""}),computed:{finalEmptyViewImg(){return this.isLoadFailed?this.emptyViewErrorImg:this.emptyViewImg},finalShowEmptyViewReload(){return this.isLoadFailed?this.showEmptyViewReloadWhenError:this.showEmptyViewReload},showEmpty(){return!(this.refresherOnly||this.hideEmptyView||this.realTotalData.length)&&(!this.autoHideEmptyViewWhenLoading||(!(!this.isAddedData||this.firstPageLoaded||this.loading)||!this.autoHideEmptyViewWhenPull&&!this.isUserReload))}},methods:{_emptyViewReload(){let e=!1;this.$emit("emptyViewReload",(t=>{void 0!==t&&!0!==t||(this.fromEmptyViewReload=!0,this.reload().catch((()=>{}))),e=!0})),this.$nextTick((()=>{e||(this.fromEmptyViewReload=!0,this.reload().catch((()=>{})))}))},_emptyViewClick(){this.$emit("emptyViewClick")}}},kt={props:{refresherThemeStyle:{type:String,default:Qe.gc("refresherThemeStyle","")},refresherImgStyle:{type:Object,default:Qe.gc("refresherImgStyle",{})},refresherTitleStyle:{type:Object,default:Qe.gc("refresherTitleStyle",{})},refresherUpdateTimeStyle:{type:Object,default:Qe.gc("refresherUpdateTimeStyle",{})},watchRefresherTouchmove:{type:Boolean,default:Qe.gc("watchRefresherTouchmove",!1)},loadingMoreThemeStyle:{type:String,default:Qe.gc("loadingMoreThemeStyle","")},refresherOnly:{type:Boolean,default:Qe.gc("refresherOnly",!1)},refresherDefaultDuration:{type:[Number,String],default:Qe.gc("refresherDefaultDuration",100)},refresherCompleteDelay:{type:[Number,String],default:Qe.gc("refresherCompleteDelay",0)},refresherCompleteDuration:{type:[Number,String],default:Qe.gc("refresherCompleteDuration",300)},refresherRefreshingScrollable:{type:Boolean,default:Qe.gc("refresherRefreshingScrollable",!0)},refresherCompleteScrollable:{type:Boolean,default:Qe.gc("refresherCompleteScrollable",!1)},useCustomRefresher:{type:Boolean,default:Qe.gc("useCustomRefresher",!0)},refresherFps:{type:[Number,String],default:Qe.gc("refresherFps",40)},refresherMaxAngle:{type:[Number,String],default:Qe.gc("refresherMaxAngle",40)},refresherAngleEnableChangeContinued:{type:Boolean,default:Qe.gc("refresherAngleEnableChangeContinued",!1)},refresherDefaultText:{type:[String,Object],default:Qe.gc("refresherDefaultText",null)},refresherPullingText:{type:[String,Object],default:Qe.gc("refresherPullingText",null)},refresherRefreshingText:{type:[String,Object],default:Qe.gc("refresherRefreshingText",null)},refresherCompleteText:{type:[String,Object],default:Qe.gc("refresherCompleteText",null)},refresherGoF2Text:{type:[String,Object],default:Qe.gc("refresherGoF2Text",null)},refresherDefaultImg:{type:String,default:Qe.gc("refresherDefaultImg",null)},refresherPullingImg:{type:String,default:Qe.gc("refresherPullingImg",null)},refresherRefreshingImg:{type:String,default:Qe.gc("refresherRefreshingImg",null)},refresherCompleteImg:{type:String,default:Qe.gc("refresherCompleteImg",null)},refresherRefreshingAnimated:{type:Boolean,default:Qe.gc("refresherRefreshingAnimated",!0)},refresherEndBounceEnabled:{type:Boolean,default:Qe.gc("refresherEndBounceEnabled",!0)},refresherEnabled:{type:Boolean,default:Qe.gc("refresherEnabled",!0)},refresherThreshold:{type:[Number,String],default:Qe.gc("refresherThreshold","80rpx")},refresherDefaultStyle:{type:String,default:Qe.gc("refresherDefaultStyle","black")},refresherBackground:{type:String,default:Qe.gc("refresherBackground","transparent")},refresherFixedBackground:{type:String,default:Qe.gc("refresherFixedBackground","transparent")},refresherFixedBacHeight:{type:[Number,String],default:Qe.gc("refresherFixedBacHeight",0)},refresherOutRate:{type:Number,default:Qe.gc("refresherOutRate",.65)},refresherF2Enabled:{type:Boolean,default:Qe.gc("refresherF2Enabled",!1)},refresherF2Threshold:{type:[Number,String],default:Qe.gc("refresherF2Threshold","200rpx")},refresherF2Duration:{type:[Number,String],default:Qe.gc("refresherF2Duration",200)},showRefresherF2:{type:Boolean,default:Qe.gc("showRefresherF2",!0)},refresherPullRate:{type:Number,default:Qe.gc("refresherPullRate",.75)},showRefresherUpdateTime:{type:Boolean,default:Qe.gc("showRefresherUpdateTime",!1)},refresherUpdateTimeKey:{type:String,default:Qe.gc("refresherUpdateTimeKey","default")},refresherVibrate:{type:Boolean,default:Qe.gc("refresherVibrate",!1)},refresherNoTransform:{type:Boolean,default:Qe.gc("refresherNoTransform",!1)},useRefresherStatusBarPlaceholder:{type:Boolean,default:Qe.gc("useRefresherStatusBarPlaceholder",!1)}},data:()=>({R:We.Refresher,refresherStatus:We.Refresher.Default,refresherTouchstartY:0,lastRefresherTouchmove:null,refresherReachMaxAngle:!0,refresherTransform:"translateY(0px)",refresherTransition:"",finalRefresherDefaultStyle:"black",refresherRevealStackCount:0,refresherCompleteTimeout:null,refresherCompleteSubTimeout:null,refresherEndTimeout:null,isTouchmovingTimeout:null,refresherTriggered:!1,isTouchmoving:!1,isTouchEnded:!1,isUserPullDown:!1,privateRefresherEnabled:-1,privateShowRefresherWhenReload:!1,customRefresherHeight:-1,showCustomRefresher:!1,doRefreshAnimateAfter:!1,isRefresherInComplete:!1,showF2:!1,f2Transform:"",pullDownTimeStamp:0,moveDis:0,oldMoveDis:0,currentDis:0,oldCurrentMoveDis:0,oldRefresherTouchmoveY:0,oldTouchDirection:"",oldEmitedTouchDirection:"",oldPullingDistance:-1,refresherThresholdUpdateTag:0}),watch:{refresherDefaultStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},refresherStatus(e){e===We.Refresher.Loading&&this._cleanRefresherEndTimeout(),this.refresherVibrate&&(e===We.Refresher.ReleaseToRefresh||e===We.Refresher.GoF2)&&this._doVibrateShort(),this.$emit("refresherStatusChange",e),this.$emit("update:refresherStatus",e)},refresherEnabled(e){!e&&this.endRefresh()}},computed:{pullDownDisTimeStamp(){return 1e3/this.refresherFps},refresherThresholdUnitConverted(){return Qe.addUnit(this.refresherThreshold,this.unit)},finalRefresherEnabled(){return!this.useChatRecordMode&&(-1===this.privateRefresherEnabled?this.refresherEnabled:1===this.privateRefresherEnabled)},finalRefresherThreshold(){let e=this.refresherThresholdUnitConverted,t=!1;return e===Qe.addUnit(80,this.unit)&&(t=!0,this.showRefresherUpdateTime&&(e=Qe.addUnit(120,this.unit))),t&&this.customRefresherHeight>0?this.customRefresherHeight+this.finalRefresherThresholdPlaceholder:Qe.convertToPx(e)+this.finalRefresherThresholdPlaceholder},finalRefresherF2Threshold(){return Qe.convertToPx(Qe.addUnit(this.refresherF2Threshold,this.unit))},finalRefresherThresholdPlaceholder(){return this.useRefresherStatusBarPlaceholder?this.statusBarHeight:0},finalRefresherFixedBacHeight(){return Qe.convertToPx(this.refresherFixedBacHeight)},finalRefresherThemeStyle(){return this.refresherThemeStyle.length?this.refresherThemeStyle:this.defaultThemeStyle},finalRefresherOutRate(){let e=this.refresherOutRate;return e=Math.max(0,e),e=Math.min(1,e),e},finalRefresherPullRate(){let e=this.refresherPullRate;return e=Math.max(0,e),e},finalRefresherTransform(){return this.refresherNoTransform||"translateY(0px)"===this.refresherTransform?"none":this.refresherTransform},finalShowRefresherWhenReload(){return this.showRefresherWhenReload||this.privateShowRefresherWhenReload},finalRefresherTriggered(){return!(!this.finalRefresherEnabled||this.useCustomRefresher)&&this.refresherTriggered},showRefresher(){const e=this.finalRefresherEnabled&&this.useCustomRefresher;return this.active&&-1===this.customRefresherHeight&&e&&this.updateCustomRefresherHeight(),e},hasTouchmove(){return this.watchRefresherTouchmove}},methods:{endRefresh(){this.totalData=this.realTotalData,this._refresherEnd(),this._endSystemLoadingAndRefresh(),this._handleScrollViewBounce({bounce:!0}),this.$nextTick((()=>{this.refresherTriggered=!1}))},updateCustomRefresherHeight(){Qe.delay((()=>this.$nextTick(this._updateCustomRefresherHeight)))},closeF2(){this._handleCloseF2()},_onRefresh(e=!1,t=!0){(!e||this.finalRefresherEnabled&&!this.useCustomRefresher)&&(this.$emit("onRefresh"),this.$emit("Refresh"),this.loading||this.isRefresherInComplete||(this.loadingType=We.LoadingType.Refresher,this.nShowRefresherReveal||(this.isUserPullDown=t,this.isUserReload=!t,this._startLoading(!0),this.refresherTriggered=!0,this.reloadWhenRefresh&&t&&(this.useChatRecordMode?this._onLoadingMore("click"):this._reload(!1,!1,t)))))},_onRestore(){this.refresherTriggered="restore",this.$emit("onRestore"),this.$emit("Restore")},_handleRefresherTouchstart(e){!this.loading&&this.isTouchEnded&&(this.isTouchmoving=!1),this.loadingType=We.LoadingType.Refresher,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchEnded=!1,this.refresherTransition="",this.refresherTouchstartY=e.touchY,this.$emit("refresherTouchstart",this.refresherTouchstartY),this.lastRefresherTouchmove=e,this._cleanRefresherCompleteTimeout(),this._cleanRefresherEndTimeout()},_handleRefresherTouchmove(e,t){this.refresherReachMaxAngle=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchmoving=!0,this.isTouchEnded=!1,e>=this.finalRefresherThreshold?this.refresherStatus=this.refresherF2Enabled&&e>=this.finalRefresherF2Threshold?We.Refresher.GoF2:We.Refresher.ReleaseToRefresh:this.refresherStatus=We.Refresher.Default,this.moveDis=e},_handleRefresherTouchend(e){this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.refresherReachMaxAngle=!0,this.isTouchEnded=!0;const t=this.finalRefresherThreshold;e>=t&&(this.refresherStatus===We.Refresher.ReleaseToRefresh||this.refresherStatus===We.Refresher.GoF2)?this.refresherStatus===We.Refresher.GoF2?(this._handleGoF2(),this._refresherEnd()):(Qe.delay((()=>{this._emitTouchmove({pullingDistance:t,dy:this.moveDis-t})}),.1),this.moveDis=t,this.refresherStatus=We.Refresher.Loading,this._doRefresherLoad()):(this._refresherEnd(),this.isTouchmovingTimeout=Qe.delay((()=>{this.isTouchmoving=!1}),this.refresherDefaultDuration)),this.scrollEnable=!0,this.$emit("refresherTouchend",e)},_handleListTouchstart(){this.useChatRecordMode&&this.autoHideKeyboardWhenChat&&(uni.hideKeyboard(),this.$emit("hidedKeyboard"))},_handleScrollViewBounce({bounce:e}){this.usePageScroll||this.scrollToTopBounceEnabled||(this.wxsScrollTop<=5?(this.refresherTransition="",this.scrollEnable=e):e&&(this.scrollEnable=e))},_handleWxsPullingDownStatusChange(e){this.wxsOnPullingDown=e,e&&!this.useChatRecordMode&&(this.renderPropScrollTop=0)},_handleWxsPullingDown({moveDis:e,diffDis:t}){this._emitTouchmove({pullingDistance:e,dy:t})},_handleTouchDirectionChange({direction:e}){this.$emit("touchDirectionChange",e)},_handlePropUpdate(){this.wxsPropType=Qe.getTime().toString()},_refresherEnd(e=!0,t=!1,o=!1,i=!0){if(this.loadingType===We.LoadingType.Refresher){const e=t&&(o||this.showRefresherWhenReload)?this.refresherCompleteDelay:0,i=e>0?We.Refresher.Complete:We.Refresher.Default;if(this.finalShowRefresherWhenReload){const e=this.refresherRevealStackCount;if(this.refresherRevealStackCount--,e>1)return}this._cleanRefresherEndTimeout(),this.refresherEndTimeout=Qe.delay((()=>{this.refresherStatus=i}),this.refresherStatus!==We.Refresher.Default&&i===We.Refresher.Default?this.refresherCompleteDuration:0),e>0&&(this.isRefresherInComplete=!0),this._cleanRefresherCompleteTimeout(),this.refresherCompleteTimeout=Qe.delay((()=>{let e=1;const o=this.refresherEndBounceEnabled&&t?"cubic-bezier(0.19,1.64,0.42,0.72)":"linear";t&&(e=this.refresherEndBounceEnabled?this.refresherCompleteDuration/1e3:this.refresherCompleteDuration/3e3),this.refresherTransition=`transform ${t?e:this.refresherDefaultDuration/1e3}s ${o}`,this.wxsPropType=this.refresherTransition+"end"+Qe.getTime(),this.moveDis=0,i===We.Refresher.Complete&&(this.refresherCompleteSubTimeout&&(clearTimeout(this.refresherCompleteSubTimeout),this.refresherCompleteSubTimeout=null),this.refresherCompleteSubTimeout=Qe.delay((()=>{this.$nextTick((()=>{this.refresherStatus=We.Refresher.Default,this.isRefresherInComplete=!1}))}),800*e)),this._emitTouchmove({pullingDistance:0,dy:this.moveDis})}),e)}i&&(Qe.delay((()=>this.loading=!1),e?Ve:0),o&&this._onRestore())},_handleGoF2(){!this.showF2&&this.refresherF2Enabled&&(this.$emit("refresherF2Change","go"),this.showRefresherF2&&(this.f2Transform=`translateY(${-this.superContentHeight}px)`,this.showF2=!0,Qe.delay((()=>{this.f2Transform="translateY(0px)"}),100,"f2ShowDelay")))},_handleCloseF2(){this.showF2&&this.refresherF2Enabled&&(this.$emit("refresherF2Change","close"),this.showRefresherF2&&(this.f2Transform=`translateY(${-this.superContentHeight}px)`,Qe.delay((()=>{this.showF2=!1,this.nF2Opacity=0}),this.refresherF2Duration,"f2CloseDelay")))},_doRefresherRefreshAnimate(){this._cleanRefresherCompleteTimeout();!this.doRefreshAnimateAfter&&this.finalShowRefresherWhenReload&&-1===this.customRefresherHeight&&this.refresherThreshold===Qe.addUnit(80,this.unit)?this.doRefreshAnimateAfter=!0:(this.refresherRevealStackCount++,this.wxsPropType="begin"+Qe.getTime(),this.moveDis=this.finalRefresherThreshold,this.refresherStatus=We.Refresher.Loading,this.isTouchmoving=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this._doRefresherLoad(!1))},_doRefresherLoad(e=!0){this._onRefresh(!1,e),this.loading=!0},_updateCustomRefresherHeight(){this._getNodeClientRect(".zp-custom-refresher-slot-view").then((e=>{this.customRefresherHeight=e?e[0].height:0,this.showCustomRefresher=this.customRefresherHeight>0,this.doRefreshAnimateAfter&&(this.doRefreshAnimateAfter=!1,this._doRefresherRefreshAnimate())}))},_emitTouchmove(e){e.viewHeight=this.finalRefresherThreshold,e.rate=e.viewHeight>0?e.pullingDistance/e.viewHeight:0,this.hasTouchmove&&this.oldPullingDistance!==e.pullingDistance&&this.$emit("refresherTouchmove",e),this.oldPullingDistance=e.pullingDistance},_cleanRefresherCompleteTimeout(){this.refresherCompleteTimeout=this._cleanTimeout(this.refresherCompleteTimeout)},_cleanRefresherEndTimeout(){this.refresherEndTimeout=this._cleanTimeout(this.refresherEndTimeout)}}},xt={props:{loadingMoreCustomStyle:{type:Object,default:Qe.gc("loadingMoreCustomStyle",{})},loadingMoreTitleCustomStyle:{type:Object,default:Qe.gc("loadingMoreTitleCustomStyle",{})},loadingMoreLoadingIconCustomStyle:{type:Object,default:Qe.gc("loadingMoreLoadingIconCustomStyle",{})},loadingMoreLoadingIconType:{type:String,default:Qe.gc("loadingMoreLoadingIconType","flower")},loadingMoreLoadingIconCustomImage:{type:String,default:Qe.gc("loadingMoreLoadingIconCustomImage","")},loadingMoreLoadingAnimated:{type:Boolean,default:Qe.gc("loadingMoreLoadingAnimated",!0)},loadingMoreEnabled:{type:Boolean,default:Qe.gc("loadingMoreEnabled",!0)},toBottomLoadingMoreEnabled:{type:Boolean,default:Qe.gc("toBottomLoadingMoreEnabled",!0)},loadingMoreDefaultAsLoading:{type:Boolean,default:Qe.gc("loadingMoreDefaultAsLoading",!1)},loadingMoreDefaultText:{type:[String,Object],default:Qe.gc("loadingMoreDefaultText",null)},loadingMoreLoadingText:{type:[String,Object],default:Qe.gc("loadingMoreLoadingText",null)},loadingMoreNoMoreText:{type:[String,Object],default:Qe.gc("loadingMoreNoMoreText",null)},loadingMoreFailText:{type:[String,Object],default:Qe.gc("loadingMoreFailText",null)},hideNoMoreInside:{type:Boolean,default:Qe.gc("hideNoMoreInside",!1)},hideNoMoreByLimit:{type:Number,default:Qe.gc("hideNoMoreByLimit",0)},showDefaultLoadingMoreText:{type:Boolean,default:Qe.gc("showDefaultLoadingMoreText",!0)},showLoadingMoreNoMoreView:{type:Boolean,default:Qe.gc("showLoadingMoreNoMoreView",!0)},showLoadingMoreNoMoreLine:{type:Boolean,default:Qe.gc("showLoadingMoreNoMoreLine",!0)},loadingMoreNoMoreLineCustomStyle:{type:Object,default:Qe.gc("loadingMoreNoMoreLineCustomStyle",{})},insideMore:{type:Boolean,default:Qe.gc("insideMore",!1)},lowerThreshold:{type:[Number,String],default:Qe.gc("lowerThreshold","100rpx")}},data:()=>({M:We.More,loadingStatus:We.More.Default,loadingStatusAfterRender:We.More.Default,loadingMoreTimeStamp:0,loadingMoreDefaultSlot:null,showLoadingMore:!1,customNoMore:-1}),computed:{zLoadMoreConfig(){return{status:this.loadingStatusAfterRender,defaultAsLoading:this.loadingMoreDefaultAsLoading||this.useChatRecordMode&&this.chatLoadingMoreDefaultAsLoading,defaultThemeStyle:this.finalLoadingMoreThemeStyle,customStyle:this.loadingMoreCustomStyle,titleCustomStyle:this.loadingMoreTitleCustomStyle,iconCustomStyle:this.loadingMoreLoadingIconCustomStyle,loadingIconType:this.loadingMoreLoadingIconType,loadingIconCustomImage:this.loadingMoreLoadingIconCustomImage,loadingAnimated:this.loadingMoreLoadingAnimated,showNoMoreLine:this.showLoadingMoreNoMoreLine,noMoreLineCustomStyle:this.loadingMoreNoMoreLineCustomStyle,defaultText:this.finalLoadingMoreDefaultText,loadingText:this.finalLoadingMoreLoadingText,noMoreText:this.finalLoadingMoreNoMoreText,failText:this.finalLoadingMoreFailText,hideContent:!this.loadingMoreDefaultAsLoading&&this.listRendering,unit:this.unit,isChat:this.useChatRecordMode,chatDefaultAsLoading:this.chatLoadingMoreDefaultAsLoading}},finalLoadingMoreThemeStyle(){return this.loadingMoreThemeStyle.length?this.loadingMoreThemeStyle:this.defaultThemeStyle},finalLowerThreshold(){return Qe.convertToPx(this.lowerThreshold)},showLoadingMoreDefault(){return this._showLoadingMore("Default")},showLoadingMoreLoading(){return this._showLoadingMore("Loading")},showLoadingMoreNoMore(){return this._showLoadingMore("NoMore")},showLoadingMoreFail(){return this._showLoadingMore("Fail")},showLoadingMoreCustom(){return this._showLoadingMore("Custom")}},methods:{pageReachBottom(){!this.useChatRecordMode&&this._onLoadingMore("toBottom")},doLoadMore(e){this._onLoadingMore(e)},_checkScrolledToBottom(e,t=!1){-1===this.cacheScrollNodeHeight?this._getNodeClientRect(".zp-scroll-view").then((t=>{if(t){const o=t[0].height;this.cacheScrollNodeHeight=o,e-o<=this.finalLowerThreshold&&this._onLoadingMore("toBottom")}})):(e-this.cacheScrollNodeHeight<=this.finalLowerThreshold?this._onLoadingMore("toBottom"):e-this.cacheScrollNodeHeight<=500&&!t&&Qe.delay((()=>{this._getNodeClientRect(".zp-scroll-view",!0,!0).then((e=>{if(e){this.oldScrollTop=e[0].scrollTop;const t=e[0].scrollHeight-this.oldScrollTop;this._checkScrolledToBottom(t,!0)}}))}),150,"checkScrolledToBottomDelay"),this.oldScrollTop<=150&&0!==this.oldScrollTop&&Qe.delay((()=>{0!==this.oldScrollTop&&this._getNodeClientRect(".zp-scroll-view",!0,!0).then((e=>{e&&0===e[0].scrollTop&&0!==this.oldScrollTop&&this._onScrollToUpper()}))}),150,"checkScrolledToTopDelay"))},_onLoadingMore(e="click"){this.isIos&&"toBottom"===e&&!this.scrollToBottomBounceEnabled&&this.scrollEnable&&(this.scrollEnable=!1,this.$nextTick((()=>{this.scrollEnable=!0}))),this.$emit("scrolltolower",e),this.refresherOnly||!this.loadingMoreEnabled||this.loadingStatus!==We.More.Default&&this.loadingStatus!==We.More.Fail||this.loading||this.showEmpty||this._doLoadingMore()},_doLoadingMore(){this.pageNo>=this.defaultPageNo&&this.loadingStatus!==We.More.NoMore&&(this.pageNo++,this._startLoading(!1),this.isLocalPaging?this._localPagingQueryList(this.pageNo,this.defaultPageSize,this.localPagingLoadingTime,(e=>{this.completeByTotal(e,this.totalLocalPagingList.length)})):(this._emitQuery(this.pageNo,this.defaultPageSize,We.QueryFrom.LoadingMore),this._callMyParentQuery()),this.loadingType=We.LoadingType.LoadingMore)},_preCheckShowNoMoreInside(e,t,o){this.loadingStatus===We.More.NoMore&&this.hideNoMoreByLimit>0&&e.length?this.showLoadingMore=e.length>this.hideNoMoreByLimit:this.loadingStatus===We.More.NoMore&&this.hideNoMoreInside&&e.length||this.insideMore&&!1!==this.insideOfPaging&&e.length?(this.$nextTick((()=>{this._checkShowNoMoreInside(e,t,o)})),this.insideMore&&!1!==this.insideOfPaging&&e.length&&(this.showLoadingMore=e.length)):this.showLoadingMore=e.length},async _checkShowNoMoreInside(e,t,o){try{const e=t||await this._getNodeClientRect(".zp-scroll-view");if(this.usePageScroll){if(e){const t=e[0].top+e[0].height;this.insideOfPaging=t<this.windowHeight,this.hideNoMoreInside&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}}else{const t=o||await this._getNodeClientRect(".zp-paging-container-content"),i=t?t[0].height:0,n=e?e[0].height:0;this.insideOfPaging=i<n,this.hideNoMoreInside&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}}catch($a){this.insideOfPaging=!e.length,this.hideNoMoreInside&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}},_showLoadingMore(e){if(!this.showLoadingMoreWhenReload&&(this.loadingStatus===We.More.Default&&!this.nShowBottom||!this.realTotalData.length))return!1;if((!this.showLoadingMoreWhenReload||this.isUserPullDown||this.loadingStatus!==We.More.Loading)&&!this.showLoadingMore||!this.loadingMoreEnabled&&(!this.showLoadingMoreWhenReload||this.isUserPullDown||this.loadingStatus!==We.More.Loading)||this.refresherOnly)return!1;if(this.useChatRecordMode&&"Loading"!==e)return!1;if(!this.zSlots)return!1;if("Custom"===e)return this.showDefaultLoadingMoreText&&!(this.loadingStatus===We.More.NoMore&&!this.showLoadingMoreNoMoreView);return this.loadingStatus===We.More[e]&&this.zSlots[`loadingMore${e}`]&&("NoMore"!==e||this.showLoadingMoreNoMoreView)}}},Ct={props:{autoHideLoadingAfterFirstLoaded:{type:Boolean,default:Qe.gc("autoHideLoadingAfterFirstLoaded",!0)},loadingFullFixed:{type:Boolean,default:Qe.gc("loadingFullFixed",!1)},autoShowSystemLoading:{type:Boolean,default:Qe.gc("autoShowSystemLoading",!1)},systemLoadingMask:{type:Boolean,default:Qe.gc("systemLoadingMask",!0)},systemLoadingText:{type:[String,Object],default:Qe.gc("systemLoadingText",null)}},data:()=>({loading:!1,loadingForNow:!1}),watch:{loadingStatus(e){this.$emit("loadingStatusChange",e),this.$nextTick((()=>{this.loadingStatusAfterRender=e})),!this.useChatRecordMode||!this.isFirstPage||e!==We.More.NoMore&&e!==We.More.Fail?this.isFirstPageAndNoMore=!1:this.isFirstPageAndNoMore=!0},loading(e){e&&(this.loadingForNow=e)}},computed:{showLoading(){return!(this.firstPageLoaded||!this.loading||!this.loadingForNow)&&(this.finalShowSystemLoading&&uni.showLoading({title:this.finalSystemLoadingText,mask:this.systemLoadingMask}),this.autoHideLoadingAfterFirstLoaded?!!this.fromEmptyViewReload||!this.pagingLoaded:this.loadingType===We.LoadingType.Refresher)},finalShowSystemLoading(){return this.autoShowSystemLoading&&this.loadingType===We.LoadingType.Refresher}},methods:{_startLoading(e=!1){(this.showLoadingMoreWhenReload&&!this.isUserPullDown||!e)&&(this.loadingStatus=We.More.Loading),this.loading=!0},_endSystemLoadingAndRefresh(){this.finalShowSystemLoading&&uni.hideLoading(),!this.useCustomRefresher&&uni.stopPullDownRefresh()}}},Tt={props:{useChatRecordMode:{type:Boolean,default:Qe.gc("useChatRecordMode",!1)},chatRecordMoreOffset:{type:[Number,String],default:Qe.gc("chatRecordMoreOffset","0rpx")},autoHideKeyboardWhenChat:{type:Boolean,default:Qe.gc("autoHideKeyboardWhenChat",!0)},autoAdjustPositionWhenChat:{type:Boolean,default:Qe.gc("autoAdjustPositionWhenChat",!0)},chatAdjustPositionOffset:{type:[Number,String],default:Qe.gc("chatAdjustPositionOffset","0rpx")},autoToBottomWhenChat:{type:Boolean,default:Qe.gc("autoToBottomWhenChat",!1)},showChatLoadingWhenReload:{type:Boolean,default:Qe.gc("showChatLoadingWhenReload",!1)},chatLoadingMoreDefaultAsLoading:{type:Boolean,default:Qe.gc("chatLoadingMoreDefaultAsLoading",!0)}},data:()=>({keyboardHeight:0,isKeyboardHeightChanged:!1}),computed:{finalChatRecordMoreOffset(){return Qe.convertToPx(this.chatRecordMoreOffset)},finalChatAdjustPositionOffset(){return Qe.convertToPx(this.chatAdjustPositionOffset)},chatRecordRotateStyle(){let e;return e=this.useChatRecordMode?{transform:"scaleY(-1)"}:{},this.$emit("update:cellStyle",e),this.$emit("cellStyleChange",e),this.$nextTick((()=>{this.isFirstPage&&this.isChatRecordModeAndNotInversion&&this.$nextTick((()=>{this._scrollToBottom(!1),Qe.delay((()=>{this._scrollToBottom(!1),Qe.delay((()=>{this._scrollToBottom(!1)}),50)}),50)}))})),e},isChatRecordModeHasTransform(){return this.useChatRecordMode&&this.chatRecordRotateStyle&&this.chatRecordRotateStyle.transform},isChatRecordModeAndNotInversion(){return this.isChatRecordModeHasTransform&&"scaleY(1)"===this.chatRecordRotateStyle.transform},isChatRecordModeAndInversion(){return this.isChatRecordModeHasTransform&&"scaleY(-1)"===this.chatRecordRotateStyle.transform},chatRecordModeSafeAreaBottom(){return this.safeAreaInsetBottom&&!this.keyboardHeight?this.safeAreaBottom:0}},mounted(){this.useChatRecordMode&&uni.onKeyboardHeightChange(this._handleKeyboardHeightChange)},methods:{addChatRecordData(e,t=!0,o=!0){this.useChatRecordMode&&(this.isTotalChangeFromAddData=!0,this.addDataFromTop(e,t,o))},doChatRecordLoadMore(){this.useChatRecordMode&&this._onLoadingMore("click")},_handleKeyboardHeightChange(e){this.$emit("keyboardHeightChange",e),this.autoAdjustPositionWhenChat&&(this.isKeyboardHeightChanged=!0,this.keyboardHeight=e.height>0?e.height+this.finalChatAdjustPositionOffset:e.height),this.autoToBottomWhenChat&&this.keyboardHeight>0&&Qe.delay((()=>{this.scrollToBottom(!1),Qe.delay((()=>{this.scrollToBottom(!1)}))}))}}},At={props:{usePageScroll:{type:Boolean,default:Qe.gc("usePageScroll",!1)},scrollable:{type:Boolean,default:Qe.gc("scrollable",!0)},showScrollbar:{type:Boolean,default:Qe.gc("showScrollbar",!0)},scrollX:{type:Boolean,default:Qe.gc("scrollX",!1)},scrollToTopBounceEnabled:{type:Boolean,default:Qe.gc("scrollToTopBounceEnabled",!1)},scrollToBottomBounceEnabled:{type:Boolean,default:Qe.gc("scrollToBottomBounceEnabled",!0)},scrollWithAnimation:{type:Boolean,default:Qe.gc("scrollWithAnimation",!1)},scrollIntoView:{type:String,default:Qe.gc("scrollIntoView","")}},data:()=>({scrollTop:0,oldScrollTop:0,scrollViewStyle:{},scrollViewContainerStyle:{},scrollViewInStyle:{},pageScrollTop:-1,scrollEnable:!0,privateScrollWithAnimation:-1,cacheScrollNodeHeight:-1,superContentHeight:0}),watch:{oldScrollTop(e){!this.usePageScroll&&this._scrollTopChange(e,!1)},pageScrollTop(e){this.usePageScroll&&this._scrollTopChange(e,!0)},usePageScroll:{handler(e){this.loaded&&this.autoHeight&&this._setAutoHeight(!e)},immediate:!0},finalScrollTop(e){this.renderPropScrollTop=e<6?0:10}},computed:{finalScrollWithAnimation(){return-1!==this.privateScrollWithAnimation?1===this.privateScrollWithAnimation:this.scrollWithAnimation},finalScrollViewStyle(){return 1!=this.superContentZIndex&&(this.scrollViewStyle["z-index"]=this.superContentZIndex,this.scrollViewStyle.position="relative"),this.scrollViewStyle},finalScrollTop(){return this.usePageScroll?this.pageScrollTop:this.oldScrollTop},finalIsOldWebView(){return this.isOldWebView&&!this.usePageScroll},finalScrollable(){return this.scrollable&&!this.usePageScroll&&this.scrollEnable&&(!!this.refresherCompleteScrollable||this.refresherStatus!==We.Refresher.Complete)&&(!!this.refresherRefreshingScrollable||this.refresherStatus!==We.Refresher.Loading)}},methods:{scrollToTop(e,t=!0){this.useChatRecordMode&&t&&!this.isChatRecordModeAndNotInversion?this.scrollToBottom(e,!1):this.$nextTick((()=>{this._scrollToTop(e,!1)}))},scrollToBottom(e,t=!0){this.useChatRecordMode&&t&&!this.isChatRecordModeAndNotInversion?this.scrollToTop(e,!1):this.$nextTick((()=>{this._scrollToBottom(e)}))},scrollIntoViewById(e,t,o){this._scrollIntoView(e,t,o)},scrollIntoViewByNodeTop(e,t,o){this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this._scrollIntoViewByNodeTop(e,t,o)}))},scrollToY(e,t,o){this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this._scrollToY(e,t,o)}))},scrollIntoViewByIndex(e,t,o){e>=this.realTotalData.length?Qe.consoleErr("当前滚动的index超出已渲染列表长度请先通过refreshToPage加载到对应index页并等待渲染成功后再调用此方法"):this.$nextTick((()=>{if(this.finalUseVirtualList){const i=this.cellHeightMode===We.CellHeightMode.Fixed;Qe.delay((()=>{if(this.finalUseVirtualList){const n=i?this.virtualCellHeight*e:this.virtualHeightCacheList[e].lastTotalHeight;this.scrollToY(n,t,o)}}),i?0:100)}}))},scrollIntoViewByView(e,t,o){this._scrollIntoView(e,t,o)},updatePageScrollTop(e){this.pageScrollTop=e},updatePageScrollTopHeight(){this._updatePageScrollTopOrBottomHeight("top")},updatePageScrollBottomHeight(){this._updatePageScrollTopOrBottomHeight("bottom")},updateLeftAndRightWidth(){this.finalIsOldWebView&&this.$nextTick((()=>this._updateLeftAndRightWidth(this.scrollViewContainerStyle,"zp-page")))},updateScrollViewScrollTop(e,t=!0){this._updatePrivateScrollWithAnimation(t),this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this.scrollTop=e,this.oldScrollTop=this.scrollTop}))},_onScrollToUpper(){this.$emit("scrolltoupper"),this.$emit("scrollTopChange",0),this.$nextTick((()=>{this.oldScrollTop=0}))},_onScrollToLower(e){(!e.detail||!e.detail.direction||"bottom"===e.detail.direction)&&this._onLoadingMore(this.useChatRecordMode?"click":"toBottom")},_scrollToTop(e=!0,t=!0){this.usePageScroll?this.$nextTick((()=>{uni.pageScrollTo({scrollTop:0,duration:e?100:0})})):(this._updatePrivateScrollWithAnimation(e),this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this.scrollTop=0,this.oldScrollTop=this.scrollTop})))},async _scrollToBottom(e=!0){if(this.usePageScroll)this.$nextTick((()=>{uni.pageScrollTo({scrollTop:Number.MAX_VALUE,duration:e?100:0})}));else try{this._updatePrivateScrollWithAnimation(e);const t=await this._getNodeClientRect(".zp-paging-container"),o=await this._getNodeClientRect(".zp-scroll-view"),i=t?t[0].height:0,n=o?o[0].height:0;i>n&&(this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this.scrollTop=i-n+this.virtualPlaceholderTopHeight,this.oldScrollTop=this.scrollTop})))}catch($a){}},_scrollIntoView(e,t=0,o=!1,i){try{this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this._getNodeClientRect("#"+e.replace("#",""),this.$parent).then((e=>{if(e){let n=e[0].top;this._scrollIntoViewByNodeTop(n,t,o),i&&i()}}))}))}catch($a){}},_scrollIntoViewByNodeTop(e,t=0,o=!1){this.isChatRecordModeAndInversion?this._getNodeClientRect(".zp-scroll-view").then((i=>{i&&this._scrollToY(i[0].height-e,t,o,!0)})):this._scrollToY(e,t,o,!0)},_scrollToY(e,t=0,o=!1,i=!1){this._updatePrivateScrollWithAnimation(o),Qe.delay((()=>{if(this.usePageScroll){i&&-1!==this.pageScrollTop&&(e+=this.pageScrollTop);const n=e-t;uni.pageScrollTo({scrollTop:n,duration:o?100:0})}else i&&(e+=this.oldScrollTop),this.scrollTop=e-t}),10)},_scroll(e){this.$emit("scroll",e);const t=e.detail.scrollTop;this.finalUseVirtualList&&this._updateVirtualScroll(t,this.oldScrollTop-t),this.oldScrollTop=t;const o=e.detail.scrollHeight-this.oldScrollTop;!this.isIos&&this._checkScrolledToBottom(o)},_updatePrivateScrollWithAnimation(e){this.privateScrollWithAnimation=e?1:0,Qe.delay((()=>this.$nextTick((()=>{this.privateScrollWithAnimation=-1}))),100,"updateScrollWithAnimationDelay")},_doCheckScrollViewShouldFullHeight(e){this.autoFullHeight&&this.usePageScroll&&this.isTotalChangeFromAddData?this.$nextTick((()=>{this._checkScrollViewShouldFullHeight(((t,o)=>{this._preCheckShowNoMoreInside(e,t,o)}))})):this._preCheckShowNoMoreInside(e)},async _checkScrollViewShouldFullHeight(e){try{const t=await this._getNodeClientRect(".zp-scroll-view"),o=await this._getNodeClientRect(".zp-paging-container-content");if(!t||!o)return;const i=o[0].height,n=t[0].top;this.isAddedData&&i+n<=this.windowHeight?(this._setAutoHeight(!0,t),e(t,o)):(this._setAutoHeight(!1),e(null,null))}catch($a){e(null,null)}},async _updateCachedSuperContentHeight(){const e=await this._getNodeClientRect(".z-paging-content");e&&(this.superContentHeight=e[0].height)},_scrollTopChange(e,t){this.$emit("scrollTopChange",e),this.$emit("update:scrollTop",e),this._checkShouldShowBackToTop(e);const o=e>5?6:0;t&&this.wxsPageScrollTop!==o?this.wxsPageScrollTop=o:t||this.wxsScrollTop===o||(this.wxsScrollTop=o,o>6&&(this.scrollEnable=!0))},_updatePageScrollTopOrBottomHeight(e){if(!this.usePageScroll)return;this._doCheckScrollViewShouldFullHeight(this.realTotalData);const t=`.zp-page-${e}`,o=`margin${e.slice(0,1).toUpperCase()+e.slice(1)}`;let i=this.safeAreaInsetBottom;this.$nextTick((()=>{Qe.delay((()=>{this._getNodeClientRect(t).then((t=>{if(t){let n=t[0].height;"bottom"===e?i&&(n+=this.safeAreaBottom):this.cacheTopHeight=n,this.$set(this.scrollViewStyle,o,`${n}px`)}else i&&this.$set(this.scrollViewStyle,o,`${this.safeAreaBottom}px`)}))}),0)}))}}},Et={props:{autoShowBackToTop:{type:Boolean,default:Qe.gc("autoShowBackToTop",!1)},backToTopThreshold:{type:[Number,String],default:Qe.gc("backToTopThreshold","400rpx")},backToTopImg:{type:String,default:Qe.gc("backToTopImg","")},backToTopWithAnimate:{type:Boolean,default:Qe.gc("backToTopWithAnimate",!0)},backToTopBottom:{type:[Number,String],default:Qe.gc("backToTopBottom","160rpx")},backToTopStyle:{type:Object,default:Qe.gc("backToTopStyle",{})},enableBackToTop:{type:Boolean,default:Qe.gc("enableBackToTop",!0)}},data:()=>({backToTopClass:"zp-back-to-top zp-back-to-top-hide",lastBackToTopShowTime:0,showBackToTopClass:!1}),computed:{backToTopThresholdUnitConverted(){return Qe.addUnit(this.backToTopThreshold,this.unit)},backToTopBottomUnitConverted(){return Qe.addUnit(this.backToTopBottom,this.unit)},finalEnableBackToTop(){return!this.usePageScroll&&this.enableBackToTop},finalBackToTopThreshold(){return Qe.convertToPx(this.backToTopThresholdUnitConverted)},finalBackToTopStyle(){const e=this.backToTopStyle;return e.bottom||(e.bottom=this.windowBottom+Qe.convertToPx(this.backToTopBottomUnitConverted)+"px"),e.position||(e.position=this.usePageScroll?"fixed":"absolute"),e},finalBackToTopClass(){return`${this.backToTopClass} zp-back-to-top-${this.unit}`}},methods:{_backToTopClick(){let e=!1;this.$emit("backToTopClick",(t=>{(void 0===t||!0===t)&&this._handleToTop(),e=!0})),this.$nextTick((()=>{!e&&this._handleToTop()}))},_handleToTop(){!this.backToTopWithAnimate&&this._checkShouldShowBackToTop(0),this.scrollToTop(this.backToTopWithAnimate)},_checkShouldShowBackToTop(e){this.autoShowBackToTop?e>this.finalBackToTopThreshold?this.showBackToTopClass||(this.showBackToTopClass=!0,this.lastBackToTopShowTime=(new Date).getTime(),Qe.delay((()=>{this.backToTopClass="zp-back-to-top zp-back-to-top-show"}),300)):this.showBackToTopClass&&(this.backToTopClass="zp-back-to-top zp-back-to-top-hide",Qe.delay((()=>{this.showBackToTopClass=!1}),(new Date).getTime()-this.lastBackToTopShowTime<500?0:300)):this.showBackToTopClass=!1}}},Nt={props:{useVirtualList:{type:Boolean,default:Qe.gc("useVirtualList",!1)},useCompatibilityMode:{type:Boolean,default:Qe.gc("useCompatibilityMode",!1)},extraData:{type:Object,default:Qe.gc("extraData",{})},useInnerList:{type:Boolean,default:Qe.gc("useInnerList",!1)},forceCloseInnerList:{type:Boolean,default:Qe.gc("forceCloseInnerList",!1)},cellKeyName:{type:String,default:Qe.gc("cellKeyName","")},innerListStyle:{type:Object,default:Qe.gc("innerListStyle",{})},innerCellStyle:{type:Object,default:Qe.gc("innerCellStyle",{})},preloadPage:{type:[Number,String],default:Qe.gc("preloadPage",12),validator:e=>(e<=0&&Qe.consoleErr("preload-page必须大于0"),e>0)},cellHeightMode:{type:String,default:Qe.gc("cellHeightMode",We.CellHeightMode.Fixed)},fixedCellHeight:{type:[Number,String],default:Qe.gc("fixedCellHeight",0)},virtualListCol:{type:[Number,String],default:Qe.gc("virtualListCol",1)},virtualScrollFps:{type:[Number,String],default:Qe.gc("virtualScrollFps",80)}},data:()=>({virtualListKey:Qe.getInstanceId(),virtualPageHeight:0,virtualCellHeight:0,virtualScrollTimeStamp:0,virtualList:[],virtualPlaceholderTopHeight:0,virtualPlaceholderBottomHeight:0,virtualTopRangeIndex:0,virtualBottomRangeIndex:0,lastVirtualTopRangeIndex:0,lastVirtualBottomRangeIndex:0,virtualItemInsertedCount:0,virtualHeightCacheList:[],getCellHeightRetryCount:{fixed:0,dynamic:0},pagingOrgTop:-1,updateVirtualListFromDataChange:!1}),watch:{realTotalData(e){this.finalUseVirtualList&&(this.updateVirtualListFromDataChange=!0,this.$nextTick((()=>{this.getCellHeightRetryCount.fixed=0,!e.length&&this._resetDynamicListState(!this.isUserPullDown),e.length&&this.cellHeightMode===We.CellHeightMode.Fixed&&this.isFirstPage&&this._updateFixedCellHeight(),this._updateVirtualScroll(this.oldScrollTop)})))},virtualList(e){this.$emit("update:virtualList",e),this.$emit("virtualListChange",e)}},computed:{virtualCellIndexKey:()=>ze,finalUseVirtualList(){return this.useVirtualList&&this.usePageScroll&&Qe.consoleErr("使用页面滚动时,开启虚拟列表无效!"),this.useVirtualList&&!this.usePageScroll},finalUseInnerList(){return this.useInnerList||this.finalUseVirtualList&&!this.forceCloseInnerList},finalCellKeyName(){return this.cellKeyName},finalVirtualPageHeight(){return this.virtualPageHeight>0?this.virtualPageHeight:this.windowHeight},finalFixedCellHeight(){return Qe.convertToPx(this.fixedCellHeight)},virtualRangePageHeight(){return this.finalVirtualPageHeight*this.preloadPage},virtualScrollDisTimeStamp(){return 1e3/this.virtualScrollFps}},methods:{doInsertVirtualListItem(e,t){if(this.cellHeightMode!==We.CellHeightMode.Dynamic)return;this.virtualItemInsertedCount++,e&&"[object Object]"===Object.prototype.toString.call(e)||(e={item:e});const o=this.virtualCellIndexKey;e[o]=`custom-${this.virtualItemInsertedCount}`,e[Re]=`${this.virtualListKey}-${e[o]}`,this.$nextTick((async()=>{let i=0;for(;i<=10;){await Qe.wait(Ve);const n=await this._getNodeClientRect(`#zp-id-${e[o]}`,this.finalUseInnerList);if(!n){i++;continue}const a=n?n[0].height:0,r=this.virtualHeightCacheList[t-1],s=r?r.totalHeight:0;this.virtualHeightCacheList.splice(t,0,{height:a,lastTotalHeight:s,totalHeight:s+a});for(let e=t+1;e<this.virtualHeightCacheList.length;e++){const t=this.virtualHeightCacheList[e];t.lastTotalHeight+=a,t.totalHeight+=a}this._updateVirtualScroll(this.oldScrollTop);break}}))},didUpdateVirtualListCell(e){if(this.cellHeightMode!==We.CellHeightMode.Dynamic)return;const t=this.virtualHeightCacheList[e];this.$nextTick((()=>{this._getNodeClientRect(`#zp-id-${e}`,this.finalUseInnerList).then((o=>{const i=o?o[0].height:0,n=i-t.height;t.height=i,t.totalHeight=t.lastTotalHeight+i;for(let t=e+1;t<this.virtualHeightCacheList.length;t++){const e=this.virtualHeightCacheList[t];e.totalHeight+=n,e.lastTotalHeight+=n}}))}))},didDeleteVirtualListCell(e){if(this.cellHeightMode!==We.CellHeightMode.Dynamic)return;const t=this.virtualHeightCacheList[e];for(let o=e+1;o<this.virtualHeightCacheList.length;o++){const e=this.virtualHeightCacheList[o];e.totalHeight-=t.height,e.lastTotalHeight-=t.height}this.virtualHeightCacheList.splice(e,1)},_virtualListInit(){this.$nextTick((()=>{Qe.delay((()=>{this._getNodeClientRect(".zp-scroll-view").then((e=>{e&&(this.pagingOrgTop=e[0].top,this.virtualPageHeight=e[0].height)}))}))}))},_updateFixedCellHeight(){this.finalFixedCellHeight?this.virtualCellHeight=this.finalFixedCellHeight:this.$nextTick((()=>{Qe.delay((()=>{this._getNodeClientRect("#zp-id-0",this.finalUseInnerList).then((e=>{if(e)this.virtualCellHeight=e[0].height,this._updateVirtualScroll(this.oldScrollTop);else{if(this.getCellHeightRetryCount.fixed>10)return;this.getCellHeightRetryCount.fixed++,this._updateFixedCellHeight()}}))}),Ve,"updateFixedCellHeightDelay")}))},_updateDynamicCellHeight(e,t="bottom"){const o="top"===t,i=this.virtualHeightCacheList,n=o?[]:i;let a=0;this.$nextTick((()=>{Qe.delay((async()=>{for(let r=0;r<e.length;r++){const s=await this._getNodeClientRect(`#zp-id-${e[r][this.virtualCellIndexKey]}`,this.finalUseInnerList),l=s?s[0].height:0;if(!s)return void(this.getCellHeightRetryCount.dynamic<=10&&(i.splice(i.length-r,r),this.getCellHeightRetryCount.dynamic++,this._updateDynamicCellHeight(e,t)));const c=n.length?n.slice(-1)[0]:null,d=c?c.totalHeight:0;n.push({height:l,lastTotalHeight:d,totalHeight:d+l}),o&&(a+=l)}if(o&&e.length){for(let e=0;e<i.length;e++){const t=i[e];t.lastTotalHeight+=a,t.totalHeight+=a}this.virtualHeightCacheList=n.concat(i)}this._updateVirtualScroll(this.oldScrollTop)}),Ve,"updateDynamicCellHeightDelay")}))},_setCellIndex(e,t="bottom"){let o=0;const i=this.virtualCellIndexKey;if([We.QueryFrom.Refresh,We.QueryFrom.Reload].indexOf(this.queryFrom)>=0&&this._resetDynamicListState(),this.totalData.length){if("bottom"===t){o=this.realTotalData.length;const e=this.realTotalData.length?this.realTotalData.slice(-1)[0]:null;e&&void 0!==e[i]&&(o=e[i]+1)}else if("top"===t){const t=this.realTotalData.length?this.realTotalData[0]:null;t&&void 0!==t[i]&&(o=t[i]-e.length)}}else this._resetDynamicListState();for(let n=0;n<e.length;n++){let t=e[n];t&&"[object Object]"===Object.prototype.toString.call(t)||(t={item:t}),t[Re]&&(t=Qe.deepCopy(t)),t[i]=o+n,t[Re]=`${this.virtualListKey}-${t[i]}`,e[n]=t}this.getCellHeightRetryCount.dynamic=0,this.cellHeightMode===We.CellHeightMode.Dynamic&&this._updateDynamicCellHeight(e,t)},_updateVirtualScroll(e,t=0){const o=Qe.getTime();if(0===e&&this._resetTopRange(),0!==e&&this.virtualScrollTimeStamp&&o-this.virtualScrollTimeStamp<=this.virtualScrollDisTimeStamp)return;this.virtualScrollTimeStamp=o;let i=0;const n=this.cellHeightMode;if(n===We.CellHeightMode.Fixed)i=parseInt(e/this.virtualCellHeight)||0,this._updateFixedTopRangeIndex(i),this._updateFixedBottomRangeIndex(i);else if(n===We.CellHeightMode.Dynamic){const o=t>0?"top":"bottom",i=this.virtualRangePageHeight,n=e-i,a=e+this.finalVirtualPageHeight+i;let r=0,s=0,l=!1;const c=this.virtualHeightCacheList,d=c?c.slice(-1)[0]:null;let u=this.virtualTopRangeIndex;if("bottom"===o)for(let e=u;e<c.length;e++){const t=c[e];if(t&&t.totalHeight>n){this.virtualTopRangeIndex=e,this.virtualPlaceholderTopHeight=t.lastTotalHeight;break}}else{let e=!1;for(let t=u;t>=0;t--){const o=c[t];if(o&&o.totalHeight<n){this.virtualTopRangeIndex=t,this.virtualPlaceholderTopHeight=o.lastTotalHeight,e=!0;break}}!e&&this._resetTopRange()}for(let e=this.virtualTopRangeIndex;e<c.length;e++){const t=c[e];if(t&&t.totalHeight>a){r=e,s=d.totalHeight-t.totalHeight,l=!0;break}}l&&0!==this.virtualBottomRangeIndex?(this.virtualBottomRangeIndex=r,this.virtualPlaceholderBottomHeight=s):(this.virtualBottomRangeIndex=this.realTotalData.length?this.realTotalData.length-1:this.pageSize,this.virtualPlaceholderBottomHeight=0),this._updateVirtualList()}},_updateFixedTopRangeIndex(e){let t=0===this.virtualCellHeight?0:e-(parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)||1)*this.preloadPage;t*=this.virtualListCol,t=Math.max(0,t),this.virtualTopRangeIndex=t,this.virtualPlaceholderTopHeight=t/this.virtualListCol*this.virtualCellHeight},_updateFixedBottomRangeIndex(e){let t=0===this.virtualCellHeight?this.pageSize:e+(parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)||1)*(this.preloadPage+1);t*=this.virtualListCol,t=Math.min(this.realTotalData.length,t),this.virtualBottomRangeIndex=t,this.virtualPlaceholderBottomHeight=(this.realTotalData.length-t)*this.virtualCellHeight/this.virtualListCol,this._updateVirtualList()},_updateVirtualList(){(this.updateVirtualListFromDataChange||this.lastVirtualTopRangeIndex!==this.virtualTopRangeIndex||this.lastVirtualBottomRangeIndex!==this.virtualBottomRangeIndex)&&(this.updateVirtualListFromDataChange=!1,this.lastVirtualTopRangeIndex=this.virtualTopRangeIndex,this.lastVirtualBottomRangeIndex=this.virtualBottomRangeIndex,this.virtualList=this.realTotalData.slice(this.virtualTopRangeIndex,this.virtualBottomRangeIndex+1))},_resetDynamicListState(e=!1){this.virtualHeightCacheList=[],e&&(this.virtualList=[]),this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0},_resetTopRange(){this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0,this._updateVirtualList()},_checkVirtualListScroll(){this.finalUseVirtualList&&this.$nextTick((()=>{this._getNodeClientRect(".zp-paging-touch-view").then((e=>{const t=e?e[0].top:0;(!e||t===this.pagingOrgTop&&0!==this.virtualPlaceholderTopHeight)&&this._updateVirtualScroll(0)}))}))},_innerCellClick(e,t){this.$emit("innerCellClick",e,t)}}},Bt=uni.getSystemInfoSync(),Vt={name:"z-paging",components:{zPagingRefresh:Ge,zPagingLoadMore:Ze,zPagingEmptyView:Ne},mixins:[Ye,it,vt,bt,St,kt,xt,Ct,Tt,At,Et,Nt],data:()=>({base64Arrow:ve,base64Flower:Se,base64BackToTop:Ee,loadingType:We.LoadingType.Refresher,requestTimeStamp:0,wxsPropType:"",renderPropScrollTop:-1,checkScrolledToBottomTimeOut:null,cacheTopHeight:-1,statusBarHeight:Bt.statusBarHeight,insideOfPaging:-1,isLoadFailed:!1,isIos:"ios"===Bt.platform,disabledBounce:!1,fromCompleteEmit:!1,disabledCompleteEmit:!1,pageLaunched:!1,active:!1,wxsIsScrollTopInTopRange:!0,wxsScrollTop:0,wxsPageScrollTop:0,wxsOnPullingDown:!1}),props:{delay:{type:[Number,String],default:Qe.gc("delay",0)},minDelay:{type:[Number,String],default:Qe.gc("minDelay",0)},pagingStyle:{type:Object,default:Qe.gc("pagingStyle",{})},height:{type:String,default:Qe.gc("height","")},width:{type:String,default:Qe.gc("width","")},maxWidth:{type:String,default:Qe.gc("maxWidth","")},bgColor:{type:String,default:Qe.gc("bgColor","")},pagingContentStyle:{type:Object,default:Qe.gc("pagingContentStyle",{})},autoHeight:{type:Boolean,default:Qe.gc("autoHeight",!1)},autoHeightAddition:{type:[Number,String],default:Qe.gc("autoHeightAddition","0px")},defaultThemeStyle:{type:String,default:Qe.gc("defaultThemeStyle","black")},fixed:{type:Boolean,default:Qe.gc("fixed",!0)},safeAreaInsetBottom:{type:Boolean,default:Qe.gc("safeAreaInsetBottom",!1)},useSafeAreaPlaceholder:{type:Boolean,default:Qe.gc("useSafeAreaPlaceholder",!1)},bottomBgColor:{type:String,default:Qe.gc("bottomBgColor","")},topZIndex:{type:Number,default:Qe.gc("topZIndex",99)},superContentZIndex:{type:Number,default:Qe.gc("superContentZIndex",1)},contentZIndex:{type:Number,default:Qe.gc("contentZIndex",1)},f2ZIndex:{type:Number,default:Qe.gc("f2ZIndex",100)},autoFullHeight:{type:Boolean,default:Qe.gc("autoFullHeight",!0)},watchTouchDirectionChange:{type:Boolean,default:Qe.gc("watchTouchDirectionChange",!1)},unit:{type:String,default:Qe.gc("unit","rpx")}},created(){this.createdReload&&!this.refresherOnly&&this.auto&&(this._startLoading(),this.$nextTick(this._preReload))},mounted(){this.active=!0,this.wxsPropType=Qe.getTime().toString(),this.renderJsIgnore,this.createdReload||this.refresherOnly||!this.auto||Qe.delay((()=>this.$nextTick(this._preReload)),0),this.finalUseCache&&this._setListByLocalCache(),this.$nextTick((()=>{this.systemInfo=uni.getSystemInfoSync(),!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(),this.loaded=!0,Qe.delay((()=>{this.updateFixedLayout(),this._updateCachedSuperContentHeight()}))})),this.updatePageScrollTopHeight(),this.updatePageScrollBottomHeight(),this.updateLeftAndRightWidth(),this.finalRefresherEnabled&&this.useCustomRefresher&&this.$nextTick((()=>{this.isTouchmoving=!0})),this._onEmit(),this.finalUseVirtualList&&this._virtualListInit()},destroyed(){this._handleUnmounted()},unmounted(){this._handleUnmounted()},watch:{defaultThemeStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},autoHeight(e){this.loaded&&!this.usePageScroll&&this._setAutoHeight(e)},autoHeightAddition(e){this.loaded&&!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(e)}},computed:{finalPagingStyle(){const e={...this.pagingStyle};if(!this.systemInfo)return e;const{windowTop:t,windowBottom:o}=this;return!this.usePageScroll&&this.fixed&&(t&&!e.top&&(e.top=t+"px"),o&&!e.bottom&&(e.bottom=o+"px")),this.bgColor.length&&!e.background&&(e.background=this.bgColor),this.height.length&&!e.height&&(e.height=this.height),this.width.length&&!e.width&&(e.width=this.width),this.maxWidth.length&&!e["max-width"]&&(e["max-width"]=this.maxWidth,e.margin="0 auto"),e},finalPagingContentStyle(){return 1!=this.contentZIndex&&(this.pagingContentStyle["z-index"]=this.contentZIndex,this.pagingContentStyle.position="relative"),this.pagingContentStyle},renderJsIgnore(){return(this.usePageScroll&&this.useChatRecordMode||!this.refresherEnabled&&this.scrollable||!this.useCustomRefresher)&&this.$nextTick((()=>{this.renderPropScrollTop=10})),0},windowHeight(){return this.systemInfo&&this.systemInfo.windowHeight||0},windowBottom(){if(!this.systemInfo)return 0;let e=this.systemInfo.windowBottom||0;return!this.safeAreaInsetBottom||this.useSafeAreaPlaceholder||this.useChatRecordMode||(e+=this.safeAreaBottom),e},isIosAndH5:()=>!1},methods:{getVersion:()=>`z-paging v${Be}`,setSpecialEffects(e){this.setListSpecialEffects(e)},setListSpecialEffects(e){this.nFixFreezing=e&&Object.keys(e).length,this.isIos&&(this.privateRefresherEnabled=0),!this.usePageScroll&&this.$refs["zp-n-list"].setSpecialEffects(e)},_handlePageLaunch(){this.pageLaunched&&(this.refresherThresholdUpdateTag=1,this.$nextTick((()=>{this.refresherThresholdUpdateTag=0})),this._checkVirtualListScroll()),this.pageLaunched=!0},_doVibrateShort(){if(this.isIos){const e=new(plus.ios.importClass("UISelectionFeedbackGenerator"));e.init(),setTimeout((()=>{e.selectionChanged()}),0)}else plus.device.vibrate(15)},async _setAutoHeight(e=!0,t=null){let o="min-height";o="min-height";try{if(e){let e=t||await this._getNodeClientRect(".zp-scroll-view"),i=await this._getNodeClientRect(".zp-page-bottom");if(e){const t=e[0].top;let n=this.windowHeight-t;n-=i?i[0].height:0;const a=n+Qe.convertToPx(this.autoHeightAddition)-(this.insideMore?1:0)+"px !important";this.$set(this.scrollViewStyle,o,a),this.$set(this.scrollViewInStyle,o,a)}}else this.$delete(this.scrollViewStyle,o),this.$delete(this.scrollViewInStyle,o)}catch($a){}},_handleUnmounted(){this.active=!1,this._offEmit(),this.useChatRecordMode&&uni.offKeyboardHeightChange(this._handleKeyboardHeightChange)},_updateInsideOfPaging(){this.insideMore&&!0===this.insideOfPaging&&setTimeout(this.doLoadMore,200)},_cleanTimeout:e=>(e&&(clearTimeout(e),e=null),e),_onEmit(){uni.$on(_e,(e=>{this.loading&&(e&&(this.customerEmptyViewErrorText=e),this.complete(!1).catch((()=>{})))})),uni.$on(Ie,(e=>{setTimeout((()=>{if(this.loading)if(this.disabledCompleteEmit)this.disabledCompleteEmit=!1;else{const t=e.type||"normal",o=e.list||e,i=e.rule;switch(this.fromCompleteEmit=!0,t){case"normal":this.complete(o);break;case"total":this.completeByTotal(o,i);break;case"nomore":this.completeByNoMore(o,i);break;case"key":this.completeByKey(o,i)}}}),1)}))},_offEmit(){uni.$off(_e),uni.$off(Ie)}}},_t=e=>{(e.$wxs||(e.$wxs=[])).push("pagingWxs"),(e.$wxsModules||(e.$wxsModules={})).pagingWxs="bca0bb86"},It=e=>{(e.$renderjs||(e.$renderjs=[])).push("pagingRenderjs"),(e.$renderjsModules||(e.$renderjsModules={})).pagingRenderjs="a5d206f8"};_t(Vt),It(Vt);const Dt=t(Vt,[["render",function(t,o,i,a,r,s){const l=e.resolveComponent("z-paging-refresh"),c=e.resolveComponent("z-paging-load-more"),d=n(e.resolveDynamicComponent("z-paging-empty-view"),Ne);return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass({"z-paging-content":!0,"z-paging-content-full":!t.usePageScroll,"z-paging-content-fixed":!t.usePageScroll&&t.fixed,"z-paging-content-page":t.usePageScroll,"z-paging-reached-top":t.renderPropScrollTop<1,"z-paging-use-chat-record-mode":t.useChatRecordMode}),style:e.normalizeStyle([t.finalPagingStyle])},[t.showF2&&t.showRefresherF2?(e.openBlock(),e.createElementBlock("view",{key:0,onTouchmove:o[0]||(o[0]=e.withModifiers((()=>{}),["stop","prevent"])),class:"zp-f2-content",style:e.normalizeStyle([{transform:t.f2Transform,transition:"transform .2s linear",height:t.superContentHeight+"px","z-index":t.f2ZIndex}])},[e.renderSlot(t.$slots,"f2",{},void 0,!0)],36)):e.createCommentVNode("",!0),!t.usePageScroll&&t.zSlots.top?e.renderSlot(t.$slots,"top",{key:1},void 0,!0):t.usePageScroll&&t.zSlots.top?(e.openBlock(),e.createElementBlock("view",{key:2,class:"zp-page-top",onTouchmove:o[1]||(o[1]=e.withModifiers((()=>{}),["stop","prevent"])),style:e.normalizeStyle([{top:`${t.windowTop}px`,"z-index":t.topZIndex}])},[e.renderSlot(t.$slots,"top",{},void 0,!0)],36)):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass({"zp-view-super":!0,"zp-scroll-view-super":!t.usePageScroll}),style:e.normalizeStyle([t.finalScrollViewStyle])},[t.zSlots.left?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass({"zp-page-left":!0,"zp-absoulte":t.finalIsOldWebView})},[e.renderSlot(t.$slots,"left",{},void 0,!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass({"zp-scroll-view-container":!0,"zp-absoulte":t.finalIsOldWebView}),style:e.normalizeStyle([t.scrollViewContainerStyle])},[e.createElementVNode("scroll-view",{ref:"zp-scroll-view",class:e.normalizeClass({"zp-scroll-view":!0,"zp-scroll-view-absolute":!t.usePageScroll,"zp-scroll-view-hide-scrollbar":!t.showScrollbar}),style:e.normalizeStyle([t.chatRecordRotateStyle]),"scroll-top":t.scrollTop,"scroll-x":t.scrollX,"scroll-y":t.finalScrollable,"enable-back-to-top":t.finalEnableBackToTop,"show-scrollbar":t.showScrollbar,"scroll-with-animation":t.finalScrollWithAnimation,"scroll-into-view":t.scrollIntoView,"lower-threshold":t.finalLowerThreshold,"upper-threshold":5,"refresher-enabled":t.finalRefresherEnabled&&!t.useCustomRefresher,"refresher-threshold":t.finalRefresherThreshold,"refresher-default-style":t.finalRefresherDefaultStyle,"refresher-background":t.refresherBackground,"refresher-triggered":t.finalRefresherTriggered,onScroll:o[12]||(o[12]=(...e)=>t._scroll&&t._scroll(...e)),onScrolltolower:o[13]||(o[13]=(...e)=>t._onScrollToLower&&t._onScrollToLower(...e)),onScrolltoupper:o[14]||(o[14]=(...e)=>t._onScrollToUpper&&t._onScrollToUpper(...e)),onRefresherrestore:o[15]||(o[15]=(...e)=>t._onRestore&&t._onRestore(...e)),onRefresherrefresh:o[16]||(o[16]=e=>t._onRefresh(!0))},[e.createElementVNode("view",{class:"zp-paging-touch-view",onTouchstart:o[4]||(o[4]=(...e)=>t.pagingWxs.touchstart&&t.pagingWxs.touchstart(...e)),onTouchmove:o[5]||(o[5]=(...e)=>t.pagingWxs.touchmove&&t.pagingWxs.touchmove(...e)),onTouchend:o[6]||(o[6]=(...e)=>t.pagingWxs.touchend&&t.pagingWxs.touchend(...e)),onTouchcancel:o[7]||(o[7]=(...e)=>t.pagingWxs.touchend&&t.pagingWxs.touchend(...e)),onMousedown:o[8]||(o[8]=(...e)=>t.pagingWxs.mousedown&&t.pagingWxs.mousedown(...e)),onMousemove:o[9]||(o[9]=(...e)=>t.pagingWxs.mousemove&&t.pagingWxs.mousemove(...e)),onMouseup:o[10]||(o[10]=(...e)=>t.pagingWxs.mouseup&&t.pagingWxs.mouseup(...e)),onMouseleave:o[11]||(o[11]=(...e)=>t.pagingWxs.mouseleave&&t.pagingWxs.mouseleave(...e))},[t.finalRefresherFixedBacHeight>0?(e.openBlock(),e.createElementBlock("view",{key:0,class:"zp-fixed-bac-view",style:e.normalizeStyle([{background:t.refresherFixedBackground,height:`${t.finalRefresherFixedBacHeight}px`}])},null,4)):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"zp-paging-main",style:e.normalizeStyle([t.scrollViewInStyle,{transform:t.finalRefresherTransform,transition:t.refresherTransition}]),"change:prop":t.pagingWxs.propObserver,prop:e.wp(t.wxsPropType),"data-refresherThreshold":t.finalRefresherThreshold,"data-refresherF2Enabled":t.refresherF2Enabled,"data-refresherF2Threshold":t.finalRefresherF2Threshold,"data-isIos":t.isIos,"data-loading":t.loading||t.isRefresherInComplete,"data-useChatRecordMode":t.useChatRecordMode,"data-refresherEnabled":t.refresherEnabled,"data-useCustomRefresher":t.useCustomRefresher,"data-pageScrollTop":t.wxsPageScrollTop,"data-scrollTop":t.wxsScrollTop,"data-refresherMaxAngle":t.refresherMaxAngle,"data-refresherNoTransform":t.refresherNoTransform,"data-refresherAecc":t.refresherAngleEnableChangeContinued,"data-usePageScroll":t.usePageScroll,"data-watchTouchDirectionChange":t.watchTouchDirectionChange,"data-oldIsTouchmoving":t.isTouchmoving,"data-refresherOutRate":t.finalRefresherOutRate,"data-refresherPullRate":t.finalRefresherPullRate,"data-hasTouchmove":t.hasTouchmove,"change:renderPropIsIosAndH5":t.pagingRenderjs.renderPropIsIosAndH5Change,renderPropIsIosAndH5:e.wp(t.isIosAndH5)},[t.showRefresher?(e.openBlock(),e.createElementBlock("view",{key:0,class:"zp-custom-refresher-view",style:e.normalizeStyle([{"margin-top":`-${t.finalRefresherThreshold+t.refresherThresholdUpdateTag}px`,background:t.refresherBackground,opacity:t.isTouchmoving?1:0}])},[e.createElementVNode("view",{class:"zp-custom-refresher-container",style:e.normalizeStyle([{height:`${t.finalRefresherThreshold}px`,background:t.refresherBackground}])},[t.useRefresherStatusBarPlaceholder?(e.openBlock(),e.createElementBlock("view",{key:0,class:"zp-custom-refresher-status-bar-placeholder",style:e.normalizeStyle([{height:`${t.statusBarHeight}px`}])},null,4)):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"zp-custom-refresher-slot-view"},[t.zSlots.refresherComplete&&t.refresherStatus===t.R.Complete||t.zSlots.refresherF2&&t.refresherStatus===t.R.GoF2?e.createCommentVNode("",!0):e.renderSlot(t.$slots,"refresher",{key:0,refresherStatus:t.refresherStatus},void 0,!0)]),t.zSlots.refresherComplete&&t.refresherStatus===t.R.Complete?e.renderSlot(t.$slots,"refresherComplete",{key:1},void 0,!0):t.zSlots.refresherF2&&t.refresherStatus===t.R.GoF2?e.renderSlot(t.$slots,"refresherF2",{key:2},void 0,!0):t.showCustomRefresher?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(l,{key:3,ref:"refresh",class:"zp-custom-refresher-refresh",style:e.normalizeStyle([{height:t.finalRefresherThreshold-t.finalRefresherThresholdPlaceholder+"px"}]),status:t.refresherStatus,defaultThemeStyle:t.finalRefresherThemeStyle,defaultText:t.finalRefresherDefaultText,pullingText:t.finalRefresherPullingText,refreshingText:t.finalRefresherRefreshingText,completeText:t.finalRefresherCompleteText,goF2Text:t.finalRefresherGoF2Text,defaultImg:t.refresherDefaultImg,pullingImg:t.refresherPullingImg,refreshingImg:t.refresherRefreshingImg,completeImg:t.refresherCompleteImg,refreshingAnimated:t.refresherRefreshingAnimated,showUpdateTime:t.showRefresherUpdateTime,updateTimeKey:t.refresherUpdateTimeKey,updateTimeTextMap:t.finalRefresherUpdateTimeTextMap,imgStyle:t.refresherImgStyle,titleStyle:t.refresherTitleStyle,updateTimeStyle:t.refresherUpdateTimeStyle,unit:t.unit},null,8,["style","status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","goF2Text","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","updateTimeTextMap","imgStyle","titleStyle","updateTimeStyle","unit"]))],4)],4)):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"zp-paging-container",style:e.normalizeStyle([{justifyContent:t.useChatRecordMode?"flex-end":"flex-start"}])},[t.showLoading&&t.zSlots.loading&&!t.loadingFullFixed?e.renderSlot(t.$slots,"loading",{key:0},void 0,!0):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"zp-paging-container-content",style:e.normalizeStyle([{transform:t.virtualPlaceholderTopHeight>0?`translateY(${t.virtualPlaceholderTopHeight}px)`:"none"},t.finalPagingContentStyle])},[e.renderSlot(t.$slots,"default",{},void 0,!0),t.finalUseInnerList?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"header",{},void 0,!0),e.createElementVNode("view",{class:"zp-list-container",style:e.normalizeStyle([t.innerListStyle])},[t.finalUseVirtualList?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.virtualList,((o,i)=>(e.openBlock(),e.createElementBlock("view",{class:"zp-list-cell",style:e.normalizeStyle([t.innerCellStyle]),id:`zp-id-${o[t.virtualCellIndexKey]}`,key:o.zp_unique_index,onClick:e=>t._innerCellClick(o,t.virtualTopRangeIndex+i)},[t.useCompatibilityMode?(e.openBlock(),e.createElementBlock("view",{key:0},"使用兼容模式请在组件源码z-paging.vue第99行中注释这一行并打开下面一行注释")):e.renderSlot(t.$slots,"cell",{key:1,item:o,index:t.virtualTopRangeIndex+i},void 0,!0)],12,["id","onClick"])))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.realTotalData,((o,i)=>(e.openBlock(),e.createElementBlock("view",{class:"zp-list-cell",key:i,onClick:e=>t._innerCellClick(o,i)},[e.renderSlot(t.$slots,"cell",{item:o,index:i},void 0,!0)],8,["onClick"])))),128))],4),e.renderSlot(t.$slots,"footer",{},void 0,!0)],64)):e.createCommentVNode("",!0),t.useChatRecordMode&&t.realTotalData.length>=t.defaultPageSize&&(t.loadingStatus!==t.M.NoMore||t.zSlots.chatNoMore)&&(t.realTotalData.length||t.showChatLoadingWhenReload&&t.showLoading)&&!t.isFirstPageAndNoMore?(e.openBlock(),e.createElementBlock("view",{key:1,style:e.normalizeStyle([t.chatRecordRotateStyle])},[t.loadingStatus===t.M.NoMore&&t.zSlots.chatNoMore?e.renderSlot(t.$slots,"chatNoMore",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.zSlots.chatLoading?e.renderSlot(t.$slots,"chatLoading",{key:0,loadingMoreStatus:t.loadingStatus},void 0,!0):(e.openBlock(),e.createBlock(c,{key:1,onDoClick:o[2]||(o[2]=e=>t._onLoadingMore("click")),zConfig:t.zLoadMoreConfig},null,8,["zConfig"]))],64))],4)):e.createCommentVNode("",!0),t.useVirtualList?(e.openBlock(),e.createElementBlock("view",{key:2,class:"zp-virtual-placeholder",style:e.normalizeStyle([{height:t.virtualPlaceholderBottomHeight+"px"}])},null,4)):e.createCommentVNode("",!0),t.showLoadingMoreDefault?e.renderSlot(t.$slots,"loadingMoreDefault",{key:3},void 0,!0):t.showLoadingMoreLoading?e.renderSlot(t.$slots,"loadingMoreLoading",{key:4},void 0,!0):t.showLoadingMoreNoMore?e.renderSlot(t.$slots,"loadingMoreNoMore",{key:5},void 0,!0):t.showLoadingMoreFail?e.renderSlot(t.$slots,"loadingMoreFail",{key:6},void 0,!0):t.showLoadingMoreCustom?(e.openBlock(),e.createBlock(c,{key:7,onDoClick:o[3]||(o[3]=e=>t._onLoadingMore("click")),zConfig:t.zLoadMoreConfig},null,8,["zConfig"])):e.createCommentVNode("",!0),t.safeAreaInsetBottom&&t.useSafeAreaPlaceholder&&!t.useChatRecordMode?(e.openBlock(),e.createElementBlock("view",{key:8,class:"zp-safe-area-placeholder",style:e.normalizeStyle([{height:t.safeAreaBottom+"px"}])},null,4)):e.createCommentVNode("",!0)],4),t.showEmpty?(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass({"zp-empty-view":!0,"zp-empty-view-center":t.emptyViewCenter}),style:e.normalizeStyle([t.emptyViewSuperStyle,t.chatRecordRotateStyle])},[t.zSlots.empty?e.renderSlot(t.$slots,"empty",{key:0,isLoadFailed:t.isLoadFailed},void 0,!0):(e.openBlock(),e.createBlock(d,{key:1,emptyViewImg:t.finalEmptyViewImg,emptyViewText:t.finalEmptyViewText,showEmptyViewReload:t.finalShowEmptyViewReload,emptyViewReloadText:t.finalEmptyViewReloadText,isLoadFailed:t.isLoadFailed,emptyViewStyle:t.emptyViewStyle,emptyViewTitleStyle:t.emptyViewTitleStyle,emptyViewImgStyle:t.emptyViewImgStyle,emptyViewReloadStyle:t.emptyViewReloadStyle,emptyViewZIndex:t.emptyViewZIndex,emptyViewFixed:t.emptyViewFixed,unit:t.unit,onReload:t._emptyViewReload,onViewClick:t._emptyViewClick},null,8,["emptyViewImg","emptyViewText","showEmptyViewReload","emptyViewReloadText","isLoadFailed","emptyViewStyle","emptyViewTitleStyle","emptyViewImgStyle","emptyViewReloadStyle","emptyViewZIndex","emptyViewFixed","unit","onReload","onViewClick"]))],6)):e.createCommentVNode("",!0)],4)],12,["change:prop","prop","data-refresherThreshold","data-refresherF2Enabled","data-refresherF2Threshold","data-isIos","data-loading","data-useChatRecordMode","data-refresherEnabled","data-useCustomRefresher","data-pageScrollTop","data-scrollTop","data-refresherMaxAngle","data-refresherNoTransform","data-refresherAecc","data-usePageScroll","data-watchTouchDirectionChange","data-oldIsTouchmoving","data-refresherOutRate","data-refresherPullRate","data-hasTouchmove","change:renderPropIsIosAndH5","renderPropIsIosAndH5"])],32)],46,["scroll-top","scroll-x","scroll-y","enable-back-to-top","show-scrollbar","scroll-with-animation","scroll-into-view","lower-threshold","refresher-enabled","refresher-threshold","refresher-default-style","refresher-background","refresher-triggered"])],6),t.zSlots.right?(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass({"zp-page-right":!0,"zp-absoulte zp-right":t.finalIsOldWebView})},[e.renderSlot(t.$slots,"right",{},void 0,!0)],2)):e.createCommentVNode("",!0)],6),e.createElementVNode("view",{class:"zp-page-bottom-container",style:e.normalizeStyle({background:t.bottomBgColor})},[!t.usePageScroll&&t.zSlots.bottom?e.renderSlot(t.$slots,"bottom",{key:0},void 0,!0):t.usePageScroll&&t.zSlots.bottom?(e.openBlock(),e.createElementBlock("view",{key:1,class:"zp-page-bottom",onTouchmove:o[17]||(o[17]=e.withModifiers((()=>{}),["stop","prevent"])),style:e.normalizeStyle([{bottom:`${t.windowBottom}px`}])},[e.renderSlot(t.$slots,"bottom",{},void 0,!0)],36)):e.createCommentVNode("",!0),t.useChatRecordMode&&t.autoAdjustPositionWhenChat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("view",{style:e.normalizeStyle([{height:t.chatRecordModeSafeAreaBottom+"px"}])},null,4),e.createElementVNode("view",{class:"zp-page-bottom-keyboard-placeholder-animate",style:e.normalizeStyle([{height:t.keyboardHeight+"px"}])},null,4)],64)):e.createCommentVNode("",!0)],4),t.showBackToTopClass?(e.openBlock(),e.createElementBlock("view",{key:3,class:e.normalizeClass(t.finalBackToTopClass),style:e.normalizeStyle([t.finalBackToTopStyle]),onClick:o[18]||(o[18]=e.withModifiers(((...e)=>t._backToTopClick&&t._backToTopClick(...e)),["stop"]))},[t.zSlots.backToTop?e.renderSlot(t.$slots,"backToTop",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock("image",{key:1,class:"zp-back-to-top-img",src:t.backToTopImg.length?t.backToTopImg:t.base64BackToTop},null,8,["src"]))],6)):e.createCommentVNode("",!0),t.showLoading&&t.zSlots.loading&&t.loadingFullFixed?(e.openBlock(),e.createElementBlock("view",{key:4,class:"zp-loading-fixed"},[e.renderSlot(t.$slots,"loading",{},void 0,!0)])):e.createCommentVNode("",!0)],6)}],["__scopeId","data-v-eb19abc4"]]),zt={__name:"tabbar",props:{path:{type:String,default:""}},setup(t){const o=t;let i=e.ref([{pagePath:"/pages/index/index",text:"首页",icon_select:"/static/tabbar/home.png",icon:"/static/tabbar/homes.png",type:0},{pagePath:"/pages/market/market",text:"公告",icon_select:"/static/tabbar/market.png",icon:"/static/tabbar/markets.png",type:0},{pagePath:"/pages/mine/mine",text:"我的",icon_select:"/static/tabbar/mine.png",icon:"/static/tabbar/mines.png",type:0}]);return(n,a)=>(e.openBlock(),e.createElementBlock("view",{class:"tabbar_pages p30"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i),((i,n)=>(e.openBlock(),e.createElementBlock("view",{class:"tabbar_pages_view",key:n,onClick:e=>(e=>{if(uni.vibrateShort(),o.path==e)return!0;uni.switchTab({url:e})})(i.pagePath)},[e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createElementVNode("image",{mode:"widthFix",src:t.path==i.pagePath?i.icon:i.icon_select},null,8,["src"])]),e.createElementVNode("view",{style:e.normalizeStyle({color:t.path==i.pagePath?"#4874E5":""})},e.toDisplayString(i.text),5)])],8,["onClick"])))),128))]))}},Rt=t(zt,[["__scopeId","data-v-6ad482b6"]]);function Pt(){return{nav:e=>{uni["nav"!=e.type&&e.type&&"switchTab"==e.type?"switchTab":"navigateTo"]({url:e.path})},navTo:(e,t,o)=>{if(!o)return t&&!uni.getStorageSync("token")?uni.showModal({title:"提示",content:"你还未登录,是否前往登录?",success:function(e){e.confirm?uni.navigateTo({url:"/pages/login/login"}):e.cancel&&i("log","at hooks/useNav.js:27","用户点击取消")}}):void uni.navigateTo({url:e});uni.makePhoneCall({phoneNumber:"4008005326"})}}}const{toString:Mt}=Object.prototype;function Lt(e){return"[object Array]"===Mt.call(e)}function Ft(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),Lt(e))for(let o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function Ot(){const e={};function t(t,o){"object"==typeof e[o]&&"object"==typeof t?e[o]=Ot(e[o],t):e[o]="object"==typeof t?Ot({},t):t}for(let o=0,i=arguments.length;o<i;o++)Ft(arguments[o],t);return e}function Ut(e){return void 0===e}function jt(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ht(e,t){if(!t)return e;let o;if(i=t,"undefined"!=typeof URLSearchParams&&i instanceof URLSearchParams)o=t.toString();else{const e=[];Ft(t,((t,o)=>{null!=t&&(Lt(t)?o=`${o}[]`:t=[t],Ft(t,(t=>{!function(e){return"[object Date]"===Mt.call(e)}(t)?function(e){return null!==e&&"object"==typeof e}(t)&&(t=JSON.stringify(t)):t=t.toISOString(),e.push(`${jt(o)}=${jt(t)}`)})))})),o=e.join("&")}var i;if(o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const Qt=(e,t)=>{const o={};return e.forEach((e=>{Ut(t[e])||(o[e]=t[e])})),o},Wt=e=>(e=>new Promise(((t,o)=>{const i=Ht((n=e.baseURL,a=e.url,n&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a)?function(e,t){return t?`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`:e}(n,a):a),e.params);var n,a;const r={url:i,header:e.header,complete:n=>{e.fullPath=i,n.config=e;try{"string"==typeof n.data&&(n.data=JSON.parse(n.data))}catch($a){}!function(e,t,o){const{validateStatus:i}=o.config,n=o.statusCode;!n||i&&!i(n)?t(o):e(o)}(t,o,n)}};let s;if("UPLOAD"===e.method){delete r.header["content-type"],delete r.header["Content-Type"];const t={filePath:e.filePath,name:e.name},o=["files","timeout","formData"];s=uni.uploadFile({...r,...t,...Qt(o,e)})}else if("DOWNLOAD"===e.method)Ut(e.timeout)||(r.timeout=e.timeout),s=uni.downloadFile(r);else{const t=["data","method","timeout","dataType","responseType","sslVerify","firstIpv4"];s=uni.request({...r,...Qt(t,e)})}e.getTask&&e.getTask(s,e)})))(e);function Gt(){this.handlers=[]}Gt.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},Gt.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Gt.prototype.forEach=function(e){this.handlers.forEach((t=>{null!==t&&e(t)}))};const Zt=(e,t,o)=>{const i={};return e.forEach((e=>{Ut(o[e])?Ut(t[e])||(i[e]=t[e]):i[e]=o[e]})),i},Yt={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,sslVerify:!0,firstIpv4:!1,validateStatus:function(e){return e>=200&&e<300}};var qt=function(){function e(e,t){return null!=t&&e instanceof t}var t,o,i;try{t=Map}catch(s){t=function(){}}try{o=Set}catch(s){o=function(){}}try{i=Promise}catch(s){i=function(){}}function n(a,s,l,c,d){"object"==typeof s&&(l=s.depth,c=s.prototype,d=s.includeNonEnumerable,s=s.circular);var u=[],h=[],p="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function a(l,m){if(null===l)return null;if(0===m)return l;var g,f;if("object"!=typeof l)return l;if(e(l,t))g=new t;else if(e(l,o))g=new o;else if(e(l,i))g=new i((function(e,t){l.then((function(t){e(a(t,m-1))}),(function(e){t(a(e,m-1))}))}));else if(n.__isArray(l))g=[];else if(n.__isRegExp(l))g=new RegExp(l.source,r(l)),l.lastIndex&&(g.lastIndex=l.lastIndex);else if(n.__isDate(l))g=new Date(l.getTime());else{if(p&&Buffer.isBuffer(l))return Buffer.from?g=Buffer.from(l):(g=new Buffer(l.length),l.copy(g)),g;e(l,Error)?g=Object.create(l):void 0===c?(f=Object.getPrototypeOf(l),g=Object.create(f)):(g=Object.create(c),f=c)}if(s){var y=u.indexOf(l);if(-1!=y)return h[y];u.push(l),h.push(g)}for(var w in e(l,t)&&l.forEach((function(e,t){var o=a(t,m-1),i=a(e,m-1);g.set(o,i)})),e(l,o)&&l.forEach((function(e){var t=a(e,m-1);g.add(t)})),l){Object.getOwnPropertyDescriptor(l,w)&&(g[w]=a(l[w],m-1));try{if("undefined"===Object.getOwnPropertyDescriptor(l,w).set)continue;g[w]=a(l[w],m-1)}catch($a){if($a instanceof TypeError)continue;if($a instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(l);for(w=0;w<v.length;w++){var b=v[w];(!(k=Object.getOwnPropertyDescriptor(l,b))||k.enumerable||d)&&(g[b]=a(l[b],m-1),Object.defineProperty(g,b,k))}}if(d){var S=Object.getOwnPropertyNames(l);for(w=0;w<S.length;w++){var k,x=S[w];(k=Object.getOwnPropertyDescriptor(l,x))&&k.enumerable||(g[x]=a(l[x],m-1),Object.defineProperty(g,x,k))}}return g}(a,l)}function a(e){return Object.prototype.toString.call(e)}function r(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return n.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},n.__objToStr=a,n.__isDate=function(e){return"object"==typeof e&&"[object Date]"===a(e)},n.__isArray=function(e){return"object"==typeof e&&"[object Array]"===a(e)},n.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===a(e)},n.__getRegExpFlags=r,n}();let Jt,Kt=null;function Xt(e,t=500,o=!0){o?Jt||(Jt=!0,"function"==typeof e&&e(),setTimeout((()=>{Jt=!1}),t)):Jt||(Jt=!0,setTimeout((()=>{Jt=!1,"function"==typeof e&&e()}),t))}const $t={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965};let eo="none";eo="vue3",eo="plus";const to=new class{constructor(e={}){var t;t=e,"[object Object]"!==Object.prototype.toString.call(t)&&(e={},i("warn","at uni_modules/uview-plus/libs/luch-request/core/Request.js:39","设置全局参数必须接收一个Object")),this.config=qt({...Yt,...e}),this.interceptors={request:new Gt,response:new Gt}}setConfig(e){this.config=e(this.config)}middleware(e){e=((e,t={})=>{const o=t.method||e.method||"GET";let i={baseURL:e.baseURL||"",method:o,url:t.url||"",params:t.params||{},custom:{...e.custom||{},...t.custom||{}},header:Ot(e.header||{},t.header||{})};if(i={...i,...Zt(["getTask","validateStatus"],e,t)},"DOWNLOAD"===o)Ut(t.timeout)?Ut(e.timeout)||(i.timeout=e.timeout):i.timeout=t.timeout;else if("UPLOAD"===o)delete i.header["content-type"],delete i.header["Content-Type"],["files","filePath","name","timeout","formData"].forEach((e=>{Ut(t[e])||(i[e]=t[e])})),Ut(i.timeout)&&!Ut(e.timeout)&&(i.timeout=e.timeout);else{const o=["data","timeout","dataType","responseType","sslVerify","firstIpv4"];i={...i,...Zt(o,e,t)}}return i})(this.config,e);const t=[Wt,void 0];let o=Promise.resolve(e);for(this.interceptors.request.forEach((e=>{t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((e=>{t.push(e.fulfilled,e.rejected)}));t.length;)o=o.then(t.shift(),t.shift());return o}request(e={}){return this.middleware(e)}get(e,t={}){return this.middleware({url:e,method:"GET",...t})}post(e,t,o={}){return this.middleware({url:e,data:t,method:"POST",...o})}put(e,t,o={}){return this.middleware({url:e,data:t,method:"PUT",...o})}delete(e,t,o={}){return this.middleware({url:e,data:t,method:"DELETE",...o})}options(e,t,o={}){return this.middleware({url:e,data:t,method:"OPTIONS",...o})}upload(e,t={}){return t.url=e,t.method="UPLOAD",this.middleware(t)}download(e,t={}){return t.url=e,t.method="DOWNLOAD",this.middleware(t)}};ee.setConfig=function(e){ee.shallowMerge(u,e.config||{}),ee.shallowMerge(S,e.props||{}),ee.shallowMerge(b,e.color||{}),ee.shallowMerge($t,e.zIndex||{})};const oo={route:te,date:ee.timeFormat,colorGradient:re.colorGradient,hexToRgb:re.hexToRgb,rgbToHex:re.rgbToHex,colorToRgba:re.colorToRgba,test:B,type:["primary","success","error","warning","info"],http:to,config:u,zIndex:$t,debounce:function(e,t=500,o=!1){if(null!==Kt&&clearTimeout(Kt),o){const o=!Kt;Kt=setTimeout((()=>{Kt=null}),t),o&&"function"==typeof e&&e()}else Kt=setTimeout((()=>{"function"==typeof e&&e()}),t)},throttle:Xt,mixin:oe,mpMixin:x,props:S,...ee,color:b,platform:"plus"};uni.$u=oo;const io={install:e=>{e.config.globalProperties.$u=oo,e.mixin(oe)}},no=(e,t,o,n)=>new Promise(((a,r)=>{let s=uni.getStorageSync("token")||"",l={Authorization:s,...n};uni.request({url:"https://guangdongapp.zhongshuai2023.com"+e,data:t||{},method:o||"POST",header:l,success:e=>{const t=e.data;return 401==t.code||401==e.statusCode?(i("log","at request/index.js:37",e),uni.clearStorageSync(),uni.showModal({title:"提示",content:(s?"登录失效":"你还未登录")+",是否前往登录?",success:function(e){e.confirm?uni.navigateTo({url:"/pages/login/login"}):e.cancel&&i("log","at request/index.js:48","用户点击取消")}}),void r(t)):10!=t.code||t.success?1===t.code||t.success?void a(t.data||null):(J(t.msg),void r(t)):void r(t)},fail:e=>{r(e)}})})),ao=(e,t={})=>no("/api/auth/sendSmsCode",e),ro=(e,t={})=>no("/api/v0/user/info",e,"GET"),so=(e,t={})=>no("/api/v0/goods/selectGoodsInfo",e),lo=(e,t={})=>no("/api/v0/orders/info",e,"GET"),co=(e,t={})=>no("/api/v0/goodsPackages/selectGoodsInfo",e),uo=(e,t={})=>no("/api/v0/protocol/selectProtocolInfo",e,"GET"),ho=(e,t={})=>no("/api/v0/config/getAppConfig",e),po=(e,t={})=>no("/api/v0/banner/getContentList",e),mo=(e,t={})=>no("/api/v0/user/updateUserInfo",e),go=(e,t={})=>no("/api/v0/activity/info",e,"GET"),fo={__name:"index",setup(t){const{nav:i,navTo:a}=Pt();e.reactive(["https://cdn.uviewui.com/uview/swiper/swiper1.png","https://cdn.uviewui.com/uview/swiper/swiper2.png","https://cdn.uviewui.com/uview/swiper/swiper3.png"]);const u=e.ref(null);let h=e.ref([]),p=e.ref([]),m=e.ref([]);r((async()=>{uni.hideTabBar()})),s((async e=>{if(uni.hideTabBar(),e.q){const t=function(e,t){let o,i=/([^?&=]+)=([^&]+)/g,n={};for(;null!==(o=i.exec(e));){let e=decodeURIComponent(o[1]),t=decodeURIComponent(o[2]);n[e]?Array.isArray(n[e])?n[e].push(t):n[e]=[n[e],t]:n[e]=t}return t?n[t]?n[t]:"":n}(decodeURIComponent(e.q));t.num&&uni.setStorageSync("invite_code",t.num)}g();let t=await po({cid:1});m.value=t.records}));let g=async()=>{let e=await no("/api/v0/banner/bannerInfo",t,"GET");var t;p.value=e},f=()=>!u.value;d((()=>{f()||u.value.reload().catch((()=>{}))})),l((e=>{f()||(u.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&u.value.doChatRecordLoadMore())})),c((()=>{f()||u.value.pageReachBottom()}));const y=e.reactive([{img:"/static/icon/dz.png",name:"我的电桩",path:"/pages/piles/piles",login:!0},{img:"/static/icon/zd.png",name:"我的账单",path:"/pages/mine/balanceIncome",login:!0},{img:"/static/icon/hd.png",name:"活动",path:"/pages/activity/index",login:!1},{img:"/static/icon/kf.png",name:"联系客服",login:!1,openType:"contact"}]);let w=e=>{uni.navigateTo({url:"/pages/shop/shop?id="+e.id})};const v=(e,t)=>{((e,t={})=>no("/api/v0/goods/selectListByPage",e))({current:e,pageSize:t}).then((e=>{u.value.complete(e.records)})).catch((e=>{u.value.complete(!1)}))};let b=e=>{let t=p.value[e];t.jumpUrl&&uni.navigateTo({url:t.jumpUrl})},S=()=>{uni.switchTab({url:"/pages/market/market"})};return(t,i)=>{const r=n(e.resolveDynamicComponent("statusBar"),o),s=n(e.resolveDynamicComponent("up-swiper"),ue),l=n(e.resolveDynamicComponent("up-icon"),ge),c=n(e.resolveDynamicComponent("up-grid-item"),fe),d=n(e.resolveDynamicComponent("up-grid"),we),g=n(e.resolveDynamicComponent("z-paging"),Dt),f=n(e.resolveDynamicComponent("tabbar"),Rt);return e.openBlock(),e.createElementBlock("view",{class:"p30 homeIndex",style:{"padding-bottom":"150rpx"}},[e.createVNode(g,{ref_key:"paging",ref:u,modelValue:e.unref(h),"onUpdate:modelValue":i[1]||(i[1]=t=>e.isRef(h)?h.value=t:h=t),"use-page-scroll":"",onQuery:v},{default:e.withCtx((()=>[e.createVNode(r),e.createVNode(s,{list:e.unref(p),keyName:"imageUrl",height:"388rpx",indicator:"",onClick:e.unref(b)},null,8,["list","onClick"]),e.createElementVNode("view",{class:"mt30"},[e.createVNode(d,{border:!1,col:"4"},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y,((t,o)=>(e.openBlock(),e.createBlock(c,{bgColor:"#fff",key:o,onClick:o=>e.unref(a)(t.path,t.login,t.call)},{default:e.withCtx((()=>[e.createElementVNode("button",{"open-type":t.openType,style:{all:"unset",width:"100%",display:"flex","align-items":"center","justify-content":"center","flex-direction":"column"}},[e.createElementVNode("view",{style:{height:"35rpx"}}),e.createVNode(l,{imgMode:"widthFix",name:t.img,size:27},null,8,["name"]),e.createElementVNode("text",{style:{"font-size":"24rpx",color:"#333","margin-top":"10rpx"}},e.toDisplayString(t.name),1),e.createElementVNode("view",{style:{height:"15rpx"}})],8,["open-type"])])),_:2},1032,["onClick"])))),128))])),_:1})]),e.createElementVNode("view",{class:"mt30"},[e.createElementVNode("view",{class:"home_notice"},[e.createElementVNode("view",{class:"home_notice_title"},[e.createElementVNode("view",null,"系统公告"),e.createElementVNode("view",{style:{"font-size":"28rpx"},onClick:i[0]||(i[0]=(...t)=>e.unref(S)&&e.unref(S)(...t)),class:"u-flex-y-center"},[e.createTextVNode(" 更多 "),e.createVNode(l,{name:"arrow-right",color:"#4874e5",size:"14"})])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(m),((t,o)=>(e.openBlock(),e.createElementBlock("view",{key:o},[o<=2?(e.openBlock(),e.createElementBlock("navigator",{key:0,url:`/pages/market/detail?id=${t.id}`,class:"home_notice_view"},[e.createElementVNode("view",null,e.toDisplayString(t.title),1)],8,["url"])):e.createCommentVNode("",!0)])))),128))])]),e.createElementVNode("view",{class:"shopList",style:{"margin-top":"30rpx"}},[e.createElementVNode("image",{class:"shopList_img",src:"/static/jp.png",mode:"widthFix"}),e.createElementVNode("view",{class:"shopList_list"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),(t=>(e.openBlock(),e.createElementBlock("view",{class:"shopList_list_view",key:t,onClick:o=>e.unref(w)(t)},[e.createElementVNode("image",{class:"shopList_list_view_img",src:JSON.parse(t.picture)[0],mode:"aspectFit"},null,8,["src"]),e.createElementVNode("view",{class:"shopList_list_view_tit"},e.toDisplayString(t.goodsName),1),e.createElementVNode("view",{class:"shopList_list_view_mon"},[e.createElementVNode("view",{class:"shopList_list_view_mon_left"},"¥"+e.toDisplayString(t.salePrice)+" 元",1)])],8,["onClick"])))),128))])])])),_:1},8,["modelValue"]),e.createVNode(f,{path:"/pages/index/index"})])}}},yo=t(fo,[["__scopeId","data-v-5a00ebef"]]);const wo=t({name:"u-badge",mixins:[x,{props:{isDot:{type:Boolean,default:()=>S.badge.isDot},value:{type:[Number,String],default:()=>S.badge.value},modelValue:{type:[Number,String],default:()=>S.badge.modelValue},show:{type:Boolean,default:()=>S.badge.show},max:{type:[Number,String],default:()=>S.badge.max},type:{type:String,default:()=>S.badge.type},showZero:{type:Boolean,default:()=>S.badge.showZero},bgColor:{type:[String,null],default:()=>S.badge.bgColor},color:{type:[String,null],default:()=>S.badge.color},shape:{type:String,default:()=>S.badge.shape},numberType:{type:String,default:()=>S.badge.numberType},offset:{type:Array,default:()=>S.badge.offset},inverted:{type:Boolean,default:()=>S.badge.inverted},absolute:{type:Boolean,default:()=>S.badge.absolute}}},oe],computed:{boxStyle:()=>({}),badgeStyle(){const e={};if(this.color&&(e.color=this.color),this.bgColor&&!this.inverted&&(e.backgroundColor=this.bgColor),this.absolute&&(e.position="absolute",this.offset.length)){const t=this.offset[0],o=this.offset[1]||t;e.top=H(t),e.right=H(o)}return e},showValue(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}},methods:{addStyle:j}},[["render",function(t,o,i,n,a,r){return t.show&&(0!==Number(t.value)||t.showZero||t.isDot)?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass([[t.isDot?"u-badge--dot":"u-badge--not-dot",t.inverted&&"u-badge--inverted","horn"===t.shape&&"u-badge--horn",`u-badge--${t.type}${t.inverted?"--inverted":""}`],"u-badge"]),style:e.normalizeStyle([r.addStyle(t.customStyle),r.badgeStyle])},e.toDisplayString(t.isDot?"":r.showValue),7)):e.createCommentVNode("",!0)}],["__scopeId","data-v-1b5e1c10"]]),vo={props:{duration:{type:Number,default:()=>S.tabs.duration},list:{type:Array,default:()=>S.tabs.list},lineColor:{type:String,default:()=>S.tabs.lineColor},activeStyle:{type:[String,Object],default:()=>S.tabs.activeStyle},inactiveStyle:{type:[String,Object],default:()=>S.tabs.inactiveStyle},lineWidth:{type:[String,Number],default:()=>S.tabs.lineWidth},lineHeight:{type:[String,Number],default:()=>S.tabs.lineHeight},lineBgSize:{type:String,default:()=>S.tabs.lineBgSize},itemStyle:{type:[String,Object],default:()=>S.tabs.itemStyle},scrollable:{type:Boolean,default:()=>S.tabs.scrollable},current:{type:[Number,String],default:()=>S.tabs.current},keyName:{type:String,default:()=>S.tabs.keyName}}};const bo=t({name:"u-tabs",mixins:[x,oe,vo],data:()=>({firstTime:!0,scrollLeft:0,scrollViewWidth:0,lineOffsetLeft:0,tabsRect:{left:0},innerCurrent:0,moving:!1}),watch:{current:{immediate:!0,handler(e,t){e!==this.innerCurrent&&(this.innerCurrent=e,this.$nextTick((()=>{this.resize()})))}},list(){this.$nextTick((()=>{this.resize()}))}},computed:{textStyle(){return e=>{const t={},o=e===this.innerCurrent?j(this.activeStyle):j(this.inactiveStyle);return this.list[e].disabled&&(t.color="#c8c9cc"),W(o,t)}},propsBadge:()=>S.badge},async mounted(){this.init()},emits:["click","change"],methods:{addStyle:j,addUnit:H,setLineLeft(){const e=this.list[this.innerCurrent];if(!e)return;let t=this.list.slice(0,this.innerCurrent).reduce(((e,t)=>e+t.rect.width),0);const o=M(this.lineWidth);this.lineOffsetLeft=t+(e.rect.width-o)/2,this.firstTime&&setTimeout((()=>{this.firstTime=!1}),10)},animation(e,t=0){},clickHandler(e,t){this.$emit("click",{...e,index:t},t),e.disabled||(this.innerCurrent=t,this.resize(),this.$emit("change",{...e,index:t},t))},init(){L().then((()=>{this.resize()}))},setScrollLeft(){const e=this.list[this.innerCurrent],t=this.list.slice(0,this.innerCurrent).reduce(((e,t)=>e+t.rect.width),0),o=O().windowWidth;let i=t-(this.tabsRect.width-e.rect.width)/2-(o-this.tabsRect.right)/2+this.tabsRect.left/2;i=Math.min(i,this.scrollViewWidth-this.tabsRect.width),this.scrollLeft=Math.max(0,i)},resize(){0!==this.list.length&&Promise.all([this.getTabsRect(),this.getAllItemRect()]).then((([e,t=[]])=>{this.tabsRect=e,this.scrollViewWidth=0,t.map(((e,t)=>{this.scrollViewWidth+=e.width,this.list[t].rect=e})),this.setLineLeft(),this.setScrollLeft()}))},getTabsRect(){return new Promise((e=>{this.queryRect("u-tabs__wrapper__scroll-view").then((t=>e(t)))}))},getAllItemRect(){return new Promise((e=>{const t=this.list.map(((e,t)=>this.queryRect(`u-tabs__wrapper__nav__item-${t}`,!0)));Promise.all(t).then((t=>e(t)))}))},queryRect(e,t){return new Promise((t=>{this.$uGetRect(`.${e}`).then((e=>{t(e)}))}))}}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-badge"),wo);return e.openBlock(),e.createElementBlock("view",{class:"u-tabs"},[e.createElementVNode("view",{class:"u-tabs__wrapper"},[e.renderSlot(t.$slots,"left",{},void 0,!0),e.createElementVNode("view",{class:"u-tabs__wrapper__scroll-view-wrapper"},[e.createElementVNode("scroll-view",{"scroll-x":t.scrollable,"scroll-left":r.scrollLeft,"scroll-with-animation":"",class:"u-tabs__wrapper__scroll-view","show-scrollbar":!1,ref:"u-tabs__wrapper__scroll-view"},[e.createElementVNode("view",{class:"u-tabs__wrapper__nav",ref:"u-tabs__wrapper__nav"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,((o,i)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-tabs__wrapper__nav__item",[`u-tabs__wrapper__nav__item-${i}`,o.disabled&&"u-tabs__wrapper__nav__item--disabled"]]),key:i,onClick:e=>s.clickHandler(o,i),ref_for:!0,ref:`u-tabs__wrapper__nav__item-${i}`,style:e.normalizeStyle([s.addStyle(t.itemStyle),{flex:t.scrollable?"":1}])},[e.createElementVNode("text",{class:e.normalizeClass([[o.disabled&&"u-tabs__wrapper__nav__item__text--disabled"],"u-tabs__wrapper__nav__item__text"]),style:e.normalizeStyle([s.textStyle(i)])},e.toDisplayString(o[t.keyName]),7),e.createVNode(l,{show:!(!o.badge||!(o.badge.show||o.badge.isDot||o.badge.value)),isDot:o.badge&&o.badge.isDot||s.propsBadge.isDot,value:o.badge&&o.badge.value||s.propsBadge.value,max:o.badge&&o.badge.max||s.propsBadge.max,type:o.badge&&o.badge.type||s.propsBadge.type,showZero:o.badge&&o.badge.showZero||s.propsBadge.showZero,bgColor:o.badge&&o.badge.bgColor||s.propsBadge.bgColor,color:o.badge&&o.badge.color||s.propsBadge.color,shape:o.badge&&o.badge.shape||s.propsBadge.shape,numberType:o.badge&&o.badge.numberType||s.propsBadge.numberType,inverted:o.badge&&o.badge.inverted||s.propsBadge.inverted,customStyle:"margin-left: 4px;"},null,8,["show","isDot","value","max","type","showZero","bgColor","color","shape","numberType","inverted"])],14,["onClick"])))),128)),e.createElementVNode("view",{class:"u-tabs__wrapper__nav__line",ref:"u-tabs__wrapper__nav__line",style:e.normalizeStyle([{width:s.addUnit(t.lineWidth),transform:`translate(${r.lineOffsetLeft}px)`,transitionDuration:`${r.firstTime?0:t.duration}ms`,height:s.addUnit(t.lineHeight),background:t.lineColor,backgroundSize:t.lineBgSize}])},null,4)],512)],8,["scroll-x","scroll-left"])]),e.renderSlot(t.$slots,"right",{},void 0,!0)])])}],["__scopeId","data-v-288530b4"]]),So={__name:"market",setup(t){const a=e.reactive({cid:4});let u=e.ref();s((async()=>{uni.hideTabBar();let e=await no("/api/v0/banner/getContentCategoryList",t);var t;u.value=e.records,a.cid=u.value[0].id,p.value.reload()})),r((async()=>{uni.hideTabBar()}));let h=e=>{i("log","at pages/market/market.vue:59",e),a.cid=e.id,p.value.reload()};const p=e.ref(null);let m=e.ref([]),g=()=>!p.value;d((()=>{g()||p.value.reload().catch((()=>{}))})),l((e=>{g()||(p.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&p.value.doChatRecordLoadMore())})),c((()=>{g()||p.value.pageReachBottom()}));const f=(e,t)=>{const o={current:e,pageSize:t,...a};po(o).then((e=>{p.value.complete(e.records)})).catch((e=>{p.value.complete(!1)}))};let y=e=>{uni.navigateTo({url:e})};return(t,i)=>{const a=n(e.resolveDynamicComponent("up-tabs"),bo),r=n(e.resolveDynamicComponent("statusBar"),o),s=n(e.resolveDynamicComponent("z-paging"),Dt),l=n(e.resolveDynamicComponent("tabbar"),Rt);return e.openBlock(),e.createElementBlock("view",{class:"p30",style:{"padding-bottom":"150rpx"}},[e.createVNode(s,{ref_key:"paging",ref:p,modelValue:e.unref(m),"onUpdate:modelValue":i[0]||(i[0]=t=>e.isRef(m)?m.value=t:m=t),"use-page-scroll":"",onQuery:f},{default:e.withCtx((()=>[e.createVNode(r,null,{default:e.withCtx((()=>[e.createVNode(a,{list:e.unref(u),onClick:e.unref(h)},null,8,["list","onClick"])])),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(m),(t=>(e.openBlock(),e.createElementBlock("view",{class:"order_view",key:t,onClick:o=>e.unref(y)(`/pages/market/detail?id=${t.id}`)},[t.cover?(e.openBlock(),e.createElementBlock("image",{key:0,src:t.cover,mode:"aspectFill",style:{width:"690rpx",height:"248rpx","margin-top":"30rpx","border-radius":"10rpx"}},null,8,["src"])):(e.openBlock(),e.createElementBlock("view",{key:1,class:"mt30",style:{display:"flex","align-items":"center",height:"80rpx","background-color":"#fff",padding:"0 30rpx","justify-content":"space-between"}},[e.createElementVNode("view",null,e.toDisplayString(t.title),1)]))],8,["onClick"])))),128))])),_:1},8,["modelValue"]),e.createVNode(l,{path:"/pages/market/market"})])}}},ko=t(So,[["__scopeId","data-v-1edd5603"]]),xo={props:{show:{type:Boolean,default:()=>S.transition.show},mode:{type:String,default:()=>S.transition.mode},duration:{type:[String,Number],default:()=>S.transition.duration},timingFunction:{type:String,default:()=>S.transition.timingFunction}}},Co=e=>({enter:`u-${e}-enter u-${e}-enter-active`,"enter-to":`u-${e}-enter-to u-${e}-enter-active`,leave:`u-${e}-leave u-${e}-leave-active`,"leave-to":`u-${e}-leave-to u-${e}-leave-active`});const To=t({name:"u-transition",data:()=>({inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}),emits:["click","beforeEnter","enter","afterEnter","beforeLeave","leave","afterLeave"],computed:{mergeStyle(){const{viewStyle:e,customStyle:t}=this;return{transitionDuration:`${this.duration}ms`,transitionTimingFunction:this.timingFunction,...j(t),...e}}},mixins:[x,oe,{methods:{clickHandler(){this.$emit("click")},async vueEnter(){const t=Co(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=t.enter,await e.nextTick(),await L(20),this.$emit("enter"),this.transitionEnded=!1,this.$emit("afterEnter"),this.classes=t["enter-to"]},async vueLeave(){if(!this.display)return;const t=Co(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=t.leave,await e.nextTick(),this.transitionEnded=!1,this.$emit("leave"),setTimeout(this.onTransitionEnd,this.duration),this.classes=t["leave-to"]},onTransitionEnd(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}},xo],watch:{show:{handler(e){e?this.vueEnter():this.vueLeave()},immediate:!0}}},[["render",function(t,o,i,n,a,r){return a.inited?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-transition",a.classes]),ref:"u-transition",onClick:o[0]||(o[0]=(...e)=>t.clickHandler&&t.clickHandler(...e)),style:e.normalizeStyle([r.mergeStyle]),onTouchmove:o[1]||(o[1]=(...e)=>t.noop&&t.noop(...e))},[e.renderSlot(t.$slots,"default",{},void 0,!0)],38)):e.createCommentVNode("",!0)}],["__scopeId","data-v-1a97dc57"]]),Ao={props:{type:{type:String,default:()=>S.tag.type},disabled:{type:[Boolean,String],default:()=>S.tag.disabled},size:{type:String,default:()=>S.tag.size},shape:{type:String,default:()=>S.tag.shape},text:{type:[String,Number],default:()=>S.tag.text},bgColor:{type:String,default:()=>S.tag.bgColor},color:{type:String,default:()=>S.tag.color},borderColor:{type:String,default:()=>S.tag.borderColor},closeColor:{type:String,default:()=>S.tag.closeColor},name:{type:[String,Number],default:()=>S.tag.name},plainFill:{type:Boolean,default:()=>S.tag.plainFill},plain:{type:Boolean,default:()=>S.tag.plain},closable:{type:Boolean,default:()=>S.tag.closable},show:{type:Boolean,default:()=>S.tag.show},icon:{type:String,default:()=>S.tag.icon},iconColor:{type:String,default:()=>S.tag.iconColor}}};const Eo=t({name:"u-tag",mixins:[x,oe,Ao],data:()=>({}),computed:{style(){const e={};return this.bgColor&&(e.backgroundColor=this.bgColor),this.color&&(e.color=this.color),this.borderColor&&(e.borderColor=this.borderColor),e},textColor(){const e={};return this.color&&(e.color=this.color),e},imgStyle(){const e="large"===this.size?"17px":"medium"===this.size?"15px":"13px";return{width:e,height:e}},closeSize(){return"large"===this.size?15:"medium"===this.size?13:12},iconSize(){return"large"===this.size?21:"medium"===this.size?19:16},elIconColor(){return this.iconColor?this.iconColor:this.plain?this.type:"#ffffff"}},emits:["click","close"],methods:{testImage:B.image,closeHandler(){this.$emit("close",this.name)},clickHandler(){this.$emit("click",this.name)}}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-icon"),ge),c=n(e.resolveDynamicComponent("u-transition"),To);return e.openBlock(),e.createBlock(c,{mode:"fade",show:t.show,style:{display:"inline-flex"}},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"u-tag-wrapper cursor-pointer"},[e.createElementVNode("view",{class:e.normalizeClass(["u-tag",[`u-tag--${t.shape}`,!t.plain&&`u-tag--${t.type}`,t.plain&&`u-tag--${t.type}--plain`,`u-tag--${t.size}`,t.plain&&t.plainFill&&`u-tag--${t.type}--plain--fill`]]),onClick:o[0]||(o[0]=e.withModifiers(((...e)=>s.clickHandler&&s.clickHandler(...e)),["stop"])),style:e.normalizeStyle([{marginRight:t.closable?"10px":0,marginTop:t.closable?"10px":0},s.style])},[e.renderSlot(t.$slots,"icon",{},(()=>[t.icon?(e.openBlock(),e.createElementBlock("view",{key:0,class:"u-tag__icon"},[s.testImage(t.icon)?(e.openBlock(),e.createElementBlock("image",{key:0,src:t.icon,style:e.normalizeStyle([s.imgStyle])},null,12,["src"])):(e.openBlock(),e.createBlock(l,{key:1,color:s.elIconColor,name:t.icon,size:s.iconSize},null,8,["color","name","size"]))])):e.createCommentVNode("",!0)]),!0),e.createElementVNode("text",{class:e.normalizeClass(["u-tag__text",[`u-tag__text--${t.type}`,t.plain&&`u-tag__text--${t.type}--plain`,`u-tag__text--${t.size}`]]),style:e.normalizeStyle([s.textColor])},e.toDisplayString(t.text),7)],6),t.closable?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-tag__close",[`u-tag__close--${t.size}`]]),onClick:o[1]||(o[1]=e.withModifiers(((...e)=>s.closeHandler&&s.closeHandler(...e)),["stop"])),style:e.normalizeStyle({backgroundColor:t.closeColor})},[e.createVNode(l,{name:"close",size:s.closeSize,color:"#ffffff"},null,8,["size"])],6)):e.createCommentVNode("",!0)])])),_:3},8,["show"])}],["__scopeId","data-v-6108dc0d"]]),No={props:{src:{type:String,default:()=>S.image.src},mode:{type:String,default:()=>S.image.mode},width:{type:[String,Number],default:()=>S.image.width},height:{type:[String,Number],default:()=>S.image.height},shape:{type:String,default:()=>S.image.shape},radius:{type:[String,Number],default:()=>S.image.radius},lazyLoad:{type:Boolean,default:()=>S.image.lazyLoad},showMenuByLongpress:{type:Boolean,default:()=>S.image.showMenuByLongpress},loadingIcon:{type:String,default:()=>S.image.loadingIcon},errorIcon:{type:String,default:()=>S.image.errorIcon},showLoading:{type:Boolean,default:()=>S.image.showLoading},showError:{type:Boolean,default:()=>S.image.showError},fade:{type:Boolean,default:()=>S.image.fade},webp:{type:Boolean,default:()=>S.image.webp},duration:{type:[String,Number],default:()=>S.image.duration},bgColor:{type:String,default:()=>S.image.bgColor}}};const Bo=t({name:"u-image",mixins:[x,oe,No],data(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{},show:!1}},watch:{src:{immediate:!0,handler(e){e?(this.isError=!1,this.loading=!0):this.isError=!0}}},computed:{wrapStyle(){let e={};return e.width=H(this.width),e.height=H(this.height),e.borderRadius="circle"==this.shape?"10000px":H(this.radius),e.overflow=this.radius>0?"hidden":"visible",W(e,j(this.customStyle))}},mounted(){this.show=!0},emits:["click","error","load"],methods:{addUnit:H,onClick(){this.$emit("click")},onErrorHandler(e){this.loading=!1,this.isError=!0,this.$emit("error",e)},onLoadHandler(e){this.loading=!1,this.isError=!1,this.$emit("load",e),this.removeBgColor()},removeBgColor(){this.backgroundStyle={backgroundColor:"transparent"}}}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-icon"),ge),c=n(e.resolveDynamicComponent("u-transition"),To);return e.openBlock(),e.createBlock(c,{mode:"fade",show:r.show,duration:t.fade?1e3:0},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"u-image",onClick:o[2]||(o[2]=(...e)=>s.onClick&&s.onClick(...e)),style:e.normalizeStyle([s.wrapStyle,r.backgroundStyle])},[r.isError?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:0,src:t.src,mode:t.mode,onError:o[0]||(o[0]=(...e)=>s.onErrorHandler&&s.onErrorHandler(...e)),onLoad:o[1]||(o[1]=(...e)=>s.onLoadHandler&&s.onLoadHandler(...e)),"show-menu-by-longpress":t.showMenuByLongpress,"lazy-load":t.lazyLoad,class:"u-image__image",style:e.normalizeStyle({borderRadius:"circle"==t.shape?"10000px":s.addUnit(t.radius),width:s.addUnit(t.width),height:s.addUnit(t.height)})},null,44,["src","mode","show-menu-by-longpress","lazy-load"])),t.showLoading&&r.loading?(e.openBlock(),e.createElementBlock("view",{key:1,class:"u-image__loading",style:e.normalizeStyle({borderRadius:"circle"==t.shape?"50%":s.addUnit(t.radius),backgroundColor:this.bgColor,width:s.addUnit(t.width),height:s.addUnit(t.height)})},[e.renderSlot(t.$slots,"loading",{},(()=>[e.createVNode(l,{name:t.loadingIcon,width:t.width,height:t.height},null,8,["name","width","height"])]),!0)],4)):e.createCommentVNode("",!0),t.showError&&r.isError&&!r.loading?(e.openBlock(),e.createElementBlock("view",{key:2,class:"u-image__error",style:e.normalizeStyle({borderRadius:"circle"==t.shape?"50%":s.addUnit(t.radius),width:s.addUnit(t.width),height:s.addUnit(t.height)})},[e.renderSlot(t.$slots,"error",{},(()=>[e.createVNode(l,{name:t.errorIcon,width:t.width,height:t.height},null,8,["name","width","height"])]),!0)],4)):e.createCommentVNode("",!0)],4)])),_:3},8,["show","duration"])}],["__scopeId","data-v-ff1f9d02"]]),Vo={__name:"mine",setup(t){const{nav:a,navTo:l}=Pt();let c=e.ref({}),d=e.ref(!0);s((()=>{uni.hideTabBar()}));const u=e.reactive([{img:"/static/icon/dd.png",name:"订单",path:"/pages/order/order",login:!0},{img:"/static/icon/zb.png",name:"邀请记录",path:"/pages/shareList/shareList",login:!0},{img:"/static/icon/dz.png",name:"充电桩",path:"/pages/piles/piles",login:!0},{img:"/static/icon/kf.png",name:"联系客服",login:!1,openType:"contact"}]);r((()=>{uni.hideTabBar(),uni.getStorageSync("token")||""?(h(),d.value=!0):(c.value={},d.value=!1)}));let h=async()=>{try{let e=await ro();c.value=e}catch(e){i("log","at pages/mine/mine.vue:159",123456),c.value={},d.value=!1}},p=e=>{uni.setClipboardData({data:e,success:function(){}})};return(t,i)=>{var a,r,s,h;const m=n(e.resolveDynamicComponent("statusBar"),o),g=n(e.resolveDynamicComponent("up-tag"),Eo),f=n(e.resolveDynamicComponent("up-grid-item"),fe),y=n(e.resolveDynamicComponent("up-grid"),we),w=n(e.resolveDynamicComponent("up-icon"),ge),v=n(e.resolveDynamicComponent("up-image"),Bo),b=n(e.resolveDynamicComponent("tabbar"),Rt);return e.openBlock(),e.createElementBlock("view",{class:"mine p30",style:{"padding-bottom":"150rpx"}},[e.createVNode(m),e.createElementVNode("view",{class:"mine_header",onClick:i[0]||(i[0]=t=>e.unref(l)("/pages/mine/setting",!0))},[e.createElementVNode("image",{class:"mine_header_img",src:e.unref(c).avatar||"/static/icon/avatar.png"},null,8,["src"]),e.unref(d)?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mine_header_text"},[e.createElementVNode("view",{class:"mine_header_text_nick"},[e.unref(c).nickName?(e.openBlock(),e.createElementBlock("view",{key:0,style:{"margin-right":"15rpx"}},e.toDisplayString(e.unref(c).nickName||""),1)):e.createCommentVNode("",!0),1==e.unref(c).level?(e.openBlock(),e.createBlock(g,{key:1,text:"运营中心",plain:"",size:"mini",borderColor:"#fa7d02",color:"#fa7d02"})):e.createCommentVNode("",!0),2==e.unref(c).level?(e.openBlock(),e.createBlock(g,{key:2,text:"合伙人",plain:"",size:"mini",borderColor:"#fa7d02",color:"#fa7d02"})):e.createCommentVNode("",!0),3==e.unref(c).level?(e.openBlock(),e.createBlock(g,{key:3,text:"省分公司",plain:"",size:"mini",borderColor:"#fa7d02",color:"#fa7d02"})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"mine_header_text_acc"},e.toDisplayString(e.unref(c).userName||""),1)])):(e.openBlock(),e.createElementBlock("view",{key:1,class:"mine_header_text"},[e.createElementVNode("view",{class:"mine_header_text_nick"},"点击登录")])),e.unref(d)?(e.openBlock(),e.createElementBlock("image",{key:2,class:"mine_header_sz",src:"/static/icon/sz.png"})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"mt30"},[e.createVNode(y,{border:!1,col:"3"},{default:e.withCtx((()=>[e.createVNode(f,{onClick:i[1]||(i[1]=t=>e.unref(l)("/pages/mine/balanceIncome",!0))},{default:e.withCtx((()=>[e.createElementVNode("view",{style:{height:"15rpx"}}),e.createElementVNode("view",{style:{"font-weight":"bold"}},e.toDisplayString(e.unref(c).points2||"0.00"),1),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"钱包"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1}),e.createVNode(f,{onClick:i[2]||(i[2]=t=>e.unref(l)("/pages/mine/balanceIncome",!0))},{default:e.withCtx((()=>[e.createElementVNode("view",{style:{height:"15rpx"}}),e.createElementVNode("view",{style:{"font-weight":"bold"}},e.toDisplayString(e.unref(c).points1||"0.00"),1),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"收益"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1}),e.createVNode(f,{onClick:i[3]||(i[3]=t=>e.unref(l)("/pages/piles/piles",!0))},{default:e.withCtx((()=>[e.createElementVNode("view",{style:{height:"15rpx"}}),e.createElementVNode("view",{style:{"font-weight":"bold"}},e.toDisplayString(e.unref(c).deviceNum||0),1),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"充电桩"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1})])),_:1})]),(null==(r=null==(a=e.unref(c))?void 0:a.formUsersInfo)?void 0:r.userName)?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mt30",style:{width:"100%","background-color":"#fff",padding:"25rpx","font-size":"30rpx"}},"邀请人:"+e.toDisplayString(null==(h=null==(s=e.unref(c))?void 0:s.formUsersInfo)?void 0:h.userName),1)):e.createCommentVNode("",!0),e.createElementVNode("view",{style:{height:"25rpx"}}),e.createElementVNode("view",{style:{"background-color":"#fff"}},[e.createVNode(y,{border:!1,col:"4"},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u,((t,o)=>(e.openBlock(),e.createBlock(f,{bgColor:"#fff",key:o,onClick:o=>e.unref(l)(t.path,t.login,t.call)},{default:e.withCtx((()=>[e.createElementVNode("button",{"open-type":t.openType,style:{all:"unset",width:"100%",display:"flex","align-items":"center","justify-content":"center","flex-direction":"column"}},[e.createElementVNode("view",{style:{height:"35rpx"}}),e.createVNode(w,{imgMode:"widthFix",name:t.img,size:27},null,8,["name"]),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},e.toDisplayString(t.name),1),e.createElementVNode("view",{style:{height:"20rpx"}})],8,["open-type"])])),_:2},1032,["onClick"])))),128))])),_:1})]),e.createElementVNode("view",{style:{height:"50rpx"}}),e.unref(c).qrCode?(e.openBlock(),e.createElementBlock("view",{key:1,style:{"background-color":"#f6faff",padding:"30rpx","border-radius":"10rpx"}},[e.createElementVNode("view",{style:{"font-size":"30rpx",color:"#999999","text-align":"center","margin-bottom":"20rpx"}},[e.createTextVNode(" 邀请码:"+e.toDisplayString(e.unref(c).shareCode)+" ",1),e.createElementVNode("text",{style:{"text-decoration":"underline","margin-left":"30rpx"},onClick:i[4]||(i[4]=t=>e.unref(p)(e.unref(c).shareCode))},"复制")]),e.createElementVNode("view",{class:"u-flex u-flex-xy-center"},[e.createVNode(v,{src:e.unref(c).qrCode,radius:"20rpx",width:"440rpx",height:"440rpx",mode:"widthFix"},null,8,["src"])]),e.createElementVNode("view",{style:{height:"10rpx"}}),e.createElementVNode("view",{style:{"font-size":"30rpx",color:"#999999","text-align":"center"}},"长按保存或者转发")])):e.createCommentVNode("",!0),e.createElementVNode("view",{style:{height:"50rpx"}}),e.createVNode(b,{path:"/pages/mine/mine"})])}}},_o=t(Vo,[["__scopeId","data-v-600147bd"]]),Io={props:{list:{type:Array,default:()=>S.subsection.list},current:{type:[String,Number],default:()=>S.subsection.current},activeColor:{type:String,default:()=>S.subsection.activeColor},inactiveColor:{type:String,default:()=>S.subsection.inactiveColor},mode:{type:String,default:()=>S.subsection.mode},fontSize:{type:[String,Number],default:()=>S.subsection.fontSize},bold:{type:Boolean,default:()=>S.subsection.bold},bgColor:{type:String,default:()=>S.subsection.bgColor},keyName:{type:String,default:()=>S.subsection.keyName}}};const Do=t({name:"u-subsection",mixins:[x,oe,Io],data:()=>({itemRect:{width:0,height:0},innerCurrent:"",windowResizeCallback:{}}),watch:{list(e,t){this.init()},current:{immediate:!0,handler(e){e!==this.innerCurrent&&(this.innerCurrent=e)}}},computed:{wrapperStyle(){const e={};return"button"===this.mode&&(e.backgroundColor=this.bgColor),e},barStyle(){const e={};return e.width=`${this.itemRect.width}px`,e.height=`${this.itemRect.height}px`,e.transform=`translateX(${this.innerCurrent*this.itemRect.width}px)`,"subsection"===this.mode&&(e.backgroundColor=this.activeColor),e},itemStyle(e){return e=>{const t={};return"subsection"===this.mode&&(t.borderColor=this.activeColor,t.borderWidth="1px",t.borderStyle="solid"),t}},textStyle(e){return e=>{const t={};return t.fontWeight=this.bold&&this.innerCurrent===e?"bold":"normal",t.fontSize=H(this.fontSize),"subsection"===this.mode?t.color=this.innerCurrent===e?"#fff":this.inactiveColor:t.color=this.innerCurrent===e?this.activeColor:this.inactiveColor,t}}},mounted(){this.init(),this.windowResizeCallback=e=>{this.init()},uni.onWindowResize(this.windowResizeCallback)},beforeUnmount(){uni.offWindowResize(this.windowResizeCallback)},emits:["change"],methods:{addStyle:j,init(){this.innerCurrent=this.current,L().then((()=>this.getRect()))},getText(e){return"object"==typeof e?e[this.keyName]:e},getRect(){this.$uGetRect(".u-subsection__item--0").then((e=>{this.itemRect=e}))},clickHandler(e){this.innerCurrent=e,this.$emit("change",e)}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-subsection",[`u-subsection--${t.mode}`]]),ref:"u-subsection",style:e.normalizeStyle([r.addStyle(t.customStyle),r.wrapperStyle])},[e.createElementVNode("view",{class:e.normalizeClass(["u-subsection__bar cursor-pointer",["button"===t.mode&&"u-subsection--button__bar",0===a.innerCurrent&&"subsection"===t.mode&&"u-subsection__bar--first",a.innerCurrent>0&&a.innerCurrent<t.list.length-1&&"subsection"===t.mode&&"u-subsection__bar--center",a.innerCurrent===t.list.length-1&&"subsection"===t.mode&&"u-subsection__bar--last"]]),ref:"u-subsection__bar",style:e.normalizeStyle([r.barStyle])},null,6),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,((o,i)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-subsection__item cursor-pointer",[`u-subsection__item--${i}`,i<t.list.length-1&&"u-subsection__item--no-border-right",0===i&&"u-subsection__item--first",i===t.list.length-1&&"u-subsection__item--last"]]),ref_for:!0,ref:`u-subsection__item--${i}`,style:e.normalizeStyle([r.itemStyle(i)]),onClick:e=>r.clickHandler(i),key:i},[e.createElementVNode("text",{class:"u-subsection__item__text",style:e.normalizeStyle([r.textStyle(i)])},e.toDisplayString(r.getText(o)),5)],14,["onClick"])))),128))],6)}],["__scopeId","data-v-0c148b0f"]]),zo={__name:"piles",setup(t){const o=e.ref(null);let i=e.ref([]),a=e.reactive({deviceStatus:1}),r=e.ref({});s((async()=>{var e;r.value=await no("/api/v0/user/getDeviceCount",e,"GET")}));let u=()=>!o.value;d((()=>{u()||o.value.reload().catch((()=>{}))})),l((e=>{u()||(o.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&o.value.doChatRecordLoadMore())})),c((()=>{u()||o.value.pageReachBottom()}));const h=(e,t)=>{((e,t={})=>no("/api/v0/user/getDeviceInfo",e))({current:e,pageSize:t,...a}).then((e=>{o.value.complete(e.records)})).catch((e=>{o.value.complete(!1)}))},p=e.ref([{name:"已安装",id:1},{name:"待安装",id:0}]),m=e.ref(0),g=e=>{m.value=e,a.deviceStatus=p.value[e].id,o.value.reload()};return(t,a)=>{const s=n(e.resolveDynamicComponent("up-subsection"),Do),l=n(e.resolveDynamicComponent("z-paging"),Dt);return e.openBlock(),e.createElementBlock("view",{class:"p30 piles"},[e.createVNode(l,{ref_key:"paging",ref:o,modelValue:e.unref(i),"onUpdate:modelValue":a[0]||(a[0]=t=>e.isRef(i)?i.value=t:i=t),"use-page-scroll":"",onQuery:h},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"piles_card"},[e.createElementVNode("view",{class:"piles_card_title"},"充电桩汇总"),e.createElementVNode("view",{class:"piles_card_view"},[e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(e.unref(r).installCount||0),1),e.createElementVNode("text",null,"已安装")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(e.unref(r).installNotCount||0),1),e.createElementVNode("text",null,"未安装数量")])])]),e.createVNode(s,{list:p.value,keyName:"name",current:m.value,onChange:g},null,8,["list","current"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i),(t=>(e.openBlock(),e.createElementBlock("view",{class:"order_view",key:t},[0==m.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"piles_list"},[e.createElementVNode("view",{class:"piles_list_title"},"安装电站:"+e.toDisplayString(t.stationName||"-"),1),e.createElementVNode("view",{class:"piles_list_view"},[e.createElementVNode("view",null,"设备ID"),e.createElementVNode("view",null,e.toDisplayString(t.id),1)]),e.createElementVNode("view",{class:"piles_list_view"},[e.createElementVNode("view",null,"设备功率:"),e.createElementVNode("view",null,e.toDisplayString(t.deviceType)+"W",1)]),e.createElementVNode("view",{class:"piles_list_view"},"地址:"+e.toDisplayString(t.stationAddress||"-"),1),e.createElementVNode("view",{class:"piles_list_view"},[e.createElementVNode("view",null,"下单时间:"),e.createElementVNode("view",null,e.toDisplayString(e.unref(Z)(new Date(t.createTime).getTime(),"yyyy-mm-dd hh:MM")),1)])])):e.createCommentVNode("",!0),1==m.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"piles_list"},[e.createElementVNode("view",{class:"piles_list_view"},[e.createElementVNode("view",null,"设备ID"),e.createElementVNode("view",null,e.toDisplayString(t.id),1)]),e.createElementVNode("view",{class:"piles_list_view"},[e.createElementVNode("view",null,"设备功率:"),e.createElementVNode("view",null,e.toDisplayString(t.deviceType)+"W",1)]),e.createElementVNode("view",{class:"piles_list_view"},[e.createElementVNode("view",null,"下单时间:"),e.createElementVNode("view",null,e.toDisplayString(e.unref(Z)(new Date(t.createTime).getTime(),"yyyy-mm-dd hh:MM")),1)])])):e.createCommentVNode("",!0)])))),128))])),_:1},8,["modelValue"])])}}},Ro=t(zo,[["__scopeId","data-v-e69f232f"]]);const Po=t({name:"UniSection",emits:["click"],props:{type:{type:String,default:""},title:{type:String,required:!0,default:""},titleFontSize:{type:String,default:"14px"},titleColor:{type:String,default:"#333"},subTitle:{type:String,default:""},subTitleFontSize:{type:String,default:"12px"},subTitleColor:{type:String,default:"#999"},padding:{type:[Boolean,String],default:!1}},computed:{_padding(){return"string"==typeof this.padding?this.padding:this.padding?"10px":""}},watch:{title(e){uni.report&&""!==e&&uni.report("title",e)}},methods:{onClick(){this.$emit("click")}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:"uni-section"},[e.createElementVNode("view",{class:"uni-section-header",onClick:o[0]||(o[0]=(...e)=>r.onClick&&r.onClick(...e))},[i.type?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["uni-section-header__decoration",i.type])},null,2)):e.renderSlot(t.$slots,"decoration",{key:1},void 0,!0),e.createElementVNode("view",{class:"uni-section-header__content"},[e.createElementVNode("text",{style:e.normalizeStyle({"font-size":i.titleFontSize,color:i.titleColor}),class:e.normalizeClass(["uni-section__content-title",{distraction:!i.subTitle}])},e.toDisplayString(i.title),7),i.subTitle?(e.openBlock(),e.createElementBlock("text",{key:0,style:e.normalizeStyle({"font-size":i.subTitleFontSize,color:i.subTitleColor}),class:"uni-section-header__content-sub"},e.toDisplayString(i.subTitle),5)):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"uni-section-header__slot-right"},[e.renderSlot(t.$slots,"right",{},void 0,!0)])]),e.createElementVNode("view",{class:"uni-section-content",style:e.normalizeStyle({padding:r._padding})},[e.renderSlot(t.$slots,"default",{},void 0,!0)],4)])}],["__scopeId","data-v-eb643d5c"]]),Mo=[{name:"充值",id:1100},{name:"后台充值",id:1200},{name:"购买商品",id:2100},{name:"商品推广",id:2110},{name:"商品培育津贴",id:2120},{name:"商品服务津贴",id:2130},{name:"购买商品-退单",id:2200},{name:"商品推广-退单",id:2210},{name:"商品培育津贴-退单",id:2220},{name:"商品服务津贴-退单",id:2230},{name:"充电桩收益",id:3100},{name:"充电桩推广",id:3110},{name:"充电桩培育津贴",id:3120},{name:"充电桩服务津贴",id:3130},{name:"充电桩收益-退单",id:3200},{name:"充电桩推广-退单",id:3210},{name:"充电桩培育津贴-退单",id:3220},{name:"充电桩服务津贴-退单",id:3230},{name:"提现",id:4100},{name:"提现失败",id:4200}],Lo={__name:"wallet",setup(t){const{nav:o,navTo:a}=Pt();let s=e.ref({});const u=e.ref(null);let h=e.ref([]),p=e.ref(1),m=()=>!u.value;r((async()=>{let e=await ro();s.value=e,1!=p.value&&u.value.reload(),p.value++})),d((()=>{m()||u.value.reload().catch((()=>{}))})),l((e=>{m()||(u.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&u.value.doChatRecordLoadMore())})),c((()=>{m()||u.value.pageReachBottom()}));const g=(e,t)=>{i("log","at pages/wallet/wallet.vue:76",Mo);((e,t={})=>no("/api/v0/user/getUsersPoint2Info",e))({current:e,pageSize:t}).then((e=>{u.value.complete(e.records)})).catch((e=>{u.value.complete(!1)}))};return(t,o)=>{const i=n(e.resolveDynamicComponent("uni-section"),Po),r=n(e.resolveDynamicComponent("z-paging"),Dt);return e.openBlock(),e.createElementBlock("view",{class:"wallet p30"},[e.createVNode(r,{ref_key:"paging",ref:u,modelValue:e.unref(h),"onUpdate:modelValue":o[2]||(o[2]=t=>e.isRef(h)?h.value=t:h=t),"use-page-scroll":"",onQuery:g},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"wallet_pall"},[e.createElementVNode("view",{class:"wallet_pall_header"}," 当前余额(元) "),e.createElementVNode("view",{class:"wallet_pall_ye"},[e.createElementVNode("view",null,e.toDisplayString(e.unref(s).points2||"0.00"),1)])]),e.createElementVNode("view",{style:{padding:"15rpx 30rpx",display:"flex","align-items":"center",background:"#3864d6","border-radius":"0 0 16rpx 16rpx"}},[e.createElementVNode("view",{onClick:o[0]||(o[0]=t=>e.unref(a)("/pages/mine/topUp",!0)),style:{width:"330rpx","text-align":"center",color:"#fff"}},"充值"),e.createElementVNode("view",{onClick:o[1]||(o[1]=t=>e.unref(a)("/pages/mine/transferBalance",!0)),style:{width:"330rpx","text-align":"center",color:"#fff"}},"收益转入")]),e.createElementVNode("view",{class:"mt30"},[e.createVNode(i,{title:"明细",type:"line",titleFontSize:"32rpx"})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),((t,o)=>(e.openBlock(),e.createElementBlock("view",{class:"mt30 wallet_list",key:o},[e.createElementVNode("view",{class:"wallet_list_left"},[e.createElementVNode("view",null,e.toDisplayString(e.unref(Mo).find((e=>e.id==t.type)).name),1),e.createElementVNode("view",null,e.toDisplayString(e.unref(Z)(new Date(t.createTime).getTime(),"yyyy-mm-dd hh:MM")),1)]),e.createElementVNode("view",{class:"wallet_list_right"},e.toDisplayString(t.points)+"元",1)])))),128))])),_:1},8,["modelValue"])])}}},Fo=t(Lo,[["__scopeId","data-v-f8476882"]]),Oo={props:{modelValue:{type:[String,Number],default:()=>S.input.value},type:{type:String,default:()=>S.input.type},fixed:{type:Boolean,default:()=>S.input.fixed},disabled:{type:Boolean,default:()=>S.input.disabled},disabledColor:{type:String,default:()=>S.input.disabledColor},clearable:{type:Boolean,default:()=>S.input.clearable},password:{type:Boolean,default:()=>S.input.password},maxlength:{type:[String,Number],default:()=>S.input.maxlength},placeholder:{type:String,default:()=>S.input.placeholder},placeholderClass:{type:String,default:()=>S.input.placeholderClass},placeholderStyle:{type:[String,Object],default:()=>S.input.placeholderStyle},showWordLimit:{type:Boolean,default:()=>S.input.showWordLimit},confirmType:{type:String,default:()=>S.input.confirmType},confirmHold:{type:Boolean,default:()=>S.input.confirmHold},holdKeyboard:{type:Boolean,default:()=>S.input.holdKeyboard},focus:{type:Boolean,default:()=>S.input.focus},autoBlur:{type:Boolean,default:()=>S.input.autoBlur},disableDefaultPadding:{type:Boolean,default:()=>S.input.disableDefaultPadding},cursor:{type:[String,Number],default:()=>S.input.cursor},cursorSpacing:{type:[String,Number],default:()=>S.input.cursorSpacing},selectionStart:{type:[String,Number],default:()=>S.input.selectionStart},selectionEnd:{type:[String,Number],default:()=>S.input.selectionEnd},adjustPosition:{type:Boolean,default:()=>S.input.adjustPosition},inputAlign:{type:String,default:()=>S.input.inputAlign},fontSize:{type:[String,Number],default:()=>S.input.fontSize},color:{type:String,default:()=>S.input.color},prefixIcon:{type:String,default:()=>S.input.prefixIcon},prefixIconStyle:{type:[String,Object],default:()=>S.input.prefixIconStyle},suffixIcon:{type:String,default:()=>S.input.suffixIcon},suffixIconStyle:{type:[String,Object],default:()=>S.input.suffixIconStyle},border:{type:String,default:()=>S.input.border},readonly:{type:Boolean,default:()=>S.input.readonly},shape:{type:String,default:()=>S.input.shape},formatter:{type:[Function,null],default:()=>S.input.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}},Uo={name:"u-input",mixins:[x,oe,Oo],data:()=>({clearInput:!1,innerValue:"",focused:!1,firstChange:!0,changeFromInner:!1,innerFormatter:e=>e}),watch:{modelValue:{immediate:!0,handler(e,t){this.innerValue=e,this.firstChange=!1,this.changeFromInner=!1}}},computed:{isShowClear(){const{clearable:e,readonly:t,focused:o,innerValue:i}=this;return!!e&&!t&&!!o&&""!==i},inputClass(){let e=[],{border:t,disabled:o,shape:i}=this;return"surround"===t&&(e=e.concat(["u-border","u-input--radius"])),e.push(`u-input--${i}`),"bottom"===t&&(e=e.concat(["u-border-bottom","u-input--no-radius"])),e.join(" ")},wrapperStyle(){const e={};return this.disabled&&(e.backgroundColor=this.disabledColor),"none"===this.border?e.padding="0":(e.paddingTop="6px",e.paddingBottom="6px",e.paddingLeft="9px",e.paddingRight="9px"),W(e,j(this.customStyle))},inputStyle(){return{color:this.color,fontSize:H(this.fontSize),textAlign:this.inputAlign}}},emits:["update:modelValue","focus","blur","change","confirm","clear","keyboardheightchange"],methods:{setFormatter(e){this.innerFormatter=e},onInput(e){let{value:t=""}=e.detail||{};const o=(this.formatter||this.innerFormatter)(t);this.innerValue=t,this.$nextTick((()=>{this.innerValue=o,this.valueChange()}))},onBlur(e){this.$emit("blur",e.detail.value),L(150).then((()=>{this.focused=!1})),X(this,"blur")},onFocus(e){this.focused=!0,this.$emit("focus")},onConfirm(e){this.$emit("confirm",this.innerValue)},onkeyboardheightchange(e){this.$emit("keyboardheightchange",e)},valueChange(){this.clearInput&&(this.innerValue="",this.clearInput=!1);const e=this.innerValue;this.$nextTick((()=>{this.$emit("update:modelValue",e),this.changeFromInner=!0,this.$emit("change",e),X(this,"change")}))},onClear(){this.clearInput=!0,this.innerValue="",this.$nextTick((()=>{this.valueChange(),this.$emit("clear")}))},clickHandler(){}}};const jo=t(Uo,[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-icon"),ge);return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-input",s.inputClass]),style:e.normalizeStyle([s.wrapperStyle])},[e.createElementVNode("view",{class:"u-input__content"},[t.prefixIcon||t.$slots.prefix?(e.openBlock(),e.createElementBlock("view",{key:0,class:"u-input__content__prefix-icon"},[e.renderSlot(t.$slots,"prefix",{},(()=>[e.createVNode(l,{name:t.prefixIcon,size:"18",customStyle:t.prefixIconStyle},null,8,["name","customStyle"])]),!0)])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"u-input__content__field-wrapper",onClick:o[5]||(o[5]=(...e)=>s.clickHandler&&s.clickHandler(...e))},[e.createElementVNode("input",{class:"u-input__content__field-wrapper__field",style:e.normalizeStyle([s.inputStyle]),type:t.type,focus:t.focus,cursor:t.cursor,value:r.innerValue,"auto-blur":t.autoBlur,disabled:t.disabled||t.readonly,maxlength:t.maxlength,placeholder:t.placeholder,"placeholder-style":t.placeholderStyle,"placeholder-class":t.placeholderClass,"confirm-type":t.confirmType,"confirm-hold":t.confirmHold,"hold-keyboard":t.holdKeyboard,"cursor-spacing":t.cursorSpacing,"adjust-position":t.adjustPosition,"selection-end":t.selectionEnd,"selection-start":t.selectionStart,password:t.password||"password"===t.type||!1,ignoreCompositionEvent:t.ignoreCompositionEvent,onInput:o[0]||(o[0]=(...e)=>s.onInput&&s.onInput(...e)),onBlur:o[1]||(o[1]=(...e)=>s.onBlur&&s.onBlur(...e)),onFocus:o[2]||(o[2]=(...e)=>s.onFocus&&s.onFocus(...e)),onConfirm:o[3]||(o[3]=(...e)=>s.onConfirm&&s.onConfirm(...e)),onKeyboardheightchange:o[4]||(o[4]=(...e)=>s.onkeyboardheightchange&&s.onkeyboardheightchange(...e))},null,44,["type","focus","cursor","value","auto-blur","disabled","maxlength","placeholder","placeholder-style","placeholder-class","confirm-type","confirm-hold","hold-keyboard","cursor-spacing","adjust-position","selection-end","selection-start","password","ignoreCompositionEvent"])]),s.isShowClear?(e.openBlock(),e.createElementBlock("view",{key:1,class:"u-input__content__clear",onClick:o[6]||(o[6]=(...e)=>s.onClear&&s.onClear(...e))},[e.createVNode(l,{name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"})])):e.createCommentVNode("",!0),t.suffixIcon||t.$slots.suffix?(e.openBlock(),e.createElementBlock("view",{key:2,class:"u-input__content__subfix-icon"},[e.renderSlot(t.$slots,"suffix",{},(()=>[e.createVNode(l,{name:t.suffixIcon,size:"18",customStyle:t.suffixIconStyle,imgMode:"widthFix"},null,8,["name","customStyle"])]),!0)])):e.createCommentVNode("",!0)])],6)}],["__scopeId","data-v-bd44b066"]]),Ho="/static/logoB.png",Qo="/static/logo.png",Wo=t({__name:"login",setup(t){const i=uni.getSystemInfoSync().statusBarHeight+"px";let a=e.ref(""),r=e.reactive({userName:"",passwd:"",uuid:"",captcha:""});s((async()=>{c()}));let l=()=>{uni.navigateBack()},c=async()=>{let{captcha:e,uuid:t}=await no("/api/auth/captcha",o,"GET");var o;r.uuid=t,a.value="data:image/png;base64,"+e},d=()=>{uni.navigateTo({url:"/pages/login/register"})},u=()=>{uni.navigateTo({url:"/pages/login/getBack"})},h=async()=>{try{const{code:t}=await uni.login();let o=await(e=r,no("/api/auth/login",e));uni.setStorageSync("token",o.token),uni.setStorageSync("user",o),uni.showToast({title:"登录成功",icon:"none"}),setTimeout((()=>{uni.navigateBack()}),200)}catch(t){c()}var e};return(t,s)=>{const p=n(e.resolveDynamicComponent("up-icon"),ge),m=n(e.resolveDynamicComponent("statusBar"),o),g=n(e.resolveDynamicComponent("up-input"),jo);return e.openBlock(),e.createElementBlock("view",{class:"login"},[e.createElementVNode("view",{class:"orderdetail_header p30"},[e.createElementVNode("view",{style:e.normalizeStyle({height:i})},null,4),e.createElementVNode("view",{style:{height:"44px",display:"flex","align-items":"center"}},[e.createVNode(p,{name:"arrow-left",bold:"",color:"#000",onClick:e.unref(l)},null,8,["onClick"])])]),e.createElementVNode("image",{class:"login_bei",src:Ho}),e.createVNode(m),e.createElementVNode("view",{class:"login_logo"},[e.createElementVNode("image",{class:"login_logo_img",src:Qo}),e.createElementVNode("view",{class:"login_logo_tit"},"欢迎来到星动能源")]),e.createElementVNode("view",{style:{"margin-top":"150rpx"}},[e.createElementVNode("view",{style:{"margin-bottom":"50rpx"}},[e.createVNode(g,{fontSize:"30rpx",modelValue:e.unref(r).userName,"onUpdate:modelValue":s[0]||(s[0]=t=>e.unref(r).userName=t),placeholder:"请输入您的用户名",border:"bottom",clearable:""},null,8,["modelValue"])]),e.createElementVNode("view",{style:{"margin-bottom":"50rpx"}},[e.createVNode(g,{fontSize:"30rpx",modelValue:e.unref(r).passwd,"onUpdate:modelValue":s[1]||(s[1]=t=>e.unref(r).passwd=t),type:"password",placeholder:"请输入您的密码",border:"bottom",clearable:""},null,8,["modelValue"])]),e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createVNode(g,{fontSize:"30rpx",modelValue:e.unref(r).captcha,"onUpdate:modelValue":s[2]||(s[2]=t=>e.unref(r).captcha=t),placeholder:"请输入验证码",border:"bottom",clearable:""},null,8,["modelValue"]),e.createElementVNode("image",{onClick:s[3]||(s[3]=(...t)=>e.unref(c)&&e.unref(c)(...t)),src:e.unref(a),style:{width:"154rpx",height:"66rpx"}},null,8,["src"])])]),e.createElementVNode("view",{style:{"font-size":"28rpx",color:"#666","margin-top":"20rpx",display:"flex","align-items":"center","justify-content":"space-between"}},[e.createElementVNode("view",null,[e.createTextVNode(" 还没有账号? "),e.createElementVNode("text",{style:{color:"#4874e5"},onClick:s[4]||(s[4]=(...t)=>e.unref(d)&&e.unref(d)(...t))},"立即注册")]),e.createElementVNode("view",null,[e.createElementVNode("text",{style:{color:"#4874e5"},onClick:s[5]||(s[5]=(...t)=>e.unref(u)&&e.unref(u)(...t))},"忘记密码")])]),e.createElementVNode("view",{style:{display:"flex","justify-content":"center","margin-top":"80rpx"}},[e.createElementVNode("view",{class:"login_btn",onClick:s[6]||(s[6]=(...t)=>e.unref(h)&&e.unref(h)(...t))},"登录")])])}}},[["__scopeId","data-v-3bafc245"]]),Go={__name:"shop",setup(t){let o=e.ref({});const{nav:i,navTo:a}=Pt(),r=e.ref(!1);return uni.getSystemInfoSync().statusBarHeight,e.ref(["/static/图层 979.png"]),s((async e=>{let t=await so({id:e.id});o.value=t})),l((e=>{e.scrollTop>uni.getSystemInfoSync().statusBarHeight+44?r.value=!0:r.value=!1})),(t,i)=>{const r=n(e.resolveDynamicComponent("up-swiper"),ue);return e.openBlock(),e.createElementBlock("view",{class:"shop"},[e.createVNode(r,{list:JSON.parse(e.unref(o).picture),height:"759rpx"},null,8,["list"]),e.createElementVNode("view",{class:"p30"},[e.createElementVNode("view",{class:"shop_info"},[e.createElementVNode("view",{class:"shop_info_mon"},"¥ "+e.toDisplayString(e.unref(o).salePrice),1),e.createElementVNode("view",{class:"shop_info_tit"},e.toDisplayString(e.unref(o).goodsName),1),e.createElementVNode("view",{class:"shop_info_note"},[e.createTextVNode(" 库存:"+e.toDisplayString(e.unref(o).stock)+" ",1),e.createElementVNode("view",{style:{width:"50rpx"}}),e.createTextVNode(" 销量:"+e.toDisplayString(e.unref(o).sales),1)])])]),e.createElementVNode("view",{style:{margin:"30rpx 0","font-size":"30rpx",color:"#333","text-align":"center"}},"详情介绍"),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(JSON.parse(e.unref(o).details),((t,o)=>(e.openBlock(),e.createElementBlock("image",{style:{width:"100%"},mode:"widthFix",src:t,key:o},null,8,["src"])))),128)),e.createElementVNode("view",{style:{height:"150rpx"}}),e.createElementVNode("view",{class:"shop_btn"},[e.createElementVNode("view",{class:"shop_btn_btn",onClick:i[0]||(i[0]=t=>e.unref(a)(`/pages/shop/affirm?id=${e.unref(o).id}`,!0))},"立即下单")])])}}},Zo=t(Go,[["__scopeId","data-v-0a6e8acf"]]),Yo="/static/icon/mx.png",qo="/static/icon/txs.png",Jo="/static/icon/yhk.png",Ko={__name:"earnings",setup(t){const{nav:o,navTo:i}=Pt();let a=e.ref({});const s=e.ref(null);let u=e.ref([]),h=e.ref(1);r((async()=>{let e=await ro();a.value=e,1!=h.value&&s.value.reload(),h.value++}));let p=()=>!s.value;d((()=>{p()||s.value.reload().catch((()=>{}))})),l((e=>{p()||(s.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&s.value.doChatRecordLoadMore())})),c((()=>{p()||s.value.pageReachBottom()}));const m=(e,t)=>{let{id:o}=uni.getStorageSync("user");((e,t={})=>no("/api/v0/user/getUsersPoint1Info",e))({current:e,pageSize:t,userId:o}).then((e=>{s.value.complete(e.records)})).catch((e=>{s.value.complete(!1)}))};return(t,o)=>{const r=n(e.resolveDynamicComponent("up-grid-item"),fe),l=n(e.resolveDynamicComponent("up-grid"),we),c=n(e.resolveDynamicComponent("uni-section"),Po),d=n(e.resolveDynamicComponent("z-paging"),Dt);return e.openBlock(),e.createElementBlock("view",{class:"earnings p30"},[e.createVNode(d,{ref_key:"paging",ref:s,modelValue:e.unref(u),"onUpdate:modelValue":o[5]||(o[5]=t=>e.isRef(u)?u.value=t:u=t),"use-page-scroll":"",onQuery:m},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"wallet_pall"},[e.createElementVNode("view",{class:"wallet_pall_header"},"当前收益(元)"),e.createElementVNode("view",{class:"wallet_pall_ye"},[e.createElementVNode("view",null,e.toDisplayString(e.unref(a).points1||"0.00"),1),e.createElementVNode("view",{onClick:o[0]||(o[0]=t=>e.unref(i)("/pages/mine/transferBalance",!0))},"转入余额")])]),e.createElementVNode("view",{class:"mt30"},[e.createVNode(l,{border:!1,col:"4"},{default:e.withCtx((()=>[e.createVNode(r,{onClick:o[1]||(o[1]=t=>e.unref(i)("/pages/wallet/incomeList",!0))},{default:e.withCtx((()=>[e.createElementVNode("image",{src:Yo,style:{width:"56rpx",height:"56rpx"},mode:"widthFix"}),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"收支明细"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1}),e.createVNode(r,{onClick:o[2]||(o[2]=t=>e.unref(i)("/pages/wallet/withdrawList",!0))},{default:e.withCtx((()=>[e.createElementVNode("image",{src:qo,style:{width:"56rpx",height:"56rpx"},mode:"widthFix"}),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"提现明细"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1}),e.createVNode(r,{onClick:o[3]||(o[3]=t=>e.unref(i)("/pages/wallet/withdraw",!0))},{default:e.withCtx((()=>[e.createElementVNode("image",{src:"/static/icon/tx.png",style:{width:"56rpx",height:"56rpx"},mode:"widthFix"}),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"提现"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1}),e.createVNode(r,{onClick:o[4]||(o[4]=t=>e.unref(i)("/pages/wallet/bankCard",!0))},{default:e.withCtx((()=>[e.createElementVNode("image",{src:Jo,style:{width:"56rpx",height:"56rpx"},mode:"widthFix"}),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"银行卡"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1})])),_:1})]),e.createElementVNode("view",{class:"mt30"},[e.createVNode(c,{title:"最新记录",type:"line",titleFontSize:"32rpx"})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(u),((t,o)=>(e.openBlock(),e.createElementBlock("view",{class:"mt30 wallet_list",key:o},[e.createElementVNode("view",{class:"wallet_list_left"},[e.createElementVNode("view",null,e.toDisplayString(e.unref(Mo).find((e=>e.id==t.type)).name),1),e.createElementVNode("view",null,e.toDisplayString(e.unref(Z)(new Date(t.createTime).getTime(),"yyyy-mm-dd hh:MM")),1)]),e.createElementVNode("view",{class:"wallet_list_right"},e.toDisplayString(t.points)+"元",1)])))),128))])),_:1},8,["modelValue"])])}}},Xo=t(Ko,[["__scopeId","data-v-a3a9f3b8"]]),$o={props:{seconds:{type:[String,Number],default:()=>S.code.seconds},startText:{type:String,default:()=>S.code.startText},changeText:{type:String,default:()=>S.code.changeText},endText:{type:String,default:()=>S.code.endText},keepRunning:{type:Boolean,default:()=>S.code.keepRunning},uniqueKey:{type:String,default:()=>S.code.uniqueKey}}};const ei=t({name:"u-code",mixins:[x,oe,$o],data(){return{secNum:this.seconds,timer:null,canGetCode:!0}},mounted(){this.checkKeepRunning()},watch:{seconds:{immediate:!0,handler(e){this.secNum=e}}},emits:["start","end","change"],methods:{checkKeepRunning(){let e=Number(uni.getStorageSync(this.uniqueKey+"_$uCountDownTimestamp"));if(!e)return this.changeEvent(this.startText);let t=Math.floor(+new Date/1e3);this.keepRunning&&e&&e>t?(this.secNum=e-t,uni.removeStorageSync(this.uniqueKey+"_$uCountDownTimestamp"),this.start()):this.changeEvent(this.startText)},start(){this.timer&&(clearInterval(this.timer),this.timer=null),this.$emit("start"),this.canGetCode=!1,this.changeEvent(this.changeText.replace(/x|X/,this.secNum)),this.timer=setInterval((()=>{--this.secNum?this.changeEvent(this.changeText.replace(/x|X/,this.secNum)):(clearInterval(this.timer),this.timer=null,this.changeEvent(this.endText),this.secNum=this.seconds,this.$emit("end"),this.canGetCode=!0)}),1e3),this.setTimeToStorage()},reset(){this.canGetCode=!0,clearInterval(this.timer),this.secNum=this.seconds,this.changeEvent(this.endText)},changeEvent(e){this.$emit("change",e)},setTimeToStorage(){if(this.keepRunning&&this.timer&&this.secNum>0&&this.secNum<this.seconds){let e=Math.floor(+new Date/1e3);uni.setStorage({key:this.uniqueKey+"_$uCountDownTimestamp",data:e+Number(this.secNum)})}}},beforeUnmount(){this.setTimeToStorage(),clearTimeout(this.timer),this.timer=null}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:"u-code"})}],["__scopeId","data-v-7706317b"]]),ti={props:{hairline:{type:Boolean,default:()=>S.button.hairline},type:{type:String,default:()=>S.button.type},size:{type:String,default:()=>S.button.size},shape:{type:String,default:()=>S.button.shape},plain:{type:Boolean,default:()=>S.button.plain},disabled:{type:Boolean,default:()=>S.button.disabled},loading:{type:Boolean,default:()=>S.button.loading},loadingText:{type:[String,Number],default:()=>S.button.loadingText},loadingMode:{type:String,default:()=>S.button.loadingMode},loadingSize:{type:[String,Number],default:()=>S.button.loadingSize},openType:{type:String,default:()=>S.button.openType},formType:{type:String,default:()=>S.button.formType},appParameter:{type:String,default:()=>S.button.appParameter},hoverStopPropagation:{type:Boolean,default:()=>S.button.hoverStopPropagation},lang:{type:String,default:()=>S.button.lang},sessionFrom:{type:String,default:()=>S.button.sessionFrom},sendMessageTitle:{type:String,default:()=>S.button.sendMessageTitle},sendMessagePath:{type:String,default:()=>S.button.sendMessagePath},sendMessageImg:{type:String,default:()=>S.button.sendMessageImg},showMessageCard:{type:Boolean,default:()=>S.button.showMessageCard},dataName:{type:String,default:()=>S.button.dataName},throttleTime:{type:[String,Number],default:()=>S.button.throttleTime},hoverStartTime:{type:[String,Number],default:()=>S.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:()=>S.button.hoverStayTime},text:{type:[String,Number],default:()=>S.button.text},icon:{type:String,default:()=>S.button.icon},iconColor:{type:String,default:()=>S.button.icon},color:{type:String,default:()=>S.button.color}}};const oi=t({name:"u-button",mixins:[x,oe,ti],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:b[`u-${this.type}`]:"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:t}=this;return"large"===t&&(e=16),"normal"===t&&(e=14),"small"===t&&(e=12),"mini"===t&&(e=10),e}},emits:["click","getphonenumber","getuserinfo","error","opensetting","launchapp","agreeprivacyauthorization"],methods:{addStyle:j,clickHandler(){this.disabled||this.loading||Xt((()=>{this.$emit("click")}),this.throttleTime)},getphonenumber(e){this.$emit("getphonenumber",e)},getuserinfo(e){this.$emit("getuserinfo",e)},error(e){this.$emit("error",e)},opensetting(e){this.$emit("opensetting",e)},launchapp(e){this.$emit("launchapp",e)},agreeprivacyauthorization(e){this.$emit("agreeprivacyauthorization",e)}}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-loading-icon"),se),c=n(e.resolveDynamicComponent("u-icon"),ge);return e.openBlock(),e.createElementBlock("button",{"hover-start-time":Number(t.hoverStartTime),"hover-stay-time":Number(t.hoverStayTime),"form-type":t.formType,"open-type":t.openType,"app-parameter":t.appParameter,"hover-stop-propagation":t.hoverStopPropagation,"send-message-title":t.sendMessageTitle,"send-message-path":t.sendMessagePath,lang:t.lang,"data-name":t.dataName,"session-from":t.sessionFrom,"send-message-img":t.sendMessageImg,"show-message-card":t.showMessageCard,onGetphonenumber:o[0]||(o[0]=(...e)=>s.getphonenumber&&s.getphonenumber(...e)),onGetuserinfo:o[1]||(o[1]=(...e)=>s.getuserinfo&&s.getuserinfo(...e)),onError:o[2]||(o[2]=(...e)=>s.error&&s.error(...e)),onOpensetting:o[3]||(o[3]=(...e)=>s.opensetting&&s.opensetting(...e)),onLaunchapp:o[4]||(o[4]=(...e)=>s.launchapp&&s.launchapp(...e)),onAgreeprivacyauthorization:o[5]||(o[5]=(...e)=>s.agreeprivacyauthorization&&s.agreeprivacyauthorization(...e)),"hover-class":t.disabled||t.loading?"":"u-button--active",class:e.normalizeClass(["u-button u-reset-button",s.bemClass]),style:e.normalizeStyle([s.baseColor,s.addStyle(t.customStyle)]),onClick:o[6]||(o[6]=(...e)=>s.clickHandler&&s.clickHandler(...e))},[t.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(l,{mode:t.loadingMode,size:1.15*t.loadingSize,color:s.loadingColor},null,8,["mode","size","color"]),e.createElementVNode("text",{class:"u-button__loading-text",style:e.normalizeStyle([{fontSize:s.textSize+"px"}])},e.toDisplayString(t.loadingText||t.text),5)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.icon?(e.openBlock(),e.createBlock(c,{key:0,name:t.icon,color:s.iconColorCom,size:1.35*s.textSize,customStyle:{marginRight:"2px"}},null,8,["name","color","size"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},(()=>[e.createElementVNode("text",{class:"u-button__text",style:e.normalizeStyle([{fontSize:s.textSize+"px"}])},e.toDisplayString(t.text),5)]),!0)],64))],46,["hover-start-time","hover-stay-time","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","send-message-path","lang","data-name","session-from","send-message-img","show-message-card","hover-class"])}],["__scopeId","data-v-f850317b"]]),ii={__name:"withdraw",setup(t){e.ref();let o=e.ref({}),a=e.ref([]),r=e.ref(""),l=e.ref(null),c=e.reactive({points:"",smsCode:"",bankCardId:""}),d=e.ref();s((async()=>{let e=await ro();o.value=e;const{configValue:t}=await ho({configKey:"WITHDRAWAL"});a.value=JSON.parse(t),uni.$on("bank",(e=>{d.value=e,c.bankCardId=e.id,i("log","at pages/wallet/withdraw.vue:105",e)}))}));let u=()=>{uni.navigateTo({url:"/pages/wallet/bankCard?type=xz"})},h=e=>{r.value=e},p=()=>{if(!o.value.phone)return uni.showToast({title:"请输入手机号",icon:"none"});l.value.canGetCode?(uni.showLoading({title:"正在获取验证码"}),ao({phone:o.value.phone}).then((e=>{uni.hideLoading(),uni.$u.toast("验证码已发送"),l.value.start()}))):uni.$u.toast("倒计时结束后再发送")};function m(e){if(!e||"string"!=typeof e)throw new Error("Invalid card number");const t=e.replace(/\D/g,"");if(t.length<4)throw new Error("Card number is too short");const o=t.slice(-4);return"*".repeat(t.length-4)+o}let g=async()=>{return o.value.points1<c.points?uni.showToast({title:"可提现金额不足",icon:"none"}):c.bankCardId?c.points?c.smsCode?(await(e=c,no("/api/v0/extract/userExtract",e)),void uni.showModal({title:"提示",content:"提交成功",showCancel:!1,success(){uni.navigateBack()}})):uni.showToast({title:"请输入验证码",icon:"none"}):uni.showToast({title:"请输入提现金额",icon:"none"}):uni.showToast({title:"请先选择提现银行卡",icon:"none"});var e};return(t,i)=>{const s=n(e.resolveDynamicComponent("u-tag"),Eo),f=n(e.resolveDynamicComponent("up-input"),jo),y=n(e.resolveDynamicComponent("up-code"),ei),w=n(e.resolveDynamicComponent("up-button"),oi);return e.openBlock(),e.createElementBlock("view",{class:"withdraw p30"},[e.createElementVNode("view",{class:"withdraw_k",onClick:i[0]||(i[0]=(...t)=>e.unref(u)&&e.unref(u)(...t))},[e.createElementVNode("view",{class:"withdraw_k_tit"},"提现到"),e.createElementVNode("view",{class:"withdraw_k_input"},"请选择银行卡"),e.createElementVNode("image",{class:"withdraw_k_img",src:"/static/icon/xia.png"})]),e.unref(d)?(e.openBlock(),e.createElementBlock("view",{key:0},[e.createElementVNode("view",{style:{"background-color":"#ffffff","border-radius":"12rpx",padding:"20rpx","margin-bottom":"20rpx"}},[e.createElementVNode("view",{class:"u-flex u-flex-y-center",style:{"font-size":"28rpx"}},[e.createElementVNode("view",null,[e.createVNode(s,{text:1==e.unref(d).type?"个人":"企业",size:"mini",type:1==e.unref(d).type?"success":"error",plain:"",plainFill:""},null,8,["text","type"])]),e.createElementVNode("view",{style:{width:"30rpx"}}),e.createElementVNode("view",{style:{"font-size":"26rpx"}},e.toDisplayString(e.unref(d).name),1),e.createElementVNode("view",{style:{width:"30rpx"}}),e.createElementVNode("view",{style:{"font-size":"26rpx"}},e.toDisplayString(e.unref(d).phone||""),1)]),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{color:"#232323"}},[e.createElementVNode("view",{style:{"font-size":"28rpx"}},"开户行:"+e.toDisplayString(e.unref(d).bankName),1),e.createElementVNode("view",{style:{height:"10rpx"}}),e.createElementVNode("view",{style:{"font-size":"28rpx"}},"开户支行:"+e.toDisplayString(e.unref(d).subbranchName),1),e.createElementVNode("view",{style:{height:"10rpx"}}),e.createElementVNode("view",{style:{"font-size":"28rpx"}},"银行卡号:"+e.toDisplayString(e.unref(d).bankCard?m(e.unref(d).bankCard):""),1),e.createElementVNode("view",{style:{height:"10rpx"}}),2==e.unref(d).type?(e.openBlock(),e.createElementBlock("view",{key:0,style:{"font-size":"28rpx"}},"纳税人识别号:"+e.toDisplayString(e.unref(d).taxNo?m(e.unref(d).taxNo):""),1)):e.createCommentVNode("",!0),e.createElementVNode("view",{style:{height:"10rpx"}})])])])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"withdraw_mon"},[e.createElementVNode("view",{class:"withdraw_mon_tit"},"提现金额"),e.createElementVNode("view",{class:"withdraw_mon_input"},[e.createElementVNode("view",{class:"withdraw_mon_input_fu"},"¥"),e.createElementVNode("view",null,[e.createVNode(f,{fontSize:"36rpx",placeholder:"请输入金额",border:!1,modelValue:e.unref(c).points,"onUpdate:modelValue":i[1]||(i[1]=t=>e.unref(c).points=t)},null,8,["modelValue"])]),e.createElementVNode("view",{class:"withdraw_mon_input_note",onClick:i[2]||(i[2]=t=>e.unref(c).points=e.unref(o).points1)},"全部提现")]),e.createElementVNode("view",null,[e.createVNode(f,{border:!1,disabled:"",modelValue:e.unref(o).phone,"onUpdate:modelValue":i[3]||(i[3]=t=>e.unref(o).phone=t)},null,8,["modelValue"])]),e.createElementVNode("view",{class:"withdraw_mon_input"},[e.createVNode(f,{placeholder:"请输入验证码",border:!1,modelValue:e.unref(c).smsCode,"onUpdate:modelValue":i[4]||(i[4]=t=>e.unref(c).smsCode=t)},null,8,["modelValue"]),e.createElementVNode("view",{style:{width:"250rpx"}},[e.createVNode(y,{ref_key:"uCode",ref:l,onChange:e.unref(h),"keep-running":"","start-text":"点我获取验证码"},null,8,["onChange"]),e.createVNode(w,{onClick:e.unref(p),color:"#4874e5"},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(e.unref(r)),1)])),_:1},8,["onClick"])])]),e.createElementVNode("view",{class:"withdraw_mon_note"},"可提现金额:¥"+e.toDisplayString(e.unref(o).points1),1),e.createElementVNode("view",{class:"withdraw_mon_note"},"最小可提现金额为¥"+e.toDisplayString(e.unref(a).minMoney),1),e.createElementVNode("view",{class:"withdraw_mon_note"},"每100.00元提现手续费为"+e.toDisplayString(e.unref(a).free)+"%",1)]),e.createElementVNode("view",{class:"withdraw_note"},[e.createElementVNode("view",{class:"withdraw_note_tit",style:{"font-weight":"bold","font-size":"26rpx"}},"提现规则:"),e.createElementVNode("view",{class:"withdraw_note_s"},"1.现在本软件填写提现账户"),e.createElementVNode("view",{class:"withdraw_note_s"},"2.然后扫描二维码填写相应的提现账户"),e.createElementVNode("view",{class:"withdraw_note_s"},"3.提现年龄是18-60岁"),e.createElementVNode("view",{class:"withdraw_note_s"},"4.提现银行卡是常用的一类银行,否则会有限额"),e.createElementVNode("view",{class:"withdraw_note_s"},"5.一月不能超"+e.toDisplayString(e.unref(a).monthQuota)+"万,如遇超出 提现后管理人员会联系您",1)]),e.createElementVNode("view",{style:{height:"50rpx"}}),e.createElementVNode("view",{style:{display:"flex","justify-content":"center","margin-top":"80rpx"}},[e.createElementVNode("view",{class:"affirm_btn",onClick:i[5]||(i[5]=(...t)=>e.unref(g)&&e.unref(g)(...t))},"立即提现")]),e.createElementVNode("view",{style:{height:"50rpx"}})])}}},ni=t(ii,[["__scopeId","data-v-0e535cfd"]]),ai={__name:"bankCard",setup(t){const o=e.ref(null);let a=e.ref([]),l=e.ref(1),c=e.ref("");r((()=>{1!=l.value&&o.value.reload(),l.value++})),s((e=>{c.value=e.type}));let d=()=>{uni.showActionSheet({itemList:["个人","企业"],success:e=>{uni.navigateTo({url:`/pages/wallet/addBankCard?type=${e.tapIndex+1}`}),i("log","at pages/wallet/bankCard.vue:68","选中了第"+(e.tapIndex+1)+"个按钮")},fail:function(e){i("log","at pages/wallet/bankCard.vue:71",e.errMsg)}})};const u=(e,t)=>{((e,t={})=>no("/api/v0/user/getUsersAccountInfo",e))({current:e,pageSize:t}).then((e=>{o.value.complete(e)})).catch((e=>{o.value.complete(!1)}))};function h(e){if(!e||"string"!=typeof e)throw new Error("Invalid card number");const t=e.replace(/\D/g,"");if(t.length<4)throw new Error("Card number is too short");const o=t.slice(-4);return"*".repeat(t.length-4)+o}let p=e=>{c.value&&(uni.$emit("bank",e),uni.navigateBack())};return(t,i)=>{const r=n(e.resolveDynamicComponent("u-tag"),Eo),s=n(e.resolveDynamicComponent("up-icon"),ge),l=n(e.resolveDynamicComponent("z-paging"),Dt);return e.openBlock(),e.createElementBlock("view",{class:"bankCard"},[e.createVNode(l,{ref_key:"paging",ref:o,modelValue:e.unref(a),"onUpdate:modelValue":i[1]||(i[1]=t=>e.isRef(a)?a.value=t:a=t),onQuery:u},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),((t,o)=>(e.openBlock(),e.createElementBlock("view",{key:o,onClick:o=>e.unref(p)(t)},[e.createElementVNode("view",{class:"p30"},[e.createElementVNode("view",{style:{"background-color":"#ffffff","border-radius":"12rpx",padding:"20rpx","margin-bottom":"20rpx"}},[e.createElementVNode("view",{class:"u-flex u-flex-y-center",style:{"font-size":"28rpx"}},[e.createElementVNode("view",null,[e.createVNode(r,{text:1==t.type?"个人":"企业",size:"mini",type:1==t.type?"success":"error",plain:"",plainFill:""},null,8,["text","type"])]),e.createElementVNode("view",{style:{width:"30rpx"}}),e.createElementVNode("view",{style:{"font-size":"26rpx"}},e.toDisplayString(t.name),1),e.createElementVNode("view",{style:{width:"30rpx"}}),e.createElementVNode("view",{style:{"font-size":"26rpx"}},e.toDisplayString(t.phone||""),1)]),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{color:"#232323"}},[e.createElementVNode("view",{style:{"font-size":"28rpx"}},"开户行:"+e.toDisplayString(t.bankName),1),e.createElementVNode("view",{style:{height:"10rpx"}}),e.createElementVNode("view",{style:{"font-size":"28rpx"}},"开户支行:"+e.toDisplayString(t.subbranchName),1),e.createElementVNode("view",{style:{height:"10rpx"}}),e.createElementVNode("view",{style:{"font-size":"28rpx"}},"银行卡号:"+e.toDisplayString(t.bankCard?h(t.bankCard):""),1),e.createElementVNode("view",{style:{height:"10rpx"}}),2==t.type?(e.openBlock(),e.createElementBlock("view",{key:0,style:{"font-size":"28rpx"}},"纳税人识别号:"+e.toDisplayString(t.taxNo?h(t.taxNo):""),1)):e.createCommentVNode("",!0),e.createElementVNode("view",{style:{height:"10rpx"}})])])])],8,["onClick"])))),128)),e.createElementVNode("view",{class:"p30"},[e.createElementVNode("view",{class:"bankCard_add",onClick:i[0]||(i[0]=(...t)=>e.unref(d)&&e.unref(d)(...t))},[e.createVNode(s,{name:"plus",color:"#333",size:"28"}),e.createElementVNode("view",{style:{"font-size":"26rpx",color:"#333","margin-top":"15rpx"}},"添加银行卡")])])])),_:1},8,["modelValue"])])}}},ri=t(ai,[["__scopeId","data-v-1db8b068"]]),si=t({__name:"addBankCard",setup(t){e.ref(""),e.ref(null);let o=e.reactive({type:1});s((e=>{o.type=e.type}));let i=async()=>{var e;await(e=o,no("/api/v0/user/addUsersAccountInfo",e)),uni.showToast({title:"添加成功",icon:"none"}),setTimeout((()=>{uni.navigateBack()}),1500)};return(t,a)=>{const r=n(e.resolveDynamicComponent("up-input"),jo);return e.openBlock(),e.createElementBlock("view",{class:"addBankCard p30"},[e.createElementVNode("view",null,[e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入"+e.toDisplayString(1==e.unref(o).type?"姓名":"企业名称")+"",1),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(r,{border:!1,placeholder:"请输入",modelValue:e.unref(o).name,"onUpdate:modelValue":a[0]||(a[0]=t=>e.unref(o).name=t)},null,8,["modelValue"])]),2==e.unref(o).type?(e.openBlock(),e.createElementBlock("view",{key:0},[e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入纳税人识别号:"),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(r,{border:!1,placeholder:"请输入",modelValue:e.unref(o).taxNo,"onUpdate:modelValue":a[1]||(a[1]=t=>e.unref(o).taxNo=t)},null,8,["modelValue"])])])):e.createCommentVNode("",!0),1==e.unref(o).type?(e.openBlock(),e.createElementBlock("view",{key:1},[e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入手机号:"),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(r,{border:!1,placeholder:"请输入",modelValue:e.unref(o).phone,"onUpdate:modelValue":a[2]||(a[2]=t=>e.unref(o).phone=t)},null,8,["modelValue"])])])):e.createCommentVNode("",!0),1==e.unref(o).type?(e.openBlock(),e.createElementBlock("view",{key:2},[e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入身份证号:"),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(r,{border:!1,placeholder:"请输入",modelValue:e.unref(o).idCard,"onUpdate:modelValue":a[3]||(a[3]=t=>e.unref(o).idCard=t)},null,8,["modelValue"])])])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入开户行名称:"),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(r,{border:!1,placeholder:"请输入",modelValue:e.unref(o).bankName,"onUpdate:modelValue":a[4]||(a[4]=t=>e.unref(o).bankName=t)},null,8,["modelValue"])]),e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入开户支行:"),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(r,{border:!1,placeholder:"请输入",modelValue:e.unref(o).subbranchName,"onUpdate:modelValue":a[5]||(a[5]=t=>e.unref(o).subbranchName=t)},null,8,["modelValue"])]),e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入银行卡卡号:"),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(r,{border:!1,placeholder:"请输入",modelValue:e.unref(o).bankCard,"onUpdate:modelValue":a[6]||(a[6]=t=>e.unref(o).bankCard=t)},null,8,["modelValue"])])]),e.createElementVNode("view",{style:{margin:"30rpx 0"}},[e.createElementVNode("view",{style:{"font-size":"28rpx",color:"coral"}},"请仔细核对信息,填写错误会导致提现失败。")]),e.createElementVNode("view",{style:{display:"flex","justify-content":"center"}},[e.createElementVNode("view",{class:"addBankCard_btn",onClick:a[7]||(a[7]=(...t)=>e.unref(i)&&e.unref(i)(...t))},"确定")])])}}},[["__scopeId","data-v-13b93eeb"]]),li={props:{name:{type:[String,Number,Boolean],default:()=>S.checkbox.name},shape:{type:String,default:()=>S.checkbox.shape},size:{type:[String,Number],default:()=>S.checkbox.size},checked:{type:Boolean,default:()=>S.checkbox.checked},disabled:{type:[String,Boolean],default:()=>S.checkbox.disabled},activeColor:{type:String,default:()=>S.checkbox.activeColor},inactiveColor:{type:String,default:()=>S.checkbox.inactiveColor},iconSize:{type:[String,Number],default:()=>S.checkbox.iconSize},iconColor:{type:String,default:()=>S.checkbox.iconColor},label:{type:[String,Number],default:()=>S.checkbox.label},labelSize:{type:[String,Number],default:()=>S.checkbox.labelSize},labelColor:{type:String,default:()=>S.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:()=>S.checkbox.labelDisabled},usedAlone:{type:[Boolean],default:()=>!1}}},ci={name:"u-checkbox",mixins:[x,oe,li],data:()=>({isChecked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:"square",activeColor:null,inactiveColor:null,size:18,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return H(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.isChecked?this.elInactiveColor:"transparent":this.isChecked?e:"transparent"},iconClasses(){let e=[];return e.push("u-checkbox__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled"),this.isChecked&&this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled--checked"),e},iconWrapStyle(){const e={};return e.backgroundColor=this.isChecked&&!this.elDisabled?this.elActiveColor:"#ffffff",e.borderColor=this.isChecked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,e.width=H(this.elSize),e.height=H(this.elSize),this.usedAlone||"right"===this.parentData.iconPlacement&&(e.marginRight=0),e},checkboxStyle(){const e={};return this.usedAlone||(this.parentData.borderBottom&&this.parentData.placement,this.parentData.borderBottom&&"column"===this.parentData.placement&&(e.paddingBottom="8px")),W(e,j(this.customStyle))}},mounted(){this.init()},emits:["change"],methods:{init(){this.usedAlone||(this.updateParentData(),this.parent);const e=this.parentData.modelValue;this.checked?this.isChecked=!0:!this.usedAlone&&B.array(e)&&(this.isChecked=e.some((e=>e===this.name)))},updateParentData(){this.getParentData("u-checkbox-group")},wrapperClickHandler(e){(this.usedAlone||"right"===this.parentData.iconPlacement)&&this.iconClickHandler(e)},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.$emit("change",this.isChecked),this.$nextTick((()=>{X(this,"change")}))},setRadioCheckedStatus(){this.isChecked=!this.isChecked,this.emitEvent(),this.usedAlone||"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}},watch:{checked(){this.isChecked=this.checked}}};const di=t(ci,[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-icon"),ge);return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-checkbox cursor-pointer",[`u-checkbox-label--${r.parentData.iconPlacement}`,r.parentData.borderBottom&&"column"===r.parentData.placement&&"u-border-bottom"]]),style:e.normalizeStyle([s.checkboxStyle]),onClick:o[2]||(o[2]=e.withModifiers(((...e)=>s.wrapperClickHandler&&s.wrapperClickHandler(...e)),["stop"]))},[e.createElementVNode("view",{class:e.normalizeClass(["u-checkbox__icon-wrap cursor-pointer",s.iconClasses]),onClick:o[0]||(o[0]=e.withModifiers(((...e)=>s.iconClickHandler&&s.iconClickHandler(...e)),["stop"])),style:e.normalizeStyle([s.iconWrapStyle])},[e.renderSlot(t.$slots,"icon",{},(()=>[e.createVNode(l,{class:"u-checkbox__icon-wrap__icon",name:"checkbox-mark",size:s.elIconSize,color:s.elIconColor},null,8,["size","color"])]),!0)],6),e.createElementVNode("text",{onClick:o[1]||(o[1]=e.withModifiers(((...e)=>s.labelClickHandler&&s.labelClickHandler(...e)),["stop"])),style:e.normalizeStyle({color:s.elDisabled?s.elInactiveColor:s.elLabelColor,fontSize:s.elLabelSize,lineHeight:s.elLabelSize})},e.toDisplayString(t.label),5)],6)}],["__scopeId","data-v-1b94749c"]]),ui={__name:"register",setup(t){const i=uni.getSystemInfoSync().statusBarHeight+"px";let a=e.ref(""),r=e.ref(null);e.ref("");let l=e.reactive({userName:"",passwd:"",shareCode:"",phone:"",platform:1,smsCode:"",confirmPasswd:""}),c=e.ref(!1);s((()=>{const e=uni.getStorageSync("invite_code");e&&(l.shareCode=e)}));let d=e=>{c.value=e},u=()=>{uni.navigateBack()},h=e=>{a.value=e},p=()=>{if(!l.phone)return uni.showToast({title:"请输入手机号",icon:"none"});r.value.canGetCode?(uni.showLoading({title:"正在获取验证码"}),ao({phone:l.phone}).then((e=>{uni.hideLoading(),uni.$u.toast("验证码已发送"),r.value.start()}))):uni.$u.toast("倒计时结束后再发送")},m=async()=>{return c.value?l.userName?l.phone?11!=l.phone.length?uni.showToast({title:"请输入正确的手机号",icon:"none"}):l.smsCode?l.shareCode?l.passwd?l.confirmPasswd?l.passwd!=l.confirmPasswd?uni.showToast({title:"两次密码输入不一致",icon:"none"}):(await(e=l,no("/api/auth/register",e)),uni.showToast({title:"注册成功",icon:"none"}),void setTimeout((()=>{uni.navigateBack()}),200)):uni.showToast({title:"请再次输入密码",icon:"none"}):uni.showToast({title:"请输入密码",icon:"none"}):uni.showToast({title:"请输入邀请码",icon:"none"}):uni.showToast({title:"请输入验证码",icon:"none"}):uni.showToast({title:"请输入手机号",icon:"none"}):uni.showToast({title:"请输入用户名",icon:"none"}):uni.showToast({title:"请先阅读并勾选隐私政策和用户注册服务协议",icon:"none"});var e},g=()=>{uni.navigateBack()};return(t,s)=>{const c=n(e.resolveDynamicComponent("up-icon"),ge),f=n(e.resolveDynamicComponent("statusBar"),o),y=n(e.resolveDynamicComponent("up-input"),jo),w=n(e.resolveDynamicComponent("up-code"),ei),v=n(e.resolveDynamicComponent("up-checkbox"),di);return e.openBlock(),e.createElementBlock("view",{class:"login"},[e.createElementVNode("view",{class:"orderdetail_header p30"},[e.createElementVNode("view",{style:e.normalizeStyle({height:i})},null,4),e.createElementVNode("view",{style:{height:"44px",display:"flex","align-items":"center"}},[e.createVNode(c,{name:"arrow-left",bold:"",color:"#000",onClick:e.unref(g)},null,8,["onClick"])])]),e.createElementVNode("image",{class:"login_bei",src:Ho}),e.createElementVNode("view",{style:{padding:"0 60rpx"}},[e.createVNode(f),e.createElementVNode("view",{class:"login_logo"},[e.createElementVNode("image",{class:"login_logo_img",src:Qo}),e.createElementVNode("view",{class:"login_logo_tit"},"欢迎来到星动能源")]),e.createElementVNode("view",{style:{"margin-top":"100rpx"}},[e.createElementVNode("view",null,[e.createVNode(y,{fontSize:"30rpx",modelValue:e.unref(l).userName,"onUpdate:modelValue":s[0]||(s[0]=t=>e.unref(l).userName=t),placeholder:"请输入您的用户名",border:"bottom",clearable:""},null,8,["modelValue"])]),e.createElementVNode("view",{style:{"font-size":"26rpx",color:"#ff9900",margin:"10rpx 0 10rpx","padding-left":"9px"}},"用户名由字母或数字组成长度6-32"),e.createElementVNode("view",{style:{"margin-bottom":"30rpx"}},[e.createVNode(y,{fontSize:"30rpx",modelValue:e.unref(l).phone,"onUpdate:modelValue":s[1]||(s[1]=t=>e.unref(l).phone=t),placeholder:"请输入您的手机号",border:"bottom",clearable:""},null,8,["modelValue"])]),e.createElementVNode("view",{style:{"margin-bottom":"30rpx",display:"flex","align-items":"center"}},[e.createVNode(y,{fontSize:"30rpx",modelValue:e.unref(l).smsCode,"onUpdate:modelValue":s[2]||(s[2]=t=>e.unref(l).smsCode=t),placeholder:"请输入验证码",border:"bottom",clearable:""},null,8,["modelValue"]),e.createVNode(w,{ref_key:"uCode",ref:r,onChange:e.unref(h),"keep-running":"","start-text":"点我获取验证码"},null,8,["onChange"]),e.createElementVNode("text",{onClick:s[3]||(s[3]=(...t)=>e.unref(p)&&e.unref(p)(...t)),text:e.unref(a),style:{"font-size":"28rpx",color:"#4874e5"}},e.toDisplayString(e.unref(a)),9,["text"])]),e.createElementVNode("view",{style:{"margin-bottom":"30rpx"}},[e.createVNode(y,{fontSize:"30rpx",modelValue:e.unref(l).shareCode,"onUpdate:modelValue":s[4]||(s[4]=t=>e.unref(l).shareCode=t),placeholder:"请输入您的邀请码",border:"bottom",clearable:""},null,8,["modelValue"])]),e.createElementVNode("view",null,[e.createVNode(y,{fontSize:"30rpx",modelValue:e.unref(l).passwd,"onUpdate:modelValue":s[5]||(s[5]=t=>e.unref(l).passwd=t),type:"password",placeholder:"请输入您的密码",border:"bottom",clearable:""},null,8,["modelValue"])]),e.createElementVNode("view",{style:{"font-size":"26rpx",color:"#ff9900",margin:"10rpx 0 10rpx","padding-left":"9px"}},"密码必须包含字母、数字长度8-32"),e.createElementVNode("view",{style:{"margin-bottom":"30rpx"}},[e.createVNode(y,{fontSize:"30rpx",modelValue:e.unref(l).confirmPasswd,"onUpdate:modelValue":s[6]||(s[6]=t=>e.unref(l).confirmPasswd=t),type:"password",placeholder:"请再次输入您的密码",border:"bottom",clearable:""},null,8,["modelValue"])])]),e.createElementVNode("view",{style:{"font-size":"28rpx",color:"#666","margin-top":"20rpx"}},[e.createTextVNode(" 已有账号? "),e.createElementVNode("text",{style:{color:"#4874e5"},onClick:s[7]||(s[7]=(...t)=>e.unref(u)&&e.unref(u)(...t))},"立即登录")]),e.createElementVNode("view",{style:{display:"flex","justify-content":"center","margin-top":"80rpx"}},[e.createElementVNode("view",{class:"login_btn",onClick:s[8]||(s[8]=(...t)=>e.unref(m)&&e.unref(m)(...t))},"注册")])]),e.createElementVNode("view",{style:{display:"flex","flex-wrap":"wrap","justify-content":"center","margin-top":"20rpx","font-size":"26rpx","align-items":"center"}},[e.createVNode(v,{onChange:e.unref(d),customStyle:{marginRight:"15rpx",marginBotton:0}},null,8,["onChange"]),e.createTextVNode(" 已阅读并同意 "),e.createElementVNode("navigator",{url:"/pages/agreement/agreement?id=9",style:{color:"#4874e5"}},"《用户注册服务协议》"),e.createTextVNode(" 和 "),e.createElementVNode("navigator",{url:"/pages/agreement/agreement?id=10",style:{color:"#4874e5"}},"《隐私政策》")]),e.createElementVNode("view",{style:{height:"150rpx"}})])}}},hi=t(ui,[["__scopeId","data-v-70e44492"]]),pi={props:{color:{type:String,default:()=>S.line.color},length:{type:[String,Number],default:()=>S.line.length},direction:{type:String,default:()=>S.line.direction},hairline:{type:Boolean,default:()=>S.line.hairline},margin:{type:[String,Number],default:()=>S.line.margin},dashed:{type:Boolean,default:()=>S.line.dashed}}};const mi=t({name:"u-line",mixins:[x,oe,pi],computed:{lineStyle(){const e={};return e.margin=this.margin,"row"===this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.dashed?"dashed":"solid",e.width=H(this.length),this.hairline&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.dashed?"dashed":"solid",e.height=H(this.length),this.hairline&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,W(e,j(this.customStyle))}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:"u-line",style:e.normalizeStyle([r.lineStyle])},null,4)}],["__scopeId","data-v-7063e61b"]]),gi={props:{title:{type:[String,Number],default:()=>S.cell.title},label:{type:[String,Number],default:()=>S.cell.label},value:{type:[String,Number],default:()=>S.cell.value},icon:{type:String,default:()=>S.cell.icon},disabled:{type:Boolean,default:()=>S.cell.disabled},border:{type:Boolean,default:()=>S.cell.border},center:{type:Boolean,default:()=>S.cell.center},url:{type:String,default:()=>S.cell.url},linkType:{type:String,default:()=>S.cell.linkType},clickable:{type:Boolean,default:()=>S.cell.clickable},isLink:{type:Boolean,default:()=>S.cell.isLink},required:{type:Boolean,default:()=>S.cell.required},rightIcon:{type:String,default:()=>S.cell.rightIcon},arrowDirection:{type:String,default:()=>S.cell.arrowDirection},iconStyle:{type:[Object,String],default:()=>S.cell.iconStyle},rightIconStyle:{type:[Object,String],default:()=>S.cell.rightIconStyle},titleStyle:{type:[Object,String],default:()=>S.cell.titleStyle},size:{type:String,default:()=>S.cell.size},stop:{type:Boolean,default:()=>S.cell.stop},name:{type:[Number,String],default:()=>S.cell.name}}},fi={name:"u-cell",data:()=>({}),mixins:[x,oe,gi],computed:{titleTextStyle(){return j(this.titleStyle)}},emits:["click"],methods:{addStyle:j,testEmpty:B.empty,clickHandler(e){this.disabled||(this.$emit("click",{name:this.name}),this.openPage(),this.stop&&this.preventEvent(e))}}};const yi=t(fi,[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-icon"),ge),c=n(e.resolveDynamicComponent("u-line"),mi);return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-cell",[t.customClass]]),style:e.normalizeStyle([s.addStyle(t.customStyle)]),"hover-class":t.disabled||!t.clickable&&!t.isLink?"":"u-cell--clickable","hover-stay-time":250,onClick:o[0]||(o[0]=(...e)=>s.clickHandler&&s.clickHandler(...e))},[e.createElementVNode("view",{class:e.normalizeClass(["u-cell__body",[t.center&&"u-cell--center","large"===t.size&&"u-cell__body--large"]])},[e.createElementVNode("view",{class:"u-cell__body__content"},[t.$slots.icon||t.icon?(e.openBlock(),e.createElementBlock("view",{key:0,class:"u-cell__left-icon-wrap"},[t.$slots.icon?e.renderSlot(t.$slots,"icon",{key:0},void 0,!0):(e.openBlock(),e.createBlock(l,{key:1,name:t.icon,"custom-style":t.iconStyle,size:"large"===t.size?22:18},null,8,["name","custom-style","size"]))])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"u-cell__title"},[t.$slots.title||!t.title?e.renderSlot(t.$slots,"title",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(["u-cell__title-text",[t.disabled&&"u-cell--disabled","large"===t.size&&"u-cell__title-text--large"]]),style:e.normalizeStyle([s.titleTextStyle])},e.toDisplayString(t.title),7)),e.renderSlot(t.$slots,"label",{},(()=>[t.label?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass(["u-cell__label",[t.disabled&&"u-cell--disabled","large"===t.size&&"u-cell__label--large"]])},e.toDisplayString(t.label),3)):e.createCommentVNode("",!0)]),!0)])]),e.renderSlot(t.$slots,"value",{},(()=>[s.testEmpty(t.value)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass(["u-cell__value",[t.disabled&&"u-cell--disabled","large"===t.size&&"u-cell__value--large"]])},e.toDisplayString(t.value),3))]),!0),t.$slots["right-icon"]||t.isLink?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-cell__right-icon-wrap",[`u-cell__right-icon-wrap--${t.arrowDirection}`]])},[t.rightIcon&&!t.$slots["right-icon"]?(e.openBlock(),e.createBlock(l,{key:0,name:t.rightIcon,"custom-style":t.rightIconStyle,color:t.disabled?"#c8c9cc":"info",size:"large"===t.size?18:16},null,8,["name","custom-style","color","size"])):e.renderSlot(t.$slots,"right-icon",{key:1},void 0,!0)],2)):e.createCommentVNode("",!0),t.$slots.righticon?(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass(["u-cell__right-icon-wrap",[`u-cell__right-icon-wrap--${t.arrowDirection}`]])},[e.renderSlot(t.$slots,"righticon",{},void 0,!0)],2)):e.createCommentVNode("",!0)],2),t.border?(e.openBlock(),e.createBlock(c,{key:0})):e.createCommentVNode("",!0)],14,["hover-class"])}],["__scopeId","data-v-2934fecb"]]),wi={props:{title:{type:String,default:()=>S.cellGroup.title},border:{type:Boolean,default:()=>S.cellGroup.border}}};const vi=t({name:"u-cell-group",mixins:[x,oe,wi],methods:{addStyle:j}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-line"),mi);return e.openBlock(),e.createElementBlock("view",{style:e.normalizeStyle([s.addStyle(t.customStyle)]),class:e.normalizeClass([[t.customClass],"u-cell-group"])},[t.title?(e.openBlock(),e.createElementBlock("view",{key:0,class:"u-cell-group__title"},[e.renderSlot(t.$slots,"title",{},(()=>[e.createElementVNode("text",{class:"u-cell-group__title__text"},e.toDisplayString(t.title),1)]),!0)])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"u-cell-group__wrapper"},[t.border?(e.openBlock(),e.createBlock(l,{key:0})):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},void 0,!0)])],6)}],["__scopeId","data-v-9f0ec262"]]),bi={props:{modelValue:{type:[Number,String,Array],default:""},title:{type:[String,Number],default:""},options:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},height:{type:[Number,String],default:"auto"},closeOnClickOverlay:{type:Boolean,default:!0}}};const Si=t({name:"u-dropdown-item",mixins:[x,oe,bi],options:{styleIsolation:"shared"},data:()=>({active:!1,activeColor:"#2979ff",inactiveColor:"#606266"}),computed:{propsChange(){return`${this.title}-${this.disabled}`}},watch:{propsChange(e){this.parent&&this.parent.init()}},created(){this.parent=!1},emits:["update:modelValue","change"],methods:{addUnit:H,init(){let e=U.call(this,"u-dropdown");if(e){this.parent=e,this.activeColor=e.activeColor,this.inactiveColor=e.inactiveColor,e.children.find((e=>this===e))||e.children.push(this),1==e.children.length&&(this.active=!0),e.menuList.push({title:this.title,disabled:this.disabled})}},cellClick(e){this.$emit("update:modelValue",e),this.parent.close(),this.$emit("change",e)}},mounted(){this.init()}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("up-icon"),ge),c=n(e.resolveDynamicComponent("up-cell"),yi),d=n(e.resolveDynamicComponent("up-cell-group"),vi);return r.active?(e.openBlock(),e.createElementBlock("view",{key:0,class:"u-dropdown-item",onTouchmove:e.withModifiers((()=>{}),["stop","prevent"]),onClick:e.withModifiers((()=>{}),["stop","prevent"])},[t.$slots.default||t.$slots.$default?e.renderSlot(t.$slots,"default",{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("scroll-view",{key:0,class:"u-dropdown-item__scroll","scroll-y":"true",style:e.normalizeStyle({height:s.addUnit(t.height)})},[e.createElementVNode("view",{class:"u-dropdown-item__options"},[e.createVNode(d,null,{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,((o,i)=>(e.openBlock(),e.createBlock(c,{onClick:e=>s.cellClick(o.value),arrow:!1,title:o.label,key:i,"title-style":{color:t.modelValue==o.value?r.activeColor:r.inactiveColor}},{default:e.withCtx((()=>[t.modelValue==o.value?(e.openBlock(),e.createBlock(l,{key:0,name:"checkbox-mark",color:r.activeColor,size:"32"},null,8,["color"])):e.createCommentVNode("",!0)])),_:2},1032,["onClick","title","title-style"])))),128))])),_:1})])],4))],32)):e.createCommentVNode("",!0)}],["__scopeId","data-v-b020fa00"]]),ki={props:{activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#606266"},closeOnClickMask:{type:Boolean,default:!0},closeOnClickSelf:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},height:{type:[Number,String],default:40},borderBottom:{type:Boolean,default:!1},titleSize:{type:[Number,String],default:14},borderRadius:{type:[Number,String],default:0},menuIcon:{type:String,default:"arrow-down"},menuIconSize:{type:[Number,String],default:14}}};const xi=t({name:"u-dropdown",mixins:[x,oe,ki],data:()=>({showDropdown:!0,menuList:[],active:!1,current:99999,contentStyle:{zIndex:-1,opacity:0},highlightIndex:99999,contentHeight:0}),computed:{popupStyle(){let e={};return e.transform=`translateY(${this.active?0:"-100%"})`,e["transition-duration"]=this.duration/1e3+"s",e.borderRadius=`0 0 ${H(this.borderRadius)} ${H(this.borderRadius)}`,e}},created(){this.children=[]},mounted(){this.getContentHeight()},emits:["open","close"],methods:{addUnit:H,init(){this.menuList=[],this.children.map((e=>{e.init()}))},menuClick(e){if(!this.menuList[e].disabled)return e===this.current&&this.closeOnClickSelf?(this.close(),void setTimeout((()=>{this.children[e].active=!1}),this.duration)):void this.open(e)},open(e){this.contentHeight<1&&this.getContentHeight(),this.contentStyle={zIndex:11},this.active=!0,this.current=e,this.children.map(((t,o)=>{t.active=e==o})),this.$emit("open",this.current)},close(){this.$emit("close",this.current),this.active=!1,this.current=99999,this.contentStyle={zIndex:-1,opacity:0}},maskClick(){this.closeOnClickMask&&this.close()},highlight(e){this.highlightIndex=void 0!==e?e:99999},getContentHeight(){let e=O().windowHeight;this.$uGetRect(".u-dropdown__menu").then((t=>{this.contentHeight=e-t.bottom}))}}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-icon"),ge);return e.openBlock(),e.createElementBlock("view",{class:"u-dropdown"},[e.createElementVNode("view",{class:e.normalizeClass(["u-dropdown__menu",{"u-border-bottom":t.borderBottom}]),style:e.normalizeStyle({height:s.addUnit(t.height)})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.menuList,((o,i)=>(e.openBlock(),e.createElementBlock("view",{class:"u-dropdown__menu__item",key:i,onClick:e.withModifiers((e=>s.menuClick(i)),["stop"])},[e.createElementVNode("view",{class:"u-flex u-flex-row"},[e.createElementVNode("text",{class:"u-dropdown__menu__item__text",style:e.normalizeStyle({color:o.disabled?"#c0c4cc":i===r.current||r.highlightIndex==i?t.activeColor:t.inactiveColor,fontSize:s.addUnit(t.titleSize)})},e.toDisplayString(o.title),5),e.createElementVNode("view",{class:e.normalizeClass(["u-dropdown__menu__item__arrow",{"u-dropdown__menu__item__arrow--rotate":i===r.current}])},[e.createVNode(l,{"custom-style":{display:"flex"},name:t.menuIcon,size:s.addUnit(t.menuIconSize),color:i===r.current||r.highlightIndex==i?t.activeColor:"#c0c4cc"},null,8,["name","size","color"])],2)])],8,["onClick"])))),128))],6),e.createElementVNode("view",{class:"u-dropdown__content",style:e.normalizeStyle([r.contentStyle,{transition:`opacity ${t.duration/1e3}s linear`,top:s.addUnit(t.height),height:r.contentHeight+"px"}]),onClick:o[1]||(o[1]=(...e)=>s.maskClick&&s.maskClick(...e)),onTouchmove:o[2]||(o[2]=e.withModifiers((()=>{}),["stop","prevent"]))},[e.createElementVNode("view",{onClick:o[0]||(o[0]=e.withModifiers((()=>{}),["stop","prevent"])),class:"u-dropdown__content__popup",style:e.normalizeStyle([s.popupStyle])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],4),e.createElementVNode("view",{class:"u-dropdown__content__mask"})],36)])}],["__scopeId","data-v-7a104682"]]),Ci={__name:"order",setup(t){const{navTo:o}=Pt(),a=e.ref(null);let r=e.ref([]),s=e.reactive({status:"",businessPayType:"",sourceType:""}),u=e.ref([{label:"商品",value:1},{label:"套餐",value:2}]),h=e.ref([{label:"钱包",value:3}]),p=e.ref([{label:"待支付",value:0},{label:"支付成功",value:1},{label:"取消",value:-1},{label:"退款",value:-2}]),m=()=>!a.value;d((()=>{m()||a.value.reload().catch((()=>{}))})),l((e=>{m()||(a.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&a.value.doChatRecordLoadMore())})),c((()=>{m()||a.value.pageReachBottom()}));const g=e=>{i("log","at pages/order/order.vue:151",s),a.value.reload()},f=(e,t)=>{uni.getStorageSync("user");((e,t={})=>no("/api/v0/orders/selectListByPage",e))({current:e,pageSize:t,...s}).then((e=>{a.value.complete(e.records)})).catch((e=>{a.value.complete(!1)}))};return(t,i)=>{const l=n(e.resolveDynamicComponent("up-dropdown-item"),Si),c=n(e.resolveDynamicComponent("up-dropdown"),xi),d=n(e.resolveDynamicComponent("up-tag"),Eo),m=n(e.resolveDynamicComponent("z-paging"),Dt);return e.openBlock(),e.createElementBlock("view",{class:"order"},[e.createVNode(m,{ref_key:"paging",ref:a,modelValue:e.unref(r),"onUpdate:modelValue":i[3]||(i[3]=t=>e.isRef(r)?r.value=t:r=t),"use-page-scroll":"",onQuery:f},{default:e.withCtx((()=>[e.createVNode(c,null,{default:e.withCtx((()=>[e.createVNode(l,{onChange:g,modelValue:e.unref(s).sourceType,"onUpdate:modelValue":i[0]||(i[0]=t=>e.unref(s).sourceType=t),title:"商品类型",options:e.unref(u)},null,8,["modelValue","options"]),e.createVNode(l,{onChange:g,modelValue:e.unref(s).businessPayType,"onUpdate:modelValue":i[1]||(i[1]=t=>e.unref(s).businessPayType=t),title:"支付类型",options:e.unref(h)},null,8,["modelValue","options"]),e.createVNode(l,{onChange:g,modelValue:e.unref(s).status,"onUpdate:modelValue":i[2]||(i[2]=t=>e.unref(s).status=t),title:"状态",options:e.unref(p)},null,8,["modelValue","options"])])),_:1}),e.createElementVNode("view",{class:"p30"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),(t=>(e.openBlock(),e.createElementBlock("view",{class:"order_view",key:t,onClick:i=>e.unref(o)(`/pages/order/details?id=${t.id}`)},[e.createElementVNode("view",{class:"order_view_dd"},[e.createElementVNode("view",null,[e.createElementVNode("text",{style:{"font-weight":"500"}},"订单号"),e.createTextVNode(" :"+e.toDisplayString(t.orderNo),1)]),e.createElementVNode("view",null,[0==t.status?(e.openBlock(),e.createBlock(d,{key:0,size:"mini",text:"待支付",plain:""})):e.createCommentVNode("",!0),-1==t.status?(e.openBlock(),e.createBlock(d,{key:1,size:"mini",text:"已取消",type:"warning",plain:""})):e.createCommentVNode("",!0),1==t.status?(e.openBlock(),e.createBlock(d,{key:2,size:"mini",text:"支付成功",type:"success",plain:""})):e.createCommentVNode("",!0),-2==t.status?(e.openBlock(),e.createBlock(d,{key:3,size:"mini",text:"退款",type:"error",plain:""})):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"order_view_info"},[e.createElementVNode("image",{class:"order_view_info_img",src:JSON.parse(t.picture)[0],mode:"aspectFit"},null,8,["src"]),e.createElementVNode("view",{class:"order_view_info_right"},[e.createElementVNode("view",{class:"order_view_info_right_tit"},[e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createVNode(d,{size:"mini",text:1==t.sourceType?"商品":"套餐",bgColor:"#4874e5",borderColor:"#4874e5"},null,8,["text"]),e.createElementVNode("view",{style:{"margin-left":"15rpx"}},e.toDisplayString(t.goodName),1)])]),e.createElementVNode("view",{class:"order_view_info_right_num",style:{display:"flex","align-items":"center","justify-content":"space-between"}},"数量:"+e.toDisplayString(t.num),1),e.createElementVNode("view",{class:"order_view_info_right_mon"},[e.createTextVNode(" 订单金额: "),e.createElementVNode("text",{style:{color:"crimson"}},"¥"+e.toDisplayString(t.amount),1)])])]),e.createElementVNode("view",{style:{display:"flex","align-items":"center","justify-content":"space-between","border-top":"1rpx solid rgba(153, 153, 153, 0.5)","margin-top":"15rpx","padding-top":"15rpx"}},[e.createElementVNode("view",{style:{"font-size":"28rpx"}},e.toDisplayString(e.unref(Z)(new Date(t.createTime).getTime(),"yyyy-mm-dd hh:MM")),1),e.createElementVNode("view",null,[3==t.orderPlatform?(e.openBlock(),e.createBlock(d,{key:0,size:"mini",text:"支付宝",plain:""})):e.createCommentVNode("",!0),2==t.orderPlatform?(e.openBlock(),e.createBlock(d,{key:1,size:"mini",text:"微信",type:"success",plain:""})):e.createCommentVNode("",!0),1==t.orderPlatform?(e.openBlock(),e.createBlock(d,{key:2,size:"mini",text:"钱包",type:"warning",plain:""})):e.createCommentVNode("",!0)])])],8,["onClick"])))),128))])])),_:1},8,["modelValue"])])}}},Ti=t(Ci,[["__scopeId","data-v-73a23636"]]),Ai={props:{name:{type:[String,Number],default:()=>S.numberBox.name},modelValue:{type:[String,Number],default:()=>S.numberBox.value},min:{type:[String,Number],default:()=>S.numberBox.min},max:{type:[String,Number],default:()=>S.numberBox.max},step:{type:[String,Number],default:()=>S.numberBox.step},integer:{type:Boolean,default:()=>S.numberBox.integer},disabled:{type:Boolean,default:()=>S.numberBox.disabled},disabledInput:{type:Boolean,default:()=>S.numberBox.disabledInput},asyncChange:{type:Boolean,default:()=>S.numberBox.asyncChange},inputWidth:{type:[String,Number],default:()=>S.numberBox.inputWidth},showMinus:{type:Boolean,default:()=>S.numberBox.showMinus},showPlus:{type:Boolean,default:()=>S.numberBox.showPlus},decimalLength:{type:[String,Number,null],default:()=>S.numberBox.decimalLength},longPress:{type:Boolean,default:()=>S.numberBox.longPress},color:{type:String,default:()=>S.numberBox.color},buttonSize:{type:[String,Number],default:()=>S.numberBox.buttonSize},bgColor:{type:String,default:()=>S.numberBox.bgColor},cursorSpacing:{type:[String,Number],default:()=>S.numberBox.cursorSpacing},disablePlus:{type:Boolean,default:()=>S.numberBox.disablePlus},disableMinus:{type:Boolean,default:()=>S.numberBox.disableMinus},iconStyle:{type:[Object,String],default:()=>S.numberBox.iconStyle}}},Ei={name:"u-number-box",mixins:[x,oe,Ai],data:()=>({currentValue:"",longPressTimer:null}),watch:{watchChange(e){this.check()},modelValue:{handler:function(e,t){e!==this.currentValue&&(this.currentValue=this.format(this.modelValue))},immediate:!0}},computed:{getCursorSpacing(){return M(this.cursorSpacing)},buttonStyle(){return e=>{const t={backgroundColor:this.bgColor,height:H(this.buttonSize),color:this.color};return this.isDisabled(e)&&(t.backgroundColor="#f7f8fa"),t}},inputStyle(){this.disabled||this.disabledInput;return{color:this.color,backgroundColor:this.bgColor,height:H(this.buttonSize),width:H(this.inputWidth)}},watchChange(){return[this.integer,this.decimalLength,this.min,this.max]},isDisabled(){return e=>"plus"===e?this.disabled||this.disablePlus||this.currentValue>=this.max:this.disabled||this.disableMinus||this.currentValue<=this.min}},mounted(){this.init()},emits:["update:modelValue","focus","blur","overlimit","change","plus","minus"],methods:{init(){this.currentValue=this.format(this.modelValue)},format(e){return e=""===(e=this.filter(e))?0:+e,e=Math.max(Math.min(this.max,e),this.min),null!==this.decimalLength&&(e=e.toFixed(this.decimalLength)),e},filter(e){return e=String(e).replace(/[^0-9.-]/g,""),this.integer&&-1!==e.indexOf(".")&&(e=e.split(".")[0]),e},check(){const e=this.format(this.currentValue);e!==this.currentValue&&(this.currentValue=e)},onFocus(e){this.$emit("focus",{...e.detail,name:this.name})},onBlur(e){this.format(e.detail.value),this.$emit("blur",{...e.detail,name:this.name})},onInput(e){const{value:t=""}=e.detail||{};if(""===t)return;let o=this.filter(t);if(null!==this.decimalLength&&-1!==o.indexOf(".")){const e=o.split(".");o=`${e[0]}.${e[1].slice(0,this.decimalLength)}`}o=this.format(o),this.emitChange(o)},emitChange(e){this.asyncChange||this.$nextTick((()=>{this.$emit("update:modelValue",e),this.currentValue=e,this.$forceUpdate()})),this.$emit("change",{value:e,name:this.name})},onChange(){const{type:e}=this;if(this.isDisabled(e))return this.$emit("overlimit",e);const t="minus"===e?-this.step:+this.step,o=this.format(this.add(+this.currentValue,t));this.emitChange(o),this.$emit(e)},add(e,t){const o=Math.pow(10,10);return Math.round((e+t)*o)/o},clickHandler(e){this.type=e,this.onChange()},longPressStep(){this.clearTimeout(),this.longPressTimer=setTimeout((()=>{this.onChange(),this.longPressStep()}),250)},onTouchStart(e){this.longPress&&(this.clearTimeout(),this.type=e,this.longPressTimer=setTimeout((()=>{this.onChange(),this.longPressStep()}),600))},onTouchEnd(){this.longPress&&this.clearTimeout()},clearTimeout(){clearTimeout(this.longPressTimer),this.longPressTimer=null}}};const Ni=t(Ei,[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-icon"),ge);return e.openBlock(),e.createElementBlock("view",{class:"u-number-box"},[t.showMinus&&t.$slots.minus?(e.openBlock(),e.createElementBlock("view",{key:0,class:"u-number-box__slot cursor-pointer",onClick:o[0]||(o[0]=e.withModifiers((e=>s.clickHandler("minus")),["stop"])),onTouchstart:o[1]||(o[1]=e=>s.onTouchStart("minus")),onTouchend:o[2]||(o[2]=e.withModifiers(((...e)=>s.clearTimeout&&s.clearTimeout(...e)),["stop"]))},[e.renderSlot(t.$slots,"minus",{},void 0,!0)],32)):t.showMinus?(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass(["u-number-box__minus cursor-pointer",{"u-number-box__minus--disabled":s.isDisabled("minus")}]),onClick:o[3]||(o[3]=e.withModifiers((e=>s.clickHandler("minus")),["stop"])),onTouchstart:o[4]||(o[4]=e=>s.onTouchStart("minus")),onTouchend:o[5]||(o[5]=e.withModifiers(((...e)=>s.clearTimeout&&s.clearTimeout(...e)),["stop"])),"hover-class":"u-number-box__minus--hover","hover-stay-time":"150",style:e.normalizeStyle([s.buttonStyle("minus")])},[e.createVNode(l,{name:"minus",color:s.isDisabled("minus")?"#c8c9cc":"#323233",size:"15",bold:"",customStyle:t.iconStyle},null,8,["color","customStyle"])],38)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"input",{},(()=>[e.withDirectives(e.createElementVNode("input",{disabled:t.disabledInput||t.disabled,"cursor-spacing":s.getCursorSpacing,class:e.normalizeClass([{"u-number-box__input--disabled":t.disabled||t.disabledInput},"u-number-box__input"]),"onUpdate:modelValue":o[6]||(o[6]=e=>r.currentValue=e),onBlur:o[7]||(o[7]=(...e)=>s.onBlur&&s.onBlur(...e)),onFocus:o[8]||(o[8]=(...e)=>s.onFocus&&s.onFocus(...e)),onInput:o[9]||(o[9]=(...e)=>s.onInput&&s.onInput(...e)),type:"number",style:e.normalizeStyle([s.inputStyle])},null,46,["disabled","cursor-spacing"]),[[e.vModelText,r.currentValue]])]),!0),t.showPlus&&t.$slots.plus?(e.openBlock(),e.createElementBlock("view",{key:2,class:"u-number-box__slot cursor-pointer",onClick:o[10]||(o[10]=e.withModifiers((e=>s.clickHandler("plus")),["stop"])),onTouchstart:o[11]||(o[11]=e=>s.onTouchStart("plus")),onTouchend:o[12]||(o[12]=e.withModifiers(((...e)=>s.clearTimeout&&s.clearTimeout(...e)),["stop"]))},[e.renderSlot(t.$slots,"plus",{},void 0,!0)],32)):t.showPlus?(e.openBlock(),e.createElementBlock("view",{key:3,class:e.normalizeClass(["u-number-box__plus cursor-pointer",{"u-number-box__minus--disabled":s.isDisabled("plus")}]),onClick:o[13]||(o[13]=e.withModifiers((e=>s.clickHandler("plus")),["stop"])),onTouchstart:o[14]||(o[14]=e=>s.onTouchStart("plus")),onTouchend:o[15]||(o[15]=e.withModifiers(((...e)=>s.clearTimeout&&s.clearTimeout(...e)),["stop"])),"hover-class":"u-number-box__plus--hover","hover-stay-time":"150",style:e.normalizeStyle([s.buttonStyle("plus")])},[e.createVNode(l,{name:"plus",color:s.isDisabled("plus")?"#c8c9cc":"#323233",size:"15",bold:"",customStyle:t.iconStyle},null,8,["color","customStyle"])],38)):e.createCommentVNode("",!0)])}],["__scopeId","data-v-6a5b208f"]]),Bi={props:{color:{type:String,default:()=>S.link.color},fontSize:{type:[String,Number],default:()=>S.link.fontSize},underLine:{type:Boolean,default:()=>S.link.underLine},href:{type:String,default:()=>S.link.href},mpTips:{type:String,default:()=>S.link.mpTips},lineColor:{type:String,default:()=>S.link.lineColor},text:{type:String,default:()=>S.link.text}}};const Vi=t({name:"u-link",mixins:[x,oe,Bi],computed:{linkStyle(){return{color:this.color,fontSize:H(this.fontSize),lineHeight:H(M(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"}}},emits:["click"],methods:{addStyle:j,openLink(){plus.runtime.openURL(this.href),this.$emit("click")}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("text",{class:"u-link",onClick:o[0]||(o[0]=e.withModifiers(((...e)=>r.openLink&&r.openLink(...e)),["stop"])),style:e.normalizeStyle([r.linkStyle,r.addStyle(t.customStyle)])},e.toDisplayString(t.text),5)}],["__scopeId","data-v-deedae8b"]]),_i={props:{type:{type:String,default:()=>S.text.type},show:{type:Boolean,default:()=>S.text.show},text:{type:[String,Number],default:()=>S.text.text},prefixIcon:{type:String,default:()=>S.text.prefixIcon},suffixIcon:{type:String,default:()=>S.text.suffixIcon},mode:{type:String,default:()=>S.text.mode},href:{type:String,default:()=>S.text.href},format:{type:[String,Function],default:()=>S.text.format},call:{type:Boolean,default:()=>S.text.call},openType:{type:String,default:()=>S.text.openType},bold:{type:Boolean,default:()=>S.text.bold},block:{type:Boolean,default:()=>S.text.block},lines:{type:[String,Number],default:()=>S.text.lines},color:{type:String,default:()=>S.text.color},size:{type:[String,Number],default:()=>S.text.size},iconStyle:{type:[Object,String],default:()=>S.text.iconStyle},decoration:{tepe:String,default:()=>S.text.decoration},margin:{type:[Object,String,Number],default:()=>S.text.margin},lineHeight:{type:[String,Number],default:()=>S.text.lineHeight},align:{type:String,default:()=>S.text.align},wordWrap:{type:String,default:()=>S.text.wordWrap}}};const Ii=t({name:"u--text",mixins:[x,oe,{computed:{value(){const{text:e,mode:t,format:o,href:i}=this;return"price"===t?B.func(o)?o(e):K(e,2):"date"===t?(B.date(e),B.func(o)?o(e):Z(e,o||"yyyy-mm-dd")):"phone"===t?B.func(o)?o(e):"encrypt"===o?`${e.substr(0,3)}****${e.substr(7)}`:e:"name"===t?B.func(o)?o(e):"encrypt"===o?this.formatName(e):e:"link"===t?(B.url(i),e):e}},methods:{formatName(e){let t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){let o="";for(let t=0,i=e.length-2;t<i;t++)o+="*";t=e.substr(0,1)+o+e.substr(-1,1)}else t=e;return t}}},_i],emits:["click"],computed:{valueStyle(){const e={textDecoration:this.decoration,fontWeight:this.bold?"bold":"normal",wordWrap:this.wordWrap,fontSize:H(this.size)};return!this.type&&(e.color=this.color),this.isNvue&&this.lines&&(e.lines=this.lines),this.lineHeight&&(e.lineHeight=H(this.lineHeight)),!this.isNvue&&this.block&&(e.display="block"),W(e,j(this.customStyle))},isNvue:()=>!1,isMp:()=>!1},data:()=>({}),methods:{addStyle:j,clickHandler(){this.call&&"phone"===this.mode&&uni.makePhoneCall({phoneNumber:this.text}),this.$emit("click")}}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-icon"),ge),c=n(e.resolveDynamicComponent("u-link"),Vi);return t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-text",[]]),style:e.normalizeStyle({margin:t.margin,justifyContent:"left"===t.align?"flex-start":"center"===t.align?"center":"flex-end"}),onClick:o[6]||(o[6]=(...e)=>s.clickHandler&&s.clickHandler(...e))},["price"===t.mode?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass(["u-text__price",t.type&&`u-text__value--${t.type}`]),style:e.normalizeStyle([s.valueStyle])},"¥",6)):e.createCommentVNode("",!0),t.prefixIcon?(e.openBlock(),e.createElementBlock("view",{key:1,class:"u-text__prefix-icon"},[e.createVNode(l,{name:t.prefixIcon,customStyle:s.addStyle(t.iconStyle)},null,8,["name","customStyle"])])):e.createCommentVNode("",!0),"link"===t.mode?(e.openBlock(),e.createBlock(c,{key:2,class:e.normalizeClass(["u-text__value",[t.type&&`u-text__value--${t.type}`,t.lines&&`u-line-${t.lines}`]]),style:e.normalizeStyle({fontWeight:s.valueStyle.fontWeight,wordWrap:s.valueStyle.wordWrap,fontSize:s.valueStyle.fontSize}),text:t.value,href:t.href,underLine:""},null,8,["style","class","text","href"])):t.openType&&s.isMp?(e.openBlock(),e.createElementBlock("button",{key:3,class:"u-reset-button u-text__value",style:e.normalizeStyle([s.valueStyle]),"data-index":t.index,openType:t.openType,onGetuserinfo:o[0]||(o[0]=(...e)=>t.onGetUserInfo&&t.onGetUserInfo(...e)),onContact:o[1]||(o[1]=(...e)=>t.onContact&&t.onContact(...e)),onGetphonenumber:o[2]||(o[2]=(...e)=>t.onGetPhoneNumber&&t.onGetPhoneNumber(...e)),onError:o[3]||(o[3]=(...e)=>t.onError&&t.onError(...e)),onLaunchapp:o[4]||(o[4]=(...e)=>t.onLaunchApp&&t.onLaunchApp(...e)),onOpensetting:o[5]||(o[5]=(...e)=>t.onOpenSetting&&t.onOpenSetting(...e)),lang:t.lang,"session-from":t.sessionFrom,"send-message-title":t.sendMessageTitle,"send-message-path":t.sendMessagePath,"send-message-img":t.sendMessageImg,"show-message-card":t.showMessageCard,"app-parameter":t.appParameter},e.toDisplayString(t.value),45,["data-index","openType","lang","session-from","send-message-title","send-message-path","send-message-img","show-message-card","app-parameter"])):(e.openBlock(),e.createElementBlock("text",{key:4,class:e.normalizeClass(["u-text__value",[t.type&&`u-text__value--${t.type}`,t.lines&&`u-line-${t.lines}`]]),style:e.normalizeStyle([s.valueStyle])},e.toDisplayString(t.value),7)),t.suffixIcon?(e.openBlock(),e.createElementBlock("view",{key:5,class:"u-text__suffix-icon"},[e.createVNode(l,{name:t.suffixIcon,customStyle:s.addStyle(t.iconStyle)},null,8,["name","customStyle"])])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)}],["__scopeId","data-v-67bf3f16"]]),Di={__name:"affirm",setup(t){let o=e.ref({num:1}),a=e.ref({}),r=e.ref({is_trusteeship:0,is_buy:0});s((async e=>{let t=await so({id:e.id});a.value=t,uni.$on("buy",(e=>{r.value.is_buy=e})),uni.$on("trusteeship",(e=>{r.value.is_trusteeship=e}))}));let l=e=>{i("log","at pages/shop/affirm.vue:96",e)},c=async()=>{if(!r.value.is_buy)return uni.showToast({title:"请阅读并同意《充电桩购销合同》",icon:"none"});if(!r.value.is_trusteeship)return uni.showToast({title:"请阅读并同意《充电桩托管协议》",icon:"none"});let e=await(t={num:o.value.num,gid:a.value.id},no("/api/v0/orders/addGoodsOrders",t));var t;uni.redirectTo({url:`/pages/order/pay?id=${e.id}&amount=${e.amount}&type=1`})};return(t,i)=>{const s=n(e.resolveDynamicComponent("up-number-box"),Ni),d=n(e.resolveDynamicComponent("up-text"),Ii);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{"background-color":"#ffffff",padding:"20rpx","border-radius":"10rpx","font-size":"30rpx",display:"flex"}},[e.createElementVNode("image",{style:{width:"220rpx",height:"220rpx","border-radius":"16rpx"},src:JSON.parse(e.unref(a).picture)[0],mode:"aspectFit"},null,8,["src"]),e.createElementVNode("view",{style:{padding:"20rpx"}},[e.createElementVNode("view",{style:{color:"#232323"}},e.toDisplayString(e.unref(a).goodsName),1),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",null,[e.createElementVNode("text",null,"单价:"),e.createElementVNode("text",{style:{color:"crimson"}},e.toDisplayString(e.unref(a).salePrice)+"元",1)]),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",null,[e.createElementVNode("text",null,"总价:"),e.createElementVNode("text",{style:{color:"crimson"}},e.toDisplayString(e.unref(a).salePrice*e.unref(o).num)+"元",1)])])]),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{"background-color":"#ffffff",padding:"20rpx","border-radius":"10rpx","font-size":"30rpx",display:"flex","align-items":"center","justify-content":"space-between"}},[e.createElementVNode("view",{class:"u-flex"},[e.createElementVNode("view",null,"购买数量"),e.createElementVNode("view",{style:{width:"10rpx"}})]),e.createElementVNode("view",null,[e.createVNode(s,{modelValue:e.unref(o).num,"onUpdate:modelValue":i[0]||(i[0]=t=>e.unref(o).num=t),inputWidth:"100rpx",onChange:e.unref(l)},null,8,["modelValue","onChange"])])]),e.createElementVNode("view",{style:{"background-color":"#ffffff",padding:"20rpx","border-radius":"10rpx","font-size":"30rpx","margin-top":"30rpx"}},[e.createElementVNode("view",{style:{"font-weight":"700"}},"购买须知:"),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{color:"#dd6161"}},"付款成功后立即生效,并投入生产安装,不支持退款、退货。"),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{display:"flex","align-items":"center","justify-content":"space-between"}},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",null,"阅读并同意:"),e.createElementVNode("navigator",{url:"/pages/protocol/buy?id=14",style:{color:"dodgerblue"},"open-type":"navigate"},[e.createElementVNode("text",null,"《充电桩购销合同》")])]),e.createElementVNode("view",null,[1==e.unref(r).is_buy?(e.openBlock(),e.createBlock(d,{key:0,text:"已同意",type:"primary"})):(e.openBlock(),e.createBlock(d,{key:1,text:"未同意",type:"error"}))])]),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{display:"flex","align-items":"center","justify-content":"space-between"}},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",null,"阅读并同意:"),e.createElementVNode("navigator",{url:"/pages/protocol/trusteeship?id=13",style:{color:"dodgerblue"},"open-type":"navigate"},[e.createElementVNode("text",null,"《充电桩托管协议》")])]),e.createElementVNode("view",null,[1==e.unref(r).is_trusteeship?(e.openBlock(),e.createBlock(d,{key:0,text:"已同意",type:"primary"})):(e.openBlock(),e.createBlock(d,{key:1,text:"未同意",type:"error"}))])])]),e.createElementVNode("view",{style:{display:"flex","justify-content":"center","margin-top":"80rpx"}},[e.createElementVNode("view",{class:"affirm_btn",onClick:i[1]||(i[1]=(...t)=>e.unref(c)&&e.unref(c)(...t))},"确认订单")])])}}},zi=t(Di,[["__scopeId","data-v-765819f5"]]),Ri={props:{name:{type:[String,Number,Boolean],default:()=>S.radio.name},shape:{type:String,default:()=>S.radio.shape},disabled:{type:[String,Boolean],default:()=>S.radio.disabled},labelDisabled:{type:[String,Boolean],default:()=>S.radio.labelDisabled},activeColor:{type:String,default:()=>S.radio.activeColor},inactiveColor:{type:String,default:()=>S.radio.inactiveColor},iconSize:{type:[String,Number],default:()=>S.radio.iconSize},labelSize:{type:[String,Number],default:()=>S.radio.labelSize},label:{type:[String,Number],default:()=>S.radio.label},size:{type:[String,Number],default:()=>S.radio.size},color:{type:String,default:()=>S.radio.color},labelColor:{type:String,default:()=>S.radio.labelColor},iconColor:{type:String,default:()=>S.radio.iconColor}}},Pi={name:"u-radio",mixins:[x,oe,Ri],data:()=>({checked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:null,activeColor:null,inactiveColor:null,size:18,value:null,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return H(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.checked?this.elInactiveColor:"transparent":this.checked?e:"transparent"},iconClasses(){let e=[];return e.push("u-radio__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-radio__icon-wrap--disabled"),this.checked&&this.elDisabled&&e.push("u-radio__icon-wrap--disabled--checked"),e},iconWrapStyle(){const e={};return e.backgroundColor=this.checked&&!this.elDisabled?this.elActiveColor:"#ffffff",e.borderColor=this.checked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,e.width=H(this.elSize),e.height=H(this.elSize),"right"===this.parentData.iconPlacement&&(e.marginRight=0),e},radioStyle(){const e={};return this.parentData.borderBottom&&this.parentData.placement,this.parentData.borderBottom&&"column"===this.parentData.placement&&(e.paddingBottom="ios"===F()?"12px":"8px"),W(e,j(this.customStyle))}},mounted(){this.init()},emits:["change"],methods:{init(){this.updateParentData(),this.parent,this.checked=this.name===this.parentData.modelValue},updateParentData(){this.getParentData("u-radio-group")},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},wrapperClickHandler(e){"right"===this.parentData.iconPlacement&&this.iconClickHandler(e)},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.checked||(this.$emit("change",this.name),this.$nextTick((()=>{X(this,"change")})))},setRadioCheckedStatus(){this.emitEvent(),this.checked=!0,"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}}};const Mi=t(Pi,[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-icon"),ge);return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-radio cursor-pointer",[`u-radio-label--${r.parentData.iconPlacement}`,r.parentData.borderBottom&&"column"===r.parentData.placement&&"u-border-bottom"]]),onClick:o[2]||(o[2]=e.withModifiers(((...e)=>s.wrapperClickHandler&&s.wrapperClickHandler(...e)),["stop"])),style:e.normalizeStyle([s.radioStyle])},[e.createElementVNode("view",{class:e.normalizeClass(["u-radio__icon-wrap cursor-pointer",s.iconClasses]),onClick:o[0]||(o[0]=e.withModifiers(((...e)=>s.iconClickHandler&&s.iconClickHandler(...e)),["stop"])),style:e.normalizeStyle([s.iconWrapStyle])},[e.renderSlot(t.$slots,"icon",{},(()=>[e.createVNode(l,{class:"u-radio__icon-wrap__icon",name:"checkbox-mark",size:s.elIconSize,color:s.elIconColor},null,8,["size","color"])]),!0)],6),e.renderSlot(t.$slots,"default",{},(()=>[e.createElementVNode("text",{class:"u-radio__text",onClick:o[1]||(o[1]=e.withModifiers(((...e)=>s.labelClickHandler&&s.labelClickHandler(...e)),["stop"])),style:e.normalizeStyle({color:s.elDisabled?s.elInactiveColor:s.elLabelColor,fontSize:s.elLabelSize,lineHeight:s.elLabelSize})},e.toDisplayString(t.label),5)]),!0)],6)}],["__scopeId","data-v-5eb41e57"]]),Li={props:{modelValue:{type:[String,Number,Boolean],default:()=>S.radioGroup.value},disabled:{type:Boolean,default:()=>S.radioGroup.disabled},shape:{type:String,default:()=>S.radioGroup.shape},activeColor:{type:String,default:()=>S.radioGroup.activeColor},inactiveColor:{type:String,default:()=>S.radioGroup.inactiveColor},name:{type:String,default:()=>S.radioGroup.name},size:{type:[String,Number],default:()=>S.radioGroup.size},placement:{type:String,default:()=>S.radioGroup.placement},label:{type:[String],default:()=>S.radioGroup.label},labelColor:{type:[String],default:()=>S.radioGroup.labelColor},labelSize:{type:[String,Number],default:()=>S.radioGroup.labelSize},labelDisabled:{type:Boolean,default:()=>S.radioGroup.labelDisabled},iconColor:{type:String,default:()=>S.radioGroup.iconColor},iconSize:{type:[String,Number],default:()=>S.radioGroup.iconSize},borderBottom:{type:Boolean,default:()=>S.radioGroup.borderBottom},iconPlacement:{type:String,default:()=>S.radio.iconPlacement}}};const Fi=t({name:"u-radio-group",mixins:[x,oe,Li],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("radio-group",["placement"])}},watch:{parentData(){this.children.length&&this.children.map((e=>{"function"==typeof e.init&&e.init()}))}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){this.children.map((t=>{e!==t&&(t.checked=!1)}));const{name:t}=e;this.$emit("update:modelValue",t),this.$emit("change",t)}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-radio-group",r.bemClass])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],2)}],["__scopeId","data-v-4cf1a51a"]]),Oi={__name:"pay",setup(t){let o=e.ref(""),a=e.ref(0),l=e.ref(0),c=e.ref(1);s((async e=>{o.value=e.id,a.value=e.amount,c.value=e.type;let{id:t}=uni.getStorageSync("user"),{points2:i}=await ro({id:t});l.value=i})),r((async()=>{}));let d=e.reactive({pay_type:3}),u=async()=>{let e;if(1==d.pay_type){e=1==c.value?await((e,t={})=>no("/api/v0/payment/jqbPaymentGoods",e,"POST",{"Content-Type":"application/x-www-form-urlencoded"}))({id:o.value}):await((e,t={})=>no("/api/v0/payment/jqbPaymentPackages",e,"POST",{"Content-Type":"application/x-www-form-urlencoded"}))({id:o.value});const t=encodeURIComponent(e.data.payData);uni.openEmbeddedMiniProgram({appId:"wx6b356867c5eb25ed",envVersion:"release",path:`pages/hub/miniLite?q=${t}&amount=${e.amount}`,success:e=>{i("log","at pages/order/pay.vue:107",e)},fail:e=>{i("log","at pages/order/pay.vue:110",e)},complete:e=>{uni.hideLoading()}})}var t;3==d.pay_type&&(e=1==c.value?await(t={id:o.value},no("/api/v0/payment/walletPaymentGoods",t,"POST",{"Content-Type":"application/x-www-form-urlencoded"})):await((e,t={})=>no("/api/v0/payment/walletPaymentPackages",e,"POST",{"Content-Type":"application/x-www-form-urlencoded"}))({id:o.value}),uni.redirectTo({url:`/pages/order/success?id=${o.value}&amount=${e.amount}&orderNo=${e.orderNo?e.orderNo:""}&createTime=${e.createTime?e.createTime:""}`})),i("log","at pages/order/pay.vue:123",e)};return(t,o)=>{const i=n(e.resolveDynamicComponent("up-icon"),ge),r=n(e.resolveDynamicComponent("up-radio"),Mi),s=n(e.resolveDynamicComponent("up-radio-group"),Fi);return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{"background-color":"#ffffff","border-radius":"10rpx",padding:"30rpx","text-align":"center"}},[e.createElementVNode("view",{style:{color:"#fa3534"}},[e.createElementVNode("text",{style:{"font-size":"30rpx"}},"¥"),e.createElementVNode("text",{style:{"font-size":"36rpx","font-weight":"700"}},e.toDisplayString(e.unref(a)),1)]),e.createElementVNode("view",{style:{color:"#909399","font-size":"28rpx"}},"支付金额")]),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{"background-color":"#fff",padding:"30rpx","border-radius":"10rpx"}},[e.createElementVNode("view",{style:{"font-size":"28rpx"}},"支付方式"),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createVNode(s,{modelValue:e.unref(d).pay_type,"onUpdate:modelValue":o[0]||(o[0]=t=>e.unref(d).pay_type=t),iconPlacement:"right",borderBottom:!0,placement:"column"},{default:e.withCtx((()=>[e.createVNode(r,{name:3},{default:e.withCtx((()=>[e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createVNode(i,{name:"/static/icon/money.png",imgMode:"widthFix",size:"50rpx"}),e.createElementVNode("view",{style:{width:"20rpx"}}),e.createElementVNode("view",null,[e.createElementVNode("view",{style:{"font-size":"30rpx"}},"余额支付"),e.createElementVNode("view",{style:{"font-size":"28rpx",color:"#909399"}},"当前余额:¥"+e.toDisplayString(e.unref(l)),1)])])])),_:1})])),_:1},8,["modelValue"])]),e.createElementVNode("view",{style:{height:"100rpx"}}),e.createElementVNode("view",{style:{display:"flex","justify-content":"center","margin-top":"80rpx"}},[e.createElementVNode("view",{class:"affirm_btn",onClick:o[1]||(o[1]=(...t)=>e.unref(u)&&e.unref(u)(...t))},"确认支付")])])}}},Ui={props:{dashed:{type:Boolean,default:()=>S.divider.dashed},hairline:{type:Boolean,default:()=>S.divider.hairline},dot:{type:Boolean,default:()=>S.divider.dot},textPosition:{type:String,default:()=>S.divider.textPosition},text:{type:[String,Number],default:()=>S.divider.text},textSize:{type:[String,Number],default:()=>S.divider.textSize},textColor:{type:String,default:()=>S.divider.textColor},lineColor:{type:String,default:()=>S.divider.lineColor}}};const ji=t({name:"u-divider",mixins:[x,oe,Ui],computed:{textStyle(){const e={};return e.fontSize=H(this.textSize),e.color=this.textColor,e},leftLineStyle(){const e={};return"left"===this.textPosition?e.width="80rpx":e.flex=1,e},rightLineStyle(){const e={};return"right"===this.textPosition?e.width="80rpx":e.flex=1,e}},emits:["click"],methods:{addStyle:j,click(){this.$emit("click")}}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-line"),mi);return e.openBlock(),e.createElementBlock("view",{class:"u-divider",style:e.normalizeStyle([s.addStyle(t.customStyle)]),onClick:o[0]||(o[0]=(...e)=>s.click&&s.click(...e))},[e.createVNode(l,{color:t.lineColor,customStyle:s.leftLineStyle,hairline:t.hairline,dashed:t.dashed},null,8,["color","customStyle","hairline","dashed"]),t.dot?(e.openBlock(),e.createElementBlock("text",{key:0,class:"u-divider__dot"},"●")):t.text?(e.openBlock(),e.createElementBlock("text",{key:1,class:"u-divider__text",style:e.normalizeStyle([s.textStyle])},e.toDisplayString(t.text),5)):e.createCommentVNode("",!0),e.createVNode(l,{color:t.lineColor,customStyle:s.rightLineStyle,hairline:t.hairline,dashed:t.dashed},null,8,["color","customStyle","hairline","dashed"])],4)}],["__scopeId","data-v-7ce48322"]]),Hi={__name:"setMeal",setup(t){let o=e.ref({});const{nav:i,navTo:a}=Pt(),r=e.ref(!1);return uni.getSystemInfoSync().statusBarHeight,e.ref(["/static/图层 979.png"]),s((async e=>{let t=await co({id:e.id});o.value=t})),l((e=>{e.scrollTop>uni.getSystemInfoSync().statusBarHeight+44?r.value=!0:r.value=!1})),(t,i)=>{const r=n(e.resolveDynamicComponent("up-swiper"),ue),s=n(e.resolveDynamicComponent("up-divider"),ji);return e.openBlock(),e.createElementBlock("view",{class:"shop"},[e.createVNode(r,{list:JSON.parse(e.unref(o).picture),height:"759rpx"},null,8,["list"]),e.createElementVNode("view",{class:"p30"},[e.createElementVNode("view",{class:"shop_info"},[e.createElementVNode("view",{class:"shop_info_mon"},"¥ "+e.toDisplayString(e.unref(o).salePrice),1),e.createElementVNode("view",{class:"shop_info_tit"},e.toDisplayString(e.unref(o).packagesName),1)])]),e.createElementVNode("view",{style:{margin:"30rpx 0",padding:"0 150rpx"}},[e.createVNode(s,{text:"套餐包含"})]),e.createElementVNode("view",{class:"p30"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o).goodsVOList,((t,o)=>(e.openBlock(),e.createElementBlock("view",{style:{"background-color":"#ffffff",padding:"20rpx","border-radius":"10rpx","font-size":"30rpx",display:"flex"},key:o},[e.createElementVNode("image",{style:{width:"220rpx",height:"220rpx","border-radius":"16rpx"},mode:"aspectFit",src:JSON.parse(t.picture)[0]},null,8,["src"]),e.createElementVNode("view",{style:{padding:"20rpx"}},[e.createElementVNode("view",{style:{color:"#232323"}},e.toDisplayString(t.goodsName),1),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",null,[e.createElementVNode("text",null,"单价:"),e.createElementVNode("text",{style:{color:"crimson"}},e.toDisplayString(t.salePrice)+"元",1)]),e.createElementVNode("view",{style:{height:"20rpx"}})])])))),128))]),e.createElementVNode("view",{style:{margin:"30rpx 0","font-size":"30rpx",color:"#333","text-align":"center"}},"详情介绍"),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(JSON.parse(e.unref(o).details),((t,o)=>(e.openBlock(),e.createElementBlock("image",{style:{width:"100%"},mode:"widthFix",src:t,key:o},null,8,["src"])))),128)),e.createElementVNode("view",{style:{height:"150rpx"}}),e.createElementVNode("view",{class:"shop_btn"},[e.createElementVNode("view",{class:"shop_btn_btn",onClick:i[0]||(i[0]=t=>e.unref(a)(`/pages/setMeal/affirm?id=${e.unref(o).id}`,!0))},"立即下单")])])}}},Qi=t(Hi,[["__scopeId","data-v-b21ad1b5"]]),Wi={__name:"affirm",setup(t){let o=e.ref({num:1}),a=e.ref({});s((async e=>{let t=await co({id:e.id});a.value=t}));let r=e=>{i("log","at pages/setMeal/affirm.vue:52",e)},l=async()=>{let{id:e}=uni.getStorageSync("user"),t=await(i={userId:e,num:o.value.num,gid:a.value.id},no("/api/v0/orders/addGoodsPackageOrders",i));var i;uni.redirectTo({url:`/pages/order/pay?id=${t.id}&amount=${t.amount}&type=2`})};return(t,i)=>{const s=n(e.resolveDynamicComponent("up-number-box"),Ni);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{"background-color":"#ffffff",padding:"20rpx","border-radius":"10rpx","font-size":"30rpx",display:"flex"}},[e.createElementVNode("image",{style:{width:"220rpx",height:"220rpx","border-radius":"16rpx"},mode:"aspectFit",src:JSON.parse(e.unref(a).picture)[0]},null,8,["src"]),e.createElementVNode("view",{style:{padding:"20rpx"}},[e.createElementVNode("view",{style:{color:"#232323"}},e.toDisplayString(e.unref(a).packagesName),1),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",null,[e.createElementVNode("text",null,"单价:"),e.createElementVNode("text",{style:{color:"crimson"}},e.toDisplayString(e.unref(a).salePrice)+"元",1)]),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",null,[e.createElementVNode("text",null,"总价:"),e.createElementVNode("text",{style:{color:"crimson"}},e.toDisplayString(e.unref(a).salePrice*e.unref(o).num)+"元",1)])])]),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{"background-color":"#ffffff",padding:"20rpx","border-radius":"10rpx","font-size":"30rpx",display:"flex","align-items":"center","justify-content":"space-between"}},[e.createElementVNode("view",{class:"u-flex"},[e.createElementVNode("view",null,"购买数量"),e.createElementVNode("view",{style:{width:"10rpx"}})]),e.createElementVNode("view",null,[e.createVNode(s,{modelValue:e.unref(o).num,"onUpdate:modelValue":i[0]||(i[0]=t=>e.unref(o).num=t),inputWidth:"100rpx",onChange:e.unref(r)},null,8,["modelValue","onChange"])])]),e.createElementVNode("view",{style:{display:"flex","justify-content":"center","margin-top":"80rpx"}},[e.createElementVNode("view",{class:"affirm_btn",onClick:i[1]||(i[1]=(...t)=>e.unref(l)&&e.unref(l)(...t))},"确认订单")])])}}},Gi=t(Wi,[["__scopeId","data-v-9a34d705"]]),Zi={__name:"setMealList",setup(t){e.reactive(["https://cdn.uviewui.com/uview/swiper/swiper1.png","https://cdn.uviewui.com/uview/swiper/swiper2.png","https://cdn.uviewui.com/uview/swiper/swiper3.png"]);const o=e.ref(null);let i=e.ref([]),a=()=>!o.value;d((()=>{a()||o.value.reload().catch((()=>{}))})),l((e=>{a()||(o.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&o.value.doChatRecordLoadMore())})),c((()=>{a()||o.value.pageReachBottom()})),e.reactive([{img:"/static/icon/dz.png",name:"我的电桩",path:"/pages/piles/piles"},{img:"/static/icon/zz.png",name:"成为桩柱"},{img:"/static/icon/kf.png",name:"联系客服"},{img:"/static/icon/share.png",name:"分享海报"}]);let r=e=>{uni.navigateTo({url:"/pages/setMeal/setMeal?id="+e.id})};const s=(e,t)=>{((e,t={})=>no("/api/v0/goodsPackages/selectListByPage",e))({current:e,pageSize:t}).then((e=>{o.value.complete(e.records)})).catch((e=>{o.value.complete(!1)}))};return(t,a)=>{const l=n(e.resolveDynamicComponent("z-paging"),Dt);return e.openBlock(),e.createElementBlock("view",{class:"p30",style:{"padding-bottom":"150rpx"}},[e.createVNode(l,{ref_key:"paging",ref:o,modelValue:e.unref(i),"onUpdate:modelValue":a[0]||(a[0]=t=>e.isRef(i)?i.value=t:i=t),"use-page-scroll":"",onQuery:s},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"shopList"},[e.createElementVNode("view",{class:"shopList_list"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i),(t=>(e.openBlock(),e.createElementBlock("view",{class:"shopList_list_view",key:t,onClick:o=>e.unref(r)(t)},[e.createElementVNode("image",{class:"shopList_list_view_img",src:JSON.parse(t.picture)[0],mode:"aspectFit"},null,8,["src"]),e.createElementVNode("view",{class:"shopList_list_view_tit"},e.toDisplayString(t.packagesName),1),e.createElementVNode("view",{class:"shopList_list_view_mon"},[e.createElementVNode("view",{class:"shopList_list_view_mon_left"},"¥"+e.toDisplayString(t.salePrice)+" 元",1)])],8,["onClick"])))),128))])])])),_:1},8,["modelValue"])])}}},Yi=t(Zi,[["__scopeId","data-v-d053f770"]]),qi={data:()=>({options:{amount:"",orderNo:"",createTime:""},images:{warning:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAE+pJREFUeF7tnc/LHtUVx++gKJUGNBZe6EZT180qew0Ywb/ARQTjzm6FEnBjshGk4FZ3voJZ+BcUTMFkXVftuvV1Uwj4C1IsLZVpzvvOpOOT+XHvnXtm7rn3M5DkzfvM3Dnne879Puece+5M4zhAAASqRaCpVnMUBwEQcBBAAU7Qtu3znRovOeeec871/5dfj/08/F2PwMkBFP3/h7+Xn792zp00TXOnAOiqVwECMOIC3SSXiftiJ7L8LH9k0u919OTQk8FdIYeOIA4JZS8Zue8MAhBAhu5xMNllgu85yWMROiWCB7ILOdwlYoiFUfc6CEAXX6/RC5nwS7oOowUhhOOlC/hcHwEIQB/jR+7QTfg3ug+uHeTpO0i02y2HEQKEsIMZIICNQB9MeqshvTZSfcrwCdGBNtT/Hx8CUMSaSR8NLmQQDV3YhRBAGF6LZw8mvVToJbznWIcAacI6/GavhgASgdu2rYT2ktcz6RNhOjIMZJAYWwhgJaBt277bTfqx5pqVo3P5DAJCBsdN09wEpXgEIIAI7AZh/o2Iy7kkLQIQwQo8IYAA8Jj4AWBtf+opETjnZBWBLkRP/CEAD6C6id+H+h5XcMqOCPR1AiEC9issGAICmAGoK+zJxLfYirvjHMzm1kIGN+krmLYHBDCCTfeN/zETP5uJvFYQiQTeJDV4FEYIYIAJOf7aeZb19RQLR8wDAXSgdMt5VPWznsNJhIMIBjBWTwCE+0kmlcVBhAgkLai6UFgtARDuW5yzKjLL0qEUCqtcOqySAAj3VSaS5UGrTQuq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6BisCdFh0w4YYb/MBB/aZwcHl0iW0wBMmiB0WzbgMIEWKxo2DcotgE1hycwMV+KDBXQNahq1bpR9/hDe8QCczExqG2/dh+Pjx0PryuLWufP4MnTxZOn4Brgi8jv7WLWkXhyY3b0Kr7pSKGFBAz5+NC9eNFXWFfzZuwQL2i3R8hCpE8+bQ9evdHRNp8Ba8detcB0bYuAPHNGkCRy1fDn3yRDp0/sErq5Yt43JJ+zdsgSP79HEfXTx6BJVavcvLqx8+5M2kSK9hzV2IEfZ9jmt9u/PUK4yTu3fHdVwcrvnn4/nM3Bp+Pp4UKeKHKiUlyF9Y6Dq4QiuttOfPx/NCk/Djf0hQD04eJaNOAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTEwLTI3VDE0OjAzOjAyKzA4OjAwisT1owAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMC0yN1QxNDowMzowMiswODowMPuZTR8AAABQdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uX3ZwM212emVpcjcvemhpZnVjaGVuZ2dvbmcuc3ZntdPldAAAAABJRU5ErkJggg=="},color:{wxpay:"#4874e5",alipay:"#4874e5"},type:""}),onLoad(e={}){e.createTime=new Date(e.createTime).getTime(),this.options=e,this.type=e.type},methods:{timeFormat(e,t="yyyy-MM-dd hh:mm:ss",o=8){try{if(!e)return"";let i;"string"!=typeof e||isNaN(e)||(e=Number(e)),"number"==typeof e?(10==e.toString().length&&(e*=1e3),i=new Date(e)):i=e;const n=60*i.getTimezoneOffset()*1e3+60*o*60*1e3,a=i.getTime()+n;i=new Date(a);let r={"M+":i.getMonth()+1,"d+":i.getDate(),"h+":i.getHours(),"m+":i.getMinutes(),"s+":i.getSeconds(),"q+":Math.floor((i.getMonth()+3)/3),S:i.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(i.getFullYear()+"").substr(4-RegExp.$1.length)));for(let e in r)new RegExp("("+e+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?r[e]:("00"+r[e]).substr((""+r[e]).length)));return t}catch(i){return e}},queryOrder(){uni.navigateTo({url:`/pages/order/details?id=${this.options.id}`})},queryHome(){uni.reLaunch({url:"/pages/index/index"})},onaderror(e){i("log","at pages/order/success.vue:113","ad-error",e)}},watch:{mainColorCom:{immediate:!0,handler(e,t){setTimeout((function(){uni.setNavigationBarColor({frontColor:"#ffffff",backgroundColor:e})}),0)}}},computed:{mainColorCom(){let e="";return e=this.options.main_color||this.color.wxpay,e},styleCom(){return`--main:${this.mainColorCom};`}}};const Ji=t(qi,[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:"app",style:e.normalizeStyle(r.styleCom)},[e.createElementVNode("view",{class:"header"},[e.createElementVNode("image",{src:a.images[a.type?"warning":"success"],class:"success-image"},null,8,["src"]),e.createElementVNode("view",{class:"success-title"},e.toDisplayString(a.type?"未检测到支付结果":"支付成功"),1),e.createElementVNode("view",{class:"hr"})]),e.createElementVNode("view",{class:"info-box"},[e.createElementVNode("view",{class:"info-amount"},"¥ "+e.toDisplayString(Number(a.options.amount).toFixed(2)),1),a.options.orderNo||a.options.createTime?(e.openBlock(),e.createElementBlock("view",{key:0,class:"left-circle"})):e.createCommentVNode("",!0),a.options.orderNo||a.options.createTime?(e.openBlock(),e.createElementBlock("view",{key:1,class:"right-circle"})):e.createCommentVNode("",!0),a.options.orderNo||a.options.createTime?(e.openBlock(),e.createElementBlock("view",{key:2,class:"info-main"},[a.options.orderNo?(e.openBlock(),e.createElementBlock("view",{key:0,class:"info-cell"},[e.createElementVNode("view",{class:"left"},"订单编号"),e.createElementVNode("view",{class:"right"},e.toDisplayString(a.options.orderNo),1)])):e.createCommentVNode("",!0),a.options.createTime?(e.openBlock(),e.createElementBlock("view",{key:1,class:"info-cell"},[e.createElementVNode("view",{class:"left"},"付款时间"),e.createElementVNode("view",{class:"right"},e.toDisplayString(r.timeFormat(a.options.createTime,"yyyy-MM-dd hh:mm:ss")),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"button-query",onClick:o[0]||(o[0]=(...e)=>r.queryOrder&&r.queryOrder(...e))},"查看订单"),e.createElementVNode("view",{class:"button-query1",onClick:o[1]||(o[1]=(...e)=>r.queryHome&&r.queryHome(...e))},"返回首页"),e.createElementVNode("view",{class:"footer-hr"})],4)}],["__scopeId","data-v-5b8926e8"]]),Ki=e=>{(e.$wxs||(e.$wxs=[])).push("handler"),(e.$wxsModules||(e.$wxsModules={})).handler="2f992f8c"},Xi={name:"node",options:{},data:()=>({ctrl:{}}),props:{name:String,attrs:{type:Object,default:()=>({})},childs:Array,opts:Array},components:{},mounted(){if(this.$nextTick((()=>{for(this.root=this.$parent;"mp-html"!==this.root.$options.name;this.root=this.root.$parent);})),this.opts[0]){let e;for(e=this.childs.length;e--&&"img"!==this.childs[e].name;);-1!==e&&(this.observer=uni.createIntersectionObserver(this).relativeToViewport({top:500,bottom:500}),this.observer.observe("._img",(e=>{e.intersectionRatio&&(this.$set(this.ctrl,"load",1),this.observer.disconnect())})))}},beforeDestroy(){this.observer&&this.observer.disconnect()},methods:{play(e){const t=e.currentTarget.dataset.i,o=this.childs[t];this.root.$emit("play",{source:o.name,attrs:{...o.attrs,src:o.src[this.ctrl[t]||0]}})},imgTap(e){const t=this.childs[e.currentTarget.dataset.i];t.a?this.linkTap(t.a):t.attrs.ignore||(t.attrs.src=t.attrs.src||t.attrs["data-src"],this.root.$emit("imgtap",t.attrs),this.root.previewImg&&uni.previewImage({current:parseInt(t.attrs.i),urls:this.root.imgList}))},imgLongTap(e){const t=this.childs[e.currentTarget.dataset.i].attrs;this.opts[3]&&!t.ignore&&uni.showActionSheet({itemList:["保存图片"],success:()=>{const e=e=>{uni.saveImageToPhotosAlbum({filePath:e,success(){uni.showToast({title:"保存成功"})}})};this.root.imgList[t.i].startsWith("http")?uni.downloadFile({url:this.root.imgList[t.i],success:t=>e(t.tempFilePath)}):e(this.root.imgList[t.i])}})},imgLoad(e){const t=e.currentTarget.dataset.i;this.childs[t].w?(this.opts[1]&&!this.ctrl[t]||-1===this.ctrl[t])&&this.$set(this.ctrl,t,1):this.$set(this.ctrl,t,e.detail.width),this.checkReady()},checkReady(){this.root&&!this.root.lazyLoad&&(this.root._unloadimgs-=1,this.root._unloadimgs||setTimeout((()=>{this.root.getRect().then((e=>{this.root.$emit("ready",e)})).catch((()=>{this.root.$emit("ready",{})}))}),350))},linkTap(e){const t=e.currentTarget?this.childs[e.currentTarget.dataset.i]:{},o=t.attrs||e,i=o.href;this.root.$emit("linktap",Object.assign({innerText:this.root.getText(t.children||[])},o)),i&&("#"===i[0]?this.root.navigateTo(i.substring(1)).catch((()=>{})):i.split("?")[0].includes("://")?this.root.copyLink&&plus.runtime.openWeb(i):uni.navigateTo({url:i,fail(){uni.switchTab({url:i,fail(){}})}}))},mediaError(e){const t=e.currentTarget.dataset.i,o=this.childs[t];if("video"===o.name||"audio"===o.name){let e=(this.ctrl[t]||0)+1;if(e>o.src.length&&(e=0),e<o.src.length)return void this.$set(this.ctrl,t,e)}else"img"===o.name&&(this.opts[2]&&this.$set(this.ctrl,t,-1),this.checkReady());this.root&&this.root.$emit("error",{source:o.name,attrs:o.attrs,errMsg:e.detail.errMsg})}}};Ki(Xi);const $i=t(Xi,[["render",function(t,o,i,n,a,r){const s=e.resolveComponent("node",!0);return e.openBlock(),e.createElementBlock("view",{id:i.attrs.id,class:e.normalizeClass("_block _"+i.name+" "+i.attrs.class),style:e.normalizeStyle(i.attrs.style)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.childs,((t,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},["img"===t.name&&!t.t&&(i.opts[1]&&!a.ctrl[n]||a.ctrl[n]<0)?(e.openBlock(),e.createElementBlock("image",{key:0,class:"_img",style:e.normalizeStyle(t.attrs.style),src:a.ctrl[n]<0?i.opts[2]:i.opts[1],mode:"widthFix"},null,12,["src"])):e.createCommentVNode("",!0),"img"===t.name&&t.t?(e.openBlock(),e.createElementBlock("rich-text",{key:1,style:e.normalizeStyle("display:"+t.t),nodes:[{attrs:{style:t.attrs.style||"",src:t.attrs.src},name:"img"}],"data-i":n,onClick:o[0]||(o[0]=e.withModifiers(((...e)=>r.imgTap&&r.imgTap(...e)),["stop"]))},null,12,["nodes","data-i"])):"img"===t.name?(e.openBlock(),e.createElementBlock("image",{key:2,id:t.attrs.id,class:e.normalizeClass("_img "+t.attrs.class),style:e.normalizeStyle((-1===a.ctrl[n]?"display:none;":"")+"width:"+(a.ctrl[n]||1)+"px;"+t.attrs.style),src:t.attrs.src||(a.ctrl.load?t.attrs["data-src"]:""),mode:t.h?t.w?t.m||"":"heightFix":"widthFix","data-i":n,onLoad:o[1]||(o[1]=(...e)=>r.imgLoad&&r.imgLoad(...e)),onError:o[2]||(o[2]=(...e)=>r.mediaError&&r.mediaError(...e)),onClick:o[3]||(o[3]=e.withModifiers(((...e)=>r.imgTap&&r.imgTap(...e)),["stop"])),onLongpress:o[4]||(o[4]=(...e)=>r.imgLongTap&&r.imgLongTap(...e))},null,46,["id","src","mode","data-i"])):t.text?(e.openBlock(),e.createElementBlock("text",{key:3,decode:""},e.toDisplayString(t.text),1)):"br"===t.name?(e.openBlock(),e.createElementBlock("text",{key:4},"\\n")):"a"===t.name?(e.openBlock(),e.createElementBlock("view",{key:5,id:t.attrs.id,class:e.normalizeClass((t.attrs.href?"_a ":"")+t.attrs.class),"hover-class":"_hover",style:e.normalizeStyle("display:inline;"+t.attrs.style),"data-i":n,onClick:o[5]||(o[5]=e.withModifiers(((...e)=>r.linkTap&&r.linkTap(...e)),["stop"]))},[e.createVNode(s,{name:"span",childs:t.children,opts:i.opts,style:{display:"inherit"}},null,8,["childs","opts"])],14,["id","data-i"])):t.html?(e.openBlock(),e.createElementBlock("view",{key:6,id:t.attrs.id,class:e.normalizeClass("_video "+t.attrs.class),style:e.normalizeStyle(t.attrs.style),innerHTML:t.html,onVplay:o[6]||(o[6]=e.withModifiers(((...e)=>r.play&&r.play(...e)),["stop"]))},null,46,["id","innerHTML"])):"iframe"===t.name?(e.openBlock(),e.createElementBlock("iframe",{key:7,style:e.normalizeStyle(t.attrs.style),allowfullscreen:t.attrs.allowfullscreen,frameborder:t.attrs.frameborder,src:t.attrs.src},null,12,["allowfullscreen","frameborder","src"])):"embed"===t.name?(e.openBlock(),e.createElementBlock("embed",{key:8,style:e.normalizeStyle(t.attrs.style),src:t.attrs.src},null,12,["src"])):"table"===t.name&&t.c||"li"===t.name?(e.openBlock(),e.createElementBlock("view",{key:9,id:t.attrs.id,class:e.normalizeClass("_"+t.name+" "+t.attrs.class),style:e.normalizeStyle(t.attrs.style)},["li"===t.name?(e.openBlock(),e.createBlock(s,{key:0,childs:t.children,opts:i.opts},null,8,["childs","opts"])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.children,((t,o)=>(e.openBlock(),e.createElementBlock("view",{key:o,class:e.normalizeClass("_"+t.name+" "+t.attrs.class),style:e.normalizeStyle(t.attrs.style)},["td"===t.name||"th"===t.name?(e.openBlock(),e.createBlock(s,{key:0,childs:t.children,opts:i.opts},null,8,["childs","opts"])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.children,((t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},["td"===t.name||"th"===t.name?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass("_"+t.name+" "+t.attrs.class),style:e.normalizeStyle(t.attrs.style)},[e.createVNode(s,{childs:t.children,opts:i.opts},null,8,["childs","opts"])],6)):(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass("_"+t.name+" "+t.attrs.class),style:e.normalizeStyle(t.attrs.style)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.children,((t,o)=>(e.openBlock(),e.createElementBlock("view",{key:o,class:e.normalizeClass("_"+t.name+" "+t.attrs.class),style:e.normalizeStyle(t.attrs.style)},[e.createVNode(s,{childs:t.children,opts:i.opts},null,8,["childs","opts"])],6)))),128))],6))],64)))),128))],6)))),128))],14,["id"])):t.c?2===t.c?(e.openBlock(),e.createElementBlock("view",{key:11,id:t.attrs.id,class:e.normalizeClass("_block _"+t.name+" "+t.attrs.class),style:e.normalizeStyle(t.f+";"+t.attrs.style)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.children,((t,o)=>(e.openBlock(),e.createBlock(s,{key:o,style:e.normalizeStyle(t.f),name:t.name,attrs:t.attrs,childs:t.children,opts:i.opts},null,8,["style","name","attrs","childs","opts"])))),128))],14,["id"])):(e.openBlock(),e.createBlock(s,{key:12,style:e.normalizeStyle(t.f),name:t.name,attrs:t.attrs,childs:t.children,opts:i.opts},null,8,["style","name","attrs","childs","opts"])):(e.openBlock(),e.createElementBlock("rich-text",{key:10,id:t.attrs.id,style:e.normalizeStyle("display:inline;"+t.f),preview:!1,selectable:i.opts[4],"user-select":i.opts[4],nodes:[t]},null,12,["id","selectable","user-select","nodes"]))],64)))),128))],14,["id"])}],["__scopeId","data-v-57a82ba3"]]),en={trustTags:rn("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),blockTags:rn("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),inlineTags:rn("abbr,b,big,code,del,em,i,ins,label,q,small,span,strong,sub,sup"),ignoreTags:rn("area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr"),voidTags:rn("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),entities:{lt:"<",gt:">",quot:'"',apos:"'",ensp:"",emsp:"",nbsp:" ",semi:";",ndash:"",mdash:"—",middot:"·",lsquo:"",rsquo:"",ldquo:"“",rdquo:"”",bull:"•",hellip:"…",larr:"←",uarr:"↑",rarr:"→",darr:"↓"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",strike:"text-decoration:line-through",u:"text-decoration:underline"},svgDict:{animatetransform:"animateTransform",lineargradient:"linearGradient",viewbox:"viewBox",attributename:"attributeName",repeatcount:"repeatCount",repeatdur:"repeatDur",foreignobject:"foreignObject"}},tn={},{windowWidth:on}=uni.getSystemInfoSync(),nn=rn(" ,\r,\n,\t,\f");let an=0;function rn(e){const t=Object.create(null),o=e.split(",");for(let i=o.length;i--;)t[o[i]]=!0;return t}function sn(e,t){let o=e.indexOf("&");for(;-1!==o;){const i=e.indexOf(";",o+3);let n;if(-1===i)break;"#"===e[o+1]?(n=parseInt(("x"===e[o+2]?"0":"")+e.substring(o+2,i)),isNaN(n)||(e=e.substr(0,o)+String.fromCharCode(n)+e.substr(i+1))):(n=e.substring(o+1,i),(en.entities[n]||"amp"===n&&t)&&(e=e.substr(0,o)+(en.entities[n]||"&")+e.substr(i+1))),o=e.indexOf("&",o+1)}return e}function ln(e){let t=e.length-1;for(let o=t;o>=-1;o--)(-1===o||e[o].c||!e[o].name||"div"!==e[o].name&&"p"!==e[o].name&&"h"!==e[o].name[0]||(e[o].attrs.style||"").includes("inline"))&&(t-o>=5&&e.splice(o+1,t-o,{name:"div",attrs:{},children:e.slice(o+1,t+1)}),t=o-1)}function cn(e){this.options=e||{},this.tagStyle=Object.assign({},en.tagStyle,this.options.tagStyle),this.imgList=e.imgList||[],this.imgList._unloadimgs=0,this.plugins=e.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[],this.pre=(this.options.containerStyle||"").includes("white-space")&&this.options.containerStyle.includes("pre")?2:0}function dn(e){this.handler=e}en.ignoreTags.iframe=void 0,en.trustTags.iframe=!0,en.ignoreTags.embed=void 0,en.trustTags.embed=!0,cn.prototype.parse=function(e){for(let t=this.plugins.length;t--;)this.plugins[t].onUpdate&&(e=this.plugins[t].onUpdate(e,en)||e);for(new dn(this).parse(e);this.stack.length;)this.popNode();return this.nodes.length>50&&ln(this.nodes),this.nodes},cn.prototype.expose=function(){for(let e=this.stack.length;e--;){const t=this.stack[e];if(t.c||"a"===t.name||"video"===t.name||"audio"===t.name)return;t.c=1}},cn.prototype.hook=function(e){for(let t=this.plugins.length;t--;)if(this.plugins[t].onParse&&!1===this.plugins[t].onParse(e,this))return!1;return!0},cn.prototype.getUrl=function(e){const t=this.options.domain;return"/"===e[0]?e="/"===e[1]?(t?t.split("://")[0]:"http")+":"+e:t?t+e:plus.io.convertLocalFileSystemURL(e):e.includes("data:")||e.includes("://")||(e=t?t+"/"+e:plus.io.convertLocalFileSystemURL(e)),e},cn.prototype.parseStyle=function(e){const t=e.attrs,o=(this.tagStyle[e.name]||"").split(";").concat((t.style||"").split(";")),i={};let n="";t.id&&!this.xml&&(this.options.useAnchor?this.expose():"img"!==e.name&&"a"!==e.name&&"video"!==e.name&&"audio"!==e.name&&(t.id=void 0)),t.width&&(i.width=parseFloat(t.width)+(t.width.includes("%")?"%":"px"),t.width=void 0),t.height&&(i.height=parseFloat(t.height)+(t.height.includes("%")?"%":"px"),t.height=void 0);for(let a=0,r=o.length;a<r;a++){const e=o[a].split(":");if(e.length<2)continue;const t=e.shift().trim().toLowerCase();let r=e.join(":").trim();if("-"===r[0]&&r.lastIndexOf("-")>0||r.includes("safe"))n+=`;${t}:${r}`;else if(!i[t]||r.includes("import")||!i[t].includes("import")){if(r.includes("url")){let e=r.indexOf("(")+1;if(e){for(;'"'===r[e]||"'"===r[e]||nn[r[e]];)e++;r=r.substr(0,e)+this.getUrl(r.substr(e))}}else r.includes("rpx")&&(r=r.replace(/[0-9.]+\s*rpx/g,(e=>parseFloat(e)*on/750+"px")));i[t]=r}}return e.attrs.style=n,i},cn.prototype.onTagName=function(e){this.tagName=this.xml?e:e.toLowerCase(),"svg"===this.tagName&&(this.xml=(this.xml||0)+1,en.ignoreTags.style=void 0)},cn.prototype.onAttrName=function(e){(e=this.xml?e:e.toLowerCase()).includes("?")||e.includes(";")?this.attrName=void 0:"data-"===e.substr(0,5)?"data-src"!==e||this.attrs.src?"img"===this.tagName||"a"===this.tagName?this.attrName=e:this.attrName=void 0:this.attrName="src":(this.attrName=e,this.attrs[e]="T")},cn.prototype.onAttrVal=function(e){const t=this.attrName||"";"style"===t||"href"===t?this.attrs[t]=sn(e,!0):t.includes("src")?this.attrs[t]=this.getUrl(sn(e,!0)):t&&(this.attrs[t]=e)},cn.prototype.onOpenTag=function(e){const t=Object.create(null);t.name=this.tagName,t.attrs=this.attrs,this.options.nodes.length&&(t.type="node"),this.attrs=Object.create(null);const o=t.attrs,i=this.stack[this.stack.length-1],n=i?i.children:this.nodes,a=this.xml?e:en.voidTags[t.name];if(tn[t.name]&&(o.class=tn[t.name]+(o.class?" "+o.class:"")),"embed"===t.name&&this.expose(),"video"!==t.name&&"audio"!==t.name||("video"!==t.name||o.id||(o.id="v"+an++),o.controls||o.autoplay||(o.controls="T"),t.src=[],o.src&&(t.src.push(o.src),o.src=void 0),this.expose()),a){if(!this.hook(t)||en.ignoreTags[t.name])return void("base"!==t.name||this.options.domain?"source"===t.name&&i&&("video"===i.name||"audio"===i.name)&&o.src&&i.src.push(o.src):this.options.domain=o.href);const e=this.parseStyle(t);if("img"===t.name){if(o.src&&(o.src.includes("webp")&&(t.webp="T"),o.src.includes("data:")&&"all"!==this.options.previewImg&&!o["original-src"]&&(o.ignore="T"),!o.ignore||t.webp||o.src.includes("cloud://"))){for(let n=this.stack.length;n--;){const i=this.stack[n];"a"===i.name&&(t.a=i.attrs),"table"!==i.name||t.webp||o.src.includes("cloud://")||(!e.display||e.display.includes("inline")?t.t="inline-block":t.t=e.display,e.display=void 0),i.c=1}o.i=this.imgList.length.toString();let i=o["original-src"]||o.src;this.imgList.push(i),t.t||(this.imgList._unloadimgs+=1),this.options.lazyLoad&&(o["data-src"]=o.src,o.src=void 0)}"inline"===e.display&&(e.display=""),o.ignore&&(e["max-width"]=e["max-width"]||"100%",o.style+=";-webkit-touch-callout:none"),parseInt(e.width)>on&&(e.height=void 0),isNaN(parseInt(e.width))||(t.w="T"),!isNaN(parseInt(e.height))&&(!e.height.includes("%")||i&&(i.attrs.style||"").includes("height"))&&(t.h="T"),t.w&&t.h&&e["object-fit"]&&("contain"===e["object-fit"]?t.m="aspectFit":"cover"===e["object-fit"]&&(t.m="aspectFill"))}else if("svg"===t.name)return n.push(t),this.stack.push(t),void this.popNode();for(const t in e)e[t]&&(o.style+=`;${t}:${e[t].replace(" !important","")}`);o.style=o.style.substr(1)||void 0}else("pre"===t.name||(o.style||"").includes("white-space")&&o.style.includes("pre"))&&2!==this.pre&&(this.pre=t.pre=1),t.children=[],this.stack.push(t);n.push(t)},cn.prototype.onCloseTag=function(e){let t;for(e=this.xml?e:e.toLowerCase(),t=this.stack.length;t--&&this.stack[t].name!==e;);if(-1!==t)for(;this.stack.length>t;)this.popNode();else if("p"===e||"br"===e){(this.stack.length?this.stack[this.stack.length-1].children:this.nodes).push({name:e,attrs:{class:tn[e]||"",style:this.tagStyle[e]||""}})}},cn.prototype.popNode=function(){const e=this.stack.pop();let t=e.attrs;const o=e.children,i=this.stack[this.stack.length-1],n=i?i.children:this.nodes;if(!this.hook(e)||en.ignoreTags[e.name])return"title"===e.name&&o.length&&"text"===o[0].type&&this.options.setTitle&&uni.setNavigationBarTitle({title:o[0].text}),void n.pop();if(e.pre&&2!==this.pre){this.pre=e.pre=void 0;for(let e=this.stack.length;e--;)this.stack[e].pre&&(this.pre=1)}const a={};if("svg"===e.name){if(this.xml>1)return void this.xml--;let o="";const i=t.style;return t.style="",t.xmlns="http://www.w3.org/2000/svg",function e(t){if("text"===t.type)return void(o+=t.text);const i=en.svgDict[t.name]||t.name;if("foreignObject"===i)for(const o of t.children||[])if(o.attrs&&!o.attrs.xmlns){o.attrs.xmlns="http://www.w3.org/1999/xhtml";break}o+="<"+i;for(const n in t.attrs){const e=t.attrs[n];e&&(o+=` ${en.svgDict[n]||n}="${e.replace(/"/g,"")}"`)}if(t.children){o+=">";for(let o=0;o<t.children.length;o++)e(t.children[o]);o+="</"+i+">"}else o+="/>"}(e),e.name="img",e.attrs={src:"data:image/svg+xml;utf8,"+o.replace(/#/g,"%23"),style:i,ignore:"T"},e.children=void 0,this.xml=!1,void(en.ignoreTags.style=!0)}if(t.align&&("table"===e.name?"center"===t.align?a["margin-inline-start"]=a["margin-inline-end"]="auto":a.float=t.align:a["text-align"]=t.align,t.align=void 0),t.dir&&(a.direction=t.dir,t.dir=void 0),"font"===e.name&&(t.color&&(a.color=t.color,t.color=void 0),t.face&&(a["font-family"]=t.face,t.face=void 0),t.size)){let e=parseInt(t.size);isNaN(e)||(e<1?e=1:e>7&&(e=7),a["font-size"]=["x-small","small","medium","large","x-large","xx-large","xxx-large"][e-1]),t.size=void 0}if((t.class||"").includes("align-center")&&(a["text-align"]="center"),Object.assign(a,this.parseStyle(e)),"table"!==e.name&&parseInt(a.width)>on&&(a["max-width"]="100%",a["box-sizing"]="border-box"),en.blockTags[e.name]?e.name="div":en.trustTags[e.name]||this.xml||(e.name="span"),"a"===e.name||"ad"===e.name||"iframe"===e.name)this.expose();else if("video"===e.name){(a.height||"").includes("auto")&&(a.height=void 0);let o='<video style="width:100%;height:100%"';for(const e in t)t[e]&&(o+=" "+e+'="'+t[e]+'"');this.options.pauseVideo&&(o+=" onplay=\"this.dispatchEvent(new CustomEvent('vplay',{bubbles:!0}));for(var e=document.getElementsByTagName('video'),t=0;t<e.length;t++)e[t]!=this&&e[t].pause()\""),o+=">";for(let t=0;t<e.src.length;t++)o+='<source src="'+e.src[t]+'">';o+="</video>",e.html=o}else if("ul"!==e.name&&"ol"!==e.name||!e.c)if("table"===e.name){let i=parseFloat(t.cellpadding),n=parseFloat(t.cellspacing);const r=parseFloat(t.border),s=a["border-color"],l=a["border-style"];if(e.c&&(isNaN(i)&&(i=2),isNaN(n)&&(n=2)),r&&(t.style+=`;border:${r}px ${l||"solid"} ${s||"gray"}`),e.flag&&e.c){a.display="grid","collapse"===a["border-collapse"]&&(a["border-collapse"]=void 0,n=0),n?(a["grid-gap"]=n+"px",a.padding=n+"px"):r&&(t.style+=";border-left:0;border-top:0");const c=[],d=[],u=[],h={};!function e(t){for(let o=0;o<t.length;o++)if("tr"===t[o].name)d.push(t[o]);else if("colgroup"===t[o].name){let e=1;for(const i of t[o].children||[])if("col"===i.name){const t=i.attrs.style||"",o=t.indexOf("width")?t.indexOf(";width"):0;if(-1!==o){let i=t.indexOf(";",o+6);-1===i&&(i=t.length),c[e]=t.substring(o?o+7:6,i)}e+=1}}else e(t[o].children||[])}(o);for(let e=1;e<=d.length;e++){let t=1;for(let o=0;o<d[e-1].children.length;o++){const a=d[e-1].children[o];if("td"===a.name||"th"===a.name){for(;h[e+"."+t];)t++;let o=a.attrs.style||"",d=o.indexOf("width")?o.indexOf(";width"):0;if(-1!==d){let e=o.indexOf(";",d+6);-1===e&&(e=o.length),a.attrs.colspan||(c[t]=o.substring(d?d+7:6,e)),o=o.substr(0,d)+o.substr(e)}if(o+=";display:flex",d=o.indexOf("vertical-align"),-1!==d){const e=o.substr(d+15,10);e.includes("middle")?o+=";align-items:center":e.includes("bottom")&&(o+=";align-items:flex-end")}else o+=";align-items:center";if(d=o.indexOf("text-align"),-1!==d){const e=o.substr(d+11,10);e.includes("center")?o+=";justify-content: center":e.includes("right")&&(o+=";justify-content: right")}if(o=(r?`;border:${r}px ${l||"solid"} ${s||"gray"}`+(n?"":";border-right:0;border-bottom:0"):"")+(i?`;padding:${i}px`:"")+";"+o,a.attrs.colspan&&(o+=`;grid-column-start:${t};grid-column-end:${t+parseInt(a.attrs.colspan)}`,a.attrs.rowspan||(o+=`;grid-row-start:${e};grid-row-end:${e+1}`),t+=parseInt(a.attrs.colspan)-1),a.attrs.rowspan){o+=`;grid-row-start:${e};grid-row-end:${e+parseInt(a.attrs.rowspan)}`,a.attrs.colspan||(o+=`;grid-column-start:${t};grid-column-end:${t+1}`);for(let o=1;o<a.attrs.rowspan;o++)for(let i=0;i<(a.attrs.colspan||1);i++)h[e+o+"."+(t-i)]=1}o&&(a.attrs.style=o),u.push(a),t++}}if(1===e){let e="";for(let o=1;o<t;o++)e+=(c[o]?c[o]:"auto")+" ";a["grid-template-columns"]=e}}e.children=u}else e.c&&(a.display="table"),isNaN(n)||(a["border-spacing"]=n+"px"),(r||i)&&function e(t){for(let o=0;o<t.length;o++){const n=t[o];"th"===n.name||"td"===n.name?(r&&(n.attrs.style=`border:${r}px ${l||"solid"} ${s||"gray"};${n.attrs.style||""}`),i&&(n.attrs.style=`padding:${i}px;${n.attrs.style||""}`)):n.children&&e(n.children)}}(o);if(this.options.scrollTable&&!(t.style||"").includes("inline")){const o=Object.assign({},e);e.name="div",e.attrs={style:"overflow:auto"},e.children=[o],t=o.attrs}}else if(("tbody"===e.name||"tr"===e.name)&&e.flag&&e.c)e.flag=void 0,function e(t){for(let o=0;o<t.length;o++)if("td"===t[o].name)for(const e of["color","background","background-color"])a[e]&&(t[o].attrs.style=e+":"+a[e]+";"+(t[o].attrs.style||""));else e(t[o].children||[])}(o);else if("td"!==e.name&&"th"!==e.name||!t.colspan&&!t.rowspan)if("ruby"===e.name){e.name="span";for(let e=0;e<o.length-1;e++)"text"===o[e].type&&"rt"===o[e+1].name&&(o[e]={name:"div",attrs:{style:"display:inline-block;text-align:center"},children:[{name:"div",attrs:{style:"font-size:50%;"+(o[e+1].attrs.style||"")},children:o[e+1].children},o[e]]},o.splice(e+1,1))}else e.c&&function e(t){t.c=2;for(let o=t.children.length;o--;){const i=t.children[o];i.name&&(en.inlineTags[i.name]||(i.attrs.style||"").includes("inline")&&i.children)&&!i.c&&e(i),i.c&&"table"!==i.name||(t.c=1)}}(e);else for(let s=this.stack.length;s--;)"table"!==this.stack[s].name&&"tbody"!==this.stack[s].name&&"tr"!==this.stack[s].name||(this.stack[s].flag=1);else{const e={a:"lower-alpha",A:"upper-alpha",i:"lower-roman",I:"upper-roman"};e[t.type]&&(t.style+=";list-style-type:"+e[t.type],t.type=void 0);for(let t=o.length;t--;)"li"===o[t].name&&(o[t].c=1)}if((a.display||"").includes("flex")&&!e.c)for(let s=o.length;s--;){const e=o[s];e.f&&(e.attrs.style=(e.attrs.style||"")+e.f,e.f=void 0)}const r=i&&((i.attrs.style||"").includes("flex")||(i.attrs.style||"").includes("grid"))&&!e.c;r&&(e.f=";max-width:100%"),o.length>=50&&e.c&&!(a.display||"").includes("flex")&&ln(o);for(const s in a)if(a[s]){const o=`;${s}:${a[s].replace(" !important","")}`;r&&(s.includes("flex")&&"flex-direction"!==s||"align-self"===s||s.includes("grid")||"-"===a[s][0]||s.includes("width")&&o.includes("%"))?(e.f+=o,"width"===s&&(t.style+=";width:100%")):t.style+=o}t.style=t.style.substr(1)||void 0},cn.prototype.onText=function(e){if(!this.pre){let t,o="";for(let i=0,n=e.length;i<n;i++)nn[e[i]]?(" "!==o[o.length-1]&&(o+=" "),"\n"!==e[i]||t||(t=!0)):o+=e[i];if(" "===o){if(t)return;{const e=this.stack[this.stack.length-1];if(e&&"t"===e.name[0])return}}e=o}const t=Object.create(null);if(t.type="text",t.text=sn(e),this.hook(t)){(this.stack.length?this.stack[this.stack.length-1].children:this.nodes).push(t)}},dn.prototype.parse=function(e){this.content=e||"",this.i=0,this.start=0,this.state=this.text;for(let t=this.content.length;-1!==this.i&&this.i<t;)this.state()},dn.prototype.checkClose=function(e){const t="/"===this.content[this.i];return!!(">"===this.content[this.i]||t&&">"===this.content[this.i+1])&&(e&&this.handler[e](this.content.substring(this.start,this.i)),this.i+=t?2:1,this.start=this.i,this.handler.onOpenTag(t),"script"===this.handler.tagName?(this.i=this.content.indexOf("</",this.i),-1!==this.i&&(this.i+=2,this.start=this.i),this.state=this.endTag):this.state=this.text,!0)},dn.prototype.text=function(){if(this.i=this.content.indexOf("<",this.i),-1===this.i)return void(this.start<this.content.length&&this.handler.onText(this.content.substring(this.start,this.content.length)));const e=this.content[this.i+1];if(e>="a"&&e<="z"||e>="A"&&e<="Z")this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"===e||"!"===e||"?"===e){this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i));const t=this.content[this.i+2];if("/"===e&&(t>="a"&&t<="z"||t>="A"&&t<="Z"))return this.i+=2,this.start=this.i,void(this.state=this.endTag);let o="--\x3e";"!"===e&&"-"===this.content[this.i+2]&&"-"===this.content[this.i+3]||(o=">"),this.i=this.content.indexOf(o,this.i),-1!==this.i&&(this.i+=o.length,this.start=this.i)}else this.i++},dn.prototype.tagName=function(){if(nn[this.content[this.i]]){for(this.handler.onTagName(this.content.substring(this.start,this.i));nn[this.content[++this.i]];);this.i<this.content.length&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)}else this.checkClose("onTagName")||this.i++},dn.prototype.attrName=function(){let e=this.content[this.i];if(nn[e]||"="===e){this.handler.onAttrName(this.content.substring(this.start,this.i));let t="="===e;const o=this.content.length;for(;++this.i<o;)if(e=this.content[this.i],!nn[e]){if(this.checkClose())return;if(t)return this.start=this.i,void(this.state=this.attrVal);if("="!==this.content[this.i])return this.start=this.i,void(this.state=this.attrName);t=!0}}else this.checkClose("onAttrName")||this.i++},dn.prototype.attrVal=function(){const e=this.content[this.i],t=this.content.length;if('"'===e||"'"===e){if(this.start=++this.i,this.i=this.content.indexOf(e,this.i),-1===this.i)return;this.handler.onAttrVal(this.content.substring(this.start,this.i))}else for(;this.i<t;this.i++){if(nn[this.content[this.i]]){this.handler.onAttrVal(this.content.substring(this.start,this.i));break}if(this.checkClose("onAttrVal"))return}for(;nn[this.content[++this.i]];);this.i<t&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)},dn.prototype.endTag=function(){const e=this.content[this.i];if(nn[e]||">"===e||"/"===e){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!==e&&(this.i=this.content.indexOf(">",this.i),-1===this.i))return;this.start=++this.i,this.state=this.text}else this.i++};const un=[];const hn=t({name:"mp-html",data:()=>({nodes:[]}),props:{containerStyle:{type:String,default:""},content:{type:String,default:""},copyLink:{type:[Boolean,String],default:!0},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:[Boolean,String],default:!1},loadingImg:{type:String,default:""},pauseVideo:{type:[Boolean,String],default:!0},previewImg:{type:[Boolean,String],default:!0},scrollTable:[Boolean,String],selectable:[Boolean,String],setTitle:{type:[Boolean,String],default:!0},showImgMenu:{type:[Boolean,String],default:!0},tagStyle:Object,useAnchor:[Boolean,Number]},emits:["load","ready","imgtap","linktap","play","error"],components:{node:$i},watch:{content(e){this.setContent(e)}},created(){this.plugins=[];for(let e=un.length;e--;)this.plugins.push(new un[e](this))},mounted(){this.content&&!this.nodes.length&&this.setContent(this.content)},beforeDestroy(){this._hook("onDetached")},methods:{in(e,t,o){e&&t&&o&&(this._in={page:e,selector:t,scrollTop:o})},navigateTo(e,t){return new Promise(((o,i)=>{if(!this.useAnchor)return void i(Error("Anchor is disabled"));t=t||parseInt(this.useAnchor)||0;const n=uni.createSelectorQuery().in(this._in?this._in.page:this).select((this._in?this._in.selector:"._root")+(e?` #${e}`:"")).boundingClientRect();this._in?n.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():n.selectViewport().scrollOffset(),n.exec((e=>{if(!e[0])return void i(Error("Label not found"));const n=e[1].scrollTop+e[0].top-(e[2]?e[2].top:0)+t;this._in?this._in.page[this._in.scrollTop]=n:uni.pageScrollTo({scrollTop:n,duration:300}),o()}))}))},getText(e){let t="";return function e(o){for(let i=0;i<o.length;i++){const n=o[i];if("text"===n.type)t+=n.text.replace(/&amp;/g,"&");else if("br"===n.name)t+="\n";else{const o="p"===n.name||"div"===n.name||"tr"===n.name||"li"===n.name||"h"===n.name[0]&&n.name[1]>"0"&&n.name[1]<"7";o&&t&&"\n"!==t[t.length-1]&&(t+="\n"),n.children&&e(n.children),o&&"\n"!==t[t.length-1]?t+="\n":"td"!==n.name&&"th"!==n.name||(t+="\t")}}}(e||this.nodes),t},getRect(){return new Promise(((e,t)=>{uni.createSelectorQuery().in(this).select("#_root").boundingClientRect().exec((o=>o[0]?e(o[0]):t(Error("Root label not found"))))}))},pauseMedia(){for(let t=(this._videos||[]).length;t--;)this._videos[t].pause();let e=this.$parent;for(;!e.$scope;)e=e.$parent;e.$scope.$getAppWebview().evalJS('for(var e=document.getElementsByTagName("video"),i=e.length;i--;)e[i].pause()')},setPlaybackRate(e){this.playbackRate=e;for(let i=(this._videos||[]).length;i--;)this._videos[i].playbackRate(e);const t='for(var e=document.getElementsByTagName("video"),i=e.length;i--;)e[i].playbackRate='+e;let o=this.$parent;for(;!o.$scope;)o=o.$parent;o.$scope.$getAppWebview().evalJS(t)},setContent(e,t){t&&this.imgList||(this.imgList=[]);const o=new cn(this).parse(e);if(this.$set(this,"nodes",t?(this.nodes||[]).concat(o):o),this._videos=[],this.$nextTick((()=>{this._hook("onLoad"),this.$emit("load")})),this.lazyLoad||this.imgList._unloadimgs<this.imgList.length/2){let e=0;const t=o=>{o&&o.height||(o={}),o.height===e?this.$emit("ready",o):(e=o.height,setTimeout((()=>{this.getRect().then(t).catch(t)}),350))};this.getRect().then(t).catch(t)}else this.imgList._unloadimgs||this.getRect().then((e=>{this.$emit("ready",e)})).catch((()=>{this.$emit("ready",{})}))},_hook(e){for(let t=un.length;t--;)this.plugins[t][e]&&this.plugins[t][e]()}}},[["render",function(t,o,i,n,a,r){const s=e.resolveComponent("node");return e.openBlock(),e.createElementBlock("view",{id:"_root",class:e.normalizeClass((i.selectable?"_select ":"")+"_root"),style:e.normalizeStyle(i.containerStyle)},[a.nodes[0]?(e.openBlock(),e.createBlock(s,{key:1,childs:a.nodes,opts:[i.lazyLoad,i.loadingImg,i.errorImg,i.showImgMenu,i.selectable],name:"span"},null,8,["childs","opts"])):e.renderSlot(t.$slots,"default",{key:0},void 0,!0)],6)}],["__scopeId","data-v-ee011409"]]),pn={__name:"agreement",setup(t){let o=e.ref({});return s((async e=>{let t=await uo({id:e.id});o.value=t})),(t,i)=>{const a=n(e.resolveDynamicComponent("mp-html"),hn);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createVNode(a,{content:e.unref(o).protocolContent},null,8,["content"]),e.createElementVNode("view",{style:{height:"100rpx"}})])}}},mn=t({__name:"getBack",setup(t){const i=uni.getSystemInfoSync().statusBarHeight+"px";let a=e.ref(""),r=e.ref(null),s=e.reactive({userName:"",passwd:"",phone:"",smsCode:"",confirmPasswd:""}),l=e=>{a.value=e},c=()=>{if(!s.phone)return uni.showToast({title:"请输入手机号",icon:"none"});r.value.canGetCode?(uni.showLoading({title:"正在获取验证码"}),ao({phone:s.phone}).then((e=>{uni.hideLoading(),uni.$u.toast("验证码已发送"),r.value.start()}))):uni.$u.toast("倒计时结束后再发送")},d=async()=>{return s.userName?s.phone?11!=s.phone.length?uni.showToast({title:"请输入正确的手机号",icon:"none"}):s.smsCode?s.passwd?s.confirmPasswd?s.passwd!=s.confirmPasswd?uni.showToast({title:"两次密码输入不一致",icon:"none"}):(await(e=s,no("/api/auth/forgotPassword",e)),uni.showToast({title:"修改成功",icon:"none"}),void setTimeout((()=>{uni.navigateBack()}),200)):uni.showToast({title:"请再次输入密码",icon:"none"}):uni.showToast({title:"请输入密码",icon:"none"}):uni.showToast({title:"请输入验证码",icon:"none"}):uni.showToast({title:"请输入手机号",icon:"none"}):uni.showToast({title:"请输入用户名",icon:"none"});var e},u=()=>{uni.navigateBack()};return(t,h)=>{const p=n(e.resolveDynamicComponent("up-icon"),ge),m=n(e.resolveDynamicComponent("statusBar"),o),g=n(e.resolveDynamicComponent("up-input"),jo),f=n(e.resolveDynamicComponent("up-code"),ei);return e.openBlock(),e.createElementBlock("view",{class:"login"},[e.createElementVNode("view",{class:"orderdetail_header p30"},[e.createElementVNode("view",{style:e.normalizeStyle({height:i})},null,4),e.createElementVNode("view",{style:{height:"44px",display:"flex","align-items":"center"}},[e.createVNode(p,{name:"arrow-left",bold:"",color:"#000",onClick:e.unref(u)},null,8,["onClick"])])]),e.createElementVNode("image",{class:"login_bei",src:Ho}),e.createVNode(m),e.createElementVNode("view",{class:"login_logo"},[e.createElementVNode("image",{class:"login_logo_img",src:Qo}),e.createElementVNode("view",{class:"login_logo_tit"},"欢迎来到星动能源")]),e.createElementVNode("view",{style:{"margin-top":"150rpx"}},[e.createElementVNode("view",{style:{"margin-bottom":"30rpx"}},[e.createVNode(g,{fontSize:"30rpx",modelValue:e.unref(s).userName,"onUpdate:modelValue":h[0]||(h[0]=t=>e.unref(s).userName=t),placeholder:"请输入您的用户名",border:"bottom",clearable:""},null,8,["modelValue"])]),e.createElementVNode("view",{style:{"margin-bottom":"30rpx"}},[e.createVNode(g,{fontSize:"30rpx",modelValue:e.unref(s).passwd,"onUpdate:modelValue":h[1]||(h[1]=t=>e.unref(s).passwd=t),type:"password",placeholder:"请输入您的密码",border:"bottom",clearable:""},null,8,["modelValue"])]),e.createElementVNode("view",{style:{"margin-bottom":"30rpx"}},[e.createVNode(g,{fontSize:"30rpx",modelValue:e.unref(s).confirmPasswd,"onUpdate:modelValue":h[2]||(h[2]=t=>e.unref(s).confirmPasswd=t),type:"password",placeholder:"请再次输入您的密码",border:"bottom",clearable:""},null,8,["modelValue"])]),e.createElementVNode("view",{style:{"margin-bottom":"30rpx"}},[e.createVNode(g,{fontSize:"30rpx",modelValue:e.unref(s).phone,"onUpdate:modelValue":h[3]||(h[3]=t=>e.unref(s).phone=t),placeholder:"请输入您的手机号",border:"bottom",clearable:""},null,8,["modelValue"])]),e.createElementVNode("view",{style:{"margin-bottom":"30rpx",display:"flex","align-items":"center"}},[e.createVNode(g,{fontSize:"30rpx",modelValue:e.unref(s).smsCode,"onUpdate:modelValue":h[4]||(h[4]=t=>e.unref(s).smsCode=t),placeholder:"请输入验证码",border:"bottom",clearable:""},null,8,["modelValue"]),e.createVNode(f,{ref_key:"uCode",ref:r,onChange:e.unref(l),"keep-running":"","start-text":"点我获取验证码"},null,8,["onChange"]),e.createElementVNode("text",{onClick:h[5]||(h[5]=(...t)=>e.unref(c)&&e.unref(c)(...t)),text:e.unref(a),style:{"font-size":"28rpx",color:"#4874e5"}},e.toDisplayString(e.unref(a)),9,["text"])])]),e.createElementVNode("view",{style:{display:"flex","justify-content":"center","margin-top":"80rpx"}},[e.createElementVNode("view",{class:"login_btn",onClick:h[6]||(h[6]=(...t)=>e.unref(d)&&e.unref(d)(...t))},"确认")])])}}},[["__scopeId","data-v-f50ed153"]]),gn={props:{show:{type:Boolean,default:()=>S.overlay.show},zIndex:{type:[String,Number],default:()=>S.overlay.zIndex},duration:{type:[String,Number],default:()=>S.overlay.duration},opacity:{type:[String,Number],default:()=>S.overlay.opacity}}};const fn=t({name:"u-overlay",mixins:[x,oe,gn],computed:{overlayStyle(){return W({position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`},j(this.customStyle))}},emits:["click"],methods:{clickHandler(){this.$emit("click")}}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-transition"),To);return e.openBlock(),e.createBlock(l,{show:t.show,"custom-class":"u-overlay",duration:t.duration,"custom-style":s.overlayStyle,onClick:s.clickHandler},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default",{},void 0,!0)])),_:3},8,["show","duration","custom-style","onClick"])}],["__scopeId","data-v-f7274be9"]]);const yn=t({name:"u-status-bar",mixins:[x,oe,{props:{bgColor:{type:String,default:()=>S.statusBar.bgColor}}}],data:()=>({}),computed:{style(){const e={};return e.height=H(O().statusBarHeight,"px"),e.backgroundColor=this.bgColor,W(e,j(this.customStyle))}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{style:e.normalizeStyle([r.style]),class:"u-status-bar"},[e.renderSlot(t.$slots,"default",{},void 0,!0)],4)}],["__scopeId","data-v-efea9835"]]);const wn=t({name:"u-safe-bottom",mixins:[x,oe,{props:{}}],data:()=>({safeAreaBottomHeight:0,isNvue:!1}),computed:{style(){return W({},j(this.customStyle))}},mounted(){}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-safe-bottom",[!a.isNvue&&"u-safe-area-inset-bottom"]]),style:e.normalizeStyle([r.style])},null,6)}],["__scopeId","data-v-c4161810"]]),vn={props:{show:{type:Boolean,default:()=>S.popup.show},overlay:{type:Boolean,default:()=>S.popup.overlay},mode:{type:String,default:()=>S.popup.mode},duration:{type:[String,Number],default:()=>S.popup.duration},closeable:{type:Boolean,default:()=>S.popup.closeable},overlayStyle:{type:[Object,String],default:()=>S.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:()=>S.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:()=>S.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:()=>S.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:()=>S.popup.safeAreaInsetTop},closeIconPos:{type:String,default:()=>S.popup.closeIconPos},round:{type:[Boolean,String,Number],default:()=>S.popup.round},zoom:{type:Boolean,default:()=>S.popup.zoom},bgColor:{type:String,default:()=>S.popup.bgColor},overlayOpacity:{type:[Number,String],default:()=>S.popup.overlayOpacity}}};const bn=t({name:"u-popup",mixins:[x,oe,vn],data(){return{overlayDuration:this.duration+50}},watch:{show(e,t){}},computed:{transitionStyle(){const e={zIndex:this.zIndex,position:"fixed",display:"flex"};return e[this.mode]=0,"left"===this.mode||"right"===this.mode?W(e,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?W(e,{left:0,right:0}):"center"===this.mode?W(e,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle(){const e={};if(O(),"center"!==this.mode&&(e.flex=1),this.bgColor&&(e.backgroundColor=this.bgColor),this.round){const t=H(this.round);"top"===this.mode?(e.borderBottomLeftRadius=t,e.borderBottomRightRadius=t):"bottom"===this.mode?(e.borderTopLeftRadius=t,e.borderTopRightRadius=t):"center"===this.mode&&(e.borderRadius=t)}return W(e,j(this.customStyle))},position(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},emits:["open","close","click"],methods:{overlayClick(){this.closeOnClickOverlay&&this.$emit("close")},close(e){this.$emit("close")},afterEnter(){this.$emit("open")},clickHandler(){"center"===this.mode&&this.overlayClick(),this.$emit("click")}}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-overlay"),fn),c=n(e.resolveDynamicComponent("u-status-bar"),yn),d=n(e.resolveDynamicComponent("u-icon"),ge),u=n(e.resolveDynamicComponent("u-safe-bottom"),wn),h=n(e.resolveDynamicComponent("u-transition"),To);return e.openBlock(),e.createElementBlock("view",{class:"u-popup"},[t.overlay?(e.openBlock(),e.createBlock(l,{key:0,show:t.show,onClick:s.overlayClick,zIndex:t.zIndex,duration:r.overlayDuration,customStyle:t.overlayStyle,opacity:t.overlayOpacity},null,8,["show","onClick","zIndex","duration","customStyle","opacity"])):e.createCommentVNode("",!0),e.createVNode(h,{show:t.show,customStyle:s.transitionStyle,mode:s.position,duration:t.duration,onAfterEnter:s.afterEnter,onClick:s.clickHandler},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"u-popup__content",style:e.normalizeStyle([s.contentStyle]),onClick:o[1]||(o[1]=e.withModifiers(((...e)=>t.noop&&t.noop(...e)),["stop"]))},[t.safeAreaInsetTop?(e.openBlock(),e.createBlock(c,{key:0})):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},void 0,!0),t.closeable?(e.openBlock(),e.createElementBlock("view",{key:1,onClick:o[0]||(o[0]=e.withModifiers(((...e)=>s.close&&s.close(...e)),["stop"])),class:e.normalizeClass(["u-popup__content__close",["u-popup__content__close--"+t.closeIconPos]]),"hover-class":"u-popup__content__close--hover","hover-stay-time":"150"},[e.createVNode(d,{name:"close",color:"#909399",size:"18",bold:""})],2)):e.createCommentVNode("",!0),t.safeAreaInsetBottom?(e.openBlock(),e.createBlock(u,{key:2})):e.createCommentVNode("",!0)],4)])),_:3},8,["show","customStyle","mode","duration","onAfterEnter","onClick"])])}],["__scopeId","data-v-5095f91d"]]),Sn={props:{show:{type:Boolean,default:()=>S.modal.show},title:{type:[String],default:()=>S.modal.title},content:{type:String,default:()=>S.modal.content},confirmText:{type:String,default:()=>S.modal.confirmText},cancelText:{type:String,default:()=>S.modal.cancelText},showConfirmButton:{type:Boolean,default:()=>S.modal.showConfirmButton},showCancelButton:{type:Boolean,default:()=>S.modal.showCancelButton},confirmColor:{type:String,default:()=>S.modal.confirmColor},cancelColor:{type:String,default:()=>S.modal.cancelColor},buttonReverse:{type:Boolean,default:()=>S.modal.buttonReverse},zoom:{type:Boolean,default:()=>S.modal.zoom},asyncClose:{type:Boolean,default:()=>S.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:()=>S.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:()=>S.modal.negativeTop},width:{type:[String,Number],default:()=>S.modal.width},confirmButtonShape:{type:String,default:()=>S.modal.confirmButtonShape}}};const kn=t({name:"u-modal",mixins:[x,oe,Sn],data:()=>({loading:!1}),watch:{show(e){e&&this.loading&&(this.loading=!1)}},emits:["confirm","cancel","close"],methods:{addUnit:H,confirmHandler(){this.asyncClose&&(this.loading=!0),this.$emit("confirm")},cancelHandler(){this.$emit("cancel")},clickHandler(){this.closeOnClickOverlay&&this.$emit("close")}}},[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("u-line"),mi),c=n(e.resolveDynamicComponent("u-loading-icon"),se),d=n(e.resolveDynamicComponent("u-popup"),bn);return e.openBlock(),e.createBlock(d,{mode:"center",zoom:t.zoom,show:t.show,customStyle:{borderRadius:"6px",overflow:"hidden",marginTop:`-${s.addUnit(t.negativeTop)}`},closeOnClickOverlay:t.closeOnClickOverlay,safeAreaInsetBottom:!1,duration:400,onClick:s.clickHandler},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"u-modal",style:e.normalizeStyle({width:s.addUnit(t.width)})},[t.title?(e.openBlock(),e.createElementBlock("text",{key:0,class:"u-modal__title"},e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"u-modal__content",style:e.normalizeStyle({paddingTop:(t.title?12:25)+"px"})},[e.renderSlot(t.$slots,"default",{},(()=>[e.createElementVNode("text",{class:"u-modal__content__text"},e.toDisplayString(t.content),1)]),!0)],4),t.$slots.confirmButton?(e.openBlock(),e.createElementBlock("view",{key:1,class:"u-modal__button-group--confirm-button"},[e.renderSlot(t.$slots,"confirmButton",{},void 0,!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(l),e.createElementVNode("view",{class:"u-modal__button-group",style:e.normalizeStyle({flexDirection:t.buttonReverse?"row-reverse":"row"})},[t.showCancelButton?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel",[t.showCancelButton&&!t.showConfirmButton&&"u-modal__button-group__wrapper--only-cancel"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:o[0]||(o[0]=(...e)=>s.cancelHandler&&s.cancelHandler(...e))},[e.createElementVNode("text",{class:"u-modal__button-group__wrapper__text",style:e.normalizeStyle({color:t.cancelColor})},e.toDisplayString(t.cancelText),5)],2)):e.createCommentVNode("",!0),t.showConfirmButton&&t.showCancelButton?(e.openBlock(),e.createBlock(l,{key:1,direction:"column"})):e.createCommentVNode("",!0),t.showConfirmButton?(e.openBlock(),e.createElementBlock("view",{key:2,class:e.normalizeClass(["u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm",[!t.showCancelButton&&t.showConfirmButton&&"u-modal__button-group__wrapper--only-confirm"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:o[1]||(o[1]=(...e)=>s.confirmHandler&&s.confirmHandler(...e))},[r.loading?(e.openBlock(),e.createBlock(c,{key:0})):(e.openBlock(),e.createElementBlock("text",{key:1,class:"u-modal__button-group__wrapper__text",style:e.normalizeStyle({color:t.confirmColor})},e.toDisplayString(t.confirmText),5))],2)):e.createCommentVNode("",!0)],4)],64))],4)])),_:3},8,["zoom","show","customStyle","closeOnClickOverlay","onClick"])}],["__scopeId","data-v-bcd229ea"]]),xn={__name:"topUp",setup(t){let o=e.ref({}),a=e.reactive({plamType:1}),r=e.ref({}),l=e.ref(!1);s((async()=>{let e=await ro();o.value=e;const{configValue:t}=await ho({configKey:"DEPOSIT"});r.value=JSON.parse(t)}));let c=()=>{uni.navigateBack()},d=async()=>{if(r.value.minMoney>a.money)return uni.showModal({title:"提示",content:`最低充值${r.value.minMoney}`,showCancel:!1});let e=await((e,t={})=>no("/api/v0/recharge/userRechargeByJqb",e))({rechargeMoney:a.money});const t=encodeURIComponent(e.data.payData);uni.openEmbeddedMiniProgram({appId:"wx6b356867c5eb25ed",envVersion:"release",path:`pages/hub/miniLite?q=${t}&amount=${e.amount}`,success:e=>{i("log","at pages/mine/topUp.vue:90",e),l.value=!0},fail:e=>{i("log","at pages/mine/topUp.vue:94",e)},complete:e=>{uni.hideLoading()}})};return(t,i)=>{const s=n(e.resolveDynamicComponent("up-input"),jo),u=n(e.resolveDynamicComponent("up-icon"),ge),h=n(e.resolveDynamicComponent("up-radio"),Mi),p=n(e.resolveDynamicComponent("up-radio-group"),Fi),m=n(e.resolveDynamicComponent("up-modal"),kn);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createElementVNode("view",{style:{height:"50rpx"}}),e.createElementVNode("view",null,[e.createElementVNode("view",{style:{"font-size":"30rpx",color:"#949494"}},"当前余额 ¥"+e.toDisplayString(e.unref(o).points2||"0.00")+",最低充值¥"+e.toDisplayString(e.unref(r).minMoney),1),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createVNode(s,{customStyle:{backgroundColor:"#ffffff"},type:"number",placeholder:"请输入充值金额",border:"surround",modelValue:e.unref(a).money,"onUpdate:modelValue":i[0]||(i[0]=t=>e.unref(a).money=t)},null,8,["modelValue"])]),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{"background-color":"#fff",padding:"30rpx","border-radius":"10rpx"}},[e.createElementVNode("view",{style:{"font-size":"28rpx"}},"支付方式"),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createVNode(p,{modelValue:e.unref(a).plamType,"onUpdate:modelValue":i[1]||(i[1]=t=>e.unref(a).plamType=t),iconPlacement:"right",borderBottom:!0,placement:"column"},{default:e.withCtx((()=>[e.createVNode(h,{name:1},{default:e.withCtx((()=>[e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createVNode(u,{name:"/static/icon/weixin.png",imgMode:"widthFix",size:"50rpx"}),e.createElementVNode("view",{style:{width:"20rpx"}}),e.createElementVNode("view",null,[e.createElementVNode("view",{style:{"font-size":"30rpx"}},"微信"),e.createElementVNode("view",{style:{"font-size":"28rpx",color:"#909399"}},"微信快捷支付")])])])),_:1})])),_:1},8,["modelValue"])]),e.createElementVNode("view",{style:{height:"100rpx"}}),e.createElementVNode("view",{style:{display:"flex","justify-content":"center","margin-top":"80rpx"}},[e.createElementVNode("view",{class:"affirm_btn",onClick:i[2]||(i[2]=(...t)=>e.unref(d)&&e.unref(d)(...t))},"立即支付")]),e.createVNode(m,{show:e.unref(l),content:"未检测到支付结果",onConfirm:e.unref(c),onClose:i[3]||(i[3]=t=>e.isRef(l)?l.value=!1:l=!1),onCancel:i[4]||(i[4]=t=>e.isRef(l)?l.value=!1:l=!1),showCancelButton:"",confirmText:"查看余额",cancelText:"取消",closeOnClickOverlay:""},null,8,["show","onConfirm"])])}}},Cn=t(xn,[["__scopeId","data-v-fcc48297"]]),Tn=t({__name:"transferBalance",setup(t){e.ref();let o=e.ref({}),i=e.ref([]),a=e.ref(""),r=e.ref(null),l=e.reactive({rechargeMoney:"",smsCode:""});e.ref(),s((async()=>{let e=await ro();o.value=e;const{configValue:t}=await ho({configKey:"DEPOSIT"});i.value=JSON.parse(t)}));let c=e=>{a.value=e},d=()=>{if(!o.value.phone)return uni.showToast({title:"请输入手机号",icon:"none"});r.value.canGetCode?(uni.showLoading({title:"正在获取验证码"}),ao({phone:o.value.phone}).then((e=>{uni.hideLoading(),uni.$u.toast("验证码已发送"),r.value.start()}))):uni.$u.toast("倒计时结束后再发送")},u=async()=>{return o.value.points1<l.rechargeMoney?uni.showToast({title:"可转入金额不足",icon:"none"}):l.rechargeMoney?l.smsCode?(await(e=l,no("/api/v0/recharge/userPointRecharge",e)),void uni.showModal({title:"提示",content:"提交成功",showCancel:!1,success(){uni.navigateBack()}})):uni.showToast({title:"请输入验证码",icon:"none"}):uni.showToast({title:"请输入金额",icon:"none"});var e};return(t,s)=>{const h=n(e.resolveDynamicComponent("up-input"),jo),p=n(e.resolveDynamicComponent("up-code"),ei),m=n(e.resolveDynamicComponent("up-button"),oi);return e.openBlock(),e.createElementBlock("view",{class:"withdraw p30"},[e.createElementVNode("view",{class:"withdraw_mon"},[e.createElementVNode("view",{class:"withdraw_mon_tit"},"转入余额"),e.createElementVNode("view",{class:"withdraw_mon_input"},[e.createElementVNode("view",{class:"withdraw_mon_input_fu"},"¥"),e.createElementVNode("view",null,[e.createVNode(h,{fontSize:"36rpx",placeholder:"请输入金额",border:!1,modelValue:e.unref(l).rechargeMoney,"onUpdate:modelValue":s[0]||(s[0]=t=>e.unref(l).rechargeMoney=t)},null,8,["modelValue"])]),e.createElementVNode("view",{class:"withdraw_mon_input_note",onClick:s[1]||(s[1]=t=>e.unref(l).rechargeMoney=e.unref(o).points1)},"全部转入")]),e.createElementVNode("view",null,[e.createVNode(h,{border:!1,disabled:"",modelValue:e.unref(o).phone,"onUpdate:modelValue":s[2]||(s[2]=t=>e.unref(o).phone=t)},null,8,["modelValue"])]),e.createElementVNode("view",{class:"withdraw_mon_input"},[e.createVNode(h,{placeholder:"请输入验证码",border:!1,modelValue:e.unref(l).smsCode,"onUpdate:modelValue":s[3]||(s[3]=t=>e.unref(l).smsCode=t)},null,8,["modelValue"]),e.createElementVNode("view",{style:{width:"250rpx"}},[e.createVNode(p,{ref_key:"uCode",ref:r,onChange:e.unref(c),"keep-running":"","start-text":"点我获取验证码"},null,8,["onChange"]),e.createVNode(m,{onClick:e.unref(d),color:"#4874e5"},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(e.unref(a)),1)])),_:1},8,["onClick"])])]),e.createElementVNode("view",{class:"withdraw_mon_note"},"可转入金额:¥"+e.toDisplayString(e.unref(o).points1),1),e.createElementVNode("view",{class:"withdraw_mon_note"},"最低转入金额:¥"+e.toDisplayString(e.unref(i).minMoney),1)]),e.createElementVNode("view",{style:{height:"50rpx"}}),e.createElementVNode("view",{style:{display:"flex","justify-content":"center","margin-top":"80rpx"}},[e.createElementVNode("view",{class:"affirm_btn",onClick:s[4]||(s[4]=(...t)=>e.unref(u)&&e.unref(u)(...t))},"立即转入")]),e.createElementVNode("view",{style:{height:"50rpx"}})])}}},[["__scopeId","data-v-fe8f5672"]]),An={__name:"detail",setup(t){let o=e.ref({});return s((async e=>{let t=await(i={id:e.id},no("/api/v0/banner/getContentInfo",i));var i;o.value=t})),(t,i)=>{const a=n(e.resolveDynamicComponent("mp-html"),hn);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createElementVNode("view",{style:{"font-size":"34rpx"}},e.toDisplayString(e.unref(o).title),1),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{color:"#999","font-size":"30rpx"}},"发布时间:"+e.toDisplayString(e.unref(o).createTime),1),e.createElementVNode("view",{style:{height:"20rpx"}}),e.unref(o).video?(e.openBlock(),e.createElementBlock("video",{key:0,src:e.unref(o).video,style:{width:"100%"}},null,8,["src"])):e.createCommentVNode("",!0),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createVNode(a,{content:e.unref(o).detail},null,8,["content"]),e.createElementVNode("view",{style:{}})])}}},En={data:()=>({}),created(){this.popup=this.getParent()},methods:{getParent(e="uniPopup"){let t=this.$parent,o=t.$options.name;for(;o!==e;){if(t=t.$parent,!t)return!1;o=t.$options.name}return t}}},Nn={en:{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"},"zh-Hans":{"uni-popup.cancel":"取消","uni-popup.ok":"确定","uni-popup.placeholder":"请输入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"},"zh-Hant":{"uni-popup.cancel":"取消","uni-popup.ok":"確定","uni-popup.placeholder":"請輸入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}},{t:Bn}=gt(Nn);const Vn=t({name:"uniPopupDialog",mixins:[En],emits:["confirm","close","update:modelValue","input"],props:{inputType:{type:String,default:"text"},showClose:{type:Boolean,default:!0},modelValue:{type:[Number,String],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""},maxlength:{type:Number,default:-1},focus:{type:Boolean,default:!0}},data:()=>({dialogType:"error",val:""}),computed:{okText(){return this.confirmText||Bn("uni-popup.ok")},closeText(){return this.cancelText||Bn("uni-popup.cancel")},placeholderText(){return this.placeholder||Bn("uni-popup.placeholder")},titleText(){return this.title||Bn("uni-popup.title")}},watch:{type(e){this.dialogType=e},mode(e){"input"===e&&(this.dialogType="info")},value(e){-1!=this.maxlength&&"input"===this.mode?this.val=e.slice(0,this.maxlength):this.val=e},val(e){this.$emit("update:modelValue",e)}},created(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value,this.val=this.modelValue):this.dialogType=this.type},methods:{onOk(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog(){this.$emit("close"),this.beforeClose||this.popup.close()},close(){this.popup.close()}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("view",{class:"uni-popup-dialog"},[e.createElementVNode("view",{class:"uni-dialog-title"},[e.createElementVNode("text",{class:e.normalizeClass(["uni-dialog-title-text",["uni-popup__"+a.dialogType]])},e.toDisplayString(r.titleText),3)]),"base"===i.mode?(e.openBlock(),e.createElementBlock("view",{key:0,class:"uni-dialog-content"},[e.renderSlot(t.$slots,"default",{},(()=>[e.createElementVNode("text",{class:"uni-dialog-content-text"},e.toDisplayString(i.content),1)]),!0)])):(e.openBlock(),e.createElementBlock("view",{key:1,class:"uni-dialog-content"},[e.renderSlot(t.$slots,"default",{},(()=>[e.withDirectives(e.createElementVNode("input",{class:"uni-dialog-input",maxlength:i.maxlength,"onUpdate:modelValue":o[0]||(o[0]=e=>a.val=e),type:i.inputType,placeholder:r.placeholderText,focus:i.focus},null,8,["maxlength","type","placeholder","focus"]),[[e.vModelDynamic,a.val]])]),!0)])),e.createElementVNode("view",{class:"uni-dialog-button-group"},[i.showClose?(e.openBlock(),e.createElementBlock("view",{key:0,class:"uni-dialog-button",onClick:o[1]||(o[1]=(...e)=>r.closeDialog&&r.closeDialog(...e))},[e.createElementVNode("text",{class:"uni-dialog-button-text"},e.toDisplayString(r.closeText),1)])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["uni-dialog-button",i.showClose?"uni-border-left":""]),onClick:o[2]||(o[2]=(...e)=>r.onOk&&r.onOk(...e))},[e.createElementVNode("text",{class:"uni-dialog-button-text uni-button-color"},e.toDisplayString(r.okText),1)],2)])])}],["__scopeId","data-v-dc2a088f"]]);class _n{constructor(e,t){this.options=e,this.animation=uni.createAnimation({...e}),this.currentStepAnimates={},this.next=0,this.$=t}_nvuePushAnimates(e,t){let o=this.currentStepAnimates[this.next],i={};if(i=o||{styles:{},config:{}},In.includes(e)){i.styles.transform||(i.styles.transform="");let o="";"rotate"===e&&(o="deg"),i.styles.transform+=`${e}(${t+o}) `}else i.styles[e]=`${t}`;this.currentStepAnimates[this.next]=i}_animateRun(e={},t={}){let o=this.$.$refs.ani.ref;if(o)return new Promise(((i,n)=>{nvueAnimation.transition(o,{styles:e,...t},(e=>{i()}))}))}_nvueNextAnimate(e,t=0,o){let i=e[t];if(i){let{styles:n,config:a}=i;this._animateRun(n,a).then((()=>{t+=1,this._nvueNextAnimate(e,t,o)}))}else this.currentStepAnimates={},"function"==typeof o&&o(),this.isEnd=!0}step(e={}){return this.animation.step(e),this}run(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof e&&e()}),this.$.durationTime)}}const In=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function Dn(e,t){if(t)return clearTimeout(t.timer),new _n(e,t)}In.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((e=>{_n.prototype[e]=function(...t){return this.animation[e](...t),this}}));const zn=t({name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:()=>"fade"},duration:{type:Number,default:300},styles:{type:Object,default:()=>({})},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject(){let e={...this.styles,"transition-duration":this.duration/1e3+"s"},t="";for(let o in e){t+=this.toLine(o)+":"+e[o]+";"}return t},transformStyles(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(e={}){e.duration&&(this.durationTime=e.duration),this.animation=Dn(Object.assign(this.config,e),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(e,t={}){if(this.animation){for(let t in e)try{"object"==typeof e[t]?this.animation[t](...e[t]):this.animation[t](e[t])}catch($a){i("error","at uni_modules/uni-transition/components/uni-transition/uni-transition.vue:148",`方法 ${t} 不存在`)}return this.animation.step(t),this}},run(e){this.animation&&this.animation.run(e)},open(){clearTimeout(this.timer),this.transform="",this.isShow=!0;let{opacity:e,transform:t}=this.styleInit(!1);void 0!==e&&(this.opacity=e),this.transform=t,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=Dn(this.config,this),this.tranfromInit(!1).step(),this.animation.run(),this.$emit("change",{detail:this.isShow})}),20)}))},close(e){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:e,transform:t}=this.styleInit(!1);this.opacity=e||1,this.transform=t,this.$emit("change",{detail:this.isShow})}))},styleInit(e){let t={transform:""},o=(e,o)=>{"fade"===o?t.opacity=this.animationType(e)[o]:t.transform+=this.animationType(e)[o]+" "};return"string"==typeof this.modeClass?o(e,this.modeClass):this.modeClass.forEach((t=>{o(e,t)})),t},tranfromInit(e){let t=(e,t)=>{let o=null;"fade"===t?o=e?0:1:(o=e?"-100%":"0","zoom-in"===t&&(o=e?.8:1),"zoom-out"===t&&(o=e?1.2:1),"slide-right"===t&&(o=e?"100%":"0"),"slide-bottom"===t&&(o=e?"100%":"0")),this.animation[this.animationMode()[t]](o)};return"string"==typeof this.modeClass?t(e,this.modeClass):this.modeClass.forEach((o=>{t(e,o)})),this.animation},animationType:e=>({fade:e?0:1,"slide-top":`translateY(${e?"0":"-100%"})`,"slide-right":`translateX(${e?"0":"100%"})`,"slide-bottom":`translateY(${e?"0":"100%"})`,"slide-left":`translateX(${e?"0":"-100%"})`,"zoom-in":`scaleX(${e?1:.8}) scaleY(${e?1:.8})`,"zoom-out":`scaleX(${e?1:1.2}) scaleY(${e?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:e=>e.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(t,o,i,n,a,r){return e.withDirectives((e.openBlock(),e.createElementBlock("view",{ref:"ani",animation:a.animationData,class:e.normalizeClass(i.customClass),style:e.normalizeStyle(r.transformStyles),onClick:o[0]||(o[0]=(...e)=>r.onClick&&r.onClick(...e))},[e.renderSlot(t.$slots,"default")],14,["animation"])),[[e.vShow,a.isShow]])}]]),Rn={name:"uniPopup",components:{},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"},borderRadius:{type:String}},watch:{type:{handler:function(e){this.config[e]&&this[this.config[e]](!0)},immediate:!0},isDesktop:{handler:function(e){this.config[e]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(e){this.mkclick=e},immediate:!0},isMaskClick:{handler:function(e){this.mkclick=e},immediate:!0},showPopup(e){}},data(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{backgroundColor:"transparent",borderRadius:this.borderRadius||"0",position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:"top"}},computed:{getStyles(){let e={backgroundColor:this.bg};return this.borderRadius,e=Object.assign(e,{borderRadius:this.borderRadius}),e},isDesktop(){return this.popupWidth>=500&&this.popupHeight>=500},bg(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted(){(()=>{const{windowWidth:e,windowHeight:t,windowTop:o,safeArea:i,screenHeight:n,safeAreaInsets:a}=uni.getSystemInfoSync();this.popupWidth=e,this.popupHeight=t+(o||0),i&&this.safeArea?this.safeAreaInsets=a.bottom:this.safeAreaInsets=0})()},unmounted(){this.setH5Visible()},activated(){this.setH5Visible(!this.showPopup)},deactivated(){this.setH5Visible(!0)},created(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{setH5Visible(e=!0){},closeMask(){this.maskShow=!1},disableMask(){this.mkclick=!1},clear(e){e.stopPropagation(),this.clearPropagation=!0},open(e){if(this.showPopup)return;e&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(e)||(e=this.type),this.config[e]?(this[this.config[e]](),this.$emit("change",{show:!0,type:e})):i("error","at uni_modules/uni-popup/components/uni-popup/uni-popup.vue:298","缺少类型:",e)},close(e){this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.showPopup=!1}),300)},touchstart(){this.clearPropagation=!1},onTap(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top(e){this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},e||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((()=>{this.messageChild&&"message"===this.type&&this.messageChild.timerClose()})))},bottom(e){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},e||(this.showPopup=!0,this.showTrans=!0)},center(e){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center",borderRadius:this.borderRadius||"0"},e||(this.showPopup=!0,this.showTrans=!0)},left(e){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},e||(this.showPopup=!0,this.showTrans=!0)},right(e){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},e||(this.showPopup=!0,this.showTrans=!0)}}};const Pn=t(Rn,[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("uni-transition"),zn);return r.showPopup?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["uni-popup",[r.popupstyle,s.isDesktop?"fixforpc-z-index":""]])},[e.createElementVNode("view",{onTouchstart:o[1]||(o[1]=(...e)=>s.touchstart&&s.touchstart(...e))},[r.maskShow?(e.openBlock(),e.createBlock(l,{key:"1",name:"mask","mode-class":"fade",styles:r.maskClass,duration:r.duration,show:r.showTrans,onClick:s.onTap},null,8,["styles","duration","show","onClick"])):e.createCommentVNode("",!0),e.createVNode(l,{key:"2","mode-class":r.ani,name:"content",styles:r.transClass,duration:r.duration,show:r.showTrans,onClick:s.onTap},{default:e.withCtx((()=>[e.createElementVNode("view",{class:e.normalizeClass(["uni-popup__wrapper",[r.popupstyle]]),style:e.normalizeStyle(s.getStyles),onClick:o[0]||(o[0]=(...e)=>s.clear&&s.clear(...e))},[e.renderSlot(t.$slots,"default",{},void 0,!0)],6)])),_:3},8,["mode-class","styles","duration","show","onClick"])],32)],2)):e.createCommentVNode("",!0)}],["__scopeId","data-v-ee521468"]]),Mn=e=>new Promise((async(t,o)=>{let n=await no("/api/v0/files/getOssUploadParams",a,"GET");var a;const r={policy:n.policy,OSSAccessKeyId:n.accessId,success_action_status:200,signature:n.signature,key:n.dir+Date.now()+Math.floor(1e5+9e5*Math.random())+"."+e.substring(e.lastIndexOf(".")+1)};uni.uploadFile({url:n.host,filePath:e,header:{"content-type":"multipart/form-data"},name:"file",formData:r,success:e=>{t(r.key)},fail:e=>{i("log","at common/js/user.js:31",e),o(e)}}),console.log()})),Ln={__name:"setting",setup(t){const{nav:o,navTo:a}=Pt();let s=e.ref();e.ref(!1);let l=e.ref(null);r((()=>{c()}));let c=async()=>{let e=await ro();s.value=e},d=async e=>{await mo({nickName:e}),c(),i("log","at pages/mine/setting.vue:74",e)},u=async e=>{const{avatarUrl:t}=e.detail;let o=await Mn(t);await mo({avatar:o}),c()},h=()=>{uni.clearStorageSync(),uni.showToast({title:"退出登录成功",icon:"success"}),uni.switchTab({url:"/pages/index/index"})};return(t,o)=>{const i=n(e.resolveDynamicComponent("up-icon"),ge),r=n(e.resolveDynamicComponent("u-button"),oi),c=n(e.resolveDynamicComponent("uni-popup-dialog"),Vn),p=n(e.resolveDynamicComponent("uni-popup"),Pn);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createElementVNode("view",{style:{"padding-top":"30rpx"}},[e.createElementVNode("view",{class:"means-a"},[e.createElementVNode("view",{class:"means-a-list",style:{"justify-content":"center","padding-top":"30rpx"}},[e.createElementVNode("button",{style:{all:"unset"},"open-type":"chooseAvatar",onChooseavatar:o[1]||(o[1]=(...t)=>e.unref(u)&&e.unref(u)(...t))},[e.unref(s).avatar?(e.openBlock(),e.createElementBlock("image",{key:0,src:e.unref(s).avatar,class:"header",onClick:o[0]||(o[0]=(...e)=>t.infoHeader&&t.infoHeader(...e))},null,8,["src"])):(e.openBlock(),e.createElementBlock("image",{key:1,class:"header",src:"/static/icon/avatar.png",mode:""}))],32)]),e.createElementVNode("view",{class:"means-a-list",style:{"justify-content":"center"},onClick:o[2]||(o[2]=t=>e.unref(l).open())},[e.createElementVNode("view",{class:"nickname"},e.toDisplayString(e.unref(s).nickName||"默认用户"),1)]),e.createElementVNode("view",{class:"means-a-list"},[e.createElementVNode("view",{class:"tit"},"用户名"),e.createElementVNode("view",{class:"means-zhuomi"},[e.unref(s).userName?(e.openBlock(),e.createElementBlock("view",{key:0,class:"means-zhuomi-tit"},e.toDisplayString(e.unref(s).userName),1)):e.createCommentVNode("",!0),e.createVNode(i,{color:"#999999",name:"arrow-right",size:"35rpx"})])]),e.createElementVNode("view",{class:"means-a-list",onClick:o[3]||(o[3]=t=>e.unref(a)("/pages/mine/phone",!0))},[e.createElementVNode("view",{class:"tit"},"手机号"),e.createElementVNode("view",{class:"means-zhuomi"},[e.unref(s).phone?(e.openBlock(),e.createElementBlock("view",{key:0,class:"means-zhuomi-tit"},e.toDisplayString(e.unref(s).phone),1)):e.createCommentVNode("",!0),e.createVNode(i,{color:"#999999",name:"arrow-right",size:"35rpx"})])])])]),e.createElementVNode("view",{style:{height:"80rpx"}}),e.createVNode(r,{text:"退出登录",size:"normal",type:"error",onClick:o[4]||(o[4]=t=>e.unref(h)())}),e.createVNode(p,{ref_key:"inputDialog",ref:l,type:"dialog"},{default:e.withCtx((()=>[e.createVNode(c,{ref:"inputClose",inputType:"text",mode:"input",title:"请输入昵称",placeholder:"请输入昵称",onConfirm:e.unref(d)},null,8,["onConfirm"])])),_:1},512)])}}},Fn=t(Ln,[["__scopeId","data-v-291f50db"]]),On={__name:"phone",setup(t){let o=e.ref({}),i=e.ref(""),a=e.ref(""),r=e.ref(null),l=e.ref(null),c=e.reactive({newPhone:"",newPhoneSmsCode:"",oldPhoneSmsCode:""});s((async e=>{o.value=await ro()}));let d=async()=>{var e;await(e=c,no("/api/v0/user/updatePhone",e)),uni.showToast({title:"修改成功",icon:"none"}),setTimeout((()=>{uni.navigateBack()}),1500)},u=e=>{i.value=e},h=e=>{a.value=e},p=e=>{if(!e)return uni.showToast({title:"请输入手机号",icon:"none"});r.value.canGetCode?(uni.showLoading({title:"正在获取验证码"}),ao({phone:e}).then((e=>{uni.hideLoading(),uni.$u.toast("验证码已发送"),r.value.start()}))):uni.$u.toast("倒计时结束后再发送")},m=e=>{if(!e)return uni.showToast({title:"请输入手机号",icon:"none"});l.value.canGetCode?(uni.showLoading({title:"正在获取验证码"}),ao({phone:e}).then((e=>{uni.hideLoading(),uni.$u.toast("验证码已发送"),l.value.start()}))):uni.$u.toast("倒计时结束后再发送")};return(t,s)=>{const g=n(e.resolveDynamicComponent("up-input"),jo),f=n(e.resolveDynamicComponent("up-code"),ei),y=n(e.resolveDynamicComponent("up-button"),oi);return e.openBlock(),e.createElementBlock("view",{class:"addBankCard p30"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入手机号:"),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(g,{border:!1,disabledColor:"#fff",placeholder:"请输入",disabled:"",modelValue:e.unref(o).phone,"onUpdate:modelValue":s[0]||(s[0]=t=>e.unref(o).phone=t)},null,8,["modelValue"])])]),e.createElementVNode("view",null,[e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入验证码:"),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(g,{border:!1,placeholder:"请输入",modelValue:e.unref(c).oldPhoneSmsCode,"onUpdate:modelValue":s[1]||(s[1]=t=>e.unref(c).oldPhoneSmsCode=t)},null,8,["modelValue"]),e.createElementVNode("view",{style:{width:"250rpx"}},[e.createVNode(f,{ref_key:"uCode1",ref:r,onChange:e.unref(u),"keep-running":"","start-text":"点我获取验证码"},null,8,["onChange"]),e.createVNode(y,{onClick:s[2]||(s[2]=t=>e.unref(p)(e.unref(o).phone)),color:"#4874e5"},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(e.unref(i)),1)])),_:1})])])]),e.createElementVNode("view",null,[e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入新手机号:"),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(g,{border:!1,placeholder:"请输入",modelValue:e.unref(c).newPhone,"onUpdate:modelValue":s[3]||(s[3]=t=>e.unref(c).newPhone=t)},null,8,["modelValue"])])]),e.createElementVNode("view",null,[e.createElementVNode("view",{class:"addBankCard_input_tit"},"请输入新手机号验证码:"),e.createElementVNode("view",{class:"addBankCard_input"},[e.createVNode(g,{border:!1,placeholder:"请输入",modelValue:e.unref(c).newPhoneSmsCode,"onUpdate:modelValue":s[4]||(s[4]=t=>e.unref(c).newPhoneSmsCode=t)},null,8,["modelValue"]),e.createElementVNode("view",{style:{width:"250rpx"}},[e.createVNode(f,{ref_key:"uCode2",ref:l,onChange:e.unref(h),"keep-running":"","start-text":"点我获取验证码"},null,8,["onChange"]),e.createVNode(y,{onClick:s[5]||(s[5]=t=>e.unref(m)(e.unref(c).newPhone)),color:"#4874e5"},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(e.unref(a)),1)])),_:1})])])])]),e.createElementVNode("view",{style:{height:"50rpx"}}),e.createElementVNode("view",{style:{display:"flex","justify-content":"center"}},[e.createElementVNode("view",{class:"addBankCard_btn",onClick:s[6]||(s[6]=(...t)=>e.unref(d)&&e.unref(d)(...t))},"确定")])])}}},Un=t(On,[["__scopeId","data-v-b139f4b9"]]),jn={__name:"withdrawList",setup(t){e.ref({});const o=e.ref(null);let i=e.ref([]),a=()=>!o.value;function r(e){if(!e||"string"!=typeof e)throw new Error("Invalid card number");const t=e.replace(/\D/g,"");if(t.length<4)throw new Error("Card number is too short");const o=t.slice(-4);return"*".repeat(t.length-4)+o}d((()=>{a()||o.value.reload().catch((()=>{}))})),l((e=>{a()||(o.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&o.value.doChatRecordLoadMore())})),c((()=>{a()||o.value.pageReachBottom()}));const s=(e,t)=>{((e,t={})=>no("/api/v0/extract/userExtractList",e))({current:e,pageSize:t}).then((e=>{o.value.complete(e.records)})).catch((e=>{o.value.complete(!1)}))};return(t,a)=>{const l=n(e.resolveDynamicComponent("z-paging"),Dt);return e.openBlock(),e.createElementBlock("view",{class:"earnings p30"},[e.createVNode(l,{ref_key:"paging",ref:o,modelValue:e.unref(i),"onUpdate:modelValue":a[0]||(a[0]=t=>e.isRef(i)?i.value=t:i=t),"use-page-scroll":"",onQuery:s},{default:e.withCtx((()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i),((t,o)=>(e.openBlock(),e.createElementBlock("view",{class:"mt30 wallet_list",key:o},[e.createElementVNode("view",{class:"wallet_list_left"},[e.createElementVNode("view",null,e.toDisplayString(1==t.type?"提现人":"提现公司")+""+e.toDisplayString(t.name),1),e.createElementVNode("view",null,"银行名称:"+e.toDisplayString(t.bankName),1),e.createElementVNode("view",null,"支行名称:"+e.toDisplayString(t.subbranchName),1),e.createElementVNode("view",null,"银行卡号:"+e.toDisplayString(r(t.bankCard)),1),e.createElementVNode("view",null,"提现时间:"+e.toDisplayString(e.unref(Z)(new Date(t.createTime).getTime(),"yyyy-mm-dd hh:MM")),1)]),e.createElementVNode("view",{class:"wallet_list_right"},e.toDisplayString(t.points)+"元",1)])))),128))])),_:1},8,["modelValue"])])}}},Hn=t(jn,[["__scopeId","data-v-3263b342"]]),Qn={easycom:{autoscan:!0,custom:{"^u--(.*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue","^up-(.*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue","^u-([^-].*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue"}},pages:[{path:"pages/index/index",style:{navigationBarTitleText:"",navigationStyle:"custom","mp-alipay":{transparentTitle:"always",titlePenetrate:"YES"}}},{path:"pages/market/market",style:{navigationBarTitleText:"",navigationStyle:"custom","mp-alipay":{transparentTitle:"always",titlePenetrate:"YES"}}},{path:"pages/mine/mine",style:{navigationBarTitleText:"",navigationStyle:"custom","mp-alipay":{transparentTitle:"always",titlePenetrate:"YES"}}},{path:"pages/piles/piles",style:{navigationBarTitleText:"我的充电桩"}},{path:"pages/wallet/wallet",style:{navigationBarTitleText:"钱包"}},{path:"pages/login/login",style:{navigationBarTitleText:"",navigationStyle:"custom","mp-alipay":{transparentTitle:"always",titlePenetrate:"YES"}}},{path:"pages/shop/shop",style:{navigationBarTitleText:"商品详情"}},{path:"pages/mine/earnings",style:{navigationBarTitleText:"收益"}},{path:"pages/wallet/withdraw",style:{navigationBarTitleText:"提现"}},{path:"pages/wallet/bankCard",style:{navigationBarTitleText:"银行卡"}},{path:"pages/wallet/addBankCard",style:{navigationBarTitleText:"添加银行卡"}},{path:"pages/login/register",style:{navigationBarTitleText:"",navigationStyle:"custom","mp-alipay":{transparentTitle:"always",titlePenetrate:"YES"}}},{path:"pages/order/order",style:{navigationBarTitleText:"订单"}},{path:"pages/shop/affirm",style:{navigationBarTitleText:"确定订单"}},{path:"pages/order/pay",style:{navigationBarTitleText:"确认订单"}},{path:"pages/setMeal/setMeal",style:{navigationBarTitleText:"套餐详情"}},{path:"pages/setMeal/affirm",style:{navigationBarTitleText:"确定订单"}},{path:"pages/setMealList/setMealList",style:{navigationBarTitleText:"组合套餐"}},{path:"pages/order/success",style:{navigationBarTitleText:""}},{path:"pages/agreement/agreement",style:{navigationBarTitleText:""}},{path:"pages/login/getBack",style:{navigationBarTitleText:"",navigationStyle:"custom","mp-alipay":{transparentTitle:"always",titlePenetrate:"YES"}}},{path:"pages/mine/topUp",style:{navigationBarTitleText:"余额充值"}},{path:"pages/mine/transferBalance",style:{navigationBarTitleText:"转入余额"}},{path:"pages/market/detail",style:{navigationBarTitleText:""}},{path:"pages/mine/setting",style:{navigationBarTitleText:""}},{path:"pages/mine/phone",style:{navigationBarTitleText:""}},{path:"pages/wallet/withdrawList",style:{navigationBarTitleText:"提现明细"}},{path:"pages/wallet/incomeList",style:{navigationBarTitleText:"收支明细"}},{path:"pages/mine/balanceIncome",style:{navigationBarTitleText:""}},{path:"pages/shareList/shareList",style:{navigationBarTitleText:"邀请记录"}},{path:"pages/mine/share",style:{navigationBarTitleText:"邀请码"}},{path:"pages/protocol/buy",style:{navigationBarTitleText:""}},{path:"pages/protocol/trusteeship",style:{navigationBarTitleText:""}},{path:"pages/activity/index",style:{navigationBarTitleText:"活动中心"}},{path:"pages/activity/detail813",style:{navigationBarTitleText:"活动"}},{path:"pages/activity/detail513",style:{navigationBarTitleText:"活动"}},{path:"pages/activity/shop/index",style:{navigationBarTitleText:"参与记录"}},{path:"pages/order/details",style:{navigationBarTitleText:"订单详情",enablePullDownRefresh:!0}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},uniIdRouter:{},tabBar:{color:"#999999",selectedColor:"#999999",borderStyle:"black",backgroundColor:"#ffffff",height:"60px",list:[{pagePath:"pages/index/index",text:"首页"},{pagePath:"pages/market/market",text:"公告"},{pagePath:"pages/mine/mine",text:"我的"}]}};function Wn(e,t,o){return e(o={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&o.path)}},o.exports),o.exports}var Gn=Wn((function(e,t){var o;e.exports=(o=o||function(e,t){var o=Object.create||function(){function e(){}return function(t){var o;return e.prototype=t,o=new e,e.prototype=null,o}}(),i={},n=i.lib={},a=n.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},r=n.WordArray=a.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,o=e.words,i=this.sigBytes,n=e.sigBytes;if(this.clamp(),i%4)for(var a=0;a<n;a++){var r=o[a>>>2]>>>24-a%4*8&255;t[i+a>>>2]|=r<<24-(i+a)%4*8}else for(a=0;a<n;a+=4)t[i+a>>>2]=o[a>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,o=this.sigBytes;t[o>>>2]&=4294967295<<32-o%4*8,t.length=e.ceil(o/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var o,i=[],n=function(t){var o=987654321,i=4294967295;return function(){var n=((o=36969*(65535&o)+(o>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return n/=4294967296,(n+=.5)*(e.random()>.5?1:-1)}},a=0;a<t;a+=4){var s=n(4294967296*(o||e.random()));o=987654071*s(),i.push(4294967296*s()|0)}return new r.init(i,t)}}),s=i.enc={},l=s.Hex={stringify:function(e){for(var t=e.words,o=e.sigBytes,i=[],n=0;n<o;n++){var a=t[n>>>2]>>>24-n%4*8&255;i.push((a>>>4).toString(16)),i.push((15&a).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,o=[],i=0;i<t;i+=2)o[i>>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new r.init(o,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,o=e.sigBytes,i=[],n=0;n<o;n++){var a=t[n>>>2]>>>24-n%4*8&255;i.push(String.fromCharCode(a))}return i.join("")},parse:function(e){for(var t=e.length,o=[],i=0;i<t;i++)o[i>>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new r.init(o,t)}},d=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},u=n.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new r.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var o=this._data,i=o.words,n=o.sigBytes,a=this.blockSize,s=n/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,c=e.min(4*l,n);if(l){for(var d=0;d<l;d+=a)this._doProcessBlock(i,d);var u=i.splice(0,l);o.sigBytes-=c}return new r.init(u,c)},clone:function(){var e=a.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});n.Hasher=u.extend({cfg:a.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,o){return new e.init(o).finalize(t)}},_createHmacHelper:function(e){return function(t,o){return new h.HMAC.init(e,o).finalize(t)}}});var h=i.algo={};return i}(Math),o)})),Zn=Gn,Yn=(Wn((function(e,t){var o;e.exports=(o=Zn,function(e){var t=o,i=t.lib,n=i.WordArray,a=i.Hasher,r=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=r.MD5=a.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var o=0;o<16;o++){var i=t+o,n=e[i];e[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var a=this._hash.words,r=e[t+0],l=e[t+1],p=e[t+2],m=e[t+3],g=e[t+4],f=e[t+5],y=e[t+6],w=e[t+7],v=e[t+8],b=e[t+9],S=e[t+10],k=e[t+11],x=e[t+12],C=e[t+13],T=e[t+14],A=e[t+15],E=a[0],N=a[1],B=a[2],V=a[3];E=c(E,N,B,V,r,7,s[0]),V=c(V,E,N,B,l,12,s[1]),B=c(B,V,E,N,p,17,s[2]),N=c(N,B,V,E,m,22,s[3]),E=c(E,N,B,V,g,7,s[4]),V=c(V,E,N,B,f,12,s[5]),B=c(B,V,E,N,y,17,s[6]),N=c(N,B,V,E,w,22,s[7]),E=c(E,N,B,V,v,7,s[8]),V=c(V,E,N,B,b,12,s[9]),B=c(B,V,E,N,S,17,s[10]),N=c(N,B,V,E,k,22,s[11]),E=c(E,N,B,V,x,7,s[12]),V=c(V,E,N,B,C,12,s[13]),B=c(B,V,E,N,T,17,s[14]),E=d(E,N=c(N,B,V,E,A,22,s[15]),B,V,l,5,s[16]),V=d(V,E,N,B,y,9,s[17]),B=d(B,V,E,N,k,14,s[18]),N=d(N,B,V,E,r,20,s[19]),E=d(E,N,B,V,f,5,s[20]),V=d(V,E,N,B,S,9,s[21]),B=d(B,V,E,N,A,14,s[22]),N=d(N,B,V,E,g,20,s[23]),E=d(E,N,B,V,b,5,s[24]),V=d(V,E,N,B,T,9,s[25]),B=d(B,V,E,N,m,14,s[26]),N=d(N,B,V,E,v,20,s[27]),E=d(E,N,B,V,C,5,s[28]),V=d(V,E,N,B,p,9,s[29]),B=d(B,V,E,N,w,14,s[30]),E=u(E,N=d(N,B,V,E,x,20,s[31]),B,V,f,4,s[32]),V=u(V,E,N,B,v,11,s[33]),B=u(B,V,E,N,k,16,s[34]),N=u(N,B,V,E,T,23,s[35]),E=u(E,N,B,V,l,4,s[36]),V=u(V,E,N,B,g,11,s[37]),B=u(B,V,E,N,w,16,s[38]),N=u(N,B,V,E,S,23,s[39]),E=u(E,N,B,V,C,4,s[40]),V=u(V,E,N,B,r,11,s[41]),B=u(B,V,E,N,m,16,s[42]),N=u(N,B,V,E,y,23,s[43]),E=u(E,N,B,V,b,4,s[44]),V=u(V,E,N,B,x,11,s[45]),B=u(B,V,E,N,A,16,s[46]),E=h(E,N=u(N,B,V,E,p,23,s[47]),B,V,r,6,s[48]),V=h(V,E,N,B,w,10,s[49]),B=h(B,V,E,N,T,15,s[50]),N=h(N,B,V,E,f,21,s[51]),E=h(E,N,B,V,x,6,s[52]),V=h(V,E,N,B,m,10,s[53]),B=h(B,V,E,N,S,15,s[54]),N=h(N,B,V,E,l,21,s[55]),E=h(E,N,B,V,v,6,s[56]),V=h(V,E,N,B,A,10,s[57]),B=h(B,V,E,N,y,15,s[58]),N=h(N,B,V,E,C,21,s[59]),E=h(E,N,B,V,g,6,s[60]),V=h(V,E,N,B,k,10,s[61]),B=h(B,V,E,N,p,15,s[62]),N=h(N,B,V,E,b,21,s[63]),a[0]=a[0]+E|0,a[1]=a[1]+N|0,a[2]=a[2]+B|0,a[3]=a[3]+V|0},_doFinalize:function(){var t=this._data,o=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;o[n>>>5]|=128<<24-n%32;var a=e.floor(i/4294967296),r=i;o[15+(n+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),o[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(o.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var d=l[c];l[c]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,o,i,n,a,r){var s=e+(t&o|~t&i)+n+r;return(s<<a|s>>>32-a)+t}function d(e,t,o,i,n,a,r){var s=e+(t&i|o&~i)+n+r;return(s<<a|s>>>32-a)+t}function u(e,t,o,i,n,a,r){var s=e+(t^o^i)+n+r;return(s<<a|s>>>32-a)+t}function h(e,t,o,i,n,a,r){var s=e+(o^(t|~i))+n+r;return(s<<a|s>>>32-a)+t}t.MD5=a._createHelper(l),t.HmacMD5=a._createHmacHelper(l)}(Math),o.MD5)})),Wn((function(e,t){var o,i,n;e.exports=(i=(o=Zn).lib.Base,n=o.enc.Utf8,void(o.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var o=e.blockSize,i=4*o;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),r=this._iKey=t.clone(),s=a.words,l=r.words,c=0;c<o;c++)s[c]^=1549556828,l[c]^=909522486;a.sigBytes=r.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,o=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(o))}})))})),Wn((function(e,t){e.exports=Zn.HmacMD5}))),qn=Wn((function(e,t){e.exports=Zn.enc.Utf8})),Jn=Wn((function(e,t){var o,i,n;e.exports=(n=(i=o=Zn).lib.WordArray,i.enc.Base64={stringify:function(e){var t=e.words,o=e.sigBytes,i=this._map;e.clamp();for(var n=[],a=0;a<o;a+=3)for(var r=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s<o;s++)n.push(i.charAt(r>>>6*(3-s)&63));var l=i.charAt(64);if(l)for(;n.length%4;)n.push(l);return n.join("")},parse:function(e){var t=e.length,o=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<o.length;a++)i[o.charCodeAt(a)]=a}var r=o.charAt(64);if(r){var s=e.indexOf(r);-1!==s&&(t=s)}return function(e,t,o){for(var i=[],a=0,r=0;r<t;r++)if(r%4){var s=o[e.charCodeAt(r-1)]<<r%4*2,l=o[e.charCodeAt(r)]>>>6-r%4*2;i[a>>>2]|=(s|l)<<24-a%4*8,a++}return n.create(i,a)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)}));const Kn="FUNCTION",Xn="pending",$n="rejected";function ea(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function ta(e){return"object"===ea(e)}function oa(e){return"function"==typeof e}function ia(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}const na="REJECTED",aa="NOT_PENDING";class ra{constructor({createPromise:e,retryRule:t=na}={}){this.createPromise=e,this.status=null,this.promise=null,this.retryRule=t}get needRetry(){if(!this.status)return!0;switch(this.retryRule){case na:return this.status===$n;case aa:return this.status!==Xn}}exec(){return this.needRetry?(this.status=Xn,this.promise=this.createPromise().then((e=>(this.status="fulfilled",Promise.resolve(e))),(e=>(this.status=$n,Promise.reject(e)))),this.promise):this.promise}}function sa(e){return e&&"string"==typeof e?JSON.parse(e):e}const la=sa([]);sa("");const ca=sa("[]")||[];let da="";try{da="__UNI__E097FA0"}catch($a){}let ua={};function ha(e,t={}){var o,i;return o=ua,i=e,Object.prototype.hasOwnProperty.call(o,i)||(ua[e]=t),ua[e]}ua=uni._globalUniCloudObj?uni._globalUniCloudObj:uni._globalUniCloudObj={};const pa=["invoke","success","fail","complete"],ma=ha("_globalUniCloudInterceptor");function ga(e,t){ma[e]||(ma[e]={}),ta(t)&&Object.keys(t).forEach((o=>{pa.indexOf(o)>-1&&function(e,t,o){let i=ma[e][t];i||(i=ma[e][t]=[]),-1===i.indexOf(o)&&oa(o)&&i.push(o)}(e,o,t[o])}))}function fa(e,t){ma[e]||(ma[e]={}),ta(t)?Object.keys(t).forEach((o=>{pa.indexOf(o)>-1&&function(e,t,o){const i=ma[e][t];if(!i)return;const n=i.indexOf(o);n>-1&&i.splice(n,1)}(e,o,t[o])})):delete ma[e]}function ya(e,t){return e&&0!==e.length?e.reduce(((e,o)=>e.then((()=>o(t)))),Promise.resolve()):Promise.resolve()}function wa(e,t){return ma[e]&&ma[e][t]||[]}function va(e){ga("callObject",e)}const ba=ha("_globalUniCloudListener"),Sa="response",ka="needLogin",xa="refreshToken",Ca="clientdb",Ta="cloudfunction",Aa="cloudobject";function Ea(e){return ba[e]||(ba[e]=[]),ba[e]}function Na(e,t){const o=Ea(e);o.includes(t)||o.push(t)}function Ba(e,t){const o=Ea(e),i=o.indexOf(t);-1!==i&&o.splice(i,1)}function Va(e,t){const o=Ea(e);for(let i=0;i<o.length;i++)(0,o[i])(t)}let _a,Ia=!1;function Da(){return _a||(_a=new Promise((e=>{Ia&&e(),function t(){if("function"==typeof getCurrentPages){const t=getCurrentPages();t&&t[0]&&(Ia=!0,e())}Ia||setTimeout((()=>{t()}),30)}()})),_a)}function za(e){const t={};for(const o in e){const i=e[o];oa(i)&&(t[o]=ia(i))}return t}class Ra extends Error{constructor(e){super(e.message),this.errMsg=e.message||e.errMsg||"unknown system error",this.code=this.errCode=e.code||e.errCode||"SYSTEM_ERROR",this.errSubject=this.subject=e.subject||e.errSubject,this.cause=e.cause,this.requestId=e.requestId}toJson(e=0){if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}var Pa={request:e=>uni.request(e),uploadFile:e=>uni.uploadFile(e),setStorageSync:(e,t)=>uni.setStorageSync(e,t),getStorageSync:e=>uni.getStorageSync(e),removeStorageSync:e=>uni.removeStorageSync(e),clearStorageSync:()=>uni.clearStorageSync(),connectSocket:e=>uni.connectSocket(e)};function Ma(e){return e&&Ma(e.__v_raw)||e}function La(){return{token:Pa.getStorageSync("uni_id_token")||Pa.getStorageSync("uniIdToken"),tokenExpired:Pa.getStorageSync("uni_id_token_expired")}}function Fa({token:e,tokenExpired:t}={}){e&&Pa.setStorageSync("uni_id_token",e),t&&Pa.setStorageSync("uni_id_token_expired",t)}let Oa,Ua;function ja(){return Oa||(Oa=uni.getSystemInfoSync()),Oa}function Ha(){let e,t;try{if(uni.getLaunchOptionsSync){if(uni.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;const{scene:o,channel:i}=uni.getLaunchOptionsSync();e=i,t=o}}catch(o){}return{channel:e,scene:t}}let Qa={};function Wa(){const e=uni.getLocale&&uni.getLocale()||"en";if(Ua)return{...Qa,...Ua,locale:e,LOCALE:e};const t=ja(),{deviceId:o,osName:i,uniPlatform:n,appId:a}=t,r=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(const s in t)Object.hasOwnProperty.call(t,s)&&-1===r.indexOf(s)&&delete t[s];return Ua={PLATFORM:n,OS:i,APPID:a,DEVICEID:o,...Ha(),...t},{...Qa,...Ua,locale:e,LOCALE:e}}var Ga=function(e,t){let o="";return Object.keys(e).sort().forEach((function(t){e[t]&&(o=o+"&"+t+"="+e[t])})),o=o.slice(1),Yn(o,t).toString()},Za=function(e,t){return new Promise(((o,i)=>{t(Object.assign(e,{complete(e){e||(e={});const t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){const o=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",n=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return i(new Ra({code:o,message:n,requestId:t}))}const n=e.data;if(n.error)return i(new Ra({code:n.error.code,message:n.error.message,requestId:t}));n.result=n.data,n.requestId=t,delete n.data,o(n)}}))}))},Ya=function(e){return Jn.stringify(qn.parse(e))},qa=class{constructor(e){["spaceId","clientSecret"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=Pa,this._getAccessTokenPromiseHub=new ra({createPromise:()=>this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((e=>{if(!e.result||!e.result.accessToken)throw new Ra({code:"AUTH_FAILED",message:"获取accessToken失败"});this.setAccessToken(e.result.accessToken)})),retryRule:aa})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return Za(e,this.adapter.request)}requestAuth(e){return this.requestWrapped(e)}request(e,t){return Promise.resolve().then((()=>this.hasAccessToken?t?this.requestWrapped(e):this.requestWrapped(e).catch((t=>new Promise(((e,o)=>{!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?o(t):e()})).then((()=>this.getAccessToken())).then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)})))):this.getAccessToken().then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)}))))}rebuildRequest(e){const t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=Ga(t.data,this.config.clientSecret),t}setupRequest(e,t){const o=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};return"auth"!==t&&(o.token=this.accessToken,i["x-basement-token"]=this.accessToken),i["x-serverless-sign"]=Ga(o,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:o,dataType:"json",header:i}}getAccessToken(){return this._getAccessTokenPromiseHub.exec()}async authorize(){await this.getAccessToken()}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}getOSSUploadOptionsFromPath(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFileToOSS({url:e,formData:t,name:o,filePath:i,fileType:n,onUploadProgress:a}){return new Promise(((r,s)=>{const l=this.adapter.uploadFile({url:e,formData:t,name:o,filePath:i,fileType:n,header:{"X-OSS-server-side-encrpytion":"AES256"},success(e){e&&e.statusCode<400?r(e):s(new Ra({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){s(new Ra({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof a&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((e=>{a({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}reportOSSUpload(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}async uploadFile({filePath:e,cloudPath:t,fileType:o="image",cloudPathAsRealPath:i=!1,onUploadProgress:n,config:a}){if("string"!==ea(t))throw new Ra({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new Ra({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new Ra({code:"INVALID_PARAM",message:"cloudPath不合法"});const r=a&&a.envType||this.config.envType;if(i&&("/"!==t[0]&&(t="/"+t),t.indexOf("\\")>-1))throw new Ra({code:"INVALID_PARAM",message:"使用cloudPath作为路径时cloudPath不可包含“\\”"});const s=(await this.getOSSUploadOptionsFromPath({env:r,filename:i?t.split("/").pop():t,fileId:i?t:void 0})).result,l="https://"+s.cdnDomain+"/"+s.ossPath,{securityToken:c,accessKeyId:d,signature:u,host:h,ossPath:p,id:m,policy:g,ossCallbackUrl:f}=s,y={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:d,Signature:u,host:h,id:m,key:p,policy:g,success_action_status:200};if(c&&(y["x-oss-security-token"]=c),f){const e=JSON.stringify({callbackUrl:f,callbackBody:JSON.stringify({fileId:m,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});y.callback=Ya(e)}const w={url:"https://"+s.host,formData:y,fileName:"file",name:"file",filePath:e,fileType:o};if(await this.uploadFileToOSS(Object.assign({},w,{onUploadProgress:n})),f)return{success:!0,filePath:e,fileID:l};if((await this.reportOSSUpload({id:m})).success)return{success:!0,filePath:e,fileID:l};throw new Ra({code:"UPLOAD_FAILED",message:"文件上传失败"})}getTempFileURL({fileList:e}={}){return new Promise(((t,o)=>{Array.isArray(e)&&0!==e.length||o(new Ra({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),t({fileList:e.map((e=>({fileID:e,tempFileURL:e})))})}))}async getFileInfo({fileList:e}={}){if(!Array.isArray(e)||0===e.length)throw new Ra({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.info",params:JSON.stringify({id:e.map((e=>e.split("?")[0])).join(",")})};return{fileList:(await this.request(this.setupRequest(t))).result}}},Ja={init(e){const t=new qa(e),o={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return o},t.customAuth=t.auth,t}};const Ka="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";var Xa,$a;($a=Xa||(Xa={})).local="local",$a.none="none",$a.session="session";var er=function(){},tr=Wn((function(e,t){var o;e.exports=(o=Zn,function(e){var t=o,i=t.lib,n=i.WordArray,a=i.Hasher,r=t.algo,s=[],l=[];!function(){function t(t){for(var o=e.sqrt(t),i=2;i<=o;i++)if(!(t%i))return!1;return!0}function o(e){return 4294967296*(e-(0|e))|0}for(var i=2,n=0;n<64;)t(i)&&(n<8&&(s[n]=o(e.pow(i,.5))),l[n]=o(e.pow(i,1/3)),n++),i++}();var c=[],d=r.SHA256=a.extend({_doReset:function(){this._hash=new n.init(s.slice(0))},_doProcessBlock:function(e,t){for(var o=this._hash.words,i=o[0],n=o[1],a=o[2],r=o[3],s=o[4],d=o[5],u=o[6],h=o[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var m=c[p-15],g=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,f=c[p-2],y=(f<<15|f>>>17)^(f<<13|f>>>19)^f>>>10;c[p]=g+c[p-7]+y+c[p-16]}var w=i&n^i&a^n&a,v=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),b=h+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&d^~s&u)+l[p]+c[p];h=u,u=d,d=s,s=r+b|0,r=a,a=n,n=i,i=b+(v+w)|0}o[0]=o[0]+i|0,o[1]=o[1]+n|0,o[2]=o[2]+a|0,o[3]=o[3]+r|0,o[4]=o[4]+s|0,o[5]=o[5]+d|0,o[6]=o[6]+u|0,o[7]=o[7]+h|0},_doFinalize:function(){var t=this._data,o=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;return o[n>>>5]|=128<<24-n%32,o[14+(n+64>>>9<<4)]=e.floor(i/4294967296),o[15+(n+64>>>9<<4)]=i,t.sigBytes=4*o.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(d),t.HmacSHA256=a._createHmacHelper(d)}(Math),o.SHA256)})),or=tr,ir=Wn((function(e,t){e.exports=Zn.HmacSHA256}));const nr=()=>{let e;if(!Promise){e=()=>{},e.promise={};const t=()=>{throw new Ra({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}const t=new Promise(((t,o)=>{e=(e,i)=>e?o(e):t(i)}));return e.promise=t,e};function ar(e){return void 0===e}function rr(e){return"[object Null]"===Object.prototype.toString.call(e)}var sr;!function(e){e.WEB="web",e.WX_MP="wx_mp"}(sr||(sr={}));const lr={adapter:null,runtime:void 0},cr=["anonymousUuidKey"];class dr extends er{constructor(){super(),lr.adapter.root.tcbObject||(lr.adapter.root.tcbObject={})}setItem(e,t){lr.adapter.root.tcbObject[e]=t}getItem(e){return lr.adapter.root.tcbObject[e]}removeItem(e){delete lr.adapter.root.tcbObject[e]}clear(){delete lr.adapter.root.tcbObject}}function ur(e,t){switch(e){case"local":return t.localStorage||new dr;case"none":return new dr;default:return t.sessionStorage||new dr}}class hr{constructor(e){if(!this._storage){this._persistence=lr.adapter.primaryStorage||e.persistence,this._storage=ur(this._persistence,lr.adapter);const t=`access_token_${e.env}`,o=`access_token_expire_${e.env}`,i=`refresh_token_${e.env}`,n=`anonymous_uuid_${e.env}`,a=`login_type_${e.env}`,r=`user_info_${e.env}`;this.keys={accessTokenKey:t,accessTokenExpireKey:o,refreshTokenKey:i,anonymousUuidKey:n,loginTypeKey:a,userInfoKey:r}}}updatePersistence(e){if(e===this._persistence)return;const t="local"===this._persistence;this._persistence=e;const o=ur(e,lr.adapter);for(const i in this.keys){const e=this.keys[i];if(t&&cr.includes(i))continue;const n=this._storage.getItem(e);ar(n)||rr(n)||(o.setItem(e,n),this._storage.removeItem(e))}this._storage=o}setStore(e,t,o){if(!this._storage)return;const i={version:o||"localCachev1",content:t},n=JSON.stringify(i);try{this._storage.setItem(e,n)}catch(a){throw a}}getStore(e,t){try{if(!this._storage)return}catch(i){return""}t=t||"localCachev1";const o=this._storage.getItem(e);return o&&o.indexOf(t)>=0?JSON.parse(o).content:""}removeStore(e){this._storage.removeItem(e)}}const pr={},mr={};function gr(e){return pr[e]}class fr{constructor(e,t){this.data=t||null,this.name=e}}class yr extends fr{constructor(e,t){super("error",{error:e,data:t}),this.error=e}}const wr=new class{constructor(){this._listeners={}}on(e,t){return o=e,i=t,(n=this._listeners)[o]=n[o]||[],n[o].push(i),this;var o,i,n}off(e,t){return function(e,t,o){if(o&&o[e]){const i=o[e].indexOf(t);-1!==i&&o[e].splice(i,1)}}(e,t,this._listeners),this}fire(e,t){if(e instanceof yr)return console.error(e.error),this;const o="string"==typeof e?new fr(e,t||{}):e,i=o.name;if(this._listens(i)){o.target=this;const e=this._listeners[i]?[...this._listeners[i]]:[];for(const t of e)t.call(this,o)}return this}_listens(e){return this._listeners[e]&&this._listeners[e].length>0}};function vr(e,t){wr.on(e,t)}function br(e,t={}){wr.fire(e,t)}function Sr(e,t){wr.off(e,t)}const kr="loginStateChanged",xr="loginStateExpire",Cr="loginTypeChanged",Tr="anonymousConverted",Ar="refreshAccessToken";var Er;!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(Er||(Er={}));const Nr=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],Br={"X-SDK-Version":"1.3.5"};function Vr(e,t,o){const i=e[t];e[t]=function(t){const n={},a={};o.forEach((o=>{const{data:i,headers:r}=o.call(e,t);Object.assign(n,i),Object.assign(a,r)}));const r=t.data;return r&&(()=>{var e;if(e=r,"[object FormData]"!==Object.prototype.toString.call(e))t.data={...r,...n};else for(const t in n)r.append(t,n[t])})(),t.headers={...t.headers||{},...a},i.call(e,t)}}function _r(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:{...Br,"x-seqid":e}}}class Ir{constructor(e={}){var t;this.config=e,this._reqClass=new lr.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成已中断`,restrictedMethods:["post"]}),this._cache=gr(this.config.env),this._localCache=(t=this.config.env,mr[t]),Vr(this._reqClass,"post",[_r]),Vr(this._reqClass,"upload",[_r]),Vr(this._reqClass,"download",[_r])}async post(e){return await this._reqClass.post(e)}async upload(e){return await this._reqClass.upload(e)}async download(e){return await this._reqClass.download(e)}async refreshAccessToken(){let e,t;this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken());try{e=await this._refreshAccessTokenPromise}catch(o){t=o}if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,t)throw t;return e}async _refreshAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:o,loginTypeKey:i,anonymousUuidKey:n}=this._cache.keys;this._cache.removeStore(e),this._cache.removeStore(t);let a=this._cache.getStore(o);if(!a)throw new Ra({message:"未登录CloudBase"});const r={refresh_token:a},s=await this.request("auth.fetchAccessTokenWithRefreshToken",r);if(s.data.code){const{code:e}=s.data;if("SIGN_PARAM_INVALID"===e||"REFRESH_TOKEN_EXPIRED"===e||"INVALID_REFRESH_TOKEN"===e){if(this._cache.getStore(i)===Er.ANONYMOUS&&"INVALID_REFRESH_TOKEN"===e){const e=this._cache.getStore(n),t=this._cache.getStore(o),i=await this.send("auth.signInAnonymously",{anonymous_uuid:e,refresh_token:t});return this.setRefreshToken(i.refresh_token),this._refreshAccessToken()}br(xr),this._cache.removeStore(o)}throw new Ra({code:s.data.code,message:`刷新access token失败${s.data.code}`})}if(s.data.access_token)return br(Ar),this._cache.setStore(e,s.data.access_token),this._cache.setStore(t,s.data.access_token_expire+Date.now()),{accessToken:s.data.access_token,accessTokenExpire:s.data.access_token_expire};s.data.refresh_token&&(this._cache.removeStore(o),this._cache.setStore(o,s.data.refresh_token),this._refreshAccessToken())}async getAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:o}=this._cache.keys;if(!this._cache.getStore(o))throw new Ra({message:"refresh token不存在登录状态异常"});let i=this._cache.getStore(e),n=this._cache.getStore(t),a=!0;return this._shouldRefreshAccessTokenHook&&!(await this._shouldRefreshAccessTokenHook(i,n))&&(a=!1),(!i||!n||n<Date.now())&&a?this.refreshAccessToken():{accessToken:i,accessTokenExpire:n}}async request(e,t,o){const i=`x-tcb-trace_${this.config.env}`;let n="application/x-www-form-urlencoded";const a={action:e,env:this.config.env,dataVersion:"2019-08-16",...t};if(-1===Nr.indexOf(e)){const{refreshTokenKey:e}=this._cache.keys;this._cache.getStore(e)&&(a.access_token=(await this.getAccessToken()).accessToken)}let r;if("storage.uploadFile"===e){r=new FormData;for(let e in r)r.hasOwnProperty(e)&&void 0!==r[e]&&r.append(e,a[e]);n="multipart/form-data"}else{n="application/json",r={};for(let e in a)void 0!==a[e]&&(r[e]=a[e])}let s={headers:{"content-type":n}};o&&o.onUploadProgress&&(s.onUploadProgress=o.onUploadProgress);const l=this._localCache.getStore(i);l&&(s.headers["X-TCB-Trace"]=l);const{parse:c,inQuery:d,search:u}=t;let h={env:this.config.env};c&&(h.parse=!0),d&&(h={...d,...h});let p=function(e,t,o={}){const i=/\?/.test(t);let n="";for(let a in o)""===n?!i&&(t+="?"):n+="&",n+=`${a}=${encodeURIComponent(o[a])}`;return/^http(s)?\:\/\//.test(t+=n)?t:`${e}${t}`}(Ka,"//tcb-api.tencentcloudapi.com/web",h);u&&(p+=u);const m=await this.post({url:p,data:r,...s}),g=m.header&&m.header["x-tcb-trace"];if(g&&this._localCache.setStore(i,g),200!==Number(m.status)&&200!==Number(m.statusCode)||!m.data)throw new Ra({code:"NETWORK_ERROR",message:"network request error"});return m}async send(e,t={}){const o=await this.request(e,t,{onUploadProgress:t.onUploadProgress});if("ACCESS_TOKEN_EXPIRED"===o.data.code&&-1===Nr.indexOf(e)){await this.refreshAccessToken();const o=await this.request(e,t,{onUploadProgress:t.onUploadProgress});if(o.data.code)throw new Ra({code:o.data.code,message:o.data.message});return o.data}if(o.data.code)throw new Ra({code:o.data.code,message:o.data.message});return o.data}setRefreshToken(e){const{accessTokenKey:t,accessTokenExpireKey:o,refreshTokenKey:i}=this._cache.keys;this._cache.removeStore(t),this._cache.removeStore(o),this._cache.setStore(i,e)}}const Dr={};function zr(e){return Dr[e]}class Rr{constructor(e){this.config=e,this._cache=gr(e.env),this._request=zr(e.env)}setRefreshToken(e){const{accessTokenKey:t,accessTokenExpireKey:o,refreshTokenKey:i}=this._cache.keys;this._cache.removeStore(t),this._cache.removeStore(o),this._cache.setStore(i,e)}setAccessToken(e,t){const{accessTokenKey:o,accessTokenExpireKey:i}=this._cache.keys;this._cache.setStore(o,e),this._cache.setStore(i,t)}async refreshUserInfo(){const{data:e}=await this._request.send("auth.getUserInfo",{});return this.setLocalUserInfo(e),e}setLocalUserInfo(e){const{userInfoKey:t}=this._cache.keys;this._cache.setStore(t,e)}}class Pr{constructor(e){if(!e)throw new Ra({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=e,this._cache=gr(this._envId),this._request=zr(this._envId),this.setUserInfo()}linkWithTicket(e){if("string"!=typeof e)throw new Ra({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:e})}linkWithRedirect(e){e.signInWithRedirect()}updatePassword(e,t){return this._request.send("auth.updatePassword",{oldPassword:t,newPassword:e})}updateEmail(e){return this._request.send("auth.updateEmail",{newEmail:e})}updateUsername(e){if("string"!=typeof e)throw new Ra({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:e})}async getLinkedUidList(){const{data:e}=await this._request.send("auth.getLinkedUidList",{});let t=!1;const{users:o}=e;return o.forEach((e=>{e.wxOpenId&&e.wxPublicId&&(t=!0)})),{users:o,hasPrimaryUid:t}}setPrimaryUid(e){return this._request.send("auth.setPrimaryUid",{uid:e})}unlink(e){return this._request.send("auth.unlink",{platform:e})}async update(e){const{nickName:t,gender:o,avatarUrl:i,province:n,country:a,city:r}=e,{data:s}=await this._request.send("auth.updateUserInfo",{nickName:t,gender:o,avatarUrl:i,province:n,country:a,city:r});this.setLocalUserInfo(s)}async refresh(){const{data:e}=await this._request.send("auth.getUserInfo",{});return this.setLocalUserInfo(e),e}setUserInfo(){const{userInfoKey:e}=this._cache.keys,t=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((e=>{this[e]=t[e]})),this.location={country:t.country,province:t.province,city:t.city}}setLocalUserInfo(e){const{userInfoKey:t}=this._cache.keys;this._cache.setStore(t,e),this.setUserInfo()}}class Mr{constructor(e){if(!e)throw new Ra({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=gr(e);const{refreshTokenKey:t,accessTokenKey:o,accessTokenExpireKey:i}=this._cache.keys,n=this._cache.getStore(t),a=this._cache.getStore(o),r=this._cache.getStore(i);this.credential={refreshToken:n,accessToken:a,accessTokenExpire:r},this.user=new Pr(e)}get isAnonymousAuth(){return this.loginType===Er.ANONYMOUS}get isCustomAuth(){return this.loginType===Er.CUSTOM}get isWeixinAuth(){return this.loginType===Er.WECHAT||this.loginType===Er.WECHAT_OPEN||this.loginType===Er.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class Lr extends Rr{async signIn(){this._cache.updatePersistence("local");const{anonymousUuidKey:e,refreshTokenKey:t}=this._cache.keys,o=this._cache.getStore(e)||void 0,i=this._cache.getStore(t)||void 0,n=await this._request.send("auth.signInAnonymously",{anonymous_uuid:o,refresh_token:i});if(n.uuid&&n.refresh_token){this._setAnonymousUUID(n.uuid),this.setRefreshToken(n.refresh_token),await this._request.refreshAccessToken(),br(kr),br(Cr,{env:this.config.env,loginType:Er.ANONYMOUS,persistence:"local"});const e=new Mr(this.config.env);return await e.user.refresh(),e}throw new Ra({message:"匿名登录失败"})}async linkAndRetrieveDataWithTicket(e){const{anonymousUuidKey:t,refreshTokenKey:o}=this._cache.keys,i=this._cache.getStore(t),n=this._cache.getStore(o),a=await this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:i,refresh_token:n,ticket:e});if(a.refresh_token)return this._clearAnonymousUUID(),this.setRefreshToken(a.refresh_token),await this._request.refreshAccessToken(),br(Tr,{env:this.config.env}),br(Cr,{loginType:Er.CUSTOM,persistence:"local"}),{credential:{refreshToken:a.refresh_token}};throw new Ra({message:"匿名转化失败"})}_setAnonymousUUID(e){const{anonymousUuidKey:t,loginTypeKey:o}=this._cache.keys;this._cache.removeStore(t),this._cache.setStore(t,e),this._cache.setStore(o,Er.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class Fr extends Rr{async signIn(e){if("string"!=typeof e)throw new Ra({code:"PARAM_ERROR",message:"ticket must be a string"});const{refreshTokenKey:t}=this._cache.keys,o=await this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(t)||""});if(o.refresh_token)return this.setRefreshToken(o.refresh_token),await this._request.refreshAccessToken(),br(kr),br(Cr,{env:this.config.env,loginType:Er.CUSTOM,persistence:this.config.persistence}),await this.refreshUserInfo(),new Mr(this.config.env);throw new Ra({message:"自定义登录失败"})}}class Or extends Rr{async signIn(e,t){if("string"!=typeof e)throw new Ra({code:"PARAM_ERROR",message:"email must be a string"});const{refreshTokenKey:o}=this._cache.keys,i=await this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:t,refresh_token:this._cache.getStore(o)||""}),{refresh_token:n,access_token:a,access_token_expire:r}=i;if(n)return this.setRefreshToken(n),a&&r?this.setAccessToken(a,r):await this._request.refreshAccessToken(),await this.refreshUserInfo(),br(kr),br(Cr,{env:this.config.env,loginType:Er.EMAIL,persistence:this.config.persistence}),new Mr(this.config.env);throw i.code?new Ra({code:i.code,message:`邮箱登录失败: ${i.message}`}):new Ra({message:"邮箱登录失败"})}async activate(e){return this._request.send("auth.activateEndUserMail",{token:e})}async resetPasswordWithToken(e,t){return this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:t})}}class Ur extends Rr{async signIn(e,t){if("string"!=typeof e)throw new Ra({code:"PARAM_ERROR",message:"username must be a string"});"string"!=typeof t&&(t="",console.warn("password is empty"));const{refreshTokenKey:o}=this._cache.keys,i=await this._request.send("auth.signIn",{loginType:Er.USERNAME,username:e,password:t,refresh_token:this._cache.getStore(o)||""}),{refresh_token:n,access_token_expire:a,access_token:r}=i;if(n)return this.setRefreshToken(n),r&&a?this.setAccessToken(r,a):await this._request.refreshAccessToken(),await this.refreshUserInfo(),br(kr),br(Cr,{env:this.config.env,loginType:Er.USERNAME,persistence:this.config.persistence}),new Mr(this.config.env);throw i.code?new Ra({code:i.code,message:`用户名密码登录失败: ${i.message}`}):new Ra({message:"用户名密码登录失败"})}}class jr{constructor(e){this.config=e,this._cache=gr(e.env),this._request=zr(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),vr(Cr,this._onLoginTypeChanged)}get currentUser(){const e=this.hasLoginState();return e&&e.user||null}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}anonymousAuthProvider(){return new Lr(this.config)}customAuthProvider(){return new Fr(this.config)}emailAuthProvider(){return new Or(this.config)}usernameAuthProvider(){return new Ur(this.config)}async signInAnonymously(){return new Lr(this.config).signIn()}async signInWithEmailAndPassword(e,t){return new Or(this.config).signIn(e,t)}signInWithUsernameAndPassword(e,t){return new Ur(this.config).signIn(e,t)}async linkAndRetrieveDataWithTicket(e){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new Lr(this.config)),vr(Tr,this._onAnonymousConverted),await this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e)}async signOut(){if(this.loginType===Er.ANONYMOUS)throw new Ra({message:"匿名用户不支持登出操作"});const{refreshTokenKey:e,accessTokenKey:t,accessTokenExpireKey:o}=this._cache.keys,i=this._cache.getStore(e);if(!i)return;const n=await this._request.send("auth.logout",{refresh_token:i});return this._cache.removeStore(e),this._cache.removeStore(t),this._cache.removeStore(o),br(kr),br(Cr,{env:this.config.env,loginType:Er.NULL,persistence:this.config.persistence}),n}async signUpWithEmailAndPassword(e,t){return this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:t})}async sendPasswordResetEmail(e){return this._request.send("auth.sendPasswordResetEmail",{email:e})}onLoginStateChanged(e){vr(kr,(()=>{const t=this.hasLoginState();e.call(this,t)}));const t=this.hasLoginState();e.call(this,t)}onLoginStateExpired(e){vr(xr,e.bind(this))}onAccessTokenRefreshed(e){vr(Ar,e.bind(this))}onAnonymousConverted(e){vr(Tr,e.bind(this))}onLoginTypeChanged(e){vr(Cr,(()=>{const t=this.hasLoginState();e.call(this,t)}))}async getAccessToken(){return{accessToken:(await this._request.getAccessToken()).accessToken,env:this.config.env}}hasLoginState(){const{refreshTokenKey:e}=this._cache.keys;return this._cache.getStore(e)?new Mr(this.config.env):null}async isUsernameRegistered(e){if("string"!=typeof e)throw new Ra({code:"PARAM_ERROR",message:"username must be a string"});const{data:t}=await this._request.send("auth.isUsernameRegistered",{username:e});return t&&t.isRegistered}getLoginState(){return Promise.resolve(this.hasLoginState())}async signInWithTicket(e){return new Fr(this.config).signIn(e)}shouldRefreshAccessToken(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}getUserInfo(){return this._request.send("auth.getUserInfo",{}).then((e=>e.code?e:{...e.data,requestId:e.seqId}))}getAuthHeader(){const{refreshTokenKey:e,accessTokenKey:t}=this._cache.keys,o=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(t)+"/@@/"+o}}_onAnonymousConverted(e){const{env:t}=e.data;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}_onLoginTypeChanged(e){const{loginType:t,persistence:o,env:i}=e.data;i===this.config.env&&(this._cache.updatePersistence(o),this._cache.setStore(this._cache.keys.loginTypeKey,t))}}const Hr=function(e,t){t=t||nr();const o=zr(this.config.env),{cloudPath:i,filePath:n,onUploadProgress:a,fileType:r="image"}=e;return o.send("storage.getUploadMetadata",{path:i}).then((e=>{const{data:{url:s,authorization:l,token:c,fileId:d,cosFileId:u},requestId:h}=e,p={key:i,signature:l,"x-cos-meta-fileid":u,success_action_status:"201","x-cos-security-token":c};o.upload({url:s,data:p,file:n,name:i,fileType:r,onUploadProgress:a}).then((e=>{201===e.statusCode?t(null,{fileID:d,requestId:h}):t(new Ra({code:"STORAGE_REQUEST_FAIL",message:`STORAGE_REQUEST_FAIL: ${e.data}`}))})).catch((e=>{t(e)}))})).catch((e=>{t(e)})),t.promise},Qr=function(e,t){t=t||nr();const o=zr(this.config.env),{cloudPath:i}=e;return o.send("storage.getUploadMetadata",{path:i}).then((e=>{t(null,e)})).catch((e=>{t(e)})),t.promise},Wr=function({fileList:e},t){if(t=t||nr(),!e||!Array.isArray(e))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};for(let i of e)if(!i||"string"!=typeof i)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"};const o={fileid_list:e};return zr(this.config.env).send("storage.batchDeleteFile",o).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},Gr=function({fileList:e},t){t=t||nr(),e&&Array.isArray(e)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});let o=[];for(let n of e)"object"==typeof n?(n.hasOwnProperty("fileID")&&n.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),o.push({fileid:n.fileID,max_age:n.maxAge})):"string"==typeof n?o.push({fileid:n}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"});const i={file_list:o};return zr(this.config.env).send("storage.batchGetDownloadUrl",i).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},Zr=async function({fileID:e},t){const o=(await Gr.call(this,{fileList:[{fileID:e,maxAge:600}]})).fileList[0];if("SUCCESS"!==o.code)return t?t(o):new Promise((e=>{e(o)}));const i=zr(this.config.env);let n=o.download_url;if(n=encodeURI(n),!t)return i.download({url:n});t(await i.download({url:n}))},Yr=function({name:e,data:t,query:o,parse:i,search:n},a){const r=a||nr();let s;try{s=t?JSON.stringify(t):""}catch(c){return Promise.reject(c)}if(!e)return Promise.reject(new Ra({code:"PARAM_ERROR",message:"函数名不能为空"}));const l={inQuery:o,parse:i,search:n,function_name:e,request_data:s};return zr(this.config.env).send("functions.invokeFunction",l).then((e=>{if(e.code)r(null,e);else{let o=e.data.response_data;if(i)r(null,{result:o,requestId:e.requestId});else try{o=JSON.parse(e.data.response_data),r(null,{result:o,requestId:e.requestId})}catch(t){r(new Ra({message:"response data must be json"}))}}return r.promise})).catch((e=>{r(e)})),r.promise},qr={timeout:15e3,persistence:"session"},Jr={};class Kr{constructor(e){this.config=e||this.config,this.authObj=void 0}init(e){switch(lr.adapter||(this.requestClient=new lr.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:`请求在${(e.timeout||5e3)/1e3}s内未完成已中断`})),this.config={...qr,...e},!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new Kr(this.config)}auth({persistence:e}={}){if(this.authObj)return this.authObj;const t=e||lr.adapter.primaryStorage||qr.persistence;var o;return t!==this.config.persistence&&(this.config.persistence=t),function(e){const{env:t}=e;pr[t]=new hr(e),mr[t]=new hr({...e,persistence:"local"})}(this.config),o=this.config,Dr[o.env]=new Ir(o),this.authObj=new jr(this.config),this.authObj}on(e,t){return vr.apply(this,[e,t])}off(e,t){return Sr.apply(this,[e,t])}callFunction(e,t){return Yr.apply(this,[e,t])}deleteFile(e,t){return Wr.apply(this,[e,t])}getTempFileURL(e,t){return Gr.apply(this,[e,t])}downloadFile(e,t){return Zr.apply(this,[e,t])}uploadFile(e,t){return Hr.apply(this,[e,t])}getUploadMetadata(e,t){return Qr.apply(this,[e,t])}registerExtension(e){Jr[e.name]=e}async invokeExtension(e,t){const o=Jr[e];if(!o)throw new Ra({message:`扩展${e} 必须先注册`});return await o.invoke(t,this)}useAdapters(e){const{adapter:t,runtime:o}=function(e){const t=(o=e,"[object Array]"===Object.prototype.toString.call(o)?e:[e]);var o;for(const i of t){const{isMatch:e,genAdapter:t,runtime:o}=i;if(e())return{adapter:t(),runtime:o}}}(e)||{};t&&(lr.adapter=t),o&&(lr.runtime=o)}}var Xr=new Kr;function $r(e,t,o){void 0===o&&(o={});var i=/\?/.test(t),n="";for(var a in o)""===n?!i&&(t+="?"):n+="&",n+=a+"="+encodeURIComponent(o[a]);return/^http(s)?:\/\//.test(t+=n)?t:""+e+t}class es{post(e){const{url:t,data:o,headers:i}=e;return new Promise(((e,n)=>{Pa.request({url:$r("https:",t),data:o,method:"POST",header:i,success(t){e(t)},fail(e){n(e)}})}))}upload(e){return new Promise(((t,o)=>{const{url:i,file:n,data:a,headers:r,fileType:s}=e,l=Pa.uploadFile({url:$r("https:",i),name:"file",formData:Object.assign({},a),filePath:n,fileType:s,header:r,success(e){const o={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&a.success_action_status&&(o.statusCode=parseInt(a.success_action_status,10)),t(o)},fail(e){o(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((t=>{e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}const ts={setItem(e,t){Pa.setStorageSync(e,t)},getItem:e=>Pa.getStorageSync(e),removeItem(e){Pa.removeStorageSync(e)},clear(){Pa.clearStorageSync()}};var os={genAdapter:function(){return{root:{},reqClass:es,localStorage:ts,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Xr.useAdapters(os);const is=Xr,ns=is.init;is.init=function(e){e.env=e.spaceId;const t=ns.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;const o=t.auth;return t.auth=function(e){const t=o.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((e=>{var o;t[e]=(o=t[e],function(e){e=e||{};const{success:t,fail:i,complete:n}=za(e);if(!(t||i||n))return o.call(this,e);o.call(this,e).then((e=>{t&&t(e),n&&n(e)}),(e=>{i&&i(e),n&&n(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var as=is,rs=class extends qa{getAccessToken(){return new Promise(((e,t)=>{const o="Anonymous_Access_token";this.setAccessToken(o),e(o)}))}setupRequest(e,t){const o=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};"auth"!==t&&(o.token=this.accessToken,i["x-basement-token"]=this.accessToken),i["x-serverless-sign"]=Ga(o,this.config.clientSecret);const n=Wa();i["x-client-info"]=encodeURIComponent(JSON.stringify(n));const{token:a}=La();return i["x-client-token"]=a,{url:this.config.requestUrl,method:"POST",data:o,dataType:"json",header:JSON.parse(JSON.stringify(i))}}uploadFileToOSS({url:e,formData:t,name:o,filePath:i,fileType:n,onUploadProgress:a}){return new Promise(((r,s)=>{const l=this.adapter.uploadFile({url:e,formData:t,name:o,filePath:i,fileType:n,success(e){e&&e.statusCode<400?r(e):s(new Ra({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){s(new Ra({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof a&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((e=>{a({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}uploadFile({filePath:e,cloudPath:t,fileType:o="image",onUploadProgress:i}){if(!t)throw new Ra({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});let n;return this.getOSSUploadOptionsFromPath({cloudPath:t}).then((t=>{const{url:a,formData:r,name:s}=t.result;n=t.result.fileUrl;const l={url:a,formData:r,name:s,filePath:e,fileType:o};return this.uploadFileToOSS(Object.assign({},l,{onUploadProgress:i}))})).then((()=>this.reportOSSUpload({cloudPath:t}))).then((t=>new Promise(((o,i)=>{t.success?o({success:!0,filePath:e,fileID:n}):i(new Ra({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))))}deleteFile({fileList:e}){const t={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(this.setupRequest(t)).then((e=>{if(e.success)return e.result;throw new Ra({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}getTempFileURL({fileList:e,maxAge:t}={}){if(!Array.isArray(e)||0===e.length)throw new Ra({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const o={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:t})};return this.request(this.setupRequest(o)).then((e=>{if(e.success)return{fileList:e.result.fileList.map((e=>({fileID:e.fileID,tempFileURL:e.tempFileURL})))};throw new Ra({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}},ss={init(e){const t=new rs(e),o={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return o},t.customAuth=t.auth,t}},ls=Wn((function(e,t){e.exports=Zn.enc.Hex}));function cs(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function ds(e="",t={}){const{data:o,functionName:i,method:n,headers:a,signHeaderKeys:r=[],config:s}=t,l=Date.now(),c=cs(),d=Object.assign({},a,{"x-from-app-id":s.spaceAppId,"x-from-env-id":s.spaceId,"x-to-env-id":s.spaceId,"x-from-instance-id":l,"x-from-function-name":i,"x-client-timestamp":l,"x-alipay-source":"client","x-request-id":c,"x-alipay-callid":c,"x-trace-id":c}),u=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(r),[h="",p=""]=e.split("?")||[],m=function(e){const t=e.signedHeaders.join(";"),o=e.signedHeaders.map((t=>`${t.toLowerCase()}:${e.headers[t]}\n`)).join(""),i=or(e.body).toString(ls),n=`${e.method.toUpperCase()}\n${e.path}\n${e.query}\n${o}\n${t}\n${i}\n`,a=or(n).toString(ls),r=`HMAC-SHA256\n${e.timestamp}\n${a}\n`,s=ir(r,e.secretKey).toString(ls);return`HMAC-SHA256 Credential=${e.secretId}, SignedHeaders=${t}, Signature=${s}`}({path:h,query:p,method:n,headers:d,timestamp:l,body:JSON.stringify(o),secretId:s.accessKey,secretKey:s.secretKey,signedHeaders:u.sort()});return{url:`${s.endpoint}${e}`,headers:Object.assign({},d,{Authorization:m})}}function us({url:e,data:t,method:o="POST",headers:i={}}){return new Promise(((n,a)=>{Pa.request({url:e,method:o,data:"object"==typeof t?JSON.stringify(t):t,header:i,dataType:"json",complete:(e={})=>{const t=i["x-trace-id"]||"";if(!e.statusCode||e.statusCode>=400){const{message:o,errMsg:i,trace_id:n}=e.data||{};return a(new Ra({code:"SYS_ERR",message:o||i||"request:fail",requestId:n||t}))}n({status:e.statusCode,data:e.data,headers:e.header,requestId:t})}})}))}function hs(e,t){const{path:o,data:i,method:n="GET"}=e,{url:a,headers:r}=ds(o,{functionName:"",data:i,method:n,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t});return us({url:a,data:i,method:n,headers:r}).then((e=>{const t=e.data||{};if(!t.success)throw new Ra({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((e=>{throw new Ra({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function ps(e=""){const t=e.trim().replace(/^cloud:\/\//,""),o=t.indexOf("/");if(o<=0)throw new Ra({code:"INVALID_PARAM",message:"fileID不合法"});const i=t.substring(0,o),n=t.substring(o+1);return i!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),n}function ms(e=""){return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}class gs{constructor(e){this.config=e}signedURL(e,t={}){const o=`/ws/function/${e}`,i=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),n=Object.assign({},t,{accessKeyId:this.config.accessKey,signatureNonce:cs(),timestamp:""+Date.now()}),a=[o,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(e){return n[e]?"".concat(e,"=").concat(n[e]):null})).filter(Boolean).join("&"),`host:${i}`].join("\n"),r=["HMAC-SHA256",or(a).toString(ls)].join("\n"),s=ir(r,this.config.secretKey).toString(ls),l=Object.keys(n).map((e=>`${e}=${encodeURIComponent(n[e])}`)).join("&");return`${this.config.wsEndpoint}${o}?${l}&signature=${s}`}}var fs={init:e=>{e.provider="alipay";const t=new class{constructor(e){if(["spaceId","spaceAppId","accessKey","secretKey"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),e.endpoint){if("string"!=typeof e.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||`https://${e.spaceId}.api-hz.cloudbasefunction.cn`,wsEndpoint:e.wsEndpoint||`wss://${e.spaceId}.api-hz.cloudbasefunction.cn`}),this._websocket=new gs(this.config)}callFunction(e){return function(e,t){const{name:o,data:i,async:n=!1}=e,a="POST",r={"x-to-function-name":o};n&&(r["x-function-invoke-type"]="async");const{url:s,headers:l}=ds("/functions/invokeFunction",{functionName:o,data:i,method:a,headers:r,signHeaderKeys:["x-to-function-name"],config:t});return us({url:s,data:i,method:a,headers:l}).then((e=>{let t=0;if(n){const o=e.data||{};t="200"===o.errCode?0:o.errCode,e.data=o.data||{},e.errMsg=o.errMsg}if(0!==t)throw new Ra({code:t,message:e.errMsg,requestId:e.requestId});return{errCode:t,success:0===t,requestId:e.requestId,result:e.data}})).catch((e=>{throw new Ra({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}uploadFileToOSS({url:e,filePath:t,fileType:o,formData:i,onUploadProgress:n}){return new Promise(((a,r)=>{const s=Pa.uploadFile({url:e,filePath:t,fileType:o,formData:i,name:"file",success(e){e&&e.statusCode<400?a(e):r(new Ra({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){r(new Ra({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof n&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((e=>{n({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}async uploadFile({filePath:e,cloudPath:t="",fileType:o="image",onUploadProgress:i}){if("string"!==ea(t))throw new Ra({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new Ra({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new Ra({code:"INVALID_PARAM",message:"cloudPath不合法"});const n=await hs({path:"/".concat(t.replace(/^\//,""),"?post_url")},this.config),{file_id:a,upload_url:r,form_data:s}=n,l=s&&s.reduce(((e,t)=>(e[t.key]=t.value,e)),{});return this.uploadFileToOSS({url:r,filePath:e,fileType:o,formData:l,onUploadProgress:i}).then((()=>({fileID:a})))}async getTempFileURL({fileList:e}){return new Promise(((t,o)=>{(!e||e.length<0)&&o(new Ra({errCode:"INVALID_PARAM",errMsg:"fileList不能为空数组"})),e.length>50&&o(new Ra({errCode:"INVALID_PARAM",errMsg:"fileList数组长度不能超过50"}));const i=[];for(const n of e){"string"!==ea(n)&&o(new Ra({errCode:"INVALID_PARAM",errMsg:"fileList的元素必须是非空的字符串"}));const e=ps.call(this,n);i.push({file_id:e,expire:600})}hs({path:"/?download_url",data:{file_list:i},method:"POST"},this.config).then((e=>{const{file_list:o=[]}=e;t({fileList:o.map((e=>({fileID:ms.call(this,e.file_id),tempFileURL:e.download_url})))})})).catch((e=>o(e)))}))}async connectWebSocket(e){const{name:t,query:o}=e;return Pa.connectSocket({url:this._websocket.signedURL(t,o),complete:()=>{}})}}(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function ys({data:e}){let t;t=Wa();const o=JSON.parse(JSON.stringify(e||{}));if(Object.assign(o,{clientInfo:t}),!o.uniIdToken){const{token:e}=La();e&&(o.uniIdToken=e)}return o}const ws=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var vs=/[\\^$.*+?()[\]{}|]/g,bs=RegExp(vs.source);function Ss(e,t,o){return e.replace(new RegExp((i=t)&&bs.test(i)?i.replace(vs,"\\$&"):i,"g"),o);var i}const ks=2e4,xs={code:20101,message:"Invalid client"};function Cs(e){const{errSubject:t,subject:o,errCode:i,errMsg:n,code:a,message:r,cause:s}=e||{};return new Ra({subject:t||o||"uni-secure-network",code:i||a||ks,message:n||r,cause:s})}let Ts;function As({secretType:e}={}){return"request"===e||"response"===e||"both"===e}function Es({name:e,data:t={}}={}){return"DCloud-clientDB"===e&&"encryption"===t.redirectTo&&"getAppClientKey"===t.action}function Ns({functionName:e,result:t,logPvd:o}){}function Bs(e){const t=e.callFunction,o=function(o){const i=o.name;o.data=ys.call(e,{data:o.data});const n={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay"}[this.config.provider],a=As(o),r=Es(o),s=a||r;return t.call(this,o).then((e=>(e.errCode=0,!s&&Ns.call(this,{functionName:i,result:e,logPvd:n}),Promise.resolve(e))),(e=>(!s&&Ns.call(this,{functionName:i,result:e,logPvd:n}),e&&e.message&&(e.message=function({message:e="",extraInfo:t={},formatter:o=[]}={}){for(let i=0;i<o.length;i++){const{rule:n,content:a,mode:r}=o[i],s=e.match(n);if(!s)continue;let l=a;for(let e=1;e<s.length;e++)l=Ss(l,`{$${e}}`,s[e]);for(const e in t)l=Ss(l,`{${e}}`,t[e]);return"replace"===r?l:e+l}return e}({message:`[${o.name}]: ${e.message}`,formatter:ws,extraInfo:{functionName:i}})),Promise.reject(e))))};e.callFunction=function(t){const{provider:i,spaceId:n}=e.config,a=t.name;let r,s;return t.data=t.data||{},r=o,r=r.bind(e),s=Es(t)?o.call(e,t):As(t)?new Ts({secretType:t.secretType,uniCloudIns:e}).wrapEncryptDataCallFunction(o.bind(e))(t):function({provider:e,spaceId:t,functionName:o}={}){const{appId:i,uniPlatform:n,osName:a}=ja();let r=n;"app"===n&&(r=a);const s=function({provider:e,spaceId:t}={}){const o=la;if(!o)return{};e=function(e){return"tencent"===e?"tcb":e}(e);const i=o.find((o=>o.provider===e&&o.spaceId===t));return i&&i.config}({provider:e,spaceId:t});if(!s||!s.accessControl||!s.accessControl.enable)return!1;const l=s.accessControl.function||{},c=Object.keys(l);if(0===c.length)return!0;const d=function(e,t){let o,i,n;for(let a=0;a<e.length;a++){const r=e[a];r!==t?"*"!==r?r.split(",").map((e=>e.trim())).indexOf(t)>-1&&(i=r):n=r:o=r}return o||i||n}(c,o);if(!d)return!1;if((l[d]||[]).find(((e={})=>e.appId===i&&(e.platform||"").toLowerCase()===r.toLowerCase())))return!0;throw console.error(`此应用[appId: ${i}, platform: ${r}]不在云端配置的允许访问的应用列表内参考https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client`),Cs(xs)}({provider:i,spaceId:n,functionName:a})?new Ts({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(o.bind(e))(t):r(t),Object.defineProperty(s,"result",{get:()=>(console.warn("当前返回结果为Promise类型不可直接访问其result属性详情请参考https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{})}),s.then((e=>("undefined"!=typeof UTSJSONObject&&(e.result=new UTSJSONObject(e.result)),e)))}}Ts=class{constructor(){throw Cs({message:"Platform app is not enabled, please check whether secure network module is enabled in your manifest.json"})}};const Vs=Symbol("CLIENT_DB_INTERNAL");function _s(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=Vs,e.inspect=null,e.__v_raw=void 0,new Proxy(e,{get(e,o,i){if("_uniClient"===o)return null;if("symbol"==typeof o)return e[o];if(o in e||"string"!=typeof o){const t=e[o];return"function"==typeof t?t.bind(e):t}return t.get(e,o,i)}})}function Is(e){return{on:(t,o)=>{e[t]=e[t]||[],e[t].indexOf(o)>-1||e[t].push(o)},off:(t,o)=>{e[t]=e[t]||[];const i=e[t].indexOf(o);-1!==i&&e[t].splice(i,1)}}}const Ds=["db.Geo","db.command","command.aggregate"];function zs(e,t){return Ds.indexOf(`${e}.${t}`)>-1}function Rs(e){switch(ea(e=Ma(e))){case"array":return e.map((e=>Rs(e)));case"object":return e._internalType===Vs||Object.keys(e).forEach((t=>{e[t]=Rs(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function Ps(e){return e&&e.content&&e.content.$method}class Ms{constructor(e,t,o){this.content=e,this.prevStage=t||null,this.udb=null,this._database=o}toJSON(){let e=this;const t=[e.content];for(;e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((e=>({$method:e.$method,$param:Rs(e.$param)})))}}toString(){return JSON.stringify(this.toJSON())}getAction(){const e=this.toJSON().$db.find((e=>"action"===e.$method));return e&&e.$param&&e.$param[0]}getCommand(){return{$db:this.toJSON().$db.filter((e=>"action"!==e.$method))}}get isAggregate(){let e=this;for(;e;){const t=Ps(e),o=Ps(e.prevStage);if("aggregate"===t&&"collection"===o||"pipeline"===t)return!0;e=e.prevStage}return!1}get isCommand(){let e=this;for(;e;){if("command"===Ps(e))return!0;e=e.prevStage}return!1}get isAggregateCommand(){let e=this;for(;e;){const t=Ps(e),o=Ps(e.prevStage);if("aggregate"===t&&"command"===o)return!0;e=e.prevStage}return!1}getNextStageFn(e){const t=this;return function(){return Ls({$method:e,$param:Rs(Array.from(arguments))},t,t._database)}}get count(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}get remove(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}get(){return this._send("get",Array.from(arguments))}get add(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}update(){return this._send("update",Array.from(arguments))}end(){return this._send("end",Array.from(arguments))}get set(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}_send(e,t){const o=this.getAction(),i=this.getCommand();return i.$db.push({$method:e,$param:Rs(t)}),this._database._callCloudFunction({action:o,command:i})}}function Ls(e,t,o){return _s(new Ms(e,t,o),{get(e,t){let i="db";return e&&e.content&&(i=e.content.$method),zs(i,t)?Ls({$method:t},e,o):function(){return Ls({$method:t,$param:Rs(Array.from(arguments))},e,o)}}})}function Fs({path:e,method:t}){return class{constructor(){this.param=Array.from(arguments)}toJSON(){return{$newDb:[...e.map((e=>({$method:e}))),{$method:t,$param:this.param}]}}toString(){return JSON.stringify(this.toJSON())}}}function Os(e,t={}){return _s(new e(t),{get:(e,t)=>zs("db",t)?Ls({$method:t},null,e):function(){return Ls({$method:t,$param:Rs(Array.from(arguments))},null,e)}})}class Us extends class{constructor({uniClient:e={},isJQL:t=!1}={}){this._uniClient=e,this._authCallBacks={},this._dbCallBacks={},e._isDefault&&(this._dbCallBacks=ha("_globalUniCloudDatabaseCallback")),t||(this.auth=Is(this._authCallBacks)),this._isJQL=t,Object.assign(this,Is(this._dbCallBacks)),this.env=_s({},{get:(e,t)=>({$env:t})}),this.Geo=_s({},{get:(e,t)=>Fs({path:["Geo"],method:t})}),this.serverDate=Fs({path:[],method:"serverDate"}),this.RegExp=Fs({path:[],method:"RegExp"})}getCloudEnv(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}_callback(e,t){const o=this._dbCallBacks;o[e]&&o[e].forEach((e=>{e(...t)}))}_callbackAuth(e,t){const o=this._authCallBacks;o[e]&&o[e].forEach((e=>{e(...t)}))}multiSend(){const e=Array.from(arguments),t=e.map((e=>{const t=e.getAction(),o=e.getCommand();if("getTemp"!==o.$db[o.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:o}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}{_parseResult(e){return this._isJQL?e.result:e}_callCloudFunction({action:e,command:t,multiCommand:o,queryList:i}){function n(e,t){if(o&&i)for(let o=0;o<i.length;o++){const n=i[o];n.udb&&"function"==typeof n.udb.setResult&&(t?n.udb.setResult(t):n.udb.setResult(e.result.dataList[o]))}}const a=this,r=this._isJQL?"databaseForJQL":"database";function s(e){return a._callback("error",[e]),ya(wa(r,"fail"),e).then((()=>ya(wa(r,"complete"),e))).then((()=>(n(null,e),Va(Sa,{type:Ca,content:e}),Promise.reject(e))))}const l=ya(wa(r,"invoke")),c=this._uniClient;return l.then((()=>c.callFunction({name:"DCloud-clientDB",type:"CLIENT_DB",data:{action:e,command:t,multiCommand:o}}))).then((e=>{const{code:t,message:o,token:i,tokenExpired:l,systemInfo:c=[]}=e.result;if(c)for(let n=0;n<c.length;n++){const{level:e,message:t,detail:o}=c[n],i=console["warn"===e?"error":e]||console.log;let a="[System Info]"+t;o&&(a=`${a}\n详细信息:${o}`),i(a)}if(t)return s(new Ra({code:t,message:o,requestId:e.requestId}));e.result.errCode=e.result.errCode||e.result.code,e.result.errMsg=e.result.errMsg||e.result.message,i&&l&&(Fa({token:i,tokenExpired:l}),this._callbackAuth("refreshToken",[{token:i,tokenExpired:l}]),this._callback("refreshToken",[{token:i,tokenExpired:l}]),Va(xa,{token:i,tokenExpired:l}));const d=[{prop:"affectedDocs",tips:"affectedDocs不再推荐使用请使用inserted/deleted/updated/data.length替代"},{prop:"code",tips:"code不再推荐使用请使用errCode替代"},{prop:"message",tips:"message不再推荐使用请使用errMsg替代"}];for(let n=0;n<d.length;n++){const{prop:t,tips:o}=d[n];if(t in e.result){const i=e.result[t];Object.defineProperty(e.result,t,{get:()=>(console.warn(o),i)})}}return u=e,ya(wa(r,"success"),u).then((()=>ya(wa(r,"complete"),u))).then((()=>{n(u,null);const e=a._parseResult(u);return Va(Sa,{type:Ca,content:e}),Promise.resolve(e)}));var u}),(e=>(/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化请在web控制台保存一次schema以开启clientDB"),s(new Ra({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId})))))}}const js="token无效跳转登录页面",Hs="token过期跳转登录页面",Qs={TOKEN_INVALID_TOKEN_EXPIRED:Hs,TOKEN_INVALID_INVALID_CLIENTID:js,TOKEN_INVALID:js,TOKEN_INVALID_WRONG_TOKEN:js,TOKEN_INVALID_ANONYMOUS_USER:js},Ws={"uni-id-token-expired":Hs,"uni-id-check-token-failed":js,"uni-id-token-not-exist":js,"uni-id-check-device-feature-failed":js};function Gs(e,t){let o="";return o=e?`${e}/${t}`:t,o.replace(/^\//,"")}function Zs(e=[],t=""){const o=[],i=[];return e.forEach((e=>{!0===e.needLogin?o.push(Gs(t,e.path)):!1===e.needLogin&&i.push(Gs(t,e.path))})),{needLoginPage:o,notNeedLoginPage:i}}function Ys(e){return e.split("?")[0].replace(/^\//,"")}function qs(){return function(e){let t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){const e=getCurrentPages();return e[e.length-1]}())}function Js(){return Ys(qs())}function Ks(e="",t={}){if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;const o=t.list,i=Ys(e);return o.some((e=>e.pagePath===i))}const Xs=!!Qn.uniIdRouter,{loginPage:$s,routerNeedLogin:el,resToLogin:tl,needLoginPage:ol,notNeedLoginPage:il,loginPageInTabBar:nl}=function({pages:e=[],subPackages:t=[],uniIdRouter:o={},tabBar:i={}}=Qn){const{loginPage:n,needLogin:a=[],resToLogin:r=!0}=o,{needLoginPage:s,notNeedLoginPage:l}=Zs(e),{needLoginPage:c,notNeedLoginPage:d}=function(e=[]){const t=[],o=[];return e.forEach((e=>{const{root:i,pages:n=[]}=e,{needLoginPage:a,notNeedLoginPage:r}=Zs(n,i);t.push(...a),o.push(...r)})),{needLoginPage:t,notNeedLoginPage:o}}(t);return{loginPage:n,routerNeedLogin:a,resToLogin:r,needLoginPage:[...s,...c],notNeedLoginPage:[...l,...d],loginPageInTabBar:Ks(n,i)}}();if(ol.indexOf($s)>-1)throw new Error(`Login page [${$s}] should not be "needLogin", please check your pages.json`);function al(e){const t=Js();if("/"===e.charAt(0))return e;const[o,i]=e.split("?"),n=o.replace(/^\//,"").split("/"),a=t.split("/");a.pop();for(let r=0;r<n.length;r++){const e=n[r];".."===e?a.pop():"."!==e&&a.push(e)}return""===a[0]&&a.shift(),"/"+a.join("/")+(i?"?"+i:"")}function rl({redirect:e}){const t=Ys(e),o=Ys($s);return Js()!==o&&t!==o}function sl({api:e,redirect:t}={}){if(!t||!rl({redirect:t}))return;const o=(n=t,"/"!==(i=$s).charAt(0)&&(i="/"+i),n?i.indexOf("?")>-1?i+`&uniIdRedirectUrl=${encodeURIComponent(n)}`:i+`?uniIdRedirectUrl=${encodeURIComponent(n)}`:i);var i,n;nl?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");const a={navigateTo:uni.navigateTo,redirectTo:uni.redirectTo,switchTab:uni.switchTab,reLaunch:uni.reLaunch};setTimeout((()=>{a[e]({url:o})}),0)}function ll({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},o=function(){const{token:e,tokenExpired:t}=La();let o;if(e){if(t<Date.now()){const e="uni-id-token-expired";o={errCode:e,errMsg:Ws[e]}}}else{const e="uni-id-check-token-failed";o={errCode:e,errMsg:Ws[e]}}return o}();if(function(e){const t=Ys(al(e));return!(il.indexOf(t)>-1)&&(ol.indexOf(t)>-1||el.some((t=>{return o=e,new RegExp(t).test(o);var o})))}(e)&&o){if(o.uniIdRedirectUrl=e,Ea(ka).length>0)return setTimeout((()=>{Va(ka,o)}),0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function cl(){!function(){const e=qs(),{abortLoginPageJump:t,autoToLoginPage:o}=ll({url:e});t||o&&sl({api:"redirectTo",redirect:e})}();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t<e.length;t++){const o=e[t];uni.addInterceptor(o,{invoke(e){const{abortLoginPageJump:t,autoToLoginPage:i}=ll({url:e.url});return t?e:i?(sl({api:o,redirect:al(e.url)}),!1):e}})}}function dl(){this.onResponse((e=>{const{type:t,content:o}=e;let i=!1;switch(t){case"cloudobject":i=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in Ws}(o);break;case"clientdb":i=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in Qs}(o)}i&&function(e={}){const t=Ea(ka);Da().then((()=>{const o=qs();if(o&&rl({redirect:o}))return t.length>0?Va(ka,Object.assign({uniIdRedirectUrl:o},e)):void($s&&sl({api:"navigateTo",redirect:o}))}))}(o)}))}function ul(e){var t;(t=e).onResponse=function(e){Na(Sa,e)},t.offResponse=function(e){Ba(Sa,e)},function(e){e.onNeedLogin=function(e){Na(ka,e)},e.offNeedLogin=function(e){Ba(ka,e)},Xs&&(ha("_globalUniCloudStatus").needLoginInit||(ha("_globalUniCloudStatus").needLoginInit=!0,Da().then((()=>{cl.call(e)})),tl&&dl.call(e)))}(e),function(e){e.onRefreshToken=function(e){Na(xa,e)},e.offRefreshToken=function(e){Ba(xa,e)}}(e)}let hl;const pl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ml=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function gl(){const e=La().token||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let o;try{o=JSON.parse((i=t[1],decodeURIComponent(hl(i).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(n){throw new Error("获取当前用户信息出错,详细错误信息为:"+n.message)}var i;return o.tokenExpired=1e3*o.exp,delete o.exp,delete o.iat,o}hl="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!ml.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var o,i,n="",a=0;a<e.length;)t=pl.indexOf(e.charAt(a++))<<18|pl.indexOf(e.charAt(a++))<<12|(o=pl.indexOf(e.charAt(a++)))<<6|(i=pl.indexOf(e.charAt(a++))),n+=64===o?String.fromCharCode(t>>16&255):64===i?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return n}:atob;var fl=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Wn((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const o="chooseAndUploadFile:ok",i="chooseAndUploadFile:fail";function n(e,t){return e.tempFiles.forEach(((e,o)=>{e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+o+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((e=>e.path))),e}function a(e,t,{onChooseFile:i,onUploadProgress:n}){return t.then((e=>{if(i){const t=i(e);if(void 0!==t)return Promise.resolve(t).then((t=>void 0===t?e:t))}return e})).then((t=>!1===t?{errMsg:o,tempFilePaths:[],tempFiles:[]}:function(e,t,i=5,n){(t=Object.assign({},t)).errMsg=o;const a=t.tempFiles,r=a.length;let s=0;return new Promise((o=>{for(;s<i;)l();function l(){const i=s++;if(i>=r)return void(!a.find((e=>!e.url&&!e.errMsg))&&o(t));const c=a[i];e.uploadFile({provider:c.provider,filePath:c.path,cloudPath:c.cloudPath,fileType:c.fileType,cloudPathAsRealPath:c.cloudPathAsRealPath,onUploadProgress(e){e.index=i,e.tempFile=c,e.tempFilePath=c.path,n&&n(e)}}).then((e=>{c.url=e.fileID,i<r&&l()})).catch((e=>{c.errMsg=e.errMsg||e.message,i<r&&l()}))}}))}(e,t,5,n)))}t.initChooseAndUploadFile=function(e){return function(t={type:"all"}){return"image"===t.type?a(e,function(e){const{count:t,sizeType:o,sourceType:a=["album","camera"],extension:r}=e;return new Promise(((e,s)=>{uni.chooseImage({count:t,sizeType:o,sourceType:a,extension:r,success(t){e(n(t,"image"))},fail(e){s({errMsg:e.errMsg.replace("chooseImage:fail",i)})}})}))}(t),t):"video"===t.type?a(e,function(e){const{camera:t,compressed:o,maxDuration:a,sourceType:r=["album","camera"],extension:s}=e;return new Promise(((e,l)=>{uni.chooseVideo({camera:t,compressed:o,maxDuration:a,sourceType:r,extension:s,success(t){const{tempFilePath:o,duration:i,size:a,height:r,width:s}=t;e(n({errMsg:"chooseVideo:ok",tempFilePaths:[o],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:o,size:a,type:t.tempFile&&t.tempFile.type||"",width:s,height:r,duration:i,fileType:"video",cloudPath:""}]},"video"))},fail(e){l({errMsg:e.errMsg.replace("chooseVideo:fail",i)})}})}))}(t),t):a(e,function(e){const{count:t,extension:o}=e;return new Promise(((e,a)=>{let r=uni.chooseFile;if("undefined"!=typeof wx&&"function"==typeof wx.chooseMessageFile&&(r=wx.chooseMessageFile),"function"!=typeof r)return a({errMsg:i+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});r({type:"all",count:t,extension:o,success(t){e(n(t))},fail(e){a({errMsg:e.errMsg.replace("chooseFile:fail",i)})}})}))}(t),t)}}})));function yl(e){return{props:{localdata:{type:Array,default:()=>[]},options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:()=>({mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}),created(){this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((()=>{var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((t=>{e.push(this[t])})),e}),((e,t)=>{if("manual"===this.loadtime)return;let o=!1;const i=[];for(let n=2;n<e.length;n++)e[n]!==t[n]&&(i.push(e[n]),o=!0);e[0]!==t[0]&&(this.mixinDatacomPage.current=this.pageCurrent),this.mixinDatacomPage.size=this.pageSize,this.onMixinDatacomPropsChange(o,i)}))},methods:{onMixinDatacomPropsChange(e,t){},mixinDatacomEasyGet({getone:e=!1,success:t,fail:o}={}){this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then((o=>{this.mixinDatacomLoading=!1;const{data:i,count:n}=o.result;this.getcount&&(this.mixinDatacomPage.count=n),this.mixinDatacomHasMore=i.length<this.pageSize;const a=e?i.length?i[0]:void 0:i;this.mixinDatacomResData=a,t&&t(a)})).catch((e=>{this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=e,this.mixinDatacomError=e,o&&o(e)})))},mixinDatacomGet(t={}){let o;t=t||{},o="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);const i=t.action||this.action;i&&(o=o.action(i));const n=t.collection||this.collection;o=Array.isArray(n)?o.collection(...n):o.collection(n);const a=t.where||this.where;a&&Object.keys(a).length&&(o=o.where(a));const r=t.field||this.field;r&&(o=o.field(r));const s=t.foreignKey||this.foreignKey;s&&(o=o.foreignKey(s));const l=t.groupby||this.groupby;l&&(o=o.groupBy(l));const c=t.groupField||this.groupField;c&&(o=o.groupField(c)),!0===(void 0!==t.distinct?t.distinct:this.distinct)&&(o=o.distinct());const d=t.orderby||this.orderby;d&&(o=o.orderBy(d));const u=void 0!==t.pageCurrent?t.pageCurrent:this.mixinDatacomPage.current,h=void 0!==t.pageSize?t.pageSize:this.mixinDatacomPage.size,p=void 0!==t.getcount?t.getcount:this.getcount,m=void 0!==t.gettree?t.gettree:this.gettree,g=void 0!==t.gettreepath?t.gettreepath:this.gettreepath,f={getCount:p},y={limitLevel:void 0!==t.limitlevel?t.limitlevel:this.limitlevel,startWith:void 0!==t.startwith?t.startwith:this.startwith};return m&&(f.getTree=y),g&&(f.getTreePath=y),o=o.skip(h*(u-1)).limit(h).get(f),o}}}}function wl(e){return ha("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}async function vl({openid:e,callLoginByWeixin:t=!1}={}){throw wl(this),new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `app`")}async function bl(e){const t=wl(this);return t.initPromise||(t.initPromise=vl.call(this,e).then((e=>e)).catch((e=>{throw delete t.initPromise,e}))),t.initPromise}function Sl(e){Qa=e}function kl(e){const t={getSystemInfo:uni.getSystemInfo,getPushClientId:uni.getPushClientId};return function(o){return new Promise(((i,n)=>{t[e]({...o,success(e){i(e)},fail(e){n(e)}})}))}}class xl extends class{constructor(){this._callback={}}addListener(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}on(e,t){return this.addListener(e,t)}removeListener(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');const o=this._callback[e];if(!o)return;const i=function(e,t){for(let o=e.length-1;o>=0;o--)if(e[o]===t)return o;return-1}(o,t);o.splice(i,1)}off(e,t){return this.removeListener(e,t)}removeAllListener(e){delete this._callback[e]}emit(e,...t){const o=this._callback[e];if(o)for(let i=0;i<o.length;i++)o[i](...t)}}{constructor(){super(),this._uniPushMessageCallback=this._receivePushMessage.bind(this),this._currentMessageId=-1,this._payloadQueue=[]}init(){return Promise.all([kl("getSystemInfo")(),kl("getPushClientId")()]).then((([{appId:e}={},{cid:t}={}]=[])=>{if(!e)throw new Error("Invalid appId, please check the manifest.json file");if(!t)throw new Error("Invalid push client id");this._appId=e,this._pushClientId=t,this._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),this.emit("open"),this._initMessageListener()}),(e=>{throw this.emit("error",e),this.close(),e}))}async open(){return this.init()}_isUniCloudSSE(e){if("receive"!==e.type)return!1;const t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}_receivePushMessage(e){if(!this._isUniCloudSSE(e))return;const t=e&&e.data&&e.data.payload,{action:o,messageId:i,message:n}=t;this._payloadQueue.push({action:o,messageId:i,message:n}),this._consumMessage()}_consumMessage(){for(;;){const e=this._payloadQueue.find((e=>e.messageId===this._currentMessageId+1));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}_parseMessagePayload(e){const{action:t,messageId:o,message:i}=e;"end"===t?this._end({messageId:o,message:i}):"message"===t&&this._appendMessage({messageId:o,message:i})}_appendMessage({messageId:e,message:t}={}){this.emit("message",t)}_end({messageId:e,message:t}={}){this.emit("end",t),this.close()}_initMessageListener(){uni.onPushMessage(this._uniPushMessageCallback)}_destroy(){uni.offPushMessage(this._uniPushMessageCallback)}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}const Cl={tcb:as,tencent:as,aliyun:Ja,private:ss,alipay:fs};let Tl=new class{init(e){let t={};const o=Cl[e.provider];if(!o)throw new Error("未提供正确的provider参数");var i;return t=o.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new ra({createPromise:function(){let t=Promise.resolve();t=new Promise((e=>{setTimeout((()=>{e()}),1)}));const o=e.auth();return t.then((()=>o.getLoginState())).then((e=>e?Promise.resolve():o.signInAnonymously()))}}))}(t),Bs(t),function(e){const t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),(i=t).database=function(e){if(e&&Object.keys(e).length>0)return i.init(e).database();if(this._database)return this._database;const t=Os(Us,{uniClient:i});return this._database=t,t},i.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return i.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;const t=Os(Us,{uniClient:i,isJQL:!0});return this._databaseForJQL=t,t},function(e){e.getCurrentUserInfo=gl,e.chooseAndUploadFile=fl.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return yl(e)}}),e.SSEChannel=xl,e.initSecureNetworkByWeixin=function(e){return function({openid:t,callLoginByWeixin:o=!1}={}){return bl.call(e,{openid:t,callLoginByWeixin:o})}}(e),e.setCustomClientInfo=Sl,e.importObject=function(t){return function(o,i={}){i=function(e,t={}){return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==typeof t.secretMethods&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},i);const{customUI:n,loadingOptions:a,errorOptions:r,parseSystemError:s}=i,l=!n;return new Proxy({},{get(n,c){switch(c){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function({fn:e,interceptorName:t,getCallbackArgs:o}={}){return async function(...i){const n=o?o({params:i}):{};let a,r;try{return await ya(wa(t,"invoke"),{...n}),a=await e(...i),await ya(wa(t,"success"),{...n,result:a}),a}catch(s){throw r=s,await ya(wa(t,"fail"),{...n,error:r}),r}finally{await ya(wa(t,"complete"),r?{...n,error:r}:{...n,result:a})}}}({fn:async function n(...d){let u;l&&uni.showLoading({title:a.title,mask:a.mask});const h={name:o,type:"OBJECT",data:{method:c,params:d}};"object"==typeof i.secretMethods&&function(e,t){const o=t.data.method,i=e.secretMethods||{},n=i[o]||i["*"];n&&(t.secretType=n)}(i,h);let p=!1;try{u=await t.callFunction(h)}catch(e){p=!0,u={result:new Ra(e)}}const{errSubject:m,errCode:g,errMsg:f,newToken:y}=u.result||{};if(l&&uni.hideLoading(),y&&y.token&&y.tokenExpired&&(Fa(y),Va(xa,{...y})),g){let e=f;if(p&&s&&(e=(await s({objectName:o,methodName:c,params:d,errSubject:m,errCode:g,errMsg:f})).errMsg||f),l)if("toast"===r.type)uni.showToast({title:e,icon:"none"});else{if("modal"!==r.type)throw new Error(`Invalid errorOptions.type: ${r.type}`);{const{confirm:t}=await async function({title:e,content:t,showCancel:o,cancelText:i,confirmText:n}={}){return new Promise(((a,r)=>{uni.showModal({title:e,content:t,showCancel:o,cancelText:i,confirmText:n,success(e){a(e)},fail(){a({confirm:!1,cancel:!0})}})}))}({title:"提示",content:e,showCancel:r.retry,cancelText:"取消",confirmText:r.retry?"重试":"确定"});if(r.retry&&t)return n(...d)}}const t=new Ra({subject:m,code:g,message:f,requestId:u.requestId});throw t.detail=u.result,Va(Sa,{type:Aa,content:t}),t}return Va(Sa,{type:Aa,content:u.result}),u.result},interceptorName:"callObject",getCallbackArgs:function({params:e}={}){return{objectName:o,methodName:c,params:e}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((e=>{if(!t[e])return;const o=t[e];t[e]=function(){return o.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(o){let i=!1;if("callFunction"===t){const e=o&&o.type||Kn;i=e!==Kn}const n="callFunction"===t&&!i,a=this._initPromiseHub.exec();o=o||{};const{success:r,fail:s,complete:l}=za(o),c=a.then((()=>i?Promise.resolve():ya(wa(t,"invoke"),o))).then((()=>e.call(this,o))).then((e=>i?Promise.resolve(e):ya(wa(t,"success"),e).then((()=>ya(wa(t,"complete"),e))).then((()=>(n&&Va(Sa,{type:Ta,content:e}),Promise.resolve(e))))),(e=>i?Promise.reject(e):ya(wa(t,"fail"),e).then((()=>ya(wa(t,"complete"),e))).then((()=>(Va(Sa,{type:Ta,content:e}),Promise.reject(e))))));if(!(r||s||l))return c;c.then((e=>{r&&r(e),l&&l(e),n&&Va(Sa,{type:Ta,content:e})}),(e=>{s&&s(e),l&&l(e),n&&Va(Sa,{type:Ta,content:e})}))}}(t[e],e).bind(t)})),t.init=this.init,t}};(()=>{const e=ca;let t={};if(e&&1===e.length)t=e[0],Tl=Tl.init(t),Tl._isDefault=!0;else{const t=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"];let o;o=e&&e.length>0?"应用有多个服务空间请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间请在uniCloud目录右键关联服务空间",t.forEach((e=>{Tl[e]=function(){return console.error(o),Promise.reject(new Ra({code:"SYS_ERR",message:o}))}}))}Object.assign(Tl,{get mixinDatacom(){return yl(Tl)}}),ul(Tl),Tl.addInterceptor=ga,Tl.removeInterceptor=fa,Tl.interceptObject=va})();var Al=Tl;const El=[{font_class:"arrow-down",unicode:""},{font_class:"arrow-left",unicode:""},{font_class:"arrow-right",unicode:""},{font_class:"arrow-up",unicode:""},{font_class:"auth",unicode:""},{font_class:"auth-filled",unicode:""},{font_class:"back",unicode:""},{font_class:"bars",unicode:""},{font_class:"calendar",unicode:""},{font_class:"calendar-filled",unicode:""},{font_class:"camera",unicode:""},{font_class:"camera-filled",unicode:""},{font_class:"cart",unicode:""},{font_class:"cart-filled",unicode:""},{font_class:"chat",unicode:""},{font_class:"chat-filled",unicode:""},{font_class:"chatboxes",unicode:""},{font_class:"chatboxes-filled",unicode:""},{font_class:"chatbubble",unicode:""},{font_class:"chatbubble-filled",unicode:""},{font_class:"checkbox",unicode:""},{font_class:"checkbox-filled",unicode:""},{font_class:"checkmarkempty",unicode:""},{font_class:"circle",unicode:""},{font_class:"circle-filled",unicode:""},{font_class:"clear",unicode:""},{font_class:"close",unicode:""},{font_class:"closeempty",unicode:""},{font_class:"cloud-download",unicode:""},{font_class:"cloud-download-filled",unicode:""},{font_class:"cloud-upload",unicode:""},{font_class:"cloud-upload-filled",unicode:""},{font_class:"color",unicode:""},{font_class:"color-filled",unicode:""},{font_class:"compose",unicode:""},{font_class:"contact",unicode:""},{font_class:"contact-filled",unicode:""},{font_class:"down",unicode:""},{font_class:"bottom",unicode:""},{font_class:"download",unicode:""},{font_class:"download-filled",unicode:""},{font_class:"email",unicode:""},{font_class:"email-filled",unicode:""},{font_class:"eye",unicode:""},{font_class:"eye-filled",unicode:""},{font_class:"eye-slash",unicode:""},{font_class:"eye-slash-filled",unicode:""},{font_class:"fire",unicode:""},{font_class:"fire-filled",unicode:""},{font_class:"flag",unicode:""},{font_class:"flag-filled",unicode:""},{font_class:"folder-add",unicode:""},{font_class:"folder-add-filled",unicode:""},{font_class:"font",unicode:""},{font_class:"forward",unicode:""},{font_class:"gear",unicode:""},{font_class:"gear-filled",unicode:""},{font_class:"gift",unicode:""},{font_class:"gift-filled",unicode:""},{font_class:"hand-down",unicode:""},{font_class:"hand-down-filled",unicode:""},{font_class:"hand-up",unicode:""},{font_class:"hand-up-filled",unicode:""},{font_class:"headphones",unicode:""},{font_class:"heart",unicode:""},{font_class:"heart-filled",unicode:""},{font_class:"help",unicode:""},{font_class:"help-filled",unicode:""},{font_class:"home",unicode:""},{font_class:"home-filled",unicode:""},{font_class:"image",unicode:""},{font_class:"image-filled",unicode:""},{font_class:"images",unicode:""},{font_class:"images-filled",unicode:""},{font_class:"info",unicode:""},{font_class:"info-filled",unicode:""},{font_class:"left",unicode:""},{font_class:"link",unicode:""},{font_class:"list",unicode:""},{font_class:"location",unicode:""},{font_class:"location-filled",unicode:""},{font_class:"locked",unicode:""},{font_class:"locked-filled",unicode:""},{font_class:"loop",unicode:""},{font_class:"mail-open",unicode:""},{font_class:"mail-open-filled",unicode:""},{font_class:"map",unicode:""},{font_class:"map-filled",unicode:""},{font_class:"map-pin",unicode:""},{font_class:"map-pin-ellipse",unicode:""},{font_class:"medal",unicode:""},{font_class:"medal-filled",unicode:""},{font_class:"mic",unicode:""},{font_class:"mic-filled",unicode:""},{font_class:"micoff",unicode:""},{font_class:"micoff-filled",unicode:""},{font_class:"minus",unicode:""},{font_class:"minus-filled",unicode:""},{font_class:"more",unicode:""},{font_class:"more-filled",unicode:""},{font_class:"navigate",unicode:""},{font_class:"navigate-filled",unicode:""},{font_class:"notification",unicode:""},{font_class:"notification-filled",unicode:""},{font_class:"paperclip",unicode:""},{font_class:"paperplane",unicode:""},{font_class:"paperplane-filled",unicode:""},{font_class:"person",unicode:""},{font_class:"person-filled",unicode:""},{font_class:"personadd",unicode:""},{font_class:"personadd-filled",unicode:""},{font_class:"personadd-filled-copy",unicode:""},{font_class:"phone",unicode:""},{font_class:"phone-filled",unicode:""},{font_class:"plus",unicode:""},{font_class:"plus-filled",unicode:""},{font_class:"plusempty",unicode:""},{font_class:"pulldown",unicode:""},{font_class:"pyq",unicode:""},{font_class:"qq",unicode:""},{font_class:"redo",unicode:""},{font_class:"redo-filled",unicode:""},{font_class:"refresh",unicode:""},{font_class:"refresh-filled",unicode:""},{font_class:"refreshempty",unicode:""},{font_class:"reload",unicode:""},{font_class:"right",unicode:""},{font_class:"scan",unicode:""},{font_class:"search",unicode:""},{font_class:"settings",unicode:""},{font_class:"settings-filled",unicode:""},{font_class:"shop",unicode:""},{font_class:"shop-filled",unicode:""},{font_class:"smallcircle",unicode:""},{font_class:"smallcircle-filled",unicode:""},{font_class:"sound",unicode:""},{font_class:"sound-filled",unicode:""},{font_class:"spinner-cycle",unicode:""},{font_class:"staff",unicode:""},{font_class:"staff-filled",unicode:""},{font_class:"star",unicode:""},{font_class:"star-filled",unicode:""},{font_class:"starhalf",unicode:""},{font_class:"trash",unicode:""},{font_class:"trash-filled",unicode:""},{font_class:"tune",unicode:""},{font_class:"tune-filled",unicode:""},{font_class:"undo",unicode:""},{font_class:"undo-filled",unicode:""},{font_class:"up",unicode:""},{font_class:"top",unicode:""},{font_class:"upload",unicode:""},{font_class:"upload-filled",unicode:""},{font_class:"videocam",unicode:""},{font_class:"videocam-filled",unicode:""},{font_class:"vip",unicode:""},{font_class:"vip-filled",unicode:""},{font_class:"wallet",unicode:""},{font_class:"wallet-filled",unicode:""},{font_class:"weibo",unicode:""},{font_class:"weixin",unicode:""}];const Nl=t({name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""},fontFamily:{type:String,default:""}},data:()=>({icons:El}),computed:{unicode(){let e=this.icons.find((e=>e.font_class===this.type));return e?e.unicode:""},iconSize(){return"number"==typeof(e=this.size)||/^[0-9]*$/g.test(e)?e+"px":e;var e},styleObj(){return""!==this.fontFamily?`color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`:`color: ${this.color}; font-size: ${this.iconSize};`}},methods:{_onClick(){this.$emit("click")}}},[["render",function(t,o,i,n,a,r){return e.openBlock(),e.createElementBlock("text",{style:e.normalizeStyle(r.styleObj),class:e.normalizeClass(["uni-icons",["uniui-"+i.type,i.customPrefix,i.customPrefix?i.type:""]]),onClick:o[0]||(o[0]=(...e)=>r._onClick&&r._onClick(...e))},[e.renderSlot(t.$slots,"default",{},void 0,!0)],6)}],["__scopeId","data-v-5610c8db"]]),Bl={name:"uni-stat-select",mixins:[Al.mixinDatacom||{}],props:{collapseTagsNum:{type:Number,default:1},collapseTags:{type:Boolean,default:!1},dataKey:{type:[String],default:"text"},dataValue:{type:[String],default:"value"},multiple:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},localdata:{type:Array,default:()=>[]},modelValue:{type:[String,Number,Array],default:""},label:{type:String,default:""},placeholder:{type:String,default:"请选择"},emptyTips:{type:String,default:"无选项"},clear:{type:Boolean,default:!0},defItem:{type:Number,default:0},disabled:{type:Boolean,default:!1},format:{type:String,default:""}},data:()=>({showSelector:!1,current:[],mixinDatacomResData:[],apps:[],channels:[],cacheKey:"uni-data-select-lastSelectedValue",placeholderOld:"",currentArr:[],filterInput:"",isFocus:!1,windowHeight:0,isDown:!0}),created(){this.windowHeight=uni.getSystemInfoSync().windowHeight,this.multiple?(this.currentArr=this.modelValue||[],this.current.length>0&&(this.current=[]),this.modelValue&&this.modelValue.length>0&&this.filterMixinDatacomResData.length>0&&(this.current=this.modelValue.map((e=>{let t=this.mixinDatacomResData.find((t=>t[this.dataValue]==e));return{...t}})))):(this.modelValue||0==this.value)&&(this.current=this.formatItemName(this.filterMixinDatacomResData.find((e=>e[this.dataValue]==this.modelValue)))),this.placeholderOld=this.placeholder,this.debounceGet=this.debounce((()=>{this.query()}),300),this.collection&&!this.localdata.length&&this.debounceGet()},computed:{filterMixinDatacomResData(){return this.filterable&&this.filterInput?this.mixinDatacomResData.filter((e=>e[this.dataKey].includes(this.filterInput))):this.mixinDatacomResData},typePlaceholder(){const e=this.placeholder,t={"opendb-stat-app-versions":"版本","opendb-app-channels":"渠道","opendb-app-list":"应用"}[this.collection];return t?e+t:e},valueCom(){return this.modelValue}},watch:{localdata:{immediate:!0,handler(e,t){Array.isArray(e)&&t!==e&&(this.mixinDatacomResData=e||[])}},valueCom:{handler(e,t){this.initDefVal()},deep:!0,immediate:!0},mixinDatacomResData:{immediate:!0,handler(e){e.length&&this.initDefVal()}}},methods:{getIsDown(){const e=uni.createSelectorQuery().in(this),t=this;e.select(".uni-stat-box").boundingClientRect((e=>{t.windowHeight-e.top>200?t.isDown=!0:t.isDown=!1})).exec()},debounce(e,t=100){let o=null;return function(...i){o&&clearTimeout(o),o=setTimeout((()=>{e.apply(this,i)}),t)}},query(){this.mixinDatacomEasyGet()},onMixinDatacomPropsChange(){this.collection&&this.debounceGet()},initDefVal(){let e="";if(!this.valueCom&&0!==this.valueCom||this.isDisabled(this.valueCom)){let t;if(this.collection&&(t=this.getCache()),t||0===t)e=t;else{let t="";this.defItem>0&&this.defItem<=this.mixinDatacomResData.length&&(t=this.mixinDatacomResData[this.defItem-1][this.dataValue]),e=t}(e||0===e)&&this.emit(e)}else e=this.valueCom;if(this.multiple){const t=this.mixinDatacomResData||[];e||(e=[]),this.current=e.map((e=>{const o=t.find((t=>t[this.dataValue]==e));return{...o}})),this.currentArr=this.current.map((e=>e[this.dataValue])),e.length<1&&(this.currentArr=[])}else{const t=this.mixinDatacomResData.find((t=>t[this.dataValue]===e));this.current=t?this.formatItemName(t):""}},isDisabled(e){let t=!1;return this.mixinDatacomResData.forEach((o=>{o[this.dataValue]===e&&(t=o.disable)})),t},inputChange(e){this.$emit("inputChange",e.detail.value)},clearVal(){this.disabled||(this.multiple?(this.current=[],this.currentArr=[],this.emit([])):(this.current="",this.currentArr=[],this.emit("")),this.collection&&this.removeCache(),this.placeholderOld=this.placeholder,this.filterInput="")},change(e){if(!e.disable)if(this.multiple){if(this.current||(this.current=[]),this.currentArr||(this.currentArr=[]),this.currentArr.includes(e[this.dataValue])){let t=this.current.findIndex((t=>t[this.dataValue]==e[this.dataValue]));this.current.splice(t,1),this.currentArr.splice(t,1),this.emit(this.current)}else this.current.push(e),this.currentArr.push(e[this.dataValue]),this.emit(this.current);this.filterInput=""}else this.showSelector=!1,this.current=this.formatItemName(e),this.filterable&&(this.filterInput=e[this.dataKey]),this.emit(e[this.dataValue])},delItem(e){if(!this.disabled&&this.currentArr.includes(e[this.dataValue])){let t=this.current.findIndex((t=>t[this.dataValue]==e[this.dataValue]));this.current.splice(t,1),this.currentArr.splice(t,1),this.emit(this.current)}},emit(e){if(this.multiple){this.$emit("input",this.currentArr),this.$emit("update:modelValue",this.currentArr);const e=this.mixinDatacomResData.filter((e=>this.currentArr.includes(e[this.dataValue])));this.$emit("change",e)}else{this.$emit("input",e),this.$emit("update:modelValue",e);const t=this.mixinDatacomResData.find((t=>e==t[this.dataValue]));i("log","at uni_modules/zxz-uni-data-select/components/zxz-uni-data-select/zxz-uni-data-select.vue:461",t),this.$emit("change",t)}this.collection&&this.setCache(e)},toggleSelector(){this.disabled||(this.getIsDown(),this.showSelector=!this.showSelector,this.isFocus=this.showSelector,this.filterable&&this.current&&this.showSelector?this.multiple||(this.placeholderOld=this.current):!this.filterable||this.current||this.showSelector||this.placeholderOld!=this.placeholder&&(this.multiple||(this.current=this.placeholderOld)),this.filterInput="")},formatItemName(e){if(!e)return"";let t=e[this.dataKey],o=e[this.dataValue],{channel_code:i}=e;if(i=i?`(${i})`:"",this.format){let t="";t=this.format;for(let o in e)t=t.replace(new RegExp(`{${o}}`,"g"),e[o]);return t}return this.collection.indexOf("app-list")>0?`${t}(${o})`:t||`未命名${i}`},getLoadData(){return this.mixinDatacomResData},getCurrentCacheKey(){return this.collection},getCache(e=this.getCurrentCacheKey()){return(uni.getStorageSync(this.cacheKey)||{})[e]},setCache(e,t=this.getCurrentCacheKey()){let o=uni.getStorageSync(this.cacheKey)||{};o[t]=e,uni.setStorageSync(this.cacheKey,o)},removeCache(e=this.getCurrentCacheKey()){let t=uni.getStorageSync(this.cacheKey)||{};delete t[e],uni.setStorageSync(this.cacheKey,t)}}};const Vl=t(Bl,[["render",function(t,o,i,a,r,s){const l=n(e.resolveDynamicComponent("uni-icons"),Nl);return e.openBlock(),e.createElementBlock("view",{class:"uni-stat__select"},[i.label?(e.openBlock(),e.createElementBlock("span",{key:0,class:"uni-label-text"},e.toDisplayString(i.label+""),1)):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["uni-stat-box",{"uni-stat__actived":r.current}])},[e.createElementVNode("view",{class:e.normalizeClass(["uni-select",{"uni-select--disabled":i.disabled}]),style:e.normalizeStyle({height:i.multiple?"100%":" 35px"})},[e.createElementVNode("view",{class:"uni-select__input-box",style:e.normalizeStyle({height:i.multiple?"100%":"35px"}),onClick:o[5]||(o[5]=(...e)=>s.toggleSelector&&s.toggleSelector(...e))},[i.multiple&&r.current.length>0?(e.openBlock(),e.createElementBlock("view",{key:0,class:"",style:{display:"flex","flex-wrap":"wrap",width:"100%"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.collapseTags?r.current.slice(0,i.collapseTagsNum):r.current,((t,o)=>(e.openBlock(),e.createElementBlock("view",{class:"tag-calss",key:t[i.dataValue]},[e.createElementVNode("span",{class:"text"},e.toDisplayString(t[i.dataKey]),1),e.createElementVNode("view",{class:"",onClick:e.withModifiers((e=>s.delItem(t)),["stop"])},[e.createVNode(l,{type:"clear",style:{"margin-left":"4px"},color:"#c0c4cc"})],8,["onClick"])])))),128)),r.current.length>i.collapseTagsNum&&i.collapseTags?(e.openBlock(),e.createElementBlock("view",{key:0,class:"tag-calss"},[e.createElementVNode("span",{class:"text"},"+"+e.toDisplayString(r.current.length-i.collapseTagsNum),1)])):e.createCommentVNode("",!0),i.filterable&&!i.disabled?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:1,onInput:o[0]||(o[0]=(...e)=>s.inputChange&&s.inputChange(...e)),class:"uni-select__input-text",type:"text",style:{"font-size":"12px",height:"52rpx","margin-left":"6px",width:"auto"},placeholder:"请输入","onUpdate:modelValue":o[1]||(o[1]=e=>r.filterInput=e)},null,544)),[[e.vModelText,r.filterInput]]):e.createCommentVNode("",!0)])):r.current&&r.current.length>0&&!r.showSelector?(e.openBlock(),e.createElementBlock("view",{key:1,class:"uni-select__input-text"},e.toDisplayString(r.current),1)):i.filterable&&r.showSelector?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:2,focus:r.isFocus,onInput:o[2]||(o[2]=(...e)=>s.inputChange&&s.inputChange(...e)),disabled:i.disabled,onClick:o[3]||(o[3]=e.withModifiers((()=>{}),["stop"])),class:"uni-select__input-text",type:"text",style:{"font-size":"12px",position:"absolute","z-index":"1"},placeholder:r.placeholderOld,"onUpdate:modelValue":o[4]||(o[4]=e=>r.filterInput=e)},null,40,["focus","disabled","placeholder"])),[[e.vModelText,r.filterInput]]):(e.openBlock(),e.createElementBlock("view",{key:3,class:"uni-select__input-text uni-select__input-placeholder"},e.toDisplayString(s.typePlaceholder),1)),r.current.length>0&&i.clear&&!i.disabled||r.currentArr.length>0&&i.clear&&!i.disabled?(e.openBlock(),e.createBlock(l,{key:4,type:"clear",color:"#c0c4cc",size:"24",style:{position:"absolute",right:"0"},onClick:s.clearVal},null,8,["onClick"])):(e.openBlock(),e.createBlock(l,{key:5,style:{right:"0",position:"absolute"},type:r.showSelector?"top":"bottom",size:"14",color:"#999"},null,8,["type"]))],4),r.showSelector?(e.openBlock(),e.createElementBlock("view",{key:0,class:"uni-select--mask",onClick:o[6]||(o[6]=(...e)=>s.toggleSelector&&s.toggleSelector(...e))})):e.createCommentVNode("",!0),r.showSelector?(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass(["uni-select__selector",r.isDown?"uni-select__selector__down":"uni-select__selector__upwards"])},[e.createElementVNode("view",{class:"uni-popper__arrow"}),e.createElementVNode("scroll-view",{"scroll-y":"true",class:"uni-select__selector-scroll"},[0===s.filterMixinDatacomResData.length?(e.openBlock(),e.createElementBlock("view",{key:0,class:"uni-select__selector-empty"},[e.createElementVNode("span",null,e.toDisplayString(i.emptyTips),1)])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(s.filterMixinDatacomResData,((t,o)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["uni-select__selector-item",{"uni-select_selector-item_active":i.multiple&&r.currentArr.includes(t[i.dataValue])}]),style:{display:"flex","justify-content":"space-between","align-items":"center"},key:o,onClick:e=>s.change(t)},[e.createElementVNode("span",{class:e.normalizeClass({"uni-select__selector__disabled":t.disable})},e.toDisplayString(s.formatItemName(t)),3),i.multiple&&r.currentArr.includes(t[i.dataValue])?(e.openBlock(),e.createBlock(l,{key:0,type:"checkmarkempty",color:"#007aff"})):e.createCommentVNode("",!0)],10,["onClick"])))),128))])],2)):e.createCommentVNode("",!0)],6)],2)])}],["__scopeId","data-v-b08be154"]]),_l={__name:"incomeList",setup(t){let o=e.computed((()=>Mo.map(((e,t)=>({text:e.name,value:e.id})))));const i=e=>{a.value.reload()};e.ref({});const a=e.ref(null);let r=e.ref([]),s=e.reactive({type:""}),u=()=>!a.value;d((()=>{u()||a.value.reload().catch((()=>{}))})),l((e=>{u()||(a.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&a.value.doChatRecordLoadMore())})),c((()=>{u()||a.value.pageReachBottom()}));const h=(e,t)=>{((e,t={})=>no("/api/v0/user/getUsersPointRecord",e))({current:e,pageSize:t,...s}).then((e=>{a.value.complete(e)})).catch((e=>{a.value.complete(!1)}))};return(t,l)=>{const c=n(e.resolveDynamicComponent("zxz-uni-data-select"),Vl),d=n(e.resolveDynamicComponent("z-paging"),Dt);return e.openBlock(),e.createElementBlock("view",{class:"earnings p30"},[e.createVNode(d,{ref_key:"paging",ref:a,modelValue:e.unref(r),"onUpdate:modelValue":l[1]||(l[1]=t=>e.isRef(r)?r.value=t:r=t),"use-page-scroll":"",onQuery:h},{default:e.withCtx((()=>[e.createVNode(c,{clear:"",modelValue:e.unref(s).type,"onUpdate:modelValue":l[0]||(l[0]=t=>e.unref(s).type=t),filterable:"",localdata:e.unref(o),onChange:i},null,8,["modelValue","localdata"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),((t,o)=>(e.openBlock(),e.createElementBlock("view",{class:"mt30 wallet_list",key:o},[e.createElementVNode("view",{class:"wallet_list_left"},[e.createElementVNode("view",null,e.toDisplayString(e.unref(Mo).find((e=>e.id==t.type)).name),1),e.createElementVNode("view",null,e.toDisplayString(e.unref(Z)(new Date(t.createTime).getTime(),"yyyy-mm-dd hh:MM")),1)]),e.createElementVNode("view",{class:"wallet_list_right"},e.toDisplayString(t.points)+"元",1)])))),128))])),_:1},8,["modelValue"])])}}},Il=t(_l,[["__scopeId","data-v-4cfe44a0"]]),Dl=t({__name:"balanceIncome",setup(t){const{nav:o,navTo:i}=Pt();let a=e.ref({});e.ref({});let s=e.ref(0),l=e.ref([{name:"收益统计",type:"收益",data:{}},{name:"推广统计",type:"推广",data:{}},{name:"邀请统计",type:"邀请",data:{}}]);e.ref(1),r((async()=>{let e=await ro();a.value=e,c()}));let c=async()=>{let e=await no("/api/v0/stat/userStat",t,"GET");var t;s.value=e.devices,l.value.map(((t,o)=>{"推广"==t.type&&(t.data={day_money:e.ordersToday,week_money1:e.ordersLastWeek,week_money0:e.ordersThisWeek,total_money:e.orders30Days}),"收益"==t.type&&(t.data={day_money:e.pointDeviceToday,week_money1:e.pointDeviceLastWeek,week_money0:e.pointDeviceThisWeek,total_money:e.pointDevice30Days}),"邀请"==t.type&&(t.data={day_money:e.usersDay,week_money1:e.usersLastWeek,week_money0:e.usersThisWeek,total_money:e.users30Days})}))};return(t,o)=>{const r=n(e.resolveDynamicComponent("up-grid-item"),fe),c=n(e.resolveDynamicComponent("up-grid"),we);return e.openBlock(),e.createElementBlock("view",{class:"earnings p30"},[e.createElementVNode("view",{class:"wallet_pall"},[e.createElementVNode("view",{class:"wallet_pall_view"},[e.createElementVNode("view",null,e.toDisplayString(e.unref(a).points2||"0.00"),1),e.createElementVNode("view",null,"当前余额")]),e.createElementVNode("view",{class:"wallet_pall_view"},[e.createElementVNode("view",null,e.toDisplayString(e.unref(a).points1||"0.00"),1),e.createElementVNode("view",null,"当前收益")])]),e.createElementVNode("view",{style:{padding:"15rpx 30rpx",display:"flex","align-items":"center",background:"#3864d6","border-radius":"0 0 16rpx 16rpx"}},[e.createElementVNode("view",{onClick:o[0]||(o[0]=t=>e.unref(i)("/pages/mine/topUp",!0)),style:{width:"330rpx","text-align":"center",color:"#fff"}},"充值"),e.createElementVNode("view",{onClick:o[1]||(o[1]=t=>e.unref(i)("/pages/wallet/withdraw",!0)),style:{width:"330rpx","text-align":"center",color:"#fff"}},"提现")]),e.createElementVNode("view",{class:"mt30"},[e.createVNode(c,{border:!1,col:"4"},{default:e.withCtx((()=>[e.createVNode(r,{onClick:o[2]||(o[2]=t=>e.unref(i)("/pages/wallet/incomeList",!0))},{default:e.withCtx((()=>[e.createElementVNode("image",{src:Yo,style:{width:"56rpx",height:"56rpx"},mode:"widthFix"}),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"收支明细"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1}),e.createVNode(r,{onClick:o[3]||(o[3]=t=>e.unref(i)("/pages/mine/transferBalance",!0))},{default:e.withCtx((()=>[e.createElementVNode("image",{src:"/static/icon/zhuan.png",style:{width:"56rpx",height:"56rpx"},mode:"widthFix"}),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"收益转余额"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1}),e.createVNode(r,{onClick:o[4]||(o[4]=t=>e.unref(i)("/pages/wallet/bankCard",!0))},{default:e.withCtx((()=>[e.createElementVNode("image",{src:Jo,style:{width:"56rpx",height:"56rpx"},mode:"widthFix"}),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"银行卡"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1}),e.createVNode(r,{onClick:o[5]||(o[5]=t=>e.unref(i)("/pages/wallet/withdrawList",!0))},{default:e.withCtx((()=>[e.createElementVNode("image",{src:qo,style:{width:"56rpx",height:"56rpx"},mode:"widthFix"}),e.createElementVNode("text",{style:{"font-size":"28rpx",color:"#333","margin-top":"10rpx"}},"提现明细"),e.createElementVNode("view",{style:{height:"15rpx"}})])),_:1})])),_:1})]),e.createElementVNode("view",{class:"mine_block"},[e.createElementVNode("view",{class:"mine_block_tit"},[e.createElementVNode("view",{class:"mine_block_tit_left"},"充电桩")]),e.createElementVNode("view",{class:"mine_block_view"},[e.createElementVNode("view",{class:"u-flex-y-center u-flex-between u-flex-fill"},[e.createElementVNode("view",{style:{width:"100%"}},[e.createElementVNode("view",{style:{color:"#3770ae","font-size":"30rpx"}},e.toDisplayString(e.unref(s)||0),1),e.createElementVNode("view",{style:{color:"#999"}},"自购充电桩数")])])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),((t,o)=>(e.openBlock(),e.createElementBlock("view",{class:"mine_block",key:o},[e.createElementVNode("view",{class:"mine_block_tit"},[e.createElementVNode("view",{class:"mine_block_tit_left"},e.toDisplayString(t.name),1)]),e.createElementVNode("view",{class:"mine_block_view u-flex-between"},[e.createElementVNode("view",{class:"u-flex-fill"},[e.createElementVNode("view",{class:"u-flex-y-center u-flex-between u-flex-fill",style:{"margin-bottom":"20rpx"}},[e.createElementVNode("view",{style:{width:"50%"}},[e.createElementVNode("view",{style:{"font-size":"30rpx"}},[e.createElementVNode("text",{style:{color:"#4874e5"}},e.toDisplayString(t.data.day_money||0),1)]),e.createElementVNode("view",{style:{color:"#999"}},"今日"+e.toDisplayString(t.type),1)]),e.createElementVNode("view",{style:{width:"50%"}},[e.createElementVNode("view",{style:{"font-size":"30rpx"}},[e.createElementVNode("text",{style:{color:"#4874e5"}},e.toDisplayString(t.data.week_money1||0),1)]),e.createElementVNode("view",{style:{color:"#999"}},"上周"+e.toDisplayString(t.type),1)])]),e.createElementVNode("view",{class:"u-flex-y-center u-flex-between u-flex-fill"},[e.createElementVNode("view",{style:{width:"50%"}},[e.createElementVNode("view",{style:{"font-size":"30rpx"}},[e.createElementVNode("text",{style:{color:"#4874e5"}},e.toDisplayString(t.data.week_money0||0),1)]),e.createElementVNode("view",{style:{color:"#999"}},"本周"+e.toDisplayString(t.type),1)]),e.createElementVNode("view",{style:{width:"50%"}},[e.createElementVNode("view",{style:{"font-size":"30rpx"}},[e.createElementVNode("text",{style:{color:"#4874e5"}},e.toDisplayString(t.data.total_money||0),1)]),e.createElementVNode("view",{style:{color:"#999"}},"30天"+e.toDisplayString(t.type),1)])])])])])))),128)),e.createElementVNode("view",{style:{height:"100rpx"}})])}}},[["__scopeId","data-v-76a9cd7e"]]);const zl=t({name:"u--image",mixins:[x,No,oe],components:{uvImage:Bo},emits:["click","error","load"]},[["render",function(t,o,i,n,a,r){const s=e.resolveComponent("uvImage");return e.openBlock(),e.createBlock(s,{src:t.src,mode:t.mode,width:t.width,height:t.height,shape:t.shape,radius:t.radius,lazyLoad:t.lazyLoad,showMenuByLongpress:t.showMenuByLongpress,loadingIcon:t.loadingIcon,errorIcon:t.errorIcon,showLoading:t.showLoading,showError:t.showError,fade:t.fade,webp:t.webp,duration:t.duration,bgColor:t.bgColor,customStyle:t.customStyle,onClick:o[0]||(o[0]=e=>t.$emit("click")),onError:o[1]||(o[1]=e=>t.$emit("error")),onLoad:o[2]||(o[2]=e=>t.$emit("load"))},{loading:e.withCtx((()=>[e.renderSlot(t.$slots,"loading")])),error:e.withCtx((()=>[e.renderSlot(t.$slots,"error")])),_:3},8,["src","mode","width","height","shape","radius","lazyLoad","showMenuByLongpress","loadingIcon","errorIcon","showLoading","showError","fade","webp","duration","bgColor","customStyle"])}]]),Rl={__name:"shareList",setup(t){const o=e.ref(null);let i=e.ref([]),a=e.ref(0),r=e.reactive({type:1});const s=e.ref([{name:"直推",id:1},{name:"间推",id:2}]);let u=()=>!o.value;d((()=>{u()||o.value.reload().catch((()=>{}))})),l((e=>{u()||(o.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&o.value.doChatRecordLoadMore())})),c((()=>{u()||o.value.pageReachBottom()}));const h=(e,t)=>{uni.getStorageSync("user");((e,t={})=>no("/api/v0/user/shareList",e))({current:e,pageSize:t,...r}).then((e=>{o.value.complete(e.records),a.value=e.total})).catch((e=>{o.value.complete(!1)}))},p=e.ref(0),m=e=>{p.value=e,r.type=s.value[e].id,o.value.reload()};return(t,r)=>{const l=n(e.resolveDynamicComponent("up-subsection"),Do),c=n(e.resolveDynamicComponent("u--image"),zl),d=n(e.resolveDynamicComponent("up-divider"),ji),u=n(e.resolveDynamicComponent("z-paging"),Dt);return e.openBlock(),e.createElementBlock("view",{class:"order p30"},[e.createVNode(u,{ref_key:"paging",ref:o,modelValue:e.unref(i),"onUpdate:modelValue":r[0]||(r[0]=t=>e.isRef(i)?i.value=t:i=t),"use-page-scroll":"",onQuery:h},{default:e.withCtx((()=>[e.createElementVNode("view",{style:{height:"20rpx"}}),e.createVNode(l,{list:s.value,keyName:"name",current:p.value,onChange:m},null,8,["list","current"]),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",{style:{"background-color":"#ffffff",padding:"20rpx"}},"邀请人数:"+e.toDisplayString(e.unref(a)),1),e.createElementVNode("view",{style:{height:"20rpx"}}),e.createElementVNode("view",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i),((t,o)=>(e.openBlock(),e.createElementBlock("view",{key:o,style:{"background-color":"#ffffff","border-radius":"10rpx",padding:"30rpx","margin-bottom":"20rpx","font-size":"30rpx"}},[e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createVNode(c,{width:"100rpx",height:"100rpx",src:t.avatar,shape:"circle"},null,8,["src"]),e.createElementVNode("view",{style:{width:"20rpx"}}),e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(t.nickName),1),e.createElementVNode("view",{style:{height:"10rpx"}}),e.createElementVNode("view",null,e.toDisplayString(t.userName),1)])]),e.createVNode(d),e.createElementVNode("view",{style:{display:"flex","justify-content":"space-between"}},[e.createElementVNode("view",null,[e.createElementVNode("view",null,"手机号:"+e.toDisplayString(t.phone),1),e.createElementVNode("view",{style:{height:"10rpx"}}),e.createElementVNode("view",null,"等级v"+e.toDisplayString(t.level),1)]),e.createElementVNode("view",{style:{width:"20rpx"}})]),e.createElementVNode("view",{style:{height:"16rpx"}}),e.createElementVNode("view",null,"注册时间:"+e.toDisplayString(t.createTime),1)])))),128))])])),_:1},8,["modelValue"])])}}},Pl={__name:"share",setup(t){let o=e.ref({}),i=e.ref(!0);r((()=>{uni.getStorageSync("token")||""?(a(),i.value=!0):i.value=!1}));let a=async()=>{let e=await ro();o.value=e},s=e=>{uni.setClipboardData({data:e,success:function(){}})};return(t,i)=>{const a=n(e.resolveDynamicComponent("up-image"),Bo);return e.openBlock(),e.createElementBlock("view",{class:"mine p30"},[e.unref(o).qrCode?(e.openBlock(),e.createElementBlock("view",{key:0,style:{"background-color":"#f6faff",padding:"30rpx","border-radius":"10rpx"}},[e.createElementVNode("view",{style:{"font-size":"30rpx",color:"#999999","text-align":"center","margin-bottom":"20rpx"}},[e.createTextVNode(" 邀请码:"+e.toDisplayString(e.unref(o).shareCode)+" ",1),e.createElementVNode("text",{style:{"text-decoration":"underline","margin-left":"30rpx"},onClick:i[0]||(i[0]=t=>e.unref(s)(e.unref(o).shareCode))},"复制")]),e.createElementVNode("view",{class:"u-flex u-flex-xy-center"},[e.createVNode(a,{src:e.unref(o).qrCode,radius:"20rpx",width:"440rpx",height:"440rpx",mode:"widthFix"},null,8,["src"])]),e.createElementVNode("view",{style:{height:"10rpx"}}),e.createElementVNode("view",{style:{"font-size":"30rpx",color:"#999999","text-align":"center"}},"长按保存或者转发")])):e.createCommentVNode("",!0)])}}},Ml=t(Pl,[["__scopeId","data-v-31a7dd90"]]),Ll={__name:"buy",setup(t){let o=e.ref({});s((async e=>{let t=await uo({id:e.id});o.value=t}));let i=e=>{e?(uni.$emit("buy",1),uni.navigateBack()):uni.navigateBack()};return(t,a)=>{const r=n(e.resolveDynamicComponent("mp-html"),hn),s=n(e.resolveDynamicComponent("up-button"),oi);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createVNode(r,{content:e.unref(o).protocolContent},null,8,["content"]),e.createElementVNode("view",{style:{height:"50rpx"}}),e.createVNode(s,{color:"#4874e5",type:"primary",onClick:a[0]||(a[0]=t=>e.unref(i)(1))},{default:e.withCtx((()=>[e.createTextVNode("我已阅读并同意《"+e.toDisplayString(e.unref(o).protocolName)+"》",1)])),_:1}),e.createElementVNode("view",{style:{height:"50rpx"}}),e.createVNode(s,{onClick:a[1]||(a[1]=t=>e.unref(i)(0))},{default:e.withCtx((()=>[e.createTextVNode("取消")])),_:1}),e.createElementVNode("view",{style:{height:"100rpx"}})])}}},Fl={__name:"trusteeship",setup(t){let o=e.ref({});s((async e=>{let t=await uo({id:e.id});o.value=t}));let i=e=>{e?(uni.$emit("trusteeship",1),uni.navigateBack()):uni.navigateBack()};return(t,a)=>{const r=n(e.resolveDynamicComponent("mp-html"),hn),s=n(e.resolveDynamicComponent("up-button"),oi);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createVNode(r,{content:e.unref(o).protocolContent},null,8,["content"]),e.createElementVNode("view",{style:{height:"50rpx"}}),e.createVNode(s,{color:"#4874e5",type:"primary",onClick:a[0]||(a[0]=t=>e.unref(i)(1))},{default:e.withCtx((()=>[e.createTextVNode("我已阅读并同意《"+e.toDisplayString(e.unref(o).protocolName)+"》",1)])),_:1}),e.createElementVNode("view",{style:{height:"50rpx"}}),e.createVNode(s,{onClick:a[1]||(a[1]=t=>e.unref(i)(0))},{default:e.withCtx((()=>[e.createTextVNode("取消")])),_:1}),e.createElementVNode("view",{style:{height:"100rpx"}})])}}},Ol=t({__name:"index",setup(t){let o=e.ref([]);return s((async()=>{let e=await no("/api/v0/activity/list",t,"GET");var t;o.value=e})),(t,i)=>{const a=n(e.resolveDynamicComponent("up-divider"),ji);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createElementVNode("view",{style:{"background-color":"#ffffff","border-radius":"12rpx",padding:"20rpx",display:"flex","align-items":"center","justify-content":"space-between"}},[e.createElementVNode("view",null,"活动列表"),e.createElementVNode("navigator",{url:"/pages/activity/shop/index",style:{color:"#2b85e4"}},"我的参与")]),e.createElementVNode("view",{style:{height:"20rpx"}}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),(t=>(e.openBlock(),e.createElementBlock("navigator",{key:t,url:`/pages/activity/detail${1==t.type?"8":"5"}13?id=${t.id}`,style:{"background-color":"#ffffff","border-radius":"12rpx",padding:"20rpx","margin-bottom":"20rpx"}},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(t.title),1)]),e.createVNode(a),e.createElementVNode("view",null,"活动时间:"+e.toDisplayString(e.unref(Z)(new Date(t.startTime).getTime(),"yyyy-mm-dd"))+"-"+e.toDisplayString(e.unref(Z)(new Date(t.endTime).getTime(),"yyyy-mm-dd")),1)],8,["url"])))),128))])}}},[["__scopeId","data-v-f87b2b56"]]),Ul={__name:"detail813",setup(t){let o=e.ref({});s((async e=>{let t=await go({id:e.id});o.value=t}));const i=e=>{const t=new Date;let o=t.getFullYear(),i=t.getMonth()+1,n=t.getDate();return"start"===e?o-=60:"end"===e&&(o+=2),i=i>9?i:"0"+i,n=n>9?n:"0"+n,`${o}-${i}-${n}`},a=e=>{d.value=e.detail.value};let r=e.computed((()=>i("start"))),l=e.computed((()=>i("end")));const c=i({format:!0});let d=e.ref(c),u=()=>{var e;(e={id:o.value.id,orderDate:d.value},no("/api/v0/activity/user/confirm",e)).then((e=>{uni.showToast({title:"认领成功",icon:"none"})}))};return(t,i)=>{const s=n(e.resolveDynamicComponent("mp-html"),hn),c=n(e.resolveDynamicComponent("up-button"),oi);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createElementVNode("view",null,[e.createVNode(s,{content:e.unref(o).detail},null,8,["content"]),t.ac?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,style:{"background-color":"#ffffff","border-radius":"12rpx",padding:"30rpx",display:"flex","align-items":"center","margin-top":"30rpx"}},[e.createElementVNode("view",{style:{"margin-right":"25rpx"}},"下单日期"),e.createElementVNode("view",{style:{flex:"1"}},[e.createElementVNode("picker",{mode:"date",start:e.unref(r),end:e.unref(l),value:e.unref(d),onChange:a},[e.createElementVNode("view",{class:"uni-input"},e.toDisplayString(e.unref(d)),1)],40,["start","end","value"])])])),e.createElementVNode("view",{style:{"margin-top":"30rpx"}},[e.createVNode(c,{color:"#4874e5",type:"primary",onClick:e.unref(u)},{default:e.withCtx((()=>[e.createTextVNode("认领")])),_:1},8,["onClick"])]),e.createElementVNode("view",{style:{height:"100rpx"}})])])}}},jl=t(Ul,[["__scopeId","data-v-5f33a4a8"]]),Hl=t({__name:"detail513",setup(t){let o=e.ref({});return s((async e=>{let t=await go({id:e.id});o.value=t})),(t,i)=>{const a=n(e.resolveDynamicComponent("mp-html"),hn);return e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createElementVNode("view",null,[e.createVNode(a,{content:e.unref(o).detail},null,8,["content"]),e.createElementVNode("view",{style:{height:"100rpx"}})])])}}},[["__scopeId","data-v-3a7030f0"]]),Ql={__name:"index",setup(t){let o=e.ref([]);return s((async()=>{let e=await no("/api/v0/activity/user/list",t,"GET");var t;o.value=e})),(t,i)=>(e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createElementVNode("view",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),((t,o)=>(e.openBlock(),e.createElementBlock("view",{key:o,style:{"background-color":"#ffffff","border-radius":"12rpx",padding:"20rpx","margin-bottom":"20rpx"}},[e.createElementVNode("view",null,e.toDisplayString(t.title),1),e.createElementVNode("view",{style:{height:"10rpx"}}),e.createElementVNode("view",null," 活动参与时间:"+e.toDisplayString(e.unref(Z)(new Date(t.createTime).getTime(),"yyyy-mm-dd")),1)])))),128))])]))}},Wl={__name:"details",setup(t){let o=e.ref({});s((async e=>{let t=await lo({id:e.id});o.value=t})),d((async()=>{let e=await lo({id:options.id});o.value=e,setTimeout((()=>{uni.stopPullDownRefresh()}),500)}));let n=e=>{uni.setClipboardData({data:e,success:function(){i("log","at pages/order/details.vue:97","success")}})};return(t,i)=>(e.openBlock(),e.createElementBlock("view",{class:"p30"},[e.createElementVNode("view",{class:"order-goods"},[e.createElementVNode("view",{class:"goods-list"},[e.createElementVNode("view",{class:"list"},[e.createElementVNode("view",{class:"thumb"},[e.createElementVNode("image",{src:JSON.parse(e.unref(o).picture)[0],mode:""},null,8,["src"])]),e.createElementVNode("view",{class:"item"},[e.createElementVNode("view",{class:"title"},[e.createElementVNode("text",{class:"one-omit"},e.toDisplayString(e.unref(o).goodName),1)]),e.createElementVNode("view",{class:"num-size"},[e.createElementVNode("text",null,"数量:"+e.toDisplayString(e.unref(o).num),1)]),e.createElementVNode("view",{class:"price"},[e.createElementVNode("text",{style:{color:"#ff2e24"}},"¥"+e.toDisplayString(e.unref(o).amount),1)])])])]),e.createElementVNode("view",{class:"contact"},[e.createElementVNode("button",{style:{all:"unset"},"open-type":"contact"},"联系客服")])]),e.createElementVNode("view",{class:"order-info"},[e.createElementVNode("view",{class:"info-list"},[e.createElementVNode("view",{class:"list"},[e.createElementVNode("view",{class:"title"},"订单编号:"),e.createElementVNode("view",{class:"content"},[e.createElementVNode("text",null,e.toDisplayString(e.unref(o).orderNo),1),e.createElementVNode("text",{class:"btn",onClick:i[0]||(i[0]=t=>e.unref(n)(e.unref(o).orderNo))},"复制")])]),e.createElementVNode("view",{class:"list"},[e.createElementVNode("view",{class:"title"},"下单时间:"),e.createElementVNode("view",{class:"content"},[e.createElementVNode("text",null,e.toDisplayString(e.unref(o).createTime),1)])]),e.createElementVNode("view",{class:"list"},[e.createElementVNode("view",{class:"title"},"订单状态:"),e.createElementVNode("view",{class:"content"},[e.createElementVNode("text",null,e.toDisplayString(-1==e.unref(o).status?"已取消":0==e.unref(o).status?"待支付":-2==e.unref(o).status?"退款":1==e.unref(o).status?"支付成功":""),1)])]),e.createElementVNode("view",{class:"list"},[e.createElementVNode("view",{class:"title"},"支付方式:"),e.createElementVNode("view",{class:"content"},[e.createElementVNode("text",null,e.toDisplayString(3==e.unref(o).orderPlatform?"支付宝":2==e.unref(o).orderPlatform?"微信":1==e.unref(o).orderPlatform?"钱包":"-"),1)])])])])]))}},Gl=t(Wl,[["__scopeId","data-v-ce91dc54"]]);__definePage("pages/index/index",yo),__definePage("pages/market/market",ko),__definePage("pages/mine/mine",_o),__definePage("pages/piles/piles",Ro),__definePage("pages/wallet/wallet",Fo),__definePage("pages/login/login",Wo),__definePage("pages/shop/shop",Zo),__definePage("pages/mine/earnings",Xo),__definePage("pages/wallet/withdraw",ni),__definePage("pages/wallet/bankCard",ri),__definePage("pages/wallet/addBankCard",si),__definePage("pages/login/register",hi),__definePage("pages/order/order",Ti),__definePage("pages/shop/affirm",zi),__definePage("pages/order/pay",Oi),__definePage("pages/setMeal/setMeal",Qi),__definePage("pages/setMeal/affirm",Gi),__definePage("pages/setMealList/setMealList",Yi),__definePage("pages/order/success",Ji),__definePage("pages/agreement/agreement",pn),__definePage("pages/login/getBack",mn),__definePage("pages/mine/topUp",Cn),__definePage("pages/mine/transferBalance",Tn),__definePage("pages/market/detail",An),__definePage("pages/mine/setting",Fn),__definePage("pages/mine/phone",Un),__definePage("pages/wallet/withdrawList",Hn),__definePage("pages/wallet/incomeList",Il),__definePage("pages/mine/balanceIncome",Dl),__definePage("pages/shareList/shareList",Rl),__definePage("pages/mine/share",Ml),__definePage("pages/protocol/buy",Ll),__definePage("pages/protocol/trusteeship",Fl),__definePage("pages/activity/index",Ol),__definePage("pages/activity/detail813",jl),__definePage("pages/activity/detail513",Hl),__definePage("pages/activity/shop/index",Ql),__definePage("pages/order/details",Gl);const Zl={onLaunch:function(e){i("log","at App.vue:4",e)},onShow:function(e){"pages/order/pay"==e.path&&e.query.amount&&uni.redirectTo({url:`/pages/order/success?amount=${e.query.amount}&id=${e.query.id}&type=2`})},onHide:function(){}};
/*!
* pinia v2.1.7
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/
let Yl;const ql=e=>Yl=e,Jl=Symbol();function Kl(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var Xl,$l;($l=Xl||(Xl={})).direct="direct",$l.patchObject="patch object",$l.patchFunction="patch function";const ec="undefined"!=typeof window;function tc(){const t=e.effectScope(!0),o=t.run((()=>e.ref({})));let i=[],n=[];const a=e.markRaw({install(e){ql(a),a._a=e,e.provide(Jl,a),e.config.globalProperties.$pinia=a,n.forEach((e=>i.push(e))),n=[]},use(e){return this._a?i.push(e):n.push(e),this},_p:i,_a:null,_e:t,_s:new Map,state:o});return a}const oc=()=>{};function ic(t,o,i,n=oc){t.push(o);const a=()=>{const e=t.indexOf(o);e>-1&&(t.splice(e,1),n())};return!i&&e.getCurrentScope()&&e.onScopeDispose(a),a}function nc(e,...t){e.slice().forEach((e=>{e(...t)}))}const ac=e=>e();function rc(t,o){t instanceof Map&&o instanceof Map&&o.forEach(((e,o)=>t.set(o,e))),t instanceof Set&&o instanceof Set&&o.forEach(t.add,t);for(const i in o){if(!o.hasOwnProperty(i))continue;const n=o[i],a=t[i];Kl(a)&&Kl(n)&&t.hasOwnProperty(i)&&!e.isRef(n)&&!e.isReactive(n)?t[i]=rc(a,n):t[i]=n}return t}const sc=Symbol();const{assign:lc}=Object;function cc(t,o,i={},n,a,r){let s;const l=lc({actions:{}},i),c={deep:!0};let d,u,h,p=[],m=[];const g=n.state.value[t];let f;function y(o){let i;d=u=!1,"function"==typeof o?(o(n.state.value[t]),i={type:Xl.patchFunction,storeId:t,events:h}):(rc(n.state.value[t],o),i={type:Xl.patchObject,payload:o,storeId:t,events:h});const a=f=Symbol();e.nextTick().then((()=>{f===a&&(d=!0)})),u=!0,nc(p,i,n.state.value[t])}r||g||(n.state.value[t]={}),e.ref({});const w=r?function(){const{state:e}=i,t=e?e():{};this.$patch((e=>{lc(e,t)}))}:oc;function v(e,o){return function(){ql(n);const i=Array.from(arguments),a=[],r=[];function s(e){a.push(e)}function l(e){r.push(e)}let c;nc(m,{args:i,name:e,store:S,after:s,onError:l});try{c=o.apply(this&&this.$id===t?this:S,i)}catch(d){throw nc(r,d),d}return c instanceof Promise?c.then((e=>(nc(a,e),e))).catch((e=>(nc(r,e),Promise.reject(e)))):(nc(a,c),c)}}const b={_p:n,$id:t,$onAction:ic.bind(null,m),$patch:y,$reset:w,$subscribe(o,i={}){const a=ic(p,o,i.detached,(()=>r())),r=s.run((()=>e.watch((()=>n.state.value[t]),(e=>{("sync"===i.flush?u:d)&&o({storeId:t,type:Xl.direct,events:h},e)}),lc({},c,i))));return a},$dispose:function(){s.stop(),p=[],m=[],n._s.delete(t)}},S=e.reactive(b);n._s.set(t,S);const k=(n._a&&n._a.runWithContext||ac)((()=>n._e.run((()=>(s=e.effectScope()).run(o)))));for(const T in k){const o=k[T];if(e.isRef(o)&&(C=o,!e.isRef(C)||!C.effect)||e.isReactive(o))r||(!g||Kl(x=o)&&x.hasOwnProperty(sc)||(e.isRef(o)?o.value=g[T]:rc(o,g[T])),n.state.value[t][T]=o);else if("function"==typeof o){const e=v(T,o);k[T]=e,l.actions[T]=o}}var x,C;return lc(S,k),lc(e.toRaw(S),k),Object.defineProperty(S,"$state",{get:()=>n.state.value[t],set:e=>{y((t=>{lc(t,e)}))}}),n._p.forEach((e=>{lc(S,s.run((()=>e({store:S,app:n._a,pinia:n,options:l}))))})),g&&r&&i.hydrate&&i.hydrate(S.$state,g),d=!0,u=!0,S}let dc="Store";function uc(e,t){return Array.isArray(t)?t.reduce(((t,o)=>(t[o]=function(){return e(this.$pinia)[o]},t)),{}):Object.keys(t).reduce(((o,i)=>(o[i]=function(){const o=e(this.$pinia),n=t[i];return"function"==typeof n?n.call(this,o):o[n]},o)),{})}const hc=uc;const pc=Object.freeze(Object.defineProperty({__proto__:null,get MutationType(){return Xl},PiniaVuePlugin:function(e){e.mixin({beforeCreate(){const e=this.$options;if(e.pinia){const t=e.pinia;if(!this._provided){const e={};Object.defineProperty(this,"_provided",{get:()=>e,set:t=>Object.assign(e,t)})}this._provided[Jl]=t,this.$pinia||(this.$pinia=t),t._a=this,ec&&ql(t)}else!this.$pinia&&e.parent&&e.parent.$pinia&&(this.$pinia=e.parent.$pinia)},destroyed(){delete this._pStores}})},acceptHMRUpdate:function(e,t){return()=>{}},createPinia:tc,defineStore:function(t,o,i){let n,a;const r="function"==typeof o;function s(t,i){const s=e.hasInjectionContext();(t=t||(s?e.inject(Jl,null):null))&&ql(t),(t=Yl)._s.has(n)||(r?cc(n,o,a,t):function(t,o,i,n){const{state:a,actions:r,getters:s}=o,l=i.state.value[t];let c;c=cc(t,(function(){l||(i.state.value[t]=a?a():{});const o=e.toRefs(i.state.value[t]);return lc(o,r,Object.keys(s||{}).reduce(((o,n)=>(o[n]=e.markRaw(e.computed((()=>{ql(i);const e=i._s.get(t);return s[n].call(e,e)}))),o)),{}))}),o,i,0,!0)}(n,a,t));return t._s.get(n)}return"string"==typeof t?(n=t,a=r?i:o):(a=t,n=t.id),s.$id=n,s},getActivePinia:()=>e.hasInjectionContext()&&e.inject(Jl)||Yl,mapActions:function(e,t){return Array.isArray(t)?t.reduce(((t,o)=>(t[o]=function(...t){return e(this.$pinia)[o](...t)},t)),{}):Object.keys(t).reduce(((o,i)=>(o[i]=function(...o){return e(this.$pinia)[t[i]](...o)},o)),{})},mapGetters:hc,mapState:uc,mapStores:function(...e){return e.reduce(((e,t)=>(e[t.$id+dc]=function(){return t(this.$pinia)},e)),{})},mapWritableState:function(e,t){return Array.isArray(t)?t.reduce(((t,o)=>(t[o]={get(){return e(this.$pinia)[o]},set(t){return e(this.$pinia)[o]=t}},t)),{}):Object.keys(t).reduce(((o,i)=>(o[i]={get(){return e(this.$pinia)[t[i]]},set(o){return e(this.$pinia)[t[i]]=o}},o)),{})},setActivePinia:ql,setMapStoreSuffix:function(e){dc=e},skipHydrate:function(e){return Object.defineProperty(e,sc,{})},storeToRefs:function(t){{t=e.toRaw(t);const o={};for(const i in t){const n=t[i];(e.isRef(n)||e.isReactive(n))&&(o[i]=e.toRef(t,i))}return o}}},Symbol.toStringTag,{value:"Module"})),mc={onLoad(e){e.invite_code&&uni.setStorageSync("invite_code",e.invite_code)},data:()=>({mpShare:{title:"",path:`/pages/index/index?invite_code=${uni.getStorageSync("user")?uni.getStorageSync("user").shareCode:""}`,imageUrl:""}}),onShareAppMessage(){return this.mpShare.path=`/pages/index/index?invite_code=${uni.getStorageSync("user")?uni.getStorageSync("user").shareCode:""}`,this.mpShare}};const{app:gc,Vuex:fc,Pinia:yc}=function(){const t=e.createVueApp(Zl);return t.mixin(mc),t.use(io),t.use(tc()),{app:t,Pinia:pc}}();uni.Vuex=fc,uni.Pinia=yc,gc.provide("__globalStyles",__uniConfig.styles),gc._component.mpType="app",gc._component.render=()=>{},gc.mount("#app")}(Vue);