import{j as e,f as t,w as i,k as o,y as a,x as s,p as l,t as r,R as n,g as h,q as d,C as c,i as u,H as g,z as p,b5 as m,b4 as f,l as y,F as T,M as S,aU as w,aL as R,cB as M,aM as x,a_ as C,b3 as b,b as A,ah as I,cJ as v,cK as L,a4 as D,r as k,e as V,N as z,m as N,S as P,u as B,c as E,s as F,aJ as H,ae as W,af as Z,a8 as j,D as O,v as U,cL as _,O as G,P as Y,K as Q,a7 as J,Y as K,G as X,b0 as $,cM as q,cN as ee,cO as te,cy as ie,cP as oe}from"./index-CX1RzKYB.js";import{b as ae,g as se,S as le,F as re}from"./s-layout.eWmtGu02.js";import{_ as ne}from"./_plugin-vue_export-helper.BCo6x5W8.js";import{_ as he}from"./mp-html.Bn_z6dQC.js";import{_ as de}from"./su-image.BZSZQEbO.js";import{j as ce,a as ue,c as ge}from"./index.OCAPzm9g.js";import{_ as pe}from"./s-goods-item.BcGK3sEA.js";import{o as me,m as fe,f as ye}from"./useGoods.CeLGMtqT.js";import{_ as Te}from"./s-uploader.BJfW9t1e.js";import{_ as Se}from"./uni-load-more.B68FXPXI.js";import{S as we}from"./history.m7QQUc5x.js";import{l as Re}from"./lodash.default.D_y2Co6H.js";import"./min.BjsomBC-.js";const Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAD1BMVEVHcExRUVFMTExRUVFRUVE9CdWsAAAABHRSTlMAjjrY9ZnUjwAAAQFJREFUWMPt2MsNgzAMgGEEE1B1gKJmAIRYoCH7z9RCXrabh33iYktcIv35EEg5ZBh07pvxJU6MFSPOSRnjnBUjUsaciRUjMsb4xIoRCWNiYsUInzE5sWKEyxiYWDbyefqHx1zIeiYTk7mQYziTYecxHvEJjwmIT3hMQELCYSISEg4TkZj0mYTEpM8kJCU9JiMp6TEZyUmbAUhO2gxAQNJiIAKSFgMRmNQZhMCkziAEJTUGIyipMRjBSZkhCE7KDEFIUmTeGCHJxWz0zXaE0GTCG8ZFtEaS347r/1fe11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uSovJBNjb7kT6FPVnIa9qJ2Ko+l9mefGIdinaMp0yC1URYiwsdfNE45EuA5Cx9EhalfvN5s+UyItm81vaB3p4joniN+SCP7Qc1hblAAAAAElFTkSuQmCC",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEX///9HcEz///////////////84chYNAAAABnRSTlP/AGzCOYZj5g1nAAACfklEQVRYw+2YTVPDIBCGtza9Jw25a0bvcax30o73OOr//yvma2F3YWlpPTijXNpAHrK8LLALVPFium2vNIFSbwGKTGQA2GUiHcD29yDNy3sMIdUBQl7r2H8mOEVqAHgPkYZUS6Qc2zYhQqtjyDZEximCZwWZLIBeIgYShs2NzxKpSUehYpMJhURGb+O+w5BpMCAREKPnCDHbIY20SzhM5yxziAXpOiBXydrekT9i5XDEq4NIIHHgyU5mRGqviII4mREJJA4QJzMiILwlRJzpKxJKvCBm8OsBBbLux0tsPl4RKYm5aPu6jw1U4mGxEUR9g8M1PcqBEp/WJliNgYOXueBzS4jZSIcgY5lCtevgDSgyzE+rAfuOTQMq0yzvoGH18qju27Mayzs4fPyMziCx81NJa5RNfW7vPYK9KOfDiVkBxFHG8hAj9txuoBuSWORsFfkpBf7xKFLSeaOefEojh5jz22DJEqMP8fUyaKdQx+RnG+yXMpe8Aars8ueR1pVH/bW3FyyvPRw90upLDHwpgBDtg4aUBNkxRLXMAi03IhcZtr1m+FeI/O/JNyDmmL1djLOauSlNflBpW18RQ2bPqXI22MXXEk75KRHTnkPkYbESbdKP2ZFk0r5sIwffAjy1lx+vx7NLjB6/E7Jfv5ERKhzpN0w8IDE8IGFDv5dhz10s7GFiXRZcUeLCEG5P5nDq9k4PFDcoMpE3GY4OuxuCXhmuyNB6k0RsLIAvqp9NE5r8ZCSS8gxnUp7ODdYhZTqxuiJ9uyJJtPmpqJ7wVj+XVieS903iViHziqAhchLEJAyb7jWU647EpUofQ0ziUuXXXhDddtlllSwjgSQu7r4BRWhQqfDPMVwAAAAASU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zQekO9r9P1/ALk+IG1eSPCDiCJfyG+FyU+A6ZCa/piZDinpz7LpkCv5gdkAEshP5emQhv7onw6pGeULyZCSUYiRDAmMkpJkCKs4JhFSq8p8hJBSVbAkhARV6ZUQoisik0FqXTmcDHLVFfbJIEFXoiiCNMpiSxGkVJaNiiBBWQArgTTaUl4JpNQWJUsgQVteXQg+AKkLxQWFGKW+5J2+eVp4S168X3CF1CltCKdTJ8lb84YK2bUBO+wZW0Pqv9nk4tKu49N45NJC5dMM5tLW5tOg59Jq6NM06dL+abFXwr/RkuvTXJwae1abtE/Dt0/ruksTvs84AZ/BCC4jHnyGVfiM3VBQFANEXEah+Ax18RlP4zNox2dkkM/wI58xTn8yDCXGYCDV3W5RGSajtXyGhG1jbpbjzpwGt/0MJft8jqC7iUbQ/QZaxdnKqcIftwAAAABJRU5ErkJggg==";const ke=ne({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?Le:ve},finalEmptyViewStyle(){return this.emptyViewStyle["z-index"]=this.emptyViewZIndex,this.emptyViewStyle}},methods:{reloadClick(){this.$emit("reload")},emptyViewClick(){this.$emit("viewClick")}}},[["render",function(g,p,m,f,y,T){const S=d,w=c,R=u;return e(),t(R,{class:a({"zp-container":!0,"zp-container-fixed":m.emptyViewFixed}),style:s([T.finalEmptyViewStyle]),onClick:T.emptyViewClick},{default:i((()=>[o(R,{class:"zp-main"},{default:i((()=>[m.emptyViewImg.length?(e(),t(S,{key:1,class:a({"zp-main-image-rpx":"rpx"===m.unit,"zp-main-image-px":"px"===m.unit}),mode:"aspectFit",style:s([m.emptyViewImgStyle]),src:m.emptyViewImg},null,8,["class","style","src"])):(e(),t(S,{key:0,class:a({"zp-main-image-rpx":"rpx"===m.unit,"zp-main-image-px":"px"===m.unit}),style:s([m.emptyViewImgStyle]),src:T.emptyImg},null,8,["class","style","src"])),o(w,{class:a(["zp-main-title",{"zp-main-title-rpx":"rpx"===m.unit,"zp-main-title-px":"px"===m.unit}]),style:s([m.emptyViewTitleStyle])},{default:i((()=>[l(r(m.emptyViewText),1)])),_:1},8,["class","style"]),m.showEmptyViewReload?(e(),t(w,{key:2,class:a({"zp-main-error-btn":!0,"zp-main-error-btn-rpx":"rpx"===m.unit,"zp-main-error-btn-px":"px"===m.unit}),style:s([m.emptyViewReloadStyle]),onClick:n(T.reloadClick,["stop"])},{default:i((()=>[l(r(m.emptyViewReloadText),1)])),_:1},8,["class","style","onClick"])):h("",!0)])),_:1})])),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-883c4f6d"]]),Ve="2.7.11",ze=100,Ne="z-paging-error-emit",Pe="z-paging-complete-emit",Be="z-paging-cache",Ee="zp_index",Fe="zp_unique_index",He={},We="Z-PAGING-REFRESHER-TIME-STORAGE-KEY";let Ze=null,je=!1;const Oe={};function Ue(){return p(We)}function _e(){return(new Date).getTime()}function Ge(e){return 1===(e=e.toString()).length?"0"+e:e}const Ye={gc:function(e,t){return()=>{if(function(){if(je)return;He&&Object.keys(He).length&&(Ze=He);!Ze&&uni.$zp&&(Ze=uni.$zp.config);Ze=Ze?Object.keys(Ze).reduce(((e,t)=>(e[function(e){return e.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()))}(t)]=Ze[t],e)),{}):null,je=!0}(),!Ze)return t;const i=Ze[e];return void 0===i?t:i}},setRefesrherTime:function(e,t){const i=Ue()||{};i[t]=e,g(We,i)},getRefesrherFormatTimeByKey:function(e,t){const i=function(e){const t=Ue();return t&&t[e]?t[e]:null}(e),o=i?function(e,t){const i=new Date(e),o=new Date,a=new Date(e).setHours(0,0,0,0),s=(new Date).setHours(0,0,0,0),l=a-s;let r="";const n=function(e){const t=e.getHours(),i=e.getMinutes();return`${Ge(t)}:${Ge(i)}`}(i);r=0===l?t.today:-864e5===l?t.yesterday:function(e,t=!0){const i=e.getFullYear(),o=e.getMonth()+1,a=e.getDate();return t?`${i}-${Ge(o)}-${Ge(a)}`:`${Ge(o)}-${Ge(a)}`}(i,i.getFullYear()!==o.getFullYear());return`${r} ${n}`}(i,t):t.none;return`${t.title}${o}`},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 i=t.classList;return i&&i.contains("z-paging-content")?{isFromZp:!0,isPageScroll:i.contains("z-paging-content-page"),isReachedTop:i.contains("z-paging-reached-top"),isUseChatRecordMode:i.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?m(e):e)},getTime:_e,getInstanceId:function(){const e=[];for(let t=0;t<10;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e.join("")+_e()},consoleErr:function(e){console.error(`[z-paging]${e}`)},delay:function(e,t=ze,i){const o=setTimeout(e,t);return i&&(Oe[i]&&clearTimeout(Oe[i]),Oe[i]=o),o},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 i=Array.isArray(t)?[]:{};for(let o in t)t.hasOwnProperty(o)&&(i[o]=e(t[o]));return i}},Qe={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 Je=ne({name:"z-paging-refresh",data:()=>({R:Qe.Refresher,isIos:"ios"===f().platform,refresherTimeText:"",zTheme:{title:{white:"#efefef",black:"#555555"},arrow:{white:xe,black:Me},flower:{white:be,black:Ce},success:{white:Ie,black:Ae},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?Ye.addUnit(36,this.unit):Ye.addUnit(34,this.unit);return{width:t,height:t,"margin-right":e?Ye.addUnit(20,this.unit):Ye.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"]=Ye.addUnit(30,this.unit),e}},methods:{addUnit:(e,t)=>Ye.addUnit(e,t),updateTime(){this.showUpdateTime&&(this.refresherTimeText=Ye.getRefesrherFormatTimeByKey(this.updateTimeKey,this.updateTimeTextMap))}}},[["render",function(n,g,p,m,f,y){const T=d,S=u,w=c;return e(),t(S,{style:{height:"100%"}},{default:i((()=>[o(S,{class:a(p.showUpdateTime?"zp-r-container zp-r-container-padding":"zp-r-container")},{default:i((()=>[o(S,{class:"zp-r-left"},{default:i((()=>[p.status!==f.R.Loading?(e(),t(T,{key:0,class:a(y.leftImageClass),style:s([y.leftImageStyle,p.imgStyle]),src:y.leftImageSrc},null,8,["class","style","src"])):(e(),t(T,{key:1,class:a({"zp-line-loading-image":p.refreshingAnimated,"zp-r-left-image":!0,"zp-r-left-image-pre-size-rpx":"rpx"===p.unit,"zp-r-left-image-pre-size-px":"px"===p.unit}),style:s([y.leftImageStyle,p.imgStyle]),src:y.leftImageSrc},null,8,["class","style","src"]))])),_:1}),o(S,{class:"zp-r-right"},{default:i((()=>[o(w,{class:"zp-r-right-text",style:s([y.rightTextStyle,p.titleStyle])},{default:i((()=>[l(r(y.currentTitle),1)])),_:1},8,["style"]),p.showUpdateTime&&f.refresherTimeText.length?(e(),t(w,{key:0,class:a(["zp-r-right-text",{"zp-r-right-time-text-rpx":"rpx"===p.unit,"zp-r-right-time-text-px":"px"===p.unit}]),style:s([{color:f.zTheme.title[y.ts]},p.updateTimeStyle])},{default:i((()=>[l(r(f.refresherTimeText),1)])),_:1},8,["class","style"])):h("",!0)])),_:1})])),_:1},8,["class"])])),_:1})}],["__scopeId","data-v-cc5294aa"]]);const Ke=ne({name:"z-paging-load-more",data:()=>({M:Qe.More,zTheme:{title:{white:"#efefef",black:"#a4a4a4"},line:{white:"#efefef",black:"#eeeeee"},circleBorder:{white:"#aaaaaa",black:"#c8c8c8"},circleBorderTop:{white:"#ffffff",black:"#444444"},flower:{white:be,black:Ce},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(o,n,g,p,m,f){const S=c,w=d,R=u;return e(),t(R,{class:a(["zp-l-container",{"zp-l-container-rpx":"rpx"===f.c.unit,"zp-l-container-px":"px"===f.c.unit}]),style:s([f.c.customStyle]),onClick:f.doClick},{default:i((()=>[f.c.hideContent?h("",!0):(e(),y(T,{key:0},[f.c.showNoMoreLine&&f.finalStatus===m.M.NoMore?(e(),t(S,{key:0,class:a({"zp-l-line-rpx":"rpx"===f.c.unit,"zp-l-line-px":"px"===f.c.unit}),style:s([{backgroundColor:m.zTheme.line[f.ts]},f.c.noMoreLineCustomStyle])},null,8,["class","style"])):h("",!0),f.finalStatus===m.M.Loading&&f.c.loadingIconCustomImage?(e(),t(w,{key:1,src:f.c.loadingIconCustomImage,style:s([f.c.iconCustomStyle]),class:a({"zp-l-line-loading-custom-image":!0,"zp-l-line-loading-custom-image-animated":f.c.loadingAnimated,"zp-l-line-loading-custom-image-rpx":"rpx"===f.c.unit,"zp-l-line-loading-custom-image-px":"px"===f.c.unit})},null,8,["src","style","class"])):h("",!0),f.finalStatus!==m.M.Loading||"flower"!==f.finalLoadingIconType||f.c.loadingIconCustomImage.length?h("",!0):(e(),t(w,{key:2,class:a({"zp-line-loading-image":!0,"zp-line-loading-image-rpx":"rpx"===f.c.unit,"zp-line-loading-image-px":"px"===f.c.unit}),style:s([f.c.iconCustomStyle]),src:m.zTheme.flower[f.ts]},null,8,["class","style","src"])),f.finalStatus!==m.M.Loading||"circle"!==f.finalLoadingIconType||f.c.loadingIconCustomImage.length?h("",!0):(e(),t(S,{key:3,class:a(["zp-l-circle-loading-view",{"zp-l-circle-loading-view-rpx":"rpx"===f.c.unit,"zp-l-circle-loading-view-px":"px"===f.c.unit}]),style:s([{borderColor:m.zTheme.circleBorder[f.ts],borderTopColor:m.zTheme.circleBorderTop[f.ts]},f.c.iconCustomStyle])},null,8,["class","style"])),!f.c.isChat||!f.c.chatDefaultAsLoading&&f.finalStatus===m.M.Default||f.finalStatus===m.M.Fail?(e(),t(S,{key:4,class:a({"zp-l-text-rpx":"rpx"===f.c.unit,"zp-l-text-px":"px"===f.c.unit}),style:s([{color:m.zTheme.title[f.ts]},f.c.titleCustomStyle])},{default:i((()=>[l(r(f.ownLoadingMoreText),1)])),_:1},8,["class","style"])):h("",!0),f.c.showNoMoreLine&&f.finalStatus===m.M.NoMore?(e(),t(S,{key:5,class:a({"zp-l-line-rpx":"rpx"===f.c.unit,"zp-l-line-px":"px"===f.c.unit}),style:s([{backgroundColor:m.zTheme.line[f.ts]},f.c.noMoreLineCustomStyle])},null,8,["class","style"])):h("",!0)],64))])),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-198f11d2"]]),Xe={data:()=>({systemInfo:null,cssSafeAreaInsetBottom:-1,isReadyDestroy:!1}),computed:{windowTop(){if(!this.systemInfo)return 0;return document.getElementsByTagName("uni-page-head").length&&this.systemInfo.windowTop||0},safeAreaBottom(){if(!this.systemInfo)return 0;let e=0;return e=Math.max(this.cssSafeAreaInsetBottom,0),e},isOldWebView(){try{const e=f().system.split(" "),t=e[0],i=parseInt(e[1]);if("iOS"===t&&i<=10||"Android"===t&&i<=6)return!0}catch(e){return!1}return!1},zSlots(){return this.$slots}},beforeDestroy(){this.isReadyDestroy=!0},unmounted(){this.isReadyDestroy=!0},methods:{updateFixedLayout(){this.fixed&&this.$nextTick((()=>{this.systemInfo=f()}))},_getNodeClientRect(e,t=!0,i=!1){if(this.isReadyDestroy)return Promise.resolve(!1);let o=t?S().in(!0===t?this:t):S();return i?o.select(e).scrollOffset():o.select(e).boundingClientRect(),new Promise(((e,t)=>{o.exec((t=>{e(!(!t||""==t||null==t||!t.length)&&t)}))}))},_updateLeftAndRightWidth(e,t){this.$nextTick((()=>{setTimeout((()=>{["left","right"].map((i=>{this._getNodeClientRect(`.${t}-${i}`).then((t=>{this.$set(e,i,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()}))}}};function $e(){return w()}function qe(){return $e()&&$e().globalData}function et(e,t){try{setTimeout((function(){qe()&&($e().globalData[`zp_handle${e}Callback`]=t)}),1)}catch(i){}}function tt(e){return qe()?$e().globalData[`zp_handle${e}Callback`]:null}const it={handleQuery:function(e){return et("Query",e),this},_handleQuery:function(e,t,i,o){const a=tt("Query");return a?a(e,t,i,o):[e,t,i]},handleFetchParams:function(e){return et("FetchParams",e),this},_handleFetchParams:function(e,t){const i=tt("FetchParams");return i?i(e,t||{}):{pageNo:e.pageNo,pageSize:e.pageSize,...t||{}}},handleFetchResult:function(e){return et("FetchResult",e),this},_handleFetchResult:function(e,t,i){const o=tt("FetchResult");return o&&o(e,t,i),!!o},handleLanguage2Local:function(e){return et("Language2Local",e),this},_handleLanguage2Local:function(e,t){const i=tt("Language2Local");return i?i(e,t):t}},ot={props:{defaultPageNo:{type:[Number,String],default:Ye.gc("defaultPageNo",1),observer:function(e){this.pageNo=e}},defaultPageSize:{type:[Number,String],default:Ye.gc("defaultPageSize",10),validator:e=>(e<=0&&Ye.consoleErr("default-page-size必须大于0!"),e>0)},dataKey:{type:[Number,String,Object],default:Ye.gc("dataKey",null)},useCache:{type:Boolean,default:Ye.gc("useCache",!1)},cacheKey:{type:String,default:Ye.gc("cacheKey",null)},cacheMode:{type:String,default:Ye.gc("cacheMode",Qe.CacheMode.Default)},autowireListName:{type:String,default:Ye.gc("autowireListName","")},autowireQueryName:{type:String,default:Ye.gc("autowireQueryName","")},fetch:{type:Function,default:null},fetchParams:{type:Object,default:Ye.gc("fetchParams",null)},auto:{type:Boolean,default:Ye.gc("auto",!0)},reloadWhenRefresh:{type:Boolean,default:Ye.gc("reloadWhenRefresh",!0)},autoScrollToTopWhenReload:{type:Boolean,default:Ye.gc("autoScrollToTopWhenReload",!0)},autoCleanListWhenReload:{type:Boolean,default:Ye.gc("autoCleanListWhenReload",!0)},showRefresherWhenReload:{type:Boolean,default:Ye.gc("showRefresherWhenReload",!1)},showLoadingMoreWhenReload:{type:Boolean,default:Ye.gc("showLoadingMoreWhenReload",!1)},createdReload:{type:Boolean,default:Ye.gc("createdReload",!1)},localPagingLoadingTime:{type:[Number,String],default:Ye.gc("localPagingLoadingTime",200)},concat:{type:Boolean,default:Ye.gc("concat",!0)},callNetworkReject:{type:Boolean,default:Ye.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&&Ye.consoleErr("use-cache为true时,必须设置cache-key,否则缓存无效!"),this.useCache&&!!this.cacheKey},finalCacheKey(){return this.cacheKey?`${Be}-${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,i=!0){return null!==t&&null!==this.dataKey&&t!==this.dataKey?(this.isFirstPage&&this.endRefresh(),new Promise((e=>e()))):(this.customNoMore=-1,this.addData(e,i))},completeByTotal(e,t,i=!0){if("undefined"==t)this.customNoMore=-1;else{const o=this._checkDataType(e,i,!1);if(e=o.data,i=o.success,t>=0&&i)return new Promise(((o,a)=>{this.$nextTick((()=>{let s=!1;let l=(this.pageNo==this.defaultPageNo?0:this.realTotalData.length)+(this.privateConcat?e.length:0)-t;l>=0&&(s=!0,l=this.defaultPageSize-l,this.privateConcat&&l>0&&lo(e))).catch((()=>a()))}))}))}return this.addData(e,i)},completeByNoMore(e,t,i=!0){return"undefined"!=t&&(this.customNoMore=1==t?1:0),this.addData(e,i)},completeByError(e){return this.customerEmptyViewErrorText=e,this.complete(!1)},addData(e,t=!0){this.fromCompleteEmit||(this.disabledCompleteEmit=!0,this.fromCompleteEmit=!1);const i=Ye.getTime()-this.requestTimeStamp;let o=this.minDelay;this.isFirstPage&&this.finalShowRefresherWhenReload&&(o=Math.max(400,o));const a=this.requestTimeStamp>0&&i{Ye.delay((()=>{this._addData(e,t,!1)}),this.delay>0?this.delay:a)})),new Promise(((e,t)=>{this.dataPromiseResultMap.complete={resolve:e,reject:t}}))},addDataFromTop(e,t=!0,i=!0){let o=!this.isChatRecordModeAndNotInversion;e="[object Array]"!==Object.prototype.toString.call(e)?[e]:o?e.reverse():e,this.finalUseVirtualList&&this._setCellIndex(e,"top"),this.totalData=o?[...e,...this.totalData]:[...this.totalData,...e],t&&Ye.delay((()=>this.useChatRecordMode?this.scrollToBottom(i):this.scrollToTop(i)))},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,i=0){const o=this.finalRefresherEnabled&&this.useCustomRefresher;-1===this.customRefresherHeight&&o?Ye.delay((()=>{++i%10==0&&this._updateCustomRefresherHeight(),this._preReload(e,t,i)}),ze/2):(this.isUserReload=!0,this.loadingType=Qe.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,i=!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,i?Qe.QueryFrom.UserPullDown:Qe.QueryFrom.Reload);let e=0;Ye.delay(this._callMyParentQuery,e),!t&&this.autoScrollToTopWhenReload&&this._scrollToTop(!1)}},_addData(e,t,i){this.isAddedData=!0,this.fromEmptyViewReload=!1,this.isTotalChangeFromAddData=!0,this.refresherTriggered=!1,this._endSystemLoadingAndRefresh();const o=this.isUserPullDown;this.showRefresherUpdateTime&&this.isFirstPage&&(Ye.setRefesrherTime(Ye.getTime(),this.refresherUpdateTimeKey),this.$refs.refresh&&this.$refs.refresh.updateTime()),!i&&o&&this.isFirstPage&&(this.isUserPullDown=!1),this.isFirstPage?this.listRendering=!1:(this.listRendering=!0,this.$nextTick((()=>{Ye.delay((()=>this.listRendering=!1))})));let a=this._checkDataType(e,t,i);e=a.data,t=a.success;let s=ze;if(this.useChatRecordMode&&(s=0),this.loadingForNow=!1,Ye.delay((()=>{this.pagingLoaded=!0,this.$nextTick((()=>{!i&&this._refresherEnd(s>0,!0,o)}))})),this.isFirstPage&&(this.isLoadFailed=!t,this.$emit("isLoadFailedChange",this.isLoadFailed),this.finalUseCache&&t&&(this.cacheMode===Qe.CacheMode.Always||this.isSettingCacheList)&&this._saveLocalCache(e)),this.isSettingCacheList=!1,t){if((!1!==this.privateConcat||this.isHandlingRefreshToPage||this.loadingStatus!==Qe.More.NoMore)&&(this.loadingStatus=Qe.More.Default),i){this.totalLocalPagingList=e;const t=this.defaultPageNo,i=this.queryFrom!==Qe.QueryFrom.Refresh?this.defaultPageSize:this.currentRefreshPageSize;this._localPagingQueryList(t,i,0,(e=>{this.completeByTotal(e,this.totalLocalPagingList.length)}))}else{let t=0;Ye.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=Qe.More.Fail,this.isHandlingRefreshToPage=!1,this.loadingType===Qe.LoadingType.LoadingMore&&this.pageNo--},_totalDataChange(e,t,i=!0){(this.isUserReload&&this.autoCleanListWhenReload||!this.firstPageLoaded||e.length||!t.length)&&(this._doCheckScrollViewShouldFullHeight(e),this.realTotalData.length||e.length||(i=!1),this.realTotalData=e,i&&(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((()=>{Ye.delay((()=>{this._getNodeClientRect(".zp-paging-container-content").then((e=>{e&&this.$emit("contentHeightChanged",e[0].height)}))}),ze*(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=Qe.More.NoMore):(!e.length||e.length&&e.length=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,Qe.QueryFrom.Refresh),this._callMyParentQuery(this.defaultPageNo,t))}return new Promise(((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}}))},_localPagingQueryList(e,t,i,o){e=Math.max(1,e),t=Math.max(1,t);const a=[...this.totalLocalPagingList],s=(e-1)*t,l=Math.min(a.length,s+t),r=a.splice(s,l-s);Ye.delay((()=>o(r)),i)},_saveLocalCache(e){g(this.finalCacheKey,e)},_setListByLocalCache(){this.totalData=p(this.finalCacheKey)||[],this.isSettingCacheList=!0},_callMyParentList(e){if(this.autowireListName.length){const t=Ye.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=Ye.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,i){this.queryFrom=i,this.requestTimeStamp=Ye.getTime();const[o]=this.realTotalData.slice(-1);if(this.fetch){const a=it._handleFetchParams({pageNo:e,pageSize:t,from:i,lastItem:o||null},this.fetchParams),s=this.fetch(a);it._handleFetchResult(s,this,a)||(Ye.isPromise(s)?s.then((e=>{this.complete(e)})).catch((e=>{this.complete(!1)})):this.complete(s))}else this.$emit("query",...it._handleQuery(e,t,i,o||null))},_callDataPromise(e,t){for(const i in this.dataPromiseResultMap){const o=this.dataPromiseResultMap[i];o&&(e?o.resolve({totalList:t,noMore:this.loadingStatus===Qe.More.NoMore}):this.callNetworkReject&&o.reject(`z-paging-${i}-error`))}},_checkDataType(e,t,i){const o=Object.prototype.toString.call(e);return"[object Boolean]"===o?(t=e,e=[]):"[object Array]"!==o&&(e=[],"[object Undefined]"!==o&&"[object Null]"!==o&&Ye.consoleErr((i?"setLocalPaging":"complete")+"参数类型不正确,第一个参数类型必须为Array!")),{data:e,success:t}}}},at={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:st}=R(at),lt=f().language,rt={data:()=>({language:lt}),computed:{finalLanguage(){try{const e=M(),t=this.language;return"auto"===e?it._handleLanguage2Local(t,this._language2Local(t)):e}catch(e){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:st("zp.refresherUpdateTime.title"),none:st("zp.refresherUpdateTime.none"),today:st("zp.refresherUpdateTime.today"),yesterday:st("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 i=Object.prototype.toString.call(t);if("[object Object]"===i){const e=t[this.finalLanguage];if(e)return e}else if("[object String]"===i)return t;return st(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}}},nt={props:{},data:()=>({nRefresherLoading:!1,nListIsDragging:!1,nShowBottom:!0,nFixFreezing:!1,nShowRefresherReveal:!1,nLoadingMoreFixedHeight:!1,nShowRefresherRevealHeight:0,nOldShowRefresherRevealHeight:-1,nRefresherWidth:m(750),nF2Opacity:0}),computed:{},mounted(){},methods:{}},ht={props:{hideEmptyView:{type:Boolean,default:Ye.gc("hideEmptyView",!1)},emptyViewText:{type:[String,Object],default:Ye.gc("emptyViewText",null)},showEmptyViewReload:{type:Boolean,default:Ye.gc("showEmptyViewReload",!1)},showEmptyViewReloadWhenError:{type:Boolean,default:Ye.gc("showEmptyViewReloadWhenError",!0)},emptyViewReloadText:{type:[String,Object],default:Ye.gc("emptyViewReloadText",null)},emptyViewImg:{type:String,default:Ye.gc("emptyViewImg","")},emptyViewErrorText:{type:[String,Object],default:Ye.gc("emptyViewErrorText",null)},emptyViewErrorImg:{type:String,default:Ye.gc("emptyViewErrorImg","")},emptyViewStyle:{type:Object,default:Ye.gc("emptyViewStyle",{})},emptyViewSuperStyle:{type:Object,default:Ye.gc("emptyViewSuperStyle",{})},emptyViewImgStyle:{type:Object,default:Ye.gc("emptyViewImgStyle",{})},emptyViewTitleStyle:{type:Object,default:Ye.gc("emptyViewTitleStyle",{})},emptyViewReloadStyle:{type:Object,default:Ye.gc("emptyViewReloadStyle",{})},emptyViewFixed:{type:Boolean,default:Ye.gc("emptyViewFixed",!1)},emptyViewCenter:{type:Boolean,default:Ye.gc("emptyViewCenter",!0)},autoHideEmptyViewWhenLoading:{type:Boolean,default:Ye.gc("autoHideEmptyViewWhenLoading",!0)},autoHideEmptyViewWhenPull:{type:Boolean,default:Ye.gc("autoHideEmptyViewWhenPull",!0)},emptyViewZIndex:{type:Number,default:Ye.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")}}},dt={props:{refresherThemeStyle:{type:String,default:Ye.gc("refresherThemeStyle","")},refresherImgStyle:{type:Object,default:Ye.gc("refresherImgStyle",{})},refresherTitleStyle:{type:Object,default:Ye.gc("refresherTitleStyle",{})},refresherUpdateTimeStyle:{type:Object,default:Ye.gc("refresherUpdateTimeStyle",{})},watchRefresherTouchmove:{type:Boolean,default:Ye.gc("watchRefresherTouchmove",!1)},loadingMoreThemeStyle:{type:String,default:Ye.gc("loadingMoreThemeStyle","")},refresherOnly:{type:Boolean,default:Ye.gc("refresherOnly",!1)},refresherDefaultDuration:{type:[Number,String],default:Ye.gc("refresherDefaultDuration",100)},refresherCompleteDelay:{type:[Number,String],default:Ye.gc("refresherCompleteDelay",0)},refresherCompleteDuration:{type:[Number,String],default:Ye.gc("refresherCompleteDuration",300)},refresherRefreshingScrollable:{type:Boolean,default:Ye.gc("refresherRefreshingScrollable",!0)},refresherCompleteScrollable:{type:Boolean,default:Ye.gc("refresherCompleteScrollable",!1)},useCustomRefresher:{type:Boolean,default:Ye.gc("useCustomRefresher",!0)},refresherFps:{type:[Number,String],default:Ye.gc("refresherFps",40)},refresherMaxAngle:{type:[Number,String],default:Ye.gc("refresherMaxAngle",40)},refresherAngleEnableChangeContinued:{type:Boolean,default:Ye.gc("refresherAngleEnableChangeContinued",!1)},refresherDefaultText:{type:[String,Object],default:Ye.gc("refresherDefaultText",null)},refresherPullingText:{type:[String,Object],default:Ye.gc("refresherPullingText",null)},refresherRefreshingText:{type:[String,Object],default:Ye.gc("refresherRefreshingText",null)},refresherCompleteText:{type:[String,Object],default:Ye.gc("refresherCompleteText",null)},refresherGoF2Text:{type:[String,Object],default:Ye.gc("refresherGoF2Text",null)},refresherDefaultImg:{type:String,default:Ye.gc("refresherDefaultImg",null)},refresherPullingImg:{type:String,default:Ye.gc("refresherPullingImg",null)},refresherRefreshingImg:{type:String,default:Ye.gc("refresherRefreshingImg",null)},refresherCompleteImg:{type:String,default:Ye.gc("refresherCompleteImg",null)},refresherRefreshingAnimated:{type:Boolean,default:Ye.gc("refresherRefreshingAnimated",!0)},refresherEndBounceEnabled:{type:Boolean,default:Ye.gc("refresherEndBounceEnabled",!0)},refresherEnabled:{type:Boolean,default:Ye.gc("refresherEnabled",!0)},refresherThreshold:{type:[Number,String],default:Ye.gc("refresherThreshold","80rpx")},refresherDefaultStyle:{type:String,default:Ye.gc("refresherDefaultStyle","black")},refresherBackground:{type:String,default:Ye.gc("refresherBackground","transparent")},refresherFixedBackground:{type:String,default:Ye.gc("refresherFixedBackground","transparent")},refresherFixedBacHeight:{type:[Number,String],default:Ye.gc("refresherFixedBacHeight",0)},refresherOutRate:{type:Number,default:Ye.gc("refresherOutRate",.65)},refresherF2Enabled:{type:Boolean,default:Ye.gc("refresherF2Enabled",!1)},refresherF2Threshold:{type:[Number,String],default:Ye.gc("refresherF2Threshold","200rpx")},refresherF2Duration:{type:[Number,String],default:Ye.gc("refresherF2Duration",200)},showRefresherF2:{type:Boolean,default:Ye.gc("showRefresherF2",!0)},refresherPullRate:{type:Number,default:Ye.gc("refresherPullRate",.75)},showRefresherUpdateTime:{type:Boolean,default:Ye.gc("showRefresherUpdateTime",!1)},refresherUpdateTimeKey:{type:String,default:Ye.gc("refresherUpdateTimeKey","default")},refresherVibrate:{type:Boolean,default:Ye.gc("refresherVibrate",!1)},refresherNoTransform:{type:Boolean,default:Ye.gc("refresherNoTransform",!1)},useRefresherStatusBarPlaceholder:{type:Boolean,default:Ye.gc("useRefresherStatusBarPlaceholder",!1)}},data:()=>({R:Qe.Refresher,refresherStatus:Qe.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===Qe.Refresher.Loading&&this._cleanRefresherEndTimeout(),this.refresherVibrate&&(e===Qe.Refresher.ReleaseToRefresh||e===Qe.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 Ye.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===Ye.addUnit(80,this.unit)&&(t=!0,this.showRefresherUpdateTime&&(e=Ye.addUnit(120,this.unit))),t&&this.customRefresherHeight>0?this.customRefresherHeight+this.finalRefresherThresholdPlaceholder:Ye.convertToPx(e)+this.finalRefresherThresholdPlaceholder},finalRefresherF2Threshold(){return Ye.convertToPx(Ye.addUnit(this.refresherF2Threshold,this.unit))},finalRefresherThresholdPlaceholder(){return this.useRefresherStatusBarPlaceholder?this.statusBarHeight:0},finalRefresherFixedBacHeight(){return Ye.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(){Ye.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=Qe.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=Qe.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?Qe.Refresher.GoF2:Qe.Refresher.ReleaseToRefresh:this.refresherStatus=Qe.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===Qe.Refresher.ReleaseToRefresh||this.refresherStatus===Qe.Refresher.GoF2)?this.refresherStatus===Qe.Refresher.GoF2?(this._handleGoF2(),this._refresherEnd()):(Ye.delay((()=>{this._emitTouchmove({pullingDistance:t,dy:this.moveDis-t})}),.1),this.moveDis=t,this.refresherStatus=Qe.Refresher.Loading,this._doRefresherLoad()):(this._refresherEnd(),this.isTouchmovingTimeout=Ye.delay((()=>{this.isTouchmoving=!1}),this.refresherDefaultDuration)),this.scrollEnable=!0,this.$emit("refresherTouchend",e)},_handleListTouchstart(){this.useChatRecordMode&&this.autoHideKeyboardWhenChat&&(x(),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=Ye.getTime().toString()},_refresherEnd(e=!0,t=!1,i=!1,o=!0){if(this.loadingType===Qe.LoadingType.Refresher){const e=t&&(i||this.showRefresherWhenReload)?this.refresherCompleteDelay:0,o=e>0?Qe.Refresher.Complete:Qe.Refresher.Default;if(this.finalShowRefresherWhenReload){const e=this.refresherRevealStackCount;if(this.refresherRevealStackCount--,e>1)return}this._cleanRefresherEndTimeout(),this.refresherEndTimeout=Ye.delay((()=>{this.refresherStatus=o}),this.refresherStatus!==Qe.Refresher.Default&&o===Qe.Refresher.Default?this.refresherCompleteDuration:0),e>0&&(this.isRefresherInComplete=!0),this._cleanRefresherCompleteTimeout(),this.refresherCompleteTimeout=Ye.delay((()=>{let e=1;const i=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 ${i}`,this.wxsPropType=this.refresherTransition+"end"+Ye.getTime(),this.moveDis=0,o===Qe.Refresher.Complete&&(this.refresherCompleteSubTimeout&&(clearTimeout(this.refresherCompleteSubTimeout),this.refresherCompleteSubTimeout=null),this.refresherCompleteSubTimeout=Ye.delay((()=>{this.$nextTick((()=>{this.refresherStatus=Qe.Refresher.Default,this.isRefresherInComplete=!1}))}),800*e)),this._emitTouchmove({pullingDistance:0,dy:this.moveDis})}),e)}o&&(Ye.delay((()=>this.loading=!1),e?10:0),i&&this._onRestore())},_handleGoF2(){!this.showF2&&this.refresherF2Enabled&&(this.$emit("refresherF2Change","go"),this.showRefresherF2&&(this.f2Transform=`translateY(${-this.superContentHeight}px)`,this.showF2=!0,Ye.delay((()=>{this.f2Transform="translateY(0px)"}),100,"f2ShowDelay")))},_handleCloseF2(){this.showF2&&this.refresherF2Enabled&&(this.$emit("refresherF2Change","close"),this.showRefresherF2&&(this.f2Transform=`translateY(${-this.superContentHeight}px)`,Ye.delay((()=>{this.showF2=!1,this.nF2Opacity=0}),this.refresherF2Duration,"f2CloseDelay")))},_doRefresherRefreshAnimate(){this._cleanRefresherCompleteTimeout();!this.doRefreshAnimateAfter&&this.finalShowRefresherWhenReload&&-1===this.customRefresherHeight&&this.refresherThreshold===Ye.addUnit(80,this.unit)?this.doRefreshAnimateAfter=!0:(this.refresherRevealStackCount++,this.wxsPropType="begin"+Ye.getTime(),this.moveDis=this.finalRefresherThreshold,this.refresherStatus=Qe.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)}}},ct={props:{loadingMoreCustomStyle:{type:Object,default:Ye.gc("loadingMoreCustomStyle",{})},loadingMoreTitleCustomStyle:{type:Object,default:Ye.gc("loadingMoreTitleCustomStyle",{})},loadingMoreLoadingIconCustomStyle:{type:Object,default:Ye.gc("loadingMoreLoadingIconCustomStyle",{})},loadingMoreLoadingIconType:{type:String,default:Ye.gc("loadingMoreLoadingIconType","flower")},loadingMoreLoadingIconCustomImage:{type:String,default:Ye.gc("loadingMoreLoadingIconCustomImage","")},loadingMoreLoadingAnimated:{type:Boolean,default:Ye.gc("loadingMoreLoadingAnimated",!0)},loadingMoreEnabled:{type:Boolean,default:Ye.gc("loadingMoreEnabled",!0)},toBottomLoadingMoreEnabled:{type:Boolean,default:Ye.gc("toBottomLoadingMoreEnabled",!0)},loadingMoreDefaultAsLoading:{type:Boolean,default:Ye.gc("loadingMoreDefaultAsLoading",!1)},loadingMoreDefaultText:{type:[String,Object],default:Ye.gc("loadingMoreDefaultText",null)},loadingMoreLoadingText:{type:[String,Object],default:Ye.gc("loadingMoreLoadingText",null)},loadingMoreNoMoreText:{type:[String,Object],default:Ye.gc("loadingMoreNoMoreText",null)},loadingMoreFailText:{type:[String,Object],default:Ye.gc("loadingMoreFailText",null)},hideNoMoreInside:{type:Boolean,default:Ye.gc("hideNoMoreInside",!1)},hideNoMoreByLimit:{type:Number,default:Ye.gc("hideNoMoreByLimit",0)},showDefaultLoadingMoreText:{type:Boolean,default:Ye.gc("showDefaultLoadingMoreText",!0)},showLoadingMoreNoMoreView:{type:Boolean,default:Ye.gc("showLoadingMoreNoMoreView",!0)},showLoadingMoreNoMoreLine:{type:Boolean,default:Ye.gc("showLoadingMoreNoMoreLine",!0)},loadingMoreNoMoreLineCustomStyle:{type:Object,default:Ye.gc("loadingMoreNoMoreLineCustomStyle",{})},insideMore:{type:Boolean,default:Ye.gc("insideMore",!1)},lowerThreshold:{type:[Number,String],default:Ye.gc("lowerThreshold","100rpx")}},data:()=>({M:Qe.More,loadingStatus:Qe.More.Default,loadingStatusAfterRender:Qe.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 Ye.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 i=t[0].height;this.cacheScrollNodeHeight=i,e-i<=this.finalLowerThreshold&&this._onLoadingMore("toBottom")}})):(e-this.cacheScrollNodeHeight<=this.finalLowerThreshold?this._onLoadingMore("toBottom"):e-this.cacheScrollNodeHeight<=500&&!t&&Ye.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&&Ye.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!==Qe.More.Default&&this.loadingStatus!==Qe.More.Fail||this.loading||this.showEmpty||this._doLoadingMore()},_doLoadingMore(){this.pageNo>=this.defaultPageNo&&this.loadingStatus!==Qe.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.queryFrom=Qe.QueryFrom.LoadingMore})):(this._emitQuery(this.pageNo,this.defaultPageSize,Qe.QueryFrom.LoadingMore),this._callMyParentQuery()),this.loadingType=Qe.LoadingType.LoadingMore)},_preCheckShowNoMoreInside(e,t,i){this.loadingStatus===Qe.More.NoMore&&this.hideNoMoreByLimit>0&&e.length?this.showLoadingMore=e.length>this.hideNoMoreByLimit:this.loadingStatus===Qe.More.NoMore&&this.hideNoMoreInside&&e.length||this.insideMore&&!1!==this.insideOfPaging&&e.length?(this.$nextTick((()=>{this._checkShowNoMoreInside(e,t,i)})),this.insideMore&&!1!==this.insideOfPaging&&e.length&&(this.showLoadingMore=e.length)):this.showLoadingMore=e.length},async _checkShowNoMoreInside(e,t,i){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({loading:!1,loadingForNow:!1}),watch:{loadingStatus(e){this.$emit("loadingStatusChange",e),this.$nextTick((()=>{this.loadingStatusAfterRender=e})),!this.useChatRecordMode||!this.isFirstPage||e!==Qe.More.NoMore&&e!==Qe.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&&C({title:this.finalSystemLoadingText,mask:this.systemLoadingMask}),this.autoHideLoadingAfterFirstLoaded?!!this.fromEmptyViewReload||!this.pagingLoaded:this.loadingType===Qe.LoadingType.Refresher)},finalShowSystemLoading(){return this.autoShowSystemLoading&&this.loadingType===Qe.LoadingType.Refresher}},methods:{_startLoading(e=!1){(this.showLoadingMoreWhenReload&&!this.isUserPullDown||!e)&&(this.loadingStatus=Qe.More.Loading),this.loading=!0},_endSystemLoadingAndRefresh(){this.finalShowSystemLoading&&b(),!this.useCustomRefresher&&A()}}},gt={props:{useChatRecordMode:{type:Boolean,default:Ye.gc("useChatRecordMode",!1)},chatRecordMoreOffset:{type:[Number,String],default:Ye.gc("chatRecordMoreOffset","0rpx")},autoHideKeyboardWhenChat:{type:Boolean,default:Ye.gc("autoHideKeyboardWhenChat",!0)},autoAdjustPositionWhenChat:{type:Boolean,default:Ye.gc("autoAdjustPositionWhenChat",!0)},chatAdjustPositionOffset:{type:[Number,String],default:Ye.gc("chatAdjustPositionOffset","0rpx")},autoToBottomWhenChat:{type:Boolean,default:Ye.gc("autoToBottomWhenChat",!1)},showChatLoadingWhenReload:{type:Boolean,default:Ye.gc("showChatLoadingWhenReload",!1)},chatLoadingMoreDefaultAsLoading:{type:Boolean,default:Ye.gc("chatLoadingMoreDefaultAsLoading",!0)}},data:()=>({keyboardHeight:0,isKeyboardHeightChanged:!1}),computed:{finalChatRecordMoreOffset(){return Ye.convertToPx(this.chatRecordMoreOffset)},finalChatAdjustPositionOffset(){return Ye.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),Ye.delay((()=>{this._scrollToBottom(!1),Ye.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(){},methods:{addChatRecordData(e,t=!0,i=!0){this.useChatRecordMode&&(this.isTotalChangeFromAddData=!0,this.addDataFromTop(e,t,i))},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&&Ye.delay((()=>{this.scrollToBottom(!1),Ye.delay((()=>{this.scrollToBottom(!1)}))}))}}},pt={props:{usePageScroll:{type:Boolean,default:Ye.gc("usePageScroll",!1)},scrollable:{type:Boolean,default:Ye.gc("scrollable",!0)},showScrollbar:{type:Boolean,default:Ye.gc("showScrollbar",!0)},scrollX:{type:Boolean,default:Ye.gc("scrollX",!1)},scrollToTopBounceEnabled:{type:Boolean,default:Ye.gc("scrollToTopBounceEnabled",!1)},scrollToBottomBounceEnabled:{type:Boolean,default:Ye.gc("scrollToBottomBounceEnabled",!0)},scrollWithAnimation:{type:Boolean,default:Ye.gc("scrollWithAnimation",!1)},scrollIntoView:{type:String,default:Ye.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),e&&this.$nextTick((()=>{const e=this.$refs["zp-scroll-view"].$refs.main;e&&(e.style={})}))},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!==Qe.Refresher.Complete)&&(!!this.refresherRefreshingScrollable||this.refresherStatus!==Qe.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,i){this._scrollIntoView(e,t,i)},scrollIntoViewByNodeTop(e,t,i){this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this._scrollIntoViewByNodeTop(e,t,i)}))},scrollToY(e,t,i){this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this._scrollToY(e,t,i)}))},scrollIntoViewByIndex(e,t,i){e>=this.realTotalData.length?Ye.consoleErr("当前滚动的index超出已渲染列表长度,请先通过refreshToPage加载到对应index页并等待渲染成功后再调用此方法!"):this.$nextTick((()=>{if(this.finalUseVirtualList){const o=this.cellHeightMode===Qe.CellHeightMode.Fixed;Ye.delay((()=>{if(this.finalUseVirtualList){const a=o?this.virtualCellHeight*e:this.virtualHeightCacheList[e].lastTotalHeight;this.scrollToY(a,t,i)}}),o?0:100)}}))},scrollIntoViewByView(e,t,i){this._scrollIntoView(e,t,i)},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((()=>{I({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((()=>{I({scrollTop:Number.MAX_VALUE,duration:e?100:0})}));else try{this._updatePrivateScrollWithAnimation(e);const t=await this._getNodeClientRect(".zp-paging-container"),i=await this._getNodeClientRect(".zp-scroll-view"),o=t?t[0].height:0,a=i?i[0].height:0;o>a&&(this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this.scrollTop=o-a+this.virtualPlaceholderTopHeight,this.oldScrollTop=this.scrollTop})))}catch(t){}},_scrollIntoView(e,t=0,i=!1,o){try{this.scrollTop=this.oldScrollTop,this.$nextTick((()=>{this._getNodeClientRect("#"+e.replace("#",""),this.$parent).then((e=>{if(e){let a=e[0].top;this._scrollIntoViewByNodeTop(a,t,i),o&&o()}}))}))}catch(a){}},_scrollIntoViewByNodeTop(e,t=0,i=!1){this.isChatRecordModeAndInversion?this._getNodeClientRect(".zp-scroll-view").then((o=>{o&&this._scrollToY(o[0].height-e,t,i,!0)})):this._scrollToY(e,t,i,!0)},_scrollToY(e,t=0,i=!1,o=!1){this._updatePrivateScrollWithAnimation(i),Ye.delay((()=>{if(this.usePageScroll){o&&-1!==this.pageScrollTop&&(e+=this.pageScrollTop);I({scrollTop:e-t,duration:i?100:0})}else o&&(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 i=e.detail.scrollHeight-this.oldScrollTop;!this.isIos&&this._checkScrolledToBottom(i)},_updatePrivateScrollWithAnimation(e){this.privateScrollWithAnimation=e?1:0,Ye.delay((()=>this.$nextTick((()=>{this.privateScrollWithAnimation=-1}))),100,"updateScrollWithAnimationDelay")},_doCheckScrollViewShouldFullHeight(e){this.autoFullHeight&&this.usePageScroll&&this.isTotalChangeFromAddData?this.$nextTick((()=>{this._checkScrollViewShouldFullHeight(((t,i)=>{this._preCheckShowNoMoreInside(e,t,i)}))})):this._preCheckShowNoMoreInside(e)},async _checkScrollViewShouldFullHeight(e){try{const t=await this._getNodeClientRect(".zp-scroll-view"),i=await this._getNodeClientRect(".zp-paging-container-content");if(!t||!i)return;const o=i[0].height,a=t[0].top;this.isAddedData&&o+a<=this.windowHeight?(this._setAutoHeight(!0,t),e(t,i)):(this._setAutoHeight(!1),e(null,null))}catch(t){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 i=e>5?6:0;t&&this.wxsPageScrollTop!==i?this.wxsPageScrollTop=i:t||this.wxsScrollTop===i||(this.wxsScrollTop=i,i>6&&(this.scrollEnable=!0))},_updatePageScrollTopOrBottomHeight(e){if(!this.usePageScroll)return;this._doCheckScrollViewShouldFullHeight(this.realTotalData);const t=`.zp-page-${e}`,i=`margin${e.slice(0,1).toUpperCase()+e.slice(1)}`;let o=this.safeAreaInsetBottom;this.$nextTick((()=>{Ye.delay((()=>{this._getNodeClientRect(t).then((t=>{if(t){let a=t[0].height;"bottom"===e?o&&(a+=this.safeAreaBottom):this.cacheTopHeight=a,this.$set(this.scrollViewStyle,i,`${a}px`)}else o&&this.$set(this.scrollViewStyle,i,`${this.safeAreaBottom}px`)}))}),0)}))}}},mt={props:{autoShowBackToTop:{type:Boolean,default:Ye.gc("autoShowBackToTop",!1)},backToTopThreshold:{type:[Number,String],default:Ye.gc("backToTopThreshold","400rpx")},backToTopImg:{type:String,default:Ye.gc("backToTopImg","")},backToTopWithAnimate:{type:Boolean,default:Ye.gc("backToTopWithAnimate",!0)},backToTopBottom:{type:[Number,String],default:Ye.gc("backToTopBottom","160rpx")},backToTopStyle:{type:Object,default:Ye.gc("backToTopStyle",{})},enableBackToTop:{type:Boolean,default:Ye.gc("enableBackToTop",!0)}},data:()=>({backToTopClass:"zp-back-to-top zp-back-to-top-hide",lastBackToTopShowTime:0,showBackToTopClass:!1}),computed:{backToTopThresholdUnitConverted(){return Ye.addUnit(this.backToTopThreshold,this.unit)},backToTopBottomUnitConverted(){return Ye.addUnit(this.backToTopBottom,this.unit)},finalEnableBackToTop(){return!this.usePageScroll&&this.enableBackToTop},finalBackToTopThreshold(){return Ye.convertToPx(this.backToTopThresholdUnitConverted)},finalBackToTopStyle(){const e=this.backToTopStyle;return e.bottom||(e.bottom=this.windowBottom+Ye.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(),Ye.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",Ye.delay((()=>{this.showBackToTopClass=!1}),(new Date).getTime()-this.lastBackToTopShowTime<500?0:300)):this.showBackToTopClass=!1}}},ft={props:{useVirtualList:{type:Boolean,default:Ye.gc("useVirtualList",!1)},useCompatibilityMode:{type:Boolean,default:Ye.gc("useCompatibilityMode",!1)},extraData:{type:Object,default:Ye.gc("extraData",{})},useInnerList:{type:Boolean,default:Ye.gc("useInnerList",!1)},forceCloseInnerList:{type:Boolean,default:Ye.gc("forceCloseInnerList",!1)},cellKeyName:{type:String,default:Ye.gc("cellKeyName","")},innerListStyle:{type:Object,default:Ye.gc("innerListStyle",{})},innerCellStyle:{type:Object,default:Ye.gc("innerCellStyle",{})},preloadPage:{type:[Number,String],default:Ye.gc("preloadPage",12),validator:e=>(e<=0&&Ye.consoleErr("preload-page必须大于0!"),e>0)},cellHeightMode:{type:String,default:Ye.gc("cellHeightMode",Qe.CellHeightMode.Fixed)},fixedCellHeight:{type:[Number,String],default:Ye.gc("fixedCellHeight",0)},virtualListCol:{type:[Number,String],default:Ye.gc("virtualListCol",1)},virtualScrollFps:{type:[Number,String],default:Ye.gc("virtualScrollFps",80)}},data:()=>({virtualListKey:Ye.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(){this.updateVirtualListRender()},virtualList(e){this.$emit("update:virtualList",e),this.$emit("virtualListChange",e)}},computed:{virtualCellIndexKey:()=>Ee,finalUseVirtualList(){return this.useVirtualList&&this.usePageScroll&&Ye.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 Ye.convertToPx(this.fixedCellHeight)},virtualRangePageHeight(){return this.finalVirtualPageHeight*this.preloadPage},virtualScrollDisTimeStamp(){return 1e3/this.virtualScrollFps}},methods:{doInsertVirtualListItem(e,t){if(this.cellHeightMode!==Qe.CellHeightMode.Dynamic)return;this.virtualItemInsertedCount++,e&&"[object Object]"===Object.prototype.toString.call(e)||(e={item:e});const i=this.virtualCellIndexKey;e[i]=`custom-${this.virtualItemInsertedCount}`,e[Fe]=`${this.virtualListKey}-${e[i]}`,this.$nextTick((async()=>{let o=0;for(;o<=10;){await Ye.wait(ze);const a=await this._getNodeClientRect(`#zp-id-${e[i]}`,this.finalUseInnerList);if(!a){o++;continue}const s=a?a[0].height:0,l=this.virtualHeightCacheList[t-1],r=l?l.totalHeight:0;this.virtualHeightCacheList.splice(t,0,{height:s,lastTotalHeight:r,totalHeight:r+s});for(let e=t+1;e{this._getNodeClientRect(`#zp-id-${e}`,this.finalUseInnerList).then((i=>{const o=i?i[0].height:0,a=o-t.height;t.height=o,t.totalHeight=t.lastTotalHeight+o;for(let t=e+1;t{this.getCellHeightRetryCount.fixed=0,this.realTotalData.length?this.cellHeightMode===Qe.CellHeightMode.Fixed&&this.isFirstPage&&this._updateFixedCellHeight():this._resetDynamicListState(!this.isUserPullDown),this._updateVirtualScroll(this.oldScrollTop)})))},_virtualListInit(){this.$nextTick((()=>{Ye.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((()=>{Ye.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()}}))}),ze,"updateFixedCellHeightDelay")}))},_updateDynamicCellHeight(e,t="bottom"){const i="top"===t,o=this.virtualHeightCacheList,a=i?[]:o;let s=0;this.$nextTick((()=>{Ye.delay((async()=>{for(let l=0;l=0&&this._resetDynamicListState(),this.totalData.length){if("bottom"===t){i=this.realTotalData.length;const e=this.realTotalData.length?this.realTotalData.slice(-1)[0]:null;e&&void 0!==e[o]&&(i=e[o]+1)}else if("top"===t){const t=this.realTotalData.length?this.realTotalData[0]:null;t&&void 0!==t[o]&&(i=t[o]-e.length)}}else this._resetDynamicListState();for(let a=0;a0?"top":"bottom",o=this.virtualRangePageHeight,a=e-o,s=e+this.finalVirtualPageHeight+o;let l=0,r=0,n=!1;const h=this.virtualHeightCacheList,d=h?h.slice(-1)[0]:null;let c=this.virtualTopRangeIndex;if("bottom"===i)for(let e=c;ea){this.virtualTopRangeIndex=e,this.virtualPlaceholderTopHeight=t.lastTotalHeight;break}}else{let e=!1;for(let t=c;t>=0;t--){const i=h[t];if(i&&i.totalHeights){l=e,r=d.totalHeight-t.totalHeight,n=!0;break}}n&&0!==this.virtualBottomRangeIndex?(this.virtualBottomRangeIndex=l,this.virtualPlaceholderBottomHeight=r):(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)}}},yt=f(),Tt={name:"z-paging",components:{zPagingRefresh:Je,zPagingLoadMore:Ke,zPagingEmptyView:ke},mixins:[Xe,ot,rt,nt,ht,dt,ct,ut,gt,pt,mt,ft],data:()=>({base64Arrow:Me,base64Flower:Ce,base64BackToTop:De,loadingType:Qe.LoadingType.Refresher,requestTimeStamp:0,wxsPropType:"",renderPropScrollTop:-1,checkScrolledToBottomTimeOut:null,cacheTopHeight:-1,statusBarHeight:yt.statusBarHeight,insideOfPaging:-1,isLoadFailed:!1,isIos:"ios"===yt.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:Ye.gc("delay",0)},minDelay:{type:[Number,String],default:Ye.gc("minDelay",0)},pagingStyle:{type:Object,default:Ye.gc("pagingStyle",{})},height:{type:String,default:Ye.gc("height","")},width:{type:String,default:Ye.gc("width","")},maxWidth:{type:String,default:Ye.gc("maxWidth","")},bgColor:{type:String,default:Ye.gc("bgColor","")},pagingContentStyle:{type:Object,default:Ye.gc("pagingContentStyle",{})},autoHeight:{type:Boolean,default:Ye.gc("autoHeight",!1)},autoHeightAddition:{type:[Number,String],default:Ye.gc("autoHeightAddition","0px")},defaultThemeStyle:{type:String,default:Ye.gc("defaultThemeStyle","black")},fixed:{type:Boolean,default:Ye.gc("fixed",!0)},safeAreaInsetBottom:{type:Boolean,default:Ye.gc("safeAreaInsetBottom",!1)},useSafeAreaPlaceholder:{type:Boolean,default:Ye.gc("useSafeAreaPlaceholder",!1)},bottomBgColor:{type:String,default:Ye.gc("bottomBgColor","")},topZIndex:{type:Number,default:Ye.gc("topZIndex",99)},superContentZIndex:{type:Number,default:Ye.gc("superContentZIndex",1)},contentZIndex:{type:Number,default:Ye.gc("contentZIndex",1)},f2ZIndex:{type:Number,default:Ye.gc("f2ZIndex",100)},autoFullHeight:{type:Boolean,default:Ye.gc("autoFullHeight",!0)},watchTouchDirectionChange:{type:Boolean,default:Ye.gc("watchTouchDirectionChange",!1)},unit:{type:String,default:Ye.gc("unit","rpx")}},created(){this.createdReload&&!this.refresherOnly&&this.auto&&(this._startLoading(),this.$nextTick(this._preReload))},mounted(){this.active=!0,this.wxsPropType=Ye.getTime().toString(),this.renderJsIgnore,this.createdReload||this.refresherOnly||!this.auto||Ye.delay((()=>this.$nextTick(this._preReload)),0),this.finalUseCache&&this._setListByLocalCache();let e=0;e=ze,this.$nextTick((()=>{this.systemInfo=f(),!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(),this.loaded=!0,Ye.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(),this.$nextTick((()=>{setTimeout((()=>{this._getCssSafeAreaInsetBottom((()=>this.safeAreaInsetBottom&&this.updatePageScrollBottomHeight()))}),e)}))},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:i}=this;return!this.usePageScroll&&this.fixed&&(t&&!e.top&&(e.top=t+"px"),i&&!e.bottom&&(e.bottom=i+"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(){return this.isIos}},methods:{getVersion:()=>`z-paging v${Ve}`,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)},_doVibrateShort(){},async _setAutoHeight(e=!0,t=null){let i="min-height";i="min-height";try{if(e){let e=t||await this._getNodeClientRect(".zp-scroll-view"),o=await this._getNodeClientRect(".zp-page-bottom");if(e){const t=e[0].top;let a=this.windowHeight-t;a-=o?o[0].height:0;const s=a+Ye.convertToPx(this.autoHeightAddition)-(this.insideMore?1:0)+"px !important";this.$set(this.scrollViewStyle,i,s),this.$set(this.scrollViewInStyle,i,s)}}else this.$delete(this.scrollViewStyle,i),this.$delete(this.scrollViewInStyle,i)}catch(o){}},_handleUnmounted(){this.active=!1,this._offEmit()},_updateInsideOfPaging(){this.insideMore&&!0===this.insideOfPaging&&setTimeout(this.doLoadMore,200)},_cleanTimeout:e=>(e&&(clearTimeout(e),e=null),e),_onEmit(){v(Ne,(e=>{this.loading&&(e&&(this.customerEmptyViewErrorText=e),this.complete(!1).catch((()=>{})))})),v(Pe,(e=>{setTimeout((()=>{if(this.loading)if(this.disabledCompleteEmit)this.disabledCompleteEmit=!1;else{const t=e.type||"normal",i=e.list||e,o=e.rule;switch(this.fromCompleteEmit=!0,t){case"normal":this.complete(i);break;case"total":this.completeByTotal(i,o);break;case"nomore":this.completeByNoMore(i,o);break;case"key":this.completeByKey(i,o)}}}),1)}))},_offEmit(){L(Ne),L(Pe)}}};var St=0,wt=-1,Rt=-1;function Mt(e,t){var i=kt(t),o={},a={};if(t.callMethod("_handleListTouchstart"),!i||(o=i.getState(),a=i.getDataset(),!Vt(e,i))){var s=o.isTouchEnded;o.oldMoveDis=0;var l=Dt(e),r=Nt(a.loading);o.startY=l.touchY,Rt=o.startY,o.lastTouch=l,!r&&s&&(o.isTouchmoving=!1),o.isTouchEnded=!1,t.callMethod("_handleRefresherTouchstart",l)}}function xt(e,t){var i=Dt(e),o=kt(t),a=o.getDataset(),s=a.refresherthreshold,l=a.refresherf2threshold,r=Nt(a.refresherf2enabled);Nt(a.isios);var n=o.getState(),h={},d=0,c=!1;if(Nt(a.watchtouchdirectionchange)){d=(h=Lt(e,o)).currentDis;var u=(c=h.isDown)?"top":"bottom";c==n.oldTouchDirection&&c!=n.oldEmitedTouchDirection&&(t.callMethod("_handleTouchDirectionChange",{direction:u}),n.oldEmitedTouchDirection=c),n.oldTouchDirection=c}if(Vt(e,o))return zt(n,t,!1),!0;if(!function(e,t,i,o){var a=o.refreshermaxangle,s=Nt(o.refresheraecc),l=i.lastTouch,r=i.reachMaxAngle,n=i.oldMoveDis;if(!l)return!0;if(a>=0&&a<=90&&l){if((!n||n<1)&&!s&&null!=r&&!r)return!1;var h=Math.abs(t.touchX-l.touchX),d=Math.abs(t.touchY-l.touchY),c=Math.sqrt(Math.pow(h,2)+Math.pow(d,2));if((h||d)&&h>1)if(Math.asin(d/c)/Math.PI*1802&&(i.lastTouch=t,i.reachMaxAngle=!1),!1}}return i.lastTouch=t,!0}(0,i,n,a))return zt(n,t,!1),!0;if(d=(h=Lt(e,o)).currentDis,c=h.isDown,d<0)return It(0,o,n,!1),zt(n,t,!1),!0;if(c&&!n.disabledBounce)return t.callMethod("_handleScrollViewBounce",{bounce:!1}),n.disabledBounce=!0,zt(n,t,c),!c;It(d,o,n,!1);var g=n.refresherStatus,p=Nt(a.oldistouchmoving),m=Nt(a.hastouchmove),f=n.isTouchmoving;return n.refresherStatus=d>=s?r&&d>l?"goF2":"releaseToRefresh":"default",f||(n.isTouchmoving=!0,f=!0),n.isTouchEnded&&(n.isTouchEnded=!1),m&&t.callMethod("_handleWxsPullingDown",{moveDis:d,diffDis:h.diffDis}),null!=g&&g==n.refresherStatus&&p==f||t.callMethod("_handleRefresherTouchmove",d,i),zt(n,t,c),!c}function Ct(e,t){Dt(e);var i=kt(t);i.getDataset();var o=i.getState();if(o.disabledBounce&&(t.callMethod("_handleScrollViewBounce",{bounce:!0}),o.disabledBounce=!1),!Vt(e,i)&&(o.reachMaxAngle=!0,o.hitReachMaxAngleCount=0,o.fixedIsTopHitCount=0,o.isTouchmoving)){var a=o.refresherStatus,s=o.moveDis,l=i.getDataset().refresherthreshold,r=Lt(e,i).currentDis;if(r>=l&&"releaseToRefresh"===a||(o.isTouchmoving=!1),t.callMethod("_handleRefresherTouchend",r),o.isTouchEnded=!0,!(s=l&&(r=l,n=!0),It(r,i,o,n)}}}function bt(){if(!navigator)return!1;if(-1!=wt)return wt;return wt=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"].every((function(e){return navigator.userAgent.indexOf(e)<0}))}var At=!1;function It(e,t,i,o){e=e||0,i.moveDis!=e&&(i.moveDis=e,vt("translateY("+e+"px)",t,o,""))}function vt(e,t,i,o){Nt(t.getDataset().refreshernotransform)||(e="translateY(0px)"==e?"none":e,t.requestAnimationFrame((function(){var a={transform:e};i&&(a.transition="transform .1s linear"),o.length&&(a.transition=o),t.setStyle(a)})))}function Lt(e,t){var i=t.getState(),o=parseFloat(t.getDataset().refresherthreshold),a=parseFloat(t.getDataset().refresheroutrate),s=parseFloat(t.getDataset().refresherpullrate),l=Dt(e),r=i.startY&&"NaN"!=i.startY?i.startY:Rt,n=l.touchY-r,h=i.oldMoveDis||0;i.oldMoveDis=n;var d=n-h;return d>0&&(d*=s,St>o&&(d*=1-a)),St+=d=d>100?d/100:d>20?d/2.2:d,{currentDis:St=Math.max(0,St),diffDis:d,isDown:d>0}}function Dt(e){var t=e;return e.touches&&e.touches.length?t=e.touches[0]:e.changedTouches&&e.changedTouches.length?t=e.changedTouches[0]:e.datail&&e.datail!={}&&(t=e.datail),{touchX:t.clientX,touchY:t.clientY}}function kt(e){var t=e.getState().currentIns;return t||e.callMethod("_handlePropUpdate"),t}function Vt(e,t,i){var o=t.getDataset(),a=t.getState(),s=Nt(o.loading),l=Nt(o.usechatrecordmode),r=Nt(o.refresherenabled),n=Nt(o.usecustomrefresher),h=Nt(o.usepagescroll),d=parseFloat(o.pagescrolltop),c=parseFloat(o.scrolltop);return a.fixedIsTopHitCount,a.fixedIsTopHitCount=0,s||l||!r||!n||h&&n&&d>5&&!0||!h&&n&&c>5&&!0}function zt(e,t,i){(e.onPullingDown||!1)!=i&&t.callMethod("_handleWxsPullingDownStatusChange",i),e.onPullingDown=i}function Nt(e){return 1==(e=("string"==typeof e?JSON.parse(e):e)||!1)||"true"==e}const Pt={touchstart:Mt,touchmove:xt,touchend:Ct,mousedown:function(e,t){bt()&&(Mt(e,t),At=!0)},mousemove:function(e,t){bt()&&At&&xt(e,t)},mouseup:function(e,t){bt()&&(Ct(e,t),At=!1)},mouseleave:function(e,t){bt()&&(At=!1)},propObserver:function(e,t,i,o){var a=i.getState()||{};if(a.currentIns=o,o.getDataset().loading,e&&-1!=e.indexOf("end"))vt("translateY(0px)",o,!1,e.split("end")[0]),a.moveDis=0,a.oldMoveDis=0,St=0;else if(e&&-1!=e.indexOf("begin")){It(o.getDataset().refresherthreshold,o,a,!1)}}},Bt=e=>{e.$wxs||(e.$wxs=[]),e.$wxs.push("pagingWxs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.pagingWxs=Pt}})},Et={startY:0,isTouchFromZPaging:!1,isUsePageScroll:!1,isReachedTop:!0,isIosAndH5:!1,useChatRecordMode:!1,appLaunched:!1},Ft={name:"z-paging",mixins:[{mounted(){window&&this._handleTouch()},methods:{renderPropIsIosAndH5Change(e){-1!==e&&(Et.isIosAndH5=e)},_handleTouch(){window.$zPagingRenderJsInited||(window.$zPagingRenderJsInited=!0,window.addEventListener("touchstart",this._handleTouchstart,{passive:!0}),window.addEventListener("touchmove",this._handleTouchmove,{passive:!1}))},_handleTouchstart(e){const t=Ye.getTouch(e);Et.startY=t.touchY;const i=Ye.getTouchFromZPaging(e.target);Et.isTouchFromZPaging=i.isFromZp,Et.isUsePageScroll=i.isPageScroll,Et.isReachedTop=i.isReachedTop,Et.useChatRecordMode=i.isUseChatRecordMode},_handleTouchmove(e){const t=Ye.getTouch(e).touchY-Et.startY;Et.isTouchFromZPaging&&(Et.isReachedTop&&(Et.useChatRecordMode?t<0:t>0)||!Et.useChatRecordMode&&Et.isIosAndH5&&!Et.isUsePageScroll&&t<0)&&e.cancelable&&!e.defaultPrevented&&e.preventDefault()},_removeAllEventListener(){window.removeEventListener("touchstart"),window.removeEventListener("touchmove")}}}]},Ht=e=>{e.$renderjs||(e.$renderjs=[]),e.$renderjs.push("pagingRenderjs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.pagingRenderjs=this},mounted(){this.$ownerInstance=this.$gcd(this,!0)}}),e.mixins.push(Ft)};Bt(Tt),Ht(Tt);const Wt=ne(Tt,[["render",function(r,c,g,p,m,f){const S=u,w=D("z-paging-refresh"),R=D("z-paging-load-more"),M=k(V("z-paging-empty-view"),ke),x=P,C=d;return e(),t(S,{class:a({"z-paging-content":!0,"z-paging-content-full":!r.usePageScroll,"z-paging-content-fixed":!r.usePageScroll&&r.fixed,"z-paging-content-page":r.usePageScroll,"z-paging-reached-top":r.renderPropScrollTop<1,"z-paging-use-chat-record-mode":r.useChatRecordMode}),style:s([r.finalPagingStyle])},{default:i((()=>[-1===r.cssSafeAreaInsetBottom?(e(),t(S,{key:0,class:"zp-safe-area-inset-bottom"})):h("",!0),r.showF2&&r.showRefresherF2?(e(),t(S,{key:1,onTouchmove:c[0]||(c[0]=n((()=>{}),["stop","prevent"])),class:"zp-f2-content",style:s([{transform:r.f2Transform,transition:"transform .2s linear",height:r.superContentHeight+"px","z-index":r.f2ZIndex}])},{default:i((()=>[z(r.$slots,"f2",{},void 0,!0)])),_:3},8,["style"])):h("",!0),!r.usePageScroll&&r.zSlots.top?z(r.$slots,"top",{key:2},void 0,!0):r.usePageScroll&&r.zSlots.top?(e(),t(S,{key:3,class:"zp-page-top",onTouchmove:c[1]||(c[1]=n((()=>{}),["stop","prevent"])),style:s([{top:`${r.windowTop}px`,"z-index":r.topZIndex}])},{default:i((()=>[z(r.$slots,"top",{},void 0,!0)])),_:3},8,["style"])):h("",!0),o(S,{class:a({"zp-view-super":!0,"zp-scroll-view-super":!r.usePageScroll}),style:s([r.finalScrollViewStyle])},{default:i((()=>[r.zSlots.left?(e(),t(S,{key:0,class:a({"zp-page-left":!0,"zp-absoulte":r.finalIsOldWebView})},{default:i((()=>[z(r.$slots,"left",{},void 0,!0)])),_:3},8,["class"])):h("",!0),o(S,{class:a({"zp-scroll-view-container":!0,"zp-absoulte":r.finalIsOldWebView}),style:s([r.scrollViewContainerStyle])},{default:i((()=>[o(x,{ref:"zp-scroll-view",class:a({"zp-scroll-view":!0,"zp-scroll-view-absolute":!r.usePageScroll,"zp-scroll-view-hide-scrollbar":!r.showScrollbar}),style:s([r.chatRecordRotateStyle]),"scroll-top":r.scrollTop,"scroll-x":r.scrollX,"scroll-y":r.finalScrollable,"enable-back-to-top":r.finalEnableBackToTop,"show-scrollbar":r.showScrollbar,"scroll-with-animation":r.finalScrollWithAnimation,"scroll-into-view":r.scrollIntoView,"lower-threshold":r.finalLowerThreshold,"upper-threshold":5,"refresher-enabled":r.finalRefresherEnabled&&!r.useCustomRefresher,"refresher-threshold":r.finalRefresherThreshold,"refresher-default-style":r.finalRefresherDefaultStyle,"refresher-background":r.refresherBackground,"refresher-triggered":r.finalRefresherTriggered,onScroll:r._scroll,onScrolltolower:r._onScrollToLower,onScrolltoupper:r._onScrollToUpper,onRefresherrestore:r._onRestore,onRefresherrefresh:c[4]||(c[4]=e=>r._onRefresh(!0))},{default:i((()=>[o(S,{class:"zp-paging-touch-view",onTouchstart:r.pagingWxs.touchstart,onTouchmove:r.pagingWxs.touchmove,onTouchend:r.pagingWxs.touchend,onTouchcancel:r.pagingWxs.touchend,onMousedown:r.pagingWxs.mousedown,onMousemove:r.pagingWxs.mousemove,onMouseup:r.pagingWxs.mouseup,onMouseleave:r.pagingWxs.mouseleave},{default:i((()=>[r.finalRefresherFixedBacHeight>0?(e(),t(S,{key:0,class:"zp-fixed-bac-view",style:s([{background:r.refresherFixedBackground,height:`${r.finalRefresherFixedBacHeight}px`}])},null,8,["style"])):h("",!0),o(S,{class:"zp-paging-main",style:s([r.scrollViewInStyle,{transform:r.finalRefresherTransform,transition:r.refresherTransition}]),"change:prop":r.pagingWxs.propObserver,prop:r.wxsPropType,"data-refresherThreshold":r.finalRefresherThreshold,"data-refresherF2Enabled":r.refresherF2Enabled,"data-refresherF2Threshold":r.finalRefresherF2Threshold,"data-isIos":r.isIos,"data-loading":r.loading||r.isRefresherInComplete,"data-useChatRecordMode":r.useChatRecordMode,"data-refresherEnabled":r.refresherEnabled,"data-useCustomRefresher":r.useCustomRefresher,"data-pageScrollTop":r.wxsPageScrollTop,"data-scrollTop":r.wxsScrollTop,"data-refresherMaxAngle":r.refresherMaxAngle,"data-refresherNoTransform":r.refresherNoTransform,"data-refresherAecc":r.refresherAngleEnableChangeContinued,"data-usePageScroll":r.usePageScroll,"data-watchTouchDirectionChange":r.watchTouchDirectionChange,"data-oldIsTouchmoving":r.isTouchmoving,"data-refresherOutRate":r.finalRefresherOutRate,"data-refresherPullRate":r.finalRefresherPullRate,"data-hasTouchmove":r.hasTouchmove,"change:renderPropIsIosAndH5":r.pagingRenderjs.renderPropIsIosAndH5Change,renderPropIsIosAndH5:r.isIosAndH5},{default:i((()=>[r.showRefresher?(e(),t(S,{key:0,class:"zp-custom-refresher-view",style:s([{"margin-top":`-${r.finalRefresherThreshold+r.refresherThresholdUpdateTag}px`,background:r.refresherBackground,opacity:r.isTouchmoving?1:0}])},{default:i((()=>[o(S,{class:"zp-custom-refresher-container",style:s([{height:`${r.finalRefresherThreshold}px`,background:r.refresherBackground}])},{default:i((()=>[r.useRefresherStatusBarPlaceholder?(e(),t(S,{key:0,class:"zp-custom-refresher-status-bar-placeholder",style:s([{height:`${r.statusBarHeight}px`}])},null,8,["style"])):h("",!0),o(S,{class:"zp-custom-refresher-slot-view"},{default:i((()=>[r.zSlots.refresherComplete&&r.refresherStatus===r.R.Complete||r.zSlots.refresherF2&&r.refresherStatus===r.R.GoF2?h("",!0):z(r.$slots,"refresher",{key:0,refresherStatus:r.refresherStatus},void 0,!0)])),_:3}),r.zSlots.refresherComplete&&r.refresherStatus===r.R.Complete?z(r.$slots,"refresherComplete",{key:1},void 0,!0):r.zSlots.refresherF2&&r.refresherStatus===r.R.GoF2?z(r.$slots,"refresherF2",{key:2},void 0,!0):r.showCustomRefresher?h("",!0):(e(),t(w,{key:3,ref:"refresh",class:"zp-custom-refresher-refresh",style:s([{height:r.finalRefresherThreshold-r.finalRefresherThresholdPlaceholder+"px"}]),status:r.refresherStatus,defaultThemeStyle:r.finalRefresherThemeStyle,defaultText:r.finalRefresherDefaultText,pullingText:r.finalRefresherPullingText,refreshingText:r.finalRefresherRefreshingText,completeText:r.finalRefresherCompleteText,goF2Text:r.finalRefresherGoF2Text,defaultImg:r.refresherDefaultImg,pullingImg:r.refresherPullingImg,refreshingImg:r.refresherRefreshingImg,completeImg:r.refresherCompleteImg,refreshingAnimated:r.refresherRefreshingAnimated,showUpdateTime:r.showRefresherUpdateTime,updateTimeKey:r.refresherUpdateTimeKey,updateTimeTextMap:r.finalRefresherUpdateTimeTextMap,imgStyle:r.refresherImgStyle,titleStyle:r.refresherTitleStyle,updateTimeStyle:r.refresherUpdateTimeStyle,unit:r.unit},null,8,["style","status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","goF2Text","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","updateTimeTextMap","imgStyle","titleStyle","updateTimeStyle","unit"]))])),_:3},8,["style"])])),_:3},8,["style"])):h("",!0),o(S,{class:"zp-paging-container",style:s([{justifyContent:r.useChatRecordMode?"flex-end":"flex-start"}])},{default:i((()=>[r.showLoading&&r.zSlots.loading&&!r.loadingFullFixed?z(r.$slots,"loading",{key:0},void 0,!0):h("",!0),o(S,{class:"zp-paging-container-content",style:s([{transform:r.virtualPlaceholderTopHeight>0?`translateY(${r.virtualPlaceholderTopHeight}px)`:"none"},r.finalPagingContentStyle])},{default:i((()=>[z(r.$slots,"default",{},void 0,!0),r.finalUseInnerList?(e(),y(T,{key:0},[z(r.$slots,"header",{},void 0,!0),o(S,{class:"zp-list-container",style:s([r.innerListStyle])},{default:i((()=>[r.finalUseVirtualList?(e(!0),y(T,{key:0},N(r.virtualList,((o,a)=>(e(),t(S,{class:"zp-list-cell",style:s([r.innerCellStyle]),id:`zp-id-${o[r.virtualCellIndexKey]}`,key:o.zp_unique_index,onClick:e=>r._innerCellClick(o,r.virtualTopRangeIndex+a)},{default:i((()=>[r.useCompatibilityMode?(e(),t(S,{key:0},{default:i((()=>[l("使用兼容模式请在组件源码z-paging.vue第99行中注释这一行,并打开下面一行注释")])),_:1})):z(r.$slots,"cell",{key:1,item:o,index:r.virtualTopRangeIndex+a},void 0,!0)])),_:2},1032,["style","id","onClick"])))),128)):(e(!0),y(T,{key:1},N(r.realTotalData,((o,a)=>(e(),t(S,{class:"zp-list-cell",key:a,onClick:e=>r._innerCellClick(o,a)},{default:i((()=>[z(r.$slots,"cell",{item:o,index:a},void 0,!0)])),_:2},1032,["onClick"])))),128))])),_:3},8,["style"]),z(r.$slots,"footer",{},void 0,!0)],64)):h("",!0),r.useChatRecordMode&&r.realTotalData.length>=r.defaultPageSize&&(r.loadingStatus!==r.M.NoMore||r.zSlots.chatNoMore)&&(r.realTotalData.length||r.showChatLoadingWhenReload&&r.showLoading)&&!r.isFirstPageAndNoMore?(e(),t(S,{key:1,style:s([r.chatRecordRotateStyle])},{default:i((()=>[r.loadingStatus===r.M.NoMore&&r.zSlots.chatNoMore?z(r.$slots,"chatNoMore",{key:0},void 0,!0):(e(),y(T,{key:1},[r.zSlots.chatLoading?z(r.$slots,"chatLoading",{key:0,loadingMoreStatus:r.loadingStatus},void 0,!0):(e(),t(R,{key:1,onDoClick:c[2]||(c[2]=e=>r._onLoadingMore("click")),zConfig:r.zLoadMoreConfig},null,8,["zConfig"]))],64))])),_:3},8,["style"])):h("",!0),r.useVirtualList?(e(),t(S,{key:2,class:"zp-virtual-placeholder",style:s([{height:r.virtualPlaceholderBottomHeight+"px"}])},null,8,["style"])):h("",!0),r.showLoadingMoreDefault?z(r.$slots,"loadingMoreDefault",{key:3},void 0,!0):r.showLoadingMoreLoading?z(r.$slots,"loadingMoreLoading",{key:4},void 0,!0):r.showLoadingMoreNoMore?z(r.$slots,"loadingMoreNoMore",{key:5},void 0,!0):r.showLoadingMoreFail?z(r.$slots,"loadingMoreFail",{key:6},void 0,!0):r.showLoadingMoreCustom?(e(),t(R,{key:7,onDoClick:c[3]||(c[3]=e=>r._onLoadingMore("click")),zConfig:r.zLoadMoreConfig},null,8,["zConfig"])):h("",!0),r.safeAreaInsetBottom&&r.useSafeAreaPlaceholder&&!r.useChatRecordMode?(e(),t(S,{key:8,class:"zp-safe-area-placeholder",style:s([{height:r.safeAreaBottom+"px"}])},null,8,["style"])):h("",!0)])),_:3},8,["style"]),r.showEmpty?(e(),t(S,{key:1,class:a({"zp-empty-view":!0,"zp-empty-view-center":r.emptyViewCenter}),style:s([r.emptyViewSuperStyle,r.chatRecordRotateStyle])},{default:i((()=>[r.zSlots.empty?z(r.$slots,"empty",{key:0,isLoadFailed:r.isLoadFailed},void 0,!0):(e(),t(M,{key:1,emptyViewImg:r.finalEmptyViewImg,emptyViewText:r.finalEmptyViewText,showEmptyViewReload:r.finalShowEmptyViewReload,emptyViewReloadText:r.finalEmptyViewReloadText,isLoadFailed:r.isLoadFailed,emptyViewStyle:r.emptyViewStyle,emptyViewTitleStyle:r.emptyViewTitleStyle,emptyViewImgStyle:r.emptyViewImgStyle,emptyViewReloadStyle:r.emptyViewReloadStyle,emptyViewZIndex:r.emptyViewZIndex,emptyViewFixed:r.emptyViewFixed,unit:r.unit,onReload:r._emptyViewReload,onViewClick:r._emptyViewClick},null,8,["emptyViewImg","emptyViewText","showEmptyViewReload","emptyViewReloadText","isLoadFailed","emptyViewStyle","emptyViewTitleStyle","emptyViewImgStyle","emptyViewReloadStyle","emptyViewZIndex","emptyViewFixed","unit","onReload","onViewClick"]))])),_:3},8,["class","style"])):h("",!0)])),_:3},8,["style"])])),_:3},8,["style","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"])])),_:3},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel","onMousedown","onMousemove","onMouseup","onMouseleave"])])),_:3},8,["class","style","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","onScroll","onScrolltolower","onScrolltoupper","onRefresherrestore"])])),_:3},8,["class","style"]),r.zSlots.right?(e(),t(S,{key:1,class:a({"zp-page-right":!0,"zp-absoulte zp-right":r.finalIsOldWebView})},{default:i((()=>[z(r.$slots,"right",{},void 0,!0)])),_:3},8,["class"])):h("",!0)])),_:3},8,["class","style"]),o(S,{class:"zp-page-bottom-container",style:s({background:r.bottomBgColor})},{default:i((()=>[!r.usePageScroll&&r.zSlots.bottom?z(r.$slots,"bottom",{key:0},void 0,!0):r.usePageScroll&&r.zSlots.bottom?(e(),t(S,{key:1,class:"zp-page-bottom",onTouchmove:c[5]||(c[5]=n((()=>{}),["stop","prevent"])),style:s([{bottom:`${r.windowBottom}px`}])},{default:i((()=>[z(r.$slots,"bottom",{},void 0,!0)])),_:3},8,["style"])):h("",!0),r.useChatRecordMode&&r.autoAdjustPositionWhenChat?(e(),y(T,{key:2},[o(S,{style:s([{height:r.chatRecordModeSafeAreaBottom+"px"}])},null,8,["style"]),o(S,{class:"zp-page-bottom-keyboard-placeholder-animate",style:s([{height:r.keyboardHeight+"px"}])},null,8,["style"])],64)):h("",!0)])),_:3},8,["style"]),r.showBackToTopClass?(e(),t(S,{key:4,class:a(r.finalBackToTopClass),style:s([r.finalBackToTopStyle]),onClick:n(r._backToTopClick,["stop"])},{default:i((()=>[r.zSlots.backToTop?z(r.$slots,"backToTop",{key:0},void 0,!0):(e(),t(C,{key:1,class:"zp-back-to-top-img",src:r.backToTopImg.length?r.backToTopImg:r.base64BackToTop},null,8,["src"]))])),_:3},8,["class","style","onClick"])):h("",!0),r.showLoading&&r.zSlots.loading&&r.loadingFullFixed?(e(),t(S,{key:5,class:"zp-loading-fixed"},{default:i((()=>[z(r.$slots,"loading",{},void 0,!0)])),_:3})):h("",!0)])),_:3},8,["class","style"])}],["__scopeId","data-v-59d3f6a1"]]),Zt={TEXT:1,IMAGE:2,VOICE:3,VIDEO:4,SYSTEM:5,PRODUCT:10,ORDER:11},jt={MEMBER:1,ADMIN:2},Ot="kefu_message_type",Ut="kefu_message_read_status_change",_t=[{name:"[笑掉牙]",file:"xiaodiaoya.png"},{name:"[可爱]",file:"keai.png"},{name:"[冷酷]",file:"lengku.png"},{name:"[闭嘴]",file:"bizui.png"},{name:"[生气]",file:"shengqi.png"},{name:"[惊恐]",file:"jingkong.png"},{name:"[瞌睡]",file:"keshui.png"},{name:"[大笑]",file:"daxiao.png"},{name:"[爱心]",file:"aixin.png"},{name:"[坏笑]",file:"huaixiao.png"},{name:"[飞吻]",file:"feiwen.png"},{name:"[疑问]",file:"yiwen.png"},{name:"[开心]",file:"kaixin.png"},{name:"[发呆]",file:"fadai.png"},{name:"[流泪]",file:"liulei.png"},{name:"[汗颜]",file:"hanyan.png"},{name:"[惊悚]",file:"jingshu.png"},{name:"[困~]",file:"kun.png"},{name:"[心碎]",file:"xinsui.png"},{name:"[天使]",file:"tianshi.png"},{name:"[晕]",file:"yun.png"},{name:"[啊]",file:"a.png"},{name:"[愤怒]",file:"fennu.png"},{name:"[睡着]",file:"shuizhuo.png"},{name:"[面无表情]",file:"mianwubiaoqing.png"},{name:"[难过]",file:"nanguo.png"},{name:"[犯困]",file:"fankun.png"},{name:"[好吃]",file:"haochi.png"},{name:"[呕吐]",file:"outu.png"},{name:"[龇牙]",file:"ziya.png"},{name:"[懵比]",file:"mengbi.png"},{name:"[白眼]",file:"baiyan.png"},{name:"[饿死]",file:"esi.png"},{name:"[凶]",file:"xiong.png"},{name:"[感冒]",file:"ganmao.png"},{name:"[流汗]",file:"liuhan.png"},{name:"[笑哭]",file:"xiaoku.png"},{name:"[流口水]",file:"liukoushui.png"},{name:"[尴尬]",file:"ganga.png"},{name:"[惊讶]",file:"jingya.png"},{name:"[大惊]",file:"dajing.png"},{name:"[不好意思]",file:"buhaoyisi.png"},{name:"[大闹]",file:"danao.png"},{name:"[不可思议]",file:"bukesiyi.png"},{name:"[爱你]",file:"aini.png"},{name:"[红心]",file:"hongxin.png"},{name:"[点赞]",file:"dianzan.png"},{name:"[恶魔]",file:"emo.png"}];let Gt={};_t.forEach(((e,t)=>{Gt[Math.floor(t/30)+1]||(Gt[Math.floor(t/30)+1]=[]),Gt[Math.floor(t/30)+1].push(e)}));const Yt={__name:"goods",props:{goodsData:{type:Object,default:{}}},setup:i=>(o,a)=>{const s=k(V("s-goods-item"),pe);return e(),t(s,{title:i.goodsData.spuName,img:i.goodsData.picUrl,price:i.goodsData.price,skuText:i.goodsData.introduction,priceColor:"#FF3000",titleWidth:400},null,8,["title","img","price","skuText"])}},Qt=ne({__name:"order",props:{orderData:{type:Object,default:{}}},setup:s=>(n,h)=>{const d=u,c=k(V("s-goods-item"),pe);return e(),t(d,{class:"bg-white order-list-card-box ss-r-10 ss-m-t-14 ss-m-20",key:s.orderData.id},{default:i((()=>[o(d,{class:"order-card-header ss-flex ss-col-center ss-row-between ss-p-x-20"},{default:i((()=>[o(d,{class:"order-no"},{default:i((()=>[l("订单号:"+r(s.orderData.no),1)])),_:1}),o(d,{class:a(["order-state ss-font-26",B(me)(s.orderData)])},{default:i((()=>[l(r(B(fe)(s.orderData)),1)])),_:1},8,["class"])])),_:1}),(e(!0),y(T,null,N(s.orderData.items,(a=>(e(),t(d,{class:"border-bottom",key:a.id},{default:i((()=>[o(c,{img:a.picUrl,title:a.spuName,skuText:a.properties.map((e=>e.valueName)).join(" "),price:a.price,num:a.count},null,8,["img","title","skuText","price","num"])])),_:2},1024)))),128)),o(d,{class:"pay-box ss-m-t-30 ss-flex ss-row-right ss-p-r-20"},{default:i((()=>[o(d,{class:"ss-flex ss-col-center"},{default:i((()=>[o(d,{class:"discounts-title pay-color"},{default:i((()=>[l("共 "+r(s.orderData.productCount)+" 件产品,总金额:",1)])),_:1}),o(d,{class:"discounts-money pay-color"},{default:i((()=>[l(" ¥"+r(B(ye)(s.orderData.payPrice)),1)])),_:1})])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-2f1f91a0"]]),Jt=ne({__name:"messageListItem",props:{message:{type:Object,default:()=>({})},messageIndex:{type:Number,default:0},messageList:{type:Array,default:()=>[]}},setup(s){const n=s,c=E((()=>e=>ce(e.content))),g=E((()=>F.$store("user").userInfo)),p=E((()=>(e,t)=>{if(B(n.messageList)[t+1]){return H(B(n.messageList)[t+1].createTime).fromNow()!==H(B(e).createTime).fromNow()}return!1}));function m(e){let t=e;if("object"!=typeof t){let e=/\[(.+?)]/g,i=t.match(e);i&&i.forEach((e=>{let i=function(e){for(let t in _t)if(_t[t].name===e)return _t[t].file;return!1}(e);t=t.replace(e,``)}))}return t}return(n,f)=>{const T=u,S=d,w=k(V("mp-html"),he),R=k(V("su-image"),de);return e(),t(T,{class:"chat-box"},{default:i((()=>[o(T,{class:"message-item ss-flex-col scroll-item"},{default:i((()=>[o(T,{class:"ss-flex ss-row-center ss-col-center"},{default:i((()=>[s.message.contentType!==B(Zt).SYSTEM&&p.value(s.message,s.messageIndex)?(e(),t(T,{key:0,class:"date-message"},{default:i((()=>[l(r(B(ue)(s.message.createTime)),1)])),_:1})):h("",!0),s.message.contentType===B(Zt).SYSTEM?(e(),t(T,{key:1,class:"system-message"},{default:i((()=>[l(r(s.message.content),1)])),_:1})):h("",!0)])),_:1}),s.message.contentType!==B(Zt).SYSTEM?(e(),t(T,{key:0,class:a(["ss-flex ss-col-top",[s.message.senderType===B(jt).ADMIN?"ss-row-left":s.message.senderType===B(jt).MEMBER?"ss-row-right":""]])},{default:i((()=>[W(o(S,{class:"chat-avatar ss-m-r-24",src:B(F).$url.cdn(s.message.senderAvatar)||B(F).$url.static("/static/img/shop/chat/default.png"),mode:"aspectFill"},null,8,["src"]),[[Z,s.message.senderType===B(jt).ADMIN]]),s.message.contentType===B(Zt).TEXT?(e(),t(T,{key:0,class:a(["message-box",{admin:s.message.senderType===B(jt).ADMIN}])},{default:i((()=>[o(w,{content:m(c.value(s.message).text||s.message.content)},null,8,["content"])])),_:1},8,["class"])):h("",!0),s.message.contentType===B(Zt).IMAGE?(e(),t(T,{key:1,class:a(["message-box",{admin:s.message.senderType===B(jt).ADMIN}]),style:{width:"200rpx"}},{default:i((()=>[o(R,{class:"message-img",isPreview:"",previewList:[B(F).$url.cdn(c.value(s.message).picUrl||s.message.content)],current:0,src:B(F).$url.cdn(c.value(s.message).picUrl||s.message.content),height:200,width:200,mode:"aspectFill"},null,8,["previewList","src"])])),_:1},8,["class"])):h("",!0),s.message.contentType===B(Zt).PRODUCT?(e(),y("div",{key:2,class:"ss-m-b-10"},[o(Yt,{goodsData:c.value(s.message),onClick:f[0]||(f[0]=e=>B(F).$router.go("/pages/goods/index",{id:c.value(s.message).spuId}))},null,8,["goodsData"])])):h("",!0),s.message.contentType===B(Zt).ORDER?(e(),t(Qt,{key:3,orderData:c.value(s.message),onClick:f[1]||(f[1]=e=>B(F).$router.go("/pages/order/detail",{id:c.value(s.message).id}))},null,8,["orderData"])):h("",!0),s.message.senderType===B(jt).MEMBER?(e(),t(S,{key:4,class:"chat-avatar ss-m-l-24",src:B(F).$url.cdn(g.value.avatar)||B(F).$url.static("/static/img/shop/chat/default.png"),mode:"aspectFill"},null,8,["src"])):h("",!0)])),_:1},8,["class"])):h("",!0)])),_:1})])),_:1})}}},[["__scopeId","data-v-b7392727"]]),Kt=e=>j({url:"/promotion/kefu-message/send",method:"POST",data:e,custom:{auth:!0,showLoading:!0,loadingMsg:"发送中",showSuccess:!0,successMsg:"发送成功"}}),Xt=e=>j({url:"/promotion/kefu-message/list",method:"GET",params:e,custom:{auth:!0,showLoading:!1}}),$t={__name:"messageList",setup(a,{expose:r}){const n=F.$platform.navbar,h=O([]),d=O(!1),g=O(!1),p=U({width:"100px","background-color":"#fff","border-radius":"30px","box-shadow":"0 2px 4px rgba(0, 0, 0, 0.1)",display:"flex",justifyContent:"center",alignItems:"center"}),m=U({no:1,limit:20,createTime:void 0}),f=O(null),y=async(e,t)=>{m.no=e,m.limit=t,await T()},T=async()=>{const{data:e}=await Xt(m);if(_(e))f.value.completeByNoMore([],!0);else{if(m.no>1&&g.value){const t=[];for(const i of e)h.value.some((e=>e.id===i.id))||t.push(i);return h.value=[...t,...h.value],f.value.updateCache(),void(g.value=!1)}e.slice(-1).length>0&&(m.createTime=ue(e.slice(-1)[0].createTime)),f.value.completeByNoMore(e,!1)}},S=e=>{e(!1),f.value.scrollToBottom()},w=()=>{1!==m.no&&(d.value=!1)};return r({getMessageList:T,refreshMessageList:async e=>{void 0!==e?f.value.addChatRecordData([e],!1):(m.createTime=void 0,g.value=!0,await T()),m.no>1?d.value=!0:w()}}),(a,r)=>{const g=u,m=c,T=k(V("z-paging"),Wt);return e(),t(T,{ref_key:"pagingRef",ref:f,modelValue:h.value,"onUpdate:modelValue":r[0]||(r[0]=e=>h.value=e),"use-chat-record-mode":"","use-virtual-list":"","cell-height-mode":"dynamic","default-page-size":"20","auto-clean-list-when-reload":!1,"safe-area-inset-bottom":"","bottom-bg-color":"#f8f8f8","back-to-top-style":p,"auto-show-back-to-top":d.value,onBackToTopClick:S,onScrolltoupper:w,onQuery:y},{top:i((()=>[o(g,{style:s({height:B(n)+"px"})},null,8,["style"])])),cell:i((({item:e,index:t})=>[o(g,{style:{transform:"scaleY(-1)"}},{default:i((()=>[o(Jt,{message:e,"message-index":t,"message-list":h.value},null,8,["message","message-index","message-list"])])),_:2},1024)])),bottom:i((()=>[z(a.$slots,"bottom")])),backToTop:i((()=>[o(m,null,{default:i((()=>[l("有新消息")])),_:1})])),_:3},8,["modelValue","back-to-top-style","auto-show-back-to-top"])}}},qt=ne({__name:"toolsPopup",props:{toolsMode:{type:String,default:""},showTools:{type:Boolean,default:()=>!1}},emits:["onEmoji","imageSelect","onShowSelect","close"],setup(a,{emit:s}){const r=s;function n(){r("close")}function h(e){r("onShowSelect",e)}return(s,c)=>{const g=d,p=u,m=G,f=Y,S=k(V("s-uploader"),Te),w=k(V("su-popup"),ae);return e(),t(w,{show:a.showTools,onClose:n},{default:i((()=>[o(p,{class:"ss-modal-box ss-flex-col"},{default:i((()=>[z(s.$slots,"default",{},void 0,!0),o(p,{class:"content ss-flex ss-flex-1"},{default:i((()=>["emoji"===a.toolsMode?(e(),t(f,{key:0,class:"emoji-swiper","indicator-dots":!0,circular:"","indicator-active-color":"#7063D2","indicator-color":"rgba(235, 231, 255, 1)",autoplay:!1,interval:3e3,duration:1e3},{default:i((()=>[(e(!0),y(T,null,N(B(Gt),(a=>(e(),t(m,{key:a},{default:i((()=>[o(p,{class:"ss-flex ss-flex-wrap"},{default:i((()=>[(e(!0),y(T,null,N(a,(i=>(e(),t(g,{key:i,class:"emoji-img",src:B(F).$url.cdn(`/static/img/chat/emoji/${i.file}`),onClick:e=>function(e){r("onEmoji",e)}(i)},null,8,["src","onClick"])))),128))])),_:2},1024)])),_:2},1024)))),128))])),_:1})):(e(),y(T,{key:1},[o(p,{class:"image"},{default:i((()=>[o(S,{"file-mediatype":"image",imageStyles:{width:50,height:50,border:!1},onSelect:c[0]||(c[0]=e=>{r("imageSelect",{type:"image",data:e})})},{default:i((()=>[o(g,{class:"icon",src:B(F).$url.static("/static/img/shop/chat/image.png"),mode:"aspectFill"},null,8,["src"])])),_:1}),o(p,null,{default:i((()=>[l("图片")])),_:1})])),_:1}),o(p,{class:"goods",onClick:c[1]||(c[1]=e=>h("goods"))},{default:i((()=>[o(g,{class:"icon",src:B(F).$url.static("/static/img/shop/chat/goods.png"),mode:"aspectFill"},null,8,["src"]),o(p,null,{default:i((()=>[l("产品")])),_:1})])),_:1}),o(p,{class:"order",onClick:c[2]||(c[2]=e=>h("order"))},{default:i((()=>[o(g,{class:"icon",src:B(F).$url.static("/static/img/shop/chat/order.png"),mode:"aspectFill"},null,8,["src"]),o(p,null,{default:i((()=>[l("订单")])),_:1})])),_:1})],64))])),_:1})])),_:3})])),_:3},8,["show"])}}},[["__scopeId","data-v-b86d6804"]]),ei=ne({__name:"messageInput",props:{modelValue:{type:String,default:""},toolsMode:{type:String,default:""}},emits:["update:modelValue","onTools","sendMessage"],setup(s,{emit:r}){const d=s,g=r,p=E({get:()=>d.modelValue,set(e){g("update:modelValue",e)}});function m(e){g("onTools",e)}function f(){g("sendMessage")}return(r,d)=>{const g=k(V("uni-easyinput"),se),y=u,T=c,S=Q;return e(),t(y,{class:"send-wrap ss-flex"},{default:i((()=>[o(y,{class:"left ss-flex ss-flex-1"},{default:i((()=>[o(g,{class:"ss-flex-1 ss-p-l-22",inputBorder:!1,clearable:!1,modelValue:p.value,"onUpdate:modelValue":d[0]||(d[0]=e=>p.value=e),placeholder:"请输入你要咨询的问题"},null,8,["modelValue"])])),_:1}),o(T,{class:"sicon-basic bq",onClick:d[1]||(d[1]=n((e=>m("emoji")),["stop"]))}),p.value?h("",!0):(e(),t(T,{key:0,class:a(["sicon-edit",{"is-active":"tools"===s.toolsMode}]),onClick:d[2]||(d[2]=n((e=>m("tools")),["stop"]))},null,8,["class"])),p.value?(e(),t(S,{key:1,class:"ss-reset-button send-btn",onClick:f},{default:i((()=>[l(" 发送 ")])),_:1})):h("",!0)])),_:1})}}},[["__scopeId","data-v-82ed4e2d"]]),ti=ne({__name:"select-popup",props:{mode:{type:String,default:"goods"},show:{type:Boolean,default:!1}},emits:["select","close"],setup(a,{emit:s}){const l=s,n=a;J((()=>n.mode),(()=>{d.pagination.data=[],n.mode&&c(d.pagination.page)}));const d=U({loadStatus:"",pagination:{data:[],current_page:1,total:1,last_page:1}});async function c(e,t=5){d.loadStatus="loading";const i="goods"==n.mode?await we.getBrowseHistoryPage({page:e,list_rows:t}):await K.getOrderPage({page:e,list_rows:t});let o=Re.concat(d.pagination.data,i.data.list);d.pagination={...i.data,data:o},d.pagination.current_page{const c=u,p=k(V("uni-load-more"),Se),m=P,f=k(V("su-popup"),ae);return e(),t(f,{show:a.show,showClose:"",round:"10",backgroundColor:"#eee",onClose:n[0]||(n[0]=e=>l("close"))},{default:i((()=>[o(c,{class:"select-popup"},{default:i((()=>[o(c,{class:"title"},{default:i((()=>[X("span",null,r("goods"==a.mode?"我的浏览":"我的订单"),1)])),_:1}),o(m,{class:"scroll-box","scroll-y":"true","scroll-with-animation":!0,"show-scrollbar":!1,onScrolltolower:g},{default:i((()=>[(e(!0),y(T,null,N(d.pagination.data,(o=>(e(),t(c,{class:"item",key:o.id,onClick:e=>l("select",{type:a.mode,data:o})},{default:i((()=>["goods"==a.mode?(e(),t(Yt,{key:0,goodsData:o},null,8,["goodsData"])):h("",!0),"order"==a.mode?(e(),t(Qt,{key:1,orderData:o},null,8,["orderData"])):h("",!0)])),_:2},1032,["onClick"])))),128)),o(p,{status:d.loadStatus,"content-text":{contentdown:"上拉加载更多"}},null,8,["status"])])),_:1})])),_:1})])),_:1},8,["show"])}}},[["__scopeId","data-v-4da142ee"]]);function ii(e){const t=U({url:($+q).replace("http","ws")+"?token="+ee(),isReconnecting:!1,reconnectInterval:3e3,heartBeatInterval:5e3,pingTimeoutDuration:1e3,heartBeatTimer:null,destroy:!1,pingTimeout:null,reconnectTimeout:null,onConnected:()=>{},onClosed:()=>{},onMessage:e=>{}}),i=O(null),o=()=>{t.heartBeatTimer=setInterval((()=>{var e;e="ping",i.value&&!t.destroy&&i.value.send({data:e}),t.pingTimeout=setTimeout((()=>{s()}),t.pingTimeoutDuration)}),t.heartBeatInterval)},a=()=>{clearInterval(t.heartBeatTimer),l()},s=()=>{!t.destroy&&i.value&&(t.isReconnecting=!0,t.reconnectTimeout&&clearTimeout(t.reconnectTimeout),t.reconnectTimeout=setTimeout((()=>{t.destroy||(t.isReconnecting=!1,r())}),t.reconnectInterval))},l=()=>{t.pingTimeout&&(clearTimeout(t.pingTimeout),t.pingTimeout=null)},r=()=>{t.destroy=!1,ge(t,e),i.value=ie({url:t.url,complete:()=>{},success:()=>{}}),i.value.onOpen((()=>{console.log("WebSocket 连接成功"),t.onConnected(),o()})),i.value.onMessage((e=>{try{"pong"===e.data?l():t.onMessage(JSON.parse(e.data))}catch(i){console.error(i)}})),i.value.onClose((e=>{t.destroy?t.onClosed():(a(),s())}))};return r(),te((()=>{t.destroy=!0,a(),t.reconnectTimeout&&clearTimeout(t.reconnectTimeout),i.value&&(i.value.close(),i.value=null)})),{options:t}}const oi=ne({__name:"index",setup(a){const l=F.$platform.navbar,r=U({msg:"",scrollInto:"",showTools:!1,toolsMode:"",showSelect:!1,selectMode:""});async function n(){if(r.msg)try{const e={contentType:Zt.TEXT,content:JSON.stringify({text:r.msg})};await Kt(e),await h.value.refreshMessageList(),r.msg=""}finally{r.showTools=!1}}const h=O();function d(){r.showTools=!1,r.toolsMode=""}function c(e){r.msg+=e.name}function g(e){y.value?F.$helper.toast("您已掉线!请返回重试"):(r.toolsMode&&r.toolsMode!==e||(r.showTools=!r.showTools),r.toolsMode=e,r.showTools||(r.toolsMode=""))}function p(e){r.showTools=!1,r.showSelect=!0,r.selectMode=e}async function m({type:e,data:t}){let i;switch(e){case"image":const e=await re.uploadFile(t.tempFiles[0].path);i={contentType:Zt.IMAGE,content:JSON.stringify({picUrl:e.data})};break;case"goods":i={contentType:Zt.PRODUCT,content:JSON.stringify(t)};break;case"order":i={contentType:Zt.ORDER,content:JSON.stringify(t)}}i&&(await Kt(i),await h.value.refreshMessageList(),r.showTools=!1,r.showSelect=!1,r.selectMode="")}const{options:f}=ii({onConnected:async()=>{},onMessage:async e=>{const t=e.type;t?t!==Ot?t===Ut&&console.log("管理员已读消息"):await h.value.refreshMessageList(ce(e.content)):console.error("未知的消息类型:"+e)}}),y=oe(f).isReconnecting;return(a,f)=>{const T=u,S=k(V("s-layout"),le);return e(),t(S,{class:"chat-wrap",title:B(y)?"会话重连中":"连接客服成功",navbar:"inner"},{default:i((()=>[o(T,{class:"page-bg",style:s({height:B(l)+"px"})},null,8,["style"]),o($t,{ref_key:"messageListRef",ref:h},{bottom:i((()=>[o(ei,{modelValue:r.msg,"onUpdate:modelValue":f[0]||(f[0]=e=>r.msg=e),onOnTools:g,onSendMessage:n},null,8,["modelValue"])])),_:1},512),o(qt,{"show-tools":r.showTools,"tools-mode":r.toolsMode,onClose:d,onOnEmoji:c,onImageSelect:m,onOnShowSelect:p},{default:i((()=>[o(ei,{modelValue:r.msg,"onUpdate:modelValue":f[1]||(f[1]=e=>r.msg=e),onOnTools:g,onSendMessage:n},null,8,["modelValue"])])),_:1},8,["show-tools","tools-mode"]),o(ti,{mode:r.selectMode,show:r.showSelect,onSelect:m,onClose:f[2]||(f[2]=e=>r.showSelect=!1)},null,8,["mode","show"])])),_:1},8,["title"])}}},[["__scopeId","data-v-059fabd6"]]);export{oi as default};