From ff1f7e9f8bdbca57ea8bf2fb63d6163bcce3b569 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Tue, 3 Nov 2026 10:32:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E9=A6=96=E9=A1=B5=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/__UNI__89F511F/www/app-service.js | 4 +- .../java/cn/shangyu/gdxzExpert/utils/Url.java | 114 +++++++++--------- 2 files changed, 59 insertions(+), 59 deletions(-) diff --git a/app/src/main/assets/apps/__UNI__89F511F/www/app-service.js b/app/src/main/assets/apps/__UNI__89F511F/www/app-service.js index 5188411..f7d48d2 100644 --- a/app/src/main/assets/apps/__UNI__89F511F/www/app-service.js +++ b/app/src/main/assets/apps/__UNI__89F511F/www/app-service.js @@ -1,4 +1,4 @@ -if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(n){const x=this.constructor;return this.then((e=>x.resolve(n()).then((()=>e))),(e=>x.resolve(n()).then((()=>{throw e}))))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(n){"use strict";function x(n,x,...e){uni.__log__?uni.__log__(n,x,...e):console[n].apply(console,[...e,x])}function e(n,x){return"string"==typeof n?x:n}const t=(x,e=0)=>(e,t=n.getCurrentInstance())=>{!n.isInSSRComponentSetup&&n.injectHook(x,e,t)},i=t("onShow",3),l=t("onHide",3),o=t("onLoad",2),a=t("onReady",2),s=t("onUnload",2),r=t("onBackPress",2),c=t("onPageScroll",2),u=[{font_class:"arrow-down",unicode:""},{font_class:"arrow-left",unicode:""},{font_class:"arrow-right",unicode:""},{font_class:"arrow-up",unicode:""},{font_class:"auth",unicode:""},{font_class:"auth-filled",unicode:""},{font_class:"back",unicode:""},{font_class:"bars",unicode:""},{font_class:"calendar",unicode:""},{font_class:"calendar-filled",unicode:""},{font_class:"camera",unicode:""},{font_class:"camera-filled",unicode:""},{font_class:"cart",unicode:""},{font_class:"cart-filled",unicode:""},{font_class:"chat",unicode:""},{font_class:"chat-filled",unicode:""},{font_class:"chatboxes",unicode:""},{font_class:"chatboxes-filled",unicode:""},{font_class:"chatbubble",unicode:""},{font_class:"chatbubble-filled",unicode:""},{font_class:"checkbox",unicode:""},{font_class:"checkbox-filled",unicode:""},{font_class:"checkmarkempty",unicode:""},{font_class:"circle",unicode:""},{font_class:"circle-filled",unicode:""},{font_class:"clear",unicode:""},{font_class:"close",unicode:""},{font_class:"closeempty",unicode:""},{font_class:"cloud-download",unicode:""},{font_class:"cloud-download-filled",unicode:""},{font_class:"cloud-upload",unicode:""},{font_class:"cloud-upload-filled",unicode:""},{font_class:"color",unicode:""},{font_class:"color-filled",unicode:""},{font_class:"compose",unicode:""},{font_class:"contact",unicode:""},{font_class:"contact-filled",unicode:""},{font_class:"down",unicode:""},{font_class:"bottom",unicode:""},{font_class:"download",unicode:""},{font_class:"download-filled",unicode:""},{font_class:"email",unicode:""},{font_class:"email-filled",unicode:""},{font_class:"eye",unicode:""},{font_class:"eye-filled",unicode:""},{font_class:"eye-slash",unicode:""},{font_class:"eye-slash-filled",unicode:""},{font_class:"fire",unicode:""},{font_class:"fire-filled",unicode:""},{font_class:"flag",unicode:""},{font_class:"flag-filled",unicode:""},{font_class:"folder-add",unicode:""},{font_class:"folder-add-filled",unicode:""},{font_class:"font",unicode:""},{font_class:"forward",unicode:""},{font_class:"gear",unicode:""},{font_class:"gear-filled",unicode:""},{font_class:"gift",unicode:""},{font_class:"gift-filled",unicode:""},{font_class:"hand-down",unicode:""},{font_class:"hand-down-filled",unicode:""},{font_class:"hand-up",unicode:""},{font_class:"hand-up-filled",unicode:""},{font_class:"headphones",unicode:""},{font_class:"heart",unicode:""},{font_class:"heart-filled",unicode:""},{font_class:"help",unicode:""},{font_class:"help-filled",unicode:""},{font_class:"home",unicode:""},{font_class:"home-filled",unicode:""},{font_class:"image",unicode:""},{font_class:"image-filled",unicode:""},{font_class:"images",unicode:""},{font_class:"images-filled",unicode:""},{font_class:"info",unicode:""},{font_class:"info-filled",unicode:""},{font_class:"left",unicode:""},{font_class:"link",unicode:""},{font_class:"list",unicode:""},{font_class:"location",unicode:""},{font_class:"location-filled",unicode:""},{font_class:"locked",unicode:""},{font_class:"locked-filled",unicode:""},{font_class:"loop",unicode:""},{font_class:"mail-open",unicode:""},{font_class:"mail-open-filled",unicode:""},{font_class:"map",unicode:""},{font_class:"map-filled",unicode:""},{font_class:"map-pin",unicode:""},{font_class:"map-pin-ellipse",unicode:""},{font_class:"medal",unicode:""},{font_class:"medal-filled",unicode:""},{font_class:"mic",unicode:""},{font_class:"mic-filled",unicode:""},{font_class:"micoff",unicode:""},{font_class:"micoff-filled",unicode:""},{font_class:"minus",unicode:""},{font_class:"minus-filled",unicode:""},{font_class:"more",unicode:""},{font_class:"more-filled",unicode:""},{font_class:"navigate",unicode:""},{font_class:"navigate-filled",unicode:""},{font_class:"notification",unicode:""},{font_class:"notification-filled",unicode:""},{font_class:"paperclip",unicode:""},{font_class:"paperplane",unicode:""},{font_class:"paperplane-filled",unicode:""},{font_class:"person",unicode:""},{font_class:"person-filled",unicode:""},{font_class:"personadd",unicode:""},{font_class:"personadd-filled",unicode:""},{font_class:"personadd-filled-copy",unicode:""},{font_class:"phone",unicode:""},{font_class:"phone-filled",unicode:""},{font_class:"plus",unicode:""},{font_class:"plus-filled",unicode:""},{font_class:"plusempty",unicode:""},{font_class:"pulldown",unicode:""},{font_class:"pyq",unicode:""},{font_class:"qq",unicode:""},{font_class:"redo",unicode:""},{font_class:"redo-filled",unicode:""},{font_class:"refresh",unicode:""},{font_class:"refresh-filled",unicode:""},{font_class:"refreshempty",unicode:""},{font_class:"reload",unicode:""},{font_class:"right",unicode:""},{font_class:"scan",unicode:""},{font_class:"search",unicode:""},{font_class:"settings",unicode:""},{font_class:"settings-filled",unicode:""},{font_class:"shop",unicode:""},{font_class:"shop-filled",unicode:""},{font_class:"smallcircle",unicode:""},{font_class:"smallcircle-filled",unicode:""},{font_class:"sound",unicode:""},{font_class:"sound-filled",unicode:""},{font_class:"spinner-cycle",unicode:""},{font_class:"staff",unicode:""},{font_class:"staff-filled",unicode:""},{font_class:"star",unicode:""},{font_class:"star-filled",unicode:""},{font_class:"starhalf",unicode:""},{font_class:"trash",unicode:""},{font_class:"trash-filled",unicode:""},{font_class:"tune",unicode:""},{font_class:"tune-filled",unicode:""},{font_class:"undo",unicode:""},{font_class:"undo-filled",unicode:""},{font_class:"up",unicode:""},{font_class:"top",unicode:""},{font_class:"upload",unicode:""},{font_class:"upload-filled",unicode:""},{font_class:"videocam",unicode:""},{font_class:"videocam-filled",unicode:""},{font_class:"vip",unicode:""},{font_class:"vip-filled",unicode:""},{font_class:"wallet",unicode:""},{font_class:"wallet-filled",unicode:""},{font_class:"weibo",unicode:""},{font_class:"weixin",unicode:""}],h=(n,x)=>{const e=n.__vccOpts||n;for(const[t,i]of x)e[t]=i;return e},g={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""},fontFamily:{type:String,default:""}},data:()=>({icons:u}),computed:{unicode(){let n=this.icons.find((n=>n.font_class===this.type));return n?n.unicode:""},iconSize(){return"number"==typeof(n=this.size)||/^[0-9]*$/g.test(n)?n+"px":n;var n},styleObj(){return""!==this.fontFamily?`color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`:`color: ${this.color}; font-size: ${this.iconSize};`}},methods:{_onClick(n){this.$emit("click",n)}}};const d=h(g,[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("text",{style:n.normalizeStyle(o.styleObj),class:n.normalizeClass(["uni-icons",["uniui-"+t.type,t.customPrefix,t.customPrefix?t.type:""]]),onClick:e[0]||(e[0]=(...n)=>o._onClick&&o._onClick(...n))},[n.renderSlot(x.$slots,"default",{},void 0,!0)],6)}],["__scopeId","data-v-b25a9929"]]);const p=n=>"number"==typeof n?n+"px":n;const m=h({name:"UniNavBar",components:{statusBar:h({name:"UniStatusBar",data:()=>({statusBarHeight:uni.getSystemInfoSync().statusBarHeight+"px"})},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{style:n.normalizeStyle({height:l.statusBarHeight}),class:"uni-status-bar"},[n.renderSlot(x.$slots,"default",{},void 0,!0)],4)}],["__scopeId","data-v-0bfbbc2d"]])},emits:["clickLeft","clickRight","clickTitle"],props:{dark:{type:Boolean,default:!1},title:{type:String,default:""},leftText:{type:String,default:""},rightText:{type:String,default:""},leftIcon:{type:String,default:""},rightIcon:{type:String,default:""},fixed:{type:[Boolean,String],default:!1},color:{type:String,default:""},backgroundColor:{type:String,default:""},statusBar:{type:[Boolean,String],default:!1},shadow:{type:[Boolean,String],default:!1},border:{type:[Boolean,String],default:!0},height:{type:[Number,String],default:44},leftWidth:{type:[Number,String],default:60},rightWidth:{type:[Number,String],default:60},stat:{type:[Boolean,String],default:""}},computed:{themeBgColor(){return this.dark?this.backgroundColor?this.backgroundColor:this.dark?"#333":"#FFF":this.backgroundColor||"#FFF"},themeColor(){return this.dark?this.color?this.color:this.dark?"#fff":"#333":this.color||"#333"},navbarHeight(){return p(this.height)},leftIconWidth(){return p(this.leftWidth)},rightIconWidth(){return p(this.rightWidth)}},mounted(){uni.report&&this.stat&&""!==this.title&&uni.report("title",this.title)},methods:{onClickLeft(){this.$emit("clickLeft")},onClickRight(){this.$emit("clickRight")},onClickTitle(){this.$emit("clickTitle")}}},[["render",function(x,t,i,l,o,a){const s=n.resolveComponent("status-bar"),r=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["uni-navbar",{"uni-dark":i.dark,"uni-nvue-fixed":i.fixed}])},[n.createElementVNode("view",{class:n.normalizeClass(["uni-navbar__content",{"uni-navbar--fixed":i.fixed,"uni-navbar--shadow":i.shadow,"uni-navbar--border":i.border}]),style:n.normalizeStyle({"background-color":a.themeBgColor,"border-bottom-color":a.themeColor})},[i.statusBar?(n.openBlock(),n.createBlock(s,{key:0})):n.createCommentVNode("",!0),n.createElementVNode("view",{style:n.normalizeStyle({color:a.themeColor,backgroundColor:a.themeBgColor,height:a.navbarHeight}),class:"uni-navbar__header"},[n.createElementVNode("view",{onClick:t[0]||(t[0]=(...n)=>a.onClickLeft&&a.onClickLeft(...n)),class:"uni-navbar__header-btns uni-navbar__header-btns-left",style:n.normalizeStyle({width:a.leftIconWidth})},[n.renderSlot(x.$slots,"left",{},(()=>[i.leftIcon.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"uni-navbar__content_view"},[n.createVNode(r,{color:a.themeColor,type:i.leftIcon,size:"20"},null,8,["color","type"])])):n.createCommentVNode("",!0),i.leftText.length?(n.openBlock(),n.createElementBlock("view",{key:1,class:n.normalizeClass([{"uni-navbar-btn-icon-left":!i.leftIcon.length>0},"uni-navbar-btn-text"])},[n.createElementVNode("text",{style:n.normalizeStyle({color:a.themeColor,fontSize:"12px"})},n.toDisplayString(i.leftText),5)],2)):n.createCommentVNode("",!0)]),!0)],4),n.createElementVNode("view",{class:"uni-navbar__header-container",onClick:t[1]||(t[1]=(...n)=>a.onClickTitle&&a.onClickTitle(...n))},[n.renderSlot(x.$slots,"default",{},(()=>[i.title.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"uni-navbar__header-container-inner"},[n.createElementVNode("text",{class:"uni-nav-bar-text uni-ellipsis-1",style:n.normalizeStyle({color:a.themeColor})},n.toDisplayString(i.title),5)])):n.createCommentVNode("",!0)]),!0)]),n.createElementVNode("view",{onClick:t[2]||(t[2]=(...n)=>a.onClickRight&&a.onClickRight(...n)),class:"uni-navbar__header-btns uni-navbar__header-btns-right",style:n.normalizeStyle({width:a.rightIconWidth})},[n.renderSlot(x.$slots,"right",{},(()=>[i.rightIcon.length?(n.openBlock(),n.createElementBlock("view",{key:0},[n.createVNode(r,{color:a.themeColor,type:i.rightIcon,size:"22"},null,8,["color","type"])])):n.createCommentVNode("",!0),i.rightText.length&&!i.rightIcon.length?(n.openBlock(),n.createElementBlock("view",{key:1,class:"uni-navbar-btn-text"},[n.createElementVNode("text",{class:"uni-nav-bar-right-text",style:n.normalizeStyle({color:a.themeColor})},n.toDisplayString(i.rightText),5)])):n.createCommentVNode("",!0)]),!0)],4)],4)],6),i.fixed?(n.openBlock(),n.createElementBlock("view",{key:0,class:"uni-navbar__placeholder"},[i.statusBar?(n.openBlock(),n.createBlock(s,{key:0})):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"uni-navbar__placeholder-view",style:n.normalizeStyle({height:a.navbarHeight})},null,4)])):n.createCommentVNode("",!0)],2)}],["__scopeId","data-v-100b908f"]]),y=h({__name:"navBar",props:{showLeft:{type:Boolean,default:!0},noticeBack:{type:Boolean,default:!1},title:{type:String,default:""}},setup(x){const t=()=>{uni.navigateBack({fail(){uni.redirectTo({url:"/pages/index/index"})}})};return(i,l)=>{const o=e(n.resolveDynamicComponent("uni-nav-bar"),m);return n.openBlock(),n.createElementBlock("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(o,{"left-icon":x.showLeft?"left":"",title:x.title,onClickLeft:t,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},null,8,["left-icon","title"])])}}},[["__scopeId","data-v-b1515cbe"]]),f=h({__name:"loading",setup(x){const e=n.ref(null),t=n.ref(0);return i((()=>{uni.showLoading({title:"加载中...",mask:!0}),e.value||(e.value=setInterval((()=>{t.value++,t.value>=8&&(clearInterval(e.value),plus.runtime.quit())}),1e3))})),s((()=>{uni.hideLoading(),e.value&&clearInterval(e.value)})),l((()=>{uni.hideLoading(),e.value&&clearInterval(e.value)})),(x,e)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{showLeft:!1,title:"加载中..."},null,8,["title"]),n.createElementVNode("view",{class:"loading-page"})],64))}},[["__scopeId","data-v-8ea4cdab"]]),b={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""},v={v:"3",version:"3",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc","up-primary":"#2979ff","up-warning":"#ff9900","up-success":"#19be6b","up-error":"#fa3534","up-info":"#909399","up-main-color":"#303133","up-content-color":"#606266","up-tips-color":"#909399","up-light-color":"#c0c4cc"},iconUrl:"https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf",customIcon:{family:"",url:""},customIcons:{},unit:"px",interceptor:{navbarLeftClick:null}},w={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},z={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},{toString:j}=Object.prototype;function k(n){return"[object Array]"===j.call(n)}function _(n,x){if(null!=n)if("object"!=typeof n&&(n=[n]),k(n))for(let e=0,t=n.length;e{null!=x&&(k(x)?e=`${e}[]`:x=[x],_(x,(x=>{!function(n){return"[object Date]"===j.call(n)}(x)?function(n){return null!==n&&"object"==typeof n}(x)&&(x=JSON.stringify(x)):x=x.toISOString(),n.push(`${S(e)}=${S(x)}`)})))})),e=n.join("&")}var t;if(e){const x=n.indexOf("#");-1!==x&&(n=n.slice(0,x)),n+=(-1===n.indexOf("?")?"?":"&")+e}return n}const q=(n,x)=>{const e={};return n.forEach((n=>{N(x[n])||(e[n]=x[n])})),e},T=n=>(n=>new Promise(((x,e)=>{const t=C((i=n.baseURL,l=n.url,i&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(l)?function(n,x){return x?`${n.replace(/\/+$/,"")}/${x.replace(/^\/+/,"")}`:n}(i,l):l),n.params);var i,l;const o={url:t,header:n.header,complete:i=>{n.fullPath=t,i.config=n;try{"string"==typeof i.data&&(i.data=JSON.parse(i.data))}catch(Rw){}!function(n,x,e){const{validateStatus:t}=e.config,i=e.statusCode;!i||t&&!t(i)?x(e):n(e)}(x,e,i)}};let a;if("UPLOAD"===n.method){delete o.header["content-type"],delete o.header["Content-Type"];const x={filePath:n.filePath,name:n.name},e=["files","timeout","formData"];a=uni.uploadFile({...o,...x,...q(e,n)})}else if("DOWNLOAD"===n.method)N(n.timeout)||(o.timeout=n.timeout),a=uni.downloadFile(o);else{const x=["data","method","timeout","dataType","responseType","sslVerify","firstIpv4"];a=uni.request({...o,...q(x,n)})}n.getTask&&n.getTask(a,n)})))(n);function V(){this.handlers=[]}V.prototype.use=function(n,x){return this.handlers.push({fulfilled:n,rejected:x}),this.handlers.length-1},V.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},V.prototype.forEach=function(n){this.handlers.forEach((x=>{null!==x&&n(x)}))};const A=(n,x,e)=>{const t={};return n.forEach((n=>{N(e[n])?N(x[n])||(t[n]=x[n]):t[n]=e[n]})),t},I={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,sslVerify:!0,firstIpv4:!1,validateStatus:function(n){return n>=200&&n<300}};var B=function(){function n(n,x){return null!=x&&n instanceof x}var x,e,t;try{x=Map}catch(a){x=function(){}}try{e=Set}catch(a){e=function(){}}try{t=Promise}catch(a){t=function(){}}function i(l,a,s,r,c){"object"==typeof a&&(s=a.depth,r=a.prototype,c=a.includeNonEnumerable,a=a.circular);var u=[],h=[],g="undefined"!=typeof Buffer;return void 0===a&&(a=!0),void 0===s&&(s=1/0),function l(s,d){if(null===s)return null;if(0===d)return s;var p,m;if("object"!=typeof s)return s;if(n(s,x))p=new x;else if(n(s,e))p=new e;else if(n(s,t))p=new t((function(n,x){s.then((function(x){n(l(x,d-1))}),(function(n){x(l(n,d-1))}))}));else if(i.__isArray(s))p=[];else if(i.__isRegExp(s))p=new RegExp(s.source,o(s)),s.lastIndex&&(p.lastIndex=s.lastIndex);else if(i.__isDate(s))p=new Date(s.getTime());else{if(g&&Buffer.isBuffer(s))return Buffer.from?p=Buffer.from(s):(p=new Buffer(s.length),s.copy(p)),p;n(s,Error)?p=Object.create(s):void 0===r?(m=Object.getPrototypeOf(s),p=Object.create(m)):(p=Object.create(r),m=r)}if(a){var y=u.indexOf(s);if(-1!=y)return h[y];u.push(s),h.push(p)}for(var f in n(s,x)&&s.forEach((function(n,x){var e=l(x,d-1),t=l(n,d-1);p.set(e,t)})),n(s,e)&&s.forEach((function(n){var x=l(n,d-1);p.add(x)})),s){Object.getOwnPropertyDescriptor(s,f)&&(p[f]=l(s[f],d-1));try{if("undefined"===Object.getOwnPropertyDescriptor(s,f).set)continue;p[f]=l(s[f],d-1)}catch(Rw){if(Rw instanceof TypeError)continue;if(Rw instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(s);for(f=0;f{const e=x.method||n.method||"GET";let t={baseURL:n.baseURL||"",method:e,url:x.url||"",params:x.params||{},custom:{...n.custom||{},...x.custom||{}},header:E(n.header||{},x.header||{})};if(t={...t,...A(["getTask","validateStatus"],n,x)},"DOWNLOAD"===e)N(x.timeout)?N(n.timeout)||(t.timeout=n.timeout):t.timeout=x.timeout;else if("UPLOAD"===e)delete t.header["content-type"],delete t.header["Content-Type"],["files","filePath","name","timeout","formData"].forEach((n=>{N(x[n])||(t[n]=x[n])})),N(t.timeout)&&!N(n.timeout)&&(t.timeout=n.timeout);else{const e=["data","timeout","dataType","responseType","sslVerify","firstIpv4"];t={...t,...A(e,n,x)}}return t})(this.config,n);const x=[T,void 0];let e=Promise.resolve(n);for(this.interceptors.request.forEach((n=>{x.unshift(n.fulfilled,n.rejected)})),this.interceptors.response.forEach((n=>{x.push(n.fulfilled,n.rejected)}));x.length;)e=e.then(x.shift(),x.shift());return e}request(n={}){return this.middleware(n)}get(n,x={}){return this.middleware({url:n,method:"GET",...x})}post(n,x,e={}){return this.middleware({url:n,data:x,method:"POST",...e})}put(n,x,e={}){return this.middleware({url:n,data:x,method:"PUT",...e})}delete(n,x,e={}){return this.middleware({url:n,data:x,method:"DELETE",...e})}options(n,x,e={}){return this.middleware({url:n,data:x,method:"OPTIONS",...e})}upload(n,x={}){return x.url=n,x.method="UPLOAD",this.middleware(x)}download(n,x={}){return x.url=n,x.method="DOWNLOAD",this.middleware(x)}};function M(n){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(n)}function O(n){switch(typeof n){case"undefined":return!0;case"string":if(0==n.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!n)return!0;break;case"number":if(0===n||isNaN(n))return!0;break;case"object":if(null===n||0===n.length)return!0;for(const x in n)return!1;return!0}return!1}function R(n){return"function"==typeof Array.isArray?Array.isArray(n):"[object Array]"===Object.prototype.toString.call(n)}function P(n){return"function"==typeof n}const L={email:function(n){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(n)},mobile:function(n){return/^1[23456789]\d{9}$/.test(n)},url:function(n){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(n)},date:function(n){if(!n)return!1;if("number"==typeof n)return(10===n.toString().length||13===n.toString().length)&&!isNaN(new Date(n).getTime());if("string"==typeof n){const x=Number(n);if(!isNaN(x)&&(10===x.toString().length||13===x.toString().length))return!isNaN(new Date(x).getTime());if(n.length<10||n.length>19)return!1;if(!/^\d{4}[-\/]\d{2}[-\/]\d{2}( \d{1,2}:\d{2}(:\d{2})?)?$/.test(n))return!1;const e=new Date(n);return!isNaN(e.getTime())}return!1},dateISO:function(n){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(n)},number:M,digits:function(n){return/^\d+$/.test(n)},idCard:function(n){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(n)},carNo:function(n){const x=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,e=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===n.length?e.test(n):8===n.length&&x.test(n)},amount:function(n){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(n)},chinese:function(n){return/^[\u4e00-\u9fa5]+$/gi.test(n)},letter:function(n){return/^[a-zA-Z]*$/.test(n)},enOrNum:function(n){return/^[0-9a-zA-Z]*$/g.test(n)},contains:function(n,x){return n.indexOf(x)>=0},range:function(n,x){return n>=x[0]&&n<=x[1]},rangeLength:function(n,x){return n.length>=x[0]&&n.length<=x[1]},empty:O,isEmpty:O,jsonString:function(n){if("string"==typeof n)try{const x=JSON.parse(n);return!("object"!=typeof x||!x)}catch(Rw){return!1}return!1},landline:function(n){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(n)},object:function(n){return"[object Object]"===Object.prototype.toString.call(n)},array:R,code:function(n,x=6){return new RegExp(`^\\d{${x}}$`).test(n)},func:P,promise:function(n){return function(n){return"[object Promise]"===Object.prototype.toString.call(n)}(n)&&P(n.then)&&P(n.catch)},video:function(n){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(n)},image:function(n){const x=n.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(x)},regExp:function(n){return n&&"[object RegExp]"===Object.prototype.toString.call(n)},string:function(n){return"string"==typeof n}};function F(n,x=15){return+parseFloat(Number(n).toPrecision(x))}function U(n){const x=n.toString().split(/[eE]/),e=(x[0].split(".")[1]||"").length-+(x[1]||0);return e>0?e:0}function $(n){if(-1===n.toString().indexOf("e"))return Number(n.toString().replace(".",""));const x=U(n);return x>0?F(Number(n)*Math.pow(10,x)):Number(n)}function H(n){(n>Number.MAX_SAFE_INTEGER||n{l=x(l,n)})),l}function G(...n){if(n.length>2)return Y(n,G);const[x,e]=n,t=$(x),i=$(e),l=U(x)+U(e),o=t*i;return H(o),o/Math.pow(10,l)}function W(...n){if(n.length>2)return Y(n,W);const[x,e]=n,t=$(x),i=$(e);return H(t),H(i),G(t/i,F(Math.pow(10,U(e)-U(x))))}function K(n=0,x=0,e=0){return Math.max(n,Math.min(x,Number(e)))}function Q(n,x=!1){return M(n)?x?`${n}px`:Number(n):/(rpx|upx)$/.test(n)?x?`${uni.upx2px(parseInt(n))}px`:Number(uni.upx2px(parseInt(n))):x?`${parseInt(n)}px`:parseInt(n)}function J(n=30){return new Promise((x=>{setTimeout((()=>{x()}),n)}))}function X(){return uni.getDeviceInfo().platform.toLowerCase()}function Z(){return uni.getSystemInfoSync()}function nn(){let n={};return n=uni.getWindowInfo(),n}function xn(){let n={};return n=uni.getDeviceInfo(),n}function en(n,x){if(n>=0&&x>0&&x>=n){const e=x-n+1;return Math.floor(Math.random()*e+n)}return 0}function tn(n=32,x=!0,e=null){const t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(e=e||t.length,n)for(let l=0;l{const t=x.replace(/([A-Z])/g,"-$1").toLowerCase();e+=`${t}:${n};`})),dn(e)}function an(n="auto",x=""){return x||(x=v.unit||"px"),"rpx"==x&&M(String(n))&&(n*=2),M(n=String(n))?`${n}${x}`:n}function sn(n){if([null,void 0,NaN,!1].includes(n))return n;if("object"!=typeof n&&"function"!=typeof n)return n;const x=R(n)?[]:{};for(const e in n)n.hasOwnProperty(e)&&(x[e]="object"==typeof n[e]?sn(n[e]):n[e]);return x}function rn(n={},x={}){let e=sn(n);if("object"!=typeof e||"object"!=typeof x)return!1;for(const t in x)x.hasOwnProperty(t)&&(t in e?null==x[t]||"object"!=typeof e[t]||"object"!=typeof x[t]?e[t]=x[t]:e[t].concat&&x[t].concat?e[t]=e[t].concat(x[t]):e[t]=rn(e[t],x[t]):e[t]=x[t]);return e}function cn(n,x={}){if("object"!=typeof n||"object"!=typeof x)return!1;for(const e in x)x.hasOwnProperty(e)&&(e in n?null==x[e]||"object"!=typeof n[e]||"object"!=typeof x[e]?n[e]=x[e]:n[e].concat&&x[e].concat?n[e]=n[e].concat(x[e]):n[e]=cn(n[e],x[e]):n[e]=x[e]);return n}function un(n){}function hn(n=[]){return n.sort((()=>Math.random()-.5))}function gn(n=null,x="yyyy-mm-dd"){let e;e=n?/^\d{10}$/.test(n.toString().trim())?new Date(1e3*n):"string"==typeof n&&/^\d+$/.test(n.trim())?new Date(Number(n)):new Date("string"==typeof n?n.replace(/-/g,"/"):n):new Date;const t={y:e.getFullYear().toString(),m:(e.getMonth()+1).toString().padStart(2,"0"),d:e.getDate().toString().padStart(2,"0"),h:e.getHours().toString().padStart(2,"0"),M:e.getMinutes().toString().padStart(2,"0"),s:e.getSeconds().toString().padStart(2,"0")};for(const i in t){const[n]=new RegExp(`${i}+`).exec(x)||[];if(n){const e="y"===i&&2===n.length?2:0;x=x.replace(n,t[i].slice(e))}}return x}function dn(n,x="both"){return n=String(n),"both"==x?n.replace(/^\s+|\s+$/g,""):"left"==x?n.replace(/^\s*/,""):"right"==x?n.replace(/(\s*$)/g,""):"all"==x?n.replace(/\s+/g,""):n}function pn(n={},x=!0,e="brackets"){const t=x?"?":"",i=[];-1==["indices","brackets","repeat","comma"].indexOf(e)&&(e="brackets");for(const l in n){const x=n[l];if(!(["",void 0,null].indexOf(x)>=0))if(x.constructor===Array)switch(e){case"indices":for(let e=0;e{i.push(`${l}[]=${n}`)}));break;case"repeat":x.forEach((n=>{i.push(`${l}=${n}`)}));break;case"comma":let n="";x.forEach((x=>{n+=(n?",":"")+x})),i.push(`${l}=${n}`)}else i.push(`${l}=${x}`)}return i.length?t+i.join("&"):""}function mn(n,x=2e3){uni.showToast({title:String(n),icon:"none",duration:x})}function yn(n="success",x=!1){-1==["primary","info","error","warning","success"].indexOf(n)&&(n="success");let e="";switch(n){case"primary":case"info":e="info-circle";break;case"error":e="close-circle";break;case"warning":e="error-circle";break;default:e="checkmark-circle"}return x&&(e+="-fill"),e}function fn(n,x=0,e=".",t=","){n=`${n}`.replace(/[^0-9+-Ee.]/g,"");const i=isFinite(+n)?+n:0,l=isFinite(+x)?Math.abs(x):0,o=void 0===t?",":t,a=void 0===e?".":e;let s="";s=(l?function(n,x){const e=Math.pow(10,x);let t=W(Math.round(Math.abs(G(n,e))),e);return n<0&&0!==t&&(t=G(t,-1)),t}(i,l)+"":`${Math.round(i)}`).split(".");const r=/(-?\d+)(\d{3})/;for(;r.test(s[0]);)s[0]=s[0].replace(r,`$1${o}$2`);return(s[1]||"").length{}),x)}function wn(n,x){if("object"!=typeof n||null==n)return"";if("string"!=typeof x||""===x)return"";if(-1!==x.indexOf(".")){const e=x.split(".");let t=n[e[0]]||{};for(let n=1;n1;){const i=x[0];n[i]&&"object"==typeof n[i]||(n[i]={}),x.shift(),t(n[i],x,e)}else n[x[0]]=e};if("string"!=typeof x||""===x);else if(-1!==x.indexOf(".")){const i=x.split(".");t(n,i,e)}else n[x]=e}function jn(){const n=getCurrentPages();return`/${n[n.length-1].route||""}`}function kn(n,x=95){const e=function(n){const x=n.toLowerCase().trim();if(x.startsWith("#")){const n=x.replace("#",""),e=3===n.length?n.split("").map((n=>n+n)).join(""):n;return{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16)}}const e=x.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(e)return{r:+e[1],g:+e[2],b:+e[3]};throw new Error("Invalid color format")}(n),t=function(n,x,e){n/=255,x/=255,e/=255;const t=Math.max(n,x,e),i=Math.min(n,x,e);let l,o,a=(t+i)/2;if(t===i)l=o=0;else{const s=t-i;switch(o=a>.5?s/(2-t-i):s/(t+i),t){case n:l=(x-e)/s+(x{const i=(x+n/30)%12,l=e-t*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*l).toString(16).padStart(2,"0")};return`#${i(0)}${i(8)}${i(4)}`}(i.h,i.s,i.l)}String.prototype.padStart||(String.prototype.padStart=function(n,x=" "){if("[object String]"!==Object.prototype.toString.call(x))throw new TypeError("fillString must be String");const e=this;if(e.length>=n)return String(e);const t=n-e.length;let i=Math.ceil(t/x.length);for(;i>>=1;)x+=x,1===i&&(x+=x);return x.slice(0,t)+e});const _n={range:K,getPx:Q,sleep:J,os:X,sys:Z,getWindowInfo:nn,random:en,guid:tn,$parent:ln,addStyle:on,addUnit:an,deepClone:sn,deepMerge:rn,shallowMerge:cn,error:un,randomArray:hn,timeFormat:gn,timeFrom:function(n=null,x="yyyy-mm-dd"){null==n&&(n=Number(new Date)),10==(n=parseInt(n)).toString().length&&(n*=1e3);let e=(new Date).getTime()-n;e=parseInt(e/1e3);let t="";switch(!0){case e<300:t="刚刚";break;case e>=300&&e<3600:t=`${parseInt(e/60)}分钟前`;break;case e>=3600&&e<86400:t=`${parseInt(e/3600)}小时前`;break;case e>=86400&&e<2592e3:t=`${parseInt(e/86400)}天前`;break;default:t=!1===x?e>=2592e3&&e<31536e3?`${parseInt(e/2592e3)}个月前`:`${parseInt(e/31536e3)}年前`:gn(n,x)}return t},trim:dn,queryParams:pn,toast:mn,type2icon:yn,priceFormat:fn,getDuration:function(n,x=!0){const e=parseInt(n);return x?/s$/.test(n)?n:n>30?`${n}ms`:`${n}s`:/ms$/.test(n)?e:/s$/.test(n)?e>30?e:1e3*e:e},padZero:bn,formValidate:vn,getProperty:wn,setProperty:zn,page:jn,pages:function(){return getCurrentPages()},getValueByPath:function(n,x){return x.split(".").reduce(((n,x)=>n&&void 0!==n[x]?n[x]:void 0),n)},genLightColor:kn},En={calendar:{title:"日期选择",showTitle:!0,showSubtitle:!0,mode:"single",startText:"开始",endText:"结束",customList:[],color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"确定",confirmDisabledText:"确定",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3,weekText:["一","二","三","四","五","六","日"],forbidDays:[],forbidDaysToast:"该日期已禁用"}},Nn={datetimePicker:{show:!1,popupMode:"bottom",showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:[],inputBorder:"surround",disabled:!1,disabledColor:"",placeholder:"请选择",inputProps:{}}},{color:Sn}=v,Cn={icon:{name:"",color:Sn["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:Sn["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}},{color:qn}=v,Tn={link:{color:qn["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"链接已复制,请在浏览器打开",lineColor:"",text:""}},{color:Vn}=v,An={actionSheet:{show:!1,title:"",description:"",actions:[],index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0,wrapMaxHeight:"600px"},album:{urls:[],keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0,autoWrap:!1,unit:"px",stop:!0},alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14},avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""},avatarGroup:{urls:[],maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0},backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:{color:"#909399",fontSize:"19px"}},badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:[],inverted:!1,absolute:!1},button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:"",stop:!0},...En,carKeyboard:{random:!1},card:{full:!1,title:"",titleColor:"#303133",titleSize:"15px",subTitle:"",subTitleColor:"#909399",subTitleSize:"13px",border:!0,index:"",margin:"15px",borderRadius:"8px",headStyle:{},bodyStyle:{},footStyle:{},headBorderBottom:!0,footBorderTop:!0,thumb:"",thumbWidth:"30px",thumbCircle:!1,padding:"15px",paddingHead:"",paddingBody:"",paddingFoot:"",showHead:!0,showFoot:!0,boxShadow:"none"},cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""},cellGroup:{title:"",border:!0,customStyle:{}},checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""},checkboxGroup:{name:"",value:[],shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1},circleProgress:{percentage:30},code:{seconds:60,startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取",keepRunning:!1,uniqueKey:""},codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0},col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"},collapse:{value:null,accordion:!1,border:!0},collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300,showRight:!0,titleStyle:{},iconStyle:{},rightIconStyle:{},cellCustomStyle:{},cellCustomClass:""},columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0,justifyContent:"flex-start"},countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1},countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""},...Nn,divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"},empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0},form:{model:{},rules:{},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:{}},formItem:{label:"",prop:"",rules:[],borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""},gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}},grid:{col:3,border:!1,align:"left"},gridItem:{name:null,bgColor:"transparent"},...Cn,image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"},indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#f1f1f1",height:32},indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:[],sticky:!0,customNavHeight:0,safeBottomFix:!1},input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:140,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null},keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"取消",confirmText:"确定",autoChange:!1},line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1},lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12,fromRight:!1},...Tn,list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1},listItem:{anchor:""},...{loadingIcon:{show:!0,color:Vn["u-tips-color"],textColor:Vn["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}},loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8",zIndex:10},loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1},modal:{show:!1,title:"",content:"",confirmText:"确认",cancelText:"取消",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:"",duration:400,contentTextAlign:"left",asyncCloseTip:"操作中...",asyncCancelClose:!1,contentStyle:{}},...{navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",titleColor:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:z.mainColor,autoBack:!1,titleStyle:""}},noNetwork:{tips:"哎呀,网络信号丢失",zIndex:"",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQE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BQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"},noticeBar:{text:[],direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo",justifyContent:"flex-start"},notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1},...{numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonWidth:30,buttonSize:30,buttonRadius:"0px",bgColor:"#EBECEE",disabledBgColor:"#f7f8fa",inputBgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:"",miniMode:!1}},numberKeyboard:{mode:"number",dotDisabled:!1,random:!1},overlay:{show:!1,zIndex:10070,duration:300,opacity:.5},parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0},picker:{show:!1,popupMode:"bottom",showToolbar:!0,title:"",columns:[],loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确定",cancelColor:"#909193",confirmColor:"",visibleItemCount:5,keyName:"text",valueName:"value",closeOnClickOverlay:!1,defaultIndex:[],immediateChange:!0,zIndex:10076,disabled:!1,disabledColor:"",placeholder:"请选择",inputProps:{},bgColor:"",round:0,duration:300,overlayOpacity:.5},popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:{},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5},radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""},radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left",gap:"10px"},rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0},readMore:{showHeight:400,toggle:!1,closeText:"展开阅读全文",openText:"收起",color:"#2979ff",fontSize:14,textIndent:"2em",name:""},row:{gutter:0,justify:"start",align:"center"},rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80},scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""},search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:{},actionText:"搜索",inputAlign:"left",inputStyle:{},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",iconPosition:"left",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null},section:{title:"",subTitle:"更多",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0},skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"},slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:{},useNative:!1,height:"2px"},statusBar:{bgColor:"transparent",height:0},steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1},stepsItem:{title:"",desc:"",iconSize:17,error:!1},sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""},subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name",activeColorKeyName:"activeColorKey",inactiveColorKeyName:"inactiveColorKey",disabled:!1},swipeAction:{autoClose:!0},swipeActionItem:{show:!1,closeOnClick:!0,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300},swiper:{list:[],indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1},swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"},switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0},tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0},tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"},tabs:{duration:300,list:[],lineColor:"#3c9cff",activeStyle:{color:"#303133"},inactiveStyle:{color:"#606266"},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:{height:"44px"},scrollable:!0,current:0,keyName:"name",iconStyle:{}},tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:"",iconColor:"",textSize:"",height:"",padding:"",borderRadius:"",autoBgColor:0},text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:{fontSize:"15px"},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal",flex1:!0},textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null},toast:{zIndex:10090,loading:!1,message:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:{},duration:2e3,isTab:!1,url:"",callback:null,back:!1},toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"",title:""},tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:[],overlay:!0,showToast:!0},transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"},...{upload:{accept:"image",extension:[],capture:["album","camera"],compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:["original","compressed"],multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:[],uploadText:"",width:80,height:80,previewImage:!0,autoDelete:!1,autoUpload:!1,autoUploadApi:"",autoUploadAuthUrl:"",autoUploadDriver:"",autoUploadHeader:{},getVideoThumb:!1,customAfterAutoUpload:!1,videoPreviewObjectFit:"cover"}}};if(uni&&uni.upuiParams){x("log","at node_modules/uview-plus/libs/config/props.js:206","setting uview-plus");let n=uni.upuiParams();n.httpIns&&n.httpIns(D),n.options&&(In=n.options,cn(v,In.config||{}),cn(An,In.props||{}),cn(z,In.color||{}),cn(w,In.zIndex||{}))}var In;const Bn={props:{name:{type:String,default:()=>An.icon.name},color:{type:String,default:()=>An.icon.color},size:{type:[String,Number],default:()=>An.icon.size},bold:{type:Boolean,default:()=>An.icon.bold},index:{type:[String,Number],default:()=>An.icon.index},hoverClass:{type:String,default:()=>An.icon.hoverClass},customPrefix:{type:String,default:()=>An.icon.customPrefix},label:{type:[String,Number],default:()=>An.icon.label},labelPos:{type:String,default:()=>An.icon.labelPos},labelSize:{type:[String,Number],default:()=>An.icon.labelSize},labelColor:{type:String,default:()=>An.icon.labelColor},space:{type:[String,Number],default:()=>An.icon.space},imgMode:{type:String,default:()=>An.icon.imgMode},width:{type:[String,Number],default:()=>An.icon.width},height:{type:[String,Number],default:()=>An.icon.height},top:{type:[String,Number],default:()=>An.icon.top},stop:{type:Boolean,default:()=>An.icon.stop}}},Dn={};const Mn=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(n){return"/"===n[0]?n:`/${n}`}mixinParam(n,x){n=n&&this.addRootPath(n);let e="";return/.*\/.*\?.*=.*/.test(n)?(e=pn(x,!1),n+`&${e}`):(e=pn(x),n+e)}async route(n={},x={}){let e={};if("string"==typeof n?(e.url=this.mixinParam(n,x),e.type="navigateTo"):(e=rn(this.config,n),e.url=this.mixinParam(n.url,n.params)),e.url!==jn())if(x.intercept&&(this.config.intercept=x.intercept),e.params=x,e=rn(this.config,e),"function"==typeof uni.$u.routeIntercept){await new Promise(((n,x)=>{uni.$u.routeIntercept(e,n)}))&&this.openPage(e)}else this.openPage(e)}openPage(n){const{url:x,type:e,delta:t,animationType:i,animationDuration:l}=n;"navigateTo"!=n.type&&"to"!=n.type||uni.navigateTo({url:x,animationType:i,animationDuration:l}),"redirectTo"!=n.type&&"redirect"!=n.type||uni.redirectTo({url:x}),"switchTab"!=n.type&&"tab"!=n.type||uni.switchTab({url:x}),"reLaunch"!=n.type&&"launch"!=n.type||uni.reLaunch({url:x}),"navigateBack"!=n.type&&"back"!=n.type||uni.navigateBack({delta:t})}}).route,On={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},created(){this.$u.getRect=this.$uGetRect},computed:{$u:()=>rn(uni.$u,{props:void 0,http:void 0,mixin:void 0}),bem:()=>function(n,x,e){const t=`u-${n}--`,i={};return x&&x.map((n=>{i[t+this[n]]=!0})),e&&e.map((n=>{this[n]?i[t+n]=this[n]:delete i[t+n]})),Object.keys(i)}},methods:{openPage(n="url"){const x=this[n];x&&Mn({type:this.linkType,url:x})},navTo(n="",x="navigateTo"){Mn({type:this.linkType,url:n})},$uGetRect(n,x){return new Promise((e=>{uni.createSelectorQuery().in(this)[x?"selectAll":"select"](n).boundingClientRect((n=>{x&&Array.isArray(n)&&n.length&&e(n),!x&&n&&e(n)})).exec()}))},getParentData(n=""){this.parent||(this.parent={}),this.parent=ln.call(this,n),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((n=>{this.parentData[n]=this.parent[n]}))},preventEvent(n){n&&"function"==typeof n.stopPropagation&&n.stopPropagation()},noop(n){this.preventEvent(n)}},onReachBottom(){uni.$emit("uOnReachBottom")},beforeUnmount(){if(this.parent&&L.array(this.parent.children)){const n=this.parent.children;n.map(((x,e)=>{x===this&&n.splice(e,1)}))}}};let Rn={loaded:!1};const Pn=Rn,Ln=()=>(Rn.loaded=!0,uni.loadFontFace({global:!0,family:"uicon-iconfont",source:'url("'+v.iconUrl+'")',success(){},fail(){}}),v.customIcon.family&&uni.loadFontFace({global:!0,family:v.customIcon.family,source:'url("'+v.customIcon.url+'")',success(){},fail(){}}),!0),Fn={name:"u-icon",beforeCreate(){Pn.loaded||Ln()},data:()=>({}),emits:["click"],mixins:[Dn,On,Bn],computed:{uClasses(){let n=[];return n.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?n.push("u-iconfont"):n.push(this.customPrefix),this.color&&v.type.includes(this.color)&&n.push("u-icon__icon--"+this.color),n},iconStyle(){let n={};return n={fontSize:an(this.size),lineHeight:an(this.size),fontWeight:this.bold?"bold":"normal",top:an(this.top)},"uicon"!==this.customPrefix&&(n.fontFamily=this.customPrefix),this.color&&!v.type.includes(this.color)&&(n.color=this.color),n},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let n={};return n.width=this.width?an(this.width):an(this.size),n.height=this.height?an(this.height):an(this.size),n},icon(){return"uicon"!==this.customPrefix?v.customIcons[this.name]||this.name:b["uicon-"+this.name]||this.name}},methods:{addStyle:on,addUnit:an,clickHandler(n){this.$emit("click",this.index,n),this.stop&&this.preventEvent(n)}}};const Un=h(Fn,[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["u-icon",["u-icon--"+x.labelPos]]),onClick:e[0]||(e[0]=(...n)=>o.clickHandler&&o.clickHandler(...n))},[o.isImg?(n.openBlock(),n.createElementBlock("image",{key:0,class:"u-icon__img",src:x.name,mode:x.imgMode,style:n.normalizeStyle([o.imgStyle,o.addStyle(x.customStyle)])},null,12,["src","mode"])):(n.openBlock(),n.createElementBlock("text",{key:1,class:n.normalizeClass(["u-icon__icon",o.uClasses]),style:n.normalizeStyle([o.iconStyle,o.addStyle(x.customStyle)]),"hover-class":x.hoverClass},n.toDisplayString(o.icon),15,["hover-class"])),""!==x.label?(n.openBlock(),n.createElementBlock("text",{key:2,class:"u-icon__label",style:n.normalizeStyle({color:x.labelColor,fontSize:o.addUnit(x.labelSize),marginLeft:"right"==x.labelPos?o.addUnit(x.space):0,marginTop:"bottom"==x.labelPos?o.addUnit(x.space):0,marginRight:"left"==x.labelPos?o.addUnit(x.space):0,marginBottom:"top"==x.labelPos?o.addUnit(x.space):0})},n.toDisplayString(x.label),5)):n.createCommentVNode("",!0)],2)}],["__scopeId","data-v-c494bb61"]]),$n=Object.freeze(Object.defineProperty({__proto__:null,default:Un},Symbol.toStringTag,{value:"Module"})),Hn={props:{show:{type:Boolean,default:()=>An.transition.show},mode:{type:String,default:()=>An.transition.mode},duration:{type:[String,Number],default:()=>An.transition.duration},timingFunction:{type:String,default:()=>An.transition.timingFunction}}},Yn=n=>({enter:`u-${n}-enter u-${n}-enter-active`,"enter-to":`u-${n}-enter-to u-${n}-enter-active`,leave:`u-${n}-leave u-${n}-leave-active`,"leave-to":`u-${n}-leave-to u-${n}-leave-active`});const Gn=h({name:"u-transition",data:()=>({inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}),emits:["click","beforeEnter","enter","afterEnter","beforeLeave","leave","afterLeave"],computed:{mergeStyle(){const{viewStyle:n,customStyle:x}=this;return{transitionDuration:`${this.duration}ms`,transitionTimingFunction:this.timingFunction,...on(x),...n}}},mixins:[Dn,On,{methods:{clickHandler(){this.$emit("click")},async vueEnter(){const x=Yn(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=x.enter,await n.nextTick(),await J(20),this.$emit("enter"),this.transitionEnded=!1,this.$emit("afterEnter"),this.classes=x["enter-to"]},async vueLeave(){if(!this.display)return;const x=Yn(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=x.leave,await n.nextTick(),this.transitionEnded=!1,this.$emit("leave"),setTimeout(this.onTransitionEnd,this.duration),this.classes=x["leave-to"]},onTransitionEnd(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}},Hn],watch:{show:{handler(n){n?this.vueEnter():this.vueLeave()},immediate:!0}}},[["render",function(x,e,t,i,l,o){return l.inited?(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["u-transition",l.classes]),ref:"u-transition",onClick:e[0]||(e[0]=(...n)=>x.clickHandler&&x.clickHandler(...n)),style:n.normalizeStyle([o.mergeStyle]),onTouchmove:e[1]||(e[1]=(...n)=>x.noop&&x.noop(...n))},[n.renderSlot(x.$slots,"default",{},void 0,!0)],38)):n.createCommentVNode("",!0)}],["__scopeId","data-v-66823e3c"]]),Wn=Object.freeze(Object.defineProperty({__proto__:null,default:Gn},Symbol.toStringTag,{value:"Module"})),Kn={props:{src:{type:String,default:()=>An.image.src},mode:{type:String,default:()=>An.image.mode},width:{type:[String,Number],default:()=>An.image.width},height:{type:[String,Number],default:()=>An.image.height},shape:{type:String,default:()=>An.image.shape},radius:{type:[String,Number],default:()=>An.image.radius},lazyLoad:{type:Boolean,default:()=>An.image.lazyLoad},showMenuByLongpress:{type:Boolean,default:()=>An.image.showMenuByLongpress},loadingIcon:{type:String,default:()=>An.image.loadingIcon},errorIcon:{type:String,default:()=>An.image.errorIcon},showLoading:{type:Boolean,default:()=>An.image.showLoading},showError:{type:Boolean,default:()=>An.image.showError},fade:{type:Boolean,default:()=>An.image.fade},webp:{type:Boolean,default:()=>An.image.webp},duration:{type:[String,Number],default:()=>An.image.duration},bgColor:{type:String,default:()=>An.image.bgColor}}},Qn={name:"u-image",mixins:[Dn,On,Kn],data(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{},show:!1}},watch:{src:{immediate:!0,handler(n){n?(this.isError=!1,this.loading=!0):this.isError=!0}}},computed:{transStyle(){let n={};return this.loading||this.isError||"100%"==this.width||"heightFix"!=this.mode?n.width=an(this.width):n.width="fit-content",this.loading||this.isError||"100%"==this.height||"widthFix"!=this.mode?n.height=an(this.height):n.height="fit-content",n},wrapStyle(){let n={};return this.loading||this.isError||"100%"==this.width||"heightFix"!=this.mode?n.width=an(this.width):n.width="fit-content",this.loading||this.isError||"100%"==this.height||"widthFix"!=this.mode?n.height=an(this.height):n.height="fit-content",n.borderRadius="circle"==this.shape?"10000px":an(this.radius),n.overflow=this.radius>0?"hidden":"visible",rn(n,on(this.customStyle))}},mounted(){this.show=!0},emits:["click","error","load"],methods:{addUnit:an,onClick(n){this.$emit("click",n)},onErrorHandler(n){this.loading=!1,this.isError=!0,this.$emit("error",n)},onLoadHandler(n){this.loading=!1,this.isError=!1,this.$emit("load",n),this.removeBgColor()},removeBgColor(){}}};const Jn=h(Qn,[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("u-icon"),Un),r=e(n.resolveDynamicComponent("u-transition"),Gn);return n.openBlock(),n.createBlock(r,{mode:"fade",show:o.show,style:n.normalizeStyle(a.transStyle),duration:x.fade?1e3:0},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"u-image box-border",onClick:t[2]||(t[2]=(...n)=>a.onClick&&a.onClick(...n)),style:n.normalizeStyle([a.wrapStyle,o.backgroundStyle])},[o.isError?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("image",{key:0,src:x.src,mode:x.mode,onError:t[0]||(t[0]=(...n)=>a.onErrorHandler&&a.onErrorHandler(...n)),onLoad:t[1]||(t[1]=(...n)=>a.onLoadHandler&&a.onLoadHandler(...n)),"show-menu-by-longpress":x.showMenuByLongpress,"lazy-load":x.lazyLoad,class:"u-image__image",style:n.normalizeStyle({width:a.addUnit(x.width),height:a.addUnit(x.height),borderRadius:"circle"==x.shape?"10000px":a.addUnit(x.radius)})},null,44,["src","mode","show-menu-by-longpress","lazy-load"])),x.showLoading&&o.loading?(n.openBlock(),n.createElementBlock("view",{key:1,class:"u-image__loading",style:n.normalizeStyle({borderRadius:"circle"==x.shape?"50%":a.addUnit(x.radius),backgroundColor:this.bgColor,width:a.addUnit(x.width),height:a.addUnit(x.height)})},[n.renderSlot(x.$slots,"loading",{},(()=>[n.createVNode(s,{name:x.loadingIcon},null,8,["name"])]),!0)],4)):n.createCommentVNode("",!0),x.showError&&o.isError&&!o.loading?(n.openBlock(),n.createElementBlock("view",{key:2,class:"u-image__error",style:n.normalizeStyle({borderRadius:"circle"==x.shape?"50%":a.addUnit(x.radius),backgroundColor:this.bgColor,width:a.addUnit(x.width),height:a.addUnit(x.height)})},[n.renderSlot(x.$slots,"error",{},(()=>[n.createVNode(s,{name:x.errorIcon},null,8,["name"])]),!0)],4)):n.createCommentVNode("",!0)],4)])),_:3},8,["show","style","duration"])}],["__scopeId","data-v-59d85306"]]),Xn=Object.freeze(Object.defineProperty({__proto__:null,default:Jn},Symbol.toStringTag,{value:"Module"})),Zn=["{","}"];const nx=/^(?:\d)+/,xx=/^(?:\w)+/;const ex="zh-Hans",tx="zh-Hant",ix="en",lx=Object.prototype.hasOwnProperty,ox=(n,x)=>lx.call(n,x),ax=new class{constructor(){this._caches=Object.create(null)}interpolate(n,x,e=Zn){if(!x)return[n];let t=this._caches[n];return t||(t=function(n,[x,e]){const t=[];let i=0,l="";for(;i-1?ex:n.indexOf("-hant")>-1?tx:(e=n,["-tw","-hk","-mo","-cht"].find((n=>-1!==e.indexOf(n)))?tx:ex);var e;let t=[ix,"fr","es"];x&&Object.keys(x).length>0&&(t=Object.keys(x));const i=function(n,x){return x.find((x=>0===n.indexOf(x)))}(n,t);return i||void 0}class rx{constructor({locale:n,fallbackLocale:x,messages:e,watcher:t,formater:i}){this.locale=ix,this.fallbackLocale=ix,this.message={},this.messages={},this.watchers=[],x&&(this.fallbackLocale=x),this.formater=i||ax,this.messages=e||{},this.setLocale(n||ix),t&&this.watchLocale(t)}setLocale(n){const x=this.locale;this.locale=sx(n,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],x!==this.locale&&this.watchers.forEach((n=>{n(this.locale,x)}))}getLocale(){return this.locale}watchLocale(n){const x=this.watchers.push(n)-1;return()=>{this.watchers.splice(x,1)}}add(n,x,e=!0){const t=this.messages[n];t?e?Object.assign(t,x):Object.keys(x).forEach((n=>{ox(t,n)||(t[n]=x[n])})):this.messages[n]=x}f(n,x,e){return this.formater.interpolate(n,x,e).join("")}t(n,x,e){let t=this.message;return"string"==typeof x?(x=sx(x,this.messages))&&(t=this.messages[x]):e=x,ox(t,n)?this.formater.interpolate(t[n],e).join(""):(console.warn(`Cannot translate the value of keypath ${n}. Use the value of keypath as default.`),n)}}function cx(n,x={},e,t){if("string"!=typeof n){const e=[x,n];n=e[0],x=e[1]}"string"!=typeof n&&(n="undefined"!=typeof uni&&uni.getLocale?uni.getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():ix),"string"!=typeof e&&(e="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||ix);const i=new rx({locale:n,fallbackLocale:e,messages:x,watcher:t});let l=(n,x)=>{if("function"!=typeof getApp)l=function(n,x){return i.t(n,x)};else{let n=!1;l=function(x,e){const t=getApp().$vm;return t&&(t.$locale,n||(n=!0,function(n,x){n.$watchLocale?n.$watchLocale((n=>{x.setLocale(n)})):n.$watch((()=>n.$locale),(n=>{x.setLocale(n)}))}(t,i))),i.t(x,e)}}return l(n,x)};return{i18n:i,f:(n,x,e)=>i.f(n,x,e),t:(n,x)=>l(n,x),add:(n,x,e=!0)=>i.add(n,x,e),watch:n=>i.watchLocale(n),getLocale:()=>i.getLocale(),setLocale:n=>i.setLocale(n)}}const ux={en:{"uni-search-bar.cancel":"cancel","uni-search-bar.placeholder":"Search enter content"},"zh-Hans":{"uni-search-bar.cancel":"取消","uni-search-bar.placeholder":"请输入搜索内容"},"zh-Hant":{"uni-search-bar.cancel":"取消","uni-search-bar.placeholder":"請輸入搜索內容"}},{t:hx}=cx(ux),gx={name:"UniSearchBar",emits:["input","update:modelValue","clear","cancel","confirm","blur","focus"],props:{placeholder:{type:String,default:""},radius:{type:[Number,String],default:5},clearButton:{type:String,default:"auto"},cancelButton:{type:String,default:"auto"},cancelText:{type:String,default:""},bgColor:{type:String,default:"#F8F8F8"},textColor:{type:String,default:"#000000"},maxlength:{type:[Number,String],default:100},value:{type:[Number,String],default:""},modelValue:{type:[Number,String],default:""},focus:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data:()=>({show:!1,showSync:!1,searchVal:""}),computed:{cancelTextI18n(){return this.cancelText||hx("uni-search-bar.cancel")},placeholderText(){return this.placeholder||hx("uni-search-bar.placeholder")}},watch:{modelValue:{immediate:!0,handler(n){this.searchVal=n,n&&(this.show=!0)}},focus:{immediate:!0,handler(n){if(n){if(this.readonly)return;this.show=!0,this.$nextTick((()=>{this.showSync=!0}))}}},searchVal(n,x){this.$emit("input",n),this.$emit("update:modelValue",n)}},methods:{searchClick(){this.readonly||this.show||(this.show=!0,this.$nextTick((()=>{this.showSync=!0})))},clear(){this.searchVal="",this.$nextTick((()=>{this.$emit("clear",{value:""})}))},cancel(){this.readonly||(this.$emit("cancel",{value:this.searchVal}),this.searchVal="",this.show=!1,this.showSync=!1,plus.key.hideSoftKeybord())},confirm(){plus.key.hideSoftKeybord(),this.$emit("confirm",{value:this.searchVal})},blur(){plus.key.hideSoftKeybord(),this.$emit("blur",{value:this.searchVal})},emitFocus(n){this.$emit("focus",n.detail)}}};const dx=h(gx,[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock("view",{class:"uni-searchbar"},[n.createElementVNode("view",{style:n.normalizeStyle({borderRadius:i.radius+"px",backgroundColor:i.bgColor}),class:"uni-searchbar__box",onClick:t[5]||(t[5]=(...n)=>a.searchClick&&a.searchClick(...n))},[n.createElementVNode("view",{class:"uni-searchbar__box-icon-search"},[n.renderSlot(x.$slots,"searchIcon",{},(()=>[n.createVNode(s,{color:"#c0c4cc",size:"18",type:"search"})]),!0)]),o.show||o.searchVal?n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:0,focus:o.showSync,disabled:i.readonly,placeholder:a.placeholderText,maxlength:i.maxlength,class:"uni-searchbar__box-search-input","confirm-type":"search",type:"text","onUpdate:modelValue":t[0]||(t[0]=n=>o.searchVal=n),style:n.normalizeStyle({color:i.textColor}),onConfirm:t[1]||(t[1]=(...n)=>a.confirm&&a.confirm(...n)),onBlur:t[2]||(t[2]=(...n)=>a.blur&&a.blur(...n)),onFocus:t[3]||(t[3]=(...n)=>a.emitFocus&&a.emitFocus(...n))},null,44,["focus","disabled","placeholder","maxlength"])),[[n.vModelText,o.searchVal]]):(n.openBlock(),n.createElementBlock("text",{key:1,class:"uni-searchbar__text-placeholder"},n.toDisplayString(i.placeholder),1)),o.show&&("always"===i.clearButton||"auto"===i.clearButton&&""!==o.searchVal)&&!i.readonly?(n.openBlock(),n.createElementBlock("view",{key:2,class:"uni-searchbar__box-icon-clear",onClick:t[4]||(t[4]=(...n)=>a.clear&&a.clear(...n))},[n.renderSlot(x.$slots,"clearIcon",{},(()=>[n.createVNode(s,{color:"#c0c4cc",size:"20",type:"clear"})]),!0)])):n.createCommentVNode("",!0)],4),"always"===i.cancelButton||o.show&&"auto"===i.cancelButton?(n.openBlock(),n.createElementBlock("text",{key:0,onClick:t[6]||(t[6]=(...n)=>a.cancel&&a.cancel(...n)),class:"uni-searchbar__cancel"},n.toDisplayString(a.cancelTextI18n),1)):n.createCommentVNode("",!0)])}],["__scopeId","data-v-2ba324d9"]]),px={props:{show:{type:Boolean,default:()=>An.loadingIcon.show},color:{type:String,default:()=>An.loadingIcon.color},textColor:{type:String,default:()=>An.loadingIcon.textColor},vertical:{type:Boolean,default:()=>An.loadingIcon.vertical},mode:{type:String,default:()=>An.loadingIcon.mode},size:{type:[String,Number],default:()=>An.loadingIcon.size},textSize:{type:[String,Number],default:()=>An.loadingIcon.textSize},text:{type:[String,Number],default:()=>An.loadingIcon.text},timingFunction:{type:String,default:()=>An.loadingIcon.timingFunction},duration:{type:[String,Number],default:()=>An.loadingIcon.duration},inactiveColor:{type:String,default:()=>An.loadingIcon.inactiveColor}}};function mx(n="rgb(0, 0, 0)",x="rgb(255, 255, 255)",e=10){const t=yx(n,!1),i=t[0],l=t[1],o=t[2],a=yx(x,!1),s=(a[0]-i)/e,r=(a[1]-l)/e,c=(a[2]-o)/e,u=[];for(let h=0;hNumber(n)))}return n}function fx(n){const x=n;if(/^(rgb|RGB)/.test(x)){const n=x.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let e="#";for(let x=0;x({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const n=mx(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:n:"transparent"}},watch:{show(n){}},mounted(){this.init()},methods:{addUnit:an,addStyle:on,init(){setTimeout((()=>{this.show&&this.addEventListenerToWebview()}),20)},addEventListenerToWebview(){const n=getCurrentPages(),x=n[n.length-1].$getAppWebview();x.addEventListener("hide",(()=>{this.webviewHide=!0})),x.addEventListener("show",(()=>{this.webviewHide=!1}))}}},[["render",function(x,e,t,i,l,o){return x.show?(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["u-loading-icon",[x.vertical&&"u-loading-icon--vertical"]]),style:n.normalizeStyle([o.addStyle(x.customStyle)])},[l.webviewHide?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["u-loading-icon__spinner",[`u-loading-icon__spinner--${x.mode}`]]),ref:"ani",style:n.normalizeStyle({color:x.color,width:o.addUnit(x.size),height:o.addUnit(x.size),borderTopColor:x.color,borderBottomColor:o.otherBorderColor,borderLeftColor:o.otherBorderColor,borderRightColor:o.otherBorderColor,"animation-duration":`${x.duration}ms`,"animation-timing-function":"semicircle"===x.mode||"circle"===x.mode?x.timingFunction:""})},["spinner"===x.mode?(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:0},n.renderList(l.array12,((x,e)=>(n.openBlock(),n.createElementBlock("view",{key:e,class:"u-loading-icon__dot"})))),128)):n.createCommentVNode("",!0)],6)),x.text?(n.openBlock(),n.createElementBlock("text",{key:1,class:"u-loading-icon__text",style:n.normalizeStyle({fontSize:o.addUnit(x.textSize),color:x.textColor})},n.toDisplayString(x.text),5)):n.createCommentVNode("",!0)],6)):n.createCommentVNode("",!0)}],["__scopeId","data-v-ef49e161"]]),zx=Object.freeze(Object.defineProperty({__proto__:null,default:vx},Symbol.toStringTag,{value:"Module"}));const jx=h({name:"u-swiper-indicator",mixins:[Dn,On,{props:{length:{type:[String,Number],default:()=>An.swiperIndicator.length},current:{type:[String,Number],default:()=>An.swiperIndicator.current},indicatorActiveColor:{type:String,default:()=>An.swiperIndicator.indicatorActiveColor},indicatorInactiveColor:{type:String,default:()=>An.swiperIndicator.indicatorInactiveColor},indicatorMode:{type:String,default:()=>An.swiperIndicator.indicatorMode}}}],data:()=>({lineWidth:22}),computed:{lineStyle(){let n={};return n.width=an(this.lineWidth),n.transform=`translateX(${an(this.current*this.lineWidth)})`,n.backgroundColor=this.indicatorActiveColor,n},dotStyle(){return n=>{let x={};return x.backgroundColor=n===this.current?this.indicatorActiveColor:this.indicatorInactiveColor,x}}},methods:{addUnit:an}},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:"u-swiper-indicator"},["line"===x.indicatorMode?(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["u-swiper-indicator__wrapper",[`u-swiper-indicator__wrapper--${x.indicatorMode}`]]),style:n.normalizeStyle({width:o.addUnit(l.lineWidth*x.length),backgroundColor:x.indicatorInactiveColor})},[n.createElementVNode("view",{class:"u-swiper-indicator__wrapper--line__bar",style:n.normalizeStyle([o.lineStyle])},null,4)],6)):n.createCommentVNode("",!0),"dot"===x.indicatorMode?(n.openBlock(),n.createElementBlock("view",{key:1,class:"u-swiper-indicator__wrapper"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(x.length,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["u-swiper-indicator__wrapper__dot",[t===x.current&&"u-swiper-indicator__wrapper__dot--active"]]),key:t,style:n.normalizeStyle([o.dotStyle(t)])},null,6)))),128))])):n.createCommentVNode("",!0)])}],["__scopeId","data-v-298bb4bc"]]),kx=Object.freeze(Object.defineProperty({__proto__:null,default:jx},Symbol.toStringTag,{value:"Module"})),_x={props:{list:{type:Array,default:()=>An.swiper.list},indicator:{type:Boolean,default:()=>An.swiper.indicator},indicatorActiveColor:{type:String,default:()=>An.swiper.indicatorActiveColor},indicatorInactiveColor:{type:String,default:()=>An.swiper.indicatorInactiveColor},indicatorStyle:{type:[String,Object],default:()=>An.swiper.indicatorStyle},indicatorMode:{type:String,default:()=>An.swiper.indicatorMode},autoplay:{type:Boolean,default:()=>An.swiper.autoplay},current:{type:[String,Number],default:()=>An.swiper.current},currentItemId:{type:String,default:()=>An.swiper.currentItemId},interval:{type:[String,Number],default:()=>An.swiper.interval},duration:{type:[String,Number],default:()=>An.swiper.duration},circular:{type:Boolean,default:()=>An.swiper.circular},previousMargin:{type:[String,Number],default:()=>An.swiper.previousMargin},nextMargin:{type:[String,Number],default:()=>An.swiper.nextMargin},acceleration:{type:Boolean,default:()=>An.swiper.acceleration},displayMultipleItems:{type:Number,default:()=>An.swiper.displayMultipleItems},easingFunction:{type:String,default:()=>An.swiper.easingFunction},keyName:{type:String,default:()=>An.swiper.keyName},imgMode:{type:String,default:()=>An.swiper.imgMode},height:{type:[String,Number],default:()=>An.swiper.height},bgColor:{type:String,default:()=>An.swiper.bgColor},radius:{type:[String,Number],default:()=>An.swiper.radius},loading:{type:Boolean,default:()=>An.swiper.loading},showTitle:{type:Boolean,default:()=>An.swiper.showTitle}}},Ex={name:"u-swiper",mixins:[Dn,On,_x],data:()=>({currentIndex:0}),watch:{current(n,x){n!==x&&(this.currentIndex=n)}},emits:["click","change","update:current"],computed:{itemStyle(){return n=>{const x={};return this.nextMargin&&this.previousMargin&&(x.borderRadius=an(this.radius),n!==this.currentIndex&&(x.transform="scale(0.92)")),x}}},methods:{addStyle:on,addUnit:an,testObject:L.object,testImage:L.image,getItemType(n){return"string"==typeof n?L.video(this.getSource(n))?"video":"image":"object"==typeof n&&this.keyName?n.type?"image"===n.type?"image":"video"===n.type?"video":"image":L.video(this.getSource(n))?"video":"image":void 0},getSource(n){return"string"==typeof n?n:"object"==typeof n&&this.keyName?n[this.keyName]:""},change(n){const{current:x}=n.detail;this.pauseVideo(this.currentIndex),this.currentIndex=x,this.$emit("update:current",this.currentIndex),this.$emit("change",n.detail)},pauseVideo(n){const x=this.getSource(this.list[n]);if(L.video(x)){uni.createVideoContext(`video-${n}`,this).pause()}},getPoster:n=>"object"==typeof n&&n.poster?n.poster:"",clickHandler(n){this.$emit("click",n)}}};const Nx=h(Ex,[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("up-loading-icon"),vx),r=e(n.resolveDynamicComponent("up-swiper-indicator"),jx);return n.openBlock(),n.createElementBlock("view",{class:"u-swiper",style:n.normalizeStyle({backgroundColor:x.bgColor,height:a.addUnit(x.height),borderRadius:a.addUnit(x.radius)})},[x.loading?(n.openBlock(),n.createElementBlock("view",{key:0,class:"u-swiper__loading"},[n.createVNode(s,{mode:"circle"})])):(n.openBlock(),n.createElementBlock("swiper",{key:1,class:"u-swiper__wrapper",style:n.normalizeStyle({flex:"1",height:a.addUnit(x.height)}),onChange:t[0]||(t[0]=(...n)=>a.change&&a.change(...n)),circular:x.circular,interval:x.interval,duration:x.duration,autoplay:x.autoplay,current:x.current,currentItemId:x.currentItemId,previousMargin:a.addUnit(x.previousMargin),nextMargin:a.addUnit(x.nextMargin),acceleration:x.acceleration,displayMultipleItems:x.list.length>0?x.displayMultipleItems:0,easingFunction:x.easingFunction},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(x.list,((e,t)=>(n.openBlock(),n.createElementBlock("swiper-item",{class:"u-swiper__wrapper__item",key:t},[n.renderSlot(x.$slots,"default",{item:e,index:t},(()=>[n.createElementVNode("view",{class:"u-swiper__wrapper__item__wrapper",style:n.normalizeStyle([a.itemStyle(t)])},["image"===a.getItemType(e)?(n.openBlock(),n.createElementBlock("image",{key:0,class:"u-swiper__wrapper__item__wrapper__image",src:a.getSource(e),mode:x.imgMode,onClick:n=>a.clickHandler(t),style:n.normalizeStyle({height:a.addUnit(x.height),borderRadius:a.addUnit(x.radius)})},null,12,["src","mode","onClick"])):n.createCommentVNode("",!0),"video"===a.getItemType(e)?(n.openBlock(),n.createElementBlock("video",{key:1,class:"u-swiper__wrapper__item__wrapper__video",id:`video-${t}`,"enable-progress-gesture":!1,src:a.getSource(e),poster:a.getPoster(e),title:x.showTitle&&a.testObject(e)&&e.title?e.title:"",style:n.normalizeStyle({height:a.addUnit(x.height)}),controls:"",onClick:n=>a.clickHandler(t)},null,12,["id","src","poster","title","onClick"])):n.createCommentVNode("",!0),x.showTitle&&a.testObject(e)&&e.title&&a.testImage(a.getSource(e))?(n.openBlock(),n.createElementBlock("view",{key:2,class:"u-swiper__wrapper__item__wrapper__title"},[n.createElementVNode("text",{class:"u-line-1"},n.toDisplayString(e.title),1)])):n.createCommentVNode("",!0)],4)]),!0)])))),128))],44,["circular","interval","duration","autoplay","current","currentItemId","previousMargin","nextMargin","acceleration","displayMultipleItems","easingFunction"])),n.createElementVNode("view",{class:"u-swiper__indicator",style:n.normalizeStyle([a.addStyle(x.indicatorStyle)])},[n.renderSlot(x.$slots,"indicator",{},(()=>[x.loading||!x.indicator||x.showTitle?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(r,{key:0,indicatorActiveColor:x.indicatorActiveColor,indicatorInactiveColor:x.indicatorInactiveColor,length:x.list.length,current:o.currentIndex,indicatorMode:x.indicatorMode},null,8,["indicatorActiveColor","indicatorInactiveColor","length","current","indicatorMode"]))]),!0)],4)],4)}],["__scopeId","data-v-9421bac9"]]),Sx=Object.freeze(Object.defineProperty({__proto__:null,default:Nx},Symbol.toStringTag,{value:"Module"}));const Cx=h({name:"UniGridItem",inject:["grid"],props:{index:{type:Number,default:0}},data:()=>({column:0,showBorder:!0,square:!0,highlight:!0,left:0,top:0,openNum:2,width:0,borderColor:"#e5e5e5"}),created(){this.column=this.grid.column,this.showBorder=this.grid.showBorder,this.square=this.grid.square,this.highlight=this.grid.highlight,this.top=0===this.hor?this.grid.hor:this.hor,this.left=0===this.ver?this.grid.ver:this.ver,this.borderColor=this.grid.borderColor,this.grid.children.push(this),this.width=this.grid.width},beforeDestroy(){this.grid.children.forEach(((n,x)=>{n===this&&this.grid.children.splice(x,1)}))},methods:{_onClick(){this.grid.change({detail:{index:this.index}})}}},[["render",function(x,e,t,i,l,o){return l.width?(n.openBlock(),n.createElementBlock("view",{key:0,style:n.normalizeStyle("width:"+l.width+";"+(l.square?"height:"+l.width:"")),class:"uni-grid-item"},[n.createElementVNode("view",{class:n.normalizeClass([{"uni-grid-item--border":l.showBorder,"uni-grid-item--border-top":l.showBorder&&t.indexo._onClick&&o._onClick(...n))},[n.renderSlot(x.$slots,"default",{},void 0,!0)],6)],4)):n.createCommentVNode("",!0)}],["__scopeId","data-v-2511947d"]]),qx={name:"UniGrid",emits:["change"],props:{column:{type:Number,default:3},showBorder:{type:Boolean,default:!0},borderColor:{type:String,default:"#D2D2D2"},square:{type:Boolean,default:!0},highlight:{type:Boolean,default:!0}},provide(){return{grid:this}},data:()=>({elId:`Uni_${Math.ceil(1e6*Math.random()).toString(36)}`,width:0}),created(){this.children=[]},mounted(){this.$nextTick((()=>{this.init()}))},methods:{init(){setTimeout((()=>{this._getSize((n=>{this.children.forEach(((x,e)=>{x.width=n}))}))}),50)},change(n){this.$emit("change",n)},_getSize(n){uni.createSelectorQuery().in(this).select(`#${this.elId}`).boundingClientRect().exec((x=>{this.width=parseInt((x[0].width-1)/this.column)+"px",n(this.width)}))}}};const Tx=h(qx,[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:"uni-grid-wrap"},[n.createElementVNode("view",{id:l.elId,ref:"uni-grid",class:n.normalizeClass(["uni-grid",{"uni-grid--border":t.showBorder}]),style:n.normalizeStyle({"border-left-color":t.borderColor})},[n.renderSlot(x.$slots,"default",{},void 0,!0)],14,["id"])])}],["__scopeId","data-v-a6acbddc"]]),Vx={props:{show:{type:Boolean,default:()=>An.overlay.show},zIndex:{type:[String,Number],default:()=>An.overlay.zIndex},duration:{type:[String,Number],default:()=>An.overlay.duration},opacity:{type:[String,Number],default:()=>An.overlay.opacity}}};const Ax=h({name:"u-overlay",mixins:[Dn,On,Vx],computed:{overlayStyle(){return rn({position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`},on(this.customStyle))}},emits:["click"],methods:{clickHandler(){this.$emit("click")}}},[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("u-transition"),Gn);return n.openBlock(),n.createBlock(s,{show:x.show,"custom-class":"u-overlay",duration:x.duration,"custom-style":a.overlayStyle,onClick:a.clickHandler,onTouchmove:n.withModifiers(x.noop,["stop","prevent"])},{default:n.withCtx((()=>[n.renderSlot(x.$slots,"default",{},void 0,!0)])),_:3},8,["show","duration","custom-style","onClick","onTouchmove"])}],["__scopeId","data-v-768257d0"]]),Ix=Object.freeze(Object.defineProperty({__proto__:null,default:Ax},Symbol.toStringTag,{value:"Module"})),Bx={__name:"GlobalDialog",emits:["confirm"],setup(e,{emit:t}){const i=n.ref(!1),l=n.ref("消息通知"),o=n.ref(""),a=n.ref("我知道了"),s=n.ref("center"),r=n.ref("20rpx"),c=n.ref(null),u=n.ref(0),h=n.ref(!1);function g(n={}){l.value=n.title||"消息通知",o.value=n.content||"",a.value=n.confirmText||"我知道了",s.value="top"===n.position?"top":"center",r.value=n.offsetTop||"20rpx",i.value=!0,c.value&&clearTimeout(c.value),c.value=setTimeout((()=>{d()}),5e3)}function d(){i.value=!1,c.value&&(clearTimeout(c.value),c.value=null)}function p(n){const x=n.changedTouches?n.changedTouches[0]:n.touches?n.touches[0]:null;x&&(u.value=x.clientY||x.pageY||0,h.value=!1)}function m(n){const x=n.changedTouches?n.changedTouches[0]:n.touches?n.touches[0]:null;if(!x)return;(x.clientY||x.pageY||0)-u.value<-60&&(h.value=!0)}function y(){h.value&&d()}n.onMounted((()=>{x("log","at components/GlobalDialog.vue:87","[GlobalDialog] mounted"),uni.$on("global-dialog:show",g),uni.$on("global-dialog:hide",d),uni.$showGlobalDialog=(n={})=>{x("log","at components/GlobalDialog.vue:93","[GlobalDialog] uni.$showGlobalDialog called",n),uni.$emit("global-dialog:show",n)}})),n.onBeforeUnmount((()=>{uni.$off("global-dialog:show",g),uni.$off("global-dialog:hide",d)}));const f=n.computed((()=>"top"===s.value?"is-top":"is-center")),b=n.computed((()=>"top"===s.value?{paddingTop:r.value}:{}));return(x,e)=>n.withDirectives((n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["gd-mask",f.value]),style:n.normalizeStyle(b.value)},[n.createElementVNode("view",{class:"gd-dialog",onTouchstart:p,onTouchmove:m,onTouchend:y},[n.createElementVNode("view",{class:"gd-title"},n.toDisplayString(l.value),1),n.createElementVNode("scroll-view",{class:"gd-content","scroll-y":""},[n.createElementVNode("text",{class:"gd-text"},n.toDisplayString(o.value),1)])],32)],6)),[[n.vShow,i.value]])}},Dx=h(Bx,[["__scopeId","data-v-eb53c17e"]]),Mx={__name:"tabBar",props:{},emits:["tabChange"],setup(e,{expose:t,emit:l}){const a=n.ref(0),s=n.reactive([{icon:"/static/home_nor.png",activeIcon:"/static/home_sel.png",text:"首页",color:"#999999",activeColor:"#007aff",badge:0,showRedDot:!1,pagePath:"/pages/index/index?from=push"},{icon:"/static/classroom.png",activeIcon:"/static/classroomOn.png",text:"患教学堂",color:"#999999",activeColor:"#007aff",badge:0,showRedDot:!1,pagePath:"/pages/patientClass/patientClass"},{icon:"/static/live.png",activeIcon:"/static/liveOn.png",text:"会议·直播",color:"#999999",activeColor:"#007aff",badge:0,showRedDot:!1,pagePath:"/pages/live/live"},{icon:"/static/education.png",activeIcon:"/static/educationOn.png",text:"继续教育",color:"#999999",activeColor:"#007aff",badge:0,showRedDot:!1,pagePath:"/pages/education/education"},{icon:"/static/my.png",activeIcon:"/static/myOn.png",text:"我的",color:"#999999",activeColor:"#007aff",badge:0,showRedDot:!1,pagePath:"/pages/my/my"}]);return t({setBadge:(n,x)=>{n>=0&&n{n>=0&&n{n>=0&&n{n>=0&&n({index:a.value,item:s[a.value]}),updateTabList:n=>{Array.isArray(n)&&s.splice(0,s.length,...n)},currentTab:a,tabList:s}),o((()=>{n.nextTick((()=>{const n=getCurrentPages(),x="/"+n[n.length-1].route,e=s.findIndex((n=>n.pagePath===x));-1!==e&&(a.value=e)}))})),i((()=>{x("log","at components/tabBar/tabBar.vue:249","Tabbar onShow - 当前tab:",a.value)})),n.onMounted((()=>{x("log","at components/tabBar/tabBar.vue:254","Tabbar组件已挂载")})),(e,t)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"custom-tabbar"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(s,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["tabbar-item",{active:2===t}]),key:t,onClick:n=>((n,e)=>{if(a.value===n)return;let t="home";0==n?t="home":1==n?t="patientClass":2==n?t="live":3==n?t="education":4==n&&(t="mine");try{uni.sendNativeEvent("goTabbarPage",{msg:t},(n=>{x("log","at components/tabBar/tabBar.vue:143",n)}))}catch(Rw){x("log","at components/tabBar/tabBar.vue:146",Rw)}plus.runtime.quit()})(t)},[n.createElementVNode("view",{class:"icon-container"},[n.createElementVNode("image",{class:"img",src:a.value===t?e.activeIcon:e.icon,alt:""},null,8,["src"])]),n.createElementVNode("text",{class:n.normalizeClass(["tab-text",{active:a.value===t}])},n.toDisplayString(e.text),3)],10,["onClick"])))),128))]),n.createVNode(Dx)],64))}},Ox=h(Mx,[["__scopeId","data-v-e170cf1f"]]),Rx=h({__name:"dialog",props:{visible:{type:Boolean,default:!1},titleColor:{type:String,default:"#8B2316"},title:{type:String,default:"温馨提示"},content:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确定"},showCancel:{type:Boolean,default:!1},showConfirm:{type:Boolean,default:!1},closeOnOverlay:{type:Boolean,default:!0}},emits:["close","confirm"],setup(e,{emit:t}){const i=n=>{if(x("log","at components/dialog/dialog.vue:100",n),!n)return[];const e=n.split("
").filter((n=>""!==n.trim()));return x("log","at components/dialog/dialog.vue:104","格式化后的内容数组:",e),e},l=t,o=()=>{l("close")},a=()=>{l("confirm"),l("close")};return(x,t)=>e.visible?(n.openBlock(),n.createElementBlock("view",{key:0,class:"dialog-overlay",onClick:t[1]||(t[1]=(...n)=>x.handleOverlayClick&&x.handleOverlayClick(...n))},[n.createElementVNode("view",{class:"dialog-container",onClick:t[0]||(t[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"dialog-header"},[n.createElementVNode("text",{class:"dialog-title",style:n.normalizeStyle({color:e.titleColor})},n.toDisplayString(e.title),5)]),n.createElementVNode("view",{class:"dialog-content"},[n.renderSlot(x.$slots,"content",{},(()=>[n.createElementVNode("view",{class:"default-content"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i(e.content),(x=>(n.openBlock(),n.createElementBlock("view",{key:x},n.toDisplayString(x),1)))),128))])]),!0)]),e.showCancel?(n.openBlock(),n.createElementBlock("view",{key:0,class:"dialog-footer cancelFooter"},[n.createElementVNode("view",{class:"dialog-btn",onClick:o},[n.createElementVNode("text",{class:"btn-text"},n.toDisplayString(e.cancelText),1)])])):e.showConfirm?(n.openBlock(),n.createElementBlock("view",{key:1,class:"dialog-footer okFooter"},[n.createElementVNode("view",{class:"dialog-btn okBtn",onClick:a},[n.createElementVNode("text",{class:"btn-text"},n.toDisplayString(e.confirmText),1)])])):(n.openBlock(),n.createElementBlock("view",{key:2,class:"dialog-footer"},[n.createElementVNode("view",{class:"dialog-btn cancel",onClick:o},[n.createElementVNode("text",{class:"btn-text"},n.toDisplayString(e.cancelText),1)]),n.createElementVNode("view",{class:"dialog-btn confirm",onClick:a},[n.createElementVNode("text",{class:"btn-text"},n.toDisplayString(e.confirmText),1)])]))])])):n.createCommentVNode("",!0)}},[["__scopeId","data-v-311bfb26"]]);function Px(n){for(var x=arguments.length,e=new Array(x>1?x-1:0),t=1;tn.length)&&(x=n.length);for(var e=0,t=Array(x);e=n.length?{done:!0}:{done:!1,value:n[t++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function we(){return we=Object.assign?Object.assign.bind():function(n){for(var x=1;xt&&(t=a.dependenciesState_)}e.length=i,n.newObserving_=null,l=x.length;for(;l--;){var s=x[l];0===s.diffValue&&Xt(s,n),s.diffValue=0}for(;i--;){var r=e[i];1===r.diffValue&&(r.diffValue=0,Jt(r,n))}t!==Vt.UP_TO_DATE_&&(n.dependenciesState_=t,n.onBecomeStale_())}(n),Yt(t),i}function Lt(n){var x=n.observing_;n.observing_=[];for(var e=x.length;e--;)Xt(x[e],n);n.dependenciesState_=Vt.NOT_TRACKING_}function Ft(n){var x=Ut();try{return n()}finally{$t(x)}}function Ut(){var n=Qt.trackingDerivation;return Qt.trackingDerivation=null,n}function $t(n){Qt.trackingDerivation=n}function Ht(n){var x=Qt.allowStateReads;return Qt.allowStateReads=n,x}function Yt(n){Qt.allowStateReads=n}function Gt(n){if(n.dependenciesState_!==Vt.UP_TO_DATE_){n.dependenciesState_=Vt.UP_TO_DATE_;for(var x=n.observing_,e=x.length;e--;)x[e].lowestObserverState_=Vt.UP_TO_DATE_}}var Wt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Kt=!0,Qt=function(){var n=Fx();return n.__mobxInstanceCount>0&&!n.__mobxGlobals&&(Kt=!1),n.__mobxGlobals&&n.__mobxGlobals.version!==(new Wt).version&&(Kt=!1),Kt?n.__mobxGlobals?(n.__mobxInstanceCount+=1,n.__mobxGlobals.UNCHANGED||(n.__mobxGlobals.UNCHANGED={}),n.__mobxGlobals):(n.__mobxInstanceCount=1,n.__mobxGlobals=new Wt):(setTimeout((function(){Px(35)}),1),new Wt)}();function Jt(n,x){n.observers_.add(x),n.lowestObserverState_>x.dependenciesState_&&(n.lowestObserverState_=x.dependenciesState_)}function Xt(n,x){n.observers_.delete(x),0===n.observers_.size&&Zt(n)}function Zt(n){!1===n.isPendingUnobservation&&(n.isPendingUnobservation=!0,Qt.pendingUnobservations.push(n))}function ni(){Qt.inBatch++}function xi(){if(0==--Qt.inBatch){li();for(var n=Qt.pendingUnobservations,x=0;x0&&Zt(n),!1)}function ti(n){n.lowestObserverState_!==Vt.STALE_&&(n.lowestObserverState_=Vt.STALE_,n.observers_.forEach((function(n){n.dependenciesState_===Vt.UP_TO_DATE_&&n.onBecomeStale_(),n.dependenciesState_=Vt.STALE_})))}var ii=function(){function n(n,x,e,t){void 0===n&&(n="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Vt.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=It.NONE,this.name_=n,this.onInvalidate_=x,this.errorHandler_=e,this.requiresObservable_=t}var e=n.prototype;return e.onBecomeStale_=function(){this.schedule_()},e.schedule_=function(){this.isScheduled||(this.isScheduled=!0,Qt.pendingReactions.push(this),li())},e.runReaction_=function(){if(!this.isDisposed){ni(),this.isScheduled=!1;var n=Qt.trackingContext;if(Qt.trackingContext=this,Rt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(Rw){this.reportExceptionInDerivation_(Rw)}}Qt.trackingContext=n,xi()}},e.track=function(n){if(!this.isDisposed){ni(),this.isRunning=!0;var x=Qt.trackingContext;Qt.trackingContext=this;var e=Pt(this,n,void 0);Qt.trackingContext=x,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&Lt(this),Ot(e)&&this.reportExceptionInDerivation_(e.cause),xi()}},e.reportExceptionInDerivation_=function(n){var e=this;if(this.errorHandler_)this.errorHandler_(n,this);else{if(Qt.disableErrorBoundaries)throw n;var t="[mobx] uncaught error in '"+this+"'";Qt.suppressReactionErrors||x("error","at node_modules/mobx/dist/mobx.esm.js:2522",t,n),Qt.globalReactionErrorHandlers.forEach((function(x){return x(n,e)}))}},e.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(ni(),Lt(this),xi()))},e.getDisposer_=function(n){var x=this,e=function e(){x.dispose(),null==n||null==n.removeEventListener||n.removeEventListener("abort",e)};return null==n||null==n.addEventListener||n.addEventListener("abort",e),e[Ce]=this,e},e.toString=function(){return"Reaction["+this.name_+"]"},e.trace=function(n){},be(n,[{key:"isDisposed",get:function(){return pe(this.flags_,n.isDisposedMask_)},set:function(x){this.flags_=me(this.flags_,n.isDisposedMask_,x)}},{key:"isScheduled",get:function(){return pe(this.flags_,n.isScheduledMask_)},set:function(x){this.flags_=me(this.flags_,n.isScheduledMask_,x)}},{key:"isTrackPending",get:function(){return pe(this.flags_,n.isTrackPendingMask_)},set:function(x){this.flags_=me(this.flags_,n.isTrackPendingMask_,x)}},{key:"isRunning",get:function(){return pe(this.flags_,n.isRunningMask_)},set:function(x){this.flags_=me(this.flags_,n.isRunningMask_,x)}},{key:"diffValue",get:function(){return pe(this.flags_,n.diffValueMask_)?1:0},set:function(x){this.flags_=me(this.flags_,n.diffValueMask_,1===x)}}])}();ii.isDisposedMask_=1,ii.isScheduledMask_=2,ii.isTrackPendingMask_=4,ii.isRunningMask_=8,ii.diffValueMask_=16;function li(){Qt.inBatch>0||Qt.isRunningReactions||oi()}function oi(){Qt.isRunningReactions=!0;for(var n=Qt.pendingReactions,e=0;n.length>0;){100==++e&&(x("error","at node_modules/mobx/dist/mobx.esm.js:2650","[mobx] cycle in reaction: "+n[0]),n.splice(0));for(var t=n.splice(0),i=0,l=t.length;i",x,n):ne(e)?Et(x,e,n):Se(e)?(n?hi:ci).decorate_20223_(x,e):xe(e)?Ne(x,e,n?hi:ci):xe(x)?Ee(Me(n?ri:si,{name:x,autoAction:n})):void 0}}var pi=di(!1);Object.assign(pi,ci);var mi=di(!0);function yi(n){return ne(n)&&!0===n.isMobxAction}function fi(n,x){var e,t,i,l;void 0===x&&(x=Wx);var o,a=null!=(e=null==(t=x)?void 0:t.name)?e:"Autorun";if(!x.scheduler&&!x.delay)o=new ii(a,(function(){this.track(c)}),x.onError,x.requiresObservable);else{var s=function(n){return n.scheduler?n.scheduler:n.delay?function(x){return setTimeout(x,n.delay)}:bi}(x),r=!1;o=new ii(a,(function(){r||(r=!0,s((function(){r=!1,o.isDisposed||o.track(c)})))}),x.onError,x.requiresObservable)}function c(){n(o)}return null!=(i=x)&&null!=(i=i.signal)&&i.aborted||o.schedule_(),o.getDisposer_(null==(l=x)?void 0:l.signal)}Object.assign(mi,hi),pi.bound=Ee(ui),mi.bound=Ee(gi);var bi=function(n){return n()};var vi="onBO";function wi(n,x,e){return zi("onBUO",n,x,e)}function zi(n,x,e,t){var i="function"==typeof t?Nl(x,e):Nl(x),l=ne(t)?t:e,o=n+"L";return i[o]?i[o].add(l):i[o]=new Set([l]),function(){var n=i[o];n&&(n.delete(l),0===n.size&&delete i[o])}}var ji=0;function ki(){this.message="FLOW_CANCELLED"}ki.prototype=Object.create(Error.prototype);var _i=Fe("flow"),Ei=Fe("flow.bound",{bound:!0}),Ni=Object.assign((function(n,x){if(Se(x))return _i.decorate_20223_(n,x);if(xe(x))return Ne(n,x,_i);var e=n,t=e.name||"",i=function(){var n,x=this,i=arguments,l=++ji,o=pi(t+" - runid: "+l+" - init",e).apply(x,i),a=void 0,s=new Promise((function(x,e){var i=0;function s(n){var x;a=void 0;try{x=pi(t+" - runid: "+l+" - yield "+i++,o.next).call(o,n)}catch(Rw){return e(Rw)}c(x)}function r(n){var x;a=void 0;try{x=pi(t+" - runid: "+l+" - yield "+i++,o.throw).call(o,n)}catch(Rw){return e(Rw)}c(x)}function c(n){if(!ne(null==n?void 0:n.then))return n.done?x(n.value):(a=Promise.resolve(n.value)).then(s,r);n.then(c,e)}n=e,s(void 0)}));return s.cancel=pi(t+" - runid: "+l+" - cancel",(function(){try{a&&Si(a);var x=o.return(void 0),e=Promise.resolve(x.value);e.then(Zx,Zx),Si(e),n(new ki)}catch(Rw){n(Rw)}})),s};return i.isMobXFlow=!0,i}),_i);function Si(n){ne(n.cancel)&&n.cancel()}function Ci(n){return!0===(null==n?void 0:n.isMobXFlow)}function qi(n){return function(n,x){return!!n&&(void 0!==x?!!dl(n)&&n[Ce].values_.has(x):dl(n)||!!n[Ce]||Te(n)||ai(n)||Dt(n))}(n)}function Ti(n,x){void 0===x&&(x=void 0),ni();try{return n.apply(x)}finally{xi()}}function Vi(n){return n[Ce]}Ni.bound=Ee(Ei);var Ai={has:function(n,x){return Vi(n).has_(x)},get:function(n,x){return Vi(n).get_(x)},set:function(n,x,e){var t;return!!xe(x)&&(null==(t=Vi(n).set_(x,e,!0))||t)},deleteProperty:function(n,x){var e;return!!xe(x)&&(null==(e=Vi(n).delete_(x,!0))||e)},defineProperty:function(n,x,e){var t;return null==(t=Vi(n).defineProperty_(x,e))||t},ownKeys:function(n){return Vi(n).ownKeys_()},preventExtensions:function(n){Px(13)}};function Ii(n){return void 0!==n.interceptors_&&n.interceptors_.length>0}function Bi(n,x){var e=n.interceptors_||(n.interceptors_=[]);return e.push(x),Xx((function(){var n=e.indexOf(x);-1!==n&&e.splice(n,1)}))}function Di(n,x){var e=Ut();try{for(var t=[].concat(n.interceptors_||[]),i=0,l=t.length;i0}function Oi(n,x){var e=n.changeListeners_||(n.changeListeners_=[]);return e.push(x),Xx((function(){var n=e.indexOf(x);-1!==n&&e.splice(n,1)}))}function Ri(n,x){var e=Ut(),t=n.changeListeners_;if(t){for(var i=0,l=(t=t.slice()).length;i0?n.map(this.dehancer):n},e.intercept_=function(n){return Bi(this,n)},e.observe_=function(n,x){return void 0===x&&(x=!1),x&&n({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Oi(this,n)},e.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},e.setArrayLength_=function(n){("number"!=typeof n||isNaN(n)||n<0)&&Px("Out of range: "+n);var x=this.values_.length;if(n!==x)if(n>x){for(var e=new Array(n-x),t=0;t0&&_l(n+x+1)},e.spliceWithArray_=function(n,x,e){var t=this;this.atom_;var i=this.values_.length;if(void 0===n?n=0:n>i?n=i:n<0&&(n=Math.max(0,i+n)),x=1===arguments.length?i-n:null==x?0:Math.max(0,Math.min(x,i-n)),void 0===e&&(e=Gx),Ii(this)){var l=Di(this,{object:this.proxy_,type:Pi,index:n,removedCount:x,added:e});if(!l)return Gx;x=l.removedCount,e=l.added}if(e=0===e.length?e:e.map((function(n){return t.enhancer_(n,void 0)})),this.legacyMode_){var o=e.length-x;this.updateArrayLength_(i,o)}var a=this.spliceItemsIntoValues_(n,x,e);return 0===x&&0===e.length||this.notifyArraySplice_(n,e,a),this.dehanceValues_(a)},e.spliceItemsIntoValues_=function(n,x,e){var t;if(e.length<1e4)return(t=this.values_).splice.apply(t,[n,x].concat(e));var i=this.values_.slice(n,n+x),l=this.values_.slice(n+x);this.values_.length+=e.length-x;for(var o=0;o=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[n]);x("warn","at node_modules/mobx/dist/mobx.esm.js:3986","[mobx] Out of bounds read: "+n)},e.set_=function(n,x){var e=this.values_;if(this.legacyMode_&&n>e.length&&Px(17,n,e.length),n2?e-2:0),i=2;i-1&&(this.splice(e,1),!0)}};function Yi(n,x){"function"==typeof Array.prototype[n]&&(Hi[n]=x(n))}function Gi(n){return function(){var x=this[Ce];x.atom_.reportObserved();var e=x.dehanceValues_(x.values_);return e[n].apply(e,arguments)}}function Wi(n){return function(x,e){var t=this,i=this[Ce];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[n]((function(n,i){return x.call(e,n,i,t)}))}}function Ki(n){return function(){var x=this,e=this[Ce];e.atom_.reportObserved();var t=e.dehanceValues_(e.values_),i=arguments[0];return arguments[0]=function(n,e,t){return i(n,e,t,x)},t[n].apply(t,arguments)}}Yi("at",Gi),Yi("concat",Gi),Yi("flat",Gi),Yi("includes",Gi),Yi("indexOf",Gi),Yi("join",Gi),Yi("lastIndexOf",Gi),Yi("slice",Gi),Yi("toString",Gi),Yi("toLocaleString",Gi),Yi("toSorted",Gi),Yi("toSpliced",Gi),Yi("with",Gi),Yi("every",Wi),Yi("filter",Wi),Yi("find",Wi),Yi("findIndex",Wi),Yi("findLast",Wi),Yi("findLastIndex",Wi),Yi("flatMap",Wi),Yi("forEach",Wi),Yi("map",Wi),Yi("some",Wi),Yi("toReversed",Wi),Yi("reduce",Ki),Yi("reduceRight",Ki);var Qi=ae("ObservableArrayAdministration",Ui);function Ji(n){return ee(n)&&Qi(n[Ce])}var Xi={},Zi="add",nl="delete",xl=function(){function n(n,x,e){var t=this;void 0===x&&(x=Ie),void 0===e&&(e="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Ce]=Xi,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=x,this.name_=e,ne(Map)||Px(18),ql((function(){t.keysAtom_=Ve("ObservableMap.keys()"),t.data_=new Map,t.hasMap_=new Map,n&&t.merge(n)}))}var x=n.prototype;return x.has_=function(n){return this.data_.has(n)},x.has=function(n){var x=this;if(!Qt.trackingDerivation)return this.has_(n);var e=this.hasMap_.get(n);if(!e){var t=e=new qt(this.has_(n),Be,"ObservableMap.key?",!1);this.hasMap_.set(n,t),wi(t,(function(){return x.hasMap_.delete(n)}))}return e.get()},x.set=function(n,x){var e=this.has_(n);if(Ii(this)){var t=Di(this,{type:e?Li:Zi,object:this,newValue:x,name:n});if(!t)return this;x=t.newValue}return e?this.updateValue_(n,x):this.addValue_(n,x),this},x.delete=function(n){var x=this;if((this.keysAtom_,Ii(this))&&!Di(this,{type:nl,object:this,name:n}))return!1;if(this.has_(n)){var e=Mi(this),t=e?{observableKind:"map",debugObjectName:this.name_,type:nl,object:this,oldValue:this.data_.get(n).value_,name:n}:null;return Ti((function(){var e;x.keysAtom_.reportChanged(),null==(e=x.hasMap_.get(n))||e.setNewValue_(!1),x.data_.get(n).setNewValue_(void 0),x.data_.delete(n)})),e&&Ri(this,t),!0}return!1},x.updateValue_=function(n,x){var e=this.data_.get(n);if((x=e.prepareNewValue_(x))!==Qt.UNCHANGED){var t=Mi(this),i=t?{observableKind:"map",debugObjectName:this.name_,type:Li,object:this,oldValue:e.value_,name:n,newValue:x}:null;e.setNewValue_(x),t&&Ri(this,i)}},x.addValue_=function(n,x){var e=this;this.keysAtom_,Ti((function(){var t,i=new qt(x,e.enhancer_,"ObservableMap.key",!1);e.data_.set(n,i),x=i.value_,null==(t=e.hasMap_.get(n))||t.setNewValue_(!0),e.keysAtom_.reportChanged()}));var t=Mi(this),i=t?{observableKind:"map",debugObjectName:this.name_,type:Zi,object:this,name:n,newValue:x}:null;t&&Ri(this,i)},x.get=function(n){return this.has(n)?this.dehanceValue_(this.data_.get(n).get()):this.dehanceValue_(void 0)},x.dehanceValue_=function(n){return void 0!==this.dehancer?this.dehancer(n):n},x.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},x.values=function(){var n=this,x=this.keys();return tl({next:function(){var e=x.next(),t=e.done,i=e.value;return{done:t,value:t?void 0:n.get(i)}}})},x.entries=function(){var n=this,x=this.keys();return tl({next:function(){var e=x.next(),t=e.done,i=e.value;return{done:t,value:t?void 0:[i,n.get(i)]}}})},x[Symbol.iterator]=function(){return this.entries()},x.forEach=function(n,x){for(var e,t=ve(this);!(e=t()).done;){var i=e.value,l=i[0],o=i[1];n.call(x,o,l,this)}},x.merge=function(n){var x=this;return el(n)&&(n=new Map(n)),Ti((function(){var e,t,i;te(n)?function(n){var x=Object.keys(n);if(!ce)return x;var e=Object.getOwnPropertySymbols(n);return e.length?[].concat(x,e.filter((function(x){return Yx.propertyIsEnumerable.call(n,x)}))):x}(n).forEach((function(e){return x.set(e,n[e])})):Array.isArray(n)?n.forEach((function(n){var e=n[0],t=n[1];return x.set(e,t)})):se(n)?(e=n,t=Object.getPrototypeOf(e),i=Object.getPrototypeOf(t),null!==Object.getPrototypeOf(i)&&Px(19,n),n.forEach((function(n,e){return x.set(e,n)}))):null!=n&&Px(20,n)})),this},x.clear=function(){var n=this;Ti((function(){Ft((function(){for(var x,e=ve(n.keys());!(x=e()).done;){var t=x.value;n.delete(t)}}))}))},x.replace=function(n){var x=this;return Ti((function(){for(var e,t=function(n){if(se(n)||el(n))return n;if(Array.isArray(n))return new Map(n);if(te(n)){var x=new Map;for(var e in n)x.set(e,n[e]);return x}return Px(21,n)}(n),i=new Map,l=!1,o=ve(x.data_.keys());!(e=o()).done;){var a=e.value;if(!t.has(a))if(x.delete(a))l=!0;else{var s=x.data_.get(a);i.set(a,s)}}for(var r,c=ve(t.entries());!(r=c()).done;){var u=r.value,h=u[0],g=u[1],d=x.data_.has(h);if(x.set(h,g),x.data_.has(h)){var p=x.data_.get(h);i.set(h,p),d||(l=!0)}}if(!l)if(x.data_.size!==i.size)x.keysAtom_.reportChanged();else for(var m=x.data_.keys(),y=i.keys(),f=m.next(),b=y.next();!f.done;){if(f.value!==b.value){x.keysAtom_.reportChanged();break}f=m.next(),b=y.next()}x.data_=i})),this},x.toString=function(){return"[object ObservableMap]"},x.toJSON=function(){return Array.from(this)},x.observe_=function(n,x){return Oi(this,n)},x.intercept_=function(n){return Bi(this,n)},be(n,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),el=ae("ObservableMap",xl);function tl(n){return n[Symbol.toStringTag]="MapIterator",Ml(n)}var il={},ll=function(){function n(n,x,e){var t=this;void 0===x&&(x=Ie),void 0===e&&(e="ObservableSet"),this.name_=void 0,this[Ce]=il,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=e,ne(Set)||Px(22),this.enhancer_=function(n,t){return x(n,t,e)},ql((function(){t.atom_=Ve(t.name_),n&&t.replace(n)}))}var x=n.prototype;return x.dehanceValue_=function(n){return void 0!==this.dehancer?this.dehancer(n):n},x.clear=function(){var n=this;Ti((function(){Ft((function(){for(var x,e=ve(n.data_.values());!(x=e()).done;){var t=x.value;n.delete(t)}}))}))},x.forEach=function(n,x){for(var e,t=ve(this);!(e=t()).done;){var i=e.value;n.call(x,i,i,this)}},x.add=function(n){var x=this;if(this.atom_,Ii(this)){var e=Di(this,{type:Zi,object:this,newValue:n});if(!e)return this;n=e.newValue}if(!this.has(n)){Ti((function(){x.data_.add(x.enhancer_(n,void 0)),x.atom_.reportChanged()}));var t=Mi(this),i=t?{observableKind:"set",debugObjectName:this.name_,type:Zi,object:this,newValue:n}:null;t&&Ri(this,i)}return this},x.delete=function(n){var x=this;if(Ii(this)&&!Di(this,{type:nl,object:this,oldValue:n}))return!1;if(this.has(n)){var e=Mi(this),t=e?{observableKind:"set",debugObjectName:this.name_,type:nl,object:this,oldValue:n}:null;return Ti((function(){x.atom_.reportChanged(),x.data_.delete(n)})),e&&Ri(this,t),!0}return!1},x.has=function(n){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(n))},x.entries=function(){var n=this.values();return al({next:function(){var x=n.next(),e=x.value,t=x.done;return t?{value:void 0,done:t}:{value:[e,e],done:t}}})},x.keys=function(){return this.values()},x.values=function(){this.atom_.reportObserved();var n=this,x=this.data_.values();return al({next:function(){var e=x.next(),t=e.value,i=e.done;return i?{value:void 0,done:i}:{value:n.dehanceValue_(t),done:i}}})},x.intersection=function(n){return re(n)&&!ol(n)?n.intersection(this):new Set(this).intersection(n)},x.union=function(n){return re(n)&&!ol(n)?n.union(this):new Set(this).union(n)},x.difference=function(n){return new Set(this).difference(n)},x.symmetricDifference=function(n){return re(n)&&!ol(n)?n.symmetricDifference(this):new Set(this).symmetricDifference(n)},x.isSubsetOf=function(n){return new Set(this).isSubsetOf(n)},x.isSupersetOf=function(n){return new Set(this).isSupersetOf(n)},x.isDisjointFrom=function(n){return re(n)&&!ol(n)?n.isDisjointFrom(this):new Set(this).isDisjointFrom(n)},x.replace=function(n){var x=this;return ol(n)&&(n=new Set(n)),Ti((function(){Array.isArray(n)||re(n)?(x.clear(),n.forEach((function(n){return x.add(n)}))):null!=n&&Px("Cannot initialize set from "+n)})),this},x.observe_=function(n,x){return Oi(this,n)},x.intercept_=function(n){return Bi(this,n)},x.toJSON=function(){return Array.from(this)},x.toString=function(){return"[object ObservableSet]"},x[Symbol.iterator]=function(){return this.values()},be(n,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),ol=ae("ObservableSet",ll);function al(n){return n[Symbol.toStringTag]="SetIterator",Ml(n)}var sl=Object.create(null),rl="remove",cl=function(){function n(n,x,e,t){void 0===x&&(x=new Map),void 0===t&&(t=xt),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=n,this.values_=x,this.name_=e,this.defaultAnnotation_=t,this.keysAtom_=new qe("ObservableObject.keys"),this.isPlainObject_=te(this.target_)}var x=n.prototype;return x.getObservablePropValue_=function(n){return this.values_.get(n).get()},x.setObservablePropValue_=function(n,x){var e=this.values_.get(n);if(e instanceof Tt)return e.set(x),!0;if(Ii(this)){var t=Di(this,{type:Li,object:this.proxy_||this.target_,name:n,newValue:x});if(!t)return null;x=t.newValue}if((x=e.prepareNewValue_(x))!==Qt.UNCHANGED){var i=Mi(this),l=i?{type:Li,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:e.value_,name:n,newValue:x}:null;e.setNewValue_(x),i&&Ri(this,l)}return!0},x.get_=function(n){return Qt.trackingDerivation&&!ge(this.target_,n)&&this.has_(n),this.target_[n]},x.set_=function(n,x,e){return void 0===e&&(e=!1),ge(this.target_,n)?this.values_.has(n)?this.setObservablePropValue_(n,x):e?Reflect.set(this.target_,n,x):(this.target_[n]=x,!0):this.extend_(n,{value:x,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,e)},x.has_=function(n){if(!Qt.trackingDerivation)return n in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var x=this.pendingKeys_.get(n);return x||(x=new qt(n in this.target_,Be,"ObservableObject.key?",!1),this.pendingKeys_.set(n,x)),x.get()},x.make_=function(n,x){if(!0===x&&(x=this.defaultAnnotation_),!1!==x){if(!(n in this.target_)){var e;if(null!=(e=this.target_[_e])&&e[n])return;Px(1,x.annotationType_,this.name_+"."+n.toString())}for(var t=this.target_;t&&t!==Yx;){var i=$x(t,n);if(i){var l=x.make_(this,n,i,t);if(0===l)return;if(1===l)break}t=Object.getPrototypeOf(t)}pl(this,x,n)}},x.extend_=function(n,x,e,t){if(void 0===t&&(t=!1),!0===e&&(e=this.defaultAnnotation_),!1===e)return this.defineProperty_(n,x,t);var i=e.extend_(this,n,x,t);return i&&pl(this,e,n),i},x.defineProperty_=function(n,x,e){void 0===e&&(e=!1),this.keysAtom_;try{ni();var t=this.delete_(n);if(!t)return t;if(Ii(this)){var i=Di(this,{object:this.proxy_||this.target_,name:n,type:Zi,newValue:x.value});if(!i)return null;var l=i.newValue;x.value!==l&&(x=we({},x,{value:l}))}if(e){if(!Reflect.defineProperty(this.target_,n,x))return!1}else Hx(this.target_,n,x);this.notifyPropertyAddition_(n,x.value)}finally{xi()}return!0},x.defineObservableProperty_=function(n,x,e,t){void 0===t&&(t=!1),this.keysAtom_;try{ni();var i=this.delete_(n);if(!i)return i;if(Ii(this)){var l=Di(this,{object:this.proxy_||this.target_,name:n,type:Zi,newValue:x});if(!l)return null;x=l.newValue}var o=gl(n),a={configurable:!Qt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:o.get,set:o.set};if(t){if(!Reflect.defineProperty(this.target_,n,a))return!1}else Hx(this.target_,n,a);var s=new qt(x,e,"ObservableObject.key",!1);this.values_.set(n,s),this.notifyPropertyAddition_(n,s.value_)}finally{xi()}return!0},x.defineComputedProperty_=function(n,x,e){void 0===e&&(e=!1),this.keysAtom_;try{ni();var t=this.delete_(n);if(!t)return t;if(Ii(this))if(!Di(this,{object:this.proxy_||this.target_,name:n,type:Zi,newValue:void 0}))return null;x.name||(x.name="ObservableObject.key"),x.context=this.proxy_||this.target_;var i=gl(n),l={configurable:!Qt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(e){if(!Reflect.defineProperty(this.target_,n,l))return!1}else Hx(this.target_,n,l);this.values_.set(n,new Tt(x)),this.notifyPropertyAddition_(n,void 0)}finally{xi()}return!0},x.delete_=function(n,x){if(void 0===x&&(x=!1),this.keysAtom_,!ge(this.target_,n))return!0;if(Ii(this)&&!Di(this,{object:this.proxy_||this.target_,name:n,type:rl}))return null;try{var e;ni();var t,i=Mi(this),l=this.values_.get(n),o=void 0;if(!l&&i)o=null==(t=$x(this.target_,n))?void 0:t.value;if(x){if(!Reflect.deleteProperty(this.target_,n))return!1}else delete this.target_[n];if(l&&(this.values_.delete(n),l instanceof qt&&(o=l.value_),ti(l)),this.keysAtom_.reportChanged(),null==(e=this.pendingKeys_)||null==(e=e.get(n))||e.set(n in this.target_),i){var a={type:rl,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:o,name:n};0,i&&Ri(this,a)}}finally{xi()}return!0},x.observe_=function(n,x){return Oi(this,n)},x.intercept_=function(n){return Bi(this,n)},x.notifyPropertyAddition_=function(n,x){var e,t=Mi(this);if(t){var i=t?{type:Zi,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:n,newValue:x}:null;t&&Ri(this,i)}null==(e=this.pendingKeys_)||null==(e=e.get(n))||e.set(!0),this.keysAtom_.reportChanged()},x.ownKeys_=function(){return this.keysAtom_.reportObserved(),ue(this.target_)},x.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},n}();function ul(n,x){var e;if(ge(n,Ce))return n;var t=null!=(e=null==x?void 0:x.name)?e:"ObservableObject",i=new cl(n,new Map,String(t),function(n){var x;return n?null!=(x=n.defaultDecorator)?x:et(n):void 0}(x));return le(n,Ce,i),n}var hl=ae("ObservableObjectAdministration",cl);function gl(n){return sl[n]||(sl[n]={get:function(){return this[Ce].getObservablePropValue_(n)},set:function(x){return this[Ce].setObservablePropValue_(n,x)}})}function dl(n){return!!ee(n)&&hl(n[Ce])}function pl(n,x,e){var t;null==(t=n.target_[_e])||delete t[e]}var ml,yl,fl=jl(0),bl=function(){var n=!1,x={};return Object.defineProperty(x,"0",{set:function(){n=!0}}),Object.create(x)[0]=1,!1===n}(),vl=0,wl=function(){};ml=wl,yl=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(ml.prototype,yl):void 0!==ml.prototype.__proto__?ml.prototype.__proto__=yl:ml.prototype=yl;var zl=function(n){function x(x,e,t,i){var l;return void 0===t&&(t="ObservableArray"),void 0===i&&(i=!1),l=n.call(this)||this,ql((function(){var n=new Ui(t,e,i,!0);n.proxy_=l,oe(l,Ce,n),x&&x.length&&l.spliceWithArray(0,0,x),bl&&Object.defineProperty(l,"0",fl)})),l}ze(x,n);var e=x.prototype;return e.concat=function(){this[Ce].atom_.reportObserved();for(var n=arguments.length,x=new Array(n),e=0;evl){for(var x=vl;x=0&&e++}n=Bl(n),x=Bl(x);var a="[object Array]"===o;if(!a){if("object"!=typeof n||"object"!=typeof x)return!1;var s=n.constructor,r=x.constructor;if(s!==r&&!(ne(s)&&s instanceof s&&ne(r)&&r instanceof r)&&"constructor"in n&&"constructor"in x)return!1}if(0===e)return!1;e<0&&(e=-1),i=i||[];for(var c=(t=t||[]).length;c--;)if(t[c]===n)return i[c]===x;if(t.push(n),i.push(x),a){if((c=n.length)!==x.length)return!1;for(;c--;)if(!Il(n[c],x[c],e-1,t,i))return!1}else{var u=Object.keys(n),h=u.length;if(Object.keys(x).length!==h)return!1;for(var g=0;g{i&&uni.showLoading({title:"加载中",mask:!0});let s="";s=uni.getStorageSync("AUTH_TOKEN_App");let r={"content-type":l},c={},u=["/manager/getSystemTimeStamp","/expertAPI/smsLogin","/login/mobile","/expertAPI/login","/expertAPI/index","/expertAPI/wechatLogin"],h={...e};if(-1!=u.indexOf(n)){if(-1!=u[4].indexOf(n))if(s){r.Authorization="Bearer "+s;let n=uni.getStorageSync("userInfo");c={mini_version:Pl,version:uni.getStorageSync("app_version"),user_uuid:n.uuid,client_type:"A",timestamp:(new Date).getTime()},h={...e,...c}}else r.Authorization="Bearer "}else if(s){r.Authorization="Bearer "+s;let n=uni.getStorageSync("userInfo");x("log","at utils/request.js:78",n),c={mini_version:Pl,version:uni.getStorageSync("app_version"),user_uuid:n.uuid,client_type:"A",timestamp:(new Date).getTime()+""},h={...e,...c}}return x("log","at utils/request.js:95",h),new Promise((function(e,l){uni.request({data:h,url:-1!=n.indexOf("http")?n:encodeURI(Rl+n),method:t,sslVerify:!1,header:{...r,...o},responseType:a||"text",timeout:1e5,success:async t=>{x("log","at utils/request.js:107",222222222),x("log","at utils/request.js:108",t);var o=t.header.Authorization;o&&uni.setStorageSync("AUTH_TOKEN_App",o),i&&uni.hideLoading(),-1!=n.indexOf("manager/getSystemTimeStamp")?e(t):200==t.data.code||1==t.data.code||"1"==t.data.code||"200"==t.data.code?e(t.data):401==t.data.code||403==t.data.code||405==t.data.code||406==t.data.code||37006==t.data.code||35002==t.data.code?(uni.hideLoading(),uni.sendNativeEvent("getNewToken",{msg:"getNewToken"},(n=>{x("log","at utils/request.js:132","ret数据"),x("log","at utils/request.js:133",n),uni.setStorageSync("AUTH_TOKEN_App",n);let e=getCurrentPages(),t=e.length,i=e[t-1].options,l=[];for(let x in i)l.push(x+"="+i[x]);let o="";l.forEach(((n,x)=>{0!=x&&(o+="&"+n)}));let a="/"+e[t-1].route+"?"+l[0]+o;x("log","at utils/request.js:150","redirectUrl"),x("log","at utils/request.js:151",a),uni.redirectTo({url:a})}))):500==t.data.code?(uni.showToast({title:t.data.message,icon:"none"}),l(t)):-1!=n.indexOf("addOutPatientA")||-1!=n.indexOf("checkVersion")?e(t.data):-1!=n.indexOf("downloadGanDanFile")?(x("log","at utils/request.js:177",t),e(t.data)):35002==t.data.code?(l(t),uni.sendNativeEvent("goTabbarPage",{msg:"home"},(n=>{x("log","at utils/request.js:184",n)})),plus.runtime.quit()):106==t.data.code||202==t.data.code?e(t.data):(uni.showToast({title:t.data.message,icon:"none"}),l(t))},fail:function(n){x("log","at utils/request.js:204",444444444),x("log","at utils/request.js:205",n),"request:fail "===n.errMsg&&msg("请求数据失败!"),l(n.data)}})}))},Fl={expertWxLogin:n=>Ll("/miniprogram/expertLogin",{jscode:n},"get",!0),wxLogin:n=>Ll("/login/wechat/mobile",n,"post",!0),getTimeStamp:()=>Ll("/manager/getSystemTimeStamp",{},"get",!1),mobileLogin:n=>Ll("/login/mobile",n,"post",!0),smsLogin:(n,x)=>Ll("/expertAPI/smsLogin",n,"post",!0,"application/json",x),pwdLogin:n=>Ll("/expertAPI/login",n,"post",!0),getCode:(n,x)=>Ll("/expertAPI/smsSend",n,"post",!0,"application/json",x),getHomeData:()=>Ll("/expertAPI/index",{},"post",!1),ganDanFileByKeyWords:n=>Ll("/expertAPI/ganDanFileByKeyWords",n,"post",!1),ganDanFileDetials:n=>Ll("/expertAPI/ganDanFileDetials",n,"post",!1),isConsultIng:n=>Ll("/expertAPI/isConsultIng",n,"post",!1),videoWatchRecord:n=>Ll("/expertAPI/VideoWatchRecord",n,"post",!1),updateNicknameNote:n=>Ll("/expertAPI/updateNicknameNote",n,"post",!1),unReadList:n=>Ll("/expertAPI/unReadList",n,"post",!1),appMesageList:n=>Ll("/expertAPI/appMesageList",n,"post",!1),appMesageRead:n=>Ll("/expertAPI/appMesageRead",n,"post",!1),appMesageRead:n=>Ll("/expertAPI/appMesageRead",n,"post",!1),relationRecordLately:n=>Ll("/expertAPI/relationRecordLately",n,"post",!1),getMyInfo:n=>Ll("/expertAPI/my",n,"post",!1),getVideoList:n=>Ll("/video/list",n,"get",!0),getVideoDetail:n=>Ll("/video/detail",n,"get",!0),getVideoHistory:n=>Ll("/expertAPI/VideoWatchRecord",n,"post",!1),deleteRecord:n=>Ll("/expertAPI/deleteRecord",n,"post",!1),getCollectList:n=>Ll("/expertAPI/collectList",n,"post",!1),getCollectionList:n=>Ll("/expertAPI/collectionList",n,"post",!1),getMyAccount:n=>Ll("/expertPay/getBalanceU",n,"post",!1),getOrderList:n=>Ll("/expertPay/orderList",n,"post",!1),myBonusPoints:n=>Ll("/expertAPI/myBonusPoints",n,"post",!1),getNewsDetail:n=>Ll("/expertAPI/newsDetail",n,"post",!1),bonusPointsPayList:n=>Ll("/expertAPI/bonusPointsPayList",n,"post",!0),bonusPointsList:n=>Ll("/expertAPI/bonusPointsList",n,"post",!0),getJifenSerialList:n=>Ll("/expertAPI/getJifenSerialList",n,"post",!0),getWelfarePage:n=>Ll("/expertAPI/getWelfarePage",n,"post",!1),useWelfarePage:n=>Ll("/expertAPI/useWelfarePage",n,"post",!1),getFlowerList:n=>Ll("/expertPay/getFlowerList",n,"post",!1),getGandanfileMyDownload:n=>Ll("/expertAPI/gandanfile/myDownload",n,"post",!1),getGandanfileMyShare:n=>Ll("/expertAPI/gandanfile/myShare",n,"post",!1),getGandanFileDetail:n=>Ll("/expertAPI/gandanFileDetail",n,"post",!1),getLiveDetail:n=>Ll("/expertAPI/liveDetail",n,"post",!1),getVideoDetail2:n=>Ll("/expertAPI/videoDetail2",n,"post",!1),getHospitalList:n=>Ll("/expertAPI/hospitalList",n,"post",!1),getAreaList:n=>Ll("/expertAPI/areaList",n,"post",!1),getGoodsList:n=>Ll("/expertAPI/goodsList",n,"post",!1),getGoodsListV2:n=>Ll("/expertAPI/goodsListV2",n,"post",!1),getGoodsTagList:n=>Ll("/expertAPI/goodsTagList",n,"post",!1),getOrderTrack:n=>Ll("/expertAPI/getOrderTrack",n,"post",!1),getMyWelfareCard:n=>Ll("/expertAPI/myWelfareCard",n,"post",!1),exchangeWelfareCard:n=>Ll("/expertAPI/exchangeWelfareCard",n,"post",!1),getUpanWelfareCount:n=>Ll("/expertAPI/getUpanWelfareCount",n,"post",!1),addBonusPointsN:n=>Ll("/expertAPI/addBonusPointsN",n,"post",!1),videoRoll:n=>Ll("/expertAPI/videoRoll",n,"post",!1),videoTagList:n=>Ll("/expertAPI/videoTagList",n,"post",!1),videoIndexN:n=>Ll("/expertAPI/videoIndexN",n,"post",!1),expertVideoTypeList:n=>Ll("/expertAPI/expertVideoTypeList",n,"post",!1),videoByKeyWordsNew:n=>Ll("/expertAPI/videoByKeyWordsNew",n,"post",!1),searchLibraryU:n=>Ll("/expertAPI/searchLibraryU",n,"post",!1),top10ByType:n=>Ll("/expertAPI/top10ByType",n,"post",!1),guideType:n=>Ll("/expertAPI/guideType",n,"post",!1),guideTag:n=>Ll("/expertAPI/tagList",n,"post",!1),meetingListV2U:n=>Ll("/expertAPI/meetingListV2U",n,"post",!1),meetingListBySearchU:n=>Ll("/expertAPI/meetingListBySearchU",n,"post",!1),myWelfareCard:n=>Ll("/expertAPI/myWelfareCard",n,"post",!1),exchangeWelfareCard:n=>Ll("/expertAPI/exchangeWelfareCard",n,"post",!1),unReadList:n=>Ll("/expertAPI/unReadList",n,"post",!1),appMesageList:n=>Ll("/expertAPI/appMesageList",n,"post",!1),appMesageRead:n=>Ll("/expertAPI/appMesageRead",n,"post",!1),identificationBankCardNew:n=>Ll("/pingExpertV2/identificationBankCardNew",n,"post",!1),changePassword:n=>Ll("/expertAPI/modifyPwd",n,"post",!1),changeMobile:n=>Ll("/expertAPI/modifyMobile",n,"post",!1),smsSend:n=>Ll("/expertAPI/smsSend",n,"post",!1),pointTicketlist:n=>Ll("/expertAPI/pointTicketlist",n,"post",!1),pointTicketExchange:n=>Ll("/expertAPI/updateStatus",n,"post",!1),addFeedBack:n=>Ll("/expertAPI/addFeedBack",n,"post",!1),newsRollNew:n=>Ll("/expertAPI/newsRollNew",n,"post",!1),defaultNewsListNew:n=>Ll("/expertAPI/defaultNewsListNew",n,"post",!1),newsListNew:n=>Ll("/expertAPI/newsListNew",n,"post",!1),newsTagList:n=>Ll("/expertAPI/newsTagList",n,"post",!1),meetingListV2U:n=>Ll("/expertAPI/meetingListV2U",n,"post",!1),applyList:n=>Ll("/expertAPI/applyList",n,"post",!1),patientListByGBKPage:n=>Ll("/expertAPI/patientListByGBKPage",n,"post",!1),patientListByGBK:n=>Ll("/expertAPI/patientListByGBK",n,"post",!1),patientListByGBKU:n=>Ll("/expertAPI/patientListByGBKU",n,"post",!1),followUpList:n=>Ll("/expertAPI/followUpList",n,"post",!1),relationRecordLately:n=>Ll("/expertAPI/relationRecordLately",n,"post",!1),applyListOperate:n=>Ll("/expertAPI/applyListOperate",n,"post",!1),groupList:n=>Ll("/expertAPI/groupListU",n,"post",!1),patientListByGroup:n=>Ll("/expertAPI/patientListByGroupU",n,"post",!1),groupDelete:n=>Ll("/expertAPI/deleteGroupU",n,"post",!1),groupAdd:n=>Ll("/expertAPI/addGroupU",n,"post",!1),groupUpdate:n=>Ll("/expertAPI/updateGroupU",n,"post",!1),updateNicknameNote:n=>Ll("/expertAPI/updateNicknameNote",n,"post",!1),patientCard:n=>Ll("/expertAPI/patientCard",n,"post",!1),patientCardUpdateGroup:n=>Ll("/expertAPI/patientCardUpdateGroup",n,"post",!1),addFollowUps:n=>Ll("/expertAPI/addFollowUps",n,"post",!1),getFollowUp:n=>Ll("/expertAPI/getFollowUp",n,"post",!1),deleteFollowUp:n=>Ll("/expertAPI/deleteFollowUp",n,"post",!1),cancelRes:n=>Ll("/expertAPI/cancelRes",n,"post",!1),polularScienceArticleListByKeywordsNew:n=>Ll("/expertAPI/polularScienceArticleListByKeywordsNew",n,"post",!1),patientVideoByKeyWordsNew:n=>Ll("/expertAPI/patientVideoByKeyWordsNew",n,"post",!1),patientVideoNew:n=>Ll("/expertAPI/patientVideoNew",n,"post",!1),top10ByType:n=>Ll("/expertAPI/top10ByType",n,"post",!1),videoBySearchNew:n=>Ll("/expertAPI/videoBySearchNew",n,"post",!1),patientVideoBySearchNew:n=>Ll("/expertAPI/patientVideoBySearchNew",n,"post",!1),polularScienceArticleListIndexNew:n=>Ll("/expertAPI/polularScienceArticleListIndexNew",n,"post",!1),bankCardList:n=>Ll("/expertPay/bankCardList",n,"post",!1),deleteBankCard:n=>Ll("/expertPay/deleteBankCard",n,"post",!1),getIncomeTax:n=>Ll("/expertPay/getIncomeTax",n,"post",!1),createWithdrawal:n=>Ll("/expertPay/createWithdrawal",n,"post",!1),meetingListBySearch:n=>Ll("/expertAPI/meetingListBySearch",n,"post",!1),getExpertByUuid:n=>Ll("/expertAPI/getExpertByUuid",n,"post",!1),getUserIcon:n=>Ll("/expertAPI/getUserIcon",n,"post",!1),addUserIcon:n=>Ll("/expertAPI/addUserIcon",n,"post",!1),getDiseaseList:n=>Ll("/expertAPI/disease",n,"post",!1),getPositionList:n=>Ll("/expertAPI/positionList",n,"post",!1),getOfficeList:n=>Ll("/expertAPI/officeList",n,"post",!1),newConsultList:n=>Ll("/expertAPI/newConsultList",n,"post",!1),consultListHis:n=>Ll("/expertAPI/consultListHis",n,"post",!1),listNewInterrogation:n=>Ll("/expertAPI/listNewInterrogation",n,"post",!0),listMyAnsweredInterrogation:n=>Ll("/expertAPI/listMyAnsweredInterrogation",n,"post",!0),getInterrogation:n=>Ll("/expertAPI/getInterrogation",n,"post",!1),interrogationPatientInfo:n=>Ll("/expertAPI/InterrogationPatientInfo",n,"post",!1),updateInterrogationAnswer:n=>Ll("/expertAPI/updateInterrogationAnswerU",n,"post",!0),addInterrogationAnswer:n=>Ll("/expertAPI/addInterrogationAnswerU",n,"post",!0),videoDetail:n=>Ll("/expertAPI/videoDetail",n,"post",!1),addVideoWatchRecord:n=>Ll("/expertAPI/addVideoWatchRecord",n,"post",!1),videoCommentListV2:n=>Ll("/expertAPI/videoCommentListV2",n,"post",!1),isVideoDownloadRecord:n=>Ll("/expertAPI/isVideoDownloadRecord",n,"post",!1),getWelfareNum:n=>Ll("/expertAPI/getWelfareNum",n,"post",!1),payVideoDownload:n=>Ll("/expertAPI/payVideoDownload",n,"post",!1),addCommentV2:n=>Ll("/expertAPI/addCommentV2",n,"post",!1),collection:n=>Ll("/expertAPI/collection",n,"post",!1),discollection:n=>Ll("/expertAPI/discollection",n,"post",!1),meetingV2Video:n=>Ll("/expertAPI/meetingV2Video",n,"post",!1),listGroupSendMsg:n=>Ll("/expertAPI/listGroupSendMsg",n,"post",!1),addGroupSendMsg4YunXin:n=>Ll("/expertAPI/addGroupSendMsg4YunXin",n,"post",!1),quickReplyList:n=>Ll("/expertAPI/QuickReplyList",n,"post",!1),addQuickReply:n=>Ll("/expertAPI/addQuickReply",n,"post",!1),deleteQuickReply:n=>Ll("/expertAPI/deleteQuickReply",n,"post",!1),listOutPatient:n=>Ll("/expertAPI/listOutPatient",n,"post",!1),stopOutPatientList:n=>Ll("/expertAPI/stopOutPatientList",n,"post",!1),listWorkPlace:n=>Ll("/expertAPI/listWorkPlace",n,"post",!1),addOutPatient:n=>Ll("/expertAPI/addOutPatient",n,"post",!1),updateOutPatient:n=>Ll("/expertAPI/updateOutPatientA",n,"post",!1),deleteOutPatient:n=>Ll("/expertAPI/deleteOutPatient",n,"post",!1),addWorkPlace:n=>Ll("/expertAPI/addWorkPlace",n,"post",!1),updateWorkPlace:n=>Ll("/expertAPI/editWorkPlace",n,"post",!1),deleteWorkPlace:n=>Ll("/expertAPI/deleteWorkPlace",n,"post",!1),hospitalList:n=>Ll("/expertAPI/hospitalList",n,"post",!1),addStopPatient:n=>Ll("/expertAPI/addStopOutPatient",n,"post",!1),deleteStopPatient:n=>Ll("/expertAPI/deleteStopOutPatient",n,"post",!1),addOutPatientA:n=>Ll("/expertAPI/addOutPatientA",n,"post",!1),delGroupSendMsg:n=>Ll("/expertAPI/delGroupSendMsg",n,"post",!1),patientDetail:n=>Ll("/expertAPI/patientDetail",n,"post",!1),toAddNickname:n=>Ll("/expertAPI/toAddNickname",n,"post",!1),caseDetail:n=>Ll("/expertAPI/caseDetail",n,"post",!1),conditionRecordList:n=>Ll("/expertAPI/conditionRecordList",n,"post",!1),addConditionRecord:n=>Ll("/expertAPI/addConditionRecord",n,"post",!1),updateConditionRecord:n=>Ll("/expertAPI/upConditionRecord",n,"post",!1),deleteConditionRecord:n=>Ll("/expertAPI/delConditionRecord",n,"post",!1),consultDetail:n=>Ll("/expertAPI/consultDetail",n,"post",!1),isConsultIng:n=>Ll("/expertAPI/isConsultIng",n,"post",!1),resConsult:n=>Ll("/expertAPI/resConsult",n,"post",!1),countConsult:n=>Ll("/expertAPI/countConsult",n,"post",!1),closeConsult:n=>Ll("/expertAPI/closeConsult",n,"post",!1),checkUser:n=>Ll("/expertAPI/checkUser",n,"post",!1),ganDanFileDetials:n=>Ll("/expertAPI/ganDanFileDetials",n,"post",!1),createGanDanFileOrder:n=>Ll("/expertPay/createGanDanFileOrder",n,"post",!1),getOrderStatus:n=>Ll("/expertPay/getOrderStatus",n,"post",!1),getOrderStatus:n=>Ll("/expertPay/getOrderStatus",n,"post",!1),getBalance:n=>Ll("/expertPay/getBalance",n,"post",!1),payGanDanFile:n=>Ll("/expertPay/payGanDanFileOrder",n,"post",!1),getTypeUuidByName:n=>Ll("/expertAPI/getTypeUuidByName",n,"post",!1),videoByTypeNew:n=>Ll("/expertAPI/videoByTypeNew",n,"post",!1),meetingHistoryList:n=>Ll("/expertAPI/meetingHistoryList",n,"post",!1),confirmScanLogin:n=>Ll("/expertAPI/confirmScanLogin",n,"post",!1),cancelScanLogin:n=>Ll("/expertAPI/cancelScanLogin",n,"post",!1),getScanLoginStatus:n=>Ll("/expertAPI/getScanLoginStatus",n,"post",!1),gethonorDetail:n=>Ll("/expertAPI/gethonorDetail",n,"post",!1),checkVersion:n=>Ll("/expertAPI/checkVersion",n,"post",!1),getIsAccount:n=>Ll("/expertAPI/getIsAccount",n,"post",!1),patientVideoByJingHuaNew:n=>Ll("/expertAPI/patientVideoByJingHuaNew",n,"post",!1),useWelfareNum:n=>Ll("/expertAPI/useWelfareNum",n,"post",!1),deleteComment:n=>Ll("/expertAPI/deleteComment",n,"post",!1),downloadGanDanFile:n=>Ll("/expertAPI/downloadGanDanFile",n,"post",!1,"application/json",{},"arraybuffer"),downloadGanDanFileV2:n=>Ll("/expertAPI/downloadGanDanFileV2",n,"post",!1),feedBack:n=>Ll("/expertAPI/addFeedBack",n,"post",!1),getPointUnitPrice:n=>Ll("/expertAPI/getPointUnitPrice",n,"post",!1),welfareList:n=>Ll("/expertAPI/welfareList",n,"post",!1),getUGoods:n=>Ll("/expertAPI/getGoodsDetailU",n,"post",!1),createGoodsOrder:n=>Ll("/expertAPI/createGoodsOrder",n,"post",!1),useWelfareNum:n=>Ll("/expertAPI/useWelfareNum",n,"post",!1),createBointsOrder:n=>Ll("/expertPay/createBointsOrder",n,"post",!1),receiveWelfare:n=>Ll("/expertAPI/receiveWelfare",n,"post",!1),getKePuCollection:n=>Ll("/expertAPI/getKePuCollection",n,"post",!1),getRead:n=>Ll("/expertAPI/read",n,"post",!1),getOutRead:n=>Ll("/expertAPI/outread",n,"post",!1),getAgree:n=>Ll("/expertAPI/agree",n,"post",!1),getDisagree:n=>Ll("/expertAPI/disagree",n,"post",!1),getCollect:n=>Ll("/expertAPI/collection",n,"post",!1),getDiscollect:n=>Ll("/expertAPI/discollection",n,"post",!1),getGanDanFileOrder:n=>Ll("/expertPay/getGanDanFileOrder",n,"post",!1),publishOutPatient:n=>Ll("/expertAPI/addGroupSendMsg4YunXin",n,"post",!1),polularScienceArticleListIndexNew:n=>Ll("/expertAPI/polularScienceArticleListIndexNew",n,"post",!1),getNewsDetail:n=>Ll("/expertAPI/newsDetial",n,"post",!1)};function Ul(n){let x="";x=uni.getStorageSync("AUTH_TOKEN_App"),x?uni.navigateTo(n):uni.navigateTo({url:"/pages_app/login/login"})}let $l="https://doc.igandan.com/app/";const Hl="/static/icon_home_my_public.png",Yl="/static/home_more.png",Gl="/static/sign_in_bng_big.png";var Wl="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Kl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Ql(n){if(n.__esModule)return n;var x=n.default;if("function"==typeof x){var e=function n(){return this instanceof n?Reflect.construct(x,arguments,this.constructor):x.apply(this,arguments)};e.prototype=x.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(n).forEach((function(x){var t=Object.getOwnPropertyDescriptor(n,x);Object.defineProperty(e,x,t.get?t:{enumerable:!0,get:function(){return n[x]}})})),e}var Jl={exports:{}};Jl.exports=function(){var n=1e3,x=6e4,e=36e5,t="millisecond",i="second",l="minute",o="hour",a="day",s="week",r="month",c="quarter",u="year",h="date",g="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var x=["th","st","nd","rd"],e=n%100;return"["+n+(x[(e-20)%10]||x[e]||x[0])+"]"}},y=function(n,x,e){var t=String(n);return!t||t.length>=x?n:""+Array(x+1-t.length).join(e)+n},f={s:y,z:function(n){var x=-n.utcOffset(),e=Math.abs(x),t=Math.floor(e/60),i=e%60;return(x<=0?"+":"-")+y(t,2,"0")+":"+y(i,2,"0")},m:function n(x,e){if(x.date()1)return n(o[0])}else{var a=x.name;v[a]=x,i=a}return!t&&i&&(b=i),i||!t&&b},k=function(n,x){if(z(n))return n.clone();var e="object"==typeof x?x:{};return e.date=n,e.args=arguments,new E(e)},_=f;_.l=j,_.i=z,_.w=function(n,x){return k(n,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var E=function(){function m(n){this.$L=j(n.locale,null,!0),this.parse(n),this.$x=this.$x||n.x||{},this[w]=!0}var y=m.prototype;return y.parse=function(n){this.$d=function(n){var x=n.date,e=n.utc;if(null===x)return new Date(NaN);if(_.u(x))return new Date;if(x instanceof Date)return new Date(x);if("string"==typeof x&&!/Z$/i.test(x)){var t=x.match(d);if(t){var i=t[2]-1||0,l=(t[7]||"0").substring(0,3);return e?new Date(Date.UTC(t[1],i,t[3]||1,t[4]||0,t[5]||0,t[6]||0,l)):new Date(t[1],i,t[3]||1,t[4]||0,t[5]||0,t[6]||0,l)}}return new Date(x)}(n),this.init()},y.init=function(){var n=this.$d;this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),this.$ms=n.getMilliseconds()},y.$utils=function(){return _},y.isValid=function(){return!(this.$d.toString()===g)},y.isSame=function(n,x){var e=k(n);return this.startOf(x)<=e&&e<=this.endOf(x)},y.isAfter=function(n,x){return k(n)65536)throw new Error("Can only request a maximum of 65536 bytes");var x;return function(n,x){for(var e,t=n.length,i="="===n[t-2]?2:"="===n[t-1]?1:0,l=0,o=t-i&4294967292,a=0;a>16&255,x[l++]=e>>8&255,x[l++]=255&e;1===i&&(e=Zl[n.charCodeAt(a)]<<10|Zl[n.charCodeAt(a+1)]<<4|Zl[n.charCodeAt(a+2)]>>2,x[l++]=e>>8&255,x[l++]=255&e),2===i&&(e=Zl[n.charCodeAt(a)]<<2|Zl[n.charCodeAt(a+1)]>>4,x[l++]=255&e)}((x="DCloud-Crypto",weex.requireModule(x)).getRandomValues(n.byteLength),new Uint8Array(n.buffer,n.byteOffset,n.byteLength)),n}};var xo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function eo(n){var x={exports:{}};return n(x,x.exports),x.exports}var to,io,lo,oo,ao,so,ro,co,uo,ho,go,po,mo,yo,fo,bo,vo,wo,zo,jo,ko,_o,Eo,No,So,Co,qo,To,Vo,Ao,Io,Bo,Do,Mo,Oo,Ro,Po,Lo,Fo,Uo,$o,Ho,Yo,Go,Wo,Ko,Qo,Jo,Xo,Zo,na,xa,ea,ta,ia,la,oa,aa=eo((function(n){var x=Object.prototype.hasOwnProperty,e="~";function t(){}function i(n,x,e){this.fn=n,this.context=x,this.once=e||!1}function l(n,x,t,l,o){if("function"!=typeof t)throw new TypeError("The listener must be a function");var a=new i(t,l||n,o),s=e?e+x:x;return n._events[s]?n._events[s].fn?n._events[s]=[n._events[s],a]:n._events[s].push(a):(n._events[s]=a,n._eventsCount++),n}function o(n,x){0==--n._eventsCount?n._events=new t:delete n._events[x]}function a(){this._events=new t,this._eventsCount=0}Object.create&&(t.prototype=Object.create(null),(new t).__proto__||(e=!1)),a.prototype.eventNames=function(){var n,t,i=[];if(0===this._eventsCount)return i;for(t in n=this._events)x.call(n,t)&&i.push(e?t.slice(1):t);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(n)):i},a.prototype.listeners=function(n){var x=e?e+n:n,t=this._events[x];if(!t)return[];if(t.fn)return[t.fn];for(var i=0,l=t.length,o=new Array(l);ix.resolve(n()).then((()=>e))),(e=>x.resolve(n()).then((()=>{throw e}))))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(n){"use strict";function x(n,x,...e){uni.__log__?uni.__log__(n,x,...e):console[n].apply(console,[...e,x])}function e(n,x){return"string"==typeof n?x:n}const t=(x,e=0)=>(e,t=n.getCurrentInstance())=>{!n.isInSSRComponentSetup&&n.injectHook(x,e,t)},i=t("onShow",3),l=t("onHide",3),o=t("onLoad",2),a=t("onReady",2),s=t("onUnload",2),r=t("onBackPress",2),c=t("onPageScroll",2),u=[{font_class:"arrow-down",unicode:""},{font_class:"arrow-left",unicode:""},{font_class:"arrow-right",unicode:""},{font_class:"arrow-up",unicode:""},{font_class:"auth",unicode:""},{font_class:"auth-filled",unicode:""},{font_class:"back",unicode:""},{font_class:"bars",unicode:""},{font_class:"calendar",unicode:""},{font_class:"calendar-filled",unicode:""},{font_class:"camera",unicode:""},{font_class:"camera-filled",unicode:""},{font_class:"cart",unicode:""},{font_class:"cart-filled",unicode:""},{font_class:"chat",unicode:""},{font_class:"chat-filled",unicode:""},{font_class:"chatboxes",unicode:""},{font_class:"chatboxes-filled",unicode:""},{font_class:"chatbubble",unicode:""},{font_class:"chatbubble-filled",unicode:""},{font_class:"checkbox",unicode:""},{font_class:"checkbox-filled",unicode:""},{font_class:"checkmarkempty",unicode:""},{font_class:"circle",unicode:""},{font_class:"circle-filled",unicode:""},{font_class:"clear",unicode:""},{font_class:"close",unicode:""},{font_class:"closeempty",unicode:""},{font_class:"cloud-download",unicode:""},{font_class:"cloud-download-filled",unicode:""},{font_class:"cloud-upload",unicode:""},{font_class:"cloud-upload-filled",unicode:""},{font_class:"color",unicode:""},{font_class:"color-filled",unicode:""},{font_class:"compose",unicode:""},{font_class:"contact",unicode:""},{font_class:"contact-filled",unicode:""},{font_class:"down",unicode:""},{font_class:"bottom",unicode:""},{font_class:"download",unicode:""},{font_class:"download-filled",unicode:""},{font_class:"email",unicode:""},{font_class:"email-filled",unicode:""},{font_class:"eye",unicode:""},{font_class:"eye-filled",unicode:""},{font_class:"eye-slash",unicode:""},{font_class:"eye-slash-filled",unicode:""},{font_class:"fire",unicode:""},{font_class:"fire-filled",unicode:""},{font_class:"flag",unicode:""},{font_class:"flag-filled",unicode:""},{font_class:"folder-add",unicode:""},{font_class:"folder-add-filled",unicode:""},{font_class:"font",unicode:""},{font_class:"forward",unicode:""},{font_class:"gear",unicode:""},{font_class:"gear-filled",unicode:""},{font_class:"gift",unicode:""},{font_class:"gift-filled",unicode:""},{font_class:"hand-down",unicode:""},{font_class:"hand-down-filled",unicode:""},{font_class:"hand-up",unicode:""},{font_class:"hand-up-filled",unicode:""},{font_class:"headphones",unicode:""},{font_class:"heart",unicode:""},{font_class:"heart-filled",unicode:""},{font_class:"help",unicode:""},{font_class:"help-filled",unicode:""},{font_class:"home",unicode:""},{font_class:"home-filled",unicode:""},{font_class:"image",unicode:""},{font_class:"image-filled",unicode:""},{font_class:"images",unicode:""},{font_class:"images-filled",unicode:""},{font_class:"info",unicode:""},{font_class:"info-filled",unicode:""},{font_class:"left",unicode:""},{font_class:"link",unicode:""},{font_class:"list",unicode:""},{font_class:"location",unicode:""},{font_class:"location-filled",unicode:""},{font_class:"locked",unicode:""},{font_class:"locked-filled",unicode:""},{font_class:"loop",unicode:""},{font_class:"mail-open",unicode:""},{font_class:"mail-open-filled",unicode:""},{font_class:"map",unicode:""},{font_class:"map-filled",unicode:""},{font_class:"map-pin",unicode:""},{font_class:"map-pin-ellipse",unicode:""},{font_class:"medal",unicode:""},{font_class:"medal-filled",unicode:""},{font_class:"mic",unicode:""},{font_class:"mic-filled",unicode:""},{font_class:"micoff",unicode:""},{font_class:"micoff-filled",unicode:""},{font_class:"minus",unicode:""},{font_class:"minus-filled",unicode:""},{font_class:"more",unicode:""},{font_class:"more-filled",unicode:""},{font_class:"navigate",unicode:""},{font_class:"navigate-filled",unicode:""},{font_class:"notification",unicode:""},{font_class:"notification-filled",unicode:""},{font_class:"paperclip",unicode:""},{font_class:"paperplane",unicode:""},{font_class:"paperplane-filled",unicode:""},{font_class:"person",unicode:""},{font_class:"person-filled",unicode:""},{font_class:"personadd",unicode:""},{font_class:"personadd-filled",unicode:""},{font_class:"personadd-filled-copy",unicode:""},{font_class:"phone",unicode:""},{font_class:"phone-filled",unicode:""},{font_class:"plus",unicode:""},{font_class:"plus-filled",unicode:""},{font_class:"plusempty",unicode:""},{font_class:"pulldown",unicode:""},{font_class:"pyq",unicode:""},{font_class:"qq",unicode:""},{font_class:"redo",unicode:""},{font_class:"redo-filled",unicode:""},{font_class:"refresh",unicode:""},{font_class:"refresh-filled",unicode:""},{font_class:"refreshempty",unicode:""},{font_class:"reload",unicode:""},{font_class:"right",unicode:""},{font_class:"scan",unicode:""},{font_class:"search",unicode:""},{font_class:"settings",unicode:""},{font_class:"settings-filled",unicode:""},{font_class:"shop",unicode:""},{font_class:"shop-filled",unicode:""},{font_class:"smallcircle",unicode:""},{font_class:"smallcircle-filled",unicode:""},{font_class:"sound",unicode:""},{font_class:"sound-filled",unicode:""},{font_class:"spinner-cycle",unicode:""},{font_class:"staff",unicode:""},{font_class:"staff-filled",unicode:""},{font_class:"star",unicode:""},{font_class:"star-filled",unicode:""},{font_class:"starhalf",unicode:""},{font_class:"trash",unicode:""},{font_class:"trash-filled",unicode:""},{font_class:"tune",unicode:""},{font_class:"tune-filled",unicode:""},{font_class:"undo",unicode:""},{font_class:"undo-filled",unicode:""},{font_class:"up",unicode:""},{font_class:"top",unicode:""},{font_class:"upload",unicode:""},{font_class:"upload-filled",unicode:""},{font_class:"videocam",unicode:""},{font_class:"videocam-filled",unicode:""},{font_class:"vip",unicode:""},{font_class:"vip-filled",unicode:""},{font_class:"wallet",unicode:""},{font_class:"wallet-filled",unicode:""},{font_class:"weibo",unicode:""},{font_class:"weixin",unicode:""}],h=(n,x)=>{const e=n.__vccOpts||n;for(const[t,i]of x)e[t]=i;return e},g={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""},fontFamily:{type:String,default:""}},data:()=>({icons:u}),computed:{unicode(){let n=this.icons.find((n=>n.font_class===this.type));return n?n.unicode:""},iconSize(){return"number"==typeof(n=this.size)||/^[0-9]*$/g.test(n)?n+"px":n;var n},styleObj(){return""!==this.fontFamily?`color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`:`color: ${this.color}; font-size: ${this.iconSize};`}},methods:{_onClick(n){this.$emit("click",n)}}};const d=h(g,[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("text",{style:n.normalizeStyle(o.styleObj),class:n.normalizeClass(["uni-icons",["uniui-"+t.type,t.customPrefix,t.customPrefix?t.type:""]]),onClick:e[0]||(e[0]=(...n)=>o._onClick&&o._onClick(...n))},[n.renderSlot(x.$slots,"default",{},void 0,!0)],6)}],["__scopeId","data-v-b25a9929"]]);const p=n=>"number"==typeof n?n+"px":n;const m=h({name:"UniNavBar",components:{statusBar:h({name:"UniStatusBar",data:()=>({statusBarHeight:uni.getSystemInfoSync().statusBarHeight+"px"})},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{style:n.normalizeStyle({height:l.statusBarHeight}),class:"uni-status-bar"},[n.renderSlot(x.$slots,"default",{},void 0,!0)],4)}],["__scopeId","data-v-0bfbbc2d"]])},emits:["clickLeft","clickRight","clickTitle"],props:{dark:{type:Boolean,default:!1},title:{type:String,default:""},leftText:{type:String,default:""},rightText:{type:String,default:""},leftIcon:{type:String,default:""},rightIcon:{type:String,default:""},fixed:{type:[Boolean,String],default:!1},color:{type:String,default:""},backgroundColor:{type:String,default:""},statusBar:{type:[Boolean,String],default:!1},shadow:{type:[Boolean,String],default:!1},border:{type:[Boolean,String],default:!0},height:{type:[Number,String],default:44},leftWidth:{type:[Number,String],default:60},rightWidth:{type:[Number,String],default:60},stat:{type:[Boolean,String],default:""}},computed:{themeBgColor(){return this.dark?this.backgroundColor?this.backgroundColor:this.dark?"#333":"#FFF":this.backgroundColor||"#FFF"},themeColor(){return this.dark?this.color?this.color:this.dark?"#fff":"#333":this.color||"#333"},navbarHeight(){return p(this.height)},leftIconWidth(){return p(this.leftWidth)},rightIconWidth(){return p(this.rightWidth)}},mounted(){uni.report&&this.stat&&""!==this.title&&uni.report("title",this.title)},methods:{onClickLeft(){this.$emit("clickLeft")},onClickRight(){this.$emit("clickRight")},onClickTitle(){this.$emit("clickTitle")}}},[["render",function(x,t,i,l,o,a){const s=n.resolveComponent("status-bar"),r=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["uni-navbar",{"uni-dark":i.dark,"uni-nvue-fixed":i.fixed}])},[n.createElementVNode("view",{class:n.normalizeClass(["uni-navbar__content",{"uni-navbar--fixed":i.fixed,"uni-navbar--shadow":i.shadow,"uni-navbar--border":i.border}]),style:n.normalizeStyle({"background-color":a.themeBgColor,"border-bottom-color":a.themeColor})},[i.statusBar?(n.openBlock(),n.createBlock(s,{key:0})):n.createCommentVNode("",!0),n.createElementVNode("view",{style:n.normalizeStyle({color:a.themeColor,backgroundColor:a.themeBgColor,height:a.navbarHeight}),class:"uni-navbar__header"},[n.createElementVNode("view",{onClick:t[0]||(t[0]=(...n)=>a.onClickLeft&&a.onClickLeft(...n)),class:"uni-navbar__header-btns uni-navbar__header-btns-left",style:n.normalizeStyle({width:a.leftIconWidth})},[n.renderSlot(x.$slots,"left",{},(()=>[i.leftIcon.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"uni-navbar__content_view"},[n.createVNode(r,{color:a.themeColor,type:i.leftIcon,size:"20"},null,8,["color","type"])])):n.createCommentVNode("",!0),i.leftText.length?(n.openBlock(),n.createElementBlock("view",{key:1,class:n.normalizeClass([{"uni-navbar-btn-icon-left":!i.leftIcon.length>0},"uni-navbar-btn-text"])},[n.createElementVNode("text",{style:n.normalizeStyle({color:a.themeColor,fontSize:"12px"})},n.toDisplayString(i.leftText),5)],2)):n.createCommentVNode("",!0)]),!0)],4),n.createElementVNode("view",{class:"uni-navbar__header-container",onClick:t[1]||(t[1]=(...n)=>a.onClickTitle&&a.onClickTitle(...n))},[n.renderSlot(x.$slots,"default",{},(()=>[i.title.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"uni-navbar__header-container-inner"},[n.createElementVNode("text",{class:"uni-nav-bar-text uni-ellipsis-1",style:n.normalizeStyle({color:a.themeColor})},n.toDisplayString(i.title),5)])):n.createCommentVNode("",!0)]),!0)]),n.createElementVNode("view",{onClick:t[2]||(t[2]=(...n)=>a.onClickRight&&a.onClickRight(...n)),class:"uni-navbar__header-btns uni-navbar__header-btns-right",style:n.normalizeStyle({width:a.rightIconWidth})},[n.renderSlot(x.$slots,"right",{},(()=>[i.rightIcon.length?(n.openBlock(),n.createElementBlock("view",{key:0},[n.createVNode(r,{color:a.themeColor,type:i.rightIcon,size:"22"},null,8,["color","type"])])):n.createCommentVNode("",!0),i.rightText.length&&!i.rightIcon.length?(n.openBlock(),n.createElementBlock("view",{key:1,class:"uni-navbar-btn-text"},[n.createElementVNode("text",{class:"uni-nav-bar-right-text",style:n.normalizeStyle({color:a.themeColor})},n.toDisplayString(i.rightText),5)])):n.createCommentVNode("",!0)]),!0)],4)],4)],6),i.fixed?(n.openBlock(),n.createElementBlock("view",{key:0,class:"uni-navbar__placeholder"},[i.statusBar?(n.openBlock(),n.createBlock(s,{key:0})):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"uni-navbar__placeholder-view",style:n.normalizeStyle({height:a.navbarHeight})},null,4)])):n.createCommentVNode("",!0)],2)}],["__scopeId","data-v-100b908f"]]),y=h({__name:"navBar",props:{showLeft:{type:Boolean,default:!0},noticeBack:{type:Boolean,default:!1},title:{type:String,default:""}},setup(x){const t=()=>{uni.navigateBack({fail(){uni.redirectTo({url:"/pages/index/index"})}})};return(i,l)=>{const o=e(n.resolveDynamicComponent("uni-nav-bar"),m);return n.openBlock(),n.createElementBlock("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(o,{"left-icon":x.showLeft?"left":"",title:x.title,onClickLeft:t,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},null,8,["left-icon","title"])])}}},[["__scopeId","data-v-b1515cbe"]]),f=h({__name:"loading",setup(x){const e=n.ref(null),t=n.ref(0);return i((()=>{uni.showLoading({title:"加载中...",mask:!0}),e.value||(e.value=setInterval((()=>{t.value++,t.value>=8&&(clearInterval(e.value),plus.runtime.quit())}),1e3))})),s((()=>{uni.hideLoading(),e.value&&clearInterval(e.value)})),l((()=>{uni.hideLoading(),e.value&&clearInterval(e.value)})),(x,e)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{showLeft:!1,title:"加载中..."},null,8,["title"]),n.createElementVNode("view",{class:"loading-page"})],64))}},[["__scopeId","data-v-8ea4cdab"]]),b={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""},v={v:"3",version:"3",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc","up-primary":"#2979ff","up-warning":"#ff9900","up-success":"#19be6b","up-error":"#fa3534","up-info":"#909399","up-main-color":"#303133","up-content-color":"#606266","up-tips-color":"#909399","up-light-color":"#c0c4cc"},iconUrl:"https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf",customIcon:{family:"",url:""},customIcons:{},unit:"px",interceptor:{navbarLeftClick:null}},w={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},z={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},{toString:j}=Object.prototype;function k(n){return"[object Array]"===j.call(n)}function _(n,x){if(null!=n)if("object"!=typeof n&&(n=[n]),k(n))for(let e=0,t=n.length;e{null!=x&&(k(x)?e=`${e}[]`:x=[x],_(x,(x=>{!function(n){return"[object Date]"===j.call(n)}(x)?function(n){return null!==n&&"object"==typeof n}(x)&&(x=JSON.stringify(x)):x=x.toISOString(),n.push(`${S(e)}=${S(x)}`)})))})),e=n.join("&")}var t;if(e){const x=n.indexOf("#");-1!==x&&(n=n.slice(0,x)),n+=(-1===n.indexOf("?")?"?":"&")+e}return n}const q=(n,x)=>{const e={};return n.forEach((n=>{N(x[n])||(e[n]=x[n])})),e},T=n=>(n=>new Promise(((x,e)=>{const t=C((i=n.baseURL,l=n.url,i&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(l)?function(n,x){return x?`${n.replace(/\/+$/,"")}/${x.replace(/^\/+/,"")}`:n}(i,l):l),n.params);var i,l;const o={url:t,header:n.header,complete:i=>{n.fullPath=t,i.config=n;try{"string"==typeof i.data&&(i.data=JSON.parse(i.data))}catch(Rw){}!function(n,x,e){const{validateStatus:t}=e.config,i=e.statusCode;!i||t&&!t(i)?x(e):n(e)}(x,e,i)}};let a;if("UPLOAD"===n.method){delete o.header["content-type"],delete o.header["Content-Type"];const x={filePath:n.filePath,name:n.name},e=["files","timeout","formData"];a=uni.uploadFile({...o,...x,...q(e,n)})}else if("DOWNLOAD"===n.method)N(n.timeout)||(o.timeout=n.timeout),a=uni.downloadFile(o);else{const x=["data","method","timeout","dataType","responseType","sslVerify","firstIpv4"];a=uni.request({...o,...q(x,n)})}n.getTask&&n.getTask(a,n)})))(n);function V(){this.handlers=[]}V.prototype.use=function(n,x){return this.handlers.push({fulfilled:n,rejected:x}),this.handlers.length-1},V.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},V.prototype.forEach=function(n){this.handlers.forEach((x=>{null!==x&&n(x)}))};const A=(n,x,e)=>{const t={};return n.forEach((n=>{N(e[n])?N(x[n])||(t[n]=x[n]):t[n]=e[n]})),t},I={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,sslVerify:!0,firstIpv4:!1,validateStatus:function(n){return n>=200&&n<300}};var B=function(){function n(n,x){return null!=x&&n instanceof x}var x,e,t;try{x=Map}catch(a){x=function(){}}try{e=Set}catch(a){e=function(){}}try{t=Promise}catch(a){t=function(){}}function i(l,a,s,r,c){"object"==typeof a&&(s=a.depth,r=a.prototype,c=a.includeNonEnumerable,a=a.circular);var u=[],h=[],g="undefined"!=typeof Buffer;return void 0===a&&(a=!0),void 0===s&&(s=1/0),function l(s,d){if(null===s)return null;if(0===d)return s;var p,m;if("object"!=typeof s)return s;if(n(s,x))p=new x;else if(n(s,e))p=new e;else if(n(s,t))p=new t((function(n,x){s.then((function(x){n(l(x,d-1))}),(function(n){x(l(n,d-1))}))}));else if(i.__isArray(s))p=[];else if(i.__isRegExp(s))p=new RegExp(s.source,o(s)),s.lastIndex&&(p.lastIndex=s.lastIndex);else if(i.__isDate(s))p=new Date(s.getTime());else{if(g&&Buffer.isBuffer(s))return Buffer.from?p=Buffer.from(s):(p=new Buffer(s.length),s.copy(p)),p;n(s,Error)?p=Object.create(s):void 0===r?(m=Object.getPrototypeOf(s),p=Object.create(m)):(p=Object.create(r),m=r)}if(a){var y=u.indexOf(s);if(-1!=y)return h[y];u.push(s),h.push(p)}for(var f in n(s,x)&&s.forEach((function(n,x){var e=l(x,d-1),t=l(n,d-1);p.set(e,t)})),n(s,e)&&s.forEach((function(n){var x=l(n,d-1);p.add(x)})),s){Object.getOwnPropertyDescriptor(s,f)&&(p[f]=l(s[f],d-1));try{if("undefined"===Object.getOwnPropertyDescriptor(s,f).set)continue;p[f]=l(s[f],d-1)}catch(Rw){if(Rw instanceof TypeError)continue;if(Rw instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(s);for(f=0;f{const e=x.method||n.method||"GET";let t={baseURL:n.baseURL||"",method:e,url:x.url||"",params:x.params||{},custom:{...n.custom||{},...x.custom||{}},header:E(n.header||{},x.header||{})};if(t={...t,...A(["getTask","validateStatus"],n,x)},"DOWNLOAD"===e)N(x.timeout)?N(n.timeout)||(t.timeout=n.timeout):t.timeout=x.timeout;else if("UPLOAD"===e)delete t.header["content-type"],delete t.header["Content-Type"],["files","filePath","name","timeout","formData"].forEach((n=>{N(x[n])||(t[n]=x[n])})),N(t.timeout)&&!N(n.timeout)&&(t.timeout=n.timeout);else{const e=["data","timeout","dataType","responseType","sslVerify","firstIpv4"];t={...t,...A(e,n,x)}}return t})(this.config,n);const x=[T,void 0];let e=Promise.resolve(n);for(this.interceptors.request.forEach((n=>{x.unshift(n.fulfilled,n.rejected)})),this.interceptors.response.forEach((n=>{x.push(n.fulfilled,n.rejected)}));x.length;)e=e.then(x.shift(),x.shift());return e}request(n={}){return this.middleware(n)}get(n,x={}){return this.middleware({url:n,method:"GET",...x})}post(n,x,e={}){return this.middleware({url:n,data:x,method:"POST",...e})}put(n,x,e={}){return this.middleware({url:n,data:x,method:"PUT",...e})}delete(n,x,e={}){return this.middleware({url:n,data:x,method:"DELETE",...e})}options(n,x,e={}){return this.middleware({url:n,data:x,method:"OPTIONS",...e})}upload(n,x={}){return x.url=n,x.method="UPLOAD",this.middleware(x)}download(n,x={}){return x.url=n,x.method="DOWNLOAD",this.middleware(x)}};function M(n){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(n)}function O(n){switch(typeof n){case"undefined":return!0;case"string":if(0==n.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!n)return!0;break;case"number":if(0===n||isNaN(n))return!0;break;case"object":if(null===n||0===n.length)return!0;for(const x in n)return!1;return!0}return!1}function R(n){return"function"==typeof Array.isArray?Array.isArray(n):"[object Array]"===Object.prototype.toString.call(n)}function P(n){return"function"==typeof n}const L={email:function(n){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(n)},mobile:function(n){return/^1[23456789]\d{9}$/.test(n)},url:function(n){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(n)},date:function(n){if(!n)return!1;if("number"==typeof n)return(10===n.toString().length||13===n.toString().length)&&!isNaN(new Date(n).getTime());if("string"==typeof n){const x=Number(n);if(!isNaN(x)&&(10===x.toString().length||13===x.toString().length))return!isNaN(new Date(x).getTime());if(n.length<10||n.length>19)return!1;if(!/^\d{4}[-\/]\d{2}[-\/]\d{2}( \d{1,2}:\d{2}(:\d{2})?)?$/.test(n))return!1;const e=new Date(n);return!isNaN(e.getTime())}return!1},dateISO:function(n){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(n)},number:M,digits:function(n){return/^\d+$/.test(n)},idCard:function(n){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(n)},carNo:function(n){const x=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,e=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===n.length?e.test(n):8===n.length&&x.test(n)},amount:function(n){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(n)},chinese:function(n){return/^[\u4e00-\u9fa5]+$/gi.test(n)},letter:function(n){return/^[a-zA-Z]*$/.test(n)},enOrNum:function(n){return/^[0-9a-zA-Z]*$/g.test(n)},contains:function(n,x){return n.indexOf(x)>=0},range:function(n,x){return n>=x[0]&&n<=x[1]},rangeLength:function(n,x){return n.length>=x[0]&&n.length<=x[1]},empty:O,isEmpty:O,jsonString:function(n){if("string"==typeof n)try{const x=JSON.parse(n);return!("object"!=typeof x||!x)}catch(Rw){return!1}return!1},landline:function(n){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(n)},object:function(n){return"[object Object]"===Object.prototype.toString.call(n)},array:R,code:function(n,x=6){return new RegExp(`^\\d{${x}}$`).test(n)},func:P,promise:function(n){return function(n){return"[object Promise]"===Object.prototype.toString.call(n)}(n)&&P(n.then)&&P(n.catch)},video:function(n){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(n)},image:function(n){const x=n.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(x)},regExp:function(n){return n&&"[object RegExp]"===Object.prototype.toString.call(n)},string:function(n){return"string"==typeof n}};function F(n,x=15){return+parseFloat(Number(n).toPrecision(x))}function U(n){const x=n.toString().split(/[eE]/),e=(x[0].split(".")[1]||"").length-+(x[1]||0);return e>0?e:0}function $(n){if(-1===n.toString().indexOf("e"))return Number(n.toString().replace(".",""));const x=U(n);return x>0?F(Number(n)*Math.pow(10,x)):Number(n)}function H(n){(n>Number.MAX_SAFE_INTEGER||n{l=x(l,n)})),l}function G(...n){if(n.length>2)return Y(n,G);const[x,e]=n,t=$(x),i=$(e),l=U(x)+U(e),o=t*i;return H(o),o/Math.pow(10,l)}function W(...n){if(n.length>2)return Y(n,W);const[x,e]=n,t=$(x),i=$(e);return H(t),H(i),G(t/i,F(Math.pow(10,U(e)-U(x))))}function K(n=0,x=0,e=0){return Math.max(n,Math.min(x,Number(e)))}function Q(n,x=!1){return M(n)?x?`${n}px`:Number(n):/(rpx|upx)$/.test(n)?x?`${uni.upx2px(parseInt(n))}px`:Number(uni.upx2px(parseInt(n))):x?`${parseInt(n)}px`:parseInt(n)}function J(n=30){return new Promise((x=>{setTimeout((()=>{x()}),n)}))}function X(){return uni.getDeviceInfo().platform.toLowerCase()}function Z(){return uni.getSystemInfoSync()}function nn(){let n={};return n=uni.getWindowInfo(),n}function xn(){let n={};return n=uni.getDeviceInfo(),n}function en(n,x){if(n>=0&&x>0&&x>=n){const e=x-n+1;return Math.floor(Math.random()*e+n)}return 0}function tn(n=32,x=!0,e=null){const t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(e=e||t.length,n)for(let l=0;l{const t=x.replace(/([A-Z])/g,"-$1").toLowerCase();e+=`${t}:${n};`})),dn(e)}function an(n="auto",x=""){return x||(x=v.unit||"px"),"rpx"==x&&M(String(n))&&(n*=2),M(n=String(n))?`${n}${x}`:n}function sn(n){if([null,void 0,NaN,!1].includes(n))return n;if("object"!=typeof n&&"function"!=typeof n)return n;const x=R(n)?[]:{};for(const e in n)n.hasOwnProperty(e)&&(x[e]="object"==typeof n[e]?sn(n[e]):n[e]);return x}function rn(n={},x={}){let e=sn(n);if("object"!=typeof e||"object"!=typeof x)return!1;for(const t in x)x.hasOwnProperty(t)&&(t in e?null==x[t]||"object"!=typeof e[t]||"object"!=typeof x[t]?e[t]=x[t]:e[t].concat&&x[t].concat?e[t]=e[t].concat(x[t]):e[t]=rn(e[t],x[t]):e[t]=x[t]);return e}function cn(n,x={}){if("object"!=typeof n||"object"!=typeof x)return!1;for(const e in x)x.hasOwnProperty(e)&&(e in n?null==x[e]||"object"!=typeof n[e]||"object"!=typeof x[e]?n[e]=x[e]:n[e].concat&&x[e].concat?n[e]=n[e].concat(x[e]):n[e]=cn(n[e],x[e]):n[e]=x[e]);return n}function un(n){}function hn(n=[]){return n.sort((()=>Math.random()-.5))}function gn(n=null,x="yyyy-mm-dd"){let e;e=n?/^\d{10}$/.test(n.toString().trim())?new Date(1e3*n):"string"==typeof n&&/^\d+$/.test(n.trim())?new Date(Number(n)):new Date("string"==typeof n?n.replace(/-/g,"/"):n):new Date;const t={y:e.getFullYear().toString(),m:(e.getMonth()+1).toString().padStart(2,"0"),d:e.getDate().toString().padStart(2,"0"),h:e.getHours().toString().padStart(2,"0"),M:e.getMinutes().toString().padStart(2,"0"),s:e.getSeconds().toString().padStart(2,"0")};for(const i in t){const[n]=new RegExp(`${i}+`).exec(x)||[];if(n){const e="y"===i&&2===n.length?2:0;x=x.replace(n,t[i].slice(e))}}return x}function dn(n,x="both"){return n=String(n),"both"==x?n.replace(/^\s+|\s+$/g,""):"left"==x?n.replace(/^\s*/,""):"right"==x?n.replace(/(\s*$)/g,""):"all"==x?n.replace(/\s+/g,""):n}function pn(n={},x=!0,e="brackets"){const t=x?"?":"",i=[];-1==["indices","brackets","repeat","comma"].indexOf(e)&&(e="brackets");for(const l in n){const x=n[l];if(!(["",void 0,null].indexOf(x)>=0))if(x.constructor===Array)switch(e){case"indices":for(let e=0;e{i.push(`${l}[]=${n}`)}));break;case"repeat":x.forEach((n=>{i.push(`${l}=${n}`)}));break;case"comma":let n="";x.forEach((x=>{n+=(n?",":"")+x})),i.push(`${l}=${n}`)}else i.push(`${l}=${x}`)}return i.length?t+i.join("&"):""}function mn(n,x=2e3){uni.showToast({title:String(n),icon:"none",duration:x})}function yn(n="success",x=!1){-1==["primary","info","error","warning","success"].indexOf(n)&&(n="success");let e="";switch(n){case"primary":case"info":e="info-circle";break;case"error":e="close-circle";break;case"warning":e="error-circle";break;default:e="checkmark-circle"}return x&&(e+="-fill"),e}function fn(n,x=0,e=".",t=","){n=`${n}`.replace(/[^0-9+-Ee.]/g,"");const i=isFinite(+n)?+n:0,l=isFinite(+x)?Math.abs(x):0,o=void 0===t?",":t,a=void 0===e?".":e;let s="";s=(l?function(n,x){const e=Math.pow(10,x);let t=W(Math.round(Math.abs(G(n,e))),e);return n<0&&0!==t&&(t=G(t,-1)),t}(i,l)+"":`${Math.round(i)}`).split(".");const r=/(-?\d+)(\d{3})/;for(;r.test(s[0]);)s[0]=s[0].replace(r,`$1${o}$2`);return(s[1]||"").length{}),x)}function wn(n,x){if("object"!=typeof n||null==n)return"";if("string"!=typeof x||""===x)return"";if(-1!==x.indexOf(".")){const e=x.split(".");let t=n[e[0]]||{};for(let n=1;n1;){const i=x[0];n[i]&&"object"==typeof n[i]||(n[i]={}),x.shift(),t(n[i],x,e)}else n[x[0]]=e};if("string"!=typeof x||""===x);else if(-1!==x.indexOf(".")){const i=x.split(".");t(n,i,e)}else n[x]=e}function jn(){const n=getCurrentPages();return`/${n[n.length-1].route||""}`}function kn(n,x=95){const e=function(n){const x=n.toLowerCase().trim();if(x.startsWith("#")){const n=x.replace("#",""),e=3===n.length?n.split("").map((n=>n+n)).join(""):n;return{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16)}}const e=x.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(e)return{r:+e[1],g:+e[2],b:+e[3]};throw new Error("Invalid color format")}(n),t=function(n,x,e){n/=255,x/=255,e/=255;const t=Math.max(n,x,e),i=Math.min(n,x,e);let l,o,a=(t+i)/2;if(t===i)l=o=0;else{const s=t-i;switch(o=a>.5?s/(2-t-i):s/(t+i),t){case n:l=(x-e)/s+(x{const i=(x+n/30)%12,l=e-t*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*l).toString(16).padStart(2,"0")};return`#${i(0)}${i(8)}${i(4)}`}(i.h,i.s,i.l)}String.prototype.padStart||(String.prototype.padStart=function(n,x=" "){if("[object String]"!==Object.prototype.toString.call(x))throw new TypeError("fillString must be String");const e=this;if(e.length>=n)return String(e);const t=n-e.length;let i=Math.ceil(t/x.length);for(;i>>=1;)x+=x,1===i&&(x+=x);return x.slice(0,t)+e});const _n={range:K,getPx:Q,sleep:J,os:X,sys:Z,getWindowInfo:nn,random:en,guid:tn,$parent:ln,addStyle:on,addUnit:an,deepClone:sn,deepMerge:rn,shallowMerge:cn,error:un,randomArray:hn,timeFormat:gn,timeFrom:function(n=null,x="yyyy-mm-dd"){null==n&&(n=Number(new Date)),10==(n=parseInt(n)).toString().length&&(n*=1e3);let e=(new Date).getTime()-n;e=parseInt(e/1e3);let t="";switch(!0){case e<300:t="刚刚";break;case e>=300&&e<3600:t=`${parseInt(e/60)}分钟前`;break;case e>=3600&&e<86400:t=`${parseInt(e/3600)}小时前`;break;case e>=86400&&e<2592e3:t=`${parseInt(e/86400)}天前`;break;default:t=!1===x?e>=2592e3&&e<31536e3?`${parseInt(e/2592e3)}个月前`:`${parseInt(e/31536e3)}年前`:gn(n,x)}return t},trim:dn,queryParams:pn,toast:mn,type2icon:yn,priceFormat:fn,getDuration:function(n,x=!0){const e=parseInt(n);return x?/s$/.test(n)?n:n>30?`${n}ms`:`${n}s`:/ms$/.test(n)?e:/s$/.test(n)?e>30?e:1e3*e:e},padZero:bn,formValidate:vn,getProperty:wn,setProperty:zn,page:jn,pages:function(){return getCurrentPages()},getValueByPath:function(n,x){return x.split(".").reduce(((n,x)=>n&&void 0!==n[x]?n[x]:void 0),n)},genLightColor:kn},En={calendar:{title:"日期选择",showTitle:!0,showSubtitle:!0,mode:"single",startText:"开始",endText:"结束",customList:[],color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"确定",confirmDisabledText:"确定",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3,weekText:["一","二","三","四","五","六","日"],forbidDays:[],forbidDaysToast:"该日期已禁用"}},Nn={datetimePicker:{show:!1,popupMode:"bottom",showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:[],inputBorder:"surround",disabled:!1,disabledColor:"",placeholder:"请选择",inputProps:{}}},{color:Sn}=v,Cn={icon:{name:"",color:Sn["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:Sn["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}},{color:qn}=v,Tn={link:{color:qn["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"链接已复制,请在浏览器打开",lineColor:"",text:""}},{color:Vn}=v,An={actionSheet:{show:!1,title:"",description:"",actions:[],index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0,wrapMaxHeight:"600px"},album:{urls:[],keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0,autoWrap:!1,unit:"px",stop:!0},alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14},avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""},avatarGroup:{urls:[],maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0},backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:{color:"#909399",fontSize:"19px"}},badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:[],inverted:!1,absolute:!1},button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:"",stop:!0},...En,carKeyboard:{random:!1},card:{full:!1,title:"",titleColor:"#303133",titleSize:"15px",subTitle:"",subTitleColor:"#909399",subTitleSize:"13px",border:!0,index:"",margin:"15px",borderRadius:"8px",headStyle:{},bodyStyle:{},footStyle:{},headBorderBottom:!0,footBorderTop:!0,thumb:"",thumbWidth:"30px",thumbCircle:!1,padding:"15px",paddingHead:"",paddingBody:"",paddingFoot:"",showHead:!0,showFoot:!0,boxShadow:"none"},cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""},cellGroup:{title:"",border:!0,customStyle:{}},checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""},checkboxGroup:{name:"",value:[],shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1},circleProgress:{percentage:30},code:{seconds:60,startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取",keepRunning:!1,uniqueKey:""},codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0},col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"},collapse:{value:null,accordion:!1,border:!0},collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300,showRight:!0,titleStyle:{},iconStyle:{},rightIconStyle:{},cellCustomStyle:{},cellCustomClass:""},columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0,justifyContent:"flex-start"},countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1},countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""},...Nn,divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"},empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0},form:{model:{},rules:{},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:{}},formItem:{label:"",prop:"",rules:[],borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""},gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}},grid:{col:3,border:!1,align:"left"},gridItem:{name:null,bgColor:"transparent"},...Cn,image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"},indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#f1f1f1",height:32},indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:[],sticky:!0,customNavHeight:0,safeBottomFix:!1},input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:140,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null},keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"取消",confirmText:"确定",autoChange:!1},line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1},lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12,fromRight:!1},...Tn,list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1},listItem:{anchor:""},...{loadingIcon:{show:!0,color:Vn["u-tips-color"],textColor:Vn["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}},loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8",zIndex:10},loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1},modal:{show:!1,title:"",content:"",confirmText:"确认",cancelText:"取消",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:"",duration:400,contentTextAlign:"left",asyncCloseTip:"操作中...",asyncCancelClose:!1,contentStyle:{}},...{navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",titleColor:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:z.mainColor,autoBack:!1,titleStyle:""}},noNetwork:{tips:"哎呀,网络信号丢失",zIndex:"",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQ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QBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"},noticeBar:{text:[],direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo",justifyContent:"flex-start"},notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1},...{numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonWidth:30,buttonSize:30,buttonRadius:"0px",bgColor:"#EBECEE",disabledBgColor:"#f7f8fa",inputBgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:"",miniMode:!1}},numberKeyboard:{mode:"number",dotDisabled:!1,random:!1},overlay:{show:!1,zIndex:10070,duration:300,opacity:.5},parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0},picker:{show:!1,popupMode:"bottom",showToolbar:!0,title:"",columns:[],loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确定",cancelColor:"#909193",confirmColor:"",visibleItemCount:5,keyName:"text",valueName:"value",closeOnClickOverlay:!1,defaultIndex:[],immediateChange:!0,zIndex:10076,disabled:!1,disabledColor:"",placeholder:"请选择",inputProps:{},bgColor:"",round:0,duration:300,overlayOpacity:.5},popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:{},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5},radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""},radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left",gap:"10px"},rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0},readMore:{showHeight:400,toggle:!1,closeText:"展开阅读全文",openText:"收起",color:"#2979ff",fontSize:14,textIndent:"2em",name:""},row:{gutter:0,justify:"start",align:"center"},rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80},scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""},search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:{},actionText:"搜索",inputAlign:"left",inputStyle:{},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",iconPosition:"left",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null},section:{title:"",subTitle:"更多",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0},skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"},slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:{},useNative:!1,height:"2px"},statusBar:{bgColor:"transparent",height:0},steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1},stepsItem:{title:"",desc:"",iconSize:17,error:!1},sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""},subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name",activeColorKeyName:"activeColorKey",inactiveColorKeyName:"inactiveColorKey",disabled:!1},swipeAction:{autoClose:!0},swipeActionItem:{show:!1,closeOnClick:!0,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300},swiper:{list:[],indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1},swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"},switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0},tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0},tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"},tabs:{duration:300,list:[],lineColor:"#3c9cff",activeStyle:{color:"#303133"},inactiveStyle:{color:"#606266"},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:{height:"44px"},scrollable:!0,current:0,keyName:"name",iconStyle:{}},tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:"",iconColor:"",textSize:"",height:"",padding:"",borderRadius:"",autoBgColor:0},text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:{fontSize:"15px"},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal",flex1:!0},textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null},toast:{zIndex:10090,loading:!1,message:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:{},duration:2e3,isTab:!1,url:"",callback:null,back:!1},toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"",title:""},tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:[],overlay:!0,showToast:!0},transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"},...{upload:{accept:"image",extension:[],capture:["album","camera"],compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:["original","compressed"],multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:[],uploadText:"",width:80,height:80,previewImage:!0,autoDelete:!1,autoUpload:!1,autoUploadApi:"",autoUploadAuthUrl:"",autoUploadDriver:"",autoUploadHeader:{},getVideoThumb:!1,customAfterAutoUpload:!1,videoPreviewObjectFit:"cover"}}};if(uni&&uni.upuiParams){x("log","at node_modules/uview-plus/libs/config/props.js:206","setting uview-plus");let n=uni.upuiParams();n.httpIns&&n.httpIns(D),n.options&&(In=n.options,cn(v,In.config||{}),cn(An,In.props||{}),cn(z,In.color||{}),cn(w,In.zIndex||{}))}var In;const Bn={props:{name:{type:String,default:()=>An.icon.name},color:{type:String,default:()=>An.icon.color},size:{type:[String,Number],default:()=>An.icon.size},bold:{type:Boolean,default:()=>An.icon.bold},index:{type:[String,Number],default:()=>An.icon.index},hoverClass:{type:String,default:()=>An.icon.hoverClass},customPrefix:{type:String,default:()=>An.icon.customPrefix},label:{type:[String,Number],default:()=>An.icon.label},labelPos:{type:String,default:()=>An.icon.labelPos},labelSize:{type:[String,Number],default:()=>An.icon.labelSize},labelColor:{type:String,default:()=>An.icon.labelColor},space:{type:[String,Number],default:()=>An.icon.space},imgMode:{type:String,default:()=>An.icon.imgMode},width:{type:[String,Number],default:()=>An.icon.width},height:{type:[String,Number],default:()=>An.icon.height},top:{type:[String,Number],default:()=>An.icon.top},stop:{type:Boolean,default:()=>An.icon.stop}}},Dn={};const Mn=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(n){return"/"===n[0]?n:`/${n}`}mixinParam(n,x){n=n&&this.addRootPath(n);let e="";return/.*\/.*\?.*=.*/.test(n)?(e=pn(x,!1),n+`&${e}`):(e=pn(x),n+e)}async route(n={},x={}){let e={};if("string"==typeof n?(e.url=this.mixinParam(n,x),e.type="navigateTo"):(e=rn(this.config,n),e.url=this.mixinParam(n.url,n.params)),e.url!==jn())if(x.intercept&&(this.config.intercept=x.intercept),e.params=x,e=rn(this.config,e),"function"==typeof uni.$u.routeIntercept){await new Promise(((n,x)=>{uni.$u.routeIntercept(e,n)}))&&this.openPage(e)}else this.openPage(e)}openPage(n){const{url:x,type:e,delta:t,animationType:i,animationDuration:l}=n;"navigateTo"!=n.type&&"to"!=n.type||uni.navigateTo({url:x,animationType:i,animationDuration:l}),"redirectTo"!=n.type&&"redirect"!=n.type||uni.redirectTo({url:x}),"switchTab"!=n.type&&"tab"!=n.type||uni.switchTab({url:x}),"reLaunch"!=n.type&&"launch"!=n.type||uni.reLaunch({url:x}),"navigateBack"!=n.type&&"back"!=n.type||uni.navigateBack({delta:t})}}).route,On={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},created(){this.$u.getRect=this.$uGetRect},computed:{$u:()=>rn(uni.$u,{props:void 0,http:void 0,mixin:void 0}),bem:()=>function(n,x,e){const t=`u-${n}--`,i={};return x&&x.map((n=>{i[t+this[n]]=!0})),e&&e.map((n=>{this[n]?i[t+n]=this[n]:delete i[t+n]})),Object.keys(i)}},methods:{openPage(n="url"){const x=this[n];x&&Mn({type:this.linkType,url:x})},navTo(n="",x="navigateTo"){Mn({type:this.linkType,url:n})},$uGetRect(n,x){return new Promise((e=>{uni.createSelectorQuery().in(this)[x?"selectAll":"select"](n).boundingClientRect((n=>{x&&Array.isArray(n)&&n.length&&e(n),!x&&n&&e(n)})).exec()}))},getParentData(n=""){this.parent||(this.parent={}),this.parent=ln.call(this,n),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((n=>{this.parentData[n]=this.parent[n]}))},preventEvent(n){n&&"function"==typeof n.stopPropagation&&n.stopPropagation()},noop(n){this.preventEvent(n)}},onReachBottom(){uni.$emit("uOnReachBottom")},beforeUnmount(){if(this.parent&&L.array(this.parent.children)){const n=this.parent.children;n.map(((x,e)=>{x===this&&n.splice(e,1)}))}}};let Rn={loaded:!1};const Pn=Rn,Ln=()=>(Rn.loaded=!0,uni.loadFontFace({global:!0,family:"uicon-iconfont",source:'url("'+v.iconUrl+'")',success(){},fail(){}}),v.customIcon.family&&uni.loadFontFace({global:!0,family:v.customIcon.family,source:'url("'+v.customIcon.url+'")',success(){},fail(){}}),!0),Fn={name:"u-icon",beforeCreate(){Pn.loaded||Ln()},data:()=>({}),emits:["click"],mixins:[Dn,On,Bn],computed:{uClasses(){let n=[];return n.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?n.push("u-iconfont"):n.push(this.customPrefix),this.color&&v.type.includes(this.color)&&n.push("u-icon__icon--"+this.color),n},iconStyle(){let n={};return n={fontSize:an(this.size),lineHeight:an(this.size),fontWeight:this.bold?"bold":"normal",top:an(this.top)},"uicon"!==this.customPrefix&&(n.fontFamily=this.customPrefix),this.color&&!v.type.includes(this.color)&&(n.color=this.color),n},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let n={};return n.width=this.width?an(this.width):an(this.size),n.height=this.height?an(this.height):an(this.size),n},icon(){return"uicon"!==this.customPrefix?v.customIcons[this.name]||this.name:b["uicon-"+this.name]||this.name}},methods:{addStyle:on,addUnit:an,clickHandler(n){this.$emit("click",this.index,n),this.stop&&this.preventEvent(n)}}};const Un=h(Fn,[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["u-icon",["u-icon--"+x.labelPos]]),onClick:e[0]||(e[0]=(...n)=>o.clickHandler&&o.clickHandler(...n))},[o.isImg?(n.openBlock(),n.createElementBlock("image",{key:0,class:"u-icon__img",src:x.name,mode:x.imgMode,style:n.normalizeStyle([o.imgStyle,o.addStyle(x.customStyle)])},null,12,["src","mode"])):(n.openBlock(),n.createElementBlock("text",{key:1,class:n.normalizeClass(["u-icon__icon",o.uClasses]),style:n.normalizeStyle([o.iconStyle,o.addStyle(x.customStyle)]),"hover-class":x.hoverClass},n.toDisplayString(o.icon),15,["hover-class"])),""!==x.label?(n.openBlock(),n.createElementBlock("text",{key:2,class:"u-icon__label",style:n.normalizeStyle({color:x.labelColor,fontSize:o.addUnit(x.labelSize),marginLeft:"right"==x.labelPos?o.addUnit(x.space):0,marginTop:"bottom"==x.labelPos?o.addUnit(x.space):0,marginRight:"left"==x.labelPos?o.addUnit(x.space):0,marginBottom:"top"==x.labelPos?o.addUnit(x.space):0})},n.toDisplayString(x.label),5)):n.createCommentVNode("",!0)],2)}],["__scopeId","data-v-c494bb61"]]),$n=Object.freeze(Object.defineProperty({__proto__:null,default:Un},Symbol.toStringTag,{value:"Module"})),Hn={props:{show:{type:Boolean,default:()=>An.transition.show},mode:{type:String,default:()=>An.transition.mode},duration:{type:[String,Number],default:()=>An.transition.duration},timingFunction:{type:String,default:()=>An.transition.timingFunction}}},Yn=n=>({enter:`u-${n}-enter u-${n}-enter-active`,"enter-to":`u-${n}-enter-to u-${n}-enter-active`,leave:`u-${n}-leave u-${n}-leave-active`,"leave-to":`u-${n}-leave-to u-${n}-leave-active`});const Gn=h({name:"u-transition",data:()=>({inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}),emits:["click","beforeEnter","enter","afterEnter","beforeLeave","leave","afterLeave"],computed:{mergeStyle(){const{viewStyle:n,customStyle:x}=this;return{transitionDuration:`${this.duration}ms`,transitionTimingFunction:this.timingFunction,...on(x),...n}}},mixins:[Dn,On,{methods:{clickHandler(){this.$emit("click")},async vueEnter(){const x=Yn(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=x.enter,await n.nextTick(),await J(20),this.$emit("enter"),this.transitionEnded=!1,this.$emit("afterEnter"),this.classes=x["enter-to"]},async vueLeave(){if(!this.display)return;const x=Yn(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=x.leave,await n.nextTick(),this.transitionEnded=!1,this.$emit("leave"),setTimeout(this.onTransitionEnd,this.duration),this.classes=x["leave-to"]},onTransitionEnd(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}},Hn],watch:{show:{handler(n){n?this.vueEnter():this.vueLeave()},immediate:!0}}},[["render",function(x,e,t,i,l,o){return l.inited?(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["u-transition",l.classes]),ref:"u-transition",onClick:e[0]||(e[0]=(...n)=>x.clickHandler&&x.clickHandler(...n)),style:n.normalizeStyle([o.mergeStyle]),onTouchmove:e[1]||(e[1]=(...n)=>x.noop&&x.noop(...n))},[n.renderSlot(x.$slots,"default",{},void 0,!0)],38)):n.createCommentVNode("",!0)}],["__scopeId","data-v-66823e3c"]]),Wn=Object.freeze(Object.defineProperty({__proto__:null,default:Gn},Symbol.toStringTag,{value:"Module"})),Kn={props:{src:{type:String,default:()=>An.image.src},mode:{type:String,default:()=>An.image.mode},width:{type:[String,Number],default:()=>An.image.width},height:{type:[String,Number],default:()=>An.image.height},shape:{type:String,default:()=>An.image.shape},radius:{type:[String,Number],default:()=>An.image.radius},lazyLoad:{type:Boolean,default:()=>An.image.lazyLoad},showMenuByLongpress:{type:Boolean,default:()=>An.image.showMenuByLongpress},loadingIcon:{type:String,default:()=>An.image.loadingIcon},errorIcon:{type:String,default:()=>An.image.errorIcon},showLoading:{type:Boolean,default:()=>An.image.showLoading},showError:{type:Boolean,default:()=>An.image.showError},fade:{type:Boolean,default:()=>An.image.fade},webp:{type:Boolean,default:()=>An.image.webp},duration:{type:[String,Number],default:()=>An.image.duration},bgColor:{type:String,default:()=>An.image.bgColor}}},Qn={name:"u-image",mixins:[Dn,On,Kn],data(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{},show:!1}},watch:{src:{immediate:!0,handler(n){n?(this.isError=!1,this.loading=!0):this.isError=!0}}},computed:{transStyle(){let n={};return this.loading||this.isError||"100%"==this.width||"heightFix"!=this.mode?n.width=an(this.width):n.width="fit-content",this.loading||this.isError||"100%"==this.height||"widthFix"!=this.mode?n.height=an(this.height):n.height="fit-content",n},wrapStyle(){let n={};return this.loading||this.isError||"100%"==this.width||"heightFix"!=this.mode?n.width=an(this.width):n.width="fit-content",this.loading||this.isError||"100%"==this.height||"widthFix"!=this.mode?n.height=an(this.height):n.height="fit-content",n.borderRadius="circle"==this.shape?"10000px":an(this.radius),n.overflow=this.radius>0?"hidden":"visible",rn(n,on(this.customStyle))}},mounted(){this.show=!0},emits:["click","error","load"],methods:{addUnit:an,onClick(n){this.$emit("click",n)},onErrorHandler(n){this.loading=!1,this.isError=!0,this.$emit("error",n)},onLoadHandler(n){this.loading=!1,this.isError=!1,this.$emit("load",n),this.removeBgColor()},removeBgColor(){}}};const Jn=h(Qn,[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("u-icon"),Un),r=e(n.resolveDynamicComponent("u-transition"),Gn);return n.openBlock(),n.createBlock(r,{mode:"fade",show:o.show,style:n.normalizeStyle(a.transStyle),duration:x.fade?1e3:0},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"u-image box-border",onClick:t[2]||(t[2]=(...n)=>a.onClick&&a.onClick(...n)),style:n.normalizeStyle([a.wrapStyle,o.backgroundStyle])},[o.isError?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("image",{key:0,src:x.src,mode:x.mode,onError:t[0]||(t[0]=(...n)=>a.onErrorHandler&&a.onErrorHandler(...n)),onLoad:t[1]||(t[1]=(...n)=>a.onLoadHandler&&a.onLoadHandler(...n)),"show-menu-by-longpress":x.showMenuByLongpress,"lazy-load":x.lazyLoad,class:"u-image__image",style:n.normalizeStyle({width:a.addUnit(x.width),height:a.addUnit(x.height),borderRadius:"circle"==x.shape?"10000px":a.addUnit(x.radius)})},null,44,["src","mode","show-menu-by-longpress","lazy-load"])),x.showLoading&&o.loading?(n.openBlock(),n.createElementBlock("view",{key:1,class:"u-image__loading",style:n.normalizeStyle({borderRadius:"circle"==x.shape?"50%":a.addUnit(x.radius),backgroundColor:this.bgColor,width:a.addUnit(x.width),height:a.addUnit(x.height)})},[n.renderSlot(x.$slots,"loading",{},(()=>[n.createVNode(s,{name:x.loadingIcon},null,8,["name"])]),!0)],4)):n.createCommentVNode("",!0),x.showError&&o.isError&&!o.loading?(n.openBlock(),n.createElementBlock("view",{key:2,class:"u-image__error",style:n.normalizeStyle({borderRadius:"circle"==x.shape?"50%":a.addUnit(x.radius),backgroundColor:this.bgColor,width:a.addUnit(x.width),height:a.addUnit(x.height)})},[n.renderSlot(x.$slots,"error",{},(()=>[n.createVNode(s,{name:x.errorIcon},null,8,["name"])]),!0)],4)):n.createCommentVNode("",!0)],4)])),_:3},8,["show","style","duration"])}],["__scopeId","data-v-59d85306"]]),Xn=Object.freeze(Object.defineProperty({__proto__:null,default:Jn},Symbol.toStringTag,{value:"Module"})),Zn=["{","}"];const nx=/^(?:\d)+/,xx=/^(?:\w)+/;const ex="zh-Hans",tx="zh-Hant",ix="en",lx=Object.prototype.hasOwnProperty,ox=(n,x)=>lx.call(n,x),ax=new class{constructor(){this._caches=Object.create(null)}interpolate(n,x,e=Zn){if(!x)return[n];let t=this._caches[n];return t||(t=function(n,[x,e]){const t=[];let i=0,l="";for(;i-1?ex:n.indexOf("-hant")>-1?tx:(e=n,["-tw","-hk","-mo","-cht"].find((n=>-1!==e.indexOf(n)))?tx:ex);var e;let t=[ix,"fr","es"];x&&Object.keys(x).length>0&&(t=Object.keys(x));const i=function(n,x){return x.find((x=>0===n.indexOf(x)))}(n,t);return i||void 0}class rx{constructor({locale:n,fallbackLocale:x,messages:e,watcher:t,formater:i}){this.locale=ix,this.fallbackLocale=ix,this.message={},this.messages={},this.watchers=[],x&&(this.fallbackLocale=x),this.formater=i||ax,this.messages=e||{},this.setLocale(n||ix),t&&this.watchLocale(t)}setLocale(n){const x=this.locale;this.locale=sx(n,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],x!==this.locale&&this.watchers.forEach((n=>{n(this.locale,x)}))}getLocale(){return this.locale}watchLocale(n){const x=this.watchers.push(n)-1;return()=>{this.watchers.splice(x,1)}}add(n,x,e=!0){const t=this.messages[n];t?e?Object.assign(t,x):Object.keys(x).forEach((n=>{ox(t,n)||(t[n]=x[n])})):this.messages[n]=x}f(n,x,e){return this.formater.interpolate(n,x,e).join("")}t(n,x,e){let t=this.message;return"string"==typeof x?(x=sx(x,this.messages))&&(t=this.messages[x]):e=x,ox(t,n)?this.formater.interpolate(t[n],e).join(""):(console.warn(`Cannot translate the value of keypath ${n}. Use the value of keypath as default.`),n)}}function cx(n,x={},e,t){if("string"!=typeof n){const e=[x,n];n=e[0],x=e[1]}"string"!=typeof n&&(n="undefined"!=typeof uni&&uni.getLocale?uni.getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():ix),"string"!=typeof e&&(e="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||ix);const i=new rx({locale:n,fallbackLocale:e,messages:x,watcher:t});let l=(n,x)=>{if("function"!=typeof getApp)l=function(n,x){return i.t(n,x)};else{let n=!1;l=function(x,e){const t=getApp().$vm;return t&&(t.$locale,n||(n=!0,function(n,x){n.$watchLocale?n.$watchLocale((n=>{x.setLocale(n)})):n.$watch((()=>n.$locale),(n=>{x.setLocale(n)}))}(t,i))),i.t(x,e)}}return l(n,x)};return{i18n:i,f:(n,x,e)=>i.f(n,x,e),t:(n,x)=>l(n,x),add:(n,x,e=!0)=>i.add(n,x,e),watch:n=>i.watchLocale(n),getLocale:()=>i.getLocale(),setLocale:n=>i.setLocale(n)}}const ux={en:{"uni-search-bar.cancel":"cancel","uni-search-bar.placeholder":"Search enter content"},"zh-Hans":{"uni-search-bar.cancel":"取消","uni-search-bar.placeholder":"请输入搜索内容"},"zh-Hant":{"uni-search-bar.cancel":"取消","uni-search-bar.placeholder":"請輸入搜索內容"}},{t:hx}=cx(ux),gx={name:"UniSearchBar",emits:["input","update:modelValue","clear","cancel","confirm","blur","focus"],props:{placeholder:{type:String,default:""},radius:{type:[Number,String],default:5},clearButton:{type:String,default:"auto"},cancelButton:{type:String,default:"auto"},cancelText:{type:String,default:""},bgColor:{type:String,default:"#F8F8F8"},textColor:{type:String,default:"#000000"},maxlength:{type:[Number,String],default:100},value:{type:[Number,String],default:""},modelValue:{type:[Number,String],default:""},focus:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data:()=>({show:!1,showSync:!1,searchVal:""}),computed:{cancelTextI18n(){return this.cancelText||hx("uni-search-bar.cancel")},placeholderText(){return this.placeholder||hx("uni-search-bar.placeholder")}},watch:{modelValue:{immediate:!0,handler(n){this.searchVal=n,n&&(this.show=!0)}},focus:{immediate:!0,handler(n){if(n){if(this.readonly)return;this.show=!0,this.$nextTick((()=>{this.showSync=!0}))}}},searchVal(n,x){this.$emit("input",n),this.$emit("update:modelValue",n)}},methods:{searchClick(){this.readonly||this.show||(this.show=!0,this.$nextTick((()=>{this.showSync=!0})))},clear(){this.searchVal="",this.$nextTick((()=>{this.$emit("clear",{value:""})}))},cancel(){this.readonly||(this.$emit("cancel",{value:this.searchVal}),this.searchVal="",this.show=!1,this.showSync=!1,plus.key.hideSoftKeybord())},confirm(){plus.key.hideSoftKeybord(),this.$emit("confirm",{value:this.searchVal})},blur(){plus.key.hideSoftKeybord(),this.$emit("blur",{value:this.searchVal})},emitFocus(n){this.$emit("focus",n.detail)}}};const dx=h(gx,[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock("view",{class:"uni-searchbar"},[n.createElementVNode("view",{style:n.normalizeStyle({borderRadius:i.radius+"px",backgroundColor:i.bgColor}),class:"uni-searchbar__box",onClick:t[5]||(t[5]=(...n)=>a.searchClick&&a.searchClick(...n))},[n.createElementVNode("view",{class:"uni-searchbar__box-icon-search"},[n.renderSlot(x.$slots,"searchIcon",{},(()=>[n.createVNode(s,{color:"#c0c4cc",size:"18",type:"search"})]),!0)]),o.show||o.searchVal?n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:0,focus:o.showSync,disabled:i.readonly,placeholder:a.placeholderText,maxlength:i.maxlength,class:"uni-searchbar__box-search-input","confirm-type":"search",type:"text","onUpdate:modelValue":t[0]||(t[0]=n=>o.searchVal=n),style:n.normalizeStyle({color:i.textColor}),onConfirm:t[1]||(t[1]=(...n)=>a.confirm&&a.confirm(...n)),onBlur:t[2]||(t[2]=(...n)=>a.blur&&a.blur(...n)),onFocus:t[3]||(t[3]=(...n)=>a.emitFocus&&a.emitFocus(...n))},null,44,["focus","disabled","placeholder","maxlength"])),[[n.vModelText,o.searchVal]]):(n.openBlock(),n.createElementBlock("text",{key:1,class:"uni-searchbar__text-placeholder"},n.toDisplayString(i.placeholder),1)),o.show&&("always"===i.clearButton||"auto"===i.clearButton&&""!==o.searchVal)&&!i.readonly?(n.openBlock(),n.createElementBlock("view",{key:2,class:"uni-searchbar__box-icon-clear",onClick:t[4]||(t[4]=(...n)=>a.clear&&a.clear(...n))},[n.renderSlot(x.$slots,"clearIcon",{},(()=>[n.createVNode(s,{color:"#c0c4cc",size:"20",type:"clear"})]),!0)])):n.createCommentVNode("",!0)],4),"always"===i.cancelButton||o.show&&"auto"===i.cancelButton?(n.openBlock(),n.createElementBlock("text",{key:0,onClick:t[6]||(t[6]=(...n)=>a.cancel&&a.cancel(...n)),class:"uni-searchbar__cancel"},n.toDisplayString(a.cancelTextI18n),1)):n.createCommentVNode("",!0)])}],["__scopeId","data-v-2ba324d9"]]),px={props:{show:{type:Boolean,default:()=>An.loadingIcon.show},color:{type:String,default:()=>An.loadingIcon.color},textColor:{type:String,default:()=>An.loadingIcon.textColor},vertical:{type:Boolean,default:()=>An.loadingIcon.vertical},mode:{type:String,default:()=>An.loadingIcon.mode},size:{type:[String,Number],default:()=>An.loadingIcon.size},textSize:{type:[String,Number],default:()=>An.loadingIcon.textSize},text:{type:[String,Number],default:()=>An.loadingIcon.text},timingFunction:{type:String,default:()=>An.loadingIcon.timingFunction},duration:{type:[String,Number],default:()=>An.loadingIcon.duration},inactiveColor:{type:String,default:()=>An.loadingIcon.inactiveColor}}};function mx(n="rgb(0, 0, 0)",x="rgb(255, 255, 255)",e=10){const t=yx(n,!1),i=t[0],l=t[1],o=t[2],a=yx(x,!1),s=(a[0]-i)/e,r=(a[1]-l)/e,c=(a[2]-o)/e,u=[];for(let h=0;hNumber(n)))}return n}function fx(n){const x=n;if(/^(rgb|RGB)/.test(x)){const n=x.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let e="#";for(let x=0;x({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const n=mx(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:n:"transparent"}},watch:{show(n){}},mounted(){this.init()},methods:{addUnit:an,addStyle:on,init(){setTimeout((()=>{this.show&&this.addEventListenerToWebview()}),20)},addEventListenerToWebview(){const n=getCurrentPages(),x=n[n.length-1].$getAppWebview();x.addEventListener("hide",(()=>{this.webviewHide=!0})),x.addEventListener("show",(()=>{this.webviewHide=!1}))}}},[["render",function(x,e,t,i,l,o){return x.show?(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["u-loading-icon",[x.vertical&&"u-loading-icon--vertical"]]),style:n.normalizeStyle([o.addStyle(x.customStyle)])},[l.webviewHide?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["u-loading-icon__spinner",[`u-loading-icon__spinner--${x.mode}`]]),ref:"ani",style:n.normalizeStyle({color:x.color,width:o.addUnit(x.size),height:o.addUnit(x.size),borderTopColor:x.color,borderBottomColor:o.otherBorderColor,borderLeftColor:o.otherBorderColor,borderRightColor:o.otherBorderColor,"animation-duration":`${x.duration}ms`,"animation-timing-function":"semicircle"===x.mode||"circle"===x.mode?x.timingFunction:""})},["spinner"===x.mode?(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:0},n.renderList(l.array12,((x,e)=>(n.openBlock(),n.createElementBlock("view",{key:e,class:"u-loading-icon__dot"})))),128)):n.createCommentVNode("",!0)],6)),x.text?(n.openBlock(),n.createElementBlock("text",{key:1,class:"u-loading-icon__text",style:n.normalizeStyle({fontSize:o.addUnit(x.textSize),color:x.textColor})},n.toDisplayString(x.text),5)):n.createCommentVNode("",!0)],6)):n.createCommentVNode("",!0)}],["__scopeId","data-v-ef49e161"]]),zx=Object.freeze(Object.defineProperty({__proto__:null,default:vx},Symbol.toStringTag,{value:"Module"}));const jx=h({name:"u-swiper-indicator",mixins:[Dn,On,{props:{length:{type:[String,Number],default:()=>An.swiperIndicator.length},current:{type:[String,Number],default:()=>An.swiperIndicator.current},indicatorActiveColor:{type:String,default:()=>An.swiperIndicator.indicatorActiveColor},indicatorInactiveColor:{type:String,default:()=>An.swiperIndicator.indicatorInactiveColor},indicatorMode:{type:String,default:()=>An.swiperIndicator.indicatorMode}}}],data:()=>({lineWidth:22}),computed:{lineStyle(){let n={};return n.width=an(this.lineWidth),n.transform=`translateX(${an(this.current*this.lineWidth)})`,n.backgroundColor=this.indicatorActiveColor,n},dotStyle(){return n=>{let x={};return x.backgroundColor=n===this.current?this.indicatorActiveColor:this.indicatorInactiveColor,x}}},methods:{addUnit:an}},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:"u-swiper-indicator"},["line"===x.indicatorMode?(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["u-swiper-indicator__wrapper",[`u-swiper-indicator__wrapper--${x.indicatorMode}`]]),style:n.normalizeStyle({width:o.addUnit(l.lineWidth*x.length),backgroundColor:x.indicatorInactiveColor})},[n.createElementVNode("view",{class:"u-swiper-indicator__wrapper--line__bar",style:n.normalizeStyle([o.lineStyle])},null,4)],6)):n.createCommentVNode("",!0),"dot"===x.indicatorMode?(n.openBlock(),n.createElementBlock("view",{key:1,class:"u-swiper-indicator__wrapper"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(x.length,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["u-swiper-indicator__wrapper__dot",[t===x.current&&"u-swiper-indicator__wrapper__dot--active"]]),key:t,style:n.normalizeStyle([o.dotStyle(t)])},null,6)))),128))])):n.createCommentVNode("",!0)])}],["__scopeId","data-v-298bb4bc"]]),kx=Object.freeze(Object.defineProperty({__proto__:null,default:jx},Symbol.toStringTag,{value:"Module"})),_x={props:{list:{type:Array,default:()=>An.swiper.list},indicator:{type:Boolean,default:()=>An.swiper.indicator},indicatorActiveColor:{type:String,default:()=>An.swiper.indicatorActiveColor},indicatorInactiveColor:{type:String,default:()=>An.swiper.indicatorInactiveColor},indicatorStyle:{type:[String,Object],default:()=>An.swiper.indicatorStyle},indicatorMode:{type:String,default:()=>An.swiper.indicatorMode},autoplay:{type:Boolean,default:()=>An.swiper.autoplay},current:{type:[String,Number],default:()=>An.swiper.current},currentItemId:{type:String,default:()=>An.swiper.currentItemId},interval:{type:[String,Number],default:()=>An.swiper.interval},duration:{type:[String,Number],default:()=>An.swiper.duration},circular:{type:Boolean,default:()=>An.swiper.circular},previousMargin:{type:[String,Number],default:()=>An.swiper.previousMargin},nextMargin:{type:[String,Number],default:()=>An.swiper.nextMargin},acceleration:{type:Boolean,default:()=>An.swiper.acceleration},displayMultipleItems:{type:Number,default:()=>An.swiper.displayMultipleItems},easingFunction:{type:String,default:()=>An.swiper.easingFunction},keyName:{type:String,default:()=>An.swiper.keyName},imgMode:{type:String,default:()=>An.swiper.imgMode},height:{type:[String,Number],default:()=>An.swiper.height},bgColor:{type:String,default:()=>An.swiper.bgColor},radius:{type:[String,Number],default:()=>An.swiper.radius},loading:{type:Boolean,default:()=>An.swiper.loading},showTitle:{type:Boolean,default:()=>An.swiper.showTitle}}},Ex={name:"u-swiper",mixins:[Dn,On,_x],data:()=>({currentIndex:0}),watch:{current(n,x){n!==x&&(this.currentIndex=n)}},emits:["click","change","update:current"],computed:{itemStyle(){return n=>{const x={};return this.nextMargin&&this.previousMargin&&(x.borderRadius=an(this.radius),n!==this.currentIndex&&(x.transform="scale(0.92)")),x}}},methods:{addStyle:on,addUnit:an,testObject:L.object,testImage:L.image,getItemType(n){return"string"==typeof n?L.video(this.getSource(n))?"video":"image":"object"==typeof n&&this.keyName?n.type?"image"===n.type?"image":"video"===n.type?"video":"image":L.video(this.getSource(n))?"video":"image":void 0},getSource(n){return"string"==typeof n?n:"object"==typeof n&&this.keyName?n[this.keyName]:""},change(n){const{current:x}=n.detail;this.pauseVideo(this.currentIndex),this.currentIndex=x,this.$emit("update:current",this.currentIndex),this.$emit("change",n.detail)},pauseVideo(n){const x=this.getSource(this.list[n]);if(L.video(x)){uni.createVideoContext(`video-${n}`,this).pause()}},getPoster:n=>"object"==typeof n&&n.poster?n.poster:"",clickHandler(n){this.$emit("click",n)}}};const Nx=h(Ex,[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("up-loading-icon"),vx),r=e(n.resolveDynamicComponent("up-swiper-indicator"),jx);return n.openBlock(),n.createElementBlock("view",{class:"u-swiper",style:n.normalizeStyle({backgroundColor:x.bgColor,height:a.addUnit(x.height),borderRadius:a.addUnit(x.radius)})},[x.loading?(n.openBlock(),n.createElementBlock("view",{key:0,class:"u-swiper__loading"},[n.createVNode(s,{mode:"circle"})])):(n.openBlock(),n.createElementBlock("swiper",{key:1,class:"u-swiper__wrapper",style:n.normalizeStyle({flex:"1",height:a.addUnit(x.height)}),onChange:t[0]||(t[0]=(...n)=>a.change&&a.change(...n)),circular:x.circular,interval:x.interval,duration:x.duration,autoplay:x.autoplay,current:x.current,currentItemId:x.currentItemId,previousMargin:a.addUnit(x.previousMargin),nextMargin:a.addUnit(x.nextMargin),acceleration:x.acceleration,displayMultipleItems:x.list.length>0?x.displayMultipleItems:0,easingFunction:x.easingFunction},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(x.list,((e,t)=>(n.openBlock(),n.createElementBlock("swiper-item",{class:"u-swiper__wrapper__item",key:t},[n.renderSlot(x.$slots,"default",{item:e,index:t},(()=>[n.createElementVNode("view",{class:"u-swiper__wrapper__item__wrapper",style:n.normalizeStyle([a.itemStyle(t)])},["image"===a.getItemType(e)?(n.openBlock(),n.createElementBlock("image",{key:0,class:"u-swiper__wrapper__item__wrapper__image",src:a.getSource(e),mode:x.imgMode,onClick:n=>a.clickHandler(t),style:n.normalizeStyle({height:a.addUnit(x.height),borderRadius:a.addUnit(x.radius)})},null,12,["src","mode","onClick"])):n.createCommentVNode("",!0),"video"===a.getItemType(e)?(n.openBlock(),n.createElementBlock("video",{key:1,class:"u-swiper__wrapper__item__wrapper__video",id:`video-${t}`,"enable-progress-gesture":!1,src:a.getSource(e),poster:a.getPoster(e),title:x.showTitle&&a.testObject(e)&&e.title?e.title:"",style:n.normalizeStyle({height:a.addUnit(x.height)}),controls:"",onClick:n=>a.clickHandler(t)},null,12,["id","src","poster","title","onClick"])):n.createCommentVNode("",!0),x.showTitle&&a.testObject(e)&&e.title&&a.testImage(a.getSource(e))?(n.openBlock(),n.createElementBlock("view",{key:2,class:"u-swiper__wrapper__item__wrapper__title"},[n.createElementVNode("text",{class:"u-line-1"},n.toDisplayString(e.title),1)])):n.createCommentVNode("",!0)],4)]),!0)])))),128))],44,["circular","interval","duration","autoplay","current","currentItemId","previousMargin","nextMargin","acceleration","displayMultipleItems","easingFunction"])),n.createElementVNode("view",{class:"u-swiper__indicator",style:n.normalizeStyle([a.addStyle(x.indicatorStyle)])},[n.renderSlot(x.$slots,"indicator",{},(()=>[x.loading||!x.indicator||x.showTitle?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(r,{key:0,indicatorActiveColor:x.indicatorActiveColor,indicatorInactiveColor:x.indicatorInactiveColor,length:x.list.length,current:o.currentIndex,indicatorMode:x.indicatorMode},null,8,["indicatorActiveColor","indicatorInactiveColor","length","current","indicatorMode"]))]),!0)],4)],4)}],["__scopeId","data-v-9421bac9"]]),Sx=Object.freeze(Object.defineProperty({__proto__:null,default:Nx},Symbol.toStringTag,{value:"Module"}));const Cx=h({name:"UniGridItem",inject:["grid"],props:{index:{type:Number,default:0}},data:()=>({column:0,showBorder:!0,square:!0,highlight:!0,left:0,top:0,openNum:2,width:0,borderColor:"#e5e5e5"}),created(){this.column=this.grid.column,this.showBorder=this.grid.showBorder,this.square=this.grid.square,this.highlight=this.grid.highlight,this.top=0===this.hor?this.grid.hor:this.hor,this.left=0===this.ver?this.grid.ver:this.ver,this.borderColor=this.grid.borderColor,this.grid.children.push(this),this.width=this.grid.width},beforeDestroy(){this.grid.children.forEach(((n,x)=>{n===this&&this.grid.children.splice(x,1)}))},methods:{_onClick(){this.grid.change({detail:{index:this.index}})}}},[["render",function(x,e,t,i,l,o){return l.width?(n.openBlock(),n.createElementBlock("view",{key:0,style:n.normalizeStyle("width:"+l.width+";"+(l.square?"height:"+l.width:"")),class:"uni-grid-item"},[n.createElementVNode("view",{class:n.normalizeClass([{"uni-grid-item--border":l.showBorder,"uni-grid-item--border-top":l.showBorder&&t.indexo._onClick&&o._onClick(...n))},[n.renderSlot(x.$slots,"default",{},void 0,!0)],6)],4)):n.createCommentVNode("",!0)}],["__scopeId","data-v-2511947d"]]),qx={name:"UniGrid",emits:["change"],props:{column:{type:Number,default:3},showBorder:{type:Boolean,default:!0},borderColor:{type:String,default:"#D2D2D2"},square:{type:Boolean,default:!0},highlight:{type:Boolean,default:!0}},provide(){return{grid:this}},data:()=>({elId:`Uni_${Math.ceil(1e6*Math.random()).toString(36)}`,width:0}),created(){this.children=[]},mounted(){this.$nextTick((()=>{this.init()}))},methods:{init(){setTimeout((()=>{this._getSize((n=>{this.children.forEach(((x,e)=>{x.width=n}))}))}),50)},change(n){this.$emit("change",n)},_getSize(n){uni.createSelectorQuery().in(this).select(`#${this.elId}`).boundingClientRect().exec((x=>{this.width=parseInt((x[0].width-1)/this.column)+"px",n(this.width)}))}}};const Tx=h(qx,[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:"uni-grid-wrap"},[n.createElementVNode("view",{id:l.elId,ref:"uni-grid",class:n.normalizeClass(["uni-grid",{"uni-grid--border":t.showBorder}]),style:n.normalizeStyle({"border-left-color":t.borderColor})},[n.renderSlot(x.$slots,"default",{},void 0,!0)],14,["id"])])}],["__scopeId","data-v-a6acbddc"]]),Vx={props:{show:{type:Boolean,default:()=>An.overlay.show},zIndex:{type:[String,Number],default:()=>An.overlay.zIndex},duration:{type:[String,Number],default:()=>An.overlay.duration},opacity:{type:[String,Number],default:()=>An.overlay.opacity}}};const Ax=h({name:"u-overlay",mixins:[Dn,On,Vx],computed:{overlayStyle(){return rn({position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`},on(this.customStyle))}},emits:["click"],methods:{clickHandler(){this.$emit("click")}}},[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("u-transition"),Gn);return n.openBlock(),n.createBlock(s,{show:x.show,"custom-class":"u-overlay",duration:x.duration,"custom-style":a.overlayStyle,onClick:a.clickHandler,onTouchmove:n.withModifiers(x.noop,["stop","prevent"])},{default:n.withCtx((()=>[n.renderSlot(x.$slots,"default",{},void 0,!0)])),_:3},8,["show","duration","custom-style","onClick","onTouchmove"])}],["__scopeId","data-v-768257d0"]]),Ix=Object.freeze(Object.defineProperty({__proto__:null,default:Ax},Symbol.toStringTag,{value:"Module"})),Bx={__name:"GlobalDialog",emits:["confirm"],setup(e,{emit:t}){const i=n.ref(!1),l=n.ref("消息通知"),o=n.ref(""),a=n.ref("我知道了"),s=n.ref("center"),r=n.ref("20rpx"),c=n.ref(null),u=n.ref(0),h=n.ref(!1);function g(n={}){l.value=n.title||"消息通知",o.value=n.content||"",a.value=n.confirmText||"我知道了",s.value="top"===n.position?"top":"center",r.value=n.offsetTop||"20rpx",i.value=!0,c.value&&clearTimeout(c.value),c.value=setTimeout((()=>{d()}),5e3)}function d(){i.value=!1,c.value&&(clearTimeout(c.value),c.value=null)}function p(n){const x=n.changedTouches?n.changedTouches[0]:n.touches?n.touches[0]:null;x&&(u.value=x.clientY||x.pageY||0,h.value=!1)}function m(n){const x=n.changedTouches?n.changedTouches[0]:n.touches?n.touches[0]:null;if(!x)return;(x.clientY||x.pageY||0)-u.value<-60&&(h.value=!0)}function y(){h.value&&d()}n.onMounted((()=>{x("log","at components/GlobalDialog.vue:87","[GlobalDialog] mounted"),uni.$on("global-dialog:show",g),uni.$on("global-dialog:hide",d),uni.$showGlobalDialog=(n={})=>{x("log","at components/GlobalDialog.vue:93","[GlobalDialog] uni.$showGlobalDialog called",n),uni.$emit("global-dialog:show",n)}})),n.onBeforeUnmount((()=>{uni.$off("global-dialog:show",g),uni.$off("global-dialog:hide",d)}));const f=n.computed((()=>"top"===s.value?"is-top":"is-center")),b=n.computed((()=>"top"===s.value?{paddingTop:r.value}:{}));return(x,e)=>n.withDirectives((n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["gd-mask",f.value]),style:n.normalizeStyle(b.value)},[n.createElementVNode("view",{class:"gd-dialog",onTouchstart:p,onTouchmove:m,onTouchend:y},[n.createElementVNode("view",{class:"gd-title"},n.toDisplayString(l.value),1),n.createElementVNode("scroll-view",{class:"gd-content","scroll-y":""},[n.createElementVNode("text",{class:"gd-text"},n.toDisplayString(o.value),1)])],32)],6)),[[n.vShow,i.value]])}},Dx=h(Bx,[["__scopeId","data-v-eb53c17e"]]),Mx={__name:"tabBar",props:{},emits:["tabChange"],setup(e,{expose:t,emit:l}){const a=n.ref(0),s=n.reactive([{icon:"/static/home_nor.png",activeIcon:"/static/home_sel.png",text:"首页",color:"#999999",activeColor:"#007aff",badge:0,showRedDot:!1,pagePath:"/pages/index/index?from=push"},{icon:"/static/classroom.png",activeIcon:"/static/classroomOn.png",text:"患教学堂",color:"#999999",activeColor:"#007aff",badge:0,showRedDot:!1,pagePath:"/pages/patientClass/patientClass"},{icon:"/static/live.png",activeIcon:"/static/liveOn.png",text:"会议·直播",color:"#999999",activeColor:"#007aff",badge:0,showRedDot:!1,pagePath:"/pages/live/live"},{icon:"/static/education.png",activeIcon:"/static/educationOn.png",text:"继续教育",color:"#999999",activeColor:"#007aff",badge:0,showRedDot:!1,pagePath:"/pages/education/education"},{icon:"/static/my.png",activeIcon:"/static/myOn.png",text:"我的",color:"#999999",activeColor:"#007aff",badge:0,showRedDot:!1,pagePath:"/pages/my/my"}]);return t({setBadge:(n,x)=>{n>=0&&n{n>=0&&n{n>=0&&n{n>=0&&n({index:a.value,item:s[a.value]}),updateTabList:n=>{Array.isArray(n)&&s.splice(0,s.length,...n)},currentTab:a,tabList:s}),o((()=>{n.nextTick((()=>{const n=getCurrentPages(),x="/"+n[n.length-1].route,e=s.findIndex((n=>n.pagePath===x));-1!==e&&(a.value=e)}))})),i((()=>{x("log","at components/tabBar/tabBar.vue:249","Tabbar onShow - 当前tab:",a.value)})),n.onMounted((()=>{x("log","at components/tabBar/tabBar.vue:254","Tabbar组件已挂载")})),(e,t)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"custom-tabbar"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(s,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["tabbar-item",{active:2===t}]),key:t,onClick:n=>((n,e)=>{if(a.value===n)return;let t="home";0==n?t="home":1==n?t="patientClass":2==n?t="live":3==n?t="education":4==n&&(t="mine");try{uni.sendNativeEvent("goTabbarPage",{msg:t},(n=>{x("log","at components/tabBar/tabBar.vue:143",n)}))}catch(Rw){x("log","at components/tabBar/tabBar.vue:146",Rw)}plus.runtime.quit()})(t)},[n.createElementVNode("view",{class:"icon-container"},[n.createElementVNode("image",{class:"img",src:a.value===t?e.activeIcon:e.icon,alt:""},null,8,["src"])]),n.createElementVNode("text",{class:n.normalizeClass(["tab-text",{active:a.value===t}])},n.toDisplayString(e.text),3)],10,["onClick"])))),128))]),n.createVNode(Dx)],64))}},Ox=h(Mx,[["__scopeId","data-v-e170cf1f"]]),Rx=h({__name:"dialog",props:{visible:{type:Boolean,default:!1},titleColor:{type:String,default:"#8B2316"},title:{type:String,default:"温馨提示"},content:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确定"},showCancel:{type:Boolean,default:!1},showConfirm:{type:Boolean,default:!1},closeOnOverlay:{type:Boolean,default:!0}},emits:["close","confirm"],setup(e,{emit:t}){const i=n=>{if(x("log","at components/dialog/dialog.vue:100",n),!n)return[];const e=n.split("
").filter((n=>""!==n.trim()));return x("log","at components/dialog/dialog.vue:104","格式化后的内容数组:",e),e},l=t,o=()=>{l("close")},a=()=>{l("confirm"),l("close")};return(x,t)=>e.visible?(n.openBlock(),n.createElementBlock("view",{key:0,class:"dialog-overlay",onClick:t[1]||(t[1]=(...n)=>x.handleOverlayClick&&x.handleOverlayClick(...n))},[n.createElementVNode("view",{class:"dialog-container",onClick:t[0]||(t[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"dialog-header"},[n.createElementVNode("text",{class:"dialog-title",style:n.normalizeStyle({color:e.titleColor})},n.toDisplayString(e.title),5)]),n.createElementVNode("view",{class:"dialog-content"},[n.renderSlot(x.$slots,"content",{},(()=>[n.createElementVNode("view",{class:"default-content"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i(e.content),(x=>(n.openBlock(),n.createElementBlock("view",{key:x},n.toDisplayString(x),1)))),128))])]),!0)]),e.showCancel?(n.openBlock(),n.createElementBlock("view",{key:0,class:"dialog-footer cancelFooter"},[n.createElementVNode("view",{class:"dialog-btn",onClick:o},[n.createElementVNode("text",{class:"btn-text"},n.toDisplayString(e.cancelText),1)])])):e.showConfirm?(n.openBlock(),n.createElementBlock("view",{key:1,class:"dialog-footer okFooter"},[n.createElementVNode("view",{class:"dialog-btn okBtn",onClick:a},[n.createElementVNode("text",{class:"btn-text"},n.toDisplayString(e.confirmText),1)])])):(n.openBlock(),n.createElementBlock("view",{key:2,class:"dialog-footer"},[n.createElementVNode("view",{class:"dialog-btn cancel",onClick:o},[n.createElementVNode("text",{class:"btn-text"},n.toDisplayString(e.cancelText),1)]),n.createElementVNode("view",{class:"dialog-btn confirm",onClick:a},[n.createElementVNode("text",{class:"btn-text"},n.toDisplayString(e.confirmText),1)])]))])])):n.createCommentVNode("",!0)}},[["__scopeId","data-v-311bfb26"]]);function Px(n){for(var x=arguments.length,e=new Array(x>1?x-1:0),t=1;tn.length)&&(x=n.length);for(var e=0,t=Array(x);e=n.length?{done:!0}:{done:!1,value:n[t++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function we(){return we=Object.assign?Object.assign.bind():function(n){for(var x=1;xt&&(t=a.dependenciesState_)}e.length=i,n.newObserving_=null,l=x.length;for(;l--;){var s=x[l];0===s.diffValue&&Xt(s,n),s.diffValue=0}for(;i--;){var r=e[i];1===r.diffValue&&(r.diffValue=0,Jt(r,n))}t!==Vt.UP_TO_DATE_&&(n.dependenciesState_=t,n.onBecomeStale_())}(n),Yt(t),i}function Lt(n){var x=n.observing_;n.observing_=[];for(var e=x.length;e--;)Xt(x[e],n);n.dependenciesState_=Vt.NOT_TRACKING_}function Ft(n){var x=Ut();try{return n()}finally{$t(x)}}function Ut(){var n=Qt.trackingDerivation;return Qt.trackingDerivation=null,n}function $t(n){Qt.trackingDerivation=n}function Ht(n){var x=Qt.allowStateReads;return Qt.allowStateReads=n,x}function Yt(n){Qt.allowStateReads=n}function Gt(n){if(n.dependenciesState_!==Vt.UP_TO_DATE_){n.dependenciesState_=Vt.UP_TO_DATE_;for(var x=n.observing_,e=x.length;e--;)x[e].lowestObserverState_=Vt.UP_TO_DATE_}}var Wt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Kt=!0,Qt=function(){var n=Fx();return n.__mobxInstanceCount>0&&!n.__mobxGlobals&&(Kt=!1),n.__mobxGlobals&&n.__mobxGlobals.version!==(new Wt).version&&(Kt=!1),Kt?n.__mobxGlobals?(n.__mobxInstanceCount+=1,n.__mobxGlobals.UNCHANGED||(n.__mobxGlobals.UNCHANGED={}),n.__mobxGlobals):(n.__mobxInstanceCount=1,n.__mobxGlobals=new Wt):(setTimeout((function(){Px(35)}),1),new Wt)}();function Jt(n,x){n.observers_.add(x),n.lowestObserverState_>x.dependenciesState_&&(n.lowestObserverState_=x.dependenciesState_)}function Xt(n,x){n.observers_.delete(x),0===n.observers_.size&&Zt(n)}function Zt(n){!1===n.isPendingUnobservation&&(n.isPendingUnobservation=!0,Qt.pendingUnobservations.push(n))}function ni(){Qt.inBatch++}function xi(){if(0==--Qt.inBatch){li();for(var n=Qt.pendingUnobservations,x=0;x0&&Zt(n),!1)}function ti(n){n.lowestObserverState_!==Vt.STALE_&&(n.lowestObserverState_=Vt.STALE_,n.observers_.forEach((function(n){n.dependenciesState_===Vt.UP_TO_DATE_&&n.onBecomeStale_(),n.dependenciesState_=Vt.STALE_})))}var ii=function(){function n(n,x,e,t){void 0===n&&(n="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Vt.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=It.NONE,this.name_=n,this.onInvalidate_=x,this.errorHandler_=e,this.requiresObservable_=t}var e=n.prototype;return e.onBecomeStale_=function(){this.schedule_()},e.schedule_=function(){this.isScheduled||(this.isScheduled=!0,Qt.pendingReactions.push(this),li())},e.runReaction_=function(){if(!this.isDisposed){ni(),this.isScheduled=!1;var n=Qt.trackingContext;if(Qt.trackingContext=this,Rt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(Rw){this.reportExceptionInDerivation_(Rw)}}Qt.trackingContext=n,xi()}},e.track=function(n){if(!this.isDisposed){ni(),this.isRunning=!0;var x=Qt.trackingContext;Qt.trackingContext=this;var e=Pt(this,n,void 0);Qt.trackingContext=x,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&Lt(this),Ot(e)&&this.reportExceptionInDerivation_(e.cause),xi()}},e.reportExceptionInDerivation_=function(n){var e=this;if(this.errorHandler_)this.errorHandler_(n,this);else{if(Qt.disableErrorBoundaries)throw n;var t="[mobx] uncaught error in '"+this+"'";Qt.suppressReactionErrors||x("error","at node_modules/mobx/dist/mobx.esm.js:2522",t,n),Qt.globalReactionErrorHandlers.forEach((function(x){return x(n,e)}))}},e.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(ni(),Lt(this),xi()))},e.getDisposer_=function(n){var x=this,e=function e(){x.dispose(),null==n||null==n.removeEventListener||n.removeEventListener("abort",e)};return null==n||null==n.addEventListener||n.addEventListener("abort",e),e[Ce]=this,e},e.toString=function(){return"Reaction["+this.name_+"]"},e.trace=function(n){},be(n,[{key:"isDisposed",get:function(){return pe(this.flags_,n.isDisposedMask_)},set:function(x){this.flags_=me(this.flags_,n.isDisposedMask_,x)}},{key:"isScheduled",get:function(){return pe(this.flags_,n.isScheduledMask_)},set:function(x){this.flags_=me(this.flags_,n.isScheduledMask_,x)}},{key:"isTrackPending",get:function(){return pe(this.flags_,n.isTrackPendingMask_)},set:function(x){this.flags_=me(this.flags_,n.isTrackPendingMask_,x)}},{key:"isRunning",get:function(){return pe(this.flags_,n.isRunningMask_)},set:function(x){this.flags_=me(this.flags_,n.isRunningMask_,x)}},{key:"diffValue",get:function(){return pe(this.flags_,n.diffValueMask_)?1:0},set:function(x){this.flags_=me(this.flags_,n.diffValueMask_,1===x)}}])}();ii.isDisposedMask_=1,ii.isScheduledMask_=2,ii.isTrackPendingMask_=4,ii.isRunningMask_=8,ii.diffValueMask_=16;function li(){Qt.inBatch>0||Qt.isRunningReactions||oi()}function oi(){Qt.isRunningReactions=!0;for(var n=Qt.pendingReactions,e=0;n.length>0;){100==++e&&(x("error","at node_modules/mobx/dist/mobx.esm.js:2650","[mobx] cycle in reaction: "+n[0]),n.splice(0));for(var t=n.splice(0),i=0,l=t.length;i",x,n):ne(e)?Et(x,e,n):Se(e)?(n?hi:ci).decorate_20223_(x,e):xe(e)?Ne(x,e,n?hi:ci):xe(x)?Ee(Me(n?ri:si,{name:x,autoAction:n})):void 0}}var pi=di(!1);Object.assign(pi,ci);var mi=di(!0);function yi(n){return ne(n)&&!0===n.isMobxAction}function fi(n,x){var e,t,i,l;void 0===x&&(x=Wx);var o,a=null!=(e=null==(t=x)?void 0:t.name)?e:"Autorun";if(!x.scheduler&&!x.delay)o=new ii(a,(function(){this.track(c)}),x.onError,x.requiresObservable);else{var s=function(n){return n.scheduler?n.scheduler:n.delay?function(x){return setTimeout(x,n.delay)}:bi}(x),r=!1;o=new ii(a,(function(){r||(r=!0,s((function(){r=!1,o.isDisposed||o.track(c)})))}),x.onError,x.requiresObservable)}function c(){n(o)}return null!=(i=x)&&null!=(i=i.signal)&&i.aborted||o.schedule_(),o.getDisposer_(null==(l=x)?void 0:l.signal)}Object.assign(mi,hi),pi.bound=Ee(ui),mi.bound=Ee(gi);var bi=function(n){return n()};var vi="onBO";function wi(n,x,e){return zi("onBUO",n,x,e)}function zi(n,x,e,t){var i="function"==typeof t?Nl(x,e):Nl(x),l=ne(t)?t:e,o=n+"L";return i[o]?i[o].add(l):i[o]=new Set([l]),function(){var n=i[o];n&&(n.delete(l),0===n.size&&delete i[o])}}var ji=0;function ki(){this.message="FLOW_CANCELLED"}ki.prototype=Object.create(Error.prototype);var _i=Fe("flow"),Ei=Fe("flow.bound",{bound:!0}),Ni=Object.assign((function(n,x){if(Se(x))return _i.decorate_20223_(n,x);if(xe(x))return Ne(n,x,_i);var e=n,t=e.name||"",i=function(){var n,x=this,i=arguments,l=++ji,o=pi(t+" - runid: "+l+" - init",e).apply(x,i),a=void 0,s=new Promise((function(x,e){var i=0;function s(n){var x;a=void 0;try{x=pi(t+" - runid: "+l+" - yield "+i++,o.next).call(o,n)}catch(Rw){return e(Rw)}c(x)}function r(n){var x;a=void 0;try{x=pi(t+" - runid: "+l+" - yield "+i++,o.throw).call(o,n)}catch(Rw){return e(Rw)}c(x)}function c(n){if(!ne(null==n?void 0:n.then))return n.done?x(n.value):(a=Promise.resolve(n.value)).then(s,r);n.then(c,e)}n=e,s(void 0)}));return s.cancel=pi(t+" - runid: "+l+" - cancel",(function(){try{a&&Si(a);var x=o.return(void 0),e=Promise.resolve(x.value);e.then(Zx,Zx),Si(e),n(new ki)}catch(Rw){n(Rw)}})),s};return i.isMobXFlow=!0,i}),_i);function Si(n){ne(n.cancel)&&n.cancel()}function Ci(n){return!0===(null==n?void 0:n.isMobXFlow)}function qi(n){return function(n,x){return!!n&&(void 0!==x?!!dl(n)&&n[Ce].values_.has(x):dl(n)||!!n[Ce]||Te(n)||ai(n)||Dt(n))}(n)}function Ti(n,x){void 0===x&&(x=void 0),ni();try{return n.apply(x)}finally{xi()}}function Vi(n){return n[Ce]}Ni.bound=Ee(Ei);var Ai={has:function(n,x){return Vi(n).has_(x)},get:function(n,x){return Vi(n).get_(x)},set:function(n,x,e){var t;return!!xe(x)&&(null==(t=Vi(n).set_(x,e,!0))||t)},deleteProperty:function(n,x){var e;return!!xe(x)&&(null==(e=Vi(n).delete_(x,!0))||e)},defineProperty:function(n,x,e){var t;return null==(t=Vi(n).defineProperty_(x,e))||t},ownKeys:function(n){return Vi(n).ownKeys_()},preventExtensions:function(n){Px(13)}};function Ii(n){return void 0!==n.interceptors_&&n.interceptors_.length>0}function Bi(n,x){var e=n.interceptors_||(n.interceptors_=[]);return e.push(x),Xx((function(){var n=e.indexOf(x);-1!==n&&e.splice(n,1)}))}function Di(n,x){var e=Ut();try{for(var t=[].concat(n.interceptors_||[]),i=0,l=t.length;i0}function Oi(n,x){var e=n.changeListeners_||(n.changeListeners_=[]);return e.push(x),Xx((function(){var n=e.indexOf(x);-1!==n&&e.splice(n,1)}))}function Ri(n,x){var e=Ut(),t=n.changeListeners_;if(t){for(var i=0,l=(t=t.slice()).length;i0?n.map(this.dehancer):n},e.intercept_=function(n){return Bi(this,n)},e.observe_=function(n,x){return void 0===x&&(x=!1),x&&n({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Oi(this,n)},e.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},e.setArrayLength_=function(n){("number"!=typeof n||isNaN(n)||n<0)&&Px("Out of range: "+n);var x=this.values_.length;if(n!==x)if(n>x){for(var e=new Array(n-x),t=0;t0&&_l(n+x+1)},e.spliceWithArray_=function(n,x,e){var t=this;this.atom_;var i=this.values_.length;if(void 0===n?n=0:n>i?n=i:n<0&&(n=Math.max(0,i+n)),x=1===arguments.length?i-n:null==x?0:Math.max(0,Math.min(x,i-n)),void 0===e&&(e=Gx),Ii(this)){var l=Di(this,{object:this.proxy_,type:Pi,index:n,removedCount:x,added:e});if(!l)return Gx;x=l.removedCount,e=l.added}if(e=0===e.length?e:e.map((function(n){return t.enhancer_(n,void 0)})),this.legacyMode_){var o=e.length-x;this.updateArrayLength_(i,o)}var a=this.spliceItemsIntoValues_(n,x,e);return 0===x&&0===e.length||this.notifyArraySplice_(n,e,a),this.dehanceValues_(a)},e.spliceItemsIntoValues_=function(n,x,e){var t;if(e.length<1e4)return(t=this.values_).splice.apply(t,[n,x].concat(e));var i=this.values_.slice(n,n+x),l=this.values_.slice(n+x);this.values_.length+=e.length-x;for(var o=0;o=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[n]);x("warn","at node_modules/mobx/dist/mobx.esm.js:3986","[mobx] Out of bounds read: "+n)},e.set_=function(n,x){var e=this.values_;if(this.legacyMode_&&n>e.length&&Px(17,n,e.length),n2?e-2:0),i=2;i-1&&(this.splice(e,1),!0)}};function Yi(n,x){"function"==typeof Array.prototype[n]&&(Hi[n]=x(n))}function Gi(n){return function(){var x=this[Ce];x.atom_.reportObserved();var e=x.dehanceValues_(x.values_);return e[n].apply(e,arguments)}}function Wi(n){return function(x,e){var t=this,i=this[Ce];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[n]((function(n,i){return x.call(e,n,i,t)}))}}function Ki(n){return function(){var x=this,e=this[Ce];e.atom_.reportObserved();var t=e.dehanceValues_(e.values_),i=arguments[0];return arguments[0]=function(n,e,t){return i(n,e,t,x)},t[n].apply(t,arguments)}}Yi("at",Gi),Yi("concat",Gi),Yi("flat",Gi),Yi("includes",Gi),Yi("indexOf",Gi),Yi("join",Gi),Yi("lastIndexOf",Gi),Yi("slice",Gi),Yi("toString",Gi),Yi("toLocaleString",Gi),Yi("toSorted",Gi),Yi("toSpliced",Gi),Yi("with",Gi),Yi("every",Wi),Yi("filter",Wi),Yi("find",Wi),Yi("findIndex",Wi),Yi("findLast",Wi),Yi("findLastIndex",Wi),Yi("flatMap",Wi),Yi("forEach",Wi),Yi("map",Wi),Yi("some",Wi),Yi("toReversed",Wi),Yi("reduce",Ki),Yi("reduceRight",Ki);var Qi=ae("ObservableArrayAdministration",Ui);function Ji(n){return ee(n)&&Qi(n[Ce])}var Xi={},Zi="add",nl="delete",xl=function(){function n(n,x,e){var t=this;void 0===x&&(x=Ie),void 0===e&&(e="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Ce]=Xi,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=x,this.name_=e,ne(Map)||Px(18),ql((function(){t.keysAtom_=Ve("ObservableMap.keys()"),t.data_=new Map,t.hasMap_=new Map,n&&t.merge(n)}))}var x=n.prototype;return x.has_=function(n){return this.data_.has(n)},x.has=function(n){var x=this;if(!Qt.trackingDerivation)return this.has_(n);var e=this.hasMap_.get(n);if(!e){var t=e=new qt(this.has_(n),Be,"ObservableMap.key?",!1);this.hasMap_.set(n,t),wi(t,(function(){return x.hasMap_.delete(n)}))}return e.get()},x.set=function(n,x){var e=this.has_(n);if(Ii(this)){var t=Di(this,{type:e?Li:Zi,object:this,newValue:x,name:n});if(!t)return this;x=t.newValue}return e?this.updateValue_(n,x):this.addValue_(n,x),this},x.delete=function(n){var x=this;if((this.keysAtom_,Ii(this))&&!Di(this,{type:nl,object:this,name:n}))return!1;if(this.has_(n)){var e=Mi(this),t=e?{observableKind:"map",debugObjectName:this.name_,type:nl,object:this,oldValue:this.data_.get(n).value_,name:n}:null;return Ti((function(){var e;x.keysAtom_.reportChanged(),null==(e=x.hasMap_.get(n))||e.setNewValue_(!1),x.data_.get(n).setNewValue_(void 0),x.data_.delete(n)})),e&&Ri(this,t),!0}return!1},x.updateValue_=function(n,x){var e=this.data_.get(n);if((x=e.prepareNewValue_(x))!==Qt.UNCHANGED){var t=Mi(this),i=t?{observableKind:"map",debugObjectName:this.name_,type:Li,object:this,oldValue:e.value_,name:n,newValue:x}:null;e.setNewValue_(x),t&&Ri(this,i)}},x.addValue_=function(n,x){var e=this;this.keysAtom_,Ti((function(){var t,i=new qt(x,e.enhancer_,"ObservableMap.key",!1);e.data_.set(n,i),x=i.value_,null==(t=e.hasMap_.get(n))||t.setNewValue_(!0),e.keysAtom_.reportChanged()}));var t=Mi(this),i=t?{observableKind:"map",debugObjectName:this.name_,type:Zi,object:this,name:n,newValue:x}:null;t&&Ri(this,i)},x.get=function(n){return this.has(n)?this.dehanceValue_(this.data_.get(n).get()):this.dehanceValue_(void 0)},x.dehanceValue_=function(n){return void 0!==this.dehancer?this.dehancer(n):n},x.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},x.values=function(){var n=this,x=this.keys();return tl({next:function(){var e=x.next(),t=e.done,i=e.value;return{done:t,value:t?void 0:n.get(i)}}})},x.entries=function(){var n=this,x=this.keys();return tl({next:function(){var e=x.next(),t=e.done,i=e.value;return{done:t,value:t?void 0:[i,n.get(i)]}}})},x[Symbol.iterator]=function(){return this.entries()},x.forEach=function(n,x){for(var e,t=ve(this);!(e=t()).done;){var i=e.value,l=i[0],o=i[1];n.call(x,o,l,this)}},x.merge=function(n){var x=this;return el(n)&&(n=new Map(n)),Ti((function(){var e,t,i;te(n)?function(n){var x=Object.keys(n);if(!ce)return x;var e=Object.getOwnPropertySymbols(n);return e.length?[].concat(x,e.filter((function(x){return Yx.propertyIsEnumerable.call(n,x)}))):x}(n).forEach((function(e){return x.set(e,n[e])})):Array.isArray(n)?n.forEach((function(n){var e=n[0],t=n[1];return x.set(e,t)})):se(n)?(e=n,t=Object.getPrototypeOf(e),i=Object.getPrototypeOf(t),null!==Object.getPrototypeOf(i)&&Px(19,n),n.forEach((function(n,e){return x.set(e,n)}))):null!=n&&Px(20,n)})),this},x.clear=function(){var n=this;Ti((function(){Ft((function(){for(var x,e=ve(n.keys());!(x=e()).done;){var t=x.value;n.delete(t)}}))}))},x.replace=function(n){var x=this;return Ti((function(){for(var e,t=function(n){if(se(n)||el(n))return n;if(Array.isArray(n))return new Map(n);if(te(n)){var x=new Map;for(var e in n)x.set(e,n[e]);return x}return Px(21,n)}(n),i=new Map,l=!1,o=ve(x.data_.keys());!(e=o()).done;){var a=e.value;if(!t.has(a))if(x.delete(a))l=!0;else{var s=x.data_.get(a);i.set(a,s)}}for(var r,c=ve(t.entries());!(r=c()).done;){var u=r.value,h=u[0],g=u[1],d=x.data_.has(h);if(x.set(h,g),x.data_.has(h)){var p=x.data_.get(h);i.set(h,p),d||(l=!0)}}if(!l)if(x.data_.size!==i.size)x.keysAtom_.reportChanged();else for(var m=x.data_.keys(),y=i.keys(),f=m.next(),b=y.next();!f.done;){if(f.value!==b.value){x.keysAtom_.reportChanged();break}f=m.next(),b=y.next()}x.data_=i})),this},x.toString=function(){return"[object ObservableMap]"},x.toJSON=function(){return Array.from(this)},x.observe_=function(n,x){return Oi(this,n)},x.intercept_=function(n){return Bi(this,n)},be(n,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),el=ae("ObservableMap",xl);function tl(n){return n[Symbol.toStringTag]="MapIterator",Ml(n)}var il={},ll=function(){function n(n,x,e){var t=this;void 0===x&&(x=Ie),void 0===e&&(e="ObservableSet"),this.name_=void 0,this[Ce]=il,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=e,ne(Set)||Px(22),this.enhancer_=function(n,t){return x(n,t,e)},ql((function(){t.atom_=Ve(t.name_),n&&t.replace(n)}))}var x=n.prototype;return x.dehanceValue_=function(n){return void 0!==this.dehancer?this.dehancer(n):n},x.clear=function(){var n=this;Ti((function(){Ft((function(){for(var x,e=ve(n.data_.values());!(x=e()).done;){var t=x.value;n.delete(t)}}))}))},x.forEach=function(n,x){for(var e,t=ve(this);!(e=t()).done;){var i=e.value;n.call(x,i,i,this)}},x.add=function(n){var x=this;if(this.atom_,Ii(this)){var e=Di(this,{type:Zi,object:this,newValue:n});if(!e)return this;n=e.newValue}if(!this.has(n)){Ti((function(){x.data_.add(x.enhancer_(n,void 0)),x.atom_.reportChanged()}));var t=Mi(this),i=t?{observableKind:"set",debugObjectName:this.name_,type:Zi,object:this,newValue:n}:null;t&&Ri(this,i)}return this},x.delete=function(n){var x=this;if(Ii(this)&&!Di(this,{type:nl,object:this,oldValue:n}))return!1;if(this.has(n)){var e=Mi(this),t=e?{observableKind:"set",debugObjectName:this.name_,type:nl,object:this,oldValue:n}:null;return Ti((function(){x.atom_.reportChanged(),x.data_.delete(n)})),e&&Ri(this,t),!0}return!1},x.has=function(n){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(n))},x.entries=function(){var n=this.values();return al({next:function(){var x=n.next(),e=x.value,t=x.done;return t?{value:void 0,done:t}:{value:[e,e],done:t}}})},x.keys=function(){return this.values()},x.values=function(){this.atom_.reportObserved();var n=this,x=this.data_.values();return al({next:function(){var e=x.next(),t=e.value,i=e.done;return i?{value:void 0,done:i}:{value:n.dehanceValue_(t),done:i}}})},x.intersection=function(n){return re(n)&&!ol(n)?n.intersection(this):new Set(this).intersection(n)},x.union=function(n){return re(n)&&!ol(n)?n.union(this):new Set(this).union(n)},x.difference=function(n){return new Set(this).difference(n)},x.symmetricDifference=function(n){return re(n)&&!ol(n)?n.symmetricDifference(this):new Set(this).symmetricDifference(n)},x.isSubsetOf=function(n){return new Set(this).isSubsetOf(n)},x.isSupersetOf=function(n){return new Set(this).isSupersetOf(n)},x.isDisjointFrom=function(n){return re(n)&&!ol(n)?n.isDisjointFrom(this):new Set(this).isDisjointFrom(n)},x.replace=function(n){var x=this;return ol(n)&&(n=new Set(n)),Ti((function(){Array.isArray(n)||re(n)?(x.clear(),n.forEach((function(n){return x.add(n)}))):null!=n&&Px("Cannot initialize set from "+n)})),this},x.observe_=function(n,x){return Oi(this,n)},x.intercept_=function(n){return Bi(this,n)},x.toJSON=function(){return Array.from(this)},x.toString=function(){return"[object ObservableSet]"},x[Symbol.iterator]=function(){return this.values()},be(n,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),ol=ae("ObservableSet",ll);function al(n){return n[Symbol.toStringTag]="SetIterator",Ml(n)}var sl=Object.create(null),rl="remove",cl=function(){function n(n,x,e,t){void 0===x&&(x=new Map),void 0===t&&(t=xt),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=n,this.values_=x,this.name_=e,this.defaultAnnotation_=t,this.keysAtom_=new qe("ObservableObject.keys"),this.isPlainObject_=te(this.target_)}var x=n.prototype;return x.getObservablePropValue_=function(n){return this.values_.get(n).get()},x.setObservablePropValue_=function(n,x){var e=this.values_.get(n);if(e instanceof Tt)return e.set(x),!0;if(Ii(this)){var t=Di(this,{type:Li,object:this.proxy_||this.target_,name:n,newValue:x});if(!t)return null;x=t.newValue}if((x=e.prepareNewValue_(x))!==Qt.UNCHANGED){var i=Mi(this),l=i?{type:Li,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:e.value_,name:n,newValue:x}:null;e.setNewValue_(x),i&&Ri(this,l)}return!0},x.get_=function(n){return Qt.trackingDerivation&&!ge(this.target_,n)&&this.has_(n),this.target_[n]},x.set_=function(n,x,e){return void 0===e&&(e=!1),ge(this.target_,n)?this.values_.has(n)?this.setObservablePropValue_(n,x):e?Reflect.set(this.target_,n,x):(this.target_[n]=x,!0):this.extend_(n,{value:x,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,e)},x.has_=function(n){if(!Qt.trackingDerivation)return n in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var x=this.pendingKeys_.get(n);return x||(x=new qt(n in this.target_,Be,"ObservableObject.key?",!1),this.pendingKeys_.set(n,x)),x.get()},x.make_=function(n,x){if(!0===x&&(x=this.defaultAnnotation_),!1!==x){if(!(n in this.target_)){var e;if(null!=(e=this.target_[_e])&&e[n])return;Px(1,x.annotationType_,this.name_+"."+n.toString())}for(var t=this.target_;t&&t!==Yx;){var i=$x(t,n);if(i){var l=x.make_(this,n,i,t);if(0===l)return;if(1===l)break}t=Object.getPrototypeOf(t)}pl(this,x,n)}},x.extend_=function(n,x,e,t){if(void 0===t&&(t=!1),!0===e&&(e=this.defaultAnnotation_),!1===e)return this.defineProperty_(n,x,t);var i=e.extend_(this,n,x,t);return i&&pl(this,e,n),i},x.defineProperty_=function(n,x,e){void 0===e&&(e=!1),this.keysAtom_;try{ni();var t=this.delete_(n);if(!t)return t;if(Ii(this)){var i=Di(this,{object:this.proxy_||this.target_,name:n,type:Zi,newValue:x.value});if(!i)return null;var l=i.newValue;x.value!==l&&(x=we({},x,{value:l}))}if(e){if(!Reflect.defineProperty(this.target_,n,x))return!1}else Hx(this.target_,n,x);this.notifyPropertyAddition_(n,x.value)}finally{xi()}return!0},x.defineObservableProperty_=function(n,x,e,t){void 0===t&&(t=!1),this.keysAtom_;try{ni();var i=this.delete_(n);if(!i)return i;if(Ii(this)){var l=Di(this,{object:this.proxy_||this.target_,name:n,type:Zi,newValue:x});if(!l)return null;x=l.newValue}var o=gl(n),a={configurable:!Qt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:o.get,set:o.set};if(t){if(!Reflect.defineProperty(this.target_,n,a))return!1}else Hx(this.target_,n,a);var s=new qt(x,e,"ObservableObject.key",!1);this.values_.set(n,s),this.notifyPropertyAddition_(n,s.value_)}finally{xi()}return!0},x.defineComputedProperty_=function(n,x,e){void 0===e&&(e=!1),this.keysAtom_;try{ni();var t=this.delete_(n);if(!t)return t;if(Ii(this))if(!Di(this,{object:this.proxy_||this.target_,name:n,type:Zi,newValue:void 0}))return null;x.name||(x.name="ObservableObject.key"),x.context=this.proxy_||this.target_;var i=gl(n),l={configurable:!Qt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(e){if(!Reflect.defineProperty(this.target_,n,l))return!1}else Hx(this.target_,n,l);this.values_.set(n,new Tt(x)),this.notifyPropertyAddition_(n,void 0)}finally{xi()}return!0},x.delete_=function(n,x){if(void 0===x&&(x=!1),this.keysAtom_,!ge(this.target_,n))return!0;if(Ii(this)&&!Di(this,{object:this.proxy_||this.target_,name:n,type:rl}))return null;try{var e;ni();var t,i=Mi(this),l=this.values_.get(n),o=void 0;if(!l&&i)o=null==(t=$x(this.target_,n))?void 0:t.value;if(x){if(!Reflect.deleteProperty(this.target_,n))return!1}else delete this.target_[n];if(l&&(this.values_.delete(n),l instanceof qt&&(o=l.value_),ti(l)),this.keysAtom_.reportChanged(),null==(e=this.pendingKeys_)||null==(e=e.get(n))||e.set(n in this.target_),i){var a={type:rl,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:o,name:n};0,i&&Ri(this,a)}}finally{xi()}return!0},x.observe_=function(n,x){return Oi(this,n)},x.intercept_=function(n){return Bi(this,n)},x.notifyPropertyAddition_=function(n,x){var e,t=Mi(this);if(t){var i=t?{type:Zi,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:n,newValue:x}:null;t&&Ri(this,i)}null==(e=this.pendingKeys_)||null==(e=e.get(n))||e.set(!0),this.keysAtom_.reportChanged()},x.ownKeys_=function(){return this.keysAtom_.reportObserved(),ue(this.target_)},x.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},n}();function ul(n,x){var e;if(ge(n,Ce))return n;var t=null!=(e=null==x?void 0:x.name)?e:"ObservableObject",i=new cl(n,new Map,String(t),function(n){var x;return n?null!=(x=n.defaultDecorator)?x:et(n):void 0}(x));return le(n,Ce,i),n}var hl=ae("ObservableObjectAdministration",cl);function gl(n){return sl[n]||(sl[n]={get:function(){return this[Ce].getObservablePropValue_(n)},set:function(x){return this[Ce].setObservablePropValue_(n,x)}})}function dl(n){return!!ee(n)&&hl(n[Ce])}function pl(n,x,e){var t;null==(t=n.target_[_e])||delete t[e]}var ml,yl,fl=jl(0),bl=function(){var n=!1,x={};return Object.defineProperty(x,"0",{set:function(){n=!0}}),Object.create(x)[0]=1,!1===n}(),vl=0,wl=function(){};ml=wl,yl=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(ml.prototype,yl):void 0!==ml.prototype.__proto__?ml.prototype.__proto__=yl:ml.prototype=yl;var zl=function(n){function x(x,e,t,i){var l;return void 0===t&&(t="ObservableArray"),void 0===i&&(i=!1),l=n.call(this)||this,ql((function(){var n=new Ui(t,e,i,!0);n.proxy_=l,oe(l,Ce,n),x&&x.length&&l.spliceWithArray(0,0,x),bl&&Object.defineProperty(l,"0",fl)})),l}ze(x,n);var e=x.prototype;return e.concat=function(){this[Ce].atom_.reportObserved();for(var n=arguments.length,x=new Array(n),e=0;evl){for(var x=vl;x=0&&e++}n=Bl(n),x=Bl(x);var a="[object Array]"===o;if(!a){if("object"!=typeof n||"object"!=typeof x)return!1;var s=n.constructor,r=x.constructor;if(s!==r&&!(ne(s)&&s instanceof s&&ne(r)&&r instanceof r)&&"constructor"in n&&"constructor"in x)return!1}if(0===e)return!1;e<0&&(e=-1),i=i||[];for(var c=(t=t||[]).length;c--;)if(t[c]===n)return i[c]===x;if(t.push(n),i.push(x),a){if((c=n.length)!==x.length)return!1;for(;c--;)if(!Il(n[c],x[c],e-1,t,i))return!1}else{var u=Object.keys(n),h=u.length;if(Object.keys(x).length!==h)return!1;for(var g=0;g{i&&uni.showLoading({title:"加载中",mask:!0});let s="";s=uni.getStorageSync("AUTH_TOKEN_App");let r={"content-type":l},c={},u=["/manager/getSystemTimeStamp","/expertAPI/smsLogin","/login/mobile","/expertAPI/login","/expertAPI/index","/expertAPI/wechatLogin"],h={...e};if(-1!=u.indexOf(n)){if(-1!=u[4].indexOf(n))if(s){r.Authorization="Bearer "+s;let n=uni.getStorageSync("userInfo");c={mini_version:Pl,version:uni.getStorageSync("app_version"),user_uuid:n.uuid,client_type:"A",timestamp:(new Date).getTime()},h={...e,...c}}else r.Authorization="Bearer "}else if(s){r.Authorization="Bearer "+s;let n=uni.getStorageSync("userInfo");x("log","at utils/request.js:78",n),c={mini_version:Pl,version:uni.getStorageSync("app_version"),user_uuid:n.uuid,client_type:"A",timestamp:(new Date).getTime()+""},h={...e,...c}}return x("log","at utils/request.js:95",h),new Promise((function(e,l){uni.request({data:h,url:-1!=n.indexOf("http")?n:encodeURI(Rl+n),method:t,sslVerify:!1,header:{...r,...o},responseType:a||"text",timeout:1e5,success:async t=>{x("log","at utils/request.js:107",222222222),x("log","at utils/request.js:108",t);var o=t.header.Authorization;o&&uni.setStorageSync("AUTH_TOKEN_App",o),i&&uni.hideLoading(),-1!=n.indexOf("manager/getSystemTimeStamp")?e(t):200==t.data.code||1==t.data.code||"1"==t.data.code||"200"==t.data.code?e(t.data):401==t.data.code||403==t.data.code||405==t.data.code||406==t.data.code||37006==t.data.code||35002==t.data.code?(uni.hideLoading(),uni.sendNativeEvent("getNewToken",{msg:"getNewToken"},(n=>{x("log","at utils/request.js:132","ret数据"),x("log","at utils/request.js:133",n),uni.setStorageSync("AUTH_TOKEN_App",n);let e=getCurrentPages(),t=e.length,i=e[t-1].options,l=[];for(let x in i)l.push(x+"="+i[x]);let o="";l.forEach(((n,x)=>{0!=x&&(o+="&"+n)}));let a="/"+e[t-1].route+"?"+l[0]+o;x("log","at utils/request.js:150","redirectUrl"),x("log","at utils/request.js:151",a),uni.redirectTo({url:a})}))):500==t.data.code?(uni.showToast({title:t.data.message,icon:"none"}),l(t)):-1!=n.indexOf("addOutPatientA")||-1!=n.indexOf("checkVersion")?e(t.data):-1!=n.indexOf("downloadGanDanFile")?(x("log","at utils/request.js:177",t),e(t.data)):35002==t.data.code?(l(t),uni.sendNativeEvent("goTabbarPage",{msg:"home"},(n=>{x("log","at utils/request.js:184",n)})),plus.runtime.quit()):106==t.data.code||202==t.data.code?e(t.data):(uni.showToast({title:t.data.message,icon:"none"}),l(t))},fail:function(n){x("log","at utils/request.js:204",444444444),x("log","at utils/request.js:205",n),"request:fail "===n.errMsg&&msg("请求数据失败!"),l(n.data)}})}))},Fl={expertWxLogin:n=>Ll("/miniprogram/expertLogin",{jscode:n},"get",!0),wxLogin:n=>Ll("/login/wechat/mobile",n,"post",!0),getTimeStamp:()=>Ll("/manager/getSystemTimeStamp",{},"get",!1),mobileLogin:n=>Ll("/login/mobile",n,"post",!0),smsLogin:(n,x)=>Ll("/expertAPI/smsLogin",n,"post",!0,"application/json",x),pwdLogin:n=>Ll("/expertAPI/login",n,"post",!0),getCode:(n,x)=>Ll("/expertAPI/smsSend",n,"post",!0,"application/json",x),getHomeData:()=>Ll("/expertAPI/index",{},"post",!1),ganDanFileByKeyWords:n=>Ll("/expertAPI/ganDanFileByKeyWords",n,"post",!1),ganDanFileDetials:n=>Ll("/expertAPI/ganDanFileDetials",n,"post",!1),isConsultIng:n=>Ll("/expertAPI/isConsultIng",n,"post",!1),videoWatchRecord:n=>Ll("/expertAPI/VideoWatchRecord",n,"post",!1),updateNicknameNote:n=>Ll("/expertAPI/updateNicknameNote",n,"post",!1),unReadList:n=>Ll("/expertAPI/unReadList",n,"post",!1),appMesageList:n=>Ll("/expertAPI/appMesageList",n,"post",!1),appMesageRead:n=>Ll("/expertAPI/appMesageRead",n,"post",!1),appMesageRead:n=>Ll("/expertAPI/appMesageRead",n,"post",!1),relationRecordLately:n=>Ll("/expertAPI/relationRecordLately",n,"post",!1),getMyInfo:n=>Ll("/expertAPI/my",n,"post",!1),getVideoList:n=>Ll("/video/list",n,"get",!0),getVideoDetail:n=>Ll("/video/detail",n,"get",!0),getVideoHistory:n=>Ll("/expertAPI/VideoWatchRecord",n,"post",!1),deleteRecord:n=>Ll("/expertAPI/deleteRecord",n,"post",!1),getCollectList:n=>Ll("/expertAPI/collectList",n,"post",!1),getCollectionList:n=>Ll("/expertAPI/collectionList",n,"post",!1),getMyAccount:n=>Ll("/expertPay/getBalanceU",n,"post",!1),getOrderList:n=>Ll("/expertPay/orderList",n,"post",!1),myBonusPoints:n=>Ll("/expertAPI/myBonusPoints",n,"post",!1),getNewsDetail:n=>Ll("/expertAPI/newsDetail",n,"post",!1),bonusPointsPayList:n=>Ll("/expertAPI/bonusPointsPayList",n,"post",!0),bonusPointsList:n=>Ll("/expertAPI/bonusPointsList",n,"post",!0),getJifenSerialList:n=>Ll("/expertAPI/getJifenSerialList",n,"post",!0),getWelfarePage:n=>Ll("/expertAPI/getWelfarePage",n,"post",!1),useWelfarePage:n=>Ll("/expertAPI/useWelfarePage",n,"post",!1),getFlowerList:n=>Ll("/expertPay/getFlowerList",n,"post",!1),getGandanfileMyDownload:n=>Ll("/expertAPI/gandanfile/myDownload",n,"post",!1),getGandanfileMyShare:n=>Ll("/expertAPI/gandanfile/myShare",n,"post",!1),getGandanFileDetail:n=>Ll("/expertAPI/gandanFileDetail",n,"post",!1),getLiveDetail:n=>Ll("/expertAPI/liveDetail",n,"post",!1),getVideoDetail2:n=>Ll("/expertAPI/videoDetail2",n,"post",!1),getHospitalList:n=>Ll("/expertAPI/hospitalList",n,"post",!1),getAreaList:n=>Ll("/expertAPI/areaList",n,"post",!1),getGoodsList:n=>Ll("/expertAPI/goodsList",n,"post",!1),getGoodsListV2:n=>Ll("/expertAPI/goodsListV2",n,"post",!1),getGoodsTagList:n=>Ll("/expertAPI/goodsTagList",n,"post",!1),getOrderTrack:n=>Ll("/expertAPI/getOrderTrack",n,"post",!1),getMyWelfareCard:n=>Ll("/expertAPI/myWelfareCard",n,"post",!1),exchangeWelfareCard:n=>Ll("/expertAPI/exchangeWelfareCard",n,"post",!1),getUpanWelfareCount:n=>Ll("/expertAPI/getUpanWelfareCount",n,"post",!1),addBonusPointsN:n=>Ll("/expertAPI/addBonusPointsN",n,"post",!1),videoRoll:n=>Ll("/expertAPI/videoRoll",n,"post",!1),videoTagList:n=>Ll("/expertAPI/videoTagList",n,"post",!1),videoIndexN:n=>Ll("/expertAPI/videoIndexN",n,"post",!1),expertVideoTypeList:n=>Ll("/expertAPI/expertVideoTypeList",n,"post",!1),videoByKeyWordsNew:n=>Ll("/expertAPI/videoByKeyWordsNew",n,"post",!1),searchLibraryU:n=>Ll("/expertAPI/searchLibraryU",n,"post",!1),top10ByType:n=>Ll("/expertAPI/top10ByType",n,"post",!1),guideType:n=>Ll("/expertAPI/guideType",n,"post",!1),guideTag:n=>Ll("/expertAPI/tagList",n,"post",!1),meetingListV2U:n=>Ll("/expertAPI/meetingListV2U",n,"post",!1),meetingListBySearchU:n=>Ll("/expertAPI/meetingListBySearchU",n,"post",!1),myWelfareCard:n=>Ll("/expertAPI/myWelfareCard",n,"post",!1),exchangeWelfareCard:n=>Ll("/expertAPI/exchangeWelfareCard",n,"post",!1),unReadList:n=>Ll("/expertAPI/unReadList",n,"post",!1),appMesageList:n=>Ll("/expertAPI/appMesageList",n,"post",!1),appMesageRead:n=>Ll("/expertAPI/appMesageRead",n,"post",!1),identificationBankCardNew:n=>Ll("/pingExpertV2/identificationBankCardNew",n,"post",!1),changePassword:n=>Ll("/expertAPI/modifyPwd",n,"post",!1),changeMobile:n=>Ll("/expertAPI/modifyMobile",n,"post",!1),smsSend:n=>Ll("/expertAPI/smsSend",n,"post",!1),pointTicketlist:n=>Ll("/expertAPI/pointTicketlist",n,"post",!1),pointTicketExchange:n=>Ll("/expertAPI/updateStatus",n,"post",!1),addFeedBack:n=>Ll("/expertAPI/addFeedBack",n,"post",!1),newsRollNew:n=>Ll("/expertAPI/newsRollNew",n,"post",!1),defaultNewsListNew:n=>Ll("/expertAPI/defaultNewsListNew",n,"post",!1),newsListNew:n=>Ll("/expertAPI/newsListNew",n,"post",!1),newsTagList:n=>Ll("/expertAPI/newsTagList",n,"post",!1),meetingListV2U:n=>Ll("/expertAPI/meetingListV2U",n,"post",!1),applyList:n=>Ll("/expertAPI/applyList",n,"post",!1),patientListByGBKPage:n=>Ll("/expertAPI/patientListByGBKPage",n,"post",!1),patientListByGBK:n=>Ll("/expertAPI/patientListByGBK",n,"post",!1),patientListByGBKU:n=>Ll("/expertAPI/patientListByGBKU",n,"post",!1),followUpList:n=>Ll("/expertAPI/followUpList",n,"post",!1),relationRecordLately:n=>Ll("/expertAPI/relationRecordLately",n,"post",!1),applyListOperate:n=>Ll("/expertAPI/applyListOperate",n,"post",!1),groupList:n=>Ll("/expertAPI/groupListU",n,"post",!1),patientListByGroup:n=>Ll("/expertAPI/patientListByGroupU",n,"post",!1),groupDelete:n=>Ll("/expertAPI/deleteGroupU",n,"post",!1),groupAdd:n=>Ll("/expertAPI/addGroupU",n,"post",!1),groupUpdate:n=>Ll("/expertAPI/updateGroupU",n,"post",!1),updateNicknameNote:n=>Ll("/expertAPI/updateNicknameNote",n,"post",!1),patientCard:n=>Ll("/expertAPI/patientCard",n,"post",!1),patientCardUpdateGroup:n=>Ll("/expertAPI/patientCardUpdateGroup",n,"post",!1),addFollowUps:n=>Ll("/expertAPI/addFollowUps",n,"post",!1),getFollowUp:n=>Ll("/expertAPI/getFollowUp",n,"post",!1),deleteFollowUp:n=>Ll("/expertAPI/deleteFollowUp",n,"post",!1),cancelRes:n=>Ll("/expertAPI/cancelRes",n,"post",!1),polularScienceArticleListByKeywordsNew:n=>Ll("/expertAPI/polularScienceArticleListByKeywordsNew",n,"post",!1),patientVideoByKeyWordsNew:n=>Ll("/expertAPI/patientVideoByKeyWordsNew",n,"post",!1),patientVideoNew:n=>Ll("/expertAPI/patientVideoNew",n,"post",!1),top10ByType:n=>Ll("/expertAPI/top10ByType",n,"post",!1),videoBySearchNew:n=>Ll("/expertAPI/videoBySearchNew",n,"post",!1),patientVideoBySearchNew:n=>Ll("/expertAPI/patientVideoBySearchNew",n,"post",!1),polularScienceArticleListIndexNew:n=>Ll("/expertAPI/polularScienceArticleListIndexNew",n,"post",!1),bankCardList:n=>Ll("/expertPay/bankCardList",n,"post",!1),deleteBankCard:n=>Ll("/expertPay/deleteBankCard",n,"post",!1),getIncomeTax:n=>Ll("/expertPay/getIncomeTax",n,"post",!1),createWithdrawal:n=>Ll("/expertPay/createWithdrawal",n,"post",!1),meetingListBySearch:n=>Ll("/expertAPI/meetingListBySearch",n,"post",!1),getExpertByUuid:n=>Ll("/expertAPI/getExpertByUuid",n,"post",!1),getUserIcon:n=>Ll("/expertAPI/getUserIcon",n,"post",!1),addUserIcon:n=>Ll("/expertAPI/addUserIcon",n,"post",!1),getDiseaseList:n=>Ll("/expertAPI/disease",n,"post",!1),getPositionList:n=>Ll("/expertAPI/positionList",n,"post",!1),getOfficeList:n=>Ll("/expertAPI/officeList",n,"post",!1),newConsultList:n=>Ll("/expertAPI/newConsultList",n,"post",!1),consultListHis:n=>Ll("/expertAPI/consultListHis",n,"post",!1),listNewInterrogation:n=>Ll("/expertAPI/listNewInterrogation",n,"post",!0),listMyAnsweredInterrogation:n=>Ll("/expertAPI/listMyAnsweredInterrogation",n,"post",!0),getInterrogation:n=>Ll("/expertAPI/getInterrogation",n,"post",!1),interrogationPatientInfo:n=>Ll("/expertAPI/InterrogationPatientInfo",n,"post",!1),updateInterrogationAnswer:n=>Ll("/expertAPI/updateInterrogationAnswerU",n,"post",!0),addInterrogationAnswer:n=>Ll("/expertAPI/addInterrogationAnswerU",n,"post",!0),videoDetail:n=>Ll("/expertAPI/videoDetail",n,"post",!1),addVideoWatchRecord:n=>Ll("/expertAPI/addVideoWatchRecord",n,"post",!1),videoCommentListV2:n=>Ll("/expertAPI/videoCommentListV2",n,"post",!1),isVideoDownloadRecord:n=>Ll("/expertAPI/isVideoDownloadRecord",n,"post",!1),getWelfareNum:n=>Ll("/expertAPI/getWelfareNum",n,"post",!1),payVideoDownload:n=>Ll("/expertAPI/payVideoDownload",n,"post",!1),addCommentV2:n=>Ll("/expertAPI/addCommentV2",n,"post",!1),collection:n=>Ll("/expertAPI/collection",n,"post",!1),discollection:n=>Ll("/expertAPI/discollection",n,"post",!1),meetingV2Video:n=>Ll("/expertAPI/meetingV2Video",n,"post",!1),listGroupSendMsg:n=>Ll("/expertAPI/listGroupSendMsg",n,"post",!1),addGroupSendMsg4YunXin:n=>Ll("/expertAPI/addGroupSendMsg4YunXin",n,"post",!1),quickReplyList:n=>Ll("/expertAPI/QuickReplyList",n,"post",!1),addQuickReply:n=>Ll("/expertAPI/addQuickReply",n,"post",!1),deleteQuickReply:n=>Ll("/expertAPI/deleteQuickReply",n,"post",!1),listOutPatient:n=>Ll("/expertAPI/listOutPatient",n,"post",!1),stopOutPatientList:n=>Ll("/expertAPI/stopOutPatientList",n,"post",!1),listWorkPlace:n=>Ll("/expertAPI/listWorkPlace",n,"post",!1),addOutPatient:n=>Ll("/expertAPI/addOutPatient",n,"post",!1),updateOutPatient:n=>Ll("/expertAPI/updateOutPatientA",n,"post",!1),deleteOutPatient:n=>Ll("/expertAPI/deleteOutPatient",n,"post",!1),addWorkPlace:n=>Ll("/expertAPI/addWorkPlace",n,"post",!1),updateWorkPlace:n=>Ll("/expertAPI/editWorkPlace",n,"post",!1),deleteWorkPlace:n=>Ll("/expertAPI/deleteWorkPlace",n,"post",!1),hospitalList:n=>Ll("/expertAPI/hospitalList",n,"post",!1),addStopPatient:n=>Ll("/expertAPI/addStopOutPatient",n,"post",!1),deleteStopPatient:n=>Ll("/expertAPI/deleteStopOutPatient",n,"post",!1),addOutPatientA:n=>Ll("/expertAPI/addOutPatientA",n,"post",!1),delGroupSendMsg:n=>Ll("/expertAPI/delGroupSendMsg",n,"post",!1),patientDetail:n=>Ll("/expertAPI/patientDetail",n,"post",!1),toAddNickname:n=>Ll("/expertAPI/toAddNickname",n,"post",!1),caseDetail:n=>Ll("/expertAPI/caseDetail",n,"post",!1),conditionRecordList:n=>Ll("/expertAPI/conditionRecordList",n,"post",!1),addConditionRecord:n=>Ll("/expertAPI/addConditionRecord",n,"post",!1),updateConditionRecord:n=>Ll("/expertAPI/upConditionRecord",n,"post",!1),deleteConditionRecord:n=>Ll("/expertAPI/delConditionRecord",n,"post",!1),consultDetail:n=>Ll("/expertAPI/consultDetail",n,"post",!1),isConsultIng:n=>Ll("/expertAPI/isConsultIng",n,"post",!1),resConsult:n=>Ll("/expertAPI/resConsult",n,"post",!1),countConsult:n=>Ll("/expertAPI/countConsult",n,"post",!1),closeConsult:n=>Ll("/expertAPI/closeConsult",n,"post",!1),checkUser:n=>Ll("/expertAPI/checkUser",n,"post",!1),ganDanFileDetials:n=>Ll("/expertAPI/ganDanFileDetials",n,"post",!1),createGanDanFileOrder:n=>Ll("/expertPay/createGanDanFileOrder",n,"post",!1),getOrderStatus:n=>Ll("/expertPay/getOrderStatus",n,"post",!1),getOrderStatus:n=>Ll("/expertPay/getOrderStatus",n,"post",!1),getBalance:n=>Ll("/expertPay/getBalance",n,"post",!1),payGanDanFile:n=>Ll("/expertPay/payGanDanFileOrder",n,"post",!1),getTypeUuidByName:n=>Ll("/expertAPI/getTypeUuidByName",n,"post",!1),videoByTypeNew:n=>Ll("/expertAPI/videoByTypeNew",n,"post",!1),meetingHistoryList:n=>Ll("/expertAPI/meetingHistoryList",n,"post",!1),confirmScanLogin:n=>Ll("/expertAPI/confirmScanLogin",n,"post",!1),cancelScanLogin:n=>Ll("/expertAPI/cancelScanLogin",n,"post",!1),getScanLoginStatus:n=>Ll("/expertAPI/getScanLoginStatus",n,"post",!1),gethonorDetail:n=>Ll("/expertAPI/gethonorDetail",n,"post",!1),checkVersion:n=>Ll("/expertAPI/checkVersion",n,"post",!1),getIsAccount:n=>Ll("/expertAPI/getIsAccount",n,"post",!1),patientVideoByJingHuaNew:n=>Ll("/expertAPI/patientVideoByJingHuaNew",n,"post",!1),useWelfareNum:n=>Ll("/expertAPI/useWelfareNum",n,"post",!1),deleteComment:n=>Ll("/expertAPI/deleteComment",n,"post",!1),downloadGanDanFile:n=>Ll("/expertAPI/downloadGanDanFile",n,"post",!1,"application/json",{},"arraybuffer"),downloadGanDanFileV2:n=>Ll("/expertAPI/downloadGanDanFileV2",n,"post",!1),feedBack:n=>Ll("/expertAPI/addFeedBack",n,"post",!1),getPointUnitPrice:n=>Ll("/expertAPI/getPointUnitPrice",n,"post",!1),welfareList:n=>Ll("/expertAPI/welfareList",n,"post",!1),getUGoods:n=>Ll("/expertAPI/getGoodsDetailU",n,"post",!1),createGoodsOrder:n=>Ll("/expertAPI/createGoodsOrder",n,"post",!1),useWelfareNum:n=>Ll("/expertAPI/useWelfareNum",n,"post",!1),createBointsOrder:n=>Ll("/expertPay/createBointsOrder",n,"post",!1),receiveWelfare:n=>Ll("/expertAPI/receiveWelfare",n,"post",!1),getKePuCollection:n=>Ll("/expertAPI/getKePuCollection",n,"post",!1),getRead:n=>Ll("/expertAPI/read",n,"post",!1),getOutRead:n=>Ll("/expertAPI/outread",n,"post",!1),getAgree:n=>Ll("/expertAPI/agree",n,"post",!1),getDisagree:n=>Ll("/expertAPI/disagree",n,"post",!1),getCollect:n=>Ll("/expertAPI/collection",n,"post",!1),getDiscollect:n=>Ll("/expertAPI/discollection",n,"post",!1),getGanDanFileOrder:n=>Ll("/expertPay/getGanDanFileOrder",n,"post",!1),publishOutPatient:n=>Ll("/expertAPI/addGroupSendMsg4YunXin",n,"post",!1),polularScienceArticleListIndexNew:n=>Ll("/expertAPI/polularScienceArticleListIndexNew",n,"post",!1),getNewsDetail:n=>Ll("/expertAPI/newsDetial",n,"post",!1)};function Ul(n){let x="";x=uni.getStorageSync("AUTH_TOKEN_App"),x?uni.navigateTo(n):uni.navigateTo({url:"/pages_app/login/login"})}let $l="https://dev-doc.igandan.com/app/";const Hl="/static/icon_home_my_public.png",Yl="/static/home_more.png",Gl="/static/sign_in_bng_big.png";var Wl="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Kl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Ql(n){if(n.__esModule)return n;var x=n.default;if("function"==typeof x){var e=function n(){return this instanceof n?Reflect.construct(x,arguments,this.constructor):x.apply(this,arguments)};e.prototype=x.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(n).forEach((function(x){var t=Object.getOwnPropertyDescriptor(n,x);Object.defineProperty(e,x,t.get?t:{enumerable:!0,get:function(){return n[x]}})})),e}var Jl={exports:{}};Jl.exports=function(){var n=1e3,x=6e4,e=36e5,t="millisecond",i="second",l="minute",o="hour",a="day",s="week",r="month",c="quarter",u="year",h="date",g="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var x=["th","st","nd","rd"],e=n%100;return"["+n+(x[(e-20)%10]||x[e]||x[0])+"]"}},y=function(n,x,e){var t=String(n);return!t||t.length>=x?n:""+Array(x+1-t.length).join(e)+n},f={s:y,z:function(n){var x=-n.utcOffset(),e=Math.abs(x),t=Math.floor(e/60),i=e%60;return(x<=0?"+":"-")+y(t,2,"0")+":"+y(i,2,"0")},m:function n(x,e){if(x.date()1)return n(o[0])}else{var a=x.name;v[a]=x,i=a}return!t&&i&&(b=i),i||!t&&b},k=function(n,x){if(z(n))return n.clone();var e="object"==typeof x?x:{};return e.date=n,e.args=arguments,new E(e)},_=f;_.l=j,_.i=z,_.w=function(n,x){return k(n,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var E=function(){function m(n){this.$L=j(n.locale,null,!0),this.parse(n),this.$x=this.$x||n.x||{},this[w]=!0}var y=m.prototype;return y.parse=function(n){this.$d=function(n){var x=n.date,e=n.utc;if(null===x)return new Date(NaN);if(_.u(x))return new Date;if(x instanceof Date)return new Date(x);if("string"==typeof x&&!/Z$/i.test(x)){var t=x.match(d);if(t){var i=t[2]-1||0,l=(t[7]||"0").substring(0,3);return e?new Date(Date.UTC(t[1],i,t[3]||1,t[4]||0,t[5]||0,t[6]||0,l)):new Date(t[1],i,t[3]||1,t[4]||0,t[5]||0,t[6]||0,l)}}return new Date(x)}(n),this.init()},y.init=function(){var n=this.$d;this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),this.$ms=n.getMilliseconds()},y.$utils=function(){return _},y.isValid=function(){return!(this.$d.toString()===g)},y.isSame=function(n,x){var e=k(n);return this.startOf(x)<=e&&e<=this.endOf(x)},y.isAfter=function(n,x){return k(n)65536)throw new Error("Can only request a maximum of 65536 bytes");var x;return function(n,x){for(var e,t=n.length,i="="===n[t-2]?2:"="===n[t-1]?1:0,l=0,o=t-i&4294967292,a=0;a>16&255,x[l++]=e>>8&255,x[l++]=255&e;1===i&&(e=Zl[n.charCodeAt(a)]<<10|Zl[n.charCodeAt(a+1)]<<4|Zl[n.charCodeAt(a+2)]>>2,x[l++]=e>>8&255,x[l++]=255&e),2===i&&(e=Zl[n.charCodeAt(a)]<<2|Zl[n.charCodeAt(a+1)]>>4,x[l++]=255&e)}((x="DCloud-Crypto",weex.requireModule(x)).getRandomValues(n.byteLength),new Uint8Array(n.buffer,n.byteOffset,n.byteLength)),n}};var xo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function eo(n){var x={exports:{}};return n(x,x.exports),x.exports}var to,io,lo,oo,ao,so,ro,co,uo,ho,go,po,mo,yo,fo,bo,vo,wo,zo,jo,ko,_o,Eo,No,So,Co,qo,To,Vo,Ao,Io,Bo,Do,Mo,Oo,Ro,Po,Lo,Fo,Uo,$o,Ho,Yo,Go,Wo,Ko,Qo,Jo,Xo,Zo,na,xa,ea,ta,ia,la,oa,aa=eo((function(n){var x=Object.prototype.hasOwnProperty,e="~";function t(){}function i(n,x,e){this.fn=n,this.context=x,this.once=e||!1}function l(n,x,t,l,o){if("function"!=typeof t)throw new TypeError("The listener must be a function");var a=new i(t,l||n,o),s=e?e+x:x;return n._events[s]?n._events[s].fn?n._events[s]=[n._events[s],a]:n._events[s].push(a):(n._events[s]=a,n._eventsCount++),n}function o(n,x){0==--n._eventsCount?n._events=new t:delete n._events[x]}function a(){this._events=new t,this._eventsCount=0}Object.create&&(t.prototype=Object.create(null),(new t).__proto__||(e=!1)),a.prototype.eventNames=function(){var n,t,i=[];if(0===this._eventsCount)return i;for(t in n=this._events)x.call(n,t)&&i.push(e?t.slice(1):t);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(n)):i},a.prototype.listeners=function(n){var x=e?e+n:n,t=this._events[x];if(!t)return[];if(t.fn)return[t.fn];for(var i=0,l=t.length,o=new Array(l);i=0;--i){var l=this.tryEntries[i],o=l.completion;if("root"===l.tryLoc)return e("end");if(l.tryLoc<=this.prev){var a=t.call(l,"catchLoc"),s=t.call(l,"finallyLoc");if(a&&s){if(this.prev=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&t.call(i,"finallyLoc")&&this.prev=0;--x){var e=this.tryEntries[x];if(e.finallyLoc===n)return this.complete(e.completion,e.afterLoc),j(e),u}},catch:function(n){for(var x=this.tryEntries.length-1;x>=0;--x){var e=this.tryEntries[x];if(e.tryLoc===n){var t=e.completion;if("throw"===t.type){var i=t.arg;j(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(n,x,e){return this.delegate={iterator:_(n),resultName:x,nextLoc:e},"next"===this.method&&(this.arg=void 0),u}},x}function x(n){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function e(n,x){for(var e=0;e2&&void 0!==arguments[2]?arguments[2]:{};if(e.priority||(e.priority=this.getEventPriority(n,x)),this.reportConfig.isDataReportEnable&&n){if("login"===n&&!1===x.succeed&&x.process_id){var t=x.extension&&x.extension.find((function(n){return"TCP"===n.operation_type})),l=t&&t.target||"",o=x.process_id+l,a=this.lastFailLogin[o]||0;if(x.start_time-athis.reportConfig.msgListMaxSize&&this.highPriorityMsgList.shift(),this.msgList.length>this.reportConfig.msgListMaxSize&&this.msgList.shift(),this.lowPriorityMsgList.length>this.reportConfig.msgListMaxSize&&this.lowPriorityMsgList.shift(),this.doReport()}}},{key:"reportTraceStart",value:function(n,x){if(this.reportConfig.isDataReportEnable&&n&&!this.traceMsgCache[n]){var e=Object.assign(Object.assign({start_time:Date.now()},x),{extension:[]});this.traceMsgCache[n]=e}}},{key:"reportTraceUpdate",value:function(n){}},{key:"reportTraceUpdateV2",value:function(n,x,e){var t,i=this;if(this.reportConfig.isDataReportEnable&&this.traceMsgCache[n]){var l=this.traceMsgCache[n].extension,o=l.length,a=(new Date).getTime();0===o?x.duration=a-this.traceMsgCache[n].start_time:l[o-1].end_time?x.duration=a-l[o-1].end_time:x.duration=a-this.traceMsgCache[n].start_time,l.push(Object.assign({end_time:a},x));var s=l.length-1;(null==e?void 0:e.asyncParams)&&((t=this.traceMsgCache[n]).asyncPromiseArray||(t.asyncPromiseArray=[]),this.traceMsgCache[n].asyncPromiseArray.push(e.asyncParams.then((function(x){i.traceMsgCache[n]&&i.traceMsgCache[n].extension[s]&&Object.assign(i.traceMsgCache[n].extension[s],x)}))))}}},{key:"reportTraceEnd",value:function(n){var x,e=this,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.reportConfig.isDataReportEnable&&this.traceMsgCache[n])if("nos"!==n||!1===t){"boolean"==typeof t?this.traceMsgCache[n].succeed=!!t:this.traceMsgCache[n].state=t,this.traceMsgCache[n].duration=Date.now()-this.traceMsgCache[n].start_time,this.traceMsgCache[n].extension.forEach((function(n){delete n.end_time}));var i=this.traceMsgCache[n];if(this.traceMsgCache[n]=null,i.asyncPromiseArray){(x=this.endedAsyncMsgByModule)[n]||(x[n]=[]),this.endedAsyncMsgByModule[n].push(i);var l=function(){e.endedAsyncMsgByModule[n]&&e.endedAsyncMsgByModule[n].includes(i)&&(delete i.asyncPromiseArray,e.report(n,i,{priority:e.getEventPriority(n,i)}))};Promise.all(i.asyncPromiseArray).then(l).catch(l)}else this.report(n,i,{priority:this.getEventPriority(n,i)})}else this.traceMsgCache[n]=null}},{key:"getEventPriority",value:function(n,x){if("exceptions"===n){if(0===x.action)return"HIGH";if(2===x.action)return"HIGH";if(1===x.action&&0!==x.exception_service)return"HIGH"}else{if("msgReceive"===n)return"LOW";if("nim_api_trace"===n)return"LOW"}return"NORMAL"}},{key:"reportTraceCancel",value:function(n){this.reportConfig.isDataReportEnable&&(this.endedAsyncMsgByModule[n]=[],this.traceMsgCache[n]=null)}},{key:"pause",value:function(){this.reportConfig.isDataReportEnable&&(this.isUploadEnable=!1)}},{key:"restore",value:function(){this.reportConfig.isDataReportEnable&&(this.isUploadEnable=!0,this.initConfigLoaded||this.initUploadConfig())}},{key:"destroy",value:function(){var n=this;this.reportConfig.isDataReportEnable&&(Object.keys(this.traceMsgCache).forEach((function(x){n.reportTraceEnd(x,1)})),null!==this.timer&&clearTimeout(this.timer),this.setConfig=l,this.report=l,this.reportTraceStart=l,this.reportTraceUpdate=l,this.reportTraceEnd=l,this.pause=l,this.restore=l,this.destroy=l,this.reqRetryCount=0,this.cacheMsgList=[],this.traceMsgCache={},this.lowPriorityMsgList=[],this.msgList=[],this.highPriorityMsgList=[],this.reportConfig={},this.isDestroyed=!0)}},{key:"initUploadConfig",value:function(){var e,i;return t(this,void 0,void 0,n().mark((function t(){var l,o,a,s,r,c=this;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.loading){t.next=2;break}return t.abrupt("return");case 2:this.loading=!0,l=this.reportConfig.common||{},o=this.reportConfig.compassDataEndpoint.split(",").map((function(n){return"".concat(n,"/").concat(c.configPath)})),a=n().mark((function x(t){return n().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!c.initConfigLoaded&&!c.isDestroyed){n.next=2;break}return n.abrupt("return","break");case 2:return n.prev=2,n.next=5,c.reportConfig.request(o[t],{method:"GET",dataType:"json",params:{deviceId:l.dev_id,sdkVer:l.sdk_ver,platform:l.platform,hostEnv:l.host_env,appkey:l.app_key},timeout:c.reportConfig.timeout}).then((function(n){var x,e;if(!c.isDestroyed){if(200===n.status&&n.data&&200===n.data.code){c.initConfigLoaded=!0;var i=n.data.data||{};c.reportConfig.maxSize=i.maxSize>1e3?1e3:i.maxSize,c.reportConfig.maxInterval=i.maxInterval>1e4?1e4:i.maxInterval,c.reportConfig.maxInterval=i.maxInterval<10?10:i.maxInterval,c.reportConfig.minInterval=i.minInterval<2?2:i.minInterval,c.reportConfig.maxDelay=i.maxDelay||300,c.reportConfig.maxInterval=1e3*c.reportConfig.maxInterval,c.reportConfig.minInterval=1e3*c.reportConfig.minInterval,c.reportConfig.maxDelay=1e3*c.reportConfig.maxDelay,i.endpoint?c.dataReportEndpoint=i.endpoint:c.dataReportEndpoint=o[t],c.serverAllowUpload=!0,c.loading=!1,c.reportHeartBeat()}else 200===n.status&&(c.initConfigLoaded=!0);null===(e=null===(x=c.reportConfig)||void 0===x?void 0:x.logger)||void 0===e||e.log("Get reporter upload config success")}})).catch((function(n){var x,e;c.isDestroyed||(c.loading=!1,null===(e=null===(x=c.reportConfig)||void 0===x?void 0:x.logger)||void 0===e||e.error("Get reporter upload config failed",n),c.reqRetryCount<12&&(c.reqRetryCount++,setTimeout((function(){c.isDestroyed||c.initUploadConfig()}),8e3)))}));case 5:n.next=14;break;case 7:if(n.prev=7,n.t0=n.catch(2),!c.isDestroyed){n.next=11;break}return n.abrupt("return",{v:void 0});case 11:c.loading=!1,null===(i=null===(e=c.reportConfig)||void 0===e?void 0:e.logger)||void 0===i||i.error("Exec reporter request failed",n.t0),c.reqRetryCount<12&&(c.reqRetryCount++,setTimeout((function(){c.isDestroyed||c.initUploadConfig()}),8e3));case 14:case"end":return n.stop()}}),x,null,[[2,7]])})),s=0;case 7:if(!(s2*this.reportConfig.maxSize?this.reportConfig.minInterval:this.reportConfig.maxInterval;Date.now()-this.lastReportTime>=n&&this.upload()}}},{key:"getUploadMsg",value:function(){var n=this,x={},e=Date.now();this.highPriorityMsgList=this.highPriorityMsgList.filter((function(x){return e-x.createTime{var o=n[l].type,a=e?`In ${e}, `:"";if(null==x){var s=`${a}param is null or undefined`;throw t?new ma({detail:{reason:s,data:{key:l},rules:"required"}}):new pa(s,{key:l},"required")}if(void 0===x[l]){if(!1===n[l].required)return void(i[l]=x[l]);var r=`${a}param '${l}' is required`;throw t?new ma({detail:{reason:r,data:{key:l},rules:"required"}}):new pa(r,{key:l},"required")}var c=va[o];if(c&&!c(x,l,n[l],t)){var u=`${a}param '${l}' unexpected`,h={key:l,value:x[l]};throw t?new ma({detail:{reason:u,data:h,rules:JSON.stringify(n[l],fa)}}):new pa(u,h,JSON.stringify(n[l],fa))}i[l]=x[l]})),i}var va={string:function(n,x,e){var t,{allowEmpty:i,max:l,min:o,regExp:a}=e,s=n[x];return!("string"!=typeof s||!1===i&&""===s||"number"==typeof l&&s.length>l||"number"==typeof o&&s.lengthi)},boolean:function(n,x){return"boolean"==typeof n[x]},file:function(n,x){return!0},enum:function(n,x,e){var{values:t}=e,i=n[x];return!t||t.indexOf(i)>-1},jsonstr:function(n,x){try{var e=JSON.parse(n[x]);return"object"==typeof e&&null!==e}catch(t){return!1}},func:function(n,x){return"function"==typeof n[x]},array:function(n,x,e,t=!1){var i,l,{itemType:o,itemRules:a,rules:s,min:r,max:c,values:u}=e,h=n[x];if(!Array.isArray(h))return!1;if("number"==typeof c&&h.length>c)return!1;if("number"==typeof r&&h.length{ba({[e]:a},{[e]:n},`${x}[${e}]`,t)}));else if(s)h.forEach(((n,e)=>ba(s,n,`${x}[${e}]`,t)));else if("enum"===o){if(u&&(i=h,l=u,l=l||[],(i=i||[]).filter((n=>-1===l.indexOf(n)))).length)return!1}else if(o&&!h.every((n=>typeof n===o)))return!1;return!0},object:function(n,x,e,t=!1){var{rules:i,allowEmpty:l}=e,o=n[x];if("object"!=typeof o||null===o)return!1;if(i){var a=Object.keys(i),s=Object.keys(o).filter((n=>a.indexOf(n)>-1));if(!1===l&&0===s.length)return!1;ba(i,o,x,t)}return!0}};class wa{constructor(){this.timerList=[],this.id=1,this.timer=null,this.timeout=0}addTimer(n,x=0,e=1){var t=(new Date).getTime(),i=this.id;return this.timerList.push({id:i,loop:e,count:0,timeout:t+x,interval:x,callback:n}),this.id++,this.checkTimer(t),i}checkTimer(n=(new Date).getTime()){if(this.removeFinished(),0!==this.timerList.length||null==this.timer){var x=0;for(var e of this.timerList)(0===x||x>e.timeout)&&(x=e.timeout);0!==this.timerList.length&&(null===this.timer||x=x.timeout&&(x.callback(),x.count++,x.timeout=n+x.interval);this.clerTime(),this.checkTimer(n)}clerTime(){null!==this.timer&&(clearTimeout(this.timer),this.timer=null)}deleteTimer(n){for(var x=this.timerList.length-1;x>=0;x--)this.timerList[x].id===n&&this.timerList.splice(x,1)}removeFinished(){for(var n=this.timerList.length-1;n>=0;n--){var x=this.timerList[n];x.loop>=0&&x.count>=x.loop&&this.timerList.splice(n,1)}}destroy(){this.clerTime(),this.timerList=[],this.id=1,this.timer=null}}function za(n,x){var e={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&x.indexOf(t)<0&&(e[t]=n[t]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(n);iPromise.resolve({net_type:0,net_connect:!0}),onNetworkStatusChange(n){},offNetworkStatusChange(){}},Ea={isActive:()=>!0,getStatus:()=>0,setStatus(n){},destroy(){}},Na={setLogger:function(n){throw new Error("setLogger not implemented.")},platform:"",WebSocket:class{constructor(n,x){throw this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this.binaryType="",new Error("Method not implemented.")}close(n,x){throw new Error("Method not implemented.")}send(n){throw new Error("Method not implemented.")}onclose(n){throw new Error("Method not implemented.")}onerror(n){throw new Error("Method not implemented.")}onmessage(n){throw new Error("Method not implemented.")}onopen(n){throw new Error("Method not implemented.")}},localStorage:{},request:function(n,x){throw new Error("request not implemented.")},uploadFile:function(n){throw new Error("uploadFile not implemented.")},getSystemInfo:function(){throw new Error("getSystemInfo not implemented.")},getFileUploadInformation(n){throw new Error("getFileUploadInformation not implemented.")},envPayload:{},net:_a,powerMonitor:Ea,logStorage:class{constructor(n){}open(){return Promise.resolve()}close(){}addLogs(n){return Promise.resolve()}extractLogs(){return Promise.resolve()}afterUpload(){return Promise.resolve()}}},Sa=["error","warn","log","debug"],Ca=function(){},qa=["off","error","warn","log","debug"];class Ta{constructor(n,x={}){this.storageArr=[],this.debugLevel="off",this.timer=0,this.strategies={debug:{name:"debg",func:console.log},log:{name:"info",func:console.log},warn:{name:"warn",func:console.warn},error:{name:"erro",func:console.error}},this.debug=Ca,this.log=Ca,this.warn=Ca,this.error=Ca,this.iid=Math.round(1e3*Math.random()),this.debugLevel=qa.includes(n)?n:"off",x.debugLevel&&(this.debugLevel=qa.includes(x.debugLevel)?x.debugLevel:this.debugLevel),this.logStorage=!1===x.storageEnable?null:new Na.logStorage(null==x?void 0:x.storageName),this.setOptions(x),this.setLogFunc(this.debugLevel),this.setTimer(),Na.setLogger(this),this.open()}getDebugMode(){return"debug"===this.debugLevel}open(){this.logStorage&&this.logStorage.open().then((()=>{this.log("Logger::open success")})).catch((n=>{this.warn("Logger::open failed",n)}))}setOptions(n){if(n&&n.logFunc){var x=n.logFunc;for(var e in x){var t=e,i=x[t];i&&(this.strategies[t].func=i)}}}setLogFunc(n,x="log"){var e=Sa.findIndex((x=>x===n)),t=Sa.findIndex((n=>n===x));Sa.forEach(((n,x)=>{this[n]=function(){if(!(x>e&&x>t)){var i=Array.prototype.slice.call(arguments),l=this.strategies[n],o=this.formatArgs(i,l.name);x<=t&&this.logStorage&&this.prepareSaveLog(o,n),x<=e&&l.func(o)}}}))}extractLogs(){var n;return this.logStorage?null===(n=this.logStorage)||void 0===n?void 0:n.extractLogs():Promise.resolve("")}afterUpload(){var n;return this.logStorage?null===(n=this.logStorage)||void 0===n?void 0:n.afterUpload():Promise.resolve("")}prepareSaveLog(n,x){this.storageArr.push({text:n,level:x,time:Date.now(),iid:this.iid}),this.timer||this.setTimer(),this.storageArr.length>=100&&(this.triggerTimer(),this.storageArr=[])}saveLogs(){return ja(this,void 0,void 0,(function*(){if(this.logStorage){var n=this.storageArr;this.storageArr=[];try{yield this.logStorage.addLogs(n)}catch(x){}}}))}clearTimer(){this.timer&&clearTimeout(this.timer),this.timer=0}setTimer(){this.clearTimer(),this.timer=setTimeout(this.triggerTimer.bind(this),5e3)}triggerTimer(){this.clearTimer(),this.saveLogs()}formatArgs(n,x){var e=new Date;return`[NIM ${this.iid} ${x} ${e.getMonth()+1}-${e.getDate()} ${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}:${e.getMilliseconds()}] `+n.map((n=>n instanceof da?n.toString():n instanceof Error?n&&n.message?n.message:n:"object"==typeof n?JSON.stringify(n):n)).join(" ")}destroy(){this.debug=Ca,this.log=Ca,this.warn=Ca,this.error=Ca,this.saveLogs(),this.clearTimer(),this.storageArr=[],this.logStorage&&this.logStorage.close()}}function Va(n,x){if("object"!=typeof n||null===n)return n;for(var e=(x=x||"").split("."),t=0;t{}),x=x||{}){var l=t(n[i],x[i]);n[i]=void 0===l?x[i]:l}for(var o in e){var a=t(n[o],e[o]);n[o]=void 0===a?e[o]:a}return n}({},n,x,(function(n,x){return void 0===x?n:x}))}function Ma(){return Promise.resolve()}function Oa(){}class Ra{constructor(n){this.lastSuccUploadHost="",this.core=n}getFileUploadInformation(n){return Na.getFileUploadInformation(n)}request(n,x,e){var t=(new Date).getTime(),i=(null==e?void 0:e.exception_service)||0;return Na.request(n,x).catch((e=>{var l,o,a,s,r=e;throw this.core.reporter.reportTraceStart("exceptions",{user_id:this.core.options.account||(null===(o=null===(l=this.core)||void 0===l?void 0:l.auth)||void 0===o?void 0:o.account),trace_id:null===(s=null===(a=this.core.clientSocket)||void 0===a?void 0:a.socket)||void 0===s?void 0:s.sessionId,start_time:t,action:1,exception_service:i}),this.core.reporter.reportTraceUpdateV2("exceptions",{code:"number"==typeof r.code?r.code:0,description:r.message||`${r.code}`,operation_type:0,target:n,context:x?JSON.stringify(x):""},{asyncParams:Na.net.getNetworkStatus()}),this.core.reporter.reportTraceEnd("exceptions",1),e}))}uploadFile(n,x){var e,t,i,l;return ja(this,void 0,void 0,(function*(){for(var o="BROWSER"===Na.platform,a=o?n.chunkUploadHostBackupList:n.commonUploadHostBackupList,s=o?n.chunkUploadHost:n.commonUploadHost,r=a.indexOf(s),c=-1===r?[s,...a]:[s,...a.slice(0,r),...a.slice(r+1)],u=Math.max(c.indexOf(this.lastSuccUploadHost),0),h=null,g=0;g200||n.errCode>200))throw n}}var Pa="https://abt-online.netease.im/v1/api/abt/client/getExperimentInfo";class La{constructor(n,x){this.abtInfo={},this.core=n,this.config=Da({isAbtestEnable:!0,abtestUrl:Pa,abtestProjectKey:"imElite_sdk_abtest_web"},x)}setOptions(n){this.config=Da(this.config,n)}abtRequest(){var n,x;return ja(this,void 0,void 0,(function*(){if(this.config.isAbtestEnable&&!this.abtInfo.experiments&&this.config.abtestUrl){var e;try{e=yield this.core.adapters.request(this.config.abtestUrl,{method:"POST",dataType:"json",headers:{sdktype:"ABTest"},data:{clientInfo:{projectKey:this.config.abtestProjectKey,appKey:this.core.options.appkey,osType:"Web",sdkVersion:"10.9.50",deviceId:this.core.config.deviceId},useLocalCache:!0}},{exception_service:7})}catch(t){this.core.logger.warn("ABTest request failed")}this.abtInfo=(null===(x=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.data)||void 0===x?void 0:x.abtInfo)||{}}}))}}class Fa{constructor(){this.abortFns=[]}add(n){var x,e,t,i=(x=n,e={},t=new Promise((function(n,x){e.abort=x})),e.promise=Promise.race([x,t]),e);return this.abortFns.push(i.abort),i.promise}clear(n){this.abortFns.forEach((x=>x(n||new da({code:ua.V2NIM_ERROR_CODE_CANCELLED,detail:{reason:"Aborted"}})))),this.abortFns=[]}destroy(){this.clear()}}var Ua={tolerantRTT:3e3,bestRTT:100,maxChances:5,enable:!0},$a={timestamp:0,rtt:0,baseClock:0,baseTime:0};class Ha{constructor(n,x,e="getServerTime"){this.serverOrigin=$a,this.config=Ua,this.isSettingNTP=!1,this.currentChance=0,this.failedDelay=2e3,this.successDelay=3e5,this.timer=0,this.cmdName="getServerTime",this.core=n,this.logger=n.logger,this.promiseManager=new Fa,this.cmdName=e,x&&this.setOptions(x)}setOptions(n){this.config=Object.assign({},Ua,this.config,n)}reset(){this.timer&&clearTimeout(this.timer),this.promiseManager.clear(),this.serverOrigin=$a,this.currentChance=0}setOriginTimetick(){return ja(this,void 0,void 0,(function*(){if(this.config.enable&&!(this.isSettingNTP||this.currentChance>=this.config.maxChances)){var n=Va(this.core,"auth.status"),x=Va(this.core,"status"),e=Va(this.core,"V2NIMLoginService.lifeCycle.loginStatus");if("logined"===n||"logined"===x||1===e){this.isSettingNTP=!0,this.currentChance++,this.timer&&clearTimeout(this.timer),this.timer=0;var t,i="TimeOrigin::setOriginTimetick:",l=Date.now();this.core.logger.debug(`${i} getServerTime start, times ${this.currentChance}`);try{t=Va(yield this.promiseManager.add(this.core.sendCmd(this.cmdName)),"content.time"),this.isSettingNTP=!1}catch(s){var o=s;return this.isSettingNTP=!1,this.logger.warn(`${i} Calculate Delay time, getServerTime error`,o),void(o.code!==ua.V2NIM_ERROR_CODE_CANCELLED&&(clearTimeout(this.timer),this.timer=setTimeout(this.setOriginTimetick.bind(this),this.failedDelay)))}if(!t)return this.core.logger.warn(`${i} Calculate Delay time incorrect format`),void(this.config.enable=!1);var a=Date.now()-l;this.doSet(t,a)}}}))}doSet(n,x){var e="TimeOrigin::setOriginTimetick:";x>this.config.tolerantRTT?(this.logger.warn(`${e} denied RTT:${x}`),clearTimeout(this.timer),this.timer=setTimeout(this.setOriginTimetick.bind(this),this.failedDelay)):x>this.config.bestRTT?(this.serverOrigin.rtt&&x>=this.serverOrigin.rtt?this.logger.warn(`${e} ignore RTT:${x}`):(this.setServerOrigin(x,n),this.logger.log(`${e} accept reluctantly RTT:${x}`)),clearTimeout(this.timer),this.timer=setTimeout(this.setOriginTimetick.bind(this),this.failedDelay)):(this.setServerOrigin(x,n),this.logger.debug(`${e} accept best RTT:${x}`),this.currentChance=0,clearTimeout(this.timer),this.timer=setTimeout(this.setOriginTimetick.bind(this),this.successDelay))}getNTPTime(n){if(void 0===n&&(n=this.getTimeNode()),this.checkNodeReliable(n)){var x=Math.floor(n.time-this.serverOrigin.baseTime);return this.serverOrigin.timestamp+x}return Date.now()}checkNodeReliable(n){if(void 0===n&&(n=this.getTimeNode()),this.serverOrigin.timestamp){if(0===this.serverOrigin.baseClock)return!0;var x=n.clock-this.serverOrigin.baseClock,e=n.time-this.serverOrigin.baseTime;return Math.abs(e-x)<500}return!1}checkPerformance(){return"BROWSER"===Na.platform}static checkPerformance(){return"BROWSER"===Na.platform}getTimeNode(){return{clock:this.checkPerformance()?performance.now():0,time:Date.now()}}static getTimeNode(){return{clock:0,time:Date.now()}}setServerOrigin(n,x){this.serverOrigin={timestamp:x+Math.floor(n/2),rtt:n,baseClock:this.checkPerformance()?performance.now():0,baseTime:Date.now()}}}var Ya={user_id:"",trace_id:"",action:7,exception_service:6,duration:0,start_time:0,state:1,extension:[]};class Ga{constructor(n,x){this.traceData=Ya,this.core=n,this.traceData=Object.assign({},Ya,x),this.traceData.extension=[]}reset(){this.traceData=Object.assign({},Ya),this.traceData.extension=[]}start(){var n,x;this.reset(),this.traceData.user_id=this.core.account,this.traceData.trace_id=(null===(x=null===(n=this.core.clientSocket)||void 0===n?void 0:n.socket)||void 0===x?void 0:x.sessionId)||"",this.traceData.start_time=(new Date).getTime()}update(n){return ja(this,void 0,void 0,(function*(){var{net_type:x,net_connect:e}=yield Na.net.getNetworkStatus();this.traceData.extension.push(Object.assign({code:0,foreground:!0,foreg_backg_switch:!1,net_type:x,net_connect:e},n))}))}end(n){var x=this.traceData.extension[0],e=this.traceData.extension[1];if(x&&0===x.operation_type&&e&&1===e.operation_type){var t=x.net_type!==e.net_type||x.net_connect!==e.net_connect;if(n||!t)return this.traceData.duration=(new Date).getTime()-this.traceData.start_time,this.core.reporter.report("exceptions",this.traceData),void this.reset();this.reset()}else this.reset()}}var Wa={user_id:"",trace_id:"",net_connect:!0,net_type:0,duration:0,start_time:0,history:[],succeed:!1};class Ka{constructor(n){this.traceData=Wa,this.core=n,this.reset()}reset(){this.traceData=Object.assign({},Wa),this.traceData.history=[]}start(n){this.reset(),this.traceData.user_id=n,this.traceData.start_time=Date.now()}updateBegin(n){this.traceData.history.push(Object.assign({head:"",body:"",start_time:Date.now(),httpdns:!1,index:0},n))}updateComplete(n){this.traceData.history.forEach((x=>{x.target===n.target&&(Object.assign(x,n),x.duration=Date.now()-x.start_time)}))}end(n){return ja(this,void 0,void 0,(function*(){if(this.traceData.succeed=n,this.traceData.history=this.traceData.history.filter((n=>void 0!==n.code)),0!==this.traceData.history.length){this.traceData.duration=Date.now()-this.traceData.start_time;var{net_type:x,net_connect:e}=yield Na.net.getNetworkStatus();this.traceData.net_type=x,this.traceData.net_connect=e,this.core.reporter.report("nim_sdk_lbs_records",this.traceData),this.reset()}else this.reset()}))}}function Qa(n){var x,e,t=!0;return"boolean"==typeof(null===(x=null==n?void 0:n.reporterConfig)||void 0===x?void 0:x.enableCompass)?t=n.reporterConfig.enableCompass:"boolean"==typeof(null===(e=null==n?void 0:n.reporterConfig)||void 0===e?void 0:e.isDataReportEnable)&&(t=n.reporterConfig.isDataReportEnable),t}var Ja={},Xa={},Za={},ns={apiVersion:"v1",debugLevel:"off",needReconnect:!0,reconnectionAttempts:Number.MAX_SAFE_INTEGER,lbsUrls:["https://lbs.netease.im/lbs/webconf.jsp"],linkUrl:"weblink.netease.im:443",abtestUrl:Pa,isAbtestEnable:!0};class xs extends aa{constructor(n,x={}){if(super(),this.instanceName="NIM",this.pluginMap={},this.eventBus=new aa,this.options={},this.V2NIMConversationIdUtil={},this.V2NIMMessageCreator={},this.V2NIMMessageAttachmentCreator={},this.V2NIMClientAntispamUtil={},this.DataStructureConverter={},this.V2NIMMessageConverter={},this.V2NIMMessageLogUtil={},this.V2NIMMessageExtendUtil={},this.V2NIMStorageUtil={},this.V2NIMNotificationService={},this.V2NIMStorageService={},this.auth={},this.V1NIMLoginService={},this.V2NIMLoginService={},this.clientSocket={},this.V2NIMSyncService={},this.V2NIMLocalConversationService={},this.V2NIMConversationService={},this.V2NIMConversationGroupService={},this.V2NIMMessageService={},this.V2NIMTeamService={},this.V2NIMUserService={},this.V2NIMFriendService={},this.V2NIMSettingService={},this.V2NIMAIService={},this.V2NIMSignallingService={},this.V2NIMSubscriptionService={},this.V2NIMPassthroughService={},this.YSFService={},this.offlinePush={},this.sync={},this.msg={},this.msgLog={},this.session={},this.cloudSession={},this.misc={},this.user={},this.friend={},this.systemMessage={},this.team={},this.event={},this.msgExtend={},this.cloudStorage={},this.passThrough={},this.superTeam={},this.plugin={},this.signaling={},this.qchatChannel={},this.qchatMedia={},this.qchatMsg={},this.qchatRole={},this.qchatServer={},this.pluginMap=Za,this.logger=new Ta(n.debugLevel,x.loggerConfig),x.privateConf){var{authConfig:e,cloudStorageConfig:t,reporterConfig:i}=this.getConfigFromPrivate(x.privateConf);Object.assign(n,e),this.setInitOptions(n),this.otherOptions=Object.assign(Object.assign({},x),{cloudStorageConfig:Object.assign(Object.assign({storageKeyPrefix:"NIM"},x.cloudStorageConfig),t),reporterConfig:Object.assign(Object.assign({},x.reporterConfig),i),V1NIMLoginServiceConfig:Object.assign(Object.assign(Object.assign({},n),x.V1NIMLoginServiceConfig),e),V2NIMLoginServiceConfig:Object.assign(Object.assign({},x.V2NIMLoginServiceConfig),e)})}else this.setInitOptions(n),this.otherOptions=Object.assign(Object.assign({},x),{V1NIMLoginServiceConfig:Object.assign(Object.assign({},n),x.V1NIMLoginServiceConfig),cloudStorageConfig:Object.assign({storageKeyPrefix:"NIM"},x.cloudStorageConfig)});this.timerManager=new wa,this.timeOrigin=new Ha(this),this.adapters=new Ra(this),this.abtest=new La(this,Object.assign(Object.assign({isAbtestEnable:this.options.isAbtestEnable,abtestUrl:this.options.abtestUrl},this.otherOptions.abtestConfig),{abtestProjectKey:"imElite_sdk_abtest_web"}));var l=Na.getSystemInfo(),o=function(n,x){var e,t,i=null===(e=null==x?void 0:x.reporterConfig)||void 0===e?void 0:e.compassDataEndpoint,l=null===(t=null==x?void 0:x.reporterConfig)||void 0===t?void 0:t.reportConfigUrl;if(i)return i;if(l){var o=l.match(/^https:\/\/([^/]+)\/*/);if(Array.isArray(o)&&o.length>=1)return`https://${o[1]}`;n.error(`Invalid reportConfigUrl: ${l}`)}return Ba()?"https://statistic.live.126.net":"https://statistic.live.126.net,https://statistic-overseas.yunxinfw.com"}(this.logger,this.otherOptions);this.reporter=new sa(Object.assign(Object.assign({},o?{compassDataEndpoint:o}:{}),{isDataReportEnable:Qa(this.otherOptions),common:{app_key:n.appkey,dev_id:"",platform:"Web",sdk_ver:"10.9.50",env:"online",os_name:l.os,os_ver:l.osVer,lib_env:l.libEnv,host_env:l.hostEnv,host_env_ver:l.hostEnvVer,manufactor:l.manufactor,model:l.model,v2:"v1"!==this.options.apiVersion},request:Na.request,logger:this.logger,autoStart:!0})),this.reporterHookLinkKeep=new Ga(this),this.reporterHookLBS=new Ka(this),this.getServiceKeys(Object.keys(Ja)).forEach((n=>{if(!this[n]||!this[n].name){var x=Ja[n];this[n]=new x(this)}})),Object.keys(Ja).forEach((n=>{this.callSetOptions(n)})),Object.keys(Xa).forEach((n=>{var x=Xa[n];void 0!==x&&(this[n]=new x(this))})),xs.instance=this,this.logger.log(`NIM init, version:10.9.50, sdk version:100950, appkey:${n.appkey}`)}getServiceKeys(n){var x=n.findIndex((n=>"V1NIMLoginService"===n));if(x>-1){var e=n[x];n.splice(x,1),"v1"===this.options.apiVersion&&n.unshift(e)}var t=n.findIndex((n=>"V2NIMLoginService"===n));if(t>-1){var i=n[t];n.splice(t,1),"v2"===this.options.apiVersion&&n.unshift(i)}var l=n.findIndex((n=>"sync"===n));if(l>-1){var o=n[l];n.splice(l,1),"v1"===this.options.apiVersion&&n.push(o)}var a=n.findIndex((n=>"V2NIMSyncService"===n));if(a>-1){var s=n[a];n.splice(a,1),"v2"===this.options.apiVersion&&n.push(s)}return n}static getInstance(n,x){if(!xs.instance){if(n)return new xs(n,x);throw new Error("Instance not exist, please input options")}if(n){if(xs.instance.options.account===n.account&&xs.instance.options.appkey===n.appkey)return xs.instance.setOptions(n),xs.instance;throw new Error("Unexpected login")}return xs.instance}setInitOptions(n){ba({appkey:{type:"string"},apiVersion:{type:"enum",values:["v1","v2"],required:!1},binaryWebsocket:{type:"boolean",required:!1},needReconnect:{type:"boolean",required:!1},reconnectionAttempts:{type:"number",required:!1},customClientType:{type:"number",min:1,required:!1},authType:{type:"number",min:0,max:2,required:!1},lbsUrls:{type:"array",itemType:"string",min:1,required:!1},linkUrl:{type:"string",allowEmpty:!1,required:!1}},n),this.options=Object.assign(Object.assign({},ns),n)}getConfigFromPrivate(n){var x;return n?{authConfig:JSON.parse(JSON.stringify({appkey:n.appkey||void 0,lbsUrls:n.weblbsUrl?[n.weblbsUrl]:void 0,linkUrl:n.link_web||void 0,linkSSL:null!==(x=n.websdkSsl)&&void 0!==x?x:void 0})),cloudStorageConfig:JSON.parse(JSON.stringify({chunkUploadHost:n.nos_uploader||void 0,commonUploadHost:n.nos_uploader||void 0,commonUploadHostBackupList:n.nos_uploader?[n.nos_uploader]:void 0,chunkUploadHostBackupList:n.nos_uploader?[n.nos_uploader]:void 0,uploadReplaceFormat:n.nos_downloader_v2?`${n.nosSsl?"https://":"http://"}${n.nos_downloader_v2}`:void 0,downloadUrl:void 0!==n.nos_accelerate?n.nos_accelerate:void 0,downloadHostList:""===n.nos_accelerate_host?[]:"string"==typeof n.nos_accelerate_host?[n.nos_accelerate_host]:Array.isArray(n.nos_accelerate_host)?n.nos_accelerate_host:void 0})),reporterConfig:JSON.parse(JSON.stringify({enableCompass:"boolean"==typeof n.enableCompass?n.enableCompass:void 0,compassDataEndpoint:n.compassDataEndpoint||void 0}))}:{authConfig:{},cloudStorageConfig:{},reporterConfig:{}}}connect(n={}){return this.V1NIMLoginService.login(n)}setOptions(n){if("object"==typeof n&&null!==n){if(Object.prototype.hasOwnProperty.call(n,"account")&&n.account!==this.options.account||Object.prototype.hasOwnProperty.call(n,"appkey")&&n.appkey!==this.options.appkey)throw new da({code:ua.V2NIM_ERROR_CODE_MISUSE,detail:{reason:"NIM::setOptions account and appkey is not allowed to reset"}});if(Object.prototype.hasOwnProperty.call(n,"apiVersion")&&n.apiVersion!==this.options.apiVersion)throw new da({code:ua.V2NIM_ERROR_CODE_MISUSE,detail:{reason:"NIM::setOptions apiVersion is not allowed to reset"}});if(Object.prototype.hasOwnProperty.call(n,"binaryWebsocket")&&n.binaryWebsocket!==this.options.binaryWebsocket)throw new da({code:ua.V2NIM_ERROR_CODE_MISUSE,detail:{reason:"NIM::setOptions binaryWebsocket is not allowed to reset"}});ba({token:{type:"string",required:!1},needReconnect:{type:"boolean",required:!1},reconnectionAttempts:{type:"number",required:!1},customClientType:{type:"number",min:1,required:!1},authType:{type:"number",min:0,max:2,required:!1},lbsUrls:{type:"array",itemType:"string",min:1,required:!1},linkUrl:{type:"string",allowEmpty:!1,required:!1}},n),this.logger.log("NIM::setOptions options is",n),this.options=Object.assign(Object.assign({},this.options),n),this.V1NIMLoginService.setOptions&&this.V1NIMLoginService.setOptions(this.options)}}getOptions(){return this.options}disconnect(){return this.V1NIMLoginService.logout()}_disconnect(){return"v1"===this.options.apiVersion?this.V1NIMLoginService.logout():"v2"===this.options.apiVersion?0===Va(this.V2NIMLoginService,"lifeCycle.connectStatus")&&0===Va(this.V2NIMLoginService,"lifeCycle.loginStatus")?Promise.resolve():this.V2NIMLoginService.logout():Promise.resolve()}destroy(){return xs.instance=void 0,this._disconnect().then((()=>{this.status="destroyed",this.removeAllListeners(),this.eventBus.removeAllListeners(),this.logger.destroy(),this.reporter.destroy(),this.timerManager.destroy(),this._clearModuleData("destroy"),this._removeAllModuleListeners(),this.connect=Ma,this.disconnect=Ma,this._disconnect=Ma,this.destroy=Ma}))}_clearModuleData(n="logout"){Object.values(this).forEach((x=>{x&&"function"==typeof x.reset&&x.reset(n)}))}_removeAllModuleListeners(){Object.values(this).forEach((n=>{n&&"function"==typeof n.removeAllListeners&&n.removeAllListeners()}))}kick(n){return this.V1NIMLoginService.kick(n)}sendCmd(n,x,e){return this.clientSocket.sendCmd(n,x,e)}emit(n,...x){try{var e=Date.now(),t=super.emit(n,...x),i=Date.now()-e;return i>=10&&this.logger.warn(`Core::emit event: ${n} process takes: ${i}ms`),t}catch(l){return this.logger.error(`Core::emit event: ${n}. Error: ${l}`),setTimeout((()=>{throw this.logger.error(`Core::emit throw error in setTimeout. event: ${n}. Error: ${l}`),l}),0),!1}}get account(){return this.auth.account}get status(){return this.V1NIMLoginService.status}set status(n){this.V1NIMLoginService.status=n}get config(){return{timeout:8e3,deviceId:this.auth.deviceId}}_registerDep(n,x){this[x]&&this[x].name||(this[x]=new n(this),this.callSetOptions(x))}callSetOptions(n){var x=`${n}Config`,e=`${n}Options`,t=this.otherOptions[x]||this.otherOptions[e]||{},i=Va(this,`${n}.setOptions`);"function"==typeof i&&("cloudStorage"===n&&(t=this.otherOptions[x]||this.otherOptions.serverConfig||{}),i.call(this[n],t))}static registerService(n,x){Ja[x]=n}static registerPrivateService(n,x){Xa[x]=n}static registerPlugin(n,x){Za[x]=n}}xs.sdkVersion=100950,xs.sdkVersionFormat="10.9.50";var es={},ts={};function is(n,x,e,t){var i=es[n];if(!i)return e.error("createCmd:: can not find cmd config: ",n),null;var l={SER:x,SID:i.sid,CID:i.cid,Q:[]};return i.params&&t&&i.params.forEach((function(n){var x=t[n.name];if(null!=x){var e=n.type,{reflectMapper:i,select:o}=n;switch(n.type){case"PropertyArray":e="ArrayMable",x=x.map((n=>({t:"Property",v:i?as(n,i,o):n})));break;case"Property":x=i?as(x,i,o):x;break;case"Bool":x=x?"true":"false"}l.Q.push({t:e,v:x})}})),{packet:l,hasPacketResponse:"boolean"!=typeof i.hasPacketResponse||i.hasPacketResponse,hasPacketTimer:"boolean"!=typeof i.hasPacketTimer||i.hasPacketTimer}}function ls(n,x){var e;try{e=JSON.parse(n)}catch(r){return void x.error(`Parse command error:"${n}"`)}var t=e.sid+"_"+e.cid,i=e.r;if(["4_1","4_2","4_10","4_11"].includes(t)){var l=e.r[1].headerPacket;t=`${l.sid}_${l.cid}`,e.sid=l.sid,e.cid=l.cid,i=e.r[1].body}var o=ts[t],a=[];if(o&&o.length>0){for(var s of o)a.push(os(e,s.config,s.cmd,i,x));return a}x.error("parseCmd:: mapper not exist",t,e.code)}function os(n,x,e,t,i){var l,o={cmd:e,raw:n,error:null,service:null==x?void 0:x.service,content:{},__receiveTimeNode:Ha.getTimeNode()};(18===x.sid||x.sid>=26&&x.sid<100)&&(n.code=function(n){if("number"!=typeof n||n!=n)throw new da({code:ua.V2NIM_ERROR_CODE_INTERNAL,detail:{reason:"Read code failed",rawData:`${n}`}});if(n<0||n>=0&&n<1e3||n>=2e4&&n<=20099)return n;var x=(65535&n)>>9;return 1e5+1e3*(x-=x<=38?1:2)+(511&n)}(n.code));var a,s,r,c,u=(a=n.code,s=e,r=ha[a],null===(c=ya[a])?null:new da({code:a,desc:r||c||a,detail:{cmd:s,timetag:Date.now()}}));if(o.error=u,o.error){if(o.error.detail.cmd=e,!(null===(l=null==x?void 0:x.ignoreErrCodes)||void 0===l?void 0:l.includes(n.code)))return o;i.warn("parseCmd:: ignore error ",o.error),o.error.detail.ignore=!0}return x.response&&x.response.forEach(((n,x)=>{var e=t[x],i=n.type,l=n.name,a=n.reflectMapper;if(void 0!==e)switch(i){case"Property":o.content[l]=a?ss(e,a):e;break;case"PropertyArray":o.content[l]=e.map((n=>a?ss(n,a):n));break;case"Int":case"Long":case"Byte":o.content[l]=+e;break;case"Bool":o.content[l]="true"===e||!0===e||1===e;break;default:o.content[l]=e}})),o}function as(n,x,e){var t={};for(var i in n=function(n,x){var e={};for(var t in x){var i=x[t],l="number"==typeof i?t:i.access?i.access:t,o=l.split("."),a=n;for(var s of o){if(void 0===a[s]||null===a[s]){a=void 0;break}a=a[s]}void 0!==a&&(e[l]=a)}return e}(n,x),x){var l=x[i],o="number"==typeof l?i:l.access?l.access:i;if(!e||e.includes(i))if(o in n){if("number"==typeof l)t[l]=n[o];else if("object"==typeof l)if(l.converter){var a=l.converter(n[o],n);void 0!==a&&(t[l.id]=a)}else t[l.id]=n[o]}else"object"==typeof l&&l.def&&("function"==typeof l.def?t[l.id]=l.def(n):t[l.id]=l.def)}return t}function ss(n,x){var e={};for(var t in n){var i=x[t];if("string"==typeof i)e[i]=n[t];else if("object"==typeof i&&"prop"in i){var l=i.access?i.access:i.prop;if(i.converter){var o=i.converter(n[t],n);void 0!==o&&(e[l]=o)}else i.type&&"number"===i.type?e[l]=+n[t]:i.type&&"boolean"===i.type?e[l]=!("0"===n[t]||!n[t]):e[l]=n[t]}}for(var a in x){var s=x[a];if(s&&void 0!==s.def){var r=s.access?s.access:s.prop;r in e||("function"==typeof s.def?e[r]=s.def(n):e[r]=s.def)}}return e=function(n){var x={},e=function(e){var t=e.split(".");t.reduce((function(x,i,l){return x[i]||(x[i]=isNaN(Number(t[l+1]))?t.length-1==l?n[e]:{}:[])}),x)};for(var t in n)e(t);return x}(e)}function rs(n){for(var x in Object.assign(es,n.cmdConfig),n.cmdMap){var e=n.cmdMap[x],t=n.cmdConfig[e];if(t)if(Array.isArray(ts[x])){var i=!1;for(var l of ts[x])if(l.cmd===e&&l.config.service===t.service){i=!0;break}i||ts[x].push({config:t,cmd:e})}else ts[x]=[{config:t,cmd:e}]}}function cs(n){var x={};for(var e in n){var t=n[e];"number"==typeof t?x[t]=e:"object"==typeof t&&(x[t.id]={prop:e,type:t.retType,access:t.retAccess?t.retAccess:t.access?t.access:e,def:t.retDef,converter:t.retConverter})}return x}function us(n){return n?1:0}function hs(n){if(n&&"object"==typeof n)try{return JSON.stringify(n)}catch(x){return}}function gs(n){if(n&&"string"==typeof n)try{return JSON.parse(n)}catch(x){return}}function ds(n,x){if(!ka(x))return{};var e=JSON.parse(JSON.stringify(x)),t=ps(n,e);return JSON.parse(JSON.stringify(Object.assign(Object.assign({},e),t)))}function ps(n,x){if(!ka(x))return{};var e={};return Object.keys(n).forEach((t=>{var i=n[t].type;if("string"!=typeof i){var l=ps(n[t],x);Object.keys(l).length>0&&(e[t]=l)}else{var o=n[t],a=o.rawKey||t,s=ms[i](x,a,o);void 0!==s&&(x[a]=void 0,e[t]=s)}})),e}var ms={number:function(n,x){if(void 0!==n[x])return+n[x]},string:function(n,x){if(void 0!==n[x])return n[x]},boolean:function(n,x){return+n[x]>0||0!=+n[x]&&void 0},enum:function(n,x,e){return e.values[n[x]]},object:function(n,x){if(void 0!==n[x])try{return JSON.parse(n[x])}catch(e){return{}}}};function ys(n){return ds({type:{type:"number"},port:{type:"number"},customClientType:{type:"number"},timestamp:{type:"number"},loginType:{type:"number"}},n)}var fs={"26_3":"v2Login","26_5":"v2Logout","26_8":"v2KickOffline","26_9":"v2BeKicked","26_10":"v2LoginClientChange","36_1":"v2GetChatroomLinkAddress"},bs={"1_2":"heartbeat","2_7":"nimLoginClientChange","24_8":"qchatLoginClientChange"},vs={webLoginReqTag:{clientType:3,os:4,sdkVersion:6,appLogin:8,protocolVersion:9,pushTokenName:10,pushToken:11,clientId:13,appkey:18,account:19,browser:24,clientSession:26,deviceInfo:32,isReactNative:112,customTag:38,customClientType:39,sdkHumanVersion:40,hostEnv:41,userAgent:42,libEnv:44,authType:115,thirdPartyExtension:116,env:119,isRoutable:120,token:1e3},mixAuthRepTag:{clientId:1,consid:2,clientIP:3,port:4,type:5,customClientType:6,timestamp:7,customTag:8,os:9,pushType:10,hasTokenPreviously:11,loginType:12},nimAuthRepTag:{type:3,os:4,mac:5,clientId:13,account:19,deviceInfo:32,customTag:38,customClientType:39,consid:102,clientIP:103,port:104,timestamp:109,pushType:110,hasTokenPreviously:111},qchatAuthRepTag:{clientId:8,consid:102,clientIP:103,port:104,type:6,customClientType:13,timestamp:105,os:30,pushType:100,hasTokenPreviously:101}},ws={v2Login:{sid:26,cid:3,service:"auth",params:[{type:"Property",name:"tag",reflectMapper:vs.webLoginReqTag}],response:[{type:"Property",name:"data",reflectMapper:cs(vs.mixAuthRepTag)},{type:"PropertyArray",name:"loginClients",reflectMapper:cs(vs.mixAuthRepTag)}]},v2Logout:{sid:26,cid:5,service:"auth"},v2KickOffline:{sid:26,cid:8,service:"auth",params:[{type:"StrArray",name:"clientIds"}],response:[{type:"StrArray",name:"clientIds"}]},v2BeKicked:{sid:26,cid:9,service:"auth",response:[{type:"Int",name:"clientType"},{type:"Int",name:"reason"},{type:"String",name:"reasonDesc"},{type:"Int",name:"customClientType"}]},v2LoginClientChange:{sid:26,cid:10,service:"auth",response:[{type:"Byte",name:"state"},{type:"PropertyArray",name:"datas",reflectMapper:cs(vs.mixAuthRepTag)}]},v2GetChatroomLinkAddress:{sid:36,cid:1,service:"auth",params:[{type:"Long",name:"roomId"},{type:"Bool",name:"miniProgram"}],response:[{type:"StrArray",name:"linkAddress"}]}},zs={heartbeat:{sid:1,cid:2,service:"auth"},nimLoginClientChange:{sid:2,cid:7,service:"auth",response:[{type:"Byte",name:"state"},{type:"PropertyArray",name:"datas",reflectMapper:cs(vs.nimAuthRepTag)}]},qchatLoginClientChange:{sid:24,cid:8,service:"auth",response:[{type:"Byte",name:"state"},{type:"Property",name:"data",reflectMapper:cs(vs.qchatAuthRepTag)}]}},js=ks;function ks(n){n=n||{},this.ms=n.min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}ks.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var x=Math.random(),e=Math.floor(x*this.jitter*n);n=0==(1&Math.floor(10*x))?n-e:n+e}return 0|Math.min(n,this.max)},ks.prototype.reset=function(){this.attempts=0},ks.prototype.setMin=function(n){this.ms=n},ks.prototype.setMax=function(n){this.max=n},ks.prototype.setJitter=function(n){this.jitter=n};var _s=function(n){var x;if(void 0!==n)return(x=Cs(n)).sign=1,x},Es=function(n){return"[object Array]"===Object.prototype.toString.call(n)},Ns=function(n){return["number"==typeof n,"string"==typeof n&&n.length>0,Es(n)&&n.length>0,n instanceof Cs].some((function(n){return!0===n}))},Ss="Invalid Number";function Cs(n){var x;if(!(this instanceof Cs))return new Cs(n);if(this.number=[],this.sign=1,this.rest=0,Ns(n)){if(Es(n)){for((n.length&&"-"===n[0]||"+"===n[0])&&(this.sign="+"===n[0]?1:-1,n.shift(0)),x=n.length-1;x>=0;x--)if(!this.addDigit(n[x]))return}else for("-"!==(n=n.toString()).charAt(0)&&"+"!==n.charAt(0)||(this.sign="+"===n.charAt(0)?1:-1,n=n.substring(1)),x=n.length-1;x>=0;x--)if(!this.addDigit(parseInt(n.charAt(x),10)))return}else this.number=Ss}Cs.prototype.addDigit=function(n){return/^\d$/.test(n)?(this.number.push(n),this):(this.number=Ss,!1)},Cs.prototype._compare=function(n){var x,e;if(!Ns(n))return null;if(x=Cs(n),this.sign!==x.sign)return this.sign;if(this.number.length>x.number.length)return this.sign;if(this.number.length=0;e--){if(this.number[e]>x.number[e])return this.sign;if(this.number[e]0},Cs.prototype.gte=function(n){return this._compare(n)>=0},Cs.prototype.equals=function(n){return 0===this._compare(n)},Cs.prototype.lte=function(n){return this._compare(n)<=0},Cs.prototype.lt=function(n){return this._compare(n)<0},Cs.prototype.subtract=function(n){var x;return void 0===n?this:(x=Cs(n),this.sign!==x.sign?(this.number=Cs._add(this,x),this):(this.sign=this.lt(x)?-1:1,this.number=_s(this).lt(_s(x))?Cs._subtract(x,this):Cs._subtract(this,x),this))},Cs._add=function(n,x){var e,t=0,i=Math.max(n.number.length,x.number.length);for(e=0;e0;e++)n.number[e]=(t+=(n.number[e]||0)+(x.number[e]||0))%10,t=Math.floor(t/10);return n.number},Cs._subtract=function(n,x){var e,t=0,i=n.number.length;for(e=0;e0;)e++;return e>0&&n.number.splice(-e),n.number},Cs.prototype.multiply=function(n){if(void 0===n)return this;var x,e,t=Cs(n),i=0,l=[];if(this.isZero()||t.isZero())return Cs(0);for(this.sign*=t.sign,x=0;x0;e++)l[x+e]=(i+=(l[x+e]||0)+this.number[x]*(t.number[e]||0))%10,i=Math.floor(i/10);return this.number=l,this},Cs.prototype.divide=function(n){if(void 0===n)return this;var x,e,t=Cs(n),i=[],l=Cs(0);if(t.isZero())return this.number="Invalid Number - Division By Zero",this;if(this.isZero())return this.rest=Cs(0),this;if(this.sign*=t.sign,t.sign=1,1===t.number.length&&1===t.number[0])return this.rest=Cs(0),this;for(x=this.number.length-1;x>=0;x--)for(l.multiply(10),l.number[0]=this.number[x],i[x]=0;t.lte(l);)i[x]++,l.subtract(t);for(x=0,e=i.length-1;0===i[e-x]&&e-x>0;)x++;return x>0&&i.splice(-x),this.rest=l,this.number=i,this},Cs.prototype.mod=function(n){return this.divide(n).rest},Cs.prototype.isZero=function(){var n;for(n=0;n=0;n--)x+=this.number[n];return this.sign>0?x:"-"+x};var qs,Ts=Math.pow(2,32);function Vs(n){for(var x=new Uint8Array(5),e=new DataView(x.buffer),t=0;0!=(4294967168&n);)e.setUint8(t++,127&n|128),n>>>=7;return e.setUint8(t++,127&n),x.slice(0,t)}class As{constructor(n){this.offset=0,this.buffer=new Uint8Array(n),this.view=new DataView(n)}checkBufferBoundaryAccess(){return this.offset>=this.buffer.byteLength}length(){var n;return(null===(n=this.view)||void 0===n?void 0:n.byteLength)||0}getBuffer(){return this.view.buffer}getOffset(){return this.offset}popRaw(n){try{var x=this.buffer.slice(this.offset,this.offset+n);return this.offset+=n,x}catch(e){throw new Error(`UnpackException raw ${e&&e.message}`)}}popByte(){try{var n=this.view.getUint8(this.offset);return this.offset+=1,n}catch(x){throw new Error(`UnpackException byte ${x&&x.message}`)}}popVarbin(){return this.popRaw(this.popVarInt())}popString(){try{return function(n){return"function"==typeof TextDecoder?new TextDecoder("utf-8").decode(n):function(n){for(var x="",e=0;e0)for(var o=0;o5)throw new Error("Variable length quantity is too long")}while(0!=(128&e));return x}popLong(){try{var n=function(n,x=!1){var e=new DataView(n.buffer),[t,i]=x?[4,0]:[0,4],l=e.getUint32(t,x),o=e.getUint32(i,x);return l>0?l*Ts+o:o}(this.buffer.slice(this.offset,this.offset+8),!0);return this.offset+=8,Number(n)}catch(x){throw new Error(`UnpackException long ${x&&x.message}`)}}popShort(){try{var n=this.view.getUint16(this.offset,!0);return this.offset+=2,n}catch(x){throw new Error(`UnpackException short ${x&&x.message}`)}}popBoolean(){return this.popByte()>0}toString(){return Array.from(new Uint8Array(this.buffer)).toString()}reset(){this.offset=0,this.buffer=null,this.view=null}}class Is{constructor(n){this.packetLength=0,this.serviceId=0,this.commandId=0,this.serialId=0,this.tag=0,this.resCode=200,this.innerHeader=null,this.msgId=0,this.bodyArr=[],this.unpack=new As(n)}reset(){this.innerHeader=null,this.bodyArr=[],this.unpack.reset()}getBodyDetail(){return this.bodyArr.join("")}unmarshalHeader(){var n=this._unmarshalHeader();this.packetLength=n.packetLength,this.serviceId=n.serviceId,this.commandId=n.commandId,this.serialId=n.serialId,this.tag=n.tag,this.resCode=n.resCode,4===n.serviceId&&[1,2,10,11].includes(n.commandId)&&(this.msgId=this.unmarshalLong(),this.innerHeader=this._unmarshalHeader())}_unmarshalHeader(){var n=this.unpack.popVarInt(),x=this.unpack.popByte(),e=this.unpack.popByte(),t=this.unpack.popShort(),i=this.unpack.popByte(),l=200;return this.hasRescode(i)&&(l=this.unpack.popShort()),{packetLength:n,serviceId:x,commandId:e,serialId:t,tag:i,resCode:l}}hasRescode(n){return 0!=((n=n||this.tag)&Is.RES_CODE)}getHeader(){return{packetLength:this.packetLength,sid:this.serviceId,cid:this.commandId,ser:this.serialId,code:this.resCode}}getInnerHeader(){return this.innerHeader?{sid:this.innerHeader.serviceId,cid:this.innerHeader.commandId}:null}unmarshalProperty(){var n=this.unpack.popVarInt(),x={};this.bodyArr.push(`\nProperty(${n}) {`);for(var e=0;e0&&this.packetLength>this.unpack.length())throw new Error(`UnpackException packetLength(${this.packetLength}) greater than bufferLength(${this.unpack.length()})`);var e=[];return n&&n.forEach((n=>{if(!this.unpack.checkBufferBoundaryAccess())switch(n.type){case"PropertyArray":e.push(this.unmarshalPropertyArray());break;case"Property":e.push(this.unmarshalProperty());break;case"Byte":e.push(this.unpack.popByte());break;case"Int":e.push(this.unpack.popInt());break;case"Bool":e.push(this.unpack.popBoolean());break;case"Long":e.push(this.unmarshalLong());break;case"LongArray":e.push(this.unmarshalLongArray());break;case"String":e.push(this.unpack.popString());break;case"StrArray":e.push(this.unmarshalStrArray());break;case"StrStrMap":e.push(this.unmarshalStrStrMap());break;case"StrLongMap":e.push(this.unmarshalStrLongMap());break;case"LongLongMap":e.push(this.unmarshalLongLongMap());break;case"KVArray":e.push(this.unmarshalKVArray())}})),this.innerHeader?x.r[1].body=e:x.r=e,JSON.stringify(x)}}Is.RES_CODE=2;class Bs{constructor(){this.offset=0,this.pageSize=1024,this.capacity=1048576,this.buffer=new Uint8Array(this.pageSize),this.view=new DataView(this.buffer.buffer)}reset(){this.offset=0,this.buffer=null,this.view=null}size(){return this.offset}getBuffer(){return this.buffer.slice(0,this.offset).buffer}ensureCapacity(n){var x=this.offset+n;if(x>this.capacity)throw new Error("PackException over limit");if(x>this.buffer.byteLength){var e=Math.ceil(x/this.pageSize)*this.pageSize,t=new Uint8Array(e);t.set(this.buffer),this.buffer=t,this.view=new DataView(this.buffer.buffer)}}putRaw(n){this.ensureCapacity(n.length);try{this.buffer.set(n,this.offset),this.offset+=n.length}catch(x){throw new Error("PackException raw")}}putByte(n){this.ensureCapacity(1);try{this.view.setUint8(this.offset++,n)}catch(x){throw new Error("PackException byte")}}putString(n){try{var x=function(n){if("function"==typeof TextEncoder)return(new TextEncoder).encode(n);var x=function(n){for(var x=[],e=n.length,t=0;t>l),l-=6;l>=0;)x.push(128|i>>l&63),l-=6;t+=i>=65536?2:1}return x}(n);return new Uint8Array(x)}(n);this.putVarbin(x)}catch(e){throw new Error("PackException string")}}putInt(n){this.ensureCapacity(4);try{this.view.setInt32(this.offset,n,!0),this.offset+=4}catch(x){throw new Error("PackException int")}}putVarInt(n){var x=Vs(n);this.putRaw(x)}putBoolean(n){this.ensureCapacity(1);try{this.view.setUint8(this.offset++,n?1:0)}catch(x){throw new Error("PackException boolean")}}putLong(n){this.ensureCapacity(8);try{var x=function(n,x=!1){var e=new Uint8Array(8),t=new DataView(e.buffer),i=Number(n>Ts-1?n/Ts:0),l=Number(4294967295&n),[o,a]=x?[4,0]:[0,4];return t.setUint32(o,i,x),t.setUint32(a,l,x),e}(n,!0);this.buffer.set(x,this.offset),this.offset+=8}catch(e){throw new Error("PackException long")}}putStringAsLong(n){this.ensureCapacity(8);try{var x=function(n,x=!1){var e=new Uint8Array(8),t=new DataView(e.buffer),i=Cs(n).divide(Ts).number.reverse().join(""),l=Cs(n).mod(Ts).number.reverse().join(""),o=Number(i),a=Number(l),[s,r]=x?[4,0]:[0,4];return t.setUint32(s,o,x),t.setUint32(r,a,x),e}(n,!0);this.buffer.set(x,this.offset),this.offset+=8}catch(e){throw new Error("PackException stringAsLong")}}putShort(n){this.ensureCapacity(2);try{this.view.setInt16(this.offset,n,!0),this.offset+=2}catch(x){throw new Error("PackException short")}}putVarbin(n){if(!n)return this.ensureCapacity(1),this.putVarInt(0);if(n.byteLength>Math.pow(2,31)-2)throw new Error("PackException varbin. too long");var x=Vs(n.length);this.ensureCapacity(x.length+n.length);try{this.buffer.set(x,this.offset),this.offset+=x.length,this.buffer.set(n,this.offset),this.offset+=n.length}catch(e){throw new Error("PackException varbin")}}}function Ds(n){if("number"!=typeof n){if(null==n)return!1;n=Number(n)}if(isNaN(n))throw new Error("Number type conversion error");return!0}function Ms(n){return null==n}class Os{constructor(n,x,e){this.pack=new Bs,this.packetLength=0,this.serviceId=0,this.commandId=0,this.serialId=0,this.tag=0,this.serviceId=n,this.commandId=x,this.serialId=e}marshalHeader(){this.pack.putVarInt(this.packetLength),this.pack.putByte(this.serviceId),this.pack.putByte(this.commandId),this.pack.putShort(this.serialId),this.pack.putByte(this.tag)}marshalProperty(n){var x=Object.keys(n).filter((n=>!Ms(n)));this.pack.putVarInt(x.length),x.forEach((x=>{this.pack.putVarInt(Number(x)),Array.isArray(n[x])||"[object Object]"===Object.prototype.toString.call(n[x])?this.pack.putString(JSON.stringify(n[x])):this.pack.putString(String(n[x]))}))}marshalPropertyArray(n){var x=n.length;this.pack.putVarInt(x),n.forEach((n=>{this.marshalProperty(null==n?void 0:n.v)}))}marshalStrArray(n){var x=n.filter((n=>!Ms(n))),e=x.length;this.pack.putVarInt(e),x.forEach((n=>{this.pack.putString(String(n))}))}marshalLongArray(n){var x=n.filter((n=>Ds(n))),e=x.length;this.pack.putVarInt(e),x.forEach((n=>{this.putLong(n)}))}marshalStrStrMap(n){var x=Object.keys(n).filter((x=>!Ms(n[x])&&!Ms(x)));this.pack.putVarInt(x.length),x.forEach((x=>{this.pack.putString(String(x)),this.pack.putString(String(n[x]))}))}marshalStrLongMap(n){var x=Object.keys(n).filter((x=>Ds(n[x])&&!Ms(x)));this.pack.putVarInt(x.length),x.forEach((x=>{this.pack.putString(String(x)),this.putLong(n[x])}))}marshalLongLongMap(n){var x=Object.keys(n).filter((x=>{var e=Number(x);return Ds(e)&&Ds(n[e])}));this.pack.putVarInt(x.length),x.forEach((x=>{var e=Number(x);this.putLong(e),this.putLong(n[e])}))}marshalKVArray(n){var x=n.length;this.pack.putVarInt(x),n.forEach((n=>{this.marshalStrStrMap(n)}))}putLong(n){"string"==typeof n&&n.length>15?this.pack.putStringAsLong(n):this.pack.putLong(Number(n))}marshal(n,x){return this.marshalHeader(),x&&x.forEach(((x,e)=>{var t,i=x.type,l=null===(t=n[e])||void 0===t?void 0:t.v;if(!Ms(l))switch(i){case"PropertyArray":this.marshalPropertyArray(l);break;case"Property":this.marshalProperty(l);break;case"Byte":if(!Ds(l))return;this.pack.putByte(Number(l));break;case"Int":if(!Ds(l))return;this.pack.putInt(Number(l));break;case"Bool":"false"===l?l=!1:"true"===l&&(l=!0),this.pack.putBoolean(l);break;case"Long":if(!Ds(l))return;this.putLong(l);break;case"LongArray":this.marshalLongArray(l);break;case"String":this.pack.putString(String(l));break;case"StrArray":this.marshalStrArray(l);break;case"StrStrMap":this.marshalStrStrMap(l);break;case"StrLongMap":this.marshalStrLongMap(l);break;case"LongLongMap":this.marshalLongLongMap(l);break;case"KVArray":this.marshalKVArray(l)}})),this.pack.getBuffer()}reset(){this.pack.reset()}}class Rs extends aa{constructor(n,x,e){super(),this.websocket=null,this.socketConnectTimer=0,this.linkSSL=!0,this.url="",this.core=n,this.url=x,this.linkSSL=e,this.status="disconnected",this.logger=n.logger,this.connect()}connect(){"connecting"!==this.status&&"connected"!==this.status?(this.status="connecting",this._createWebsocket(`${this.linkSSL?"wss":"ws"}://${this.url}/websocket`)):this.logger.warn("imsocket::socket is connecting or connected",this.status)}close(){if(this.status="disconnected",this.websocket){this.logger.log("imsocket:: close websocket");try{this.websocket.close()}catch(oa){this.logger.warn("imsocket::attempt to close websocket error",oa)}this.clean(),this.emit("disconnect")}}clean(){this.status="disconnected",clearTimeout(this.socketConnectTimer),this.websocket&&(this.socketUrl=void 0,this.websocket.onmessage=null,this.websocket.onopen=null,this.websocket.onerror=null,this.websocket.onclose=null,this.websocket=null)}onConnect(){this.status="connected",this.emit("connect"),clearTimeout(this.socketConnectTimer)}_createWebsocket(n){this.socketConnectTimer=setTimeout((()=>{this.logger.error("imsocket::Websocket connect timeout. url: ",n),this.emit("connectFailed",new da({code:"v2"===Va(this.core,"options.apiVersion")?ua.V2NIM_ERROR_CODE_CONNECT_TIMEOUT:415,detail:{reason:`imsocket::Websocket connect timeout. url: ${n}`}}))}),this.core.options.socketConnectTimeout||8e3),this.socketUrl=n,this.websocket=new Na.WebSocket(n),this.websocket.binaryType="arraybuffer",this.websocket.onmessage=this.onMessage.bind(this),this.websocket.onclose=n=>{n=n||{},this.logger.log(`imsocket::Websocket onclose done ${n.wasClean}/${n.code}/${n.reason}`),"connected"===this.status?(this.clean(),this.emit("disconnect")):(this.clean(),this.emit("connectFailed",new da({code:"v2"===Va(this.core,"options.apiVersion")?ua.V2NIM_ERROR_CODE_CONNECT_FAILED:414,detail:{reason:"imsocket::Websocket onclose done"}})))},this.websocket.onerror=n=>{this.logger.error("imsocket::Websocket onerror",n),"connected"===this.status?(this.clean(),this.emit("disconnect")):(this.clean(),this.emit("connectFailed",new da({code:"v2"===Va(this.core,"options.apiVersion")?ua.V2NIM_ERROR_CODE_CONNECT_FAILED:414,detail:{reason:"imsocket::Websocket onerror."}})))},this.websocket.onopen=()=>{this.onConnect()}}onMessage(n){if(n.data){var x=new Is(n.data),e={sid:-1,cid:-1,ser:-1,packetLength:-1},t=null;try{x.unmarshalHeader(),e=x.getHeader(),t=x.getInnerHeader()}catch(h){this.reportBinaryError({err:h,sid:t?t.sid:null==e?void 0:e.sid,cid:t?t.cid:null==e?void 0:e.cid,rawBuf:n.data,type:"decode"})}var i=t?t.sid:e.sid,l=t?t.cid:e.cid,o=`${i}_${l}`,a=ts[o];if(a&&a.length>0){var s,r=a[0].config;try{s=x.unmarshal(r.response)}catch(g){var c=x.getBodyDetail();this.reportBinaryError({err:g,rawBuf:n.data,sid:i,cid:l,parseDetail:c,type:"decode"}),x.reset();var u=Object.assign(Object.assign({},e),{sid:i,cid:l,code:ua.V2NIM_ERROR_CODE_UNPACK_ERROR});return this.logger.error(`imsocket::onMessage "${u.sid}_${u.cid}", ser ${u.ser}, packetLength ${u.packetLength} unmarshal error. ${c} \n`,g),void this.emit("message",JSON.stringify(u))}this.emit("message",s)}else this.core.logger.warn("imsocket::onMessage cmd not found",o);x.reset()}}send(n,x,e,t,i){var l,o,a=new Os(n,x,e),s=es[t],r="";try{r=JSON.stringify(i),o=a.marshal(JSON.parse(r),s.params)}catch(c){throw this.reportBinaryError({err:c,sid:n,cid:x,rawStr:r,type:"encode"}),a.reset(),new da({code:ua.V2NIM_ERROR_CODE_PACK_ERROR,detail:{reason:`${n}-${x}, ser ${e} marshal error`,rawError:c}})}null===(l=this.websocket)||void 0===l||l.send(o),a.reset()}reportBinaryError(n){var x,e,t,{err:i,rawStr:l,sid:o,cid:a,type:s,parseDetail:r}=n,c=n.rawBuf;if(c){try{t=function(n){if("function"!=typeof btoa)return"";for(var x="",e=new Uint8Array(n),t=e.byteLength,i=0;i{this.isReconnect=!0}))}setSessionId(n){this.socket&&(this.socket.sessionId=n)}setLinkSSL(n){this.linkSSL=n}connect(n,x=!1){var e,t;return ja(this,void 0,void 0,(function*(){this.isReconnect=x;var i=this.core.auth.getConnectStatus();if(1===i){var l=`clientSocket::connect status is ${i}, and would not repeat connect`,o=new da({code:ua.V2NIM_ERROR_CODE_ILLEGAL_STATE,detail:{reason:l}});return this.logger.warn(l),Promise.reject(o)}this.auth.lifeCycle.processEvent("connect");try{yield this.auth.doLoginStepsManager.add(this.doConnect(n)),this.logger.log(`clientSocketV2:: connect success with link url: ${n}, isReconnect: ${x}`),this.core.reporter.reportTraceUpdateV2("login",{operation_type:"TCP",target:n,code:200,mixlink:!0,succeed:!0},{asyncParams:Na.net.getNetworkStatus()}),this.auth.lifeCycle.processEvent("connectSucc")}catch(s){var a=s;if(this.core.reporter.reportTraceUpdateV2("login",{operation_type:"TCP",target:n,code:a.code||0,description:`connectFailed:${a.message}`,mixlink:!0,succeed:!1},{asyncParams:Na.net.getNetworkStatus()}),a.code===ua.V2NIM_ERROR_CODE_CANCELLED||a.code===ua.V2NIM_ERROR_CODE_TIMEOUT)throw null===(e=this.socket)||void 0===e||e.close(),null===(t=this.socket)||void 0===t||t.removeAllListeners(),this.socket=void 0,s;throw this.logger.warn(`clientSocketV2::connect failed with link url: ${n}`,a),this.auth.lifeCycle.processEvent("connectFail",a),s}}))}doConnect(n){var x=!1;return new Promise(((e,t)=>{this.socket=new Rs(this.core,n,this.linkSSL),this.socket.on("connect",(()=>{this.logger.log("clientSocketV2::socket on connect",n),this.core.reporterHookLinkKeep.start(),this.core.reporterHookLinkKeep.update({code:0,description:"connection begin",operation_type:0,target:n}),x=!0,e()})),this.socket.on("message",this.onMessage.bind(this)),this.socket.on("disconnect",(e=>ja(this,void 0,void 0,(function*(){x=!0,this.logger.log(`clientSocketV2::socket on disconnect ${n}`,e),yield this.core.reporterHookLinkKeep.update({code:(null==e?void 0:e.code)||0,description:(null==e?void 0:e.reason)||"socket on disconnect",operation_type:1,target:n}),this.core.reporterHookLinkKeep.end(!1),this.doDisconnect(qs.OFFLINE,"SocketOnDisconnect")})))),this.socket.on("connectFailed",(e=>{x?this.ping():(this.logger.error(`clientSocketV2::connectFailed:${n}, reason:${e&&e.message}`),this.cleanSocket()),x=!0,t(e)}))}))}cleanSocket(){this.socket&&("function"==typeof this.socket.removeAllListeners&&this.socket.removeAllListeners(),"function"==typeof this.socket.close&&this.socket.close(),this.socket=void 0)}resetSocketConfig(){this.backoff.reset(),this.initOnlineListener()}doDisconnect(n,x){if(this.logger.log(`clientSocketV2::doDisconnect:type:${n},reason:`,x),0!==this.core.auth.getConnectStatus()){var e={1:"close",2:"kicked",3:"broken"}[n]||"";this.markAllCmdInvaild(new da({code:ua.V2NIM_ERROR_CODE_DISCONNECT,detail:{reason:"Packet timeout due to instance disconnect",disconnect_reason:e}})),this.timerManager.destroy(),clearTimeout(this.pingTimer),this.cleanSocket(),n===qs.ACTIVE||n===qs.KICKED?this.destroyOnlineListener():n===qs.OFFLINE&&(this.auth.lifeCycle.processEvent("connectionBroken",new da({code:ua.V2NIM_ERROR_CODE_DISCONNECT,detail:{reason:"connection broken due to internal reasons"}})),this.logger.log(`clientSocketV2::doDisconnect: pending reconnect ${this.isReconnect}`),this.isReconnect&&this.auth.lifeCycle.processEvent("waiting"))}else this.logger.warn("clientSocketV2::doDisconnect:already disconnected")}sendCmd(n,x,e){var t=this.core.auth.getLoginStatus(),i={cmd:n};if(1!==t&&!["v2Login","login","chatroomLogin","v2ChatroomLogin"].includes(n))return this.logger.warn(`clientSocketV2::NIM login status is ${t}, so can not sendCmd ${n}`),Promise.reject(new da({code:ua.V2NIM_ERROR_CODE_ILLEGAL_STATE,detail:Object.assign({reason:"Can not sendCmd due to no logined"},i)}));var l="heartbeat"!==n,o=l?this.packetSer++:0,a=is(n,o,this.logger,x);if(!a){var s=new da({code:ua.V2NIM_ERROR_CODE_INTERNAL,detail:Object.assign(Object.assign({},i),{reason:`SendCmd::createCmd error: ${o} ${n}`})});return this.logger.error(s),Promise.reject(s)}var{packet:r,hasPacketResponse:c,hasPacketTimer:u}=a,h=JSON.stringify(r);l&&(this.logger.getDebugMode()?this.logger.debug(`clientSocketV2::sendCmd: ${r.SID}_${r.CID},${n},ser:${o}`,h):this.logger.log(`clientSocketV2::sendCmd: ${r.SID}_${r.CID},${n},ser:${o}`));var g=(new Date).getTime();return new Promise(((t,l)=>{c&&this.sendingCmdMap.set(o,{cmd:n,params:x,callback:[t,l],timer:u?setTimeout((()=>{var x=new da({code:ua.V2NIM_ERROR_CODE_PROTOCOL_TIMEOUT,detail:Object.assign({ser:o,reason:`Packet Timeout: ser ${o} cmd ${n}`,timetag:(new Date).getTime()},i)});this.markCmdInvalid(o,x,n)}),e&&e.timeout?e.timeout:this.packetTimeout):null});try{this.socket.send(r.SID,r.CID,o,n,r.Q),c||t(r)}catch(s){var a=new da({code:ua.V2NIM_ERROR_CODE_PROTOCOL_SEND_FAILED,detail:Object.assign({ser:o,reason:"Unable to send packet"+(s&&s.message?": "+s.message:""),timetag:(new Date).getTime(),rawError:s},i)});this.markCmdInvalid(o,a,n),l(a)}})).catch((n=>ja(this,void 0,void 0,(function*(){var x=n;return[ua.V2NIM_ERROR_CODE_DISCONNECT,ua.V2NIM_ERROR_CODE_PROTOCOL_TIMEOUT,ua.V2NIM_ERROR_CODE_PROTOCOL_SEND_FAILED].includes(x.code)?(this.reportSendCmdFailed(x,{sid:r.SID,cid:r.CID,ser:o},g),Promise.reject(x)):Promise.reject(x)}))))}reportSendCmdFailed(n,x,e){var t;this.reporter.reportTraceStart("exceptions",{user_id:this.core.auth.getLoginUser(),trace_id:null===(t=this.socket)||void 0===t?void 0:t.sessionId,start_time:e,action:2,exception_service:6});var i=Va(n,"detail.disconnect_reason")||"",l=n.code===ua.V2NIM_ERROR_CODE_DISCONNECT?JSON.stringify({disconnect_reason:i}):n.detail.reason;this.reporter.reportTraceUpdateV2("exceptions",{code:n.code,description:l,operation_type:1,target:`${x.sid}-${x.cid}`,context:`${x.ser}`},{asyncParams:Na.net.getNetworkStatus()}),this.reporter.reportTraceEnd("exceptions",1)}onMessage(n){var x=ls(n,this.logger);if(x&&x.length>0){var e=x[0],t=e.raw.ser;for(var i of(e.error&&(this.logger.error("clientSocketV2::onMessage packet error",`${e.raw.sid}_${e.raw.cid}, ser:${t},`,e.error),e.error.code===ua.V2NIM_ERROR_CODE_UNPACK_ERROR&&this.core.eventBus.emit("BinaryClientSocket/unpackError")),"heartbeat"!==e.cmd&&(this.logger.getDebugMode()?this.logger.debug(`clientSocketV2::recvCmd ${e.raw.sid}_${e.raw.cid},${e.cmd},ser:${t}`,n):this.logger.log(`clientSocketV2::recvCmd ${e.raw.sid}_${e.raw.cid},${e.cmd},ser:${t},code:${e.raw.code}`)),x))this.packetHandler(i)}}packetHandler(n){var x,e,t,i;if(n){var l=n.raw.ser,o=this.sendingCmdMap.get(l);if(o&&o.cmd===n.cmd){var{callback:a,timer:s,params:r}=o;if(clearTimeout(s),n.params=r,this.sendingCmdMap.delete(l),"heartbeat"===n.cmd)return void a[0]();var c=null===(e=null===(x=this.core[n.service])||void 0===x?void 0:x.process)||void 0===e?void 0:e.call(x,n);c&&"function"==typeof c.then?c.then((n=>{a[0](n)})).catch((n=>{a[1](n)})):(this.logger.log("clientSocketV2::handlerFn without promise",n.service,n.cmd),a[0](n))}else{var u=null===(i=null===(t=this.core[n.service])||void 0===t?void 0:t.process)||void 0===i?void 0:i.call(t,n);u&&"function"==typeof u.then&&u.catch((n=>{this.logger.error("clientSocketV2::no obj cache, no process handler",n)}))}}}markCmdInvalid(n,x,e){var t=this.sendingCmdMap.get(n);if(t){var{callback:i,timer:l}=t;l&&clearTimeout(l),this.sendingCmdMap.delete(n),this.logger.warn(`clientSocketV2::packet ${n}, ${e} is invalid:`,x),i[1](x)}}markAllCmdInvaild(n){this.logger.log("markAllCmdInvaild",n),this.sendingCmdMap.forEach((x=>{var{callback:e,timer:t,cmd:i}=x;this.logger.log(`clientSocketV2::markAllCmdInvaild:cmd ${i}`),t&&clearTimeout(t),e[1](n)})),this.sendingCmdMap.clear()}ping(){var n;return ja(this,void 0,void 0,(function*(){clearTimeout(this.pingTimer);try{yield this.sendCmd("heartbeat")}catch(x){if(x.code===ua.V2NIM_ERROR_CODE_DISCONNECT)return;if(yield this.testHeartBeat5Timeout())return yield this.core.reporterHookLinkKeep.update({code:0,description:"Heartbeat-discovered link failure",operation_type:1,target:null===(n=this.socket)||void 0===n?void 0:n.url}),this.core.reporterHookLinkKeep.end(!0),void this.doDisconnect(qs.OFFLINE,"PingError")}this.pingTimer=setTimeout((()=>{this.ping()}),3e4)}))}testHeartBeat5Timeout(){return ja(this,void 0,void 0,(function*(){clearTimeout(this.pingTimer);for(var n=0;n<5;n++)try{return yield this.sendCmd("heartbeat",{},{timeout:3e3}),!1}catch(x){this.logger.log(`clientSocketV2::test heartbeat ${n} Timeout`)}return!0}))}initOnlineListener(){this.hasNetworkListener||(this.logger.log("clientSocketV2::onlineListener:init"),this.hasNetworkListener=!0,Na.net.onNetworkStatusChange((n=>{this.logger.log("clientSocketV2::onlineListener:network change",n);var x=this.auth.getLoginStatus();n.isConnected&&1===x?this.ping():n.isConnected&&3===x?(this.logger.log("clientSocketV2::onlineListener:online and connectStatus is waiting, do reLogin"),this.auth.reconnect.clearReconnectTimer(),this.auth.reconnect.doReLogin()):n.isConnected||this.doDisconnect(qs.OFFLINE,"OfflineListener")})))}destroyOnlineListener(){this.logger.log("clientSocketV2::onlineListener:destroy"),this.hasNetworkListener=!1}}var Ls,Fs=["disconnect","connect","heartbeat","message","json","event","ack","error","noop"],Us=["transport not supported","client not handshaken","unauthorized"],$s=["reconnect"];class Hs extends aa{constructor(n,x,e){super(),this.websocket=null,this.socketConnectTimer=0,this.url="",this.linkSSL=!0,this.core=n,this.url=x,this.linkSSL=e,this.status="disconnected",this.logger=n.logger,this.connect()}connect(){"connecting"!==this.status&&"connected"!==this.status?(this.status="connecting",this.core.adapters.request(`${this.linkSSL?"https":"http"}://${this.url}/socket.io/1/?t=${Date.now()}`,{method:"GET",dataType:"text",timeout:this.core.options.xhrConnectTimeout||8e3},{exception_service:6}).then((n=>{if("connecting"===this.status){var[x,e]=n.data.split(":");return this.sessionId=x,this.logger.log(`imsocket::XHR success. status ${this.status}, ${"connecting"===this.status?"continue websocket connection":"stop websocket connection"}`),this._createWebsocket(`${this.linkSSL?"wss":"ws"}://${this.url}/socket.io/1/websocket/${x}`)}})).catch((n=>{if("connecting"===this.status){var x=`imsocket::XHR fail. raw message: "${(n=n||{}).message}", code: "${n.code}"`,e=n.code;e="v2"===Va(this.core,"options.apiVersion")?n.code===ua.V2NIM_ERROR_CODE_CONNECT_TIMEOUT?ua.V2NIM_ERROR_CODE_CONNECT_TIMEOUT:ua.V2NIM_ERROR_CODE_CONNECT_FAILED:408===n.code?408:415;var t=new da({code:e,detail:{reason:x,rawError:n}});this.logger.error(x),this.status="disconnected",this.emit("handshakeFailed",t)}}))):this.logger.warn("imsocket::socket is connecting or connected",this.status)}close(){if(this.status="disconnected",this.websocket){this.logger.log("imsocket:: close websocket");try{this.websocket.send(this.encodePacket({type:"disconnect"}))}catch(oa){this.logger.warn("imsocket::attempt to send encodePacket error",oa)}try{this.websocket.close()}catch(oa){this.logger.warn("imsocket::attempt to close websocket error",oa)}this.clean(),this.emit("disconnect",{code:0,reason:"Active close websocket"})}}clean(){this.status="disconnected",clearTimeout(this.socketConnectTimer),this.websocket&&(this.socketUrl=void 0,this.websocket.onmessage=null,this.websocket.onopen=null,this.websocket.onerror=null,this.websocket.onclose=null,this.websocket=null)}onConnect(){this.status="connected",this.emit("connect"),clearTimeout(this.socketConnectTimer)}_createWebsocket(n){this.socketConnectTimer=setTimeout((()=>{this.logger.error("imsocket::Websocket connect timeout. url: ",this.socketUrl),this.emit("handshakeFailed",new da({code:"v2"===Va(this.core,"options.apiVersion")?ua.V2NIM_ERROR_CODE_CONNECT_TIMEOUT:415,detail:{reason:`imsocket::Websocket connect timeout. url: ${this.socketUrl}`}}))}),this.core.options.socketConnectTimeout||8e3),this.socketUrl=n,this.websocket=new Na.WebSocket(n),this.websocket.onmessage=this.onMessage.bind(this),this.websocket.onclose=n=>{n=n||{},this.logger.log(`imsocket::Websocket onclose done ${n.wasClean}/${n.code}/${n.reason}`),this.clean(),this.emit("disconnect",{code:n.code||0,reason:n.reason})},this.websocket.onerror=n=>{this.logger.error("imsocket::Websocket onerror",n),"logined"===this.core.status&&this.core.clientSocket.ping()}}onMessage(n){var x,e=this.decodePacket(n.data);if(e)switch(e.type){case"connect":this.onConnect();break;case"disconnect":this.close(),this.emit("disconnect",{code:0,reason:"MessageEvent type disconnect"});break;case"message":case"json":this.emit("message",e.data);break;case"event":e.name&&this.emit(e.name,e.args);break;case"error":"unauthorized"===e.reason?this.emit("connect_failed",e.reason):this.emit("error",e.reason),this.logger.error("imsocket::Websocket connect failed, onmessage type error. url: ",this.socketUrl),clearTimeout(this.socketConnectTimer),this.emit("handshakeFailed",new da({code:"v2"===Va(this.core,"options.apiVersion")?ua.V2NIM_ERROR_CODE_CONNECT_FAILED:408,detail:{reason:`imsocket::Websocket connect failed, onMessage socket error. url: ${this.socketUrl}`}}));break;case"heartbeat":null===(x=this.websocket)||void 0===x||x.send(this.encodePacket({type:"heartbeat"}));break;default:this.logger.warn("imsocket::Websocket no handler type",e.type)}}encodePacket(n){var x,e,{type:t,id:i="",endpoint:l="",ack:o}=n,a=null;if(!t)return"";switch(t){case"error":x=n.reason?Us.indexOf(n.reason):"",e=n.advice?$s.indexOf(n.advice):"",""===x&&""===e||(a=x+(""!==e?"+"+e:""));break;case"message":""!==n.data&&(a=n.data);break;case"event":x={name:n.name},x=n.args&&n.args.length?{name:n.name,args:n.args}:{name:n.name},a=JSON.stringify(x);break;case"json":a=JSON.stringify(n.data);break;case"connect":n.qs&&(a=n.qs);break;case"ack":a=n.ackId+(n.args&&n.args.length?"+"+JSON.stringify(n.args):"")}var s=[Fs.indexOf(t),i+("data"===o?"+":""),l];return null!=a&&s.push(a),s.join(":")}decodePacket(n){if(n)if("�"!=n.charAt(0)){var x=n.match(/([^:]+):([0-9]+)?(\+)?:([^:]+)?:?([\s\S]*)?/);if(x){var e,[,t,i,l,o,a]=x,s={type:Fs[+t],endpoint:o};switch(i&&(s.id=i,s.ack=!l||"data"),s.type){case"error":e=a.split("+"),s.reason=Us[+e[0]]||"";break;case"message":s.data=a||"";break;case"connect":s.qs=a||"";break;case"event":try{var r=JSON.parse(a);s.name=r.name,s.args=r.args}catch(c){this.logger.error("imsocket::parseData::type::event error",c)}s.args=s.args||[];break;case"json":try{s.data=JSON.parse(a)}catch(c){this.logger.error("imsocket::parseData::type::json error",c)}break;case"ack":if((e=a.match(/^([0-9]+)(\+)?(.*)/))&&(s.ackId=e[1],s.args=[],e[3]))try{s.args=e[3]?JSON.parse(e[3]):[]}catch(c){this.logger.error("imsocket::parseData::type::ack error",c)}}return s}}else this.logger.error("imsocket::unrecognize dataStr",n.slice(0,20))}send(n){var x,e={data:n,type:"message",endpoint:""};null===(x=this.websocket)||void 0===x||x.send(this.encodePacket(e))}}!function(n){n[n.ACTIVE=1]="ACTIVE",n[n.KICKED=2]="KICKED",n[n.OFFLINE=3]="OFFLINE"}(Ls||(Ls={}));class Ys{constructor(n){this.isReconnect=!1,this.packetTimeout=8e3,this.linkSSL=!0,this.packetSer=1,this.backoff=new js({max:8e3,min:1600,jitter:.01}),this.sendingCmdMap=new Map,this.pingTimer=0,this.hasNetworkListener=!1,this.core=n,this.auth=n.auth,this.logger=n.logger,this.reporter=n.reporter,this.timerManager=n.timerManager,this.eventBus=n.eventBus,this.setListener()}setListener(){this.core.eventBus.on("V2NIMLoginService/loginLifeCycleLoginSucc",(()=>{this.isReconnect=!0}))}setSessionId(n){this.socket&&(this.socket.sessionId=n)}setLinkSSL(n){this.linkSSL=n}connect(n,x=!1){var e,t;return ja(this,void 0,void 0,(function*(){this.isReconnect=x;var i=this.core.auth.getConnectStatus();if(1===i){var l=`clientSocket::connect status is ${i}, and would not repeat connect`,o=new da({code:ua.V2NIM_ERROR_CODE_ILLEGAL_STATE,detail:{reason:l}});return this.logger.warn(l),Promise.reject(o)}this.auth.lifeCycle.processEvent("connect");try{yield this.auth.doLoginStepsManager.add(this.doConnect(n)),this.logger.log(`clientSocketV2:: connect success with link url: ${n}, isReconnect: ${x}`),this.core.reporter.reportTraceUpdateV2("login",{operation_type:"TCP",target:n,code:200,mixlink:!0,succeed:!0},{asyncParams:Na.net.getNetworkStatus()}),this.auth.lifeCycle.processEvent("connectSucc")}catch(s){var a=s;if(this.core.reporter.reportTraceUpdateV2("login",{operation_type:"TCP",target:n,code:a.code||0,description:`connectFailed:${a.message}`,mixlink:!0,succeed:!1},{asyncParams:Na.net.getNetworkStatus()}),a.code===ua.V2NIM_ERROR_CODE_CANCELLED||a.code===ua.V2NIM_ERROR_CODE_TIMEOUT)throw null===(e=this.socket)||void 0===e||e.close(),null===(t=this.socket)||void 0===t||t.removeAllListeners(),this.socket=void 0,s;throw this.logger.warn(`clientSocketV2::connect failed with link url: ${n}`,a),this.auth.lifeCycle.processEvent("connectFail",a),s}}))}doConnect(n){var x=!1;return new Promise(((e,t)=>{this.socket=new Hs(this.core,n,this.linkSSL),this.socket.on("connect",(()=>{this.logger.log("clientSocketV2::socket on connect",n),this.core.reporterHookLinkKeep.start(),this.core.reporterHookLinkKeep.update({code:0,description:"connection begin",operation_type:0,target:n}),x=!0,e()})),this.socket.on("message",this.onMessage.bind(this)),this.socket.on("disconnect",(e=>ja(this,void 0,void 0,(function*(){x=!0,this.logger.log("clientSocketV2::socket on disconnect",e),yield this.core.reporterHookLinkKeep.update({code:(null==e?void 0:e.code)||0,description:(null==e?void 0:e.reason)||"socket on disconnect",operation_type:1,target:n}),this.core.reporterHookLinkKeep.end(!1),this.doDisconnect(Ls.OFFLINE,"SocketOnDisconnect")})))),this.socket.on("handshakeFailed",(n=>{x?this.ping():(this.logger.error(`clientSocketV2::handshake failed: "${n&&n.message}"`),this.cleanSocket()),x=!0,t(n)}))}))}cleanSocket(){this.socket&&("function"==typeof this.socket.removeAllListeners&&this.socket.removeAllListeners(),"function"==typeof this.socket.close&&this.socket.close(),this.socket=void 0)}resetSocketConfig(){this.backoff.reset(),this.initOnlineListener()}doDisconnect(n,x){if(this.logger.log(`clientSocketV2::doDisconnect:type:${n},reason:`,x),0!==this.core.auth.getConnectStatus()){var e={1:"close",2:"kicked",3:"broken"}[n]||"";this.markAllCmdInvaild(new da({code:ua.V2NIM_ERROR_CODE_DISCONNECT,detail:{reason:"Packet timeout due to instance disconnect",disconnect_reason:e}})),this.timerManager.destroy(),clearTimeout(this.pingTimer),this.cleanSocket(),n===Ls.ACTIVE||n===Ls.KICKED?this.destroyOnlineListener():n===Ls.OFFLINE&&(this.auth.lifeCycle.processEvent("connectionBroken",new da({code:ua.V2NIM_ERROR_CODE_DISCONNECT,detail:{reason:"connection broken due to internal reasons"}})),this.logger.log(`clientSocketV2::doDisconnect: pending reconnect ${this.isReconnect}`),this.isReconnect&&this.auth.lifeCycle.processEvent("waiting"))}else this.logger.warn("clientSocketV2::doDisconnect:already disconnected")}sendCmd(n,x,e){var t=this.core.auth.getLoginStatus(),i={cmd:n};if(1!==t&&!["v2Login","login","chatroomLogin","v2ChatroomLogin"].includes(n))return this.logger.warn(`clientSocketV2::NIM login status is ${t}, so can not sendCmd ${n}`),Promise.reject(new da({code:ua.V2NIM_ERROR_CODE_ILLEGAL_STATE,detail:Object.assign({reason:"Can not sendCmd due to no logined"},i)}));var l="heartbeat"!==n,o=l?this.packetSer++:0,a=is(n,o,this.logger,x);if(!a){var s=new da({code:ua.V2NIM_ERROR_CODE_INTERNAL,detail:Object.assign(Object.assign({},i),{reason:`SendCmd::createCmd error: ${o} ${n}`})});return this.logger.error(s),Promise.reject(s)}var{packet:r,hasPacketResponse:c,hasPacketTimer:u}=a,h=JSON.stringify(r);l&&(this.logger.getDebugMode()?this.logger.debug(`clientSocketV2::sendCmd: ${r.SID}_${r.CID},${n},ser:${o}`,h):this.logger.log(`clientSocketV2::sendCmd: ${r.SID}_${r.CID},${n},ser:${o}`));var g=(new Date).getTime();return new Promise(((t,l)=>{c&&this.sendingCmdMap.set(o,{cmd:n,params:x,callback:[t,l],timer:u?setTimeout((()=>{var x=new da({code:ua.V2NIM_ERROR_CODE_PROTOCOL_TIMEOUT,detail:Object.assign({ser:o,reason:`Packet Timeout: ser ${o} cmd ${n}`,timetag:(new Date).getTime()},i)});this.markCmdInvalid(o,x,n)}),e&&e.timeout?e.timeout:this.packetTimeout):null});try{this.socket.send(h),c||t(r)}catch(s){var a=new da({code:ua.V2NIM_ERROR_CODE_PROTOCOL_SEND_FAILED,detail:Object.assign({ser:o,reason:"Unable to send packet"+(s&&s.message?": "+s.message:""),timetag:(new Date).getTime(),rawError:s},i)});this.markCmdInvalid(o,a,n),l(a)}})).catch((n=>ja(this,void 0,void 0,(function*(){var x,e=n;if(![ua.V2NIM_ERROR_CODE_DISCONNECT,ua.V2NIM_ERROR_CODE_PROTOCOL_TIMEOUT,ua.V2NIM_ERROR_CODE_PROTOCOL_SEND_FAILED].includes(e.code))return Promise.reject(e);this.reporter.reportTraceStart("exceptions",{user_id:this.core.auth.getLoginUser(),trace_id:null===(x=this.socket)||void 0===x?void 0:x.sessionId,start_time:g,action:2,exception_service:6});var t=Va(e,"detail.disconnect_reason")||"",i=e.code===ua.V2NIM_ERROR_CODE_DISCONNECT?JSON.stringify({disconnect_reason:t}):e.detail.reason;return this.reporter.reportTraceUpdateV2("exceptions",{code:e.code,description:i,operation_type:1,target:`${r.SID}-${r.CID}`,context:`${r.SER}`},{asyncParams:Na.net.getNetworkStatus()}),this.reporter.reportTraceEnd("exceptions",1),Promise.reject(e)}))))}onMessage(n){var x=ls(n,this.logger);if(x&&x.length>0){var e=x[0],t=e.raw.ser;for(var i of(e.error&&this.logger.error("clientSocketV2::onMessage packet error",`${e.raw.sid}_${e.raw.cid}, ser:${t},`,e.error),"heartbeat"!==e.cmd&&(this.logger.getDebugMode()?this.logger.debug(`clientSocketV2::recvCmd ${e.raw.sid}_${e.raw.cid},${e.cmd},ser:${t}`,e.content):this.logger.log(`clientSocketV2::recvCmd ${e.raw.sid}_${e.raw.cid},${e.cmd},ser:${t};code:${e.raw.code}`)),x))this.packetHandler(i)}}packetHandler(n){var x,e,t,i;if(n){var l=n.raw.ser,o=this.sendingCmdMap.get(l);if(o&&o.cmd===n.cmd){var{callback:a,timer:s,params:r}=o;if(clearTimeout(s),n.params=r,this.sendingCmdMap.delete(l),"heartbeat"===n.cmd)return void a[0]();var c=null===(e=null===(x=this.core[n.service])||void 0===x?void 0:x.process)||void 0===e?void 0:e.call(x,n);c&&"function"==typeof c.then?c.then((n=>{a[0](n)})).catch((n=>{a[1](n)})):(this.logger.log("clientSocketV2::handlerFn without promise",n.service,n.cmd),a[0](n))}else{var u=null===(i=null===(t=this.core[n.service])||void 0===t?void 0:t.process)||void 0===i?void 0:i.call(t,n);u&&"function"==typeof u.then&&u.catch((n=>{this.logger.error("clientSocketV2::no obj cache, no process handler",n)}))}}}markCmdInvalid(n,x,e){var t=this.sendingCmdMap.get(n);if(t){var{callback:i,timer:l}=t;l&&clearTimeout(l),this.sendingCmdMap.delete(n),this.logger.warn(`clientSocketV2::packet ${n}, ${e} is invalid:`,x),i[1](x)}}markAllCmdInvaild(n){this.logger.log("markAllCmdInvaild",n),this.sendingCmdMap.forEach((x=>{var{callback:e,timer:t,cmd:i}=x;this.logger.log(`clientSocketV2::markAllCmdInvaild:cmd ${i}`),t&&clearTimeout(t),e[1](n)})),this.sendingCmdMap.clear()}ping(){var n;return ja(this,void 0,void 0,(function*(){clearTimeout(this.pingTimer);try{yield this.sendCmd("heartbeat")}catch(x){if(x.code===ua.V2NIM_ERROR_CODE_DISCONNECT)return;if(yield this.testHeartBeat5Timeout())return yield this.core.reporterHookLinkKeep.update({code:0,description:"Heartbeat-discovered link failure",operation_type:1,target:null===(n=this.socket)||void 0===n?void 0:n.url}),this.core.reporterHookLinkKeep.end(!0),void this.doDisconnect(Ls.OFFLINE,"PingError")}this.pingTimer=setTimeout((()=>{this.ping()}),3e4)}))}testHeartBeat5Timeout(){return ja(this,void 0,void 0,(function*(){clearTimeout(this.pingTimer);for(var n=0;n<5;n++)try{return yield this.sendCmd("heartbeat",{},{timeout:3e3}),!1}catch(x){this.logger.log(`clientSocketV2::test heartbeat ${n} Timeout`)}return!0}))}initOnlineListener(){this.hasNetworkListener||(this.logger.log("clientSocketV2::onlineListener:init"),this.hasNetworkListener=!0,Na.net.onNetworkStatusChange((n=>{this.logger.log("clientSocketV2::onlineListener:network change",n);var x=this.auth.getConnectStatus(),e=this.auth.getLoginStatus();n.isConnected&&1===e?this.ping():n.isConnected&&3===x?(this.logger.log("clientSocketV2::onlineListener:online and connectStatus is waiting, do reLogin"),this.auth.reconnect.clearReconnectTimer(),this.auth.reconnect.doReLogin()):n.isConnected||this.doDisconnect(Ls.OFFLINE,"OfflineListener")})))}destroyOnlineListener(){this.logger.log("clientSocketV2::onlineListener:destroy"),this.hasNetworkListener=!1}}class Gs{constructor(n){var x,e;this.currenRetryCount=0,this.backoff=new js({max:8e3,min:1600,jitter:.01}),this.reconnectTimer=0,this.core=n,this.auth=n.V2NIMLoginService,null===(e=(x=Na.powerMonitor).on)||void 0===e||e.call(x,"onPowerMonitorTurnActive",(()=>{this.core.logger.debug("reconnect::powerMonitor turn active"),3===this.auth.getLoginStatus()&&(this.core.logger.log("reconnect::powerMonitor turn active, try to reconnect"),this.auth.reconnect.clearReconnectTimer(),this.auth.reconnect.doReLogin())}))}reset(){this.currenRetryCount=0,this.backoff.reset(),this.reconnectTimer&&clearTimeout(this.reconnectTimer)}destroy(){var n,x;this.currenRetryCount=0,this.backoff.reset(),this.reconnectTimer&&clearTimeout(this.reconnectTimer),Na.powerMonitor.destroy(),null===(x=(n=Na.powerMonitor).off)||void 0===x||x.call(n,"onPowerMonitorTurnActive")}clearReconnectTimer(){this.reconnectTimer&&clearTimeout(this.reconnectTimer)}attempToReLogin(){var n=this.backoff.duration();if("function"==typeof this.reconnectDelayProvider)try{var x=this.reconnectDelayProvider(n);"number"==typeof x&&x>=0&&(n=x>=1e3?x:x+200+Math.ceil(300*Math.random()))}catch(e){this.core.logger.error("reconnect::connectDelayProvider excute failed,",e)}return this.currenRetryCount++,this.core.logger.log(`reconnect::reconnect timer is about to be set, delay ${n} ms, current retry count is ${this.currenRetryCount}`),this.core.reporter.reportTraceStart("login",{user_id:this.auth.getLoginUser(),action:"auto_login",binary_websocket:this.auth.binaryWebsocket}),this.clearReconnectTimer(),this.reconnectTimer=setTimeout((()=>{this.core.logger.log("reconnect::reconnect timer is now triggered");var n=this.auth.getConnectStatus();3===n?this.doReLogin():this.core.logger.warn(`reconnect::reconnect timer is over because connect status now is ${n}`)}),n),!0}doReLogin(){if(!Na.powerMonitor.isActive())return this.core.logger.log("reconnect::reLogin skip, cause app powerMonitor is not active"),void this.auth.lifeCycle.processEvent("waiting");this.auth.loginOption.forceMode=!1,this.auth.originLoginPromise=this.auth.doLogin(!0);var n=this.auth.previousLoginManager.add(this.auth.originLoginPromise);return n.then((()=>{this.core.reporter.reportTraceEnd("login",!0)})).catch((n=>{var x=n;if(this.core.logger.warn("reconnect::try login but failed due to",x),this.core.reporter.reportTraceEnd("login",!1),this.auth.checkLoginTerminalCode(x&&x.code))return this.auth.clientSocket.doDisconnect(qs.ACTIVE,"ReloginTerminated"),void this.auth.lifeCycle.processEvent("exited",x);x&&399===x.code&&this.auth.lbs.reset(),this.auth.lifeCycle.processEvent("waiting")})),n}_setReconnectDelayProvider(n){this.reconnectDelayProvider=n}}class Ws{constructor(n){this.socketLinkUrls=[],this.timer=0,this.failedCount=0,this.core=n,this.auth=n.V2NIMLoginService}getLbsInfos(){return ja(this,void 0,void 0,(function*(){if(this.socketLinkUrls.length>0){var n=this.socketLinkUrls.shift();return this.core.logger.log("V2NIMLoginService::getLbsInfos:use cache link",n),Promise.resolve(n)}this.auth.lifeCycle.processEvent("addressing"),this.core.reporterHookLBS.start(this.core.account);var x=function(n){n=n||[];for(var x=[],e=0;e-1?"&":"?";return n+x+"k="+this.core.options.appkey+"&id="+this.core.auth.getLoginUser()+"&sv=180&pv=1&networkType=0&lv=1"}processLbsUrl(n){return Ba()?n.replace("/webconf","/wxwebconf"):n}requstLbs(n){return this.auth.doLoginStepsManager.add(this.core.adapters.request(this.generateUrl(n),{method:"GET",dataType:"json",timeout:8e3}))}setLadderTimer(n,x,e,t){this.timer&&clearTimeout(this.timer);var i=n[x];this.timer=setTimeout((()=>{i&&(this.setLadderTimer(n,x+1,e,t),this.core.logger.log(`V2NIMLoginService::getLbsInfos ${x}:`,this.processLbsUrl(i)),this.reportForLbsStart(i,x),this.requstLbs(i).then((n=>{this.reset(),e(Object.assign(Object.assign({},n),{url:i}))})).catch((e=>{var l;if(this.core.logger.warn(`V2NIMLoginService::getLbsInfos ${x} failed:`,e),this.failedCount+=1,this.reportForFailOnce(i,e.code,(null===(l=e.detail)||void 0===l?void 0:l.reason)||e.message),this.failedCount>=n.length||this.checkTerminator(e.code))return this.reset(),void t(e)})))}),2e3)}ladderLoad(n){return new Promise(((x,e)=>{n.length>1&&this.setLadderTimer(n,1,x,e);var t=n[0];this.core.logger.log("V2NIMLoginService::getLbsInfos 0:",t),this.reportForLbsStart(t,0),this.requstLbs(t).then((n=>{this.reset(),x(Object.assign(Object.assign({},n),{url:t}))})).catch((x=>{var i;this.failedCount+=1,this.core.logger.warn("V2NIMLoginService::getLbsInfos 0 failed:",x),this.reportForFailOnce(t,x.code,(null===(i=x.detail)||void 0===i?void 0:i.reason)||x.message),(this.failedCount>=n.length||this.checkTerminator(x.code))&&(this.reset(),e(x))}))}))}success(n){var x,e,t=n.data.common,i=t["mix.link"]||[],l=t["link.default"]||[];this.socketLinkUrls=i.concat(l).concat(this.auth.config.linkUrl),n.data["nos-chunk"]&&(null===(x=this.core.cloudStorage)||void 0===x?void 0:x.setOptions)&&(this.core.logger.log("getLbsInfos success. lbs.nos-chunk",n.data["nos-chunk"]),this.core.cloudStorage.setOptions({chunkUploadHost:n.data["nos-chunk"]})),Array.isArray(n.data.nosup)&&n.data.nosup.length>0&&(null===(e=this.core.cloudStorage)||void 0===e?void 0:e.setOptions)&&(this.core.logger.log("getLbsInfos success. lbs.nosup",n.data.nosup),this.core.cloudStorage.setOptions({commonUploadHostBackupList:n.data.nosup,commonUploadHost:n.data.nosup[0]})),this.core.logger.log("V2NIMLoginService::getLbsInfos success, socket link:",this.socketLinkUrls.slice(0),"chunkUploadHost: ",n.data["nos-chunk"]),this.reportForLbsSuccess(n.url,n.data)}reportForLbsStart(n,x){this.core.reporterHookLBS.updateBegin({target:n,index:x})}reportForLbsSuccess(n,x){this.core.reporterHookLBS.updateComplete({target:n,code:200,body:JSON.stringify(x)}),this.core.reporterHookLBS.end(!0),this.core.reporter.reportTraceUpdateV2("login",{operation_type:"HTTP",target:n,code:200,succeed:!0},{asyncParams:Na.net.getNetworkStatus()})}reportForFailOnce(n,x,e){this.core.reporterHookLBS.updateComplete({target:n,code:x,body:e})}reportForFail(n,x,e){this.core.reporterHookLBS.end(!1),this.core.reporter.reportTraceUpdateV2("login",{operation_type:"HTTP",target:n,description:e,code:x,succeed:!1},{asyncParams:Na.net.getNetworkStatus()})}reset(){this.socketLinkUrls=[],this.failedCount=0,clearTimeout(this.timer)}}class Ks{constructor(n){this.lastLoginClientKey="__NIM_LAST_LOGIN_CLIENT__",this.loginClients=[],this.loginClientOfThisConnection={},this.core=n,this.auth=n.V2NIMLoginService}verifyAuthentication(n){var x,e;return ja(this,void 0,void 0,(function*(){var t=yield this.auth.doLoginStepsManager.add(this.refreshLoginToken(this.auth.account)),i=yield this.auth.doLoginStepsManager.add(this.refreshThirdPartyExt(this.auth.account));this.auth.token=t;var l,o=Na.getSystemInfo(),a={appkey:this.core.options.appkey,account:this.auth.account,token:t,authType:this.auth.loginOption.authType,appLogin:n?0:1,clientType:16,clientSession:this.auth.clientSession,clientId:this.auth.deviceId,sdkVersion:100950,userAgent:this.core.options.loginSDKTypeParamCompat?"Native/10.9.50":o.userAgent.replace("{{appkey}}",this.core.options.appkey).slice(0,299),libEnv:this.core.options.flutterSdkVersion?"FLUTTER":this.core.options.loginSDKTypeParamCompat?void 0:o.libEnv,hostEnv:this.core.options.flutterSdkVersion?4:this.core.options.loginSDKTypeParamCompat?0:o.hostEnvEnum,sdkHumanVersion:this.core.options.flutterSdkVersion||"10.9.50",os:o.os,browser:o.browser,protocolVersion:1,customClientType:this.auth.config.customClientType,customTag:this.auth.config.customTag,thirdPartyExtension:i,isRoutable:!1===(null===(x=this.auth.loginOption.routeConfig)||void 0===x?void 0:x.routeEnabled)?0:1,env:null===(e=this.auth.loginOption.routeConfig)||void 0===e?void 0:e.routeEnvironment};o.os.toLowerCase(),o.hostEnvEnum,this.core.logger.log(`V2NIMLoginService::do login,accid:${a.account};clientSession:${a.clientSession};appLogin:${a.appLogin}`);try{l=yield this.auth.doLoginStepsManager.add(this.auth.clientSocket.sendCmd("v2Login",{tag:a}))}catch(u){var s=u;if(this.core.reporter.reportTraceUpdateV2("login",{operation_type:"protocol",target:"26-3",code:s.code||0,succeed:!1,description:s.message},{asyncParams:Na.net.getNetworkStatus()}),s.code===ua.V2NIM_ERROR_CODE_CANCELLED||s.code===ua.V2NIM_ERROR_CODE_TIMEOUT)throw s;throw this.processLoginFailed(s),s}var{data:r,loginClients:c}=l.content;return this.changeLoginClient(1,c),this.core.reporter.reportTraceUpdateV2("login",{operation_type:"protocol",target:"26-3",code:200,succeed:!0},{asyncParams:Na.net.getNetworkStatus()}),this.loginClientOfThisConnection=ys(r),this.core.clientSocket.setSessionId(r.consid),Na.localStorage.setItem(this.lastLoginClientKey,JSON.stringify(Object.assign({account:this.auth.account},this.loginClientOfThisConnection))),this.loginClientOfThisConnection}))}refreshLoginToken(n){return ja(this,void 0,void 0,(function*(){if(0===this.auth.loginOption.authType)return this.auth.token;if("function"!=typeof this.auth.loginOption.tokenProvider)return this.auth.token;try{var x=yield this.auth.loginOption.tokenProvider(n);if("string"==typeof x)return x;throw this.core.logger.error("V2NIMLoginService::excute tokenProvider complete but got Unexpected value:",x),new da({code:ua.V2NIM_ERROR_CODE_CALLBACK_FAILED,detail:{reason:"Excute tokenProvider complete but got Unexpected value",rawData:x}})}catch(i){var e=i,t=e;throw e.code!==ua.V2NIM_ERROR_CODE_CALLBACK_FAILED&&(this.core.logger.error("V2NIMLoginService::excute tokenProvider error:",e),t=new da({code:ua.V2NIM_ERROR_CODE_CALLBACK_FAILED,desc:"Excute tokenProvider error",detail:{rawError:i}})),this.processLoginFailed(e),t}}))}refreshThirdPartyExt(n){return ja(this,void 0,void 0,(function*(){if("function"!=typeof this.auth.loginOption.loginExtensionProvider)return"";try{var x=yield this.auth.loginOption.loginExtensionProvider(n);if("string"==typeof x)return x;throw this.core.logger.error("V2NIMLoginService::excute loginExtensionProvider complete but got Unexpected value:",x),new da({code:ua.V2NIM_ERROR_CODE_CALLBACK_FAILED,detail:{reason:"Excute loginExtensionProvider complete but got Unexpected value",rawData:x}})}catch(i){var e=i,t=e;if(e.code!==ua.V2NIM_ERROR_CODE_CALLBACK_FAILED&&(this.core.logger.error("V2NIMLoginService::excute loginExtensionProvider error:",e),t=new da({code:ua.V2NIM_ERROR_CODE_CALLBACK_FAILED,detail:{reason:"Excute loginExtensionProvider error",rawError:i}})),2===this.auth.loginOption.authType)throw this.processLoginFailed(e),t;return""}}))}processLoginFailed(n){this.auth.clientSocket.doDisconnect(qs.ACTIVE,n),this.checkLoginTerminalCode(n.code)&&(this.auth.authenticator.reset(),this.auth.authenticator.clearLastLoginClient()),this.auth.lifeCycle.processEvent("loginFail",n)}changeLoginClient(n,x){var e=x.map((n=>ys(n)));if(1===n)this.loginClients=e,this.auth.emit("onLoginClientChanged",n,this.loginClients);else if(2===n){var t=e.filter((n=>{var x=this.loginClients.filter((x=>x.clientId===n.clientId));return this.loginClients.push(n),0===x.length}));t.length>0&&this.auth.emit("onLoginClientChanged",n,t)}else if(3===n){var i=e.filter((n=>(function(n,x){x=x||(()=>!0);for(var e=[],t=(n=n||[]).length,i=0,l=0;lx.clientId===n.clientId&&x.consid===n.consid)),0===this.loginClients.filter((x=>x.clientId===n.clientId)).length)));i.length>0&&this.auth.emit("onLoginClientChanged",n,i)}}checkAutoLogin(n){if(n)return!1;var x=Na.localStorage.getItem(this.lastLoginClientKey);if(!x)return!1;var e="",t="";try{var i=JSON.parse(x);e=Va(i,"clientId"),t=Va(i,"account")}catch(l){return!1}return e===this.auth.deviceId&&t===this.auth.account}checkLoginTerminalCode(n){return[ua.V2NIM_ERROR_CODE_CANCELLED,ua.V2NIM_ERROR_CODE_TIMEOUT,ua.V2NIM_ERROR_CODE_HANDSHAKE,302,317,ua.V2NIM_ERROR_CODE_FORBIDDEN,ua.V2NIM_ERROR_CODE_NOT_FOUND,ua.V2NIM_ERROR_CODE_PARAMETER_ERROR,ua.V2NIM_ERROR_CODE_MULTI_LOGIN_FORBIDDEN,422,ua.V2NIM_ERROR_CODE_IM_DISABLED,ua.V2NIM_ERROR_CODE_APPKEY_NOT_EXIST,ua.V2NIM_ERROR_CODE_BUNDLEID_CHECK_FAILED,ua.V2NIM_ERROR_CODE_APPKEY_BLOCKED,ua.V2NIM_ERROR_CODE_INVALID_TOKEN,ua.V2NIM_ERROR_CODE_ROBOT_NOT_ALLOWED,ua.V2NIM_ERROR_CODE_ACCOUNT_NOT_EXIST,ua.V2NIM_ERROR_CODE_ACCOUNT_BANNED,ua.V2NIM_ERROR_CODE_USER_PROFILE_NOT_EXIST].includes(n)}reset(){this.loginClients=[],this.loginClientOfThisConnection={}}clearLastLoginClient(){Na.localStorage.removeItem(this.lastLoginClientKey)}}class Qs extends aa{constructor(n,x){super(),this.name=n,this.logger=x.logger,this.core=x}checkV2(){var n=this.core.options.apiVersion;if("v2"===n)return!0;throw new da({code:ua.V2NIM_ERROR_CODE_MISUSE,detail:{reason:`The version "${n}" of client is not supported.`}})}checkLogin(){if(0===this.core.V2NIMLoginService.getLoginStatus())throw new da({code:ua.V2NIM_ERROR_CODE_ILLEGAL_STATE,detail:{reason:"Client logout."}})}emit(n,...x){this.logger.debug(`${this.name}::emit event: '${n.toString()}',`,void 0!==x[0]?x[0]:"",void 0!==x[1]?x[1]:"",void 0!==x[2]?x[2]:"");try{return super.emit(n,...x)}catch(e){return setTimeout((()=>{throw this.logger.error(`${this.name}::emit throw error in setTimeout. event: ${n.toString()}. Error`,e),e}),0),!1}}process(n){var x=this[n.cmd+"Handler"],e=this.handler&&this.handler[n.cmd+"Handler"];if("function"==typeof x||"function"==typeof e){if(n.error)return this.logger.error(`${n.cmd}::recvError`,n.error),Promise.reject(n.error);try{var t=x?x.call(this,n):e.call(this.handler,n);return Promise.resolve(t)}catch(l){return Promise.reject(l)}}var i=Va(n,"error.detail.ignore");return n.error&&!i?Promise.reject(n.error):Promise.resolve(n)}}class Js{constructor(n){this.name="V2NIMLoginLifeCycle",this.loginStatus=0,this.connectStatus=0,this.core=n,this.auth=n.V2NIMLoginService,this.logger=n.logger}processEvent(n,x,e){var t=this.getConnectStatus();switch(n){case"addressing":this.logger.log(`${this.name}::addressing`),this.setLoginStatus(2),this.setConnectStatus(2);break;case"connect":this.logger.log(`${this.name}::connecting`),this.setLoginStatus(2),this.setConnectStatus(2);break;case"connectSucc":this.logger.log(`${this.name}::connect success`),this.setLoginStatus(2),this.setConnectStatus(1);break;case"connectFail":this.logger.log(`${this.name}::connect fail`,x),this.setLoginStatus(3),this.setConnectStatus(0,x);break;case"connectionBroken":this.logger.log(`${this.name}::connectionBroken:`,x),this.setLoginStatus(3),this.setConnectStatus(0,x),this.core.eventBus.emit("V2NIMLoginService/loginLifeCycleDisconnected",x);break;case"loginSucc":this.logger.log(`${this.name}::login success, verify authentication success`),this.setLoginStatus(1),this.core.eventBus.emit("V2NIMLoginService/loginLifeCycleLoginSucc",e);break;case"loginFail":if(this.logger.log(`${this.name}::login fail due to verify authentication failed:`,x),!x)return;this.setLoginStatus(this.auth.authenticator.checkLoginTerminalCode(x.code)?0:3),this.setConnectStatus(0,x),this.auth.emit("onLoginFailed",x);break;case"logout":this.logger.log(`${this.name}::logout`),this.setLoginStatus(0),this.setConnectStatus(0),this.core.eventBus.emit("V2NIMLoginService/loginLifeCycleLogout");break;case"kicked":this.logger.log(`${this.name}::kicked`,e),this.setLoginStatus(0),this.setConnectStatus(0,x),this.core.eventBus.emit("V2NIMLoginService/loginLifeCycleKicked");break;case"exited":this.logger.log(`${this.name}::exited`,x),this.setLoginStatus(0),this.setConnectStatus(0,x);break;case"waiting":this.logger.log(`${this.name}::waiting to reconnect`),this.setLoginStatus(3),this.setConnectStatus(3),2!==t&&this.auth.reconnect.attempToReLogin()}}getConnectStatus(){return this.connectStatus}getLoginStatus(){return this.loginStatus}setLoginStatus(n){n!==this.loginStatus&&(this.loginStatus=n,this.auth.emit("onLoginStatus",n))}setConnectStatus(n,x){if(n!==this.connectStatus){var e=this.connectStatus;this.connectStatus=n,this.auth.emit("onConnectStatus",n),this.delegateConnectEvent(e,n,x)}}delegateConnectEvent(n,x,e){1===n&&0===x&&e&&this.auth.emit("onDisconnected",e),2===n&&0===x&&e&&this.auth.emit("onConnectFailed",e)}}class Xs{constructor(n){this.core=n,this.auth=n.V2NIMLoginService,this.datas=[]}switchDataSync(n){return ja(this,void 0,void 0,(function*(){var{type:x,state:e,error:t,subType:i}=n,l=this.datas.filter((n=>n.type===x&&n.subType===i));l.length>0?(l[0].state=e,l[0].error=t):this.datas.push({type:x,state:e,subType:i});var o=this.datas.every((n=>3===n.state));1===x&&(2===e&&"mainSync"===i?(this.core.eventBus.emit("V2NIMLoginService/syncing"),this.auth.emit("onDataSync",x,e)):3===e&&o&&(this.core.eventBus.emit("V2NIMLoginService/syncDone",t),this.auth.emit("onDataSync",x,e,t)))}))}checkSyncing(){return this.datas.some((n=>"mainSync"===n.subType&&2===n.state))}reset(){this.datas=[]}}var Zs={"6_3":"notifylog","6_4":"uploadLog","6_23":"getServerTime","6_31":"notifyDetect","6_32":"uploadDetect","6_37":"wsDetect"},nr={type:1,params:2,result:3,t1:100,t2:101,t3:102,t4:103,t5:104,t6:105},xr={k1:1,k2:2,k3:3,k4:4,k5:5,k6:6,k7:7,k8:8,k9:9,k10:10},er={notifylog:{sid:6,cid:3,service:"misc"},uploadLog:{sid:6,cid:4,service:"misc",hasPacketResponse:!1,params:[{type:"String",name:"url"},{type:"Property",name:"data",reflectMapper:{type:1,content:2}}]},getServerTime:{sid:6,cid:23,service:"misc",response:[{type:"Long",name:"time"}]},notifyDetect:{sid:6,cid:31,service:"misc",response:[{type:"Property",name:"data",reflectMapper:cs(nr)}]},uploadDetect:{sid:6,cid:32,service:"misc",hasPacketResponse:!1,params:[{type:"Property",name:"data",reflectMapper:nr}]},wsDetect:{sid:6,cid:37,service:"misc",params:[{type:"Property",name:"tag",reflectMapper:xr}],response:[{type:"Property",name:"data",reflectMapper:cs(xr)}]}},tr={type:{type:"number"},t1:{type:"number"},t2:{type:"number"},t3:{type:"number"},t4:{type:"number"},t5:{type:"number"},t6:{type:"number"}};class ir extends class{constructor(n,x){this.name=n,this.core=x,this.name=n,this.logger=x.logger,this.core=x}process(n){var x=this[n.cmd+"Handler"];if("function"==typeof x)return x.call(this,n);var e=Va(n,"error.detail.ignore");return n.error&&!e?Promise.reject(n.error):Promise.resolve(n)}}{constructor(n){super("misc",n),this.logLock=!1,this.core=n,rs({cmdMap:Zs,cmdConfig:er}),this.setListener()}setListener(){this.core.eventBus.on("BinaryClientSocket/unpackError",this.wsDetect.bind(this)),this.core.eventBus.on("V2NIMLoginService/loginLifeCycleLoginSucc",(()=>{this.core.timeOrigin.setOriginTimetick()})),this.core.eventBus.on("logined",(()=>{this.core.timeOrigin.setOriginTimetick()}))}getServerTime(){return ja(this,void 0,void 0,(function*(){var n=yield this.core.clientSocket.sendCmd("getServerTime");return parseInt(n.content.time)}))}wsDetect(n){return ja(this,void 0,void 0,(function*(){var x=Object.assign({k1:"val1",k2:"val2"},n),e=null;try{e=(yield this.core.clientSocket.sendCmd("wsDetect",{tag:x})).content.data}catch(i){var t=i;return void(t.code===ua.V2NIM_ERROR_CODE_UNPACK_ERROR?(this.logger.warn("misc::wsDetect:998"),this.wsDetectUnreliable(),this.reportBinarySocketDetectResult("packet 998")):this.logger.warn(`misc::wsDetect:failed ${t.code}`))}e&&JSON.stringify(e)!==JSON.stringify(x)?(this.logger.warn("misc::wsDetect:content unreliable"),this.wsDetectUnreliable(),this.reportBinarySocketDetectResult("content unreliable")):this.logger.log("misc::wsDetect:success")}))}wsDetectUnreliable(){this.core.clientSocket.doDisconnect(3,"WSDetectUnreliable")}reportBinarySocketDetectResult(n){var x;this.core.reporter.reportTraceStart("exceptions",{user_id:this.core.account,trace_id:null===(x=this.core.clientSocket.socket)||void 0===x?void 0:x.sessionId,start_time:Date.now(),action:2,exception_service:9}),this.core.reporter.reportTraceUpdateV2("exceptions",{code:998,description:`wsDetect::reconnect cause: ${n}`,operation_type:"5",target:"6-37"}),this.core.reporter.reportTraceEnd("exceptions",1)}notifyDetectHandler(n){return ja(this,void 0,void 0,(function*(){var x,e=(x=n.content.data,ds(tr,x));e.t3=n.__receiveTimeNode.time,e.t4=Date.now();try{yield this.core.clientSocket.sendCmd("uploadDetect",{data:e})}catch(x){this.core.logger.warn("misc::notifyDetectHandler:upload failed",x)}}))}notifylogHandler(){return ja(this,void 0,void 0,(function*(){var n=void 0;if(this.logLock)this.core.logger.warn("misc::notifylogHandler:locked");else{this.logLock=!0;try{n=yield this.core.logger.extractLogs()}catch(e){return void(this.logLock=!1)}if(n){var x="";try{x=(yield this.core.cloudStorage.uploadFile("string"==typeof n?{type:"file",filePath:n}:{type:"file",file:n})).url}catch(e){return void(this.logLock=!1)}if(x){x+=(x.indexOf("?")>0?"&":"?")+"download="+(new Date).getTime()+"_web.log";try{yield this.core.clientSocket.sendCmd("uploadLog",{url:x})}catch(e){return void(this.logLock=!1)}try{yield this.logger.afterUpload()}catch(e){}this.logLock=!1}else this.logLock=!1}else this.logLock=!1}}))}}function lr(n,x){n=n||{};var e={};return(x=x||[]).forEach((x=>{void 0!==n[x]&&(e[x]=n[x])})),e}var or={retryCount:{type:"number",min:0,required:!1},forceMode:{type:"boolean",required:!1},authType:{type:"enum",values:[0,1,2],required:!1},syncLevel:{type:"enum",values:[1,0],required:!1},routeConfig:{type:"object",required:!1,rules:{routeEnabled:{type:"boolean",required:!1},routeEnvironment:{type:"string",required:!1}}}},ar=["https://lbs.netease.im/lbs/webconf.jsp"],sr={retryCount:3,timeout:6e4,forceMode:!1,authType:0,syncLevel:0},rr={"27_1":"v2NIMSync","27_10":"v2QChatSync"},cr={v2NIMSync:{sid:27,cid:1,service:"V2NIMSyncService",hasPacketTimer:!1,params:[{type:"Property",name:"tag",reflectMapper:{myInfo:1,offlineMsgs:2,teams:3,roamingMsgs:7,relations:9,friends:11,friendUsers:13,msgReceipts:14,myTeamMembers:15,donnop:16,recallMsg:17,sessionAck:18,broadcastMsgs:20,avSignal:21,superTeams:22,mySuperTeamMembers:23,superTeamRoamingMsgs:24,deleteSuperTeamMsg:25,superTeamSessionAck:26,deleteSelfMsgs:27,stickTopSessions:28,sessionHistoryMsgsDelete:29,p2pTeamModifyMessage:30,superTeamModifyMessage:31,filterMsgs:100}}],response:[{type:"Long",name:"timetag"}]},v2QChatSync:{sid:27,cid:10,service:"V2NIMSyncService",hasPacketTimer:!1,params:[{type:"Property",name:"tag",reflectMapper:{systemNotification:1,pushConfig:2}}],response:[{type:"Long",name:"timetag"}]}};eo((function(n,x){n.exports=function(){class n extends Error{constructor(n,x,e,t){super(e),this.source=n,this.code=x,this.desc=e,this.detail=t||{}}}return function(x,e={dataType:"json",method:"GET",timeout:5e3}){var t="text"===e.dataType?"text/plain; charset=UTF-8":"application/json; charset=UTF-8",i="GET"===e.method?function(n){if(n){var x="";return Object.keys(n).forEach((function(e,t){x+=0===t?"?":"&",x+=`${e}=${n[e]}`})),x}return""}(e.params):"";return new Promise((function(l,o){if(window.XMLHttpRequest){var a,s=new XMLHttpRequest;if(s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status){try{a=JSON.parse(s.response||"{}")}catch(x){a=s.response}l({status:s.status,data:a})}else setTimeout((()=>{o(new n(1,s.status,`readyState: ${s.readyState}; statusText: ${s.statusText}`))}),0)},s.open(e.method,`${x}${i}`),s.timeout=e.timeout||5e3,s.setRequestHeader("Content-Type",t),e.headers)for(var r in e.headers)s.setRequestHeader(r,e.headers[r]);s.ontimeout=function(x){o(new n(1,408,x&&x.message?x.message:"request timeout"))},s.send(JSON.stringify(e.data))}else o(new n(2,10400,"request no suppout"))}))}}()})),eo((function(n,e){n.exports=function(){var n={d:function(x,e){for(var t in e)n.o(e,t)&&!n.o(x,t)&&Object.defineProperty(x,t,{enumerable:!0,get:e[t]})},o:function(n,x){return Object.prototype.hasOwnProperty.call(n,x)}},e={};n.d(e,{default:function(){return z}});var t=function n(x){for(var e in function(n,x){if(!(n instanceof x))throw new TypeError("Cannot call a class as a function")}(this,n),this.directUploadAddr="https://wanproxy-web.127.net",this.retryCount=4,this.trunkSize=4194304,this.trunkUploadTimeout=5e4,this.getOffsetTimeout=1e4,this.version="1.0",this.enableCache=!0,this.logger=console,this.onError=function(n){},this.onProgress=function(n){},this.onUploadProgress=function(n){},this.onComplete=function(n){},this.onUploadInfo=function(n){},x)this[e]=x[e]};function i(n,x){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!e){if(Array.isArray(n)||(e=function(n,x){if(n){if("string"==typeof n)return l(n,x);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(n,x):void 0}}(n))||x&&n&&"number"==typeof n.length){e&&(n=e);var t=0,i=function(){};return{s:i,n:function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(n){throw n},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){e=e.call(n)},n:function(){var n=e.next();return a=n.done,n},e:function(n){s=!0,o=n},f:function(){try{a||null==e.return||e.return()}finally{if(s)throw o}}}}function l(n,x){(null==x||x>n.length)&&(x=n.length);for(var e=0,t=new Array(x);ez.expireTime?o.removeItem(s):t.push({fileInfo:r,key:s})}}}catch(g){l.e(g)}finally{l.f()}if(t.length>z.maxFileCache){var c,u=i(t.sort((function(n,x){return x.fileInfo.modifyAt-n.fileInfo.modifyAt})).slice(z.maxFileCache));try{for(u.s();!(c=u.n()).done;){var h=c.value;0===h.key.indexOf("_NosUploader_")&&o.removeItem(h.key)}}catch(g){u.e(g)}finally{u.f()}}}},s=a;function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function c(n,x){return!x||"object"!==r(x)&&"function"!=typeof x?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):x}function u(n){var x="function"==typeof Map?new Map:void 0;return(u=function(n){if(null===n||(e=n,-1===Function.toString.call(e).indexOf("[native code]")))return n;var e;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==x){if(x.has(n))return x.get(n);x.set(n,t)}function t(){return h(n,arguments,p(this).constructor)}return t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),d(t,n)})(n)}function h(n,x,e){return(h=g()?Reflect.construct:function(n,x,e){var t=[null];t.push.apply(t,x);var i=new(Function.bind.apply(n,t));return e&&d(i,e.prototype),i}).apply(null,arguments)}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}function d(n,x){return(d=Object.setPrototypeOf||function(n,x){return n.__proto__=x,n})(n,x)}function p(n){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var m=function(n){!function(n,x){if("function"!=typeof x&&null!==x)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(x&&x.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),x&&d(n,x)}(i,n);var x,e,t=(x=i,e=g(),function(){var n,t=p(x);if(e){var i=p(this).constructor;n=Reflect.construct(t,arguments,i)}else n=t.apply(this,arguments);return c(this,n)});function i(n,x){var e;return function(n,x){if(!(n instanceof x))throw new TypeError("Cannot call a class as a function")}(this,i),(e=t.call(this,"NosUploadError:"+n)).errCode=x,e.errMsg=n,e}return i}(u(Error)),y=function n(x,e,t){if("uploading"===x.uploadState){var i=x.config,l=x.param,o=s.getUploadContext(x.fileKey);if(!o)return t(0);var a=new XMLHttpRequest,r=i.directUploadAddr+"/".concat(l.bucketName)+"/".concat(encodeURIComponent(l.objectName))+"?uploadContext"+"&context=".concat(o)+"&version=".concat(i.version);a.onreadystatechange=function(){var l;if("abort"!==x.uploadState&&4===a.readyState){var o;try{o=JSON.parse(a.responseText)}catch(c){o={errMsg:"JsonParseError in getOffset. xhr.status = "+a.status+". xhr.responseText: "+a.responseText,errCode:500}}200===a.status?o.errCode?x.config.onError(new m(o.errMsg,o.errCode)):t(o.offset):a.status.toString().match(/^5/)?n(x,e-1,t):e>0?("function"==typeof(null===(l=i.logger)||void 0===l?void 0:l.error)&&i.logger.error("getOffset(".concat(r,") error. retry after 3 seconds. ").concat((new Date).toTimeString())),setTimeout((function(){n(x,e-1,t)}),3500)):a.status?(s.removeFileInfo(x.fileKey),i.onError(new m("getOffset(".concat(r,") error: ").concat(a.status," ").concat(a.statusText)))):i.onError(new m("getOffset(".concat(r,") error. no Error Code")))}},a.open("get",r),a.setRequestHeader("x-nos-token",l.token),a.timeout=i.getOffsetTimeout,a.send()}};function f(n,x){(null==x||x>n.length)&&(x=n.length);for(var e=0,t=new Array(x);e=x.file.size,u=c?x.file.size:e+o.trunkSize,h=Date.now(),g=new XMLHttpRequest,d=o.directUploadAddr+"/".concat(l.bucketName)+"/".concat(encodeURIComponent(l.objectName)),p={};g.upload.onprogress=function(n){if("abort"!==x.uploadState){var t=0;if(n.lengthComputable){var i=e+n.loaded;t=i/x.file.size,o.onProgress(t),o.onUploadProgress({loaded:i,total:x.file.size,percentage:t,percentageText:(100*t).toFixed(2)+"%"})}else o.onError(new m("browser does not support query upload progress"))}},g.onload=function(){if(200!==g.status){var n=g.getAllResponseHeaders();if(n){var x=n.split("\n").reduce((function(n,x){if(0===x.length)return n;var e,t=(2,function(n){if(Array.isArray(n))return n}(e=x.split(": "))||function(n,x){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var t,i,l=[],o=!0,a=!1;try{for(e=e.call(n);!(o=(t=e.next()).done)&&(l.push(t.value),2!==l.length);o=!0);}catch(s){a=!0,i=s}finally{try{o||null==e.return||e.return()}finally{if(a)throw i}}return l}}(e)||function(n,x){if(n){if("string"==typeof n)return f(n,2);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?f(n,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=t[0],l=t[1];return n[i]=l,n}),{});o.onUploadInfo({rsp_headers:x})}}},g.onreadystatechange=function(){var l,a;if("abort"!==x.uploadState&&4===g.readyState){var r;try{r=JSON.parse(g.responseText)}catch(u){"function"==typeof(null===(l=o.logger)||void 0===l?void 0:l.error)&&o.logger.error("JsonParseError in uploadTrunk. xhr.status = "+g.status+". xhr.responseText: "+g.responseText,u),r={errMsg:"JsonParseError in uploadTrunk. xhr.status = "+g.status+". xhr.responseText: "+g.responseText}}o.onUploadInfo({transfer_latency:Date.now()-h}),200===g.status?(o.onUploadInfo({http_code:200}),x.setContext(r.context),c?(i(),x.setComplete()):n(x,r.offset,o.retryCount,i)):g.status.toString().match(/^5/)?(o.onUploadInfo({http_code:g.status,req_headers:p}),t>0?n(x,e,t-1,i):(s.removeFileInfo(x.fileKey),o.onError(new m(r.errMsg,r.errCode)))):(o.onUploadInfo({http_code:g.status||0,req_headers:p}),t>0?("function"==typeof(null===(a=o.logger)||void 0===a?void 0:a.error)&&o.logger.error("uploadTrunk(".concat(d,") error. retry after 3 seconds. ").concat((new Date).toTimeString())),setTimeout((function(){n(x,e,t-1,i)}),3500)):g.status?(s.removeFileInfo(x.fileKey),o.onError(new m("uploadTrunk(".concat(d,") error: ").concat(g.status," ").concat(g.statusText)))):o.onError(new m("uploadTrunk(".concat(d,") error. no Error Code. Please check your network"))))}};var y=d+"?offset=".concat(e)+"&complete=".concat(c)+"&context=".concat(r)+"&version=".concat(o.version);if(o.onUploadInfo({remote_addr:y,part_size:c?x.file.size-e:o.trunkSize,index:Math.ceil(e/o.trunkSize)}),g.open("post",y),g.setRequestHeader("x-nos-token",l.token),p["x-nos-token"]=l.token,l.md5&&(g.setRequestHeader("content-md5",l.md5),p["content-md5"]=l.md5),x.file.type&&(g.setRequestHeader("content-type",x.file.type),p["content-type"]=x.file.type),g.timeout=o.trunkUploadTimeout,"undefined"!=typeof FileReader){var b=new FileReader;b.addEventListener("load",(function(n){var x;(null===(x=null==n?void 0:n.target)||void 0===x?void 0:x.result)instanceof ArrayBuffer&&n.target.result.byteLength>0?g.send(n.target.result):o.onError(new m("Read ArrayBuffer failed",194003))})),b.addEventListener("error",(function(n){var x=n.target.error;o.onError(new m("Read ArrayBuffer error. ".concat(x.toString()),194003))})),b.readAsArrayBuffer(a.call(x.file,e,u))}else g.send(a.call(x.file,e,u))}};var v=function(){function n(x,e,t){!function(n,x){if(!(n instanceof x))throw new TypeError("Cannot call a class as a function")}(this,n),this.uploadState="paused",this.config=t,this.file=x,this.param=e,this.fileKey=s.initFile(e,x,this.config.enableCache),this.resume()}var x;return(x=[{key:"resume",value:function(){var n=this;if("uploading"!==this.uploadState){this.setUploadState("uploading");var x=this.config;y(this,x.retryCount,(function(e){b(n,e,x.retryCount,(function(){n.setUploadState("ended"),"function"==typeof x.onComplete&&x.onComplete(n.param)}))}))}}},{key:"pause",value:function(){this.setUploadState("paused")}},{key:"abort",value:function(){"ended"!==this.uploadState&&"abort"!==this.uploadState&&(this.setUploadState("abort"),this.config.onError(new m("Upload Aborted",10499)))}},{key:"setUploadState",value:function(n){n!==this.uploadState&&(this.uploadState=n)}},{key:"setContext",value:function(n){s.setUploadContext(this.fileKey,n,this.config.enableCache),this.param.ctx=n}},{key:"setComplete",value:function(){s.setComplete(this.fileKey,this.config.enableCache),this.setUploadState("ended")}}])&&function(n,x){for(var e=0;ew.expireTime?(s.removeFileInfo(x),null):{uploadInfo:Object.assign({bucketName:e.bucket,objectName:e.obj,token:e.token,ctx:e.ctx},e.payload?{payload:e.payload}:{}),complete:e.end}},setMaxFileCache:function(n){w.maxFileCache=n},setExpireTime:function(n){w.expireTime=n},printCaches:function(){if("undefined"!=typeof localStorage)for(var n=0,e=Object.keys(localStorage);n>>24)|4278255360&(i<<24|i>>>8)}var l,o,g,v,w,z,j,k,_,E,N,S=this._hash.words,C=u.words,q=h.words,T=a.words,V=s.words,A=r.words,I=c.words;for(z=l=S[0],j=o=S[1],k=g=S[2],_=v=S[3],E=w=S[4],e=0;e<80;e+=1)N=l+n[x+T[e]]|0,N+=e<16?d(o,g,v)+C[0]:e<32?p(o,g,v)+C[1]:e<48?m(o,g,v)+C[2]:e<64?y(o,g,v)+C[3]:f(o,g,v)+C[4],N=(N=b(N|=0,A[e]))+w|0,l=w,w=v,v=b(g,10),g=o,o=N,N=z+n[x+V[e]]|0,N+=e<16?f(j,k,_)+q[0]:e<32?y(j,k,_)+q[1]:e<48?m(j,k,_)+q[2]:e<64?p(j,k,_)+q[3]:d(j,k,_)+q[4],N=(N=b(N|=0,I[e]))+E|0,z=E,E=_,_=b(k,10),k=j,j=N;N=S[1]+g+_|0,S[1]=S[2]+v+E|0,S[2]=S[3]+w+z|0,S[3]=S[4]+l+j|0,S[4]=S[0]+o+k|0,S[0]=N},_doFinalize:function(){var n=this._data,x=n.words,e=8*this._nDataBytes,t=8*n.sigBytes;x[t>>>5]|=128<<24-t%32,x[14+(t+64>>>9<<4)]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8),n.sigBytes=4*(x.length+1),this._process();for(var i=this._hash,l=i.words,o=0;o<5;o++){var a=l[o];l[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var n=l.clone.call(this);return n._hash=this._hash.clone(),n}});function d(n,x,e){return n^x^e}function p(n,x,e){return n&x|~n&e}function m(n,x,e){return(n|~x)^e}function y(n,x,e){return n&e|x&~e}function f(n,x,e){return n^(x|~e)}function b(n,x){return n<>>32-x}x.RIPEMD160=l._createHelper(g),x.HmacRIPEMD160=l._createHmacHelper(g)}(),e.RIPEMD160)}(Cu)),Vu(),Au||(Au=1,function(n,x){var e,t,i,l,o,a,s,r,c;n.exports=(c=Gc(),yu(),Vu(),i=(t=(e=c).lib).Base,l=t.WordArray,a=(o=e.algo).SHA256,s=o.HMAC,r=o.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:a,iterations:25e4}),init:function(n){this.cfg=this.cfg.extend(n)},compute:function(n,x){for(var e=this.cfg,t=s.create(e.hasher,n),i=l.create(),o=l.create([1]),a=i.words,r=o.words,c=e.keySize,u=e.iterations;a.length>>2]|=i<<24-l%4*8,n.sigBytes+=i},unpad:function(n){var x=255&n.words[n.sigBytes-1>>>2];n.sigBytes-=x}},e.pad.Ansix923)}(Zu)),nh||(nh=1,function(n,x){var e;n.exports=(e=Gc(),Pu(),e.pad.Iso10126={pad:function(n,x){var t=4*x,i=t-n.sigBytes%t;n.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(n){var x=255&n.words[n.sigBytes-1>>>2];n.sigBytes-=x}},e.pad.Iso10126)}(xh)),eh||(eh=1,function(n,x){var e;n.exports=(e=Gc(),Pu(),e.pad.Iso97971={pad:function(n,x){n.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(n,x)},unpad:function(n){e.pad.ZeroPadding.unpad(n),n.sigBytes--}},e.pad.Iso97971)}(th)),ih||(ih=1,function(n,x){var e;n.exports=(e=Gc(),Pu(),e.pad.ZeroPadding={pad:function(n,x){var e=4*x;n.clamp(),n.sigBytes+=e-(n.sigBytes%e||e)},unpad:function(n){var x=n.words,e=n.sigBytes-1;for(e=n.sigBytes-1;e>=0;e--)if(x[e>>>2]>>>24-e%4*8&255){n.sigBytes=e+1;break}}},e.pad.ZeroPadding)}(lh)),oh||(oh=1,function(n,x){var e;n.exports=(e=Gc(),Pu(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding)}(ah)),sh||(sh=1,function(n,x){var e,t,i,l;n.exports=(l=Gc(),Pu(),t=(e=l).lib.CipherParams,i=e.enc.Hex,e.format.Hex={stringify:function(n){return n.ciphertext.toString(i)},parse:function(n){var x=i.parse(n);return t.create({ciphertext:x})}},l.format.Hex)}(rh)),ch||(ch=1,function(n,x){var e;n.exports=(e=Gc(),lu(),uu(),Mu(),Pu(),function(){var n=e,x=n.lib.BlockCipher,t=n.algo,i=[],l=[],o=[],a=[],s=[],r=[],c=[],u=[],h=[],g=[];!function(){for(var n=[],x=0;x<256;x++)n[x]=x<128?x<<1:x<<1^283;var e=0,t=0;for(x=0;x<256;x++){var d=t^t<<1^t<<2^t<<3^t<<4;d=d>>>8^255&d^99,i[e]=d,l[d]=e;var p=n[e],m=n[p],y=n[m],f=257*n[d]^16843008*d;o[e]=f<<24|f>>>8,a[e]=f<<16|f>>>16,s[e]=f<<8|f>>>24,r[e]=f,f=16843009*y^65537*m^257*p^16843008*e,c[d]=f<<24|f>>>8,u[d]=f<<16|f>>>16,h[d]=f<<8|f>>>24,g[d]=f,e?(e=p^n[n[n[y^p]]],t^=n[n[t]]):e=t=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],p=t.AES=x.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var n=this._keyPriorReset=this._key,x=n.words,e=n.sigBytes/4,t=4*((this._nRounds=e+6)+1),l=this._keySchedule=[],o=0;o6&&o%e==4&&(r=i[r>>>24]<<24|i[r>>>16&255]<<16|i[r>>>8&255]<<8|i[255&r]):(r=i[(r=r<<8|r>>>24)>>>24]<<24|i[r>>>16&255]<<16|i[r>>>8&255]<<8|i[255&r],r^=d[o/e|0]<<24),l[o]=l[o-e]^r);for(var a=this._invKeySchedule=[],s=0;s>>24]]^u[i[r>>>16&255]]^h[i[r>>>8&255]]^g[i[255&r]]}}},encryptBlock:function(n,x){this._doCryptBlock(n,x,this._keySchedule,o,a,s,r,i)},decryptBlock:function(n,x){var e=n[x+1];n[x+1]=n[x+3],n[x+3]=e,this._doCryptBlock(n,x,this._invKeySchedule,c,u,h,g,l),e=n[x+1],n[x+1]=n[x+3],n[x+3]=e},_doCryptBlock:function(n,x,e,t,i,l,o,a){for(var s=this._nRounds,r=n[x]^e[0],c=n[x+1]^e[1],u=n[x+2]^e[2],h=n[x+3]^e[3],g=4,d=1;d>>24]^i[c>>>16&255]^l[u>>>8&255]^o[255&h]^e[g++],m=t[c>>>24]^i[u>>>16&255]^l[h>>>8&255]^o[255&r]^e[g++],y=t[u>>>24]^i[h>>>16&255]^l[r>>>8&255]^o[255&c]^e[g++],f=t[h>>>24]^i[r>>>16&255]^l[c>>>8&255]^o[255&u]^e[g++];r=p,c=m,u=y,h=f}p=(a[r>>>24]<<24|a[c>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^e[g++],m=(a[c>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&r])^e[g++],y=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[r>>>8&255]<<8|a[255&c])^e[g++],f=(a[h>>>24]<<24|a[r>>>16&255]<<16|a[c>>>8&255]<<8|a[255&u])^e[g++],n[x]=p,n[x+1]=m,n[x+2]=y,n[x+3]=f},keySize:8});n.AES=x._createHelper(p)}(),e.AES)}(uh)),dh(),ph||(ph=1,function(n,x){var e;n.exports=(e=Gc(),lu(),uu(),Mu(),Pu(),function(){var n=e,x=n.lib.StreamCipher,t=n.algo,i=t.RC4=x.extend({_doReset:function(){for(var n=this._key,x=n.words,e=n.sigBytes,t=this._S=[],i=0;i<256;i++)t[i]=i;i=0;for(var l=0;i<256;i++){var o=i%e,a=x[o>>>2]>>>24-o%4*8&255;l=(l+t[i]+a)%256;var s=t[i];t[i]=t[l],t[l]=s}this._i=this._j=0},_doProcessBlock:function(n,x){n[x]^=l.call(this)},keySize:8,ivSize:0});function l(){for(var n=this._S,x=this._i,e=this._j,t=0,i=0;i<4;i++){e=(e+n[x=(x+1)%256])%256;var l=n[x];n[x]=n[e],n[e]=l,t|=n[(n[x]+n[e])%256]<<24-8*i}return this._i=x,this._j=e,t}n.RC4=x._createHelper(i);var o=t.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var n=this.cfg.drop;n>0;n--)l.call(this)}});n.RC4Drop=x._createHelper(o)}(),e.RC4)}(mh)),yh||(yh=1,function(n,x){var e;n.exports=(e=Gc(),lu(),uu(),Mu(),Pu(),function(){var n=e,x=n.lib.StreamCipher,t=n.algo,i=[],l=[],o=[],a=t.Rabbit=x.extend({_doReset:function(){for(var n=this._key.words,x=this.cfg.iv,e=0;e<4;e++)n[e]=16711935&(n[e]<<8|n[e]>>>24)|4278255360&(n[e]<<24|n[e]>>>8);var t=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],i=this._C=[n[2]<<16|n[2]>>>16,4294901760&n[0]|65535&n[1],n[3]<<16|n[3]>>>16,4294901760&n[1]|65535&n[2],n[0]<<16|n[0]>>>16,4294901760&n[2]|65535&n[3],n[1]<<16|n[1]>>>16,4294901760&n[3]|65535&n[0]];for(this._b=0,e=0;e<4;e++)s.call(this);for(e=0;e<8;e++)i[e]^=t[e+4&7];if(x){var l=x.words,o=l[0],a=l[1],r=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=r>>>16|4294901760&c,h=c<<16|65535&r;for(i[0]^=r,i[1]^=u,i[2]^=c,i[3]^=h,i[4]^=r,i[5]^=u,i[6]^=c,i[7]^=h,e=0;e<4;e++)s.call(this)}},_doProcessBlock:function(n,x){var e=this._X;s.call(this),i[0]=e[0]^e[5]>>>16^e[3]<<16,i[1]=e[2]^e[7]>>>16^e[5]<<16,i[2]=e[4]^e[1]>>>16^e[7]<<16,i[3]=e[6]^e[3]>>>16^e[1]<<16;for(var t=0;t<4;t++)i[t]=16711935&(i[t]<<8|i[t]>>>24)|4278255360&(i[t]<<24|i[t]>>>8),n[x+t]^=i[t]},blockSize:4,ivSize:2});function s(){for(var n=this._X,x=this._C,e=0;e<8;e++)l[e]=x[e];for(x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0,e=0;e<8;e++){var t=n[e]+x[e],i=65535&t,a=t>>>16,s=((i*i>>>17)+i*a>>>15)+a*a,r=((4294901760&t)*t|0)+((65535&t)*t|0);o[e]=s^r}n[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,n[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,n[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,n[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,n[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,n[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,n[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,n[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}n.Rabbit=x._createHelper(a)}(),e.Rabbit)}(fh)),bh||(bh=1,function(n,x){var e;n.exports=(e=Gc(),lu(),uu(),Mu(),Pu(),function(){var n=e,x=n.lib.StreamCipher,t=n.algo,i=[],l=[],o=[],a=t.RabbitLegacy=x.extend({_doReset:function(){var n=this._key.words,x=this.cfg.iv,e=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],t=this._C=[n[2]<<16|n[2]>>>16,4294901760&n[0]|65535&n[1],n[3]<<16|n[3]>>>16,4294901760&n[1]|65535&n[2],n[0]<<16|n[0]>>>16,4294901760&n[2]|65535&n[3],n[1]<<16|n[1]>>>16,4294901760&n[3]|65535&n[0]];this._b=0;for(var i=0;i<4;i++)s.call(this);for(i=0;i<8;i++)t[i]^=e[i+4&7];if(x){var l=x.words,o=l[0],a=l[1],r=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=r>>>16|4294901760&c,h=c<<16|65535&r;for(t[0]^=r,t[1]^=u,t[2]^=c,t[3]^=h,t[4]^=r,t[5]^=u,t[6]^=c,t[7]^=h,i=0;i<4;i++)s.call(this)}},_doProcessBlock:function(n,x){var e=this._X;s.call(this),i[0]=e[0]^e[5]>>>16^e[3]<<16,i[1]=e[2]^e[7]>>>16^e[5]<<16,i[2]=e[4]^e[1]>>>16^e[7]<<16,i[3]=e[6]^e[3]>>>16^e[1]<<16;for(var t=0;t<4;t++)i[t]=16711935&(i[t]<<8|i[t]>>>24)|4278255360&(i[t]<<24|i[t]>>>8),n[x+t]^=i[t]},blockSize:4,ivSize:2});function s(){for(var n=this._X,x=this._C,e=0;e<8;e++)l[e]=x[e];for(x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0,e=0;e<8;e++){var t=n[e]+x[e],i=65535&t,a=t>>>16,s=((i*i>>>17)+i*a>>>15)+a*a,r=((4294901760&t)*t|0)+((65535&t)*t|0);o[e]=s^r}n[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,n[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,n[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,n[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,n[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,n[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,n[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,n[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}n.RabbitLegacy=x._createHelper(a)}(),e.RabbitLegacy)}(vh)),jh(),e)}(Uc);const kh=Kl(Uc.exports),_h=(n,e)=>{try{if(!e)return x("error","at utils/aesEcb.js:40","Key为空null"),null;const t=kh.enc.Utf8.parse(e),i=kh.enc.Utf8.parse(n),l=kh.AES.encrypt(i,t,{mode:kh.mode.ECB,padding:kh.pad.Pkcs7});return l.ciphertext.toString(kh.enc.Base64)}catch(t){return x("error","at utils/aesEcb.js:66","加密失败:",t),null}};var Eh;Eh="iOS"==plus.os.name;const Nh={judgeIosPermission:function(n){return"location"==n?(t=plus.ios.import("CLLocationManager"),x("log","at js_sdk/wa-permission/permission.js:48","定位权限开启:"+(e=2!=t.authorizationStatus())),plus.ios.deleteObject(t),e):"camera"==n?function(){var n=!1,e=plus.ios.import("AVCaptureDevice"),t=e.authorizationStatusForMediaType("vide");return x("log","at js_sdk/wa-permission/permission.js:86","authStatus:"+t),3==t?(n=!0,x("log","at js_sdk/wa-permission/permission.js:89","相机权限已经开启")):x("log","at js_sdk/wa-permission/permission.js:91","相机权限没有开启"),plus.ios.deleteObject(e),n}():"photoLibrary"==n?function(){var n=!1,e=plus.ios.import("PHPhotoLibrary"),t=e.authorizationStatus();return x("log","at js_sdk/wa-permission/permission.js:102","authStatus:"+t),3==t?(n=!0,x("log","at js_sdk/wa-permission/permission.js:105","相册权限已经开启")):x("log","at js_sdk/wa-permission/permission.js:107","相册权限没有开启"),plus.ios.deleteObject(e),n}():"record"==n?function(){var n=!1,e=plus.ios.import("AVAudioSession"),t=e.sharedInstance().recordPermission();return x("log","at js_sdk/wa-permission/permission.js:70","permissionStatus:"+t),1684369017==t||1970168948==t?x("log","at js_sdk/wa-permission/permission.js:72","麦克风权限没有开启"):(n=!0,x("log","at js_sdk/wa-permission/permission.js:75","麦克风权限已经开启")),plus.ios.deleteObject(e),n}():"push"==n?function(){var n=!1,e=plus.ios.import("UIApplication"),t=e.sharedApplication(),i=0;if(t.currentUserNotificationSettings){var l=t.currentUserNotificationSettings();x("log","at js_sdk/wa-permission/permission.js:19","enabledTypes1:"+(i=l.plusGetAttribute("types"))),0==i?x("log","at js_sdk/wa-permission/permission.js:21","推送权限没有开启"):(n=!0,x("log","at js_sdk/wa-permission/permission.js:24","已经开启推送功能!")),plus.ios.deleteObject(l)}else 0==(i=t.enabledRemoteNotificationTypes())?x("log","at js_sdk/wa-permission/permission.js:30","推送权限没有开启!"):(n=!0,x("log","at js_sdk/wa-permission/permission.js:33","已经开启推送功能!")),x("log","at js_sdk/wa-permission/permission.js:35","enabledTypes2:"+i);return plus.ios.deleteObject(t),plus.ios.deleteObject(e),n}():"contact"==n?function(){var n=!1,e=plus.ios.import("CNContactStore");return 3==e.authorizationStatusForEntityType(0)?(n=!0,x("log","at js_sdk/wa-permission/permission.js:120","通讯录权限已经开启")):x("log","at js_sdk/wa-permission/permission.js:122","通讯录权限没有开启"),plus.ios.deleteObject(e),n}():"calendar"==n?function(){var n=!1,e=plus.ios.import("EKEventStore");return 3==e.authorizationStatusForEntityType(0)?(n=!0,x("log","at js_sdk/wa-permission/permission.js:135","日历权限已经开启")):x("log","at js_sdk/wa-permission/permission.js:137","日历权限没有开启"),plus.ios.deleteObject(e),n}():"memo"==n&&function(){var n=!1,e=plus.ios.import("EKEventStore");return 3==e.authorizationStatusForEntityType(1)?(n=!0,x("log","at js_sdk/wa-permission/permission.js:150","备忘录权限已经开启")):x("log","at js_sdk/wa-permission/permission.js:152","备忘录权限没有开启"),plus.ios.deleteObject(e),n}();var e,t},requestAndroidPermission:function(n){return new Promise(((e,t)=>{plus.android.requestPermissions([n],(function(n){for(var t=0,i=0;i{const x=uni.getSystemInfoSync();if("android"===x.platform){1==await Nh.requestAndroidPermission("android.permission.CAMERA")?n():Ch("请授权相机权限")}else if("ios"===x.platform){await Nh.judgeIosPermission("camera")?n():Ch("请授权相机权限")}},Ch=n=>{uni.showModal({title:"提示",content:n,showCancel:!0,success:n=>{n.confirm&&Nh.gotoAppPermissionSetting()}})},qh=h({__name:"topTip",props:{title:{type:String,default:""},content:{type:String,default:""}},setup(x,{expose:e}){const t=n.ref(!1);return e({open:()=>{t.value=!0},close:()=>{t.value=!1}}),(e,i)=>t.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"top-tip"},[n.createElementVNode("view",{class:"title"},n.toDisplayString(x.title),1),n.createElementVNode("view",{class:"content"},n.toDisplayString(x.content),1)])):n.createCommentVNode("",!0)}},[["__scopeId","data-v-83fb2fb7"]]),Th="/static/default_news_iv.png";let Vh=!1;uni.getSystemInfo({success:n=>{x("log","at utils/platform.js:4","平台"),x("log","at utils/platform.js:5",n),Vh="android"==n.platform}});const Ah=Vh;let Ih="https://wx.igandan.com";const Bh={__name:"live",setup(t){const l=n.ref(!1),a=n.ref(!1),c=n.ref(""),u=n.ref(""),h=n.ref(""),g=n.ref(""),p=n.ref(!1),y=n.ref(!1),f=n.ref(!0),b=n.ref(!0),v=n.ref(1),w=n.ref(10),z=n.ref(0),j=n.ref(null),k=n.ref(null),_=n.ref(""),E=()=>{Ul({url:"/pages_app/meetHistroy/meetHistroy"})};s((()=>{var n;null==(n=j.value)||n.stop()})),o((n=>{n.from&&(_.value=n.from),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"list_page",page_type:"会议直播"}},(n=>{x("log","at pages/live/live.vue:315",n)})),j.value=uni.createRequestPermissionListener(),x("log","at pages/live/live.vue:318","放在onLoad执行"),x("log","at pages/live/live.vue:319",j.value),j.value.onRequest((n=>{var e;x("log","at pages/live/live.vue:321","onRequest"),n.includes("android.permission.CAMERA")&&(null==(e=k.value)||e.open())})).catch((n=>{x("log","at pages/live/live.vue:326","onRequest error"),x("log","at pages/live/live.vue:327",n)})),j.value.onComplete((n=>{var e;x("log","at pages/live/live.vue:330","onComplete"),x("log","at pages/live/live.vue:331",n),n.includes("android.permission.CAMERA")&&(null==(e=k.value)||e.close())})).catch((n=>{x("log","at pages/live/live.vue:336","onComplete error"),x("log","at pages/live/live.vue:337",n)}))}));const N=n.ref([]),S=n=>{x("log","at pages/live/live.vue:391",n);const e=encodeURIComponent(n.path);let t=encodeURIComponent("https://doc.igandan.com/app/html/img/2016/20160714132557.png");uni.navigateTo({url:`/pages_app/webview/webview?url=${e}&sharetitle=${n.title}&bg=1&type=live_yugao&imgPath=${t}&share=1&title=会议详情&tags=${n.tags}`})},C=()=>{_.value&&uni.navigateBack()};r((()=>{if(!_.value){try{uni.sendNativeEvent("goTabbarPage",{msg:"home"},(n=>{x("log","at pages/live/live.vue:415",n)}))}catch(Rw){x("log","at pages/live/live.vue:418",Rw)}return plus.runtime.quit(),!0}}));const q=()=>{Ah?Sh(T):(x("log","at pages/live/live.vue:468","ios执行"),uni.sendNativeEvent("getScanCodeAuth",{msg:"getScanCodeAuth"},(n=>{x("log","at pages/live/live.vue:472","getScanCodeAuth回调数据"),x("log","at pages/live/live.vue:473",n),200==n.code?T():uni.showToast({title:'请在iPhone的"设置-隐私-相机"中允许肝胆相照专家端访问相机',icon:"none"})})))},T=()=>{uni.scanCode({onlyFromCamera:!0,success:n=>{if(x("log","at pages/live/live.vue:489",n),n.result){let e=((n,e)=>{try{if(!e)return x("error","at utils/aesEcb.js:7","Key为空null"),null;const t=kh.enc.Utf8.parse(e),i=kh.enc.Base64.parse(n);return kh.AES.decrypt({ciphertext:i},t,{mode:kh.mode.ECB,padding:kh.pad.Pkcs7}).toString(kh.enc.Utf8)}catch(t){return x("error","at utils/aesEcb.js:32","解密失败:",t),null}})(n.result,"deoep09_klodLdAo");if(x("log","at pages/live/live.vue:492",e),e.indexOf("watchvideoFrom")>-1){(n=>{let e=uni.getStorageSync("userInfo"),t="liveScanSuccess}"+n+"}"+e.uuid+","+e.realName+","+e.photo,i=_h(t,"deoep09_klodLdAo");uni.request({url:Ih+"/watchlive/sendWebsocketMsg",method:"POST",data:{message:i},header:{"Content-Type":"application/x-www-form-urlencoded"},success:e=>{x("log","at pages/live/live.vue:438",e),1==e.data.code?Ul({url:"/pages_app/scanLogin/scanLogin?code="+n}):uni.showToast({title:e.data.message,icon:"none"})}})})(e.split(":")[1])}else uni.showToast({title:"您扫描的不是有效的肝胆相照平台二维码",icon:"none",duration:2e3})}}})},V=n.ref([{code:"",name:"全国"},{code:"北京",name:"北京市"},{code:"天津",name:"天津市"},{code:"河北",name:"河北省"},{code:"山西",name:"山西省"},{code:"内蒙古",name:"内蒙古自治区"},{code:"辽宁",name:"辽宁省"},{code:"吉林",name:"吉林省"},{code:"黑龙江",name:"黑龙江省"},{code:"上海",name:"上海市"},{code:"江苏",name:"江苏省"},{code:"浙江",name:"浙江省"},{code:"安徽",name:"安徽省"},{code:"福建",name:"福建省"},{code:"江西",name:"江西省"},{code:"山东",name:"山东省"},{code:"河南",name:"河南省"},{code:"湖北",name:"湖北省"},{code:"湖南",name:"湖南省"},{code:"广东",name:"广东省"},{code:"广西",name:"广西壮族自治区"},{code:"海南",name:"海南省"},{code:"重庆",name:"重庆市"},{code:"四川",name:"四川省"},{code:"贵州",name:"贵州省"},{code:"云南",name:"云南省"},{code:"西藏",name:"西藏自治区"},{code:"陕西",name:"陕西省"},{code:"甘肃",name:"甘肃省"},{code:"青海",name:"青海省"},{code:"宁夏",name:"宁夏回族自治区"},{code:"新疆",name:"新疆维吾尔自治区"},{code:"台湾",name:"台湾省"},{code:"香港",name:"香港特别行政区"},{code:"澳门",name:"澳门特别行政区"}]),A=()=>{Ul({url:"/pages_app/liveReplay/liveReplay"})},I=n.ref([]),B=n.computed((()=>{if(!I.value||0===I.value.length)return[];const n={};return I.value.forEach((e=>{const t=L(e.begin_date,"YYYY年MM月");n[t]||(n[t]={monthYear:t,items:[]}),n[t].items.push(e),x("log","at pages/live/live.vue:572",n)})),Object.values(n).sort(((n,x)=>{const e=Xl(n.items[0].begin_date),t=Xl(x.items[0].begin_date);return e.isBefore(t)?-1:1}))}));i((()=>{v.value=1,f.value=!0,I.value=[],c.value="",u.value="",h.value="",g.value="",(()=>{const n=[];let e=-1;const t=new Date,i=t.getMonth()+1,l=t.getFullYear();n.push({value:"",label:"所有"});for(let x=i;x<=12;x++){e++;let t="";t=`${x}月`,n.push({value:e,label:t,year:l,month:x})}for(let x=1;x{n&&(v.value=1,f.value=!0,I.value=[]);const e={page:v.value,pageSize:w.value,month:c.value,location:h.value,status:""};try{x("log","at pages/live/live.vue:613","获取会议列表参数:",e);const t=await Fl.meetingListBySearch(e);if(x("log","at pages/live/live.vue:615","会议列表API响应:",t),t&&1==t.code&&t.data){const{list:e,totalPage:i,pageNumber:l,totalRow:o}=t.data;if(x("log","at pages/live/live.vue:620","解析后的数据:",{list:e,totalPage:i,pageNumber:l,totalRow:o}),Array.isArray(e)&&e.length>0){const t=e.map((n=>{const x=Xl(n.begin_date).format("DD"),e=O(n.status),t=L(n.begin_date,"YYYY.MM.DD");return{id:n.id,begin_date:x,tagColor:e,title:n.title,liveimg:n.liveimg,poster:n.liveimg,time:t,location:n.location||"线上",tags:n.tags||"",status:P(n.status),originalData:n,begin_date_timestamp:n.begin_date_timestamp,end_date_timestamp:n.end_date_timestamp,begin_date:n.begin_date,end_date:n.end_date,liveurl:n.liveurl,spareurl:n.spareurl,path:n.path,status_code:n.status}}));n?I.value=t:I.value.push(...t),f.value=i>l,b.value=o>0,x("log","at pages/live/live.vue:669","会议列表更新成功,当前总数:",I.value.length),x("log","at pages/live/live.vue:670","分页信息:",{currentPage:v.value,totalPage:i,pageNumber:l,totalRow:o,hasMore:f.value})}else x("log","at pages/live/live.vue:678","API返回的数据为空"),n&&(I.value=[])}else x("log","at pages/live/live.vue:684","API响应格式不正确:",t),n&&(I.value=[])}catch(t){x("error","at pages/live/live.vue:690","获取会议列表失败:",t),n&&(I.value=[]),uni.showToast({title:"获取会议列表失败",icon:"error",duration:2e3})}},M=async(n=!1)=>{n&&(v.value=1,f.value=!0,I.value=[]);const e={page:v.value,pageSize:w.value,month:c.value,location:h.value};try{x("log","at pages/live/live.vue:717","获取会议列表参数:",e);const t=await Fl.meetingListV2U(e);if(x("log","at pages/live/live.vue:719","会议列表API响应:",t),t&&200===t.code&&t.data){const{list:e,total:i,pageNum:l,pages:o,isLastPage:a}=t.data;if(x("log","at pages/live/live.vue:724","解析后的数据:",{list:e,total:i,pageNum:l,pages:o,isLastPage:a}),Array.isArray(e)&&e.length>0){const t=e.map((n=>{const x=Xl(n.begin_date).format("DD"),e=O(n.status),t=L(n.begin_date,"YYYY.MM.DD");return{id:n.id,begin_date:x,tagColor:e,title:n.title,liveimg:n.liveimg,poster:n.liveimg,time:t,location:n.location||"线上",status:P(n.status),originalData:n,begin_date_timestamp:n.begin_date_timestamp,end_date_timestamp:n.end_date_timestamp,begin_date:n.begin_date,end_date:n.end_date,liveurl:n.liveurl,spareurl:n.spareurl,path:n.path,tags:n.tags||"",status_code:n.status}}));n?I.value=t:I.value.push(...t),f.value=!a,b.value=i>0,x("log","at pages/live/live.vue:773","会议列表更新成功,当前总数:",I.value.length),x("log","at pages/live/live.vue:774","分页信息:",{currentPage:v.value,total:i,pages:o,hasMore:f.value})}else x("log","at pages/live/live.vue:781","API返回的数据为空"),n&&(I.value=[])}else x("log","at pages/live/live.vue:787","API响应格式不正确:",t),n&&(I.value=[])}catch(t){x("error","at pages/live/live.vue:793","获取会议列表失败:",t),n&&(I.value=[]),uni.showToast({title:"获取会议列表失败",icon:"error",duration:2e3})}},O=n=>({1:"#FF4444",2:"#00BCD4",3:"#9C27B0",4:"#4CAF50",5:"#FF9800"}[n]||"#FF4444"),R=n=>{const x=["#f94438","#ffb93f","#4ecdc4","#92d758"];return x[n%x.length]},P=n=>({1:"预告",2:"直播中",3:"已结束",4:"回放中"}[n]||"预告"),L=(n,e="YYYY-MM")=>{if(!n)return"";try{const t=Xl(n);if(!t.isValid())return x("error","at pages/live/live.vue:854","无效的日期:",n),"";switch(e){case"YYYY-MM":return t.format("YYYY-MM");case"YYYY-MM-DD":return t.format("YYYY-MM-DD");case"YYYY-MM-DD HH:mm":return t.format("YYYY-MM-DD HH:mm");case"YYYY-MM-DD HH:mm:ss":return t.format("YYYY-MM-DD HH:mm:ss");case"YYYY年MM月":return t.format("YYYY年MM月");case"YYYY年MM月DD日":return t.format("YYYY年MM月DD日");case"MM月":return t.format("MM月");case"MM月DD日":return t.format("MM月DD日");case"YYYY.MM.DD":return t.format("YYYY.MM.DD");case"MM-DD":return t.format("MM-DD");case"MM/DD":return t.format("MM/DD");case"YYYY/MM/DD":return t.format("YYYY/MM/DD");default:return t.format(e)}}catch(t){return x("error","at pages/live/live.vue:888","日期格式化失败:",t),""}},F=()=>{l.value=!l.value},U=()=>{l.value=!1},$=()=>{a.value=!a.value},H=()=>{a.value=!1},Y=()=>{p.value=!0,v.value=1,f.value=!0,c.value||h.value?D(!0).finally((()=>{p.value=!1,uni.showToast({title:"刷新成功",icon:"none",duration:1500})})):M(!0).finally((()=>{setTimeout((()=>{p.value=!1,uni.showToast({title:"刷新成功",icon:"none",duration:1500})}),500)}))},G=()=>{x("log","at pages/live/live.vue:1044","上拉加载更多"),!y.value&&f.value&&(y.value=!0,v.value++,c.value||h.value?D(!1).finally((()=>{y.value=!1})):M(!1).finally((()=>{y.value=!1})))};return(t,i)=>{const o=e(n.resolveDynamicComponent("uni-nav-bar"),m),s=e(n.resolveDynamicComponent("up-image"),Jn),r=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(o,{title:"肝胆会议","left-icon":_.value?"left":"",onClickLeft:C,color:"#8B2316",border:!1,backgroundColor:"#eee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-right"},[n.createElementVNode("view",{class:"scan-btn",onClick:q}," 扫一扫 ")])])),_:1},8,["left-icon"])]),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"filter-bar"},[n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:u.value}]),onClick:F},[n.createElementVNode("text",null,n.toDisplayString(u.value?u.value:"会议时间"),1),n.createVNode(s,{src:u.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:g.value}]),onClick:$},[n.createElementVNode("text",null,n.toDisplayString(g.value?g.value:"会议地点"),1),n.createVNode(s,{src:g.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:"filter-item",onClick:A},[n.createElementVNode("text",null,"会议回放")])]),n.createElementVNode("scroll-view",{ref:"scrollView",class:n.normalizeClass(["scroll-content",{active:_.value}]),"scroll-y":"true","refresher-enabled":"true","refresher-triggered":p.value,"refresher-threshold":100,onRefresherrefresh:Y,onScrolltolower:G,"lower-threshold":100,"scroll-top":z.value,"enable-back-to-top":!0},[I.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(B.value,((e,t)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:t},[n.createElementVNode("view",{class:"time-header"},n.toDisplayString(e.monthYear),1),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.items,((e,t)=>{return n.openBlock(),n.createElementBlock("view",{class:"meetcell",key:e.id||t},[n.createElementVNode("view",{class:"meeting-item"},[n.createElementVNode("view",{class:"date-tag",style:n.normalizeStyle({backgroundColor:R(t)})},[n.createElementVNode("text",{class:"date-text",style:n.normalizeStyle({color:R(t)})},n.toDisplayString((l=e.begin_date,l?L(l,"DD"):"")),5)],4),n.createElementVNode("view",{class:"meeting-content"},[n.createElementVNode("view",{class:"meeting-title",onClick:n=>S(e)},n.toDisplayString(e.title),9,["onClick"]),e.liveimg&&0!=e.status_code?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-poster",onClick:n.withModifiers((n=>(n=>{if(1==n.status_code||2==n.status_code||4==n.status_code){let e=Ih+"/hcp/setInfo",t=uni.getStorageSync("userInfo"),i=t.uuid+t.realName+t.photo+n.liveurl,l=_h(i,"deoep09_klodLdAo"),o=e+"?id="+t.uuid+"&name="+t.realName+"&avatar="+t.photo+"&sign="+l+"&url="+n.liveurl;x("log","at pages/live/live.vue:964",o);const a=encodeURIComponent(o);let s=encodeURIComponent($l+n.liveimg);uni.navigateTo({url:`/pages_app/webview/webview?url=${a}&sharetitle=${n.title}&bg=1&type=live&imgPath=${s}&share=1&title=会议直播&tags=${n.tags}`})}else S(n)})(e)),["stop"])},[n.createVNode(s,{src:n.unref($l)+e.liveimg,class:"poster-image",mode:"aspectFill",loadingIcon:n.unref(Th),errorIcon:n.unref(Th),"lazy-load":!0,width:"100%",height:"320rpx","data-item-id":e.id},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(Th),class:"poster-image",mode:"aspectFill"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon","data-item-id"]),1==e.status_code||2==e.status_code||4==e.status_code?(n.openBlock(),n.createElementBlock("view",{key:0,class:"play-btn"},[n.createVNode(s,{src:n.unref(Lc),width:"108rpx",height:"108rpx"},null,8,["src"])])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:n.normalizeClass(["status-tag",(i=e.status_code,{1:"status-preview",2:"status-live",3:"status-ended",4:"status-completed",5:"status-cancelled"}[i]||"status-preview")])},n.toDisplayString(e.status),3)],8,["onClick"])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"meeting-info"},[n.createElementVNode("view",{class:"info-item"},[n.createElementVNode("view",{class:"timebox"},[n.createVNode(s,{src:n.unref(Fc),width:"24rpx",height:"24rpx"},null,8,["src"])]),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(L(e.begin_date,"YYYY.MM.DD")),1),L(e.end_date,"YYYY.MM.DD")!=L(e.begin_date,"YYYY.MM.DD")?(n.openBlock(),n.createElementBlock("text",{key:0,class:"info-text"},n.toDisplayString("-"+L(e.end_date,"YYYY.MM.DD")),1)):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"info-item"},[n.createVNode(r,{type:"location",size:"14",color:"#999"}),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(e.location),1)])])])])]);var i,l})),128))],64)))),128))])):p.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)])),b.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more"},[y.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more-content"},[n.createVNode(r,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",{class:"load-more-text"},"加载中...")])):f.value&&I.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:1,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"上拉加载更多")])):I.value.length>0&&!y.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"没有更多数据了")])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],42,["refresher-triggered","scroll-top"]),l.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"time-popup",onClick:U},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[0]||(i[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(N.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:c.value===e.value}]),key:t,onClick:n=>(n=>{c.value=n.value,u.value=n.label,x("log","at pages/live/live.vue:924","选择月份:",n.label),D(!0),U()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.label),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),a.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"location-popup",onClick:H},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"popup-content",onClick:i[1]||(i[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"location-grid"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(V.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["location-item",{active:h.value===e.code}]),key:t,onClick:n=>(n=>{h.value=n.code,g.value=n.name,x("log","at pages/live/live.vue:944","选择省份:",n.name),D(!0),H()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.name),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"history-tip",onClick:E},[n.createVNode(s,{src:n.unref("/static/meetHis.png"),width:"161rpx",height:"84rpx"},null,8,["src"])]),_.value?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(Ox,{key:2})),n.createVNode(qh,{ref_key:"topTipRef",ref:k,title:"相机权限使用说明",content:"“肝胆相照”想使用您的相机和访问您的媒体,用于帮助您进行后续的扫码活动"},null,512)])],64)}}},Dh=h(Bh,[["__scopeId","data-v-328e1ae4"]]),Mh=h({__name:"meeting",setup(t){const l=n.ref(!1),o=n.ref(!1),a=n.ref("all"),s=n.ref(""),r=n.ref(!1),c=n.ref(!1),u=n.ref(!0),h=n.ref(!0),g=n.ref(1);n.ref(10);const p=n.ref(0),m=n.ref([]),f=n.ref([{code:"全国",name:"全国"},{code:"北京市",name:"北京市"},{code:"天津市",name:"天津市"},{code:"河北省",name:"河北省"},{code:"山西省",name:"山西省"},{code:"内蒙古自治区",name:"内蒙古自治区"},{code:"辽宁省",name:"辽宁省"},{code:"吉林省",name:"吉林省"},{code:"黑龙江省",name:"黑龙江省"},{code:"上海市",name:"上海市"},{code:"江苏省",name:"江苏省"},{code:"浙江省",name:"浙江省"},{code:"安徽省",name:"安徽省"},{code:"福建省",name:"福建省"},{code:"江西省",name:"江西省"},{code:"山东省",name:"山东省"},{code:"河南省",name:"河南省"},{code:"湖北省",name:"湖北省"},{code:"湖南省",name:"湖南省"},{code:"广东省",name:"广东省"},{code:"广西壮族自治区",name:"广西壮族自治区"},{code:"海南省",name:"海南省"},{code:"重庆市",name:"重庆市"},{code:"四川省",name:"四川省"},{code:"贵州省",name:"贵州省"},{code:"云南省",name:"云南省"},{code:"西藏自治区",name:"西藏自治区"},{code:"陕西省",name:"陕西省"},{code:"甘肃省",name:"甘肃省"},{code:"青海省",name:"青海省"},{code:"宁夏回族自治区",name:"宁夏回族自治区"},{code:"新疆维吾尔自治区",name:"新疆维吾尔自治区"},{code:"台湾省",name:"台湾省"},{code:"香港特别行政区",name:"香港特别行政区"},{code:"澳门特别行政区",name:"澳门特别行政区"}]),b=n.ref([{date:"13",tagColor:"#FF4444",title:'"天山论·见"—疑难危重病患维训练营',poster:"/static/meeting-poster-1.jpg",time:"2025.08.13",location:"线上"},{date:"13",tagColor:"#FFA500",title:"护肝新声大咖谈",poster:"/static/meeting-poster-2.jpg",time:"2025.08.13",location:"线上"},{date:"15",tagColor:"#00BCD4",title:"小罐医生讲HIV和感染|专题二:抗菌药物-抗真菌药物特性解读",poster:"/static/meeting-poster-3.jpg",time:"2025.08.15",location:"线上"}]),v=()=>{l.value=!l.value},w=()=>{l.value=!1},z=()=>{o.value=!o.value},j=()=>{o.value=!1},k=()=>{r.value=!0,g.value=1,u.value=!0;const n={};n.month="all"===a.value?"":a.value,n.location="全国"===s.value?"":s.value,C(n).then((()=>{uni.showToast({title:"刷新成功",icon:"none",duration:1500})}))},_=()=>{if(x("log","at pages/meeting/meeting.vue:419","上拉加载"),c.value||!u.value)return;c.value=!0,g.value++;const e={};e.month="all"===a.value?"":a.value,e.location="全国"===s.value?"":s.value,C(e).then((()=>{n.nextTick((()=>{x("log","at pages/meeting/meeting.vue:438","数据加载完成,列表长度:",b.value.length)}))}))},E=(n,x)=>{const e=new Date,t=new Date(x);if(3===n)return"#999999";if(2===n)return"#FF4444";const i=Math.ceil((t-e)/864e5);if(i<=7&&i>0)return"#FF9800";const l=["#FF4444","#FFA500","#00BCD4","#9C27B0","#4CAF50","#FF9800"];return l[Math.floor(Math.random()*l.length)]},N=n=>{switch(n){case 1:default:return"预告";case 2:return"直播中";case 3:return"已结束"}},S=n=>{switch(n){case 1:default:return"status-preview";case 2:return"status-live";case 3:return"status-ended"}},C=async(n={})=>{try{const e={page:g.value,...n};x("log","at pages/meeting/meeting.vue:685","搜索筛选参数:",e);const t=await Fl.meetingListBySearchU(e);if(x("log","at pages/meeting/meeting.vue:688","搜索筛选API原始响应:",t),200===t.code&&t.data){const{list:n,total:e,pageNum:i,pages:l,isLastPage:o}=t.data,a=n.map((n=>{const x=new Date(n.begin_date),e=x.getDate().toString().padStart(2,"0"),t=x.getMonth()+1,i=x.getFullYear(),l=E(n.status,x),o=`${i}.${t.toString().padStart(2,"0")}.${e}`;return{id:n.id,date:e,tagColor:l,title:n.title,poster:$l+n.liveimg||"/static/meeting-poster-default.jpg",time:o,location:n.location||"线上",originalData:n,beginDate:n.begin_date,endDate:n.end_date,liveUrl:n.liveurl,spareUrl:n.spareurl,status:n.status,path:n.path}}));return 1===g.value?b.value=a:b.value.push(...a),u.value=!o,h.value=e>0,x("log","at pages/meeting/meeting.vue:738","搜索筛选后的会议列表:",b.value),x("log","at pages/meeting/meeting.vue:739","分页信息:",{currentPage:g.value,total:e,pages:l,hasMore:u.value}),t}x("error","at pages/meeting/meeting.vue:744","搜索筛选API返回错误:",t.msg||"未知错误"),uni.showToast({title:t.msg||"获取会议列表失败",icon:"error",duration:2e3})}catch(e){x("error","at pages/meeting/meeting.vue:752","搜索筛选会议列表失败:",e),uni.showToast({title:"网络请求失败",icon:"error",duration:2e3})}finally{c.value=!1,r.value=!1}};return i((()=>{(()=>{const n=[],e=new Date,t=e.getMonth()+1,i=e.getFullYear();n.push({value:"all",label:"所有"});for(let x=t;x<=12;x++){let e="";e=x===t?`${x}月(本月)`:x===t+1?`${x}月(下月)`:`${x}月`,n.push({value:x.toString(),label:e,year:i,month:x})}for(let x=1;x{try{const n=await Fl.meetingListV2U({page:g.value});if(x("log","at pages/meeting/meeting.vue:448","会议列表API原始响应:",n),200===n.code&&n.data){const{list:e,total:t,pageNum:i,pages:l,isLastPage:o}=n.data,a=e.map((n=>{const x=new Date(n.begin_date),e=x.getDate().toString().padStart(2,"0"),t=(x.getMonth()+1).toString().padStart(2,"0"),i=x.getFullYear(),l=E(n.status,x),o=`${i}.${t}.${e}`;return{id:n.id,date:e,tagColor:l,title:n.title,poster:$l+n.liveimg||"/static/meeting-poster-default.jpg",time:o,location:n.location||"线上",originalData:n,beginDate:n.begin_date,endDate:n.end_date,liveUrl:n.liveurl,spareUrl:n.spareurl,status:n.status,path:n.path}}));1===g.value?b.value=a:b.value.push(...a),u.value=!o,h.value=t>0,x("log","at pages/meeting/meeting.vue:498","处理后的会议列表:",b.value),x("log","at pages/meeting/meeting.vue:499","分页信息:",{currentPage:g.value,total:t,pages:l,hasMore:u.value})}else x("error","at pages/meeting/meeting.vue:502","API返回错误:",n.msg||"未知错误"),uni.showToast({title:n.msg||"获取会议列表失败",icon:"error",duration:2e3})}catch(n){x("error","at pages/meeting/meeting.vue:510","获取会议列表失败:",n),uni.showToast({title:"网络请求失败",icon:"error",duration:2e3})}finally{c.value=!1,r.value=!1}})()})),(t,i)=>{const E=e(n.resolveDynamicComponent("up-image"),Jn),q=e(n.resolveDynamicComponent("uni-icons"),d),T=e(n.resolveDynamicComponent("up-icon"),Un);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{title:"肝胆会议"}),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"filter-bar"},[n.createElementVNode("view",{class:"filter-item active",onClick:v},[n.createElementVNode("text",null,"会议时间"),n.createVNode(E,{src:n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:"filter-item",onClick:z},[n.createElementVNode("text",null,"会议地点"),n.createVNode(E,{src:n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:"filter-item"},[n.createElementVNode("text",null,"会议回放")])]),n.createElementVNode("scroll-view",{ref:"scrollView",class:"scroll-content","scroll-y":"true","refresher-enabled":"true","refresher-triggered":r.value,"refresher-threshold":100,onRefresherrefresh:k,onScrolltolower:_,"lower-threshold":100,"scroll-top":p.value,"enable-back-to-top":!0},[n.createElementVNode("view",{class:"time-header"},"2025年08月"),n.createElementVNode("view",{class:"meeting-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(b.value,((e,t)=>{return n.openBlock(),n.createElementBlock("view",{class:"meeting-item",key:t},[n.createElementVNode("view",{class:"date-tag",style:n.normalizeStyle({backgroundColor:e.tagColor})},[n.createElementVNode("text",{class:"date-text"},n.toDisplayString(e.date),1)],4),n.createElementVNode("view",{class:"meeting-content"},[n.createElementVNode("view",{class:"meeting-title"},n.toDisplayString(e.title),1),n.createElementVNode("view",{class:"meeting-poster",onClick:n=>(n=>{x("log","at pages/meeting/meeting.vue:355","播放视频:",n.title,n),3!==n.status?n.liveUrl?n.liveUrl.includes("zhibo.igandan.com")?uni.navigateTo({url:`/pages/webview/webview?url=${encodeURIComponent(n.liveUrl)}&title=${encodeURIComponent(n.title)}`}):uni.showToast({title:"直播链接无效",icon:"error",duration:2e3}):uni.showToast({title:"暂无直播链接",icon:"error",duration:2e3}):n.path&&uni.navigateTo({url:`/pages/webview/webview?url=${encodeURIComponent(n.path)}&title=${encodeURIComponent(n.title)}`})})(e)},[n.createElementVNode("image",{src:(i=e.poster,i?i.startsWith("http://")||i.startsWith("https://")?i:`https://dev-wx.igandan.com/${i}`:"/static/meeting-poster-default.jpg"),class:"poster-image",mode:"aspectFill"},null,8,["src"]),3!==e.status?(n.openBlock(),n.createElementBlock("view",{key:0,class:"play-btn"},[n.createVNode(E,{src:n.unref(Lc),width:"108rpx",height:"108rpx"},null,8,["src"])])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:n.normalizeClass(["status-tag",S(e.status)])},n.toDisplayString(N(e.status)),3)],8,["onClick"]),n.createElementVNode("view",{class:"meeting-info"},[n.createElementVNode("view",{class:"info-item"},[n.createElementVNode("view",{class:"timebox"},[n.createVNode(E,{src:n.unref(Fc),width:"24rpx",height:"24rpx"},null,8,["src"])]),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(e.time),1)]),n.createElementVNode("view",{class:"info-item"},[n.createVNode(q,{type:"location",size:"14",color:"#999"}),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(e.location),1)])])])]);var i})),128))]),h.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more"},[c.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more-content"},[n.createVNode(q,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",{class:"load-more-text"},"加载中...")])):u.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"上拉加载更多")])):(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"没有更多数据了")]))])):n.createCommentVNode("",!0)],40,["refresher-triggered","scroll-top"]),l.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"time-popup",onClick:w},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[0]||(i[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(m.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:a.value===e.value}]),key:t,onClick:n=>(n=>{a.value=n.value,x("log","at pages/meeting/meeting.vue:292","选择月份:",n.label,n),g.value=1;const e={};e.month="all"===n.value?"":n.value,s.value&&"全国"!==s.value?e.location=s.value:e.location="",C(e),w()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.label),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),o.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"location-popup",onClick:j},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"popup-content",onClick:i[1]||(i[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"location-grid"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(f.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["location-item",{active:s.value===e.code}]),key:t,onClick:n=>(n=>{s.value=n.code,x("log","at pages/meeting/meeting.vue:329","选择省份:",n.name),g.value=1;const e={};a.value&&"all"!==a.value?e.month=a.value:e.month="",e.location="全国"===n.code?"":n.code,C(e),j()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.name),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"history-tip"},[n.createElementVNode("view",{class:"tip-icon"},[n.createVNode(T,{name:"clock",color:"#00cbc0",size:"28"})]),n.createElementVNode("text",{class:"tip-text"},"过往会议")]),n.createVNode(Ox)])],64)}}},[["__scopeId","data-v-6b429177"]]),Oh=h({__name:"education",setup(t){const l=n=>{switch(n){case"course":uni.sendNativeEvent("goCourse",{msg:"course"});break;case"video":Ul({url:"/pages_app/video/video?from=education"});break;case"ppt":Ul({url:"/pages_app/ppt/ppt"});break;default:uni.showToast({title:"功能开发中",icon:"none"})}};return i((()=>{x("log","at pages/education/education.vue:138","继续教育页面显示")})),(x,t)=>{const i=e(n.resolveDynamicComponent("up-image"),Jn),o=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{title:"继续教育"}),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"course-list"},[n.createElementVNode("view",{class:"course-item",onClick:t[0]||(t[0]=n=>l("course"))},[n.createVNode(i,{src:n.unref("/static/jingpinkecheng.png"),width:"94rpx",height:"94rpx"},null,8,["src"]),n.createElementVNode("view",{class:"course-content"},[n.createElementVNode("view",{class:"course-title"},"肝胆精品课"),n.createElementVNode("view",{class:"course-subtitle"},"肝胆精品课,筑梦·医路成长")]),n.createElementVNode("view",{class:"course-arrow"},[n.createVNode(o,{type:"forward",size:"16",color:"#ccc"})])]),n.createElementVNode("view",{class:"course-item",onClick:t[1]||(t[1]=n=>l("video"))},[n.createVNode(i,{src:n.unref("/static/gandanshipin.png"),width:"94rpx",height:"94rpx"},null,8,["src"]),n.createElementVNode("view",{class:"course-content"},[n.createElementVNode("view",{class:"course-title"},"肝胆视频"),n.createElementVNode("view",{class:"course-subtitle"},"数千集精彩报告等您来看")]),n.createElementVNode("view",{class:"course-arrow"},[n.createVNode(o,{type:"forward",size:"16",color:"#ccc"})])]),n.createElementVNode("view",{class:"course-item",onClick:t[2]||(t[2]=n=>l("ppt"))},[n.createVNode(i,{src:n.unref("/static/gandankejian.png"),width:"94rpx",height:"94rpx"},null,8,["src"]),n.createElementVNode("view",{class:"course-content"},[n.createElementVNode("view",{class:"course-title"},"肝胆课件"),n.createElementVNode("view",{class:"course-subtitle"},"国内专业优质肝胆课件共享平台")]),n.createElementVNode("view",{class:"course-arrow"},[n.createVNode(o,{type:"forward",size:"16",color:"#ccc"})])])])]),n.createVNode(Ox)],64)}}},[["__scopeId","data-v-21f30e6b"]]),Rh={props:{indicatorWidth:{type:[String,Number],default:()=>An.scrollList.indicatorWidth},indicatorBarWidth:{type:[String,Number],default:()=>An.scrollList.indicatorBarWidth},indicator:{type:Boolean,default:()=>An.scrollList.indicator},indicatorColor:{type:String,default:()=>An.scrollList.indicatorColor},indicatorActiveColor:{type:String,default:()=>An.scrollList.indicatorActiveColor},indicatorStyle:{type:[String,Object],default:()=>An.scrollList.indicatorStyle}}},Ph=n=>{(n.$wxs||(n.$wxs=[])).push("wxs"),(n.$wxsModules||(n.$wxsModules={})).wxs="7f9de7cc"},Lh={name:"u-scroll-list",mixins:[Dn,On,Rh],data:()=>({scrollInfo:{scrollLeft:0,scrollWidth:0},scrollWidth:0}),computed:{barStyle(){const n={};return n.width=an(this.indicatorBarWidth),n.backgroundColor=this.indicatorActiveColor,n},lineStyle(){const n={};return n.width=an(this.indicatorWidth),n.backgroundColor=this.indicatorColor,n}},mounted(){this.init()},emits:["left","right"],methods:{addStyle:on,getPx:Q,init(){this.getComponentWidth()},scrollEvent(n){this.$emit(n)},async getComponentWidth(){await J(30),this.$uGetRect(".u-scroll-list").then((n=>{this.scrollWidth=n.width}))}}};Ph(Lh);const Fh=h(Lh,[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:"u-scroll-list",ref:"u-scroll-list"},[n.createElementVNode("scroll-view",{class:"u-scroll-list__scroll-view scroll-view-native","scroll-x":"","enable-flex":"",onScroll:e[0]||(e[0]=(...n)=>x.wxs.scroll&&x.wxs.scroll(...n)),onScrolltoupper:e[1]||(e[1]=(...n)=>x.wxs.scrolltoupper&&x.wxs.scrolltoupper(...n)),onScrolltolower:e[2]||(e[2]=(...n)=>x.wxs.scrolltolower&&x.wxs.scrolltolower(...n)),"data-scrollWidth":l.scrollWidth,"data-barWidth":o.getPx(x.indicatorBarWidth),"data-indicatorWidth":o.getPx(x.indicatorWidth),"show-scrollbar":!1,"upper-threshold":0,"lower-threshold":0},[n.createElementVNode("view",{class:"u-scroll-list__scroll-view__content"},[n.renderSlot(x.$slots,"default",{},void 0,!0)])],40,["data-scrollWidth","data-barWidth","data-indicatorWidth"]),x.indicator?(n.openBlock(),n.createElementBlock("view",{key:0,class:"u-scroll-list__indicator",style:n.normalizeStyle([o.addStyle(x.indicatorStyle)])},[n.createElementVNode("view",{class:"u-scroll-list__indicator__line",style:n.normalizeStyle([o.lineStyle])},[n.createElementVNode("view",{class:"u-scroll-list__indicator__line__bar",style:n.normalizeStyle([o.barStyle]),ref:"u-scroll-list__indicator__line__bar"},null,4)],4)],4)):n.createCommentVNode("",!0)],512)}],["__scopeId","data-v-1a505ace"]]),Uh=Object.freeze(Object.defineProperty({__proto__:null,default:Fh},Symbol.toStringTag,{value:"Module"})),$h="/static/wdxz.png",Hh={__name:"my",setup(t){const l=n.ref(!1);n.ref(!1);const o=n.ref(!1),a=n.ref(!1),s=n.reactive({news:{summary:""}}),r=n.ref(""),c=n.ref(""),u=n.ref(0),h=n.ref(0),g=n.ref(0),p=n.ref(""),m=n.ref(0),f=n.ref(0),b=n.ref([]),v=n.ref(0),w=n.ref(!1),z=n.ref(!1),j=n.ref(!1),k=()=>{let n=$l+s.news.path;plus.runtime.openURL(n)},_=async()=>{try{const n=await Fl.addBonusPointsN({score_type:1});n&&1==n.code?(f.value=1,uni.showToast({title:"签到成功,获得"+n.bonuspoints+"积分",icon:"none"}),Object.assign(s,n)):uni.showToast({title:(null==n?void 0:n.msg)||"签到失败",icon:"none"})}catch(n){x("error","at pages/my/my.vue:412","签到失败:",n),uni.showToast({title:"签到失败,请重试",icon:"none"})}},E=(n,x=1)=>{if(null==n||""===n||isNaN(Number(n)))return n;const e=Number(n),t=e<0?"-":"",i=Math.abs(e);if(i<1e4)return t+String(i);if(i<1e8){const n=(i/1e4).toFixed(x);return t+(n.indexOf(".")>-1?n.replace(/\.0+$/,"").replace(/(\.\d*?)0+$/,"$1"):n)+"万"}const l=(i/1e8).toFixed(x);return t+(l.indexOf(".")>-1?l.replace(/\.0+$/,"").replace(/(\.\d*?)0+$/,"$1"):l)+"亿"},N=n=>{x("log","at pages/my/my.vue:464","跳转到页面:",n);let e="";switch(n){case"patientAudit":e="/pages_app/myPatient/myPatient";break;case"patientGroup":e="/pages_app/patientGroup/patientGroup";break;case"groupMessage":e="/pages_chat/groupMessage/groupMessage";break;case"qrcode":e="/pages_app/myCode/myCode";break;case"myInfo":e="/pages_app/personInfo/personInfo";break;case"plan":e="/pages_chat/outPatient/outPatient";break;case"myVideos":e="/pages_app/myVideo/myVideo";break;case"myCourses":e="/pages_course/my_courses/my_courses";break;case"myDownloads":e="/pages_app/myDownLoad/myDownLoad";break;case"myFavorites":e="/pages_app/myCollect/myCollect";break;case"myAccount":e="/pages_app/myAccount/myAccount";break;case"myPoints":e="/pages_app/myPoint/myPoint";break;case"pointMall":e="/pages_goods/pointMall/pointMall";break;case"myBenefits":e="/pages_app/myWelfare/myWelfare";break;case"myFlower":e="/pages_app/myFlower/myFlower";break;case"pptDetail":e="/pages_app/myCourseware/myCourseware";break;case"couseDetail":e="/pages_course/order_record/order_record";break;case"wechatUnbind":e="/pages_app/wechatContact/wechatContact";break;case"changePhone":e="/pages_app/changeMobile/changeMobile";break;case"benefitExchange":e="/pages_app/myWelfareCard/myWelfareCard?from=my";break;case"bankCard":e="/pages_app/idcardAuth/bankCardList";break;case"settings":e="/pages_app/setting/setting";break;default:const n=uni.getStorageSync("push_clientid");uni.showToast({title:"push_clientid: "+n,icon:"none"})}Ul({url:e})},S=()=>{if("Android"==plus.os.name){var n=plus.android.runtimeMainActivity(),x=plus.android.importClass("android.support.v4.app.NotificationManagerCompat");null==x&&(x=plus.android.importClass("androidx.core.app.NotificationManagerCompat"));var e=x.from(n).areNotificationsEnabled();return w.value=e,e}if("iOS"==plus.os.name){var t,i=0,l=plus.ios.invoke("UIApplication","sharedApplication"),o=plus.ios.invoke(l,"currentUserNotificationSettings");return o?(i=o.plusGetAttribute("types"),plus.ios.deleteObject(o)):i=plus.ios.invoke(l,"enabledRemoteNotificationTypes"),plus.ios.deleteObject(l),t=0!=i,w.value=t,t}},C=()=>{const n=uni.getStorageSync("push_clientid");let x=S()?"通知权限关闭提醒":"通知权限开启提醒",e=S()?"通知权限已开启,是否前往设置关闭?"+n:"您还没有开启通知权限,无法接受到消息通知,是否前往设置?"+n;uni.showModal({title:x,content:e,showCancel:!0,confirmColor:"#ff903f",success:n=>{var x,e;n.confirm&&("Android"==plus.os.name?(()=>{var n=plus.android.runtimeMainActivity(),x=n.getPackageName(),e=n.getApplicationInfo().plusGetAttribute("uid"),t=plus.android.importClass("android.content.Intent"),i=plus.android.importClass("android.os.Build");if(i.VERSION.SDK_INT>=26)(l=new t("android.settings.APP_NOTIFICATION_SETTINGS")).putExtra("android.provider.extra.APP_PACKAGE",x);else if(i.VERSION.SDK_INT>=21){var l;(l=new t("android.settings.APP_NOTIFICATION_SETTINGS")).putExtra("app_package",x),l.putExtra("app_uid",e)}else{l.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);var o=Uri.fromParts("package",mainActivity.getPackageName(),null);l.setData(o)}n.startActivity(l)})():"iOS"==plus.os.name&&(x=plus.ios.invoke("UIApplication","sharedApplication"),e=plus.ios.invoke("NSURL","URLWithString:","app-settings:"),plus.ios.invoke(x,"openURL:",e),plus.ios.deleteObject(e),plus.ios.deleteObject(x)))}})},q=()=>{x("log","at pages/my/my.vue:672","显示年度总结"),uni.showToast({title:"年度总结功能开发中",icon:"none"})},T=()=>{uni.showModal({title:"版本信息",content:"当前版本:V4.2.7",showCancel:!1})},V=n.ref({}),A=n=>{let x="";switch(n){case"followup":x="/pages_app/patientMsg/patientMsg";break;case"consult":x="/pages_app/consult/consult";break;case"flower":x="/pages_app/myFlower/myFlower"}Ul({url:x})},I=n.ref(!1),B=n.ref(!1);return i((()=>{x("log","at pages/my/my.vue:730","我的页面显示"),(()=>{try{const n=uni.getStorageSync("userInfo");n&&(r.value=$l+n.photo,c.value=n.realName)}catch(Rw){x("error","at pages/my/my.vue:384","从storage获取用户信息失败",Rw)}})(),(async()=>{try{const n=await Fl.getMyInfo({});if(n&&200===n.code&&n.data){const x=n.data;p.value=x.myInfoBackGround,u.value=x.expert_apply_num||0,h.value=x.consult_total_num||0,g.value=x.ping_flowewr_num||0,m.value=x.total_points||0,f.value=x.sign_in||0,b.value=x.honor_list||[],v.value=x.ranking||0}}catch(Rw){x("error","at pages/my/my.vue:435","获取我的信息失败",Rw)}})(),(async()=>{const n=await Sc.isBoundWechat();x("log","at pages/my/my.vue:722",n),200===n.code&&n.data&&(I.value=n.data)})(),S(),Fl.checkVersion().then((n=>{80002==n.code&&(z.value=!0)})),Fl.getIsAccount().then((n=>{1==n.code&&(j.value=0!=n.is_account)}));let n=uni.getSystemInfoSync();x("log","at pages/my/my.vue:738",n),"ios"==n.osName?B.value=!0:B.value=!1})),(x,t)=>{const i=e(n.resolveDynamicComponent("up-image"),Jn),S=e(n.resolveDynamicComponent("up-scroll-list"),Fh),D=e(n.resolveDynamicComponent("uni-icons"),d),M=e(n.resolveDynamicComponent("up-overlay"),Ax);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{title:"我的",showLeft:!1}),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"user-card",style:n.normalizeStyle({"background-image":`url(${p.value||"/static/big_background_my.png"})`,"background-size":"cover","background-repeat":"no-repeat"})},[n.createElementVNode("view",{class:"user-info"},[n.createElementVNode("image",{class:"avatar",src:r.value,mode:"aspectFill",onClick:t[0]||(t[0]=n=>N("myInfo"))},null,8,["src"]),n.createElementVNode("view",{class:"user-info-content"},[n.createElementVNode("text",{class:"username"},n.toDisplayString(c.value),1),n.createElementVNode("scroll-view",{class:"honor_box","scroll-x":"true","show-scrollbar":"false"},[n.createElementVNode("view",{class:"honor_wrap"},[v.value>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"honor_item"},[n.createElementVNode("image",{class:"honor_image",src:n.unref("/static/suifang.png"),mode:"aspectFill"},null,8,["src"]),n.createElementVNode("text",{class:"honor_text"},"随访达人|排名"+n.toDisplayString(v.value),1)])):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(b.value,(x=>(n.openBlock(),n.createElementBlock("view",{class:"honor_item",key:x.id,onClick:n=>(async n=>{const x=await Fl.gethonorDetail({id:n});1==x.code&&(V.value=x.data,l.value=!0)})(x.id)},[n.createElementVNode("image",{class:"honor_image",src:n.unref("/static/yxb.png"),mode:"aspectFill"},null,8,["src"]),n.createElementVNode("text",{class:"honor_text"},n.toDisplayString(x.nick_name),1)],8,["onClick"])))),128))])])])]),n.createElementVNode("view",{class:"stats-section"},[n.createElementVNode("view",{class:"stats-item",onClick:t[1]||(t[1]=n=>A("followup"))},[n.createElementVNode("text",{class:"stats-number"},n.toDisplayString(u.value),1),n.createElementVNode("text",{class:"stats-label"},"随访患者数")]),n.createElementVNode("view",{class:"stats-item",onClick:t[2]||(t[2]=n=>A("consult"))},[n.createElementVNode("text",{class:"stats-number"},n.toDisplayString(h.value),1),n.createElementVNode("text",{class:"stats-label"},"公益咨询数")]),n.createElementVNode("view",{class:"stats-item",onClick:t[3]||(t[3]=n=>A("flower"))},[n.createElementVNode("text",{class:"stats-number"},n.toDisplayString(g.value),1),n.createElementVNode("text",{class:"stats-label"},"患者送花数")]),n.createElementVNode("view",{class:"divder"}),0==f.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"signbox",onClick:_},[n.createElementVNode("view",{class:"sign"},"签到")])):(n.openBlock(),n.createElementBlock("view",{key:1,class:"signbox_1",onClick:t[4]||(t[4]=n=>N("pointMall"))},[n.createElementVNode("view",{class:"sign"},n.toDisplayString(E(m.value)),1)]))])],4),n.createElementVNode("view",{class:"section"},[n.createElementVNode("view",{class:"section-title"},"随访服务"),n.createVNode(S,{indicatorActiveColor:"#8B2316",indicatorWidth:"40rpx",indicatorBarWidth:"20rpx",class:"service-grid"},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"service-item",onClick:t[5]||(t[5]=n=>N("patientAudit"))},[n.createVNode(i,{src:n.unref("/static/hzsh.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"患者审核")]),n.createElementVNode("view",{class:"service-item",onClick:t[6]||(t[6]=n=>N("patientGroup"))},[n.createVNode(i,{src:n.unref("/static/hzfz.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"患者分组")]),n.createElementVNode("view",{class:"service-item",onClick:t[7]||(t[7]=n=>N("groupMessage"))},[n.createVNode(i,{src:n.unref("/static/qfxz.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"群发消息")]),n.createElementVNode("view",{class:"service-item",onClick:t[8]||(t[8]=n=>N("qrcode"))},[n.createVNode(i,{src:n.unref("/static/sfewm.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"随访二维码")]),n.createElementVNode("view",{class:"service-item",onClick:t[9]||(t[9]=n=>N("plan"))},[n.createVNode(i,{src:n.unref("/static/czjh.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"出诊计划")])])),_:1})]),n.createElementVNode("view",{class:"section"},[n.createElementVNode("view",{class:"section-title"},"学习进步"),n.createElementVNode("view",{class:"learning-grid"},[n.createElementVNode("view",{class:"learning-item",onClick:t[10]||(t[10]=n=>N("myVideos"))},[n.createVNode(i,{src:n.unref("/static/wdsp.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的视频")]),n.createElementVNode("view",{class:"learning-item",onClick:t[11]||(t[11]=n=>N("myCourses"))},[n.createVNode(i,{src:n.unref("/static/wdkc.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的课程")]),n.createElementVNode("view",{class:"learning-item",onClick:t[12]||(t[12]=n=>N("myDownloads"))},[n.createVNode(i,{src:n.unref($h),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的下载")]),n.createElementVNode("view",{class:"learning-item",onClick:t[13]||(t[13]=n=>N("myFavorites"))},[n.createVNode(i,{src:n.unref("/static/wdsc.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的收藏")])])]),n.createElementVNode("view",{class:"section"},[n.createElementVNode("view",{class:"section-title"},"账户明细"),n.createVNode(S,{indicator:j.value,indicatorActiveColor:"#8B2316",indicatorWidth:"40rpx",indicatorBarWidth:"20rpx",class:"account-grid"},{default:n.withCtx((()=>[j.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"account-item",onClick:t[14]||(t[14]=n=>N("myAccount"))},[n.createVNode(i,{src:n.unref("/static/wdzh.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的账户")])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"account-item",onClick:t[15]||(t[15]=n=>N("myPoints"))},[n.createVNode(i,{src:n.unref("/static/wdjf.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的积分")]),n.createElementVNode("view",{class:"account-item",onClick:t[16]||(t[16]=n=>N("myBenefits"))},[n.createVNode(i,{src:n.unref("/static/wdfl.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的福利")]),j.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"account-item",onClick:t[17]||(t[17]=n=>N("myFlower"))},[n.createVNode(i,{src:n.unref("/static/wdxh.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的鲜花")])):n.createCommentVNode("",!0),j.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"account-item",onClick:t[18]||(t[18]=n=>N("pptDetail"))},[n.createVNode(i,{src:n.unref("/static/kjmx.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"课件明细")])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"account-item",onClick:t[19]||(t[19]=n=>N("couseDetail"))},[n.createVNode(i,{src:n.unref("/static/kcmx.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"课程明细")])])),_:1},8,["indicator"])]),n.createElementVNode("view",{class:"section"},[n.createElementVNode("view",{class:"section-title"},"常用操作"),n.createElementVNode("view",{class:"operation-grid"},[n.createElementVNode("view",{class:"operation-item",onClick:t[20]||(t[20]=n=>N("wechatUnbind"))},[n.createVNode(i,{src:n.unref("/static/wxjb.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),I.value?(n.openBlock(),n.createElementBlock("text",{key:0},"微信解绑")):(n.openBlock(),n.createElementBlock("text",{key:1},"微信绑定"))]),n.createElementVNode("view",{class:"operation-item",onClick:t[21]||(t[21]=n=>N("changePhone"))},[n.createVNode(i,{src:n.unref("/static/ghsjh.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"更换手机号")]),n.createElementVNode("view",{class:"operation-item",onClick:C},[n.createVNode(i,{src:n.unref("/static/xxtx.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"通知已"+n.toDisplayString(w.value?"开":"关"),1)]),n.createElementVNode("view",{class:"operation-item",onClick:T},[n.createVNode(i,{src:z.value?n.unref("/static/fxbb.png"):n.unref("/static/fxxbb.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,n.toDisplayString(z.value?"有新版本":"V"+n.unref(Pl)),1)])])]),n.createElementVNode("view",{class:"setbox"},[n.createElementVNode("view",{class:"sectioncell benefit-section"},[n.createElementVNode("view",{class:"benefit-item",onClick:t[22]||(t[22]=n=>N("benefitExchange"))},[n.createElementVNode("view",{class:"benefit-icon"},[n.createVNode(i,{src:n.unref("/static/fulicard.png"),width:"48rpx",height:"48rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"benefit-content"},[n.createElementVNode("text",{class:"benefit-title"},"福利卡兑换")]),n.createElementVNode("view",{class:"benefit-arrow"},[n.createVNode(D,{type:"forward",size:"16",color:"#ccc"})])])]),n.createElementVNode("view",{class:"sectioncell bank-section"},[j.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"bank-item",onClick:t[23]||(t[23]=n=>N("bankCard"))},[n.createElementVNode("view",{class:"bank-icon"},[n.createVNode(i,{src:n.unref("/static/cyhhk.png"),width:"48rpx",height:"48rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"bank-content"},[n.createElementVNode("text",{class:"bank-title"},"常用银行卡")]),n.createElementVNode("view",{class:"bank-arrow"},[n.createVNode(D,{type:"forward",size:"16",color:"#ccc"})])])):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"sectioncell settings-section"},[n.createElementVNode("view",{class:"settings-item",onClick:t[24]||(t[24]=n=>N("settings"))},[n.createElementVNode("view",{class:"settings-icon"},[n.createVNode(i,{src:n.unref("/static/setting.png"),width:"48rpx",height:"48rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"settings-content flex-row"},[n.createElementVNode("text",{class:"settings-title"},"设置与帮助"),z.value&&B.value?(n.openBlock(),n.createElementBlock("text",{key:0,class:"new-version"},"有新版本")):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"settings-arrow"},[n.createVNode(D,{type:"forward",size:"16",color:"#ccc"})])])])]),n.createElementVNode("view",{class:"year-summary-btn",onClick:q},[n.createElementVNode("view",{class:"year-text"},"2024"),n.createElementVNode("view",{class:"summary-text"},"年度总结")]),n.createVNode(Ox)]),n.createVNode(Rx,{visible:o.value,content:"今日已签到,每天只能签到一次。
请明日继续哦~",onClose:t[25]||(t[25]=n=>o.value=!1),showCancel:!0,cancelText:"关闭"},null,8,["visible"]),n.createVNode(M,{show:a.value},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"signwrap"},[n.createElementVNode("view",{class:"signbox"},[n.createElementVNode("view",{class:"close",onClick:t[26]||(t[26]=n=>a.value=!1)}),n.createElementVNode("view",{class:"signbg"},[n.createVNode(i,{src:n.unref(Gl),width:"604rpx",height:"964rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"signcontent"},[n.createElementVNode("view",{class:"day"},"今天是我们相识的第"+n.toDisplayString(s.gdxzday)+"天",1),n.createElementVNode("view",{class:"signtotal"},"本周共签到"+n.toDisplayString(s.totalDay)+"次",1),n.createElementVNode("view",{class:"signcontinue"},"已经连续签到"+n.toDisplayString(s.continuous_day)+"天",1),n.createElementVNode("view",{class:"tip"},"连续签到获取更多积分"),n.createElementVNode("view",{class:"news",onClick:n.withModifiers(k,["stop"])},n.toDisplayString(s.news.summary),1)])])])])),_:1},8,["show"]),n.createVNode(M,{show:l.value},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"honorwrap"},[n.createElementVNode("view",{class:"honorbox"},[n.createElementVNode("image",{src:n.unref($l)+V.value.img,class:"honor_image"},null,8,["src"]),n.createVNode(D,{type:"close",class:"close_honor",size:"24",color:"#fff",onClick:t[27]||(t[27]=n=>l.value=!1)}),n.createElementVNode("view",{class:"content"},[n.createElementVNode("view",{class:"content_title"},n.toDisplayString(V.value.title),1),n.createElementVNode("view",{class:"row"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(V.value.honorlist,(x=>(n.openBlock(),n.createElementBlock("view",{class:"row_item",key:x.id},n.toDisplayString(x.nick_name),1)))),128))]),n.createElementVNode("view",{class:"content_content"},n.toDisplayString(V.value.note),1)])])])])),_:1},8,["show"])],64)}}},Yh=h(Hh,[["__scopeId","data-v-f5beeddc"]]),Gh={__name:"univerify",setup:e=>(o((()=>{x("log","at pages/univerify/univerify.vue:13","登录页面加载完成"),x("log","at pages/univerify/univerify.vue:16","一键登录"),uni.login({provider:"univerify",univerifyStyle:{fullScreen:!0,backgroundColor:"#ffffff",backgroundImage:"",icon:{path:"static/xxx.png",width:"60px",height:"60px"},closeIcon:{path:"static/xxx.png",width:"60px",height:"60px"},phoneNum:{color:"#202020"},slogan:{color:"#BBBBBB"},authButton:{normalColor:"#3479f5",highlightColor:"#2861c5",disabledColor:"#73aaf5",textColor:"#ffffff",title:"本机号码一键登录",borderRadius:"24px"},otherLoginButton:{visible:!0,normalColor:"",highlightColor:"",textColor:"#656565",title:"其他登录方式",borderColor:"",borderRadius:"0px"},privacyTerms:{defaultCheckBoxState:!0,isCenterHint:!1,uncheckedImage:"",checkedImage:"",checkBoxSize:12,textColor:"#BBBBBB",termsColor:"#5496E3",prefix:"我已阅读并同意",suffix:"并使用本机号码登录",privacyItems:[{url:"https://",title:"用户服务协议"}]}},success(n){x("log","at pages/univerify/univerify.vue:75",n.authResult)},fail(n){x("log","at pages/univerify/univerify.vue:78",n.errCode),x("log","at pages/univerify/univerify.vue:79",n.errMsg),uni.redirectTo({url:"/pages_app/login/login?univerify=0"})}})})),i((()=>{x("log","at pages/univerify/univerify.vue:90","登录页面显示")})),(x,e)=>(n.openBlock(),n.createElementBlock("view")))};let Wh=class{constructor(n,x){this.options=n,this.animation=uni.createAnimation({...n}),this.currentStepAnimates={},this.next=0,this.$=x}_nvuePushAnimates(n,x){let e=this.currentStepAnimates[this.next],t={};if(t=e||{styles:{},config:{}},Kh.includes(n)){t.styles.transform||(t.styles.transform="");let e="";"rotate"===n&&(e="deg"),t.styles.transform+=`${n}(${x+e}) `}else t.styles[n]=`${x}`;this.currentStepAnimates[this.next]=t}_animateRun(n={},x={}){let e=this.$.$refs.ani.ref;if(e)return new Promise(((t,i)=>{nvueAnimation.transition(e,{styles:n,...x},(n=>{t()}))}))}_nvueNextAnimate(n,x=0,e){let t=n[x];if(t){let{styles:i,config:l}=t;this._animateRun(i,l).then((()=>{x+=1,this._nvueNextAnimate(n,x,e)}))}else this.currentStepAnimates={},"function"==typeof e&&e(),this.isEnd=!0}step(n={}){return this.animation.step(n),this}run(n){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof n&&n()}),this.$.durationTime)}};const Kh=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function Qh(n,x){if(x)return clearTimeout(x.timer),new Wh(n,x)}Kh.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((n=>{Wh.prototype[n]=function(...x){return this.animation[n](...x),this}}));const Jh=h({name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:()=>"fade"},duration:{type:Number,default:300},styles:{type:Object,default:()=>({})},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(n){n?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject(){let n={...this.styles,"transition-duration":this.duration/1e3+"s"},x="";for(let e in n){x+=this.toLine(e)+":"+n[e]+";"}return x},transformStyles(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(n={}){n.duration&&(this.durationTime=n.duration),this.animation=Qh(Object.assign(this.config,n),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(n,e={}){if(this.animation){for(let e in n)try{"object"==typeof n[e]?this.animation[e](...n[e]):this.animation[e](n[e])}catch(Rw){x("error","at uni_modules/uni-transition/components/uni-transition/uni-transition.vue:148",`方法 ${e} 不存在`)}return this.animation.step(e),this}},run(n){this.animation&&this.animation.run(n)},open(){clearTimeout(this.timer),this.transform="",this.isShow=!0;let{opacity:n,transform:x}=this.styleInit(!1);void 0!==n&&(this.opacity=n),this.transform=x,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=Qh(this.config,this),this.tranfromInit(!1).step(),this.animation.run(),this.$emit("change",{detail:this.isShow})}),20)}))},close(n){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:n,transform:x}=this.styleInit(!1);this.opacity=n||1,this.transform=x,this.$emit("change",{detail:this.isShow})}))},styleInit(n){let x={transform:""},e=(n,e)=>{"fade"===e?x.opacity=this.animationType(n)[e]:x.transform+=this.animationType(n)[e]+" "};return"string"==typeof this.modeClass?e(n,this.modeClass):this.modeClass.forEach((x=>{e(n,x)})),x},tranfromInit(n){let x=(n,x)=>{let e=null;"fade"===x?e=n?0:1:(e=n?"-100%":"0","zoom-in"===x&&(e=n?.8:1),"zoom-out"===x&&(e=n?1.2:1),"slide-right"===x&&(e=n?"100%":"0"),"slide-bottom"===x&&(e=n?"100%":"0")),this.animation[this.animationMode()[x]](e)};return"string"==typeof this.modeClass?x(n,this.modeClass):this.modeClass.forEach((e=>{x(n,e)})),this.animation},animationType:n=>({fade:n?0:1,"slide-top":`translateY(${n?"0":"-100%"})`,"slide-right":`translateX(${n?"0":"100%"})`,"slide-bottom":`translateY(${n?"0":"100%"})`,"slide-left":`translateX(${n?"0":"-100%"})`,"zoom-in":`scaleX(${n?1:.8}) scaleY(${n?1:.8})`,"zoom-out":`scaleX(${n?1:1.2}) scaleY(${n?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:n=>n.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(x,e,t,i,l,o){return n.withDirectives((n.openBlock(),n.createElementBlock("view",{ref:"ani",animation:l.animationData,class:n.normalizeClass(t.customClass),style:n.normalizeStyle(o.transformStyles),onClick:e[0]||(e[0]=(...n)=>o.onClick&&o.onClick(...n))},[n.renderSlot(x.$slots,"default")],14,["animation"])),[[n.vShow,l.isShow]])}]]),Xh={name:"uniPopup",components:{},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"},borderRadius:{type:String}},watch:{type:{handler:function(n){this.config[n]&&this[this.config[n]](!0)},immediate:!0},isDesktop:{handler:function(n){this.config[n]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(n){this.mkclick=n},immediate:!0},isMaskClick:{handler:function(n){this.mkclick=n},immediate:!0},showPopup(n){}},data(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{backgroundColor:"transparent",borderRadius:this.borderRadius||"0",position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:"top"}},computed:{getStyles(){let n={backgroundColor:this.bg};return this.borderRadius,n=Object.assign(n,{borderRadius:this.borderRadius}),n},isDesktop(){return this.popupWidth>=500&&this.popupHeight>=500},bg(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted(){(()=>{const{windowWidth:n,windowHeight:x,windowTop:e,safeArea:t,screenHeight:i,safeAreaInsets:l}=uni.getSystemInfoSync();this.popupWidth=n,this.popupHeight=x+(e||0),t&&this.safeArea?this.safeAreaInsets=l.bottom:this.safeAreaInsets=0})()},unmounted(){this.setH5Visible()},activated(){this.setH5Visible(!this.showPopup)},deactivated(){this.setH5Visible(!0)},created(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{setH5Visible(n=!0){},closeMask(){this.maskShow=!1},disableMask(){this.mkclick=!1},clear(n){n.stopPropagation(),this.clearPropagation=!0},open(n){if(this.showPopup)return;n&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(n)||(n=this.type),this.config[n]?(this[this.config[n]](),this.$emit("change",{show:!0,type:n})):x("error","at uni_modules/uni-popup/components/uni-popup/uni-popup.vue:298","缺少类型:",n)},close(n){this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.showPopup=!1}),300)},touchstart(){this.clearPropagation=!1},onTap(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top(n){this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},n||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((()=>{this.messageChild&&"message"===this.type&&this.messageChild.timerClose()})))},bottom(n){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},n||(this.showPopup=!0,this.showTrans=!0)},center(n){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center",borderRadius:this.borderRadius||"0"},n||(this.showPopup=!0,this.showTrans=!0)},left(n){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},n||(this.showPopup=!0,this.showTrans=!0)},right(n){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},n||(this.showPopup=!0,this.showTrans=!0)}}};const Zh=h(Xh,[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("uni-transition"),Jh);return o.showPopup?(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["uni-popup",[o.popupstyle,a.isDesktop?"fixforpc-z-index":""]])},[n.createElementVNode("view",{onTouchstart:t[1]||(t[1]=(...n)=>a.touchstart&&a.touchstart(...n))},[o.maskShow?(n.openBlock(),n.createBlock(s,{key:"1",name:"mask","mode-class":"fade",styles:o.maskClass,duration:o.duration,show:o.showTrans,onClick:a.onTap},null,8,["styles","duration","show","onClick"])):n.createCommentVNode("",!0),n.createVNode(s,{key:"2","mode-class":o.ani,name:"content",styles:o.transClass,duration:o.duration,show:o.showTrans,onClick:a.onTap},{default:n.withCtx((()=>[n.createElementVNode("view",{class:n.normalizeClass(["uni-popup__wrapper",[o.popupstyle]]),style:n.normalizeStyle(a.getStyles),onClick:t[0]||(t[0]=(...n)=>a.clear&&a.clear(...n))},[n.renderSlot(x.$slots,"default",{},void 0,!0)],6)])),_:3},8,["mode-class","styles","duration","show","onClick"])],32)],2)):n.createCommentVNode("",!0)}],["__scopeId","data-v-ee521468"]]),ng="/static/icon_share.png",xg="/static/share_sina.png",eg="/static/share_weixin.png",tg="/static/share_wxc.png",ig="/static/weiboShare.png",lg={__name:"webview",setup(t){var a;const r=n.ref("新闻详情"),c=n.ref(""),u=n.ref(""),h=n.ref(!1),g=n.ref(!1),d=n.ref("");n.ref("");const p=n.ref(""),y=n.ref(""),f=n.ref(""),b=n.ref(""),v=n.ref(""),w=()=>{uni.navigateBack({fail(){uni.redirectTo({url:"/pages/index/index"})}})};i((()=>{uni.hideLoading()})),s((()=>{})),l((()=>{})),o((n=>{x("log","at pages_app/webview/webview.vue:103",n),n.title&&(r.value=n.title),n.tags&&(b.value=n.tags),n.type&&(f.value=n.type),1==n.share&&(g.value=!0),1==n.bg&&(h.value=!0,u.value="linear-gradient(to bottom,'#fff' , '#398775')");var e=0;uni.getSystemInfo({success:n=>{e=n.windowHeight},complete:()=>{}});const t=n&&(n.url||"");try{c.value=decodeURIComponent(t),p.value=n.imgPath?decodeURIComponent(n.imgPath):"https://doc.igandan.com/app/html/img/2016/20160714132557.png","live_yugao"==n.type?(y.value=n.sharetitle,v.value=y.value,d.value="分享一篇来自“肝胆相照”的会议预告:"+y.value,x("log","at pages_app/webview/webview.vue:137",v.value),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"会议直播",resource_name:v.value,resource_option:b.value}},(n=>{x("log","at pages_app/webview/webview.vue:147",n)}))):"live_old"==n.type?(y.value=n.sharetitle,d.value="分享一篇来自“肝胆相照”的历史会议:"+y.value):"live"==n.type?(y.value="肝胆相照直播:"+n.sharetitle,v.value=n.sharetitle,d.value=y.value,x("log","at pages_app/webview/webview.vue:156",v.value)):"news"==n.type&&(y.value=n.sharetitle,d.value="");let l=uni.getSystemInfoSync().statusBarHeight,o=plus.webview.create("","custom-webview",{top:l+44+"px",bottom:"0rpx"});o.loadURL(c.value);let a=getCurrentPages();var i=a[a.length-1].$getAppWebview();i.append(o),setTimeout((function(){o=i.children()[0],o.setStyle({top:l+44+"px",height:e-80,bottom:0,scalable:!0,videoFullscreen:"landscape",zIndex:-1})}),300),o.onloaded=n=>{o.show()},uni.onWindowResize((n=>{n.size.windowHeight{!function(){if(N.value)return;S=0,_.value&&E.value||T();_.value&&_.value.show(),E.value&&E.value.show(),N.value=!0}()},k=()=>{z.value.close()},_=n.ref(null),E=n.ref(null),N=n.ref(!1);let S=0;function C(n){const x=Date.now();x-S<400||(S=x,n())}const q=n.ref({screenW:0,screenH:0,panelH:0,cancelH:0,contentTop:0,iconSize:0,textSize:0});function T(){if(_.value||E.value)return;const n=plus.screen.resolutionWidth,e=plus.screen.resolutionHeight,t=uni.upx2px(520),i=uni.upx2px(20),l=50,o=uni.upx2px(80),a=uni.upx2px(100),s=uni.upx2px(90)+o,r=uni.upx2px(24);q.value={screenW:n,screenH:e,panelH:t,cancelH:a,contentTop:s,iconSize:l,textSize:r},_.value=new plus.nativeObj.View("native-share-mask",{left:"0px",top:"0px",width:n+"px",height:e+"px",zindex:99998,touchable:!0,interceptTouchEvent:!0},[{tag:"rect",id:"mask",position:{left:"0px",top:"0px",width:n+"px",height:e+"px"},color:"rgba(0,0,0,0.5)"}]),E.value=new plus.nativeObj.View("native-share-panel",{left:"0px",top:e-t+"px",width:n+"px",height:t+"px",zindex:99999,touchable:!0,interceptTouchEvent:!0},[]),E.value.drawRect({color:"#FFFFFF",radius:i,rectStyles:{}},{left:uni.upx2px(0)+"px",top:uni.upx2px(0)+"px",width:n+"px",height:t+"px"}),E.value.drawText("分享到",{left:"0px",top:uni.upx2px(20)+"px",width:n+"px",height:o+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle",weight:"500"});const c=[{id:"it-wechat",text:"微信"},{id:"it-moments",text:"朋友圈"}],u=n/c.length,h=s,g=h+l+uni.upx2px(16);x("log","at pages_app/webview/webview.vue:395","图标布局信息:",{screenW:n,itemW:u,iconSize:l,iconTop:h,contentTop:s});const d=["share_weixin.png","share_wxc.png","share_sina.png"];c.forEach(((n,e)=>{const t=e*u,i=Math.round(t+(u-l)/2),o=i,a=Math.round(h);x("log","at pages_app/webview/webview.vue:419",`图标 ${e} (${n.text}): left=${t}, itemW=${u.toFixed(2)}, iconLeft=${o}, iconTop=${a}, iconSize=50`);let s=null;try{s="_www/static/"+d[e],x("log","at pages_app/webview/webview.vue:436",`图标 ${n.text} 路径: ${s}`)}catch(Rw){x("log","at pages_app/webview/webview.vue:438","构建图标路径失败:",Rw),s=null}if(s)try{x("log","at pages_app/webview/webview.vue:445",`绘制图标 ${n.text}: 位置=(${o}, ${a}), 大小=50x50`);try{E.value.drawBitmap(s,{},{left:o+"px",top:a+"px",width:"50px",height:"50px"})}catch(c){try{E.value.drawBitmap(s,{left:o+"px",top:a+"px",width:"50px",height:"50px"})}catch(Rw){throw x("log","at pages_app/webview/webview.vue:472","drawBitmap 两种格式都失败:",c,Rw),Rw}}}catch(Rw){x("log","at pages_app/webview/webview.vue:477","绘制图标失败,使用圆形色块代替:",Rw);const t=2===e?"#E6162D":"#07C160";E.value.drawRect({color:t,radius:Math.round(25)},{left:Math.round(i)+"px",top:Math.round(h)+"px",width:Math.round(l)+"px",height:Math.round(l)+"px"})}else{const n=2===e?"#E6162D":"#07C160";E.value.drawRect({color:n,radius:Math.round(25)},{left:Math.round(i)+"px",top:Math.round(h)+"px",width:Math.round(l)+"px",height:Math.round(l)+"px"})}E.value.drawText(n.text,{left:t+"px",top:g+"px",width:u+"px",height:r+uni.upx2px(20)+"px"},{size:r+"px",color:"#666666",align:"center",verticalAlign:"top"})}));const p=t-a;E.value.drawRect({color:"#F0F0F0"},{left:"0px",top:p-1+"px",width:n+"px",height:"1px"}),E.value.drawText("取消",{left:"0px",top:p+"px",width:n+"px",height:a+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle"});_.value.addEventListener("click",(()=>{x("log","at pages_app/webview/webview.vue:555","遮罩被点击"),V()}),!1),E.value.addEventListener("click",(n=>{x("log","at pages_app/webview/webview.vue:560","面板被点击",n);const e=q.value;let t=0,i=0;if(void 0!==n.clientX&&void 0!==n.clientY?(t=n.clientX,i=n.clientY):void 0!==n.pageX&&void 0!==n.pageY?(t=n.pageX,i=n.pageY):n.touches&&n.touches.length>0?(t=n.touches[0].clientX||n.touches[0].pageX||0,i=n.touches[0].clientY||n.touches[0].pageY||0):n.changedTouches&&n.changedTouches.length>0&&(t=n.changedTouches[0].clientX||n.changedTouches[0].pageX||0,i=n.changedTouches[0].clientY||n.changedTouches[0].pageY||0),x("log","at pages_app/webview/webview.vue:582","原始坐标:",t,i),x("log","at pages_app/webview/webview.vue:583","屏幕信息:",e),!t||!i)return void x("log","at pages_app/webview/webview.vue:586","坐标无效");let l=i,o=t;i=e.screenH-e.panelH?(l=i-(e.screenH-e.panelH),o=t,x("log","at pages_app/webview/webview.vue:605","使用相对于屏幕的坐标,转换为相对视图:",o,l)):x("log","at pages_app/webview/webview.vue:612","坐标类型不确定,尝试直接使用");const a=e.panelH-e.cancelH;if(x("log","at pages_app/webview/webview.vue:617","取消区域判断: relativeY =",l,", cancelTop =",a),l>=a)return x("log","at pages_app/webview/webview.vue:624","点击了取消按钮"),void C((()=>V()));const s=e.contentTop,r=s+e.iconSize+e.textSize+uni.upx2px(20);if(x("log","at pages_app/webview/webview.vue:634","分享区域: relativeY =",l,", 范围 =",s,"到",r),l>=s&&l<=r){const n=e.screenW/c.length,t=Math.min(2,Math.max(0,Math.floor(o/n)));x("log","at pages_app/webview/webview.vue:648","点击了分享项:",t,", x =",o,", itemWidth =",n),0===t?(x("log","at pages_app/webview/webview.vue:658","执行微信分享"),C((()=>{A(),V()}))):1===t?(x("log","at pages_app/webview/webview.vue:664","执行朋友圈分享"),C((()=>{I(),V()}))):2===t&&x("log","at pages_app/webview/webview.vue:670","执行微博分享")}else x("log","at pages_app/webview/webview.vue:675","点击位置不在分享区域内, relativeY =",l,", 需要范围:",s,"到",r)}),!1)}function V(){N.value&&(_.value&&_.value.hide(),E.value&&E.value.hide(),N.value=!1)}const A=()=>{"live"!=f.value&&"live_yugao"!=f.value||uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"会议直播",resource_name:v.value,resource_option:b.value}}),uni.downloadFile({url:p.value,success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneSession",type:0,title:y.value,summary:d.value,href:c.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/webview/webview.vue:745","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/webview/webview.vue:748","fail:"+JSON.stringify(n))}})}})}}),k()};l((()=>{V()})),s((()=>{try{_.value&&_.value.close&&_.value.close(),E.value&&E.value.close&&E.value.close()}catch(Rw){}_.value=null,E.value=null,N.value=!1}));const I=()=>{"live"!=f.value&&"live_yugao"!=f.value||uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"会议直播",resource_name:v.value,resource_option:b.value}}),uni.downloadFile({url:p.value,success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneTimeline",type:0,title:y.value,summary:d.value,href:c.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/webview/webview.vue:856","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/webview/webview.vue:859","fail:"+JSON.stringify(n))}})},fail:function(n){x("log","at pages_app/webview/webview.vue:864","fail:"+JSON.stringify(n))}})}}),k()},B=()=>{uni.share({provider:"sinaweibo",type:0,title:y.value,summary:d.value,href:c.value,imageUrl:ig,success:function(n){x("log","at pages_app/webview/webview.vue:906","分享成功")},fail:function(n){x("log","at pages_app/webview/webview.vue:909","fail:"+JSON.stringify(n))}}),k()};return(x,t)=>{const i=e(n.resolveDynamicComponent("uni-nav-bar"),m),l=e(n.resolveDynamicComponent("uni-popup"),Zh);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"container",style:n.normalizeStyle({backgroundColor:u.value})},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(i,{"left-icon":"left",title:r.value,onClickLeft:w,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[g.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"collect-img",onClick:j},[n.createElementVNode("image",{class:"share-img-icon",src:n.unref(ng),mode:"aspectFill"},null,8,["src"])])):n.createCommentVNode("",!0)])])),_:1},8,["title"])])],4),n.createVNode(l,{ref_key:"shareRef",ref:z,type:"bottom",safeArea:"",backgroundColor:"#fff"},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"share-popup"},[n.createElementVNode("view",{class:"share-title"},"分享到"),n.createElementVNode("view",{class:"share-content"},[n.createElementVNode("view",{class:"share-item",onClick:A},[n.createElementVNode("view",{class:"share-icon wechat-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(eg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"微信")]),n.createElementVNode("view",{class:"share-item",onClick:I},[n.createElementVNode("view",{class:"share-icon moments-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(tg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"朋友圈")]),n.createElementVNode("view",{class:"share-item",onClick:B},[n.createElementVNode("view",{class:"share-icon weibo-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(xg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"新浪微博")])]),n.createElementVNode("view",{class:"share-cancel",onClick:k},[n.createElementVNode("text",null,"取消")])])])),_:1},512)],64)}}},og="/static/icon_book_collect_sel.png",ag="/static/icon_book_collect_nor.png",sg={__name:"webviewClass",setup(t){var a;const r=n.ref([]),c=n.ref("新闻详情"),u=n.ref(""),h=n.ref(""),g=n.ref(""),p=n.ref(!1),y=n.ref(!1),f=n.ref("");n.ref("");const b=n.ref(""),v=n.ref(""),w=n.ref(""),z=n.ref(0),j=n.ref(""),k=n.ref(0),_=n.ref(0),E=n.ref(0),N=n.ref(""),S=n.ref(88),C=n.ref(55),q=n.ref(!1),T=n.ref(null),V=n.ref(""),A=n.ref({width:"100%",top:S.value,bottom:C.value}),I=()=>{const n=uni.getSystemInfoSync(),x=Number(n.statusBarHeight||0),e=Number(n.safeAreaInsets&&n.safeAreaInsets.bottom||0);S.value=Math.round(x+44),C.value=Math.round(55+e),A.value={width:"100%",top:S.value,bottom:C.value},q.value&&T.value&&T.value.setStyle({top:`${S.value}px`,bottom:`${C.value}px`,scalable:!0,videoFullscreen:"landscape",zIndex:-1})},B=()=>{I()},D=()=>{I()},M=()=>{x("log","at pages_app/webview/webviewClass.vue:174","添加积分1"),Fl.addBonusPointsN({score_type:5}).then((n=>{x("log","at pages_app/webview/webviewClass.vue:180","添加积分2"),x("log","at pages_app/webview/webviewClass.vue:181",n),n.code})).catch((n=>{uni.showModal({title:"提示",content:res.message,showCancel:!1,success:n=>{n.confirm}})}))},O=()=>{x("log","at pages_app/webview/webviewClass.vue:266","收藏状态"+z.value),0==z.value?Fl.getCollect({other_uuid:w.value,user_uuid:N.value,type:"huanjiao_news"==u.value?1:2,title:v.value,path:h.value.replace($l,""),readnum:k.value,imgpath:j.value.indexOf("http")>-1?j.value:$l+j.value,public_name:v.value}).then((n=>{200==n.code&&(uni.showToast({title:"收藏成功",icon:"none"}),"huanjiao_news"==u.value?F():$(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"collect",page_type:"huanjiao_news"==u.value?"肝胆新闻":"患教文库",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:238",n)})))})):Fl.getDiscollect({other_uuid:w.value,user_uuid:N.value,type:"huanjiao_news"==u.value?1:2}).then((n=>{x("log","at pages_app/webview/webviewClass.vue:251",n),200==n.code&&(uni.showToast({title:"取消收藏成功",icon:"none"}),"huanjiao_news"==u.value?F():$())}))},R=()=>{0==E.value?P():L()},P=()=>{Fl.getAgree({news_article_uuid:w.value,user_uuid:N.value,type:"huanjiao_news"==u.value?1:2}).then((n=>{"huanjiao_news"==u.value?F():$(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"like",page_type:"huanjiao_news"==u.value?"肝胆新闻":"患教文库",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:303",n)}))}))},L=()=>{Fl.getDisagree({news_article_uuid:w.value,user_uuid:N.value,type:"huanjiao_news"==u.value?1:2}).then((n=>{x("log","at pages_app/webview/webviewClass.vue:315",n),"huanjiao_news"==u.value?F():$()}))},F=(n=!1)=>{Fl.getNewsDetail({uuid:w.value}).then((e=>{x("log","at pages_app/webview/webviewClass.vue:339",e),200==e.code&&(V.value=e.data.tags?e.data.tags:"",n&&uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"肝胆新闻",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:352",n)})),z.value=e.data.isCollection,k.value=e.data.readnum,_.value=e.data.agreenum,E.value=e.data.isAgree)}))},U=n=>n<1e4?n:(n/1e4).toFixed(1)+"w",$=(n=!1)=>{Fl.getKePuCollection({uuid:w.value,user_uuid:N.value}).then((e=>{x("log","at pages_app/webview/webviewClass.vue:376",e.data),200==e.code&&(n&&uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"患教文库",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:388",n)})),z.value=e.data.isCollection,k.value=e.data.readnum,_.value=e.data.agreenum,E.value=e.data.isAgree)}))},H=()=>{on(),an(),uni.navigateBack({delta:1,fail(){uni.redirectTo({url:"/pages/index/index"})}})};n.ref(null);const Y=n=>{try{if(!n)return;const x=getCurrentPages(),e=x[x.length-1],t=e&&e.$getAppWebview?e.$getAppWebview():null;if(!t)return;T.value&&T.value.close&&(T.value.close(),T.value=null);const i=plus.webview.create("","webview-class-content",{top:`${S.value}px`,bottom:`${C.value}px`,scalable:!0,videoFullscreen:"landscape",zIndex:-1});i.loadURL(n),t.append(i),T.value=i}catch(e){x("log","at pages_app/webview/webviewClass.vue:435","createAppPlusWebview error:",e)}};i((()=>{uni.$on("selectedChatPatientsSingle",(n=>{x("log","at pages_app/webview/webviewClass.vue:456","监听数据"),x("log","at pages_app/webview/webviewClass.vue:457",n),r.value=n.patients,"huanjiao"==u.value&&(async()=>{const n=await Fl.addGroupSendMsg4YunXin({patient_user_uuid:r.value.map((n=>n.uuid)).join(","),msg_content:w.value,msg_type:3});200==n.code?uni.showToast({title:"推荐成功",icon:"none"}):uni.showToast({title:n.msg,icon:"none"})})()})),B(),setTimeout((()=>{uni.hideLoading()}),2e3)})),s((()=>{"function"==typeof uni.offWindowResize&&uni.offWindowResize(D)})),l((()=>{})),o((n=>{uni.showLoading({title:"加载中",mask:!0}),B(),q.value=!0,"function"==typeof uni.onWindowResize&&uni.onWindowResize(D);const e=uni.getStorageSync("userInfo");n.type&&(u.value=n.type),n.tags&&(V.value=n.tags),N.value=e.uuid,n.title&&(c.value=n.title),n.uuid&&(w.value=n.uuid),1==n.share&&(y.value=!0),1==n.bg&&(p.value=!0,g.value="linear-gradient(to bottom,'#fff' , '#398775')"),Fl.getOutRead({uuid:w.value,type:"huanjiao_news"==u.value?1:2}).then((n=>{x("log","at pages_app/webview/webviewClass.vue:330",n)}));const t=n&&(n.url||n.href||n.link||n.src||"");t||uni.showToast({title:"未获取到网页链接",icon:"none"});try{h.value=decodeURIComponent(t),x("log","at pages_app/webview/webviewClass.vue:528",h.value),j.value=decodeURIComponent(n.imgPath),b.value="https://doc.igandan.com/app/html/img/2016/20160714132557.png",x("log","at pages_app/webview/webviewClass.vue:535",b.value),"live_yugao"==n.type?(v.value=n.sharetitle,f.value="分享一篇来自“肝胆相照”的会议预告:"+v.value):"live_old"==n.type?(v.value=n.sharetitle,f.value="分享一篇来自“肝胆相照”的历史会议:"+v.value):"live"==n.type?(v.value="肝胆相照直播:"+n.sharetitle,f.value=v.value):"news"==n.type?(v.value=n.sharetitle,f.value=""):"huanjiao"!=n.type&&"huanjiao_news"!=n.type||(x("log","at pages_app/webview/webviewClass.vue:550",n.sharetitle),x("log","at pages_app/webview/webviewClass.vue:551",n.summary),v.value=n.sharetitle,f.value=n.summary),"huanjiao_news"==u.value?F(!0):$(!0),ln(),Y(h.value)}catch(Rw){h.value=t,Y(h.value)}}));const G=n.ref(null);null==(a=G.value)||a.open();const W=()=>{!function(){if(X.value)return;Q.value&&J.value||ln();Q.value&&Q.value.show(),J.value&&J.value.show(),X.value=!0}()},K=()=>{G.value.close()},Q=n.ref(null),J=n.ref(null),X=n.ref(!1),Z=n.ref(!1),nn=n.ref(null),xn=n.ref(null),en=n.ref(!1);n.ref(!1),n.ref(!1),n.ref(0),n.ref({screenW:0,screenH:0,panelW:0,panelH:0,panelLeft:0,panelTop:0,titleH:0,itemH:0});const tn=n.ref({screenW:0,screenH:0,panelH:0,cancelH:0,contentTop:0,iconSize:0,textSize:0});function ln(){if(Q.value||J.value)return;const n=plus.screen.resolutionWidth,e=plus.screen.resolutionHeight,t=uni.upx2px(520),i=uni.upx2px(20),l=50,o=uni.upx2px(80),a=uni.upx2px(100),s=uni.upx2px(90)+o,r=uni.upx2px(24);tn.value={screenW:n,screenH:e,panelH:t,cancelH:a,contentTop:s,iconSize:l,textSize:r},Q.value=new plus.nativeObj.View("native-share-mask",{left:"0px",top:"0px",width:n+"px",height:e+"px",zindex:99998,touchable:!0,interceptTouchEvent:!0},[{tag:"rect",id:"mask",position:{left:"0px",top:"0px",width:n+"px",height:e+"px"},color:"rgba(0,0,0,0.5)"}]),J.value=new plus.nativeObj.View("native-share-panel",{left:"0px",top:e-t+"px",width:n+"px",height:t+"px",zindex:99999,touchable:!0,interceptTouchEvent:!0},[]),J.value.drawRect({color:"#FFFFFF",radius:i,rectStyles:{}},{left:uni.upx2px(0)+"px",top:uni.upx2px(0)+"px",width:n+"px",height:t+"px"}),J.value.drawText("分享到",{left:"0px",top:uni.upx2px(20)+"px",width:n+"px",height:o+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle",weight:"500"});const c=[{id:"it-wechat",text:"微信"},{id:"it-moments",text:"朋友圈"}],u=n/c.length,h=s,g=h+l+uni.upx2px(16);x("log","at pages_app/webview/webviewClass.vue:780","图标布局信息:",{screenW:n,itemW:u,iconSize:l,iconTop:h,contentTop:s});const d=["share_weixin.png","share_wxc.png"];c.forEach(((n,e)=>{const t=e*u,i=Math.round(t+(u-l)/2),o=i,a=Math.round(h);x("log","at pages_app/webview/webviewClass.vue:809",`图标 ${e} (${n.text}): left=${t}, itemW=${u.toFixed(2)}, iconLeft=${o}, iconTop=${a}, iconSize=50`);let s=null;try{s="_www/static/"+d[e],x("log","at pages_app/webview/webviewClass.vue:826",`图标 ${n.text} 路径: ${s}`)}catch(Rw){x("log","at pages_app/webview/webviewClass.vue:828","构建图标路径失败:",Rw),s=null}if(s)try{x("log","at pages_app/webview/webviewClass.vue:835",`绘制图标 ${n.text}: 位置=(${o}, ${a}), 大小=50x50`);try{J.value.drawBitmap(s,{},{left:o+"px",top:a+"px",width:"50px",height:"50px"})}catch(c){try{J.value.drawBitmap(s,{left:o+"px",top:a+"px",width:"50px",height:"50px"})}catch(Rw){throw x("log","at pages_app/webview/webviewClass.vue:862","drawBitmap 两种格式都失败:",c,Rw),Rw}}}catch(Rw){x("log","at pages_app/webview/webviewClass.vue:867","绘制图标失败,使用圆形色块代替:",Rw);const t=2===e?"#E6162D":"#07C160";J.value.drawRect({color:t,radius:Math.round(25)},{left:Math.round(i)+"px",top:Math.round(h)+"px",width:Math.round(l)+"px",height:Math.round(l)+"px"})}else{const n=2===e?"#E6162D":"#07C160";J.value.drawRect({color:n,radius:Math.round(25)},{left:Math.round(i)+"px",top:Math.round(h)+"px",width:Math.round(l)+"px",height:Math.round(l)+"px"})}J.value.drawText(n.text,{left:t+"px",top:g+"px",width:u+"px",height:r+uni.upx2px(20)+"px"},{size:r+"px",color:"#666666",align:"center",verticalAlign:"top"})}));const p=t-a;J.value.drawRect({color:"#F0F0F0"},{left:"0px",top:p-1+"px",width:n+"px",height:"1px"}),J.value.drawText("取消",{left:"0px",top:p+"px",width:n+"px",height:a+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle"});const m=()=>!Z.value&&(Z.value=!0,setTimeout((()=>{Z.value=!1}),300),!0);Q.value.addEventListener("touchend",(()=>{m()&&(x("log","at pages_app/webview/webviewClass.vue:954","遮罩被点击"),on())}),!1),J.value.addEventListener("touchend",(n=>{if(!m())return;x("log","at pages_app/webview/webviewClass.vue:960","面板被点击",n);const e=tn.value;let t=0,i=0;if(void 0!==n.clientX&&void 0!==n.clientY?(t=n.clientX,i=n.clientY):void 0!==n.pageX&&void 0!==n.pageY?(t=n.pageX,i=n.pageY):n.touches&&n.touches.length>0?(t=n.touches[0].clientX||n.touches[0].pageX||0,i=n.touches[0].clientY||n.touches[0].pageY||0):n.changedTouches&&n.changedTouches.length>0&&(t=n.changedTouches[0].clientX||n.changedTouches[0].pageX||0,i=n.changedTouches[0].clientY||n.changedTouches[0].pageY||0),x("log","at pages_app/webview/webviewClass.vue:982","原始坐标:",t,i),x("log","at pages_app/webview/webviewClass.vue:983","屏幕信息:",e),!t||!i)return void x("log","at pages_app/webview/webviewClass.vue:986","坐标无效");let l=i,o=t;i=e.screenH-e.panelH?(l=i-(e.screenH-e.panelH),o=t,x("log","at pages_app/webview/webviewClass.vue:1005","使用相对于屏幕的坐标,转换为相对视图:",o,l)):x("log","at pages_app/webview/webviewClass.vue:1012","坐标类型不确定,尝试直接使用");const a=e.panelH-e.cancelH;if(x("log","at pages_app/webview/webviewClass.vue:1017","取消区域判断: relativeY =",l,", cancelTop =",a),l>=a)return x("log","at pages_app/webview/webviewClass.vue:1024","点击了取消按钮"),void on();const s=e.contentTop,r=s+e.iconSize+e.textSize+uni.upx2px(20);if(x("log","at pages_app/webview/webviewClass.vue:1034","分享区域: relativeY =",l,", 范围 =",s,"到",r),l>=s&&l<=r){const n=e.screenW/c.length,t=Math.min(c.length-1,Math.max(0,Math.floor(o/n)));x("log","at pages_app/webview/webviewClass.vue:1051","点击了分享项:",t,", x =",o,", itemWidth =",n),0===t?(x("log","at pages_app/webview/webviewClass.vue:1076","执行微信分享"),sn(),on()):1===t&&(x("log","at pages_app/webview/webviewClass.vue:1080","执行朋友圈分享"),rn(),on())}else x("log","at pages_app/webview/webviewClass.vue:1086","点击位置不在分享区域内, relativeY =",l,", 需要范围:",s,"到",r)}),!1)}function on(){X.value&&(Q.value&&Q.value.hide(),J.value&&J.value.hide(),X.value=!1)}function an(){en.value&&(nn.value&&nn.value.hide(),xn.value&&xn.value.hide(),en.value=!1)}const sn=()=>{M(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"huanjiao_news"==u.value?"肝胆新闻":"患教文库",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:1373",n)})),uni.downloadFile({url:b.value,success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneSession",type:0,title:v.value,summary:f.value,href:h.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/webview/webviewClass.vue:1393","分享微信成功"),x("log","at pages_app/webview/webviewClass.vue:1394","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/webview/webviewClass.vue:1397","fail:"+JSON.stringify(n))}})}})}}),K()};l((()=>{on(),an()})),s((()=>{try{T.value&&T.value.close&&T.value.close(),Q.value&&Q.value.close&&Q.value.close(),J.value&&J.value.close&&J.value.close(),nn.value&&nn.value.close&&nn.value.close(),xn.value&&xn.value.close&&xn.value.close()}catch(Rw){}Q.value=null,J.value=null,nn.value=null,xn.value=null,T.value=null,X.value=!1,en.value=!1}));const rn=()=>{M(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"huanjiao_news"==u.value?"肝胆新闻":"患教文库",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:1502",n)})),uni.downloadFile({url:b.value,success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneTimeline",type:0,title:v.value,summary:f.value,href:h.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/webview/webviewClass.vue:1522","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/webview/webviewClass.vue:1526","fail:"+JSON.stringify(n))}})},fail:function(n){x("log","at pages_app/webview/webviewClass.vue:1531","fail:"+JSON.stringify(n))}})}}),K()},cn=()=>{uni.share({provider:"sinaweibo",type:0,title:v.value,summary:f.value,href:h.value,imageUrl:ig,success:function(n){x("log","at pages_app/webview/webviewClass.vue:1573","分享成功")},fail:function(n){x("log","at pages_app/webview/webviewClass.vue:1576","fail:"+JSON.stringify(n))}}),K()};return(x,t)=>{const i=e(n.resolveDynamicComponent("uni-icons"),d),l=e(n.resolveDynamicComponent("uni-nav-bar"),m),o=e(n.resolveDynamicComponent("uni-popup"),Zh);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"container",style:n.normalizeStyle({backgroundColor:g.value})},[n.createElementVNode("view",{class:"navbox",style:{"z-index":"9999999999999999999999999999999"}},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(l,{title:c.value,onClickLeft:[H,H],color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{left:n.withCtx((()=>[n.createElementVNode("view",{class:"back-hit",onClick:n.withModifiers(H,["stop"])},[n.createVNode(i,{type:"left",size:"22",color:"#8B2316"})])])),right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[y.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"collect-img",onClick:W},[n.createElementVNode("image",{class:"share-img-icon",src:n.unref(ng),mode:"aspectFill"},null,8,["src"])])):n.createCommentVNode("",!0)])])),_:1},8,["title"])])],4),h.value&&!q.value?(n.openBlock(),n.createElementBlock("web-view",{key:0,src:h.value,"webview-styles":A.value},null,8,["src","webview-styles"])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"bottom-box"},[n.createElementVNode("view",{class:"bottom-cell"},[n.createElementVNode("image",{class:"bottom-cell-img",src:n.unref("/static/reading.png")},null,8,["src"]),n.createElementVNode("text",{class:"bottom-cell-text"},n.toDisplayString(U(k.value)),1)]),n.createElementVNode("view",{class:"bottom-cell",onClick:R},[n.createElementVNode("image",{class:"bottom-cell-img",src:1==E.value?n.unref("/static/argee_sure.png"):n.unref("/static/argee_no.png")},null,8,["src"]),n.createElementVNode("text",{class:"bottom-cell-text"},n.toDisplayString(U(_.value)),1)]),n.createElementVNode("view",{class:"bottom-cell",onClick:O},[n.createElementVNode("image",{class:"bottom-cell-img",src:1==z.value?n.unref(og):n.unref(ag)},null,8,["src"]),n.createElementVNode("text",{class:"bottom-cell-text"},"收藏")]),n.createElementVNode("view",{class:"bottom-cell",onClick:W},[n.createElementVNode("image",{class:"bottom-cell-img",src:n.unref(ng)},null,8,["src"]),n.createElementVNode("text",{class:"bottom-cell-text"},"分享")])]),n.createVNode(o,{ref_key:"shareRef",ref:G,type:"bottom",safeArea:"",backgroundColor:"#fff"},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"share-popup"},[n.createElementVNode("view",{class:"share-title"},"分享到"),n.createElementVNode("view",{class:"share-content"},[n.createElementVNode("view",{class:"share-item",onClick:sn},[n.createElementVNode("view",{class:"share-icon wechat-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(eg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"微信")]),n.createElementVNode("view",{class:"share-item",onClick:rn},[n.createElementVNode("view",{class:"share-icon moments-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(tg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"朋友圈")]),n.createElementVNode("view",{class:"share-item",onClick:cn},[n.createElementVNode("view",{class:"share-icon weibo-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(xg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"新浪微博")])]),n.createElementVNode("view",{class:"share-cancel",onClick:K},[n.createElementVNode("text",null,"取消")])])])),_:1},512)],64)}}},rg=h({__name:"scanLogin",setup(t){n.ref(!1);const i=n.ref("");o((n=>{x("log","at pages_app/scanLogin/scanLogin.vue:42","扫码登录页面加载完成",n),n.code&&(i.value=n.code)}));const l=n=>{let e=uni.getStorageSync("userInfo"),t="";t=n?"watchliveTo}"+i.value+"}"+e.uuid+","+e.realName+","+e.photo:"watchliveCancel}"+i.value+"}"+e.uuid+","+e.realName+","+e.photo;let l=_h(t,"deoep09_klodLdAo");uni.request({url:Ih+"/watchlive/sendWebsocketMsg",method:"POST",data:{message:l},header:{"Content-Type":"application/x-www-form-urlencoded"},success:e=>{x("log","at pages_app/scanLogin/scanLogin.vue:66",e),1==e.data.code?(uni.navigateBack(),n&&uni.showToast({title:"操作成功",icon:"none"})):uni.showToast({title:e.data.message,icon:"none"})}})};return(x,t)=>{const i=e(n.resolveDynamicComponent("up-image"),Jn);return n.openBlock(),n.createElementBlock("view",{class:"scan-login-container"},[n.createVNode(y,{title:"扫码登录"}),n.createElementVNode("view",{class:"main-content"},[n.createElementVNode("view",{class:"connection-area"},[n.createVNode(i,{src:n.unref("/static/pcquer.png"),width:"420rpx",height:"187rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"tips-text"},[n.createElementVNode("text",{class:"main-tip"},"确认电脑登录"),n.createElementVNode("text",{class:"sub-tip"},"为确保账号安全,请确认是您本人操作")]),n.createElementVNode("view",{class:"button-area"},[n.createElementVNode("button",{class:"confirm-btn",onClick:t[0]||(t[0]=n=>l(!0))},"确认登录"),n.createElementVNode("button",{class:"cancel-btn",onClick:t[1]||(t[1]=n=>l(!1))},"取消登录")])])])}}},[["__scopeId","data-v-a938a4ce"]]),cg=h({__name:"meetHistroySearch",setup(t){const i=n.ref(""),l=n.ref(!1),o=n.ref(!1),a=n.ref(!0),s=n.ref(!0),r=n.ref(1),c=n.ref(10),u=n.ref([]),h=()=>{i.value?(r.value=1,a.value=!0,u.value=[],p()):uni.showToast({title:"请输入搜索内容",icon:"none"})},g=()=>{uni.navigateBack({fail:()=>{uni.redirectTo({url:"/pages/index/index"})}})},p=async(n=!1)=>{if(!o.value||n){n?l.value=!0:o.value=!0;try{const e={page:r.value,pageSize:c.value,year:"",title:i.value,month:""};x("log","at pages_app/meetHistroySearch/meetHistroySearch.vue:176","获取会议列表参数:",e);const t=await Fl.meetingHistoryList(e);if(t&&200===t.code){const{list:e,totalPage:i,pageNumber:l}=t.data||{};n?(u.value=e||[],r.value=1):u.value=[...u.value,...e||[]],x("log","at pages_app/meetHistroySearch/meetHistroySearch.vue:188","会议列表数据:",u.value),a.value=i>l,s.value=u.value.length>0}}catch(e){x("error","at pages_app/meetHistroySearch/meetHistroySearch.vue:193","加载会议数据失败:",e)}finally{l.value=!1,o.value=!1}}},m=()=>{r.value=1,a.value=!0,p(!0)},y=()=>{a.value&&!o.value&&(r.value++,p())},f=n=>n?Xl(n).format("YYYY.MM.DD"):"";return(x,t)=>{const r=e(n.resolveDynamicComponent("uni-icons"),d),c=e(n.resolveDynamicComponent("up-image"),Jn);return n.openBlock(),n.createElementBlock("view",{class:"page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createElementVNode("view",{class:"search-header"},[n.createElementVNode("view",{class:"back-icon",onClick:g},[n.createVNode(r,{type:"left",size:"30",color:"#8B2316"})]),n.createElementVNode("view",{class:"search-input-wrapper"},[n.createElementVNode("view",{class:"search-icon"},[n.createVNode(r,{type:"search",size:"20",color:"#999"})]),n.withDirectives(n.createElementVNode("input",{class:"search-input",placeholder:"搜索会议关键字","onUpdate:modelValue":t[0]||(t[0]=n=>i.value=n),onInput:t[1]||(t[1]=(...n)=>x.onSearchInput&&x.onSearchInput(...n)),onConfirm:t[2]||(t[2]=(...n)=>x.onSearchConfirm&&x.onSearchConfirm(...n)),"confirm-type":"search"},null,544),[[n.vModelText,i.value]]),i.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"clear-icon",onClick:t[3]||(t[3]=(...n)=>x.clearSearch&&x.clearSearch(...n))},[n.createVNode(r,{type:"clear",size:"20",color:"#999"})])):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"cancel-btn",onClick:h},[n.createElementVNode("text",{class:"cancel-text"},"搜索")])])]),n.createElementVNode("scroll-view",{class:"scroll-content","scroll-y":"true","refresher-enabled":"true","refresher-triggered":l.value,"refresher-threshold":100,onRefresherrefresh:m,onScrolltolower:y,"lower-threshold":100},[u.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(u.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"meeting-item",onClick:n=>(n=>{const x=encodeURIComponent(n.path);let e=encodeURIComponent("https://doc.igandan.com/app/html/img/2016/20160714132557.png");uni.navigateTo({url:`/pages_app/webview/webview?url=${x}&sharetitle=${n.title}&bg=1&type=live_old&imgPath=${e}&share=1&title=会议详情`})})(x),key:x.id||e},[n.createElementVNode("view",{class:"meeting-content"},[n.createElementVNode("text",{class:"meeting-title"},n.toDisplayString(x.title||x.name),1),n.createElementVNode("view",{class:"meeting-info"},[n.createElementVNode("view",{class:"meeting-time"},[n.createElementVNode("view",{class:"timebox"},[n.createVNode(c,{src:n.unref(Fc),width:"24rpx",height:"24rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"text"},n.toDisplayString(f(x.begin_date)),1),f(x.end_date)!=f(x.begin_date)?(n.openBlock(),n.createElementBlock("view",{key:0,class:"text"},n.toDisplayString("-"+f(x.end_date)),1)):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"meeting-location"},[n.createVNode(r,{type:"location",size:"14",color:"#999"}),n.createTextVNode(" "+n.toDisplayString(x.location),1)])])])],8,["onClick"])))),128))])):l.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)])),s.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more"},[o.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more-content"},[n.createVNode(r,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",{class:"load-more-text"},"加载中...")])):a.value&&u.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:1,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"上拉加载更多")])):u.value.length>0&&!o.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"没有更多数据了")])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],40,["refresher-triggered"])])}}},[["__scopeId","data-v-772219d3"]]),ug=h({__name:"meetHistroy",setup(t){const a=n.ref(!1),s=n.ref(!1),r=n.ref(""),c=n.ref(""),u=n.ref(""),h=n.ref(""),g=n.ref(!1),p=n.ref(!1),y=n.ref(!0),f=n.ref(!0),b=n.ref(1),v=n.ref(10),w=n.ref([]),z=()=>{uni.navigateBack({fail:()=>{uni.redirectTo({url:"/pages/index/index"})}})};i((()=>{})),l((()=>{}));const j=n.ref([]),k=n.ref([]),_=()=>{const n=[],e=new Date,t=e.getFullYear(),i=e.getMonth()+1;if(r.value&&r.value===t.toString())for(let x=1;x<=i;x++)n.push({code:x,name:`${x}月`});else for(let x=1;x<=12;x++)n.push({code:x,name:`${x}月`});k.value=n,x("log","at pages_app/meetHistroy/meetHistroy.vue:234","生成月份列表:",k.value)};n.onMounted((()=>{(()=>{const n=[],e=(new Date).getFullYear();for(let x=0;x<10;x++){const t=e-x;n.push({value:t.toString(),label:`${t}年`,year:t})}j.value=n,x("log","at pages_app/meetHistroy/meetHistroy.vue:202","生成年份列表:",j.value)})(),_()}));const E=()=>{Ul({url:"/pages_app/meetHistroySearch/meetHistroySearch"})};o((()=>{b.value=1,y.value=!0,N()}));const N=async(n=!1)=>{if(!p.value||n){n?g.value=!0:p.value=!0;try{const e={page:b.value,pageSize:v.value,year:r.value,title:"",month:u.value};x("log","at pages_app/meetHistroy/meetHistroy.vue:272","获取会议列表参数:",e);const t=await Fl.meetingHistoryList(e);if(t&&200===t.code){const{list:x,totalPage:e,pageNumber:i}=t.data||{};n?(w.value=x||[],b.value=1):w.value=[...w.value,...x||[]],y.value=e>i,f.value=w.value.length>0}}catch(e){x("error","at pages_app/meetHistroy/meetHistroy.vue:289","加载会议数据失败:",e)}finally{g.value=!1,p.value=!1}}},S=()=>{b.value=1,y.value=!0,N(!0)},C=()=>{y.value&&!p.value&&(b.value++,N())},q=()=>{a.value=!a.value},T=()=>{a.value=!1},V=()=>{""!==r.value?s.value=!s.value:uni.showToast({title:"请先选择年份",icon:"none"})},A=()=>{s.value=!1};return(t,i)=>{const l=e(n.resolveDynamicComponent("uni-icons"),d),o=e(n.resolveDynamicComponent("uni-nav-bar"),m),b=e(n.resolveDynamicComponent("up-image"),Jn);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(o,{"left-icon":"left",title:"过往会议",onClickLeft:z,color:"#8B2316",border:!1,backgroundColor:"#eee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-right"},[n.createVNode(l,{type:"search",size:"24",color:"#8B2316",onClick:E})])])),_:1})]),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"filter-bar"},[n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:c.value}]),onClick:q},[n.createElementVNode("text",null,n.toDisplayString(c.value?c.value:"会议年份"),1),n.createVNode(b,{src:c.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:h.value}]),onClick:V},[n.createElementVNode("text",null,n.toDisplayString(h.value?h.value:"会议月份"),1),n.createVNode(b,{src:h.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2)]),n.createElementVNode("scroll-view",{class:"scroll-content","scroll-y":"true","refresher-enabled":"true","refresher-triggered":g.value,"refresher-threshold":100,onRefresherrefresh:S,onScrolltolower:C,"lower-threshold":100},[w.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(w.value,((x,e)=>{return n.openBlock(),n.createElementBlock("view",{class:"meeting-item",onClick:n=>(n=>{const x=encodeURIComponent(n.path);let e=encodeURIComponent("https://doc.igandan.com/app/html/img/2016/20160714132557.png");uni.navigateTo({url:`/pages_app/webview/webview?url=${x}&sharetitle=${n.title}&bg=1&type=live_old&imgPath=${e}&share=1&title=会议详情`})})(x),key:x.id||e},[n.createElementVNode("view",{class:"meeting-content"},[n.createElementVNode("text",{class:"meeting-title"},n.toDisplayString(x.title||x.name),1),n.createElementVNode("view",{class:"meeting-info"},[n.createElementVNode("view",{class:"meeting-time"},[n.createElementVNode("view",{class:"timebox"},[n.createVNode(b,{src:n.unref(Fc),width:"24rpx",height:"24rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"text"},n.toDisplayString((t=x.begin_date,t?Xl(t).format("YYYY.MM.DD"):"")),1)]),n.createElementVNode("view",{class:"meeting-location"},[n.createVNode(l,{type:"location",size:"14",color:"#999"}),n.createTextVNode(" "+n.toDisplayString(x.location),1)])])])],8,["onClick"]);var t})),128))])):g.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)])),f.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more"},[p.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more-content"},[n.createVNode(l,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",{class:"load-more-text"},"加载中...")])):y.value&&w.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:1,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"上拉加载更多")])):w.value.length>0&&!p.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"没有更多数据了")])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],40,["refresher-triggered"]),a.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"time-popup",onClick:T},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[0]||(i[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(j.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:r.value===e.value}]),key:t,onClick:n=>(n=>{r.value=n.value,c.value=n.label,x("log","at pages_app/meetHistroy/meetHistroy.vue:324","选择年份:",n.label),_(),u.value="",N(!0),T()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.label),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),s.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"time-popup",onClick:A},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[1]||(i[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(k.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:u.value===e.code}]),key:t,onClick:n=>(n=>{u.value=n.code,h.value=n.name,x("log","at pages_app/meetHistroy/meetHistroy.vue:358","选择月份:",n.name),N(!0),A()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.name),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0)])],64)}}},[["__scopeId","data-v-138d212b"]]),hg={en:{"uni-load-more.contentdown":"Pull up to show more","uni-load-more.contentrefresh":"loading...","uni-load-more.contentnomore":"No more data"},"zh-Hans":{"uni-load-more.contentdown":"上拉显示更多","uni-load-more.contentrefresh":"正在加载...","uni-load-more.contentnomore":"没有更多数据了"},"zh-Hant":{"uni-load-more.contentdown":"上拉顯示更多","uni-load-more.contentrefresh":"正在加載...","uni-load-more.contentnomore":"沒有更多數據了"}};let gg;setTimeout((()=>{gg=uni.getSystemInfoSync().platform}),16);const{t:dg}=cx(hg);const pg=h({name:"UniLoadMore",emits:["clickLoadMore"],props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},iconType:{type:String,default:"auto"},iconSize:{type:Number,default:24},color:{type:String,default:"#777777"},contentText:{type:Object,default:()=>({contentdown:"",contentrefresh:"",contentnomore:""})},showText:{type:Boolean,default:!0}},data:()=>({webviewHide:!1,platform:gg,imgBase64:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QzlBMzU3OTlEOUM0MTFFOUI0NTZDNERBQURBQzI4RkUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QzlBMz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1WhD1Sc8p1d2oL7XGiRKp8F4A2i8K/nfI+y/gsTDJ/YC/8+AD5Uh04KHiGl+cIFPnBDDrPMjwRGkLXyxO4VGbfQWnDH2v0bVWE3C9QOXlepbgjEfIJQI6XDG3z5ahD9cw2pS78ipB85wyScNTvsVzlzzhL8/jRrnmVjfFJK/m3m4nj9vbgQTguT8XZTjsm672R5uJKEaQmBI/c58gyus8ZDagLpEVSJBIyHp4jn++xqPV71OgQgJYEWOtZ/haxRtKmWOBu8xdBLftWltsY84zE6WIEy/eIOWL+BaayMx+KHtL7EAkqdNDLiEXmEMUHniedtJqg9HmZtfvt26vNi0BdG3Ft3g8ZOf7PAu59TxtzivLNIekyi+wD1i8CuUiD9FXAa8C+/xS3JPmZnomyc7H+fb4/Se0bk41Fel621r4cgVxbq91V4jVqwB7HTe2M7jgB+QWHavZkDRPmZcASoZEmBx6i75bGjPcMdL4/VKGFAGWZkGzPG0XAbdL9A81G5LOmUnC9hHKJeO7dcUMjblSl12867ElFTtaGl20xvvLGPdVz/8TVuU7y0x1PG7vtNg24oz9Uo/Z412++VFWI7Fcog9tu9Lm6gvRmIPv9x1xmQAu6RDkXtbOtlGEmpgD5Nvnyc0dcv0EE6cfdi1HmhMf9wDF3k3gtRvEedhxjpgfqPb9PU9iEJHnyOUA7bQUXh6kq/D7l2iTjWv7XOD530BDr8jIrus+srXjt4MzumJMHuTsBa63YKE1+RR5lBjEikCCnWKWiHdzOgKO+nRIBAF88za/IFmJ3eMZov4CYxGBabcpGL8EYx+SeMXJeRwHNsV/h+vdxeuhEpN3ZyNY78Gm2fknJxVGhyjixPiQvVkNzT1elD9Py/aTAL64Hb9vcYmC9zfdXdT/C1LeGbg4rnBaAihDFJH12W5ulfNCNe/xTsP3bp8ikzJs5BF+5PNfAQYAPaseTdsEcaYAAAAASUVORK5CYII="}),computed:{iconSnowWidth(){return 2*(Math.floor(this.iconSize/24)||1)},contentdownText(){return this.contentText.contentdown||dg("uni-load-more.contentdown")},contentrefreshText(){return this.contentText.contentrefresh||dg("uni-load-more.contentrefresh")},contentnomoreText(){return this.contentText.contentnomore||dg("uni-load-more.contentnomore")}},mounted(){var n=getCurrentPages(),x=n[n.length-1].$getAppWebview();x.addEventListener("hide",(()=>{this.webviewHide=!0})),x.addEventListener("show",(()=>{this.webviewHide=!1}))},methods:{onClick(){this.$emit("clickLoadMore",{detail:{status:this.status}})}}},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:"uni-load-more",onClick:e[0]||(e[0]=(...n)=>o.onClick&&o.onClick(...n))},[!l.webviewHide&&("circle"===t.iconType||"auto"===t.iconType&&"android"===l.platform)&&"loading"===t.status&&t.showIcon?(n.openBlock(),n.createElementBlock("view",{key:0,style:n.normalizeStyle({width:t.iconSize+"px",height:t.iconSize+"px"}),class:"uni-load-more__img uni-load-more__img--android-MP"},[n.createElementVNode("view",{class:"uni-load-more__img-icon",style:n.normalizeStyle({borderTopColor:t.color,borderTopWidth:t.iconSize/12})},null,4),n.createElementVNode("view",{class:"uni-load-more__img-icon",style:n.normalizeStyle({borderTopColor:t.color,borderTopWidth:t.iconSize/12})},null,4),n.createElementVNode("view",{class:"uni-load-more__img-icon",style:n.normalizeStyle({borderTopColor:t.color,borderTopWidth:t.iconSize/12})},null,4)],4)):!l.webviewHide&&"loading"===t.status&&t.showIcon?(n.openBlock(),n.createElementBlock("view",{key:1,style:n.normalizeStyle({width:t.iconSize+"px",height:t.iconSize+"px"}),class:"uni-load-more__img uni-load-more__img--ios-H5"},[n.createElementVNode("image",{src:l.imgBase64,mode:"widthFix"},null,8,["src"])],4)):n.createCommentVNode("",!0),t.showText?(n.openBlock(),n.createElementBlock("text",{key:2,class:"uni-load-more__text",style:n.normalizeStyle({color:t.color})},n.toDisplayString("more"===t.status?o.contentdownText:"loading"===t.status?o.contentrefreshText:o.contentnomoreText),5)):n.createCommentVNode("",!0)])}],["__scopeId","data-v-a7e112cc"]]),mg="/static/video_all.png",yg="/static/video_select.png",fg="/static/all_video.png",bg="/static/select_video.png",vg="/static/cb_down.png",wg="/static/default_video.png",zg=h({__name:"replayList",setup(t){n.ref(!1);const i=n.ref([]);n.ref(1);const l=n.ref(!1),a=n.ref(!1),s=n.ref("more"),r=n.ref(1),c=n.ref(10),u=n.ref(!0);n.ref([]),n.ref(2),n.ref("");const h=n.ref("");n.ref("乙肝"),n.ref(!1),n.ref(!1),n.ref([]),n.reactive({});const g=n.ref("");n.ref([]),o((n=>{n.name&&(g.value=decodeURIComponent(n.name)),y()}));const p=()=>{Ul({url:`/pages_app/replayText/replayText?name=${g.value}`})},y=async()=>{const n=await Fl.getTypeUuidByName({name:g.value});200===n.code&&n.data&&(h.value=n.data,f())},f=async(n=!1)=>{if(!l.value||n){l.value=!0;try{const e=await Fl.videoByTypeNew({page:r.value,pageSize:c.value,typeUuid:h.value});x("log","at pages_app/replayList/replayList.vue:155","视频列表API原始响应:",e);let t={};if(e&&e.data?200===e.data.code?t=e.data.data||{}:200===e.code&&(t=e.data||{}):e&&200===e.code&&(t=e.data||{}),x("log","at pages_app/replayList/replayList.vue:169","解析后的视频数据:",t),!t||!t.list)throw new Error((null==e?void 0:e.message)||"获取数据失败");{const{list:e,totalPage:l,pageNumber:o}=t;x("log","at pages_app/replayList/replayList.vue:173","视频列表数据:",e),n?(i.value=e||[],r.value=1):i.value=[...i.value,...e||[]],u.value=l>o,s.value=u.value?"more":"noMore"}}catch(e){x("error","at pages_app/replayList/replayList.vue:189","加载视频失败:",e)}finally{l.value=!1,a.value=!1}}},b=()=>{a.value=!0,r.value=1,u.value=!0,f(!0)},v=()=>{u.value&&!l.value&&(s.value="loading",r.value++,f())},w=()=>{uni.navigateBack({fail(){uni.redirectTo({url:"/pages/index/index"})}})};return(t,o)=>{const r=e(n.resolveDynamicComponent("uni-nav-bar"),m),c=e(n.resolveDynamicComponent("up-image"),Jn),u=e(n.resolveDynamicComponent("uni-icons"),d),h=e(n.resolveDynamicComponent("uni-load-more"),pg);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(r,{"left-icon":"left",onClickLeft:w,title:g.value,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-right",onClick:p}," 精选 ")])),_:1},8,["title"])]),n.createElementVNode("view",{class:"video-page"},[n.createElementVNode("scroll-view",{class:"scroll-view","scroll-y":"true","refresher-enabled":"true","refresher-triggered":a.value,onRefresherrefresh:b,onScrolltolower:v,"lower-threshold":"100"},[n.createElementVNode("view",{class:"video-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"video-item",key:e.id||e.uuid,onClick:n=>(n=>{x("log","at pages_app/replayList/replayList.vue:220",n),Ul({url:`/pages_app/videoDetail/videoDetail?id=${n.id||n.uuid}`})})(e)},[n.createElementVNode("view",{class:"video-thumbnail"},[n.createVNode(c,{src:n.unref($l)+e.imgpath,mode:"aspectFill",loadingIcon:n.unref(wg),errorIcon:n.unref(wg),height:"200rpx",width:"100%","lazy-load":!0},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),mode:"aspectFill",height:"200rpx",width:"100%"},null,8,["src"])])),loading:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),mode:"aspectFill",height:"200rpx",width:"100%"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon"])]),n.createElementVNode("view",{class:"video-info"},[n.createElementVNode("view",{class:"video-title"},n.toDisplayString(e.title||e.name),1),n.createElementVNode("view",{class:"video-meta"},[n.createElementVNode("text",{class:"author"},n.toDisplayString(e.public_name),1),n.createElementVNode("view",{class:"stats"},[n.createVNode(u,{type:"eye",size:"14",color:"#999"}),n.createElementVNode("text",{class:"view-count"},n.toDisplayString(e.readnum),1)])])])],8,["onClick"])))),128))]),i.value.length>0?(n.openBlock(),n.createBlock(h,{key:0,status:s.value,"content-text":{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}},null,8,["status","content-text"])):n.createCommentVNode("",!0),0!==i.value.length||l.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)]))],40,["refresher-triggered"])])],64)}}},[["__scopeId","data-v-1744a63d"]]),jg=h({__name:"liveReplay",setup(t){const a=n.ref("");o((n=>{n.from&&(a.value=n.from)}));const s=n.ref(!1),r=n.ref(!1),c=n.ref(""),u=n.ref(""),h=n.ref(""),g=n.ref(""),p=n.ref(!1),m=n.ref(!1),f=n.ref(!0),b=n.ref(!0),v=n.ref(1),w=n.ref(10),z=n.ref(0),j=n.ref([]),k=n.ref([{code:1,name:"全国会议"},{code:2,name:"省级会议"},{code:3,name:"市级会议"},{code:4,name:"国际会议"},{code:0,name:"其他会议"}]),_=n.ref([]),E=n.computed((()=>{if(!_.value||0===_.value.length)return[];const n={};return _.value.forEach((e=>{const t=T(e.begin_date,"YYYY年MM月");n[t]||(n[t]={monthYear:t,items:[]}),n[t].items.push(e),x("log","at pages_app/liveReplay/liveReplay.vue:327",n)})),Object.values(n).sort(((n,x)=>{const e=Xl(n.items[0].begin_date);return Xl(x.items[0].begin_date).isBefore(e)?-1:1}))})),N=n=>{const x=["#f94438","#ffb93f","#4ecdc4","#92d758"];return x[n%x.length]};i((()=>{(()=>{const n=[],e=(new Date).getFullYear();for(let x=2016;x<=e;x++)n.push({value:x.toString(),label:`${x}年`,year:x});j.value=n.reverse(),x("log","at pages_app/liveReplay/liveReplay.vue:276","生成年份列表:",j.value)})(),S(!0)})),l((()=>{}));const S=async(n=!1)=>{n&&(v.value=1,f.value=!0,_.value=[]);const e={page:v.value,pageSize:w.value,year:c.value,type:h.value};try{x("log","at pages_app/liveReplay/liveReplay.vue:470","获取会议列表参数:",e);const t=await Fl.meetingV2Video(e);if(x("log","at pages_app/liveReplay/liveReplay.vue:472","会议列表API响应:",t),t&&200==t.code&&t.data){const{list:e,totalRow:i,pageNumber:l,totalPage:o}=t.data;if(x("log","at pages_app/liveReplay/liveReplay.vue:476","list",e),x("log","at pages_app/liveReplay/liveReplay.vue:477","解析后的数据:",{list:e,totalRow:i,pageNumber:l,totalPage:o}),Array.isArray(e)&&e.length>=0){const t=e.map((n=>{const x=Xl(n.begin_date).format("DD"),e=C(n.status),t=T(n.begin_date,"YYYY.MM.DD");return{id:n.id,begin_date:x,tagColor:e,title:n.title,liveimg:n.liveimg,poster:n.liveimg,time:t,location:n.location||"线上",status:q(n.status),originalData:n,begin_date_timestamp:n.begin_date_timestamp,end_date_timestamp:n.end_date_timestamp,begin_date:n.begin_date,end_date:n.end_date,liveurl:n.liveurl,spareurl:n.spareurl,path:n.path,status_code:n.status}}));n?_.value=t:_.value.push(...t),f.value=o>l,b.value=i>0||0==!t.length,x("log","at pages_app/liveReplay/liveReplay.vue:525","会议列表更新成功,当前总数:",_.value.length)}else x("log","at pages_app/liveReplay/liveReplay.vue:528","API返回的数据为空"),n&&(_.value=[])}else x("log","at pages_app/liveReplay/liveReplay.vue:534","API响应格式不正确:",t),n&&(_.value=[])}catch(t){x("error","at pages_app/liveReplay/liveReplay.vue:540","获取会议列表失败:",t),n&&(_.value=[]),uni.showToast({title:"获取会议列表失败",icon:"error",duration:2e3})}},C=n=>({1:"#FF4444",2:"#00BCD4",3:"#9C27B0",4:"#4CAF50",5:"#FF9800"}[n]||"#FF4444"),q=n=>({1:"预告",2:"直播中",3:"已结束",4:"已完成",5:"已取消"}[n]||"已结束"),T=(n,e="YYYY-MM")=>{if(!n)return"";try{const t=Xl(n);if(!t.isValid())return x("error","at pages_app/liveReplay/liveReplay.vue:598","无效的日期:",n),"";switch(e){case"YYYY-MM":return t.format("YYYY-MM");case"YYYY-MM-DD":return t.format("YYYY-MM-DD");case"YYYY-MM-DD HH:mm":return t.format("YYYY-MM-DD HH:mm");case"YYYY-MM-DD HH:mm:ss":return t.format("YYYY-MM-DD HH:mm:ss");case"YYYY年MM月":return t.format("YYYY年MM月");case"YYYY年MM月DD日":return t.format("YYYY年MM月DD日");case"MM月":return t.format("MM月");case"MM月DD日":return t.format("MM月DD日");case"YYYY.MM.DD":return t.format("YYYY.MM.DD");case"MM-DD":return t.format("MM-DD");case"MM/DD":return t.format("MM/DD");case"YYYY/MM/DD":return t.format("YYYY/MM/DD");default:return t.format(e)}}catch(t){return x("error","at pages_app/liveReplay/liveReplay.vue:632","日期格式化失败:",t),""}},V=()=>{s.value=!s.value},A=()=>{s.value=!1},I=()=>{r.value=!r.value},B=()=>{r.value=!1},D=n=>{(async n=>{const x=await Fl.getTypeUuidByName({name:n});200===x.code&&(x.data?Ul({url:"/pages_app/replayList/replayList?name="+encodeURIComponent(n)}):uni.showModal({title:"温馨提示",content:"该会议视频暂不支持回放",showCancel:!1}))})(n.title)},M=()=>{p.value=!0,v.value=1,f.value=!0,S(!0).finally((()=>{setTimeout((()=>{p.value=!1,uni.showToast({title:"刷新成功",icon:"none",duration:1500})}),500)}))},O=()=>{x("log","at pages_app/liveReplay/liveReplay.vue:758","上拉加载更多"),!m.value&&f.value&&(m.value=!0,v.value++,S(!1).finally((()=>{m.value=!1})))};return(t,i)=>{const l=e(n.resolveDynamicComponent("up-image"),Jn),o=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{title:"video"==a.value?"肝胆视频":"肝胆回放"},null,8,["title"]),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"filter-bar"},[n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:u.value}]),onClick:V},[n.createElementVNode("text",null,n.toDisplayString(u.value?u.value:"会议时间"),1),n.createVNode(l,{src:u.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:g.value}]),onClick:I},[n.createElementVNode("text",null,n.toDisplayString(g.value?g.value:"会议类别"),1),n.createVNode(l,{src:g.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2)]),n.createElementVNode("scroll-view",{ref:"scrollView",class:"scroll-content","scroll-y":"true","refresher-enabled":"true","refresher-triggered":p.value,"refresher-threshold":100,onRefresherrefresh:M,onScrolltolower:O,"lower-threshold":100,"scroll-top":z.value,"enable-back-to-top":!0},[_.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(E.value,((x,e)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:e},[n.createElementVNode("view",{class:"time-header"},n.toDisplayString(x.monthYear),1),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(x.items,((x,e)=>{return n.openBlock(),n.createElementBlock("view",{class:"meetcell",key:x.id||e},[n.createElementVNode("view",{class:"meeting-item"},[n.createElementVNode("view",{class:"date-tag",style:n.normalizeStyle({backgroundColor:N(e)})},[n.createElementVNode("text",{class:"date-text",style:n.normalizeStyle({color:N(e)})},n.toDisplayString((t=x.begin_date,t?T(t,"DD"):"")),5)],4),n.createElementVNode("view",{class:"meeting-content"},[n.createElementVNode("view",{class:"meeting-title"},n.toDisplayString(x.title),1),x.liveimg?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-poster",onClick:n=>D(x)},[n.createVNode(l,{src:n.unref($l)+x.liveimg,class:"poster-image",mode:"aspectFill",loadingIcon:n.unref(Th),errorIcon:n.unref(Th),"lazy-load":!0,width:"100%",height:"320rpx","data-item-id":x.id},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(Th),class:"poster-image",mode:"aspectFill"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon","data-item-id"]),n.createElementVNode("view",{class:"play-btn"},[n.createVNode(l,{src:n.unref(Lc),width:"108rpx",height:"108rpx"},null,8,["src"])])],8,["onClick"])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"meeting-info"},[n.createElementVNode("view",{class:"info-item"},[n.createElementVNode("view",{class:"timebox"},[n.createVNode(l,{src:n.unref(Fc),width:"24rpx",height:"24rpx"},null,8,["src"])]),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(T(x.begin_date,"YYYY.MM.DD")),1),T(x.end_date,"YYYY.MM.DD")!=T(x.begin_date,"YYYY.MM.DD")?(n.openBlock(),n.createElementBlock("text",{key:0,class:"info-text"},n.toDisplayString("-"+T(x.end_date,"YYYY.MM.DD")),1)):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"info-item"},[n.createVNode(o,{type:"location",size:"14",color:"#999"}),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(x.location),1)])])])])]);var t})),128))],64)))),128))])):p.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)])),b.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more"},[m.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more-content"},[n.createVNode(o,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",{class:"load-more-text"},"加载中...")])):f.value&&_.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:1,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"上拉加载更多")])):_.value.length>0&&!m.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"没有更多数据了")])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],40,["refresher-triggered","scroll-top"]),s.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"time-popup",onClick:A},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[0]||(i[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(j.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:c.value===e.value}]),key:t,onClick:n=>(n=>{c.value=n.value,u.value=n.label,x("log","at pages_app/liveReplay/liveReplay.vue:668","选择月份:",n.label),S(!0),A()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.label),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),r.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"time-popup",onClick:B},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[1]||(i[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(k.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:h.value===x.code}]),key:e,onClick:n=>(n=>{h.value=n.code,g.value=n.name,S(!0),B()})(x)},[n.createElementVNode("text",null,n.toDisplayString(x.name),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0)])],64)}}},[["__scopeId","data-v-2e0d17d4"]]),kg=500,_g=h({__name:"reply",setup(t){const i=n.ref(""),l=n.ref(""),a=n.ref("");o((n=>{i.value=n.video_uuid,c.value="回复 "+n.name+":",a.value=n.comment_partent,l.value=n.name})),n.ref(0);const s=n.ref(""),r=n.ref(!1),c=n.ref(""),u=n.computed((()=>s.value.length)),h=n.computed((()=>s.value.trim().length>0&&!r.value));n.computed((()=>kg-u.value)),n.watch(s,(n=>{n.length>kg&&(s.value=n.slice(0,kg))}));n.onUnmounted((()=>{}));const g=()=>{uni.navigateBack()},d=async()=>{if(x("log","at pages_app/reply/reply.vue:99",1111),h.value){r.value=!0;try{(async()=>{200==(await Fl.addCommentV2({article_uuid:i.value,type:"8",comment:s.value+"||"+l.value+":"+a.value})).code&&(uni.$emit("replySuccess",!0),x("log","at pages_app/reply/reply.vue:80","replySuccess"),uni.showToast({title:"回复成功",icon:"none"}),s.value="",uni.navigateBack())})()}catch(n){x("error","at pages_app/reply/reply.vue:107","回复失败:",n),uni.showToast({title:"回复失败,请重试",icon:"error"})}finally{r.value=!1}}};return(x,t)=>{const i=e(n.resolveDynamicComponent("uni-nav-bar"),m);return n.openBlock(),n.createElementBlock("view",{class:"reply-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(i,{"left-icon":"left",title:"回复",onClickLeft:g,color:"#8B2316",border:!1,backgroundColor:"#eee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-right",onClick:d},[n.createElementVNode("view",{class:"btn-confirm"},"确定")])])),_:1})]),n.createElementVNode("view",{class:"main-content"},[n.createElementVNode("view",{class:"input-container"},[n.withDirectives(n.createElementVNode("textarea",{class:"reply-input","onUpdate:modelValue":t[0]||(t[0]=n=>s.value=n),"adjust-position":!1,placeholder:c.value,"auto-height":!0,maxlength:kg,disabled:r.value},null,8,["placeholder","disabled"]),[[n.vModelText,s.value]])])])])}}},[["__scopeId","data-v-c5d329d5"]]),Eg="/static/search.png",Ng="/static/videoPlaceholder.png",Sg={__name:"video",setup(t){const i=n.ref(!1),l=n.ref([]);n.ref(null),n.ref(1);const a=n.ref(!1),s=n.ref(!1),c=n.ref("more"),u=n.ref(1),h=n.ref(10),g=n.ref(!0),p=n.ref([]),y=n.ref(2),f=n.ref(""),b=n.ref(""),v=n.ref("全部视频"),w=n.ref([]),z=n.ref(0),j=n.ref(!1),k=n.ref(!1),_=n.ref([]),E=n.reactive({}),N=n.ref("");r((()=>{if(!N.value)return plus.runtime.quit(),!0}));const S=()=>{uni.sendNativeEvent("goHomeSearch",{msg:"meetVideo"},(n=>{x("log","at pages_app/video/video.vue:371",n)}))},C=()=>{uni.navigateTo({url:"/pages_app/liveReplay/liveReplay?from=video"})},q=n.ref([{name:"指南解读",selected:!1},{name:"病例分析",selected:!1},{name:"学术讲座",selected:!1},{name:"手术视频",selected:!1},{name:"研究进展",selected:!1},{name:"肝病治疗",selected:!1},{name:"肝癌诊断",selected:!1},{name:"肝移植",selected:!1},{name:"微创手术",selected:!1},{name:"免疫治疗",selected:!1},{name:"靶向治疗",selected:!1},{name:"化疗方案",selected:!1}]),T=n.ref(!1),V=n.ref("全部"),A=n.ref([{value:"all",label:"全部"}]),I=n.ref({all:[]}),B=n.ref([]);n.onMounted((()=>{}));const D=n=>{let x=n.substring(0,4),e=n.substring(4,n.length),t=x.lastIndexOf("-");return t>-1?n.substring(t+1,4)+e:n};o((n=>{n.from&&(N.value=n.from),u.value=1,g.value=!0,L(!0),M(),O(),R(),setTimeout((()=>{P("all")}),500),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"list_page",page_type:"肝胆视频"}},(n=>{x("log","at pages_app/video/video.vue:445",n)}))}));const M=async()=>{try{const n=await Fl.videoRoll({});x("log","at pages_app/video/video.vue:453","轮播API原始响应:",n),w.value=n.data}catch(n){x("error","at pages_app/video/video.vue:456","加载轮播数据失败:",n)}},O=async()=>{try{const n=await Fl.videoTagList({type:2});x("log","at pages_app/video/video.vue:467","标签API原始响应:",n),200==n.code&&(q.value=n.data,x("log","at pages_app/video/video.vue:471",22222),x("log","at pages_app/video/video.vue:472",q.value))}catch(n){x("error","at pages_app/video/video.vue:475","加载视频标签失败:",n)}},R=async()=>{try{const n=await Fl.expertVideoTypeList({});if(x("log","at pages_app/video/video.vue:483","类型API原始响应:",n),200==n.code){_.value=n.data;let e=[{uuid:"",name:"全部视频"}];p.value=e.concat(n.data[0].list).filter((n=>!n.name.includes("BMS专家端"))),x("log","at pages_app/video/video.vue:488",33);let t=n.data.map((n=>({value:n.name,label:n.name})));A.value=t}x("log","at pages_app/video/video.vue:497",2222),x("log","at pages_app/video/video.vue:498",A.value)}catch(n){x("error","at pages_app/video/video.vue:500","加载视频类型失败:",n)}},P=async n=>{try{let e;if(x("log","at pages_app/video/video.vue:507","加载分类视频:",n),"全部"===n)e=await Fl.videoByKeyWordsNew({page:1,pageSize:20,keywords:"",sort:0,typeUuid:"",tags:""});else{const t=B.value.filter((x=>x.create_date===n));if(x("log","at pages_app/video/video.vue:526",`日期 ${n} 对应的视频类型:`,t),!(t.length>0))return x("warn","at pages_app/video/video.vue:545",`未找到日期 ${n} 对应的视频类型`),void(I.value[n]=[]);{const n=t.map((n=>n.id||n.uuid||n.value)).join(",");x("log","at pages_app/video/video.vue:533","类型UUID列表:",n),e=await Fl.videoByKeyWordsNew({page:1,pageSize:20,keywords:"",sort:0,typeUuid:n,tags:""})}}x("log","at pages_app/video/video.vue:551","分类视频API响应:",e);let t={};if(e&&e.data?200===e.data.code?t=e.data.data||{}:200===e.code&&(t=e.data||{}):e&&200===e.code&&(t=e.data||{}),x("log","at pages_app/video/video.vue:565","解析后的分类视频数据:",t),t&&t.list){const{list:e}=t;I.value[n]=e.map((n=>({id:n.id||n.uuid,title:n.title||n.name,name:n.name||n.title}))),x("log","at pages_app/video/video.vue:576",`分类 ${n} 的内容:`,I.value[n])}}catch(e){x("error","at pages_app/video/video.vue:582","加载分类视频失败:",e)}},L=async(n=!1)=>{if(!a.value||n){a.value=!0;try{x("log","at pages_app/video/video.vue:595","请求参数:",{page:u.value,pageSize:h.value,keywords:f.value,sort:y.value,typeUuid:b.value,tags:f.value});const e=await Fl.videoByKeyWordsNew({page:u.value,pageSize:h.value,keywords:f.value,sort:y.value,typeUuid:b.value});x("log","at pages_app/video/video.vue:612","视频列表API原始响应:",e);let t={};if(e&&e.data?200===e.data.code?t=e.data.data||{}:200===e.code&&(t=e.data||{}):e&&200===e.code&&(t=e.data||{}),x("log","at pages_app/video/video.vue:626","解析后的视频数据:",t),!t||!t.list)throw new Error((null==e?void 0:e.message)||"获取数据失败");{const{list:e,pageNumber:i,totalPage:o}=t;x("log","at pages_app/video/video.vue:630","视频列表数据:",e),n?(l.value=e||[],u.value=1):l.value=[...l.value,...e||[]],g.value=o>i,c.value=g.value?"more":"noMore"}}catch(e){x("error","at pages_app/video/video.vue:646","加载视频失败:",e)}finally{a.value=!1,s.value=!1}}},F=()=>{s.value=!0,u.value=1,g.value=!0,L(!0)},U=()=>{g.value&&!a.value&&(c.value="loading",u.value++,L())},$=()=>{Ul({url:"/pages_app/patientVideo/patientVideo?from=video"})},H=n=>{z.value=n.detail.current},Y=()=>{T.value=!1},G=()=>{k.value=!0},W=()=>{k.value=!1},K=()=>{q.value.forEach((n=>n.selected=!1)),j.value=!1,f.value="",u.value=1,g.value=!0,L(!0)},Q=()=>{let n="";const e=q.value.filter((n=>n.selected));x("log","at pages_app/video/video.vue:852","选中的筛选标签:",e);for(var t=0;t{N.value?uni.navigateBack():plus.runtime.quit()},X=()=>{y.value=1===y.value?2:1,u.value=1,g.value=!0,L(!0)};return(t,o)=>{const r=e(n.resolveDynamicComponent("uni-nav-bar"),m),h=e(n.resolveDynamicComponent("up-image"),Jn),f=e(n.resolveDynamicComponent("uni-icons"),d),N=e(n.resolveDynamicComponent("uni-load-more"),pg);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(r,{"left-icon":"left",title:"肝胆视频",onClickLeft:J,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[n.createElementVNode("view",{class:"collect-img",onClick:S,style:{"margin-right":"20rpx"}},[n.createElementVNode("image",{class:"img-icon",src:n.unref(Eg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("view",{class:"collect-img",onClick:C},[n.createElementVNode("image",{class:"img-icon",src:n.unref("/static/videoIcon.png"),mode:"aspectFill"},null,8,["src"])])])])),_:1})]),n.createElementVNode("view",{class:"video-page"},[n.createElementVNode("view",{class:"banner-container"},[n.createElementVNode("view",{class:"swipemask"},[w.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"banner-subtitle"},n.toDisplayString(w.value[z.value].name),1)):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"dotbox"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(w.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["circle",{active:z.value==e}]),key:x.id},null,2)))),128))])]),n.createElementVNode("swiper",{class:"banner-swiper","indicator-dots":!1,autoplay:!0,interval:5e3,duration:300,"indicator-color":"rgba(255,255,255,0.4)","indicator-active-color":"#fff",circular:"",onChange:H},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(w.value,((x,e)=>(n.openBlock(),n.createElementBlock("swiper-item",{key:x.id,onClick:n=>(n=>{Ul({url:`/pages_app/videoDetail/videoDetail?id=${n.id||n.uuid}`})})(x)},[n.createElementVNode("view",{class:"banner-item"},[n.createVNode(h,{class:"banner-image",src:n.unref($l)+x.imgpath,mode:"aspectFill",loadingIcon:n.unref(Ng),errorIcon:n.unref(Ng),"lazy-load":!0,width:"100%",height:"400rpx"},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(Ng),class:"banner-image",mode:"aspectFill"},null,8,["src"])])),loading:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(Ng),class:"banner-image",mode:"aspectFill"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon"])])],8,["onClick"])))),128))],32)]),n.createElementVNode("view",{class:"filter-tabs-container"},[n.createElementVNode("view",{class:"filter-tabs"},[n.createElementVNode("view",{class:"tab-item",onClick:o[0]||(o[0]=n=>T.value=!T.value)},[n.createVNode(h,{src:i.value?n.unref(yg):n.unref(mg),width:"30rpx",height:"30rpx"},null,8,["src"]),n.createElementVNode("text",{class:n.normalizeClass(["tab-text",{active:i.value}]),style:{"margin-top":"4rpx"}},n.toDisplayString(D(v.value)),3),n.createVNode(h,{src:i.value?n.unref(bg):n.unref(fg),width:"30rpx",height:"30rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"right"},[n.createElementVNode("view",{class:"tab-item",onClick:X},[n.createElementVNode("text",{class:"tab-text active"},n.toDisplayString(2==y.value?"最新":"最热"),1),n.createElementVNode("view",{class:"newbox"},[n.createVNode(h,{src:2==y.value?n.unref(Ac):n.unref(vg),width:"20rpx",height:"26rpx"},null,8,["src"])])]),n.createElementVNode("view",{class:"bar"}),n.createElementVNode("view",{class:"tab-item",onClick:G},[n.createElementVNode("text",{class:n.normalizeClass(["tab-text",{active:j.value}])},"筛选",2),n.createElementVNode("view",{class:"filterbox"},[n.createVNode(h,{src:j.value?n.unref(Bc):n.unref(Ic),width:"30rpx",height:"30rpx"},null,8,["src"])])])])])]),n.createElementVNode("scroll-view",{class:"scroll-view","scroll-y":"true","refresher-enabled":"true","refresher-triggered":s.value,onRefresherrefresh:F,onScrolltolower:U,"lower-threshold":"100"},[n.createElementVNode("view",{class:"video-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"video-item",key:e.id||e.uuid,onClick:n=>(n=>{const e=n.id||n.uuid;x("log","at pages_app/video/video.vue:702",222),x("log","at pages_app/video/video.vue:703",n.tags),Ul({url:`/pages_app/videoDetail/videoDetail?id=${e}&tags=${n.tags}`})})(e)},[n.createElementVNode("view",{class:"video-thumbnail"},[n.createVNode(h,{src:n.unref($l)+e.imgpath,class:"poster-image",mode:"aspectFill",loadingIcon:n.unref(wg),errorIcon:n.unref(wg),"lazy-load":!0,width:"100%",height:"220rpx"},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),class:"poster-image",mode:"aspectFill"},null,8,["src"])])),loading:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),class:"poster-image",mode:"aspectFill"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon"])]),n.createElementVNode("view",{class:"video-info"},[n.createElementVNode("view",{class:"video-title"},n.toDisplayString(e.title||e.name),1),n.createElementVNode("view",{class:"video-meta"},[n.createElementVNode("text",{class:"author"},n.toDisplayString(e.public_name),1),n.createElementVNode("view",{class:"stats"},[n.createVNode(f,{type:"eye",size:"14",color:"#999"}),n.createElementVNode("text",{class:"view-count"},n.toDisplayString(n.unref(Dc)(e.readnum)),1)])])])],8,["onClick"])))),128))]),l.value.length>0?(n.openBlock(),n.createBlock(N,{key:0,status:c.value,"content-text":{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}},null,8,["status","content-text"])):n.createCommentVNode("",!0),0!==l.value.length||a.value?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(Vc,{key:1}))],40,["refresher-triggered"]),n.createElementVNode("view",{class:"btnbox",onClick:$},[n.createVNode(h,{src:n.unref("/static/patient_video.png"),width:"44rpx",height:"44rpx"},null,8,["src"]),n.createTextVNode(" 患教视频 ")]),k.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"filter-popup",onClick:W},[n.createElementVNode("view",{class:"filter-content",onClick:o[1]||(o[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"filter-tags"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(q.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["tag-item",{active:x.selected}]),key:e,onClick:n=>(n=>{q.value[n].selected=!q.value[n].selected,j.value=q.value.some((n=>n.selected))})(e)},n.toDisplayString(x.NAME),11,["onClick"])))),128))]),n.createElementVNode("view",{class:"filter-buttons"},[n.createElementVNode("view",{class:"btn-reset",onClick:K},"重置"),n.createElementVNode("view",{class:"btn-confirm",onClick:Q},"确定")])])])):n.createCommentVNode("",!0),T.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"all-video-popup",onClick:Y},[n.createElementVNode("view",{class:"popup-content",onClick:o[2]||(o[2]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"popup-body"},[n.createElementVNode("view",{class:"category-sidebar"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(A.value,(e=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["category-item",{active:V.value===e.value}]),key:e.value,onClick:n=>(async n=>{V.value=n,x("log","at pages_app/video/video.vue:794",_.value),x("log","at pages_app/video/video.vue:795","选择分类:",n);let e=[{uuid:"",name:"全部视频"}];for(var t=0;t<_.value.length;t++)if(n==_.value[t].name){x("log","at pages_app/video/video.vue:799",_.value[t]),p.value="全部"==n?e.concat(_.value[t].list).filter((n=>!n.name.includes("BMS专家端"))):_.value[t].list.filter((n=>!n.name.includes("BMS专家端"))),x("log","at pages_app/video/video.vue:804",p.value);break}})(e.value)},[n.createElementVNode("view",{class:"category-label"},n.toDisplayString(e.label),1),"全部"!==e.value&&e.originalDate?(n.openBlock(),n.createElementBlock("view",{key:0,class:"category-date"},n.toDisplayString(t.formatDate(e.originalDate)),1)):n.createCommentVNode("",!0)],10,["onClick"])))),128))]),n.createElementVNode("view",{class:"content-area"},[n.createElementVNode("view",{class:"content-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(p.value,(e=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["content-item",{active:E.uuid==e.uuid}]),key:e.uuid,onClick:n=>{return x("log","at pages_app/video/video.vue:812","选中内容:",t=e),Y(),Object.assign(E,t),b.value=t.uuid,v.value=t.name,i.value=!0,u.value=1,g.value=!0,void L(!0);var t}},n.toDisplayString(D(e.name)),11,["onClick"])))),128)),0===p.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"empty-content"},[n.createElementVNode("text",null,"暂无内容")])):n.createCommentVNode("",!0)])])])])])):n.createCommentVNode("",!0)])],64)}}},Cg=h(Sg,[["__scopeId","data-v-18902620"]]);const qg=new class{constructor(){let n=uni.getStorageSync("downloadVideoTasks");this.tasks=n||[],this.listeners=[]}addTask(n){const x=this.tasks.length,e={id:Date.now()+Math.random(),url:"",status:"downloading",progress:0,totalSize:0,downloadSize:0,task:null,filePath:"",imgpath:"",author:"",name:"",duration:"",size:"",createTime:Date.now(),localPath:""};return Object.assign(e,n),this.tasks.push(e),this.notifyListeners(),this.saveToStorage(),x}updateTask(n,x){this.tasks[n]&&(Object.assign(this.tasks[n],x),this.notifyListeners(),this.saveToStorage())}removeTask(n){const x=this.tasks[n];x&&x.task&&"downloading"===x.status&&x.task.abort(),this.tasks.splice(n,1),this.notifyListeners(),this.saveToStorage()}getTasks(){return this.tasks}getTask(n){return this.tasks[n]}addListener(n){return this.listeners.push(n),()=>{const x=this.listeners.indexOf(n);x>-1&&this.listeners.splice(x,1)}}notifyListeners(){const n=[...this.tasks];this.listeners.forEach((e=>{try{e(n)}catch(Rw){x("error","at store/downloadStoreVideo.js:87","DownloadStore listener error:",Rw)}}))}saveToStorage(){const n=this.tasks.map((n=>({id:n.id,url:n.url,status:n.status,progress:n.progress,filePath:n.filePath,createTime:n.createTime,imgpath:n.imgpath,author:n.author,name:n.name,duration:n.duration,size:n.size,totalSize:n.totalSize,downloadSize:n.downloadSize,localPath:n.localPath})));uni.setStorageSync("downloadVideoTasks",n)}loadFromStorage(){const n=uni.getStorageSync("downloadVideoTasks");n&&Array.isArray(n)&&(this.tasks=n.map((n=>({...n,task:null}))),this.notifyListeners())}resumeDownloadingTasks(n){this.tasks.forEach(((x,e)=>{"downloading"!==x.status||x.task||"function"==typeof n&&n(e)}))}},Tg={__name:"downLoadVideo",setup(t){const l=n.ref([]),a=n.ref(null),c=n.ref(!1),u=n.ref([]),h=n.ref("completed"),g=n.ref(!1),p=n.ref(0),y=n.ref({total:"461.31G",available:"312.92G"}),f=()=>{0!==u.value.length?uni.showModal({title:"提示",content:"确定要删除选中的缓存吗?",success:n=>{if(n.confirm){[...u.value].forEach((n=>{const x=l.value.findIndex((x=>x.id===n));-1!==x&&A(x)})),u.value=[],c.value=!1}}}):uni.showToast({title:"请选择要删除的缓存",icon:"none"})},b=()=>{c.value?(u.value=[],c.value=!1):(u.value=z.value.map((n=>n.id)),c.value=!0)},v=n=>u.value.includes(n.id);r((()=>{if(S.value)return plus.runtime.quit(),!0}));const w=n=>{const x=u.value.indexOf(n.id);x>-1?u.value.splice(x,1):u.value.push(n.id),c.value=u.value.length===z.value.length&&z.value.length>0},z=n.computed((()=>{let x=[];return x="completed"===h.value?l.value.filter((n=>"completed"===n.status)):l.value.filter((n=>"downloading"===n.status||"paused"===n.status)),n.nextTick((()=>{c.value&&u.value.length!==x.length&&(c.value=!1)})),x})),j=()=>{S.value?plus.runtime.quit():uni.navigateBack()},k=x=>{h.value=x,g.value=!1,u.value=[],c.value=!1,"downloading"===x&&(p.value=.01,n.nextTick((()=>{p.value=0})))},_=()=>{g.value=!g.value,g.value||(u.value=[],c.value=!1)},E=n=>{if(!n)return"00:00:00";if("number"==typeof n){const x=Math.floor(n/3600),e=Math.floor(n%3600/60),t=n%60;return`${String(x).padStart(2,"0")}:${String(e).padStart(2,"0")}:${String(t).padStart(2,"0")}`}return n},N=n=>{if(!n)return"0M";return`${(Number(n)/1024/1024).toFixed(2)}M`},S=n.ref("");o((n=>{n.from&&(S.value=n.from),n.type&&k("downloading"),C(),a.value=qg.addListener((n=>{l.value=n})),x("log","at pages_app/downLoadVideo/downLoadVideo.vue:359",11111),x("log","at pages_app/downLoadVideo/downLoadVideo.vue:360",l.value),I()})),i((()=>{C(),I()})),s((()=>{a.value&&a.value()}));const C=()=>{l.value=qg.getTasks()},q=n=>{const e=qg.getTask(n);if(!e)return;const t=uni.downloadFile({url:e.url,success:e=>{200===e.statusCode?(qg.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"success"}),x("log","at pages_app/downLoadVideo/downLoadVideo.vue:475",e),uni.saveFile({tempFilePath:e.tempFilePath,success:function(x){uni.getSavedFileInfo({filePath:x.savedFilePath,success:function(x){qg.updateTask(n,{status:"completed",realyPath:x.savedFilePath,size:x.size})}})}})):(qg.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败",icon:"none"}))},fail:e=>{qg.updateTask(n,{status:"failed"}),x("error","at pages_app/downLoadVideo/downLoadVideo.vue:505","下载失败:",e),uni.showToast({title:"下载失败: "+(e.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((e=>{const t=qg.getTask(n);t&&"downloading"===t.status&&(x("log","at pages_app/downLoadVideo/downLoadVideo.vue:519",e.progress),qg.updateTask(n,{progress:e.progress,downloadSize:e.totalBytesWritten,totalSize:e.totalBytesExpectedToWrite}))})),qg.updateTask(n,{task:t})},T=n=>{const x=qg.getTask(n);x&&x.task&&(x.task.abort(),qg.updateTask(n,{status:"paused",task:null}),uni.showToast({title:"已暂停",icon:"none"}))},V=n=>{qg.updateTask(n,{status:"downloading",progress:0}),q(n)},A=n=>{qg.removeTask(n),C()},I=()=>{n.nextTick((()=>{qg.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/downLoadVideo/downLoadVideo.vue:610","恢复下载任务:",null==(e=qg.getTask(n))?void 0:e.url),q(n)}))}))};return n.onMounted((()=>{(()=>{if("android"!==uni.getSystemInfoSync().platform)uni.sendNativeEvent("getSysSpace",{msg:"getSysSpace"},(n=>{y.value={total:n.total,available:n.available}}));else{const e=plus.android.importClass("android.os.Environment"),t=plus.android.importClass("android.os.StatFs");try{const n=e.getDataDirectory(),x=new t(plus.android.invoke(n,"getPath")),i=plus.android.invoke(x,"getBlockSize"),l=plus.android.invoke(x,"getAvailableBlocks"),o=plus.android.invoke(x,"getBlockCount"),a=i*l,s=i*o,r=(a/1073741824).toFixed(2),c=((a/1048576).toFixed(2),(s/1073741824).toFixed(2));y.value={total:c+"G",available:r+"G"}}catch(n){return x("error","at pages_app/downLoadVideo/downLoadVideo.vue:433","获取存储信息时发生错误:",n),null}}})()})),(x,t)=>{const i=e(n.resolveDynamicComponent("uni-nav-bar"),m),o=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(i,{"left-icon":"left",title:"视频缓存",onClickLeft:j,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[n.createElementVNode("view",{class:"nav-edit",onClick:_},[n.createElementVNode("text",null,n.toDisplayString(g.value?"取消":"编辑"),1)])])])),_:1})]),n.createElementVNode("view",{class:"download-video-page"},[n.createElementVNode("view",{class:"tabs-container"},[n.createElementVNode("view",{class:n.normalizeClass(["tab-item",{active:"completed"===h.value}]),onClick:t[0]||(t[0]=n=>k("completed"))}," 已完成 ",2),n.createElementVNode("view",{class:"tab-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["tab-item",{active:"downloading"===h.value}]),onClick:t[1]||(t[1]=n=>k("downloading"))}," 缓存中 ",2)]),n.createElementVNode("scroll-view",{class:"content-scroll","scroll-y":"","scroll-top":p.value},[0===z.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"empty-state"},[n.createElementVNode("text",null,"暂无数据")])):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(z.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{key:x.id||e,class:"video-item",onClick:n=>(n=>{if(g.value)w(n);else if("completed"===n.status)uni.navigateTo({url:`/pages_app/videoDetail/videoDetail?id=${n.id}&from=download`});else if("downloading"===n.status){let x=l.value.findIndex((x=>x.id===n.id));-1!==x&&T(x)}else if("paused"===n.status){let x=l.value.findIndex((x=>x.id===n.id));-1!==x&&V(x)}})(x)},[g.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"checkbox-wrapper",onClick:n.withModifiers((n=>w(x)),["stop"])},[n.createElementVNode("view",{class:n.normalizeClass(["checkbox",{checked:v(x)}])},[v(x)?(n.openBlock(),n.createBlock(o,{key:0,type:"checkmarkempty",size:"16",color:"#ffffff"})):n.createCommentVNode("",!0)],2)],8,["onClick"])):n.createCommentVNode("",!0),n.createElementVNode("image",{class:"video-thumbnail",src:n.unref($l)+x.imgpath,mode:"aspectFill"},null,8,["src"]),n.createElementVNode("view",{class:"video-info"},[n.createElementVNode("view",{class:"video-title"},n.toDisplayString(x.name||"视频标题"),1),n.createElementVNode("view",{class:"video-author"},n.toDisplayString(x.author||"作者"),1),"completed"===x.status?(n.openBlock(),n.createElementBlock("view",{key:0,class:"video-meta"},[n.createVNode(o,{type:"clock",size:"12",color:"#999999",class:"meta-icon"}),n.createElementVNode("text",{class:"meta-text"},[x.duration?(n.openBlock(),n.createElementBlock("text",{key:0},n.toDisplayString(E(x.duration)),1)):n.createCommentVNode("",!0)]),n.createElementVNode("text",{class:"meta-size"},n.toDisplayString(N(x.size)),1)])):n.createCommentVNode("",!0),"downloading"==x.status||"paused"==x.status?(n.openBlock(),n.createElementBlock("view",{key:1,class:"video-meta video-status"},[n.createElementVNode("view",{class:"status-icon"},[n.createElementVNode("image",{src:"paused"==x.status?n.unref("/static/down_true.png"):n.unref("/static/down_false.png"),mode:"aspectFill"},null,8,["src"]),n.createElementVNode("text",null,n.toDisplayString("paused"==x.status?"继续":"暂停"),1)]),n.createElementVNode("view",{class:"box"},[n.createElementVNode("view",{class:"size-box"},n.toDisplayString(N(x.downloadSize))+"/"+n.toDisplayString(N(x.totalSize)),1)])])):n.createCommentVNode("",!0)])],8,["onClick"])))),128))],8,["scroll-top"]),n.createElementVNode("view",{class:"bottom-box"},[n.createElementVNode("view",{class:"storage-info"},[n.createElementVNode("text",null,"手机存储:总空间"+n.toDisplayString(y.value.total)+"/剩余"+n.toDisplayString(y.value.available)+"可用",1)]),g.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"footer-btn"},[n.createElementVNode("view",{class:"footer-btn-item select",onClick:b},[c.value?(n.openBlock(),n.createElementBlock("text",{key:1},"取消全选")):(n.openBlock(),n.createElementBlock("text",{key:0},"全选"))]),n.createElementVNode("view",{class:"bar"}),n.createElementVNode("view",{class:"footer-btn-item del",onClick:f},[n.createTextVNode(" 删除"),u.value.length>0?(n.openBlock(),n.createElementBlock("text",{key:0},"("+n.toDisplayString(u.value.length)+")",1)):n.createCommentVNode("",!0)])])):n.createCommentVNode("",!0)])])],64)}}},Vg=h(Tg,[["__scopeId","data-v-c9e48a5e"]]);const Ag=new class{constructor(){let n=uni.getStorageSync("downloadFileTasks");this.tasks=n||[],this.listeners=[]}addTask(n){const x=this.tasks.length,e={id:Date.now()+Math.random(),url:"",status:"downloading",progress:0,title:"",type:"",releaseTime:"",task:null,filePath:"",createTime:Date.now(),localPath:""};return Object.assign(e,n),this.tasks.push(e),this.notifyListeners(),this.saveToStorage(),x}updateTask(n,x){this.tasks[n]&&(Object.assign(this.tasks[n],x),this.notifyListeners(),this.saveToStorage())}removeTask(n){const x=this.tasks[n];x&&x.task&&"downloading"===x.status&&x.task.abort(),this.tasks.splice(n,1),this.notifyListeners(),this.saveToStorage()}getTasks(){return this.tasks}getTask(n){return this.tasks[n]}addListener(n){return this.listeners.push(n),()=>{const x=this.listeners.indexOf(n);x>-1&&this.listeners.splice(x,1)}}notifyListeners(){const n=[...this.tasks];this.listeners.forEach((e=>{try{e(n)}catch(Rw){x("error","at store/downloadStoreFile.js:83","DownloadStoreFile listener error:",Rw)}}))}saveToStorage(){const n=this.tasks.map((n=>({id:n.id,url:n.url,status:n.status,progress:n.progress,filePath:n.filePath,createTime:n.createTime,localPath:n.localPath,title:n.title,type:n.type,releaseTime:n.releaseTime})));uni.setStorageSync("downloadFileTasks",n)}loadFromStorage(){const n=uni.getStorageSync("downloadFileTasks");n&&Array.isArray(n)&&(this.tasks=n.map((n=>({...n,task:null}))),this.notifyListeners())}resumeDownloadingTasks(n){this.tasks.forEach(((x,e)=>{"downloading"!==x.status||x.task||"function"==typeof n&&n(e)}))}},Ig={__name:"zhinanDownload",setup(t){n.ref([]),n.ref(!1),n.ref(!0),n.ref(1),n.ref(10),n.ref(!1),n.ref(""),n.ref("more"),n.ref(""),n.ref("");const l=n.ref(2),a=n.ref(!1);n.ref("上传时间");const s=n.ref([]),c=n.computed((()=>s.value.filter((n=>"completed"==n.status&&"zhinan"==n.type)))),u=n.ref(!1),h=n.ref(null);o((n=>{})),r((()=>(plus.runtime.quit(),!0))),i((()=>{p(),Ag.addListener((n=>{s.value=n})),v()}));const g=()=>{plus.runtime.quit()},p=()=>{s.value=Ag.getTasks()},y=n=>{Ag.removeTask(n),p()},f=()=>{u.value=!1,h.value=null},b=()=>{if(!h.value)return;const n=Ag.getTasks().findIndex((n=>n.id===h.value.id));if(-1!==n){const e=Ag.getTask(n);e&&e.localPath?uni.removeSavedFile({filePath:e.localPath,success:()=>{x("log","at pages_app/zhinanDownload/zhinanDownload.vue:464","本地文件删除成功")},fail:n=>{x("log","at pages_app/zhinanDownload/zhinanDownload.vue:467","本地文件删除失败:",n)},complete:()=>{y(n),uni.showToast({title:"删除成功",icon:"none",duration:1500}),f()}}):(y(n),uni.showToast({title:"删除成功",icon:"success",duration:1500}),f())}else uni.showToast({title:"删除失败,未找到任务",icon:"none",duration:1500}),f()},v=()=>{n.nextTick((()=>{Ag.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/zhinanDownload/zhinanDownload.vue:506","恢复下载任务:",null==(e=Ag.getTask(n))?void 0:e.url),(n=>{const e=Ag.getTask(n);if(!e)return;if("loading"==e.status)return!1;uni.showToast({title:"正在下载中",icon:"none"}),Ag.updateTask(n,{status:"loading"});const t=uni.downloadFile({url:e.url,success:e=>{x("log","at pages_app/zhinanDownload/zhinanDownload.vue:358","res1:"+JSON.stringify(e)),200===e.statusCode?(Ag.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"none"}),uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/zhinanDownload/zhinanDownload.vue:374","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/zhinanDownload/zhinanDownload.vue:378","res:"+JSON.stringify(t)),x("log","at pages_app/zhinanDownload/zhinanDownload.vue:379","size:"+t.size),Ag.updateTask(n,{status:"completed",localPath:e.savedFilePath})}})}})):(Ag.updateTask(n,{status:"failed"}),y(n),uni.showToast({title:"下载失败2",icon:"none"}))},fail:x=>{Ag.updateTask(n,{status:"failed"}),y(n),uni.showToast({title:"下载失败3: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Ag.getTask(n);e&&"downloading"===e.status&&Ag.updateTask(n,{progress:x.progress})})),Ag.updateTask(n,{task:t})})(n)}))}))},w=n=>{if(!n)return"";try{const x=new Date(n),e=x.getFullYear(),t=String(x.getMonth()+1).padStart(2,"0");return`${e}-${t}-${String(x.getDate()).padStart(2,"0")}`}catch(x){return n}};return(t,i)=>{var o;const r=e(n.resolveDynamicComponent("uni-nav-bar"),m),p=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"zhinan-list-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(r,{"left-icon":"left",title:"诊疗指南",onClickLeft:g,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"})]),n.createElementVNode("scroll-view",{class:"guidelines-scroll-view","scroll-y":"true"},[n.createElementVNode("view",{class:"guidelines-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(c.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e.id||t,onLongpress:n=>(n=>{h.value=n,u.value=!0})(e)},[n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title"},n.toDisplayString(e.title),1),n.createElementVNode("view",{class:"item-bottom"},[n.createElementVNode("view",{class:"item-date"},n.toDisplayString(w(e.releaseTime)),1),n.createElementVNode("view",{class:"item-action"},[n.createElementVNode("view",{class:"view-btn",onClick:n.withModifiers((n=>{return t=e,x("log","at pages_app/zhinanDownload/zhinanDownload.vue:237",s.value),void s.value.forEach((n=>{n.id==t.id&&(x("log","at pages_app/zhinanDownload/zhinanDownload.vue:240",2222222222),x("log","at pages_app/zhinanDownload/zhinanDownload.vue:241",n.localPath),plus.runtime.openFile(n.localPath,(function(n){x("log","at pages_app/zhinanDownload/zhinanDownload.vue:244","打开成功")}),(function(n){uni.showToast({title:"打开失败:"+n.message,icon:"none",duration:2e3}),x("log","at pages_app/zhinanDownload/zhinanDownload.vue:251","打开失败:"+n.message)})))}));var t}),["stop"])},"查看",8,["onClick"])])])])],40,["onLongpress"])))),128))]),0===c.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"no-data"},[n.createVNode(Vc)])):n.createCommentVNode("",!0)])]),u.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"delete-modal-mask",onClick:f},[n.createElementVNode("view",{class:"delete-modal-content",onClick:i[0]||(i[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"delete-modal-title"},"确认删除"),n.createElementVNode("view",{class:"delete-modal-text"},'确定要删除"'+n.toDisplayString(null==(o=h.value)?void 0:o.title)+'"吗?',1),n.createElementVNode("view",{class:"delete-modal-buttons"},[n.createElementVNode("view",{class:"delete-modal-btn cancel-btn",onClick:f},"取消"),n.createElementVNode("view",{class:"delete-modal-btn confirm-btn",onClick:b},"删除")])])])):n.createCommentVNode("",!0),a.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"popup-panel"},[n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:1==l.value}]),onClick:i[1]||(i[1]=n.withModifiers((n=>t.chooseInnerSort(1)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"下载量"),1==l.value?(n.openBlock(),n.createBlock(p,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:2==l.value}]),onClick:i[2]||(i[2]=n.withModifiers((n=>t.chooseInnerSort(2)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"上传时间"),2==l.value?(n.openBlock(),n.createBlock(p,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:3==l.value}]),onClick:i[3]||(i[3]=n.withModifiers((n=>t.chooseInnerSort(3)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"标题"),3==l.value?(n.openBlock(),n.createBlock(p,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2)])):n.createCommentVNode("",!0)],64)}}},Bg=h(Ig,[["__scopeId","data-v-810cb2cc"]]);const Dg=new class{constructor(){let n=uni.getStorageSync("downloadPptTasks");this.tasks=n||[],this.listeners=[]}addTask(n){const x=this.tasks.length,e={id:Date.now()+Math.random(),url:"",status:"downloading",progress:0,title:"",type:"",releaseTime:"",task:null,filePath:"",createTime:Date.now(),localPath:""};return Object.assign(e,n),this.tasks.push(e),this.notifyListeners(),this.saveToStorage(),x}updateTask(n,x){this.tasks[n]&&(Object.assign(this.tasks[n],x),this.notifyListeners(),this.saveToStorage())}removeTask(n){const x=this.tasks[n];x&&x.task&&"downloading"===x.status&&x.task.abort(),this.tasks.splice(n,1),this.notifyListeners(),this.saveToStorage()}getTasks(){return this.tasks}getTask(n){return this.tasks[n]}addListener(n){return this.listeners.push(n),()=>{const x=this.listeners.indexOf(n);x>-1&&this.listeners.splice(x,1)}}notifyListeners(){const n=[...this.tasks];this.listeners.forEach((e=>{try{e(n)}catch(Rw){x("error","at store/downloadStorePpt.js:83","DownloadStoreFile listener error:",Rw)}}))}saveToStorage(){const n=this.tasks.map((n=>({id:n.id,url:n.url,status:n.status,progress:n.progress,filePath:n.filePath,createTime:n.createTime,localPath:n.localPath,title:n.title,type:n.type,releaseTime:n.releaseTime})));uni.setStorageSync("downloadPptTasks",n)}loadFromStorage(){const n=uni.getStorageSync("downloadPptTasks");n&&Array.isArray(n)&&(this.tasks=n.map((n=>({...n,task:null}))),this.notifyListeners())}resumeDownloadingTasks(n){this.tasks.forEach(((x,e)=>{"downloading"!==x.status||x.task||"function"==typeof n&&n(e)}))}},Mg={__name:"pptDownload",setup(t){const l=n.ref([]),a=n.ref(!1),s=n.ref(!0),c=n.ref(1),u=n.ref(10);n.ref(!1);const h=n.ref(""),g=n.ref(!1),p=n.ref(null),y=n.ref("more"),f=n.ref("");n.ref("");const b=n.ref(2),v=n.ref(!1),w=n.ref("上传时间"),z=n.ref([]),j=n.computed((()=>z.value.filter((n=>"completed"==n.status&&"ppt"==n.type))));r((()=>(plus.runtime.quit(),!0)));const k=n=>{b.value=n,1==n?w.value="下载量":2==n?w.value="上传时间":3==n&&(w.value="标题"),v.value=!1,_(!0)};o((n=>{})),i((()=>{N(),Dg.addListener((n=>{z.value=n})),C()}));const _=async(n=!1)=>{if(x("log","at pages_app/pptDownload/pptDownload.vue:267","=== loadGuidelinesList 开始 ==="),x("log","at pages_app/pptDownload/pptDownload.vue:268","当前参数:",{isRefresh:n,page:c.value,keywords:h.value}),!a.value)try{a.value=!0,y.value="loading";const e={page:c.value,pageSize:u.value,type:1,sort:2,typeUuid:f.value,keywords:h.value},t=await Fl.searchLibraryU(e);if(x("log","at pages_app/pptDownload/pptDownload.vue:290","指南列表响应:",t),200===t.code&&t.data){const e=t.data.list||t.data;n?(l.value=e,x("log","at pages_app/pptDownload/pptDownload.vue:297","刷新模式:替换列表数据")):(l.value=[...l.value,...e],x("log","at pages_app/pptDownload/pptDownload.vue:300","加载更多:追加数据到列表")),e.length{plus.runtime.quit()},N=()=>{z.value=Dg.getTasks()},S=n=>{Dg.removeTask(n),N()},C=()=>{n.nextTick((()=>{Dg.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/pptDownload/pptDownload.vue:586","恢复下载任务:",null==(e=Dg.getTask(n))?void 0:e.url),(n=>{const e=Dg.getTask(n);if(!e)return;if("loading"==e.status)return!1;uni.showToast({title:"正在下载中",icon:"none"}),Dg.updateTask(n,{status:"loading"});const t=uni.downloadFile({url:e.url,success:e=>{x("log","at pages_app/pptDownload/pptDownload.vue:503","res1:"+JSON.stringify(e)),200===e.statusCode?(Dg.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"none"}),uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/pptDownload/pptDownload.vue:519","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/pptDownload/pptDownload.vue:523","res:"+JSON.stringify(t)),x("log","at pages_app/pptDownload/pptDownload.vue:524","size:"+t.size),Dg.updateTask(n,{status:"completed",localPath:e.savedFilePath})}})}})):(Dg.updateTask(n,{status:"failed"}),S(n),uni.showToast({title:"下载失败2",icon:"none"}))},fail:x=>{Dg.updateTask(n,{status:"failed"}),S(n),uni.showToast({title:"下载失败3: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Dg.getTask(n);e&&"downloading"===e.status&&Dg.updateTask(n,{progress:x.progress})})),Dg.updateTask(n,{task:t})})(n)}))}))},q=()=>{g.value=!1,p.value=null},T=()=>{if(!p.value)return;const n=Dg.getTasks().findIndex((n=>n.id===p.value.id));if(-1!==n){const e=Dg.getTask(n);e&&e.localPath?uni.removeSavedFile({filePath:e.localPath,success:()=>{x("log","at pages_app/pptDownload/pptDownload.vue:656","本地文件删除成功")},fail:n=>{x("log","at pages_app/pptDownload/pptDownload.vue:659","本地文件删除失败:",n)},complete:()=>{S(n),uni.showToast({title:"删除成功",icon:"none",duration:1500}),q()}}):(S(n),uni.showToast({title:"删除成功",icon:"success",duration:1500}),q())}else uni.showToast({title:"删除失败,未找到任务",icon:"none",duration:1500}),q()};return(t,i)=>{var l;const o=e(n.resolveDynamicComponent("uni-nav-bar"),m),a=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"zhinan-list-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(o,{"left-icon":"left",title:"课件文档",onClickLeft:E,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"})]),n.createElementVNode("scroll-view",{class:"guidelines-scroll-view","scroll-y":"true"},[n.createElementVNode("view",{class:"guidelines-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(j.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e.id||t,onClick:n=>{return t=e,x("log","at pages_app/pptDownload/pptDownload.vue:407",z.value),void z.value.forEach((n=>{n.id==t.id&&(x("log","at pages_app/pptDownload/pptDownload.vue:410",2222222222),x("log","at pages_app/pptDownload/pptDownload.vue:411",n.localPath),plus.runtime.openFile(n.localPath,(function(n){x("log","at pages_app/pptDownload/pptDownload.vue:414","打开成功")}),(function(n){uni.showToast({title:"打开失败:"+n.message,icon:"none",duration:2e3}),x("log","at pages_app/pptDownload/pptDownload.vue:421","打开失败:"+n.message)})))}));var t},onLongpress:n=>(n=>{p.value=n,g.value=!0})(e)},[n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title"},n.toDisplayString(e.title),1)])],40,["onClick","onLongpress"])))),128))]),0===j.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"no-data"},[n.createVNode(Vc)])):n.createCommentVNode("",!0)])]),v.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"popup-panel"},[n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:1==b.value}]),onClick:i[0]||(i[0]=n.withModifiers((n=>k(1)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"下载量"),1==b.value?(n.openBlock(),n.createBlock(a,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:2==b.value}]),onClick:i[1]||(i[1]=n.withModifiers((n=>k(2)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"上传时间"),2==b.value?(n.openBlock(),n.createBlock(a,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:3==b.value}]),onClick:i[2]||(i[2]=n.withModifiers((n=>k(3)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"标题"),3==b.value?(n.openBlock(),n.createBlock(a,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2)])):n.createCommentVNode("",!0),g.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"delete-modal-mask",onClick:q},[n.createElementVNode("view",{class:"delete-modal-content",onClick:i[3]||(i[3]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"delete-modal-title"},"确认删除"),n.createElementVNode("view",{class:"delete-modal-text"},'确定要删除"'+n.toDisplayString(null==(l=p.value)?void 0:l.title)+'"吗?',1),n.createElementVNode("view",{class:"delete-modal-buttons"},[n.createElementVNode("view",{class:"delete-modal-btn cancel-btn",onClick:q},"取消"),n.createElementVNode("view",{class:"delete-modal-btn confirm-btn",onClick:T},"删除")])])])):n.createCommentVNode("",!0)],64)}}},Og=h(Mg,[["__scopeId","data-v-f02cfa94"]]),Rg="/static/contact.png",Pg="/static/ppt_dw.png",Lg={__name:"pptDetail",setup(t){const a=n.ref(!1),c=n.ref(""),u=n.ref(!1),h=n.ref("");n.ref(!1);const g=n.ref(""),d=n.ref(""),p=n.ref("");n.ref(!1);const y=n.ref(null),f=n.ref(null),b=n.ref(!1),v=n.ref({screenW:0,screenH:0,dialogW:0,dialogH:0,dialogLeft:0,dialogTop:0,imageTop:0,imageLeft:0,imageSize:0,buttonTop:0,buttonH:0,leftButtonW:0}),w=()=>{!function(){if(b.value)return;y.value&&f.value||function(){if(y.value||f.value)return;const n=plus.screen.resolutionWidth,x=plus.screen.resolutionHeight,e=uni.upx2px(620),t=uni.upx2px(660),i=Math.round((n-e)/2),l=Math.round((x-t)/2),o=uni.upx2px(96),a=t-o,s=Math.round(e/2),r=uni.upx2px(46),c=uni.upx2px(280),u=r+uni.upx2px(72),h=Math.round((e-c)/2),g=u+c+uni.upx2px(36);v.value={screenW:n,screenH:x,dialogW:e,dialogH:t,dialogLeft:i,dialogTop:l,imageTop:u,imageLeft:h,imageSize:c,buttonTop:a,buttonH:o,leftButtonW:s},y.value=new plus.nativeObj.View("native-download-mask",{left:"0px",top:"0px",width:n+"px",height:x+"px",zindex:99996,touchable:!0,interceptTouchEvent:!0},[{tag:"rect",id:"mask",position:{left:"0px",top:"0px",width:n+"px",height:x+"px"},color:"rgba(0,0,0,0.5)"}]),f.value=new plus.nativeObj.View("native-download-panel",{left:i+"px",top:l+"px",width:e+"px",height:t+"px",zindex:99997,touchable:!0,interceptTouchEvent:!0},[]),f.value.drawRect({color:"#FFFFFF",radius:uni.upx2px(24)},{left:"0px",top:"0px",width:e+"px",height:t+"px"}),f.value.drawText("温馨提示",{left:"0px",top:r+"px",width:e+"px",height:uni.upx2px(56)+"px"},{size:uni.upx2px(34)+"px",color:"#8B2316",align:"center",verticalAlign:"middle",weight:"500"});try{f.value.drawBitmap("_www/static/contact.png",{},{left:h+"px",top:u+"px",width:c+"px",height:c+"px"})}catch(Rw){}f.value.drawText("APP下载课件为pdf格式,扫码联系",{left:uni.upx2px(60)+"px",top:g+"px",width:e-uni.upx2px(120)+"px",height:uni.upx2px(44)+"px"},{size:uni.upx2px(28)+"px",color:"#666666",align:"center",verticalAlign:"middle"}),f.value.drawText("平台文献助手获取原版PPT。",{left:uni.upx2px(60)+"px",top:g+uni.upx2px(48)+"px",width:e-uni.upx2px(120)+"px",height:uni.upx2px(44)+"px"},{size:uni.upx2px(28)+"px",color:"#666666",align:"center",verticalAlign:"middle"}),f.value.drawRect({color:"#F0F0F0"},{left:"0px",top:a-1+"px",width:e+"px",height:"1px"}),f.value.drawRect({color:"#F0F0F0"},{left:s+"px",top:a+"px",width:"1px",height:o+"px"}),f.value.drawText("取消",{left:"0px",top:a+"px",width:s+"px",height:o+"px"},{size:uni.upx2px(32)+"px",color:"#666666",align:"center",verticalAlign:"middle"}),f.value.drawText("保存二维码",{left:s+"px",top:a+"px",width:e-s+"px",height:o+"px"},{size:uni.upx2px(32)+"px",color:"#000",align:"center",verticalAlign:"middle",weight:"500"});const d=()=>{j()},p=n=>{const x=v.value,e=((n,x)=>{let e=0,t=0;void 0!==n.clientX&&void 0!==n.clientY?(e=n.clientX,t=n.clientY):void 0!==n.pageX&&void 0!==n.pageY?(e=n.pageX,t=n.pageY):n.touches&&n.touches.length>0?(e=n.touches[0].clientX||n.touches[0].pageX||0,t=n.touches[0].clientY||n.touches[0].pageY||0):n.changedTouches&&n.changedTouches.length>0&&(e=n.changedTouches[0].clientX||n.changedTouches[0].pageX||0,t=n.changedTouches[0].clientY||n.changedTouches[0].pageY||0);if(!e||!t)return null;let i=e,l=t;e>=0&&e<=x.dialogW&&t>=0&&t<=x.dialogH||(i=e-x.dialogLeft,l=t-x.dialogTop);if(i<0||i>x.dialogW||l<0||l>x.dialogH)return null;return{relativeX:i,relativeY:l}})(n,x);if(!e)return;const{relativeX:t,relativeY:i}=e;i>=x.buttonTop&&(t>=x.leftButtonW?((()=>{try{const n=plus.io.convertLocalFileSystemURL("_www/static/contact.png")||"_www/static/contact.png";uni.saveImageToPhotosAlbum({filePath:n,success:()=>{uni.showToast({title:"图片已保存到相册",icon:"none"})},fail:n=>{const x=n&&n.errMsg||"";x.includes("auth deny")||x.includes("authorize no response")||x.includes("denied")?uni.showModal({title:"提示",content:"请先在系统设置中允许访问相册",showCancel:!0,confirmText:"去设置",success:n=>{n.confirm&&uni.openSetting()}}):uni.showToast({title:"保存失败,请稍后重试",icon:"none"})}})}catch(n){uni.showToast({title:"保存失败,请稍后重试",icon:"none"})}})(),j()):j())};y.value.addEventListener("click",d,!1),y.value.addEventListener("touchstart",d,!1),f.value.addEventListener("click",p,!1)}();y.value&&y.value.show(),f.value&&f.value.show(),b.value=!0}()},z=()=>{a.value=!1,X()};function j(){b.value&&(y.value&&y.value.hide(),f.value&&f.value.hide(),b.value=!1)}const k=n=>{Dg.removeTask(n),ln()},_=()=>{"loading"==V.value?uni.showModal({title:"提示",content:"正在下载课件,退出界面将取消下载,是否退出?",showCancel:!0,cancelText:"取消",confirmText:"确定",confirmColor:"#8B2316",success:n=>{if(n.confirm){const n=E.value.findIndex((n=>n.id===N.value));-1!==n&&k(n),d.value?plus.runtime.quit():uni.navigateBack()}}}):d.value?plus.runtime.quit():uni.navigateBack()};r((n=>{if(x("log","at pages_app/pptDetail/pptDetail.vue:542","onBackPress"),x("log","at pages_app/pptDetail/pptDetail.vue:543",n),"backbutton"==n.from){if("loading"==V.value)return uni.showModal({title:"提示",content:"正在下载课件,退出界面将取消下载,是否退出?",showCancel:!0,cancelText:"取消",confirmText:"确定",confirmColor:"#8B2316",success:n=>{if(n.confirm){const n=E.value.findIndex((n=>n.id===N.value));if(-1!==n&&k(n),d.value)return plus.runtime.quit(),!0;uni.navigateBack()}}}),!0;if(d.value)return plus.runtime.quit(),!0}}));const E=n.ref([]);n.computed((()=>E.value.filter((n=>"completed"==n.status&&"ppt"==n.type)).map((n=>n.id))));const N=n.ref(""),S=n.ref(""),C=n.ref(null),q=n.ref(0),T=n.ref(!1),V=n.ref("start"),A=n.ref(null),I=n.ref(""),B=n.ref("");n.ref(ig);const D=n.ref("课件分享");o((n=>{x("log","at pages_app/pptDetail/pptDetail.vue:595",n),N.value=n.uuid,g.value=decodeURIComponent(n.src),d.value=n.from,G(n)})),s((()=>{uni.$off("paySuccess")})),i((()=>{if(uni.$on("paySuccess",(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:610","详情监听到成功支付"),x("log","at pages_app/pptDetail/pptDetail.vue:611",n),u.value=!0})),T.value=!1,V.value="start",ln(),Dg.addListener((n=>{E.value=n})),E.value.length>0)for(let n=0;n{!function(){if(P.value)return;O.value&&R.value||function(){if(O.value||R.value)return;const n=plus.screen.resolutionWidth,x=plus.screen.resolutionHeight,e=uni.upx2px(520),t=uni.upx2px(20),i=50,l=uni.upx2px(80),o=uni.upx2px(100),a=uni.upx2px(90)+l,s=uni.upx2px(24);L.value={screenW:n,screenH:x,panelH:e,cancelH:o,contentTop:a,iconSize:i,textSize:s},O.value=new plus.nativeObj.View("native-share-mask",{left:"0px",top:"0px",width:n+"px",height:x+"px",zindex:99998,touchable:!0,interceptTouchEvent:!0},[{tag:"rect",id:"mask",position:{left:"0px",top:"0px",width:n+"px",height:x+"px"},color:"rgba(0,0,0,0.5)"}]),R.value=new plus.nativeObj.View("native-share-panel",{left:"0px",top:x-e+"px",width:n+"px",height:e+"px",zindex:99999,touchable:!0,interceptTouchEvent:!0},[]),R.value.drawRect({color:"#FFFFFF",radius:t,rectStyles:{}},{left:uni.upx2px(0)+"px",top:uni.upx2px(0)+"px",width:n+"px",height:e+"px"}),R.value.drawText("分享到",{left:"0px",top:uni.upx2px(20)+"px",width:n+"px",height:l+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle",weight:"500"});const r=[{id:"it-wechat",text:"微信"},{id:"it-moments",text:"朋友圈"}],c=n/r.length,u=a,h=u+i+uni.upx2px(16),g=["share_weixin.png","share_wxc.png","share_sina.png"];r.forEach(((n,x)=>{const e=x*c,t=Math.round(e+(c-i)/2),l=t,o=Math.round(u),a=i;let r=null;try{r="_www/static/"+g[x]}catch(Rw){r=null}if(r)try{try{R.value.drawBitmap(r,{},{left:l+"px",top:o+"px",width:a+"px",height:a+"px"})}catch(d){R.value.drawBitmap(r,{left:l+"px",top:o+"px",width:a+"px",height:a+"px"})}}catch(Rw){const e=2===x?"#E6162D":"#07C160";R.value.drawRect({color:e,radius:Math.round(i/2)},{left:Math.round(t)+"px",top:Math.round(u)+"px",width:Math.round(i)+"px",height:Math.round(i)+"px"})}else{const n=2===x?"#E6162D":"#07C160";R.value.drawRect({color:n,radius:Math.round(i/2)},{left:Math.round(t)+"px",top:Math.round(u)+"px",width:Math.round(i)+"px",height:Math.round(i)+"px"})}R.value.drawText(n.text,{left:e+"px",top:h+"px",width:c+"px",height:s+uni.upx2px(20)+"px"},{size:s+"px",color:"#666666",align:"center",verticalAlign:"top"})}));const d=e-o;R.value.drawRect({color:"#F0F0F0"},{left:"0px",top:d-1+"px",width:n+"px",height:"1px"}),R.value.drawText("取消",{left:"0px",top:d+"px",width:n+"px",height:o+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle"});const p=()=>{F()},m=n=>{const x=L.value;let e=0,t=0;if(void 0!==n.clientX&&void 0!==n.clientY?(e=n.clientX,t=n.clientY):void 0!==n.pageX&&void 0!==n.pageY?(e=n.pageX,t=n.pageY):n.touches&&n.touches.length>0?(e=n.touches[0].clientX||n.touches[0].pageX||0,t=n.touches[0].clientY||n.touches[0].pageY||0):n.changedTouches&&n.changedTouches.length>0&&(e=n.changedTouches[0].clientX||n.changedTouches[0].pageX||0,t=n.changedTouches[0].clientY||n.changedTouches[0].pageY||0),!e||!t)return;let i=t,l=e;t=x.screenH-x.panelH&&(i=t-(x.screenH-x.panelH),l=e);if(i>=x.panelH-x.cancelH)return void F();const o=x.contentTop,a=o+x.iconSize+x.textSize+uni.upx2px(20);if(i>=o&&i<=a){const n=x.screenW/2,e=Math.min(1,Math.max(0,Math.floor(l/n)));0===e?(on(),F()):1===e&&(an(),F())}};O.value.addEventListener("click",p,!1),O.value.addEventListener("touchstart",p,!1),R.value.addEventListener("click",m,!1)}();O.value&&O.value.show(),R.value&&R.value.show(),P.value=!0}()},O=n.ref(null),R=n.ref(null),P=n.ref(!1),L=n.ref({screenW:0,screenH:0,panelH:0,cancelH:0,contentTop:0,iconSize:0,textSize:0});function F(){P.value&&(O.value&&O.value.hide(),R.value&&R.value.hide(),P.value=!1)}const U=()=>{F()},$=()=>{for(let n=0;n{1==q.value?Y():Fl.collection({other_uuid:N.value,type:6,path:g.value,title:A.value.name}).then((n=>{200==n.code&&(uni.showToast({title:"收藏成功",icon:"none"}),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"collect",page_type:"肝胆课件",resource_name:D.value,resource_option:p.value}},(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1002",n)})),Z())}))},Y=()=>{Fl.discollection({other_uuid:N.value,type:6}).then((n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1021",n),200==n.code&&(uni.showToast({title:"取消收藏成功",icon:"none"}),Z())}))},G=async n=>{const x=await Fl.checkUser();if(200==x.code){S.value=x.data.hcp_token;const t=uni.getSystemInfoSync().statusBarHeight+44+uni.upx2px(80)+"px";let i=plus.webview.create("","custom-webview",{top:t,bottom:"0px"});B.value=decodeURIComponent(n.src);let l=`document.cookie="hcp_token=${S.value};domain=.igandan.com;path=/;"`,o=getCurrentPages();var e=o[o.length-1].$getAppWebview();e.append(i),i.loadURL(decodeURIComponent(n.src)),setTimeout((function(){i=e.children()[0],i&&i.setStyle({top:t,bottom:"0px"})}),1e3),i.onloaded=x=>{i.evalJS(l),i.evalJS('document.cookie="hcp_from=expert_app;domain=.igandan.com;path=/"'),i.show(),setTimeout((function(){i.getURL().indexOf("hcp")>-1&&i.loadURL(decodeURIComponent(n.src))}),2e3)}}},W=()=>{a.value=!1,K()},K=()=>{Q()},Q=()=>{Fl.createGanDanFileOrder({file_uuid:N.value}).then((n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1094",n),200==n.code&&(x("log","at pages_app/pptDetail/pptDetail.vue:1096",n.data.provider_name),x("log","at pages_app/pptDetail/pptDetail.vue:1097",A.value.price),x("log","at pages_app/pptDetail/pptDetail.vue:1098",n.data.order_id),x("log","at pages_app/pptDetail/pptDetail.vue:1099",n.data.trade_no),h.value=n.data.order_id,x("log","at pages_app/pptDetail/pptDetail.vue:1101","跳转原生支付页"),uni.sendNativeEvent("payPptPage",{msg:{providername:n.data.provider_name,price:A.value.price,order_id:n.data.order_id,trade_no:n.data.trade_no,amount:n.data.amount,account:n.data.account,title:A.value.name,tags:A.value.tags?A.value.tags:""}}))}))},J=()=>{0==A.value.price?X("free"):A.value.price>0&&(A.value.welfareNum>0?(c.value="您还有"+A.value.welfareNum+"次免费下载机会,希望本次下载免费吗?",uni.showModal({title:"提示",content:"您还有"+A.value.welfareNum+"次免费下载机会,希望本次下载免费吗?",showCancel:!0,cancelText:"取消",confirmText:"确定",confirmColor:"#8B2316",success:n=>{n.confirm?X("welfare"):K()}})):A.value.freeRecord>0?(c.value="您还有"+A.value.freeRecord+"次免费下载机会,希望本次下载免费吗?",uni.showModal({title:"提示",content:"您还有"+A.value.freeRecord+"次免费下载机会,希望本次下载免费吗?",showCancel:!0,cancelText:"取消",confirmText:"确定",confirmColor:"#8B2316",success:n=>{n.confirm?X("freeRecord"):K()}})):A.value.order&&"paid"==A.value.order.order_status?X("reDownload"):K())},X=n=>{w();let e="",t=0;"free"==n?(e="FREE",t=0):"welfare"==n?(e="USEWELFARENUM",t=0):"freeRecord"==n?(e="FREERECORD",t=0):"auto"==n?(e=h.value,t=A.value.price):"reDownload"==n&&(e=A.value.order.order_id+"&R",t=0),x("log","at pages_app/pptDetail/pptDetail.vue:1196","1218"),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"order_gdfile_download",page_type:"肝胆课件",resource_name:D.value,resource_option:p.value,event_val:t,event_unit:"分",number:1}},(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1209",n)})),Fl.downloadGanDanFileV2({file_uuid:N.value,order_id:e}).then((n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1215",n),x("log","at pages_app/pptDetail/pptDetail.vue:1216","qweqweqweqwe"),200==n.code&&en({url:$l+n.data,id:N.value,title:A.value.name,type:"ppt",status:"downloading"})}))},Z=async(n=!1)=>{const e=await Fl.ganDanFileDetials({file_uuid:N.value});if(200==e.code){p.value=e.data.tags?e.data.tags:"",A.value=e.data,D.value=e.data.name,I.value="肝胆相照-国内专业优质肝胆课件共享平台",B.value=B.value+"&fromtype=doctor",q.value=e.data.iscollection,C.value=e.data.order;let i=e.data.price/100;if(nn.value=i>1?i.toFixed(1):i.toFixed(2),n)try{uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"肝胆课件",resource_name:e.data.name,resource_option:p.value}},(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1383",n)}))}catch(t){}E.value.forEach((n=>{n.id==N.value&&uni.getSavedFileInfo({filePath:n.localPath,success:function(n){T.value=!0,V.value="completed"},fail:function(n){}})}))}};n.ref(["/static/big_background_my.png","/static/big_background_my.png","/static/big_background_my.png"]),n.ref(1);const nn=n.ref("1.0"),xn=()=>{uni.showToast({title:"文件正在下载中...",icon:"none"})},en=n=>{const x=Dg.addTask(n);ln(),tn(x)},tn=n=>{const e=Dg.getTask(n);if(!e)return;T.value=!0,V.value="loading";const t=uni.downloadFile({url:e.url,success:e=>{200===e.statusCode?(Dg.updateTask(n,{status:"completed",filePath:e.tempFilePath}),V.value="completed",uni.showToast({title:"下载成功",icon:"none"}),V.value="completed",uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/pptDetail/pptDetail.vue:1465","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/pptDetail/pptDetail.vue:1470","res:"+JSON.stringify(t)),x("log","at pages_app/pptDetail/pptDetail.vue:1471","size:"+t.size),Dg.updateTask(n,{status:"completed",localPath:e.savedFilePath,size:t.size})}})}})):(Dg.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败",icon:"none"}))},fail:x=>{Dg.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Dg.getTask(n);e&&"downloading"===e.status&&Dg.updateTask(n,{progress:x.progress,downloadSize:x.totalBytesWritten,totalSize:x.totalBytesExpectedToWrite})})),Dg.updateTask(n,{task:t})},ln=()=>{E.value=Dg.getTasks()},on=()=>{uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"肝胆课件",resource_name:D.value,resource_option:p.value}},(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1549",n)})),uni.downloadFile({url:"https://doc.igandan.com/app/html/img/2016/20160714132557.png",success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneSession",type:0,title:D.value,summary:I.value,href:B.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/pptDetail/pptDetail.vue:1567","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/pptDetail/pptDetail.vue:1570","fail:"+JSON.stringify(n))}})}})}}),U()},an=()=>{uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"肝胆课件",resource_name:D.value,resource_option:p.value}},(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1642",n)})),uni.downloadFile({url:"https://doc.igandan.com/app/html/img/2016/20160714132557.png",success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneTimeline",type:0,title:D.value,summary:I.value,href:B.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/pptDetail/pptDetail.vue:1660","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/pptDetail/pptDetail.vue:1663","fail:"+JSON.stringify(n))}})}})}}),U()};return l((()=>{F(),j()})),s((()=>{try{O.value&&O.value.close&&O.value.close(),R.value&&R.value.close&&R.value.close()}catch(Rw){}O.value=null,R.value=null,P.value=!1;try{y.value&&y.value.close&&y.value.close(),f.value&&f.value.close&&f.value.close()}catch(Rw){}y.value=null,f.value=null,b.value=!1})),(x,t)=>{const i=e(n.resolveDynamicComponent("uni-nav-bar"),m),l=e(n.resolveDynamicComponent("up-image"),Jn),o=e(n.resolveDynamicComponent("up-icon"),Un);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"ppt-detail-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(i,{"left-icon":"left",title:"课件详情",onClickLeft:_,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[n.createElementVNode("view",{class:"collect-img",onClick:M,style:{"margin-right":"20rpx"}},[n.createElementVNode("image",{class:"share-img-icon",src:n.unref(ng),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("view",{class:"collect-img",onClick:H,style:{"margin-left":"20rpx"}},[n.createElementVNode("image",{class:"collect-img-icon",src:1==q.value?n.unref(og):n.unref(ag),mode:"aspectFill"},null,8,["src"])])])])),_:1})]),A.value&&0==A.value.price&&"start"==V.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"download-bar",onClick:t[0]||(t[0]=n=>X("free"))},[n.createElementVNode("view",{class:"download-inner"},[n.createVNode(l,{src:n.unref(Pg),width:"40rpx",height:"40rpx"},null,8,["src"]),n.createElementVNode("text",{class:"download-text"},"本课件"),n.createElementVNode("text",{class:"download-text"},"免费"),n.createElementVNode("text",{class:"download-unit"},"下载")])])):T.value&&"completed"==V.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"download-bar",onClick:$},[n.createElementVNode("view",{class:"download-inner"},[n.createElementVNode("text",{class:"download-text"},"查看课件")])])):T.value&&"loading"==V.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"download-bar",onClick:xn},[n.createElementVNode("view",{class:"download-inner"},[n.createElementVNode("text",{class:"download-text"},"下载中...")])])):C.value&&"paid"==C.value.order_status&&!T.value?(n.openBlock(),n.createElementBlock("view",{key:3,class:"download-bar",onClick:t[1]||(t[1]=n=>X("reDownload"))},[n.createElementVNode("view",{class:"download-inner"},[n.createElementVNode("text",{class:"download-text"},"重新下载本课件")])])):!C.value&&nn.value>0?(n.openBlock(),n.createElementBlock("view",{key:4,class:"download-bar",onClick:J},[n.createElementVNode("view",{class:"download-inner"},[n.createVNode(l,{src:n.unref(Pg),width:"40rpx",height:"40rpx"},null,8,["src"]),n.createElementVNode("text",{class:"download-text"},"本课件下载"),n.createElementVNode("text",{class:"download-price"},n.toDisplayString(nn.value),1),n.createElementVNode("text",{class:"download-unit"},"元")])])):!C.value&&nn.value<0?(n.openBlock(),n.createElementBlock("view",{key:5,class:"download-bar"},[n.createElementVNode("view",{class:"download-inner"},[n.createVNode(o,{name:"download",color:"#fff",size:"28"}),n.createElementVNode("text",{class:"download-text"},"本课件不支持下载")])])):n.createCommentVNode("",!0)]),n.createVNode(Rx,{visible:a.value,content:c.value,onClose:W,onConfirm:z},null,8,["visible","content"])],64)}}},Fg=h(Lg,[["__scopeId","data-v-054d4d2a"]]),Ug={__name:"ppt",setup(t){const l=n.ref(!1),a=n.ref(!1);n.ref("肝胆相照将稍后与您沟通课件分享,谢谢您对平台的支持!");const s=n.ref(""),c=n.ref(""),u=n.ref(0),h=n.ref(!1),g=n.ref(!1),p=n.ref(!1),y=n.ref(1),f=n.ref(10),b=()=>{v(),a.value=!1},v=()=>{uni.getImageInfo({src:Rg,success:n=>{uni.saveImageToPhotosAlbum({filePath:n.path,success:()=>{uni.showToast({title:"图片已保存到相册",icon:"none"})},fail:n=>{const x=n&&n.errMsg||"";x.includes("auth deny")||x.includes("authorize no response")||x.includes("denied")?uni.showModal({title:"提示",content:"请先在系统设置中允许访问相册",showCancel:!0,confirmText:"去设置",success:n=>{n.confirm&&uni.openSetting()}}):uni.showToast({title:"保存失败,请稍后重试",icon:"none"})}})},fail:()=>{uni.showToast({title:"图片读取失败",icon:"none"})}})},w=n.ref([]);r((()=>(plus.runtime.quit(),!0)));o((()=>{(async()=>{const n=await Fl.checkUser();200==n.code&&(s.value=n.data.hcp_token,x("log","at pages_app/ppt/ppt.vue:221",s.value))})(),S(!1),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"list_page",page_type:"肝胆课件"}},(n=>{x("log","at pages_app/ppt/ppt.vue:235",n)}))}));const z=()=>{uni.sendNativeEvent("goHomeSearch",{msg:"ppt"},(n=>{x("log","at pages_app/ppt/ppt.vue:245",n)}))},j=()=>{uni.navigateBack({fail(){uni.redirectTo({url:"/pages/index/index"})}})},k=()=>{u.value=0===u.value?1:0,x("log","at pages_app/ppt/ppt.vue:269","切换排序:",u.value),y.value=1,w.value=[],p.value=!1,S(!1)},_=()=>{a.value=!0},E=async()=>{h.value=!0;try{y.value=1,p.value=!1,w.value=[],await S(!1),uni.showToast({title:"刷新成功",icon:"none"})}catch(n){uni.showToast({title:"刷新失败",icon:"error"})}finally{h.value=!1}},N=async()=>{x("log","at pages_app/ppt/ppt.vue:356","=== onLoadMore 触发 ==="),x("log","at pages_app/ppt/ppt.vue:357","当前状态:",{loading:g.value,noMore:p.value,page:y.value,listLength:w.value.length}),g.value||p.value?x("log","at pages_app/ppt/ppt.vue:365","条件不满足,跳过加载:",{loading:g.value,noMore:p.value}):(x("log","at pages_app/ppt/ppt.vue:372","条件满足,开始加载更多数据"),await S(!1))},S=async(n=!1)=>{if(n&&(y.value=1,w.value=[],p.value=!1),!g.value&&!p.value){g.value=!0;try{x("log","at pages_app/ppt/ppt.vue:388",`开始加载第${y.value}页课件数据`);const e=await Fl.ganDanFileByKeyWords({page:y.value,sort:u.value,keywords:c.value,title:""});if(x("log","at pages_app/ppt/ppt.vue:401","课件列表API响应:",e),e&&200===e.code){let t=[],i=0;if(e.data&&e.data.list)t=e.data.list,i=e.data.totalRow,x("log","at pages_app/ppt/ppt.vue:411","使用 res.data.list 结构");else{if(!e.data||!Array.isArray(e.data))return x("error","at pages_app/ppt/ppt.vue:417","无法识别的数据结构:",e.data),void(p.value=!0);t=e.data,i=e.total||0,x("log","at pages_app/ppt/ppt.vue:415","使用 res.data 数组结构")}x("log","at pages_app/ppt/ppt.vue:422","解析后的数据:",{newItems:t,totalCount:i,newItemsLength:t.length}),Array.isArray(t)?(n?(w.value=t,x("log","at pages_app/ppt/ppt.vue:427","刷新模式:替换列表数据")):(w.value.push(...t),x("log","at pages_app/ppt/ppt.vue:430","加载更多:追加数据到列表")),t.length=i?(p.value=!0,x("log","at pages_app/ppt/ppt.vue:436","没有更多数据了")):n||(y.value=y.value+1,x("log","at pages_app/ppt/ppt.vue:441",`还有更多数据,下一页: ${y.value}`))):(x("error","at pages_app/ppt/ppt.vue:445","API返回的数据不是数组格式:",t),p.value=!0)}else x("error","at pages_app/ppt/ppt.vue:449","加载课件列表失败:",e.message),uni.showToast({title:e.message||"加载失败",icon:"error"})}catch(e){x("error","at pages_app/ppt/ppt.vue:456","加载课件列表异常:",e),uni.showToast({title:"网络异常,请重试",icon:"error"})}finally{g.value=!1}}},C=n.ref(!1),q=n.ref([{name:"指南解读",selected:!1},{name:"病例分析",selected:!1},{name:"学术讲座",selected:!1},{name:"手术视频",selected:!1},{name:"研究进展",selected:!1},{name:"肝病治疗",selected:!1},{name:"肝癌诊断",selected:!1},{name:"肝移植",selected:!1},{name:"微创手术",selected:!1},{name:"免疫治疗",selected:!1},{name:"靶向治疗",selected:!1},{name:"化疗方案",selected:!1}]),T=()=>{C.value=!0},V=()=>{C.value=!1},A=()=>{q.value.forEach((n=>n.selected=!1))},I=()=>{const n=q.value.filter((n=>n.selected));x("log","at pages_app/ppt/ppt.vue:516","选中的筛选标签:",n);let e="";for(var t=0;tn<1?n.toFixed(2):n.toFixed(1);return i((()=>{x("log","at pages_app/ppt/ppt.vue:543","页面显示,开始加载课件数据"),(async()=>{try{const n=await Fl.guideTag({type:6});x("log","at pages_app/ppt/ppt.vue:314","指南标签API响应:",n),n&&200===n.code&&n.data&&(q.value=n.data.map((n=>({...n,selected:!1}))),x("log","at pages_app/ppt/ppt.vue:321","指南标签加载成功:",q.value))}catch(Rw){x("error","at pages_app/ppt/ppt.vue:324","加载指南标签失败:",Rw)}})()})),(x,t)=>{const i=e(n.resolveDynamicComponent("uni-nav-bar"),m),o=e(n.resolveDynamicComponent("up-image"),Jn),s=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(i,{"left-icon":"left",title:"肝胆课件",onClickLeft:j,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"collect-img",onClick:z,style:{"margin-right":"20rpx"}},[n.createElementVNode("image",{class:"img-icon",src:n.unref(Eg),mode:"aspectFill"},null,8,["src"])])])),_:1})]),n.createElementVNode("view",{class:"courseware-container"},[n.createElementVNode("view",{class:"filter-bar"},[n.createElementVNode("view",{class:"filter-item",onClick:k},[n.createElementVNode("text",{class:"filter-text active"},n.toDisplayString(0==u.value?"最新":"最热"),1),n.createElementVNode("view",{class:"newbox"},[n.createVNode(o,{src:n.unref(Ac),width:"20rpx",height:"26rpx"},null,8,["src"])])]),n.createElementVNode("view",{class:"divider"}),n.createElementVNode("view",{class:"filter-item",onClick:T},[n.createElementVNode("text",{class:n.normalizeClass(["filter-text",{active:l.value}])},"筛选",2),n.createElementVNode("view",{class:"filterbox"},[n.createVNode(o,{src:l.value?n.unref(Bc):n.unref(Ic),width:"30rpx",height:"30rpx"},null,8,["src"])])])]),n.createElementVNode("scroll-view",{class:"courseware-list","scroll-y":"true","refresher-enabled":"true","refresher-triggered":h.value,onRefresherrefresh:E,onScrolltolower:N,"show-scrollbar":!1},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(w.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"courseware-item",key:e,onClick:n=>(n=>{Ul({url:`/pages_app/pptDetail/pptDetail?src=${encodeURIComponent(n.preview_path)}&uuid=${n.uuid}`})})(x)},[n.createElementVNode("view",{class:"item-left"},[n.createElementVNode("view",{class:"pdf-icon"},[n.createVNode(o,{src:"pdf"==x.type?n.unref("/static/pdf.png"):n.unref("/static/word.png"),width:"114rpx",height:"114rpx"},null,8,["src"])])]),n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title twoline"},n.toDisplayString(x.title),1),n.createElementVNode("view",{class:"info"},[n.createElementVNode("view",{class:"author-name"},n.toDisplayString(x.providername),1),n.createElementVNode("view",{class:"item-author"},[n.createElementVNode("view",null,n.toDisplayString(x.hospitalname),1)])]),n.createElementVNode("view",{class:"item-stats"},[n.createElementVNode("view",{class:"views"},[n.createVNode(s,{type:"eye",size:"30rpx",color:"#999"}),n.createElementVNode("text",{class:"view-count"},n.toDisplayString(x.readnum)+"人阅读",1)]),x.price>=0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"price"},[n.createElementVNode("view",{class:"priceImg",style:{"margin-top":"-4rpx"}},[n.createVNode(o,{src:n.unref($h),width:"32rpx",height:"32rpx"},null,8,["src"])]),x.price>0&&x.discount>0?(n.openBlock(),n.createElementBlock("text",{key:0,class:"price-value"},[n.createElementVNode("text",{class:"money-unit"},"¥"),n.createTextVNode(n.toDisplayString(B(x.price/100*x.discount)),1)])):n.createCommentVNode("",!0),x.price>0&&x.discount<1&&x.discount>0?(n.openBlock(),n.createElementBlock("text",{key:1,class:"yuanjia"},[n.createTextVNode("原价"),n.createElementVNode("text",{class:"jiaprice"},n.toDisplayString(B(x.price/100)),1)])):x.price<=0||0===x.discount||x.price*x.discount==0?(n.openBlock(),n.createElementBlock("text",{key:2,class:"free"},"免费")):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)])])],8,["onClick"])))),128))],40,["refresher-triggered"]),C.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"filter-popup",onClick:V},[n.createElementVNode("view",{class:"filter-content",onClick:t[0]||(t[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"filter-tags"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(q.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["tag-item",{active:x.selected}]),key:e,onClick:n=>(n=>{const x=q.value.filter((n=>n.selected)).length;!q.value[n].selected&&x>=3?uni.showToast({title:"最多选择3个标签",icon:"none"}):q.value[n].selected=!q.value[n].selected})(e)},n.toDisplayString(x.NAME),11,["onClick"])))),128))]),n.createElementVNode("view",{class:"filter-buttons"},[n.createElementVNode("view",{class:"btn-reset",onClick:A},"重置"),n.createElementVNode("view",{class:"btn-confirm",onClick:I},"确定")])])])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"submit-btn",onClick:_},[n.createVNode(o,{src:n.unref("/static/getPpt.png"),width:"152rpx",height:"80rpx"},null,8,["src"])])]),n.createVNode(Rx,{visible:a.value,cancelText:"取消",confirmText:"保存二维码",onClose:t[1]||(t[1]=n=>a.value=!1),onConfirm:b},{content:n.withCtx((()=>[n.createElementVNode("view",{class:"ppt-content"},[n.createElementVNode("image",{src:n.unref(Rg),width:"80rpx",height:"80rpx",class:"contact-img"},null,8,["src"]),n.createElementVNode("view",{class:"ppt-content-title"},[n.createElementVNode("text",{style:{color:"#666"}},"APP下载课件为pdf格式,扫码联系平台文献助手获取原版PPT。")])])])),_:1},8,["visible"])],64)}}},$g=h(Ug,[["__scopeId","data-v-e7263801"]]),Hg={props:{color:{type:String,default:()=>An.line.color},length:{type:[String,Number],default:()=>An.line.length},direction:{type:String,default:()=>An.line.direction},hairline:{type:Boolean,default:()=>An.line.hairline},margin:{type:[String,Number],default:()=>An.line.margin},dashed:{type:Boolean,default:()=>An.line.dashed}}};const Yg=h({name:"u-line",mixins:[Dn,On,Hg],computed:{lineStyle(){const n={};return n.margin=this.margin,"row"===this.direction?(n.borderBottomWidth="1px",n.borderBottomStyle=this.dashed?"dashed":"solid",n.width=an(this.length),this.hairline&&(n.transform="scaleY(0.5)")):(n.borderLeftWidth="1px",n.borderLeftStyle=this.dashed?"dashed":"solid",n.height=an(this.length),this.hairline&&(n.transform="scaleX(0.5)")),n.borderColor=this.color,rn(n,on(this.customStyle))}}},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:"u-line",style:n.normalizeStyle([o.lineStyle])},null,4)}],["__scopeId","data-v-85dc6df8"]]),Gg=Object.freeze(Object.defineProperty({__proto__:null,default:Yg},Symbol.toStringTag,{value:"Module"}));const Wg=h({name:"u-status-bar",mixins:[Dn,On,{props:{bgColor:{type:String,default:()=>An.statusBar.bgColor},height:{type:Number,default:()=>An.statusBar.height}}}],data:()=>({isH5:!1}),created(){},emits:["update:height"],computed:{style(){const n={};let x=nn().statusBarHeight;return this.$emit("update:height",x),0==x?this.isH5=!0:n.height=an(x,"px"),n.backgroundColor=this.bgColor,rn(n,on(this.customStyle))}}},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{style:n.normalizeStyle([o.style]),class:n.normalizeClass(["u-status-bar",[l.isH5&&"u-safe-area-inset-top"]])},[n.renderSlot(x.$slots,"default",{},void 0,!0)],6)}],["__scopeId","data-v-8560b614"]]),Kg=Object.freeze(Object.defineProperty({__proto__:null,default:Wg},Symbol.toStringTag,{value:"Module"}));const Qg=h({name:"u-safe-bottom",mixins:[Dn,On,{props:{}}],data:()=>({safeAreaBottomHeight:0,isNvue:!1}),computed:{style(){return rn({},on(this.customStyle))}},mounted(){}},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["u-safe-bottom",[!l.isNvue&&"u-safe-area-inset-bottom"]]),style:n.normalizeStyle([o.style])},null,6)}],["__scopeId","data-v-d9413c99"]]),Jg=Object.freeze(Object.defineProperty({__proto__:null,default:Qg},Symbol.toStringTag,{value:"Module"})),Xg={props:{show:{type:Boolean,default:()=>An.popup.show},overlay:{type:Boolean,default:()=>An.popup.overlay},mode:{type:String,default:()=>An.popup.mode},duration:{type:[String,Number],default:()=>An.popup.duration},closeable:{type:Boolean,default:()=>An.popup.closeable},overlayStyle:{type:[Object,String],default:()=>An.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:()=>An.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:()=>An.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:()=>An.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:()=>An.popup.safeAreaInsetTop},closeIconPos:{type:String,default:()=>An.popup.closeIconPos},round:{type:[Boolean,String,Number],default:()=>An.popup.round},zoom:{type:Boolean,default:()=>An.popup.zoom},bgColor:{type:String,default:()=>An.popup.bgColor},overlayOpacity:{type:[Number,String],default:()=>An.popup.overlayOpacity}}};const Zg=h({name:"u-popup",mixins:[Dn,On,Xg],data(){return{overlayDuration:this.duration+50}},watch:{show(n,x){}},computed:{transitionStyle(){const n={zIndex:this.zIndex,position:"fixed",display:"flex"};return n[this.mode]=0,"left"===this.mode||"right"===this.mode?rn(n,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?rn(n,{left:0,right:0}):"center"===this.mode?rn(n,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle(){const n={};if(nn(),"center"!==this.mode&&(n.flex=1),this.bgColor&&(n.backgroundColor=this.bgColor),this.round){const x=an(this.round);"top"===this.mode?(n.borderBottomLeftRadius=x,n.borderBottomRightRadius=x):"bottom"===this.mode?(n.borderTopLeftRadius=x,n.borderTopRightRadius=x):"center"===this.mode&&(n.borderRadius=x)}return rn(n,on(this.customStyle))},position(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},emits:["open","close","click","update:show"],methods:{overlayClick(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))},open(n){this.$emit("update:show",!0)},close(n){this.$emit("update:show",!1),this.$emit("close")},afterEnter(){this.$emit("open")},clickHandler(){"center"===this.mode&&this.overlayClick(),this.$emit("click")}}},[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("u-overlay"),Ax),r=e(n.resolveDynamicComponent("u-status-bar"),Wg),c=e(n.resolveDynamicComponent("u-icon"),Un),u=e(n.resolveDynamicComponent("u-safe-bottom"),Qg),h=e(n.resolveDynamicComponent("u-transition"),Gn);return n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["u-popup",[x.customClass]]),style:n.normalizeStyle({width:0==x.show?"0px":"",height:0==x.show?"0px":""})},[n.createElementVNode("view",{class:"u-popup__trigger"},[n.renderSlot(x.$slots,"trigger",{},void 0,!0),n.createElementVNode("view",{onClick:t[0]||(t[0]=(...n)=>a.open&&a.open(...n)),class:"u-popup__trigger__cover"})]),x.overlay?(n.openBlock(),n.createBlock(s,{key:0,show:x.show,onClick:a.overlayClick,zIndex:x.zIndex,duration:o.overlayDuration,customStyle:x.overlayStyle,opacity:x.overlayOpacity},null,8,["show","onClick","zIndex","duration","customStyle","opacity"])):n.createCommentVNode("",!0),n.createVNode(h,{show:x.show,customStyle:a.transitionStyle,mode:a.position,duration:x.duration,onAfterEnter:a.afterEnter,onClick:a.clickHandler},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"u-popup__content",style:n.normalizeStyle([a.contentStyle]),onClick:t[2]||(t[2]=n.withModifiers(((...n)=>x.noop&&x.noop(...n)),["stop"])),onTouchmove:t[3]||(t[3]=n.withModifiers(((...n)=>x.noop&&x.noop(...n)),["stop","prevent"]))},[x.safeAreaInsetTop?(n.openBlock(),n.createBlock(r,{key:0})):n.createCommentVNode("",!0),n.renderSlot(x.$slots,"default",{},void 0,!0),x.closeable?(n.openBlock(),n.createElementBlock("view",{key:1,onClick:t[1]||(t[1]=n.withModifiers(((...n)=>a.close&&a.close(...n)),["stop"])),class:n.normalizeClass(["u-popup__content__close",["u-popup__content__close--"+x.closeIconPos]]),"hover-class":"u-popup__content__close--hover","hover-stay-time":"150"},[n.createVNode(c,{name:"close",color:"#909399",size:"18",bold:""})],2)):n.createCommentVNode("",!0),x.safeAreaInsetBottom?(n.openBlock(),n.createBlock(u,{key:2})):n.createCommentVNode("",!0)],36),n.renderSlot(x.$slots,"bottom",{},void 0,!0)])),_:3},8,["show","customStyle","mode","duration","onAfterEnter","onClick"])],6)}],["__scopeId","data-v-d7d4e6ab"]]),nd=Object.freeze(Object.defineProperty({__proto__:null,default:Zg},Symbol.toStringTag,{value:"Module"})),xd={props:{show:{type:Boolean,default:()=>An.modal.show},title:{type:[String],default:()=>An.modal.title},content:{type:String,default:()=>An.modal.content},confirmText:{type:String,default:()=>An.modal.confirmText},cancelText:{type:String,default:()=>An.modal.cancelText},showConfirmButton:{type:Boolean,default:()=>An.modal.showConfirmButton},showCancelButton:{type:Boolean,default:()=>An.modal.showCancelButton},confirmColor:{type:String,default:()=>An.modal.confirmColor},cancelColor:{type:String,default:()=>An.modal.cancelColor},buttonReverse:{type:Boolean,default:()=>An.modal.buttonReverse},zoom:{type:Boolean,default:()=>An.modal.zoom},asyncClose:{type:Boolean,default:()=>An.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:()=>An.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:()=>An.modal.negativeTop},width:{type:[String,Number],default:()=>An.modal.width},confirmButtonShape:{type:String,default:()=>An.modal.confirmButtonShape},duration:{type:[Number],default:An.modal.duration},contentTextAlign:{type:String,default:()=>An.modal.contentTextAlign},asyncCloseTip:{type:String,default:()=>An.modal.asyncCloseTip},asyncCancelClose:{type:Boolean,default:()=>An.modal.asyncCancelClose},contentStyle:{type:Object,default:()=>An.modal.contentStyle}}};const ed=h({name:"u-modal",mixins:[Dn,On,xd],data:()=>({loading:!1}),watch:{show(n){n&&this.loading&&(this.loading=!1)}},emits:["confirm","cancel","close","update:show","cancelOnAsync"],computed:{contentStyleCpu(){let n=this.contentStyle;return n.paddingTop=(this.title?12:25)+"px",n}},methods:{addUnit:an,confirmHandler(){this.asyncClose?this.loading=!0:this.$emit("update:show",!1),this.$emit("confirm")},cancelHandler(){this.asyncClose&&this.loading?(this.asyncCloseTip&&uni.showToast({title:this.asyncCloseTip,icon:"none"}),this.$emit("cancelOnAsync")):this.asyncCancelClose||this.$emit("update:show",!1),this.$emit("cancel")},clickHandler(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))}}},[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("u-line"),Yg),r=e(n.resolveDynamicComponent("u-loading-icon"),vx),c=e(n.resolveDynamicComponent("u-popup"),Zg);return n.openBlock(),n.createBlock(c,{mode:"center",zoom:x.zoom,show:x.show,class:n.normalizeClass([x.customClass]),customStyle:{borderRadius:"6px",overflow:"hidden",marginTop:`-${a.addUnit(x.negativeTop)}`},closeOnClickOverlay:x.closeOnClickOverlay,safeAreaInsetBottom:!1,duration:x.duration,onClick:a.clickHandler},{bottom:n.withCtx((()=>[n.renderSlot(x.$slots,"popupBottom",{},void 0,!0)])),default:n.withCtx((()=>[n.createElementVNode("view",{class:"u-modal",style:n.normalizeStyle({width:a.addUnit(x.width)})},[x.title?(n.openBlock(),n.createElementBlock("view",{key:0,class:"u-modal__title"},n.toDisplayString(x.title),1)):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"u-modal__content",style:n.normalizeStyle(a.contentStyleCpu)},[n.renderSlot(x.$slots,"default",{},(()=>[n.createElementVNode("text",{class:"u-modal__content__text",style:n.normalizeStyle({textAlign:x.contentTextAlign})},n.toDisplayString(x.content),5)]),!0)],4),x.$slots.confirmButton?(n.openBlock(),n.createElementBlock("view",{key:1,class:"u-modal__button-group--confirm-button"},[n.renderSlot(x.$slots,"confirmButton",{},void 0,!0)])):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createVNode(s),n.createElementVNode("view",{class:"u-modal__button-group",style:n.normalizeStyle({flexDirection:x.buttonReverse?"row-reverse":"row"})},[x.showCancelButton?(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel",[x.showCancelButton&&!x.showConfirmButton&&"u-modal__button-group__wrapper--only-cancel"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:t[0]||(t[0]=(...n)=>a.cancelHandler&&a.cancelHandler(...n))},[n.createElementVNode("text",{class:"u-modal__button-group__wrapper__text",style:n.normalizeStyle({color:x.cancelColor})},n.toDisplayString(x.cancelText),5)],2)):n.createCommentVNode("",!0),x.showConfirmButton&&x.showCancelButton?(n.openBlock(),n.createBlock(s,{key:1,direction:"column"})):n.createCommentVNode("",!0),x.showConfirmButton?(n.openBlock(),n.createElementBlock("view",{key:2,class:n.normalizeClass(["u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm",[!x.showCancelButton&&x.showConfirmButton&&"u-modal__button-group__wrapper--only-confirm"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:t[1]||(t[1]=(...n)=>a.confirmHandler&&a.confirmHandler(...n))},[o.loading?(n.openBlock(),n.createBlock(r,{key:0})):(n.openBlock(),n.createElementBlock("text",{key:1,class:"u-modal__button-group__wrapper__text",style:n.normalizeStyle({color:x.confirmColor})},n.toDisplayString(x.confirmText),5))],2)):n.createCommentVNode("",!0)],4)],64))],4)])),_:3},8,["zoom","show","class","customStyle","closeOnClickOverlay","duration","onClick"])}],["__scopeId","data-v-0e91edbc"]]),td=Object.freeze(Object.defineProperty({__proto__:null,default:ed},Symbol.toStringTag,{value:"Module"}));const id={__name:"pay",setup(t){const l=n.ref(""),a=n.ref(""),s=n.ref(""),r=n.ref(0),c=n.ref(""),u=n.ref(!1);o((n=>{"ganDanFile"==n.type&&(l.value=n.uuid,a.value="ganDanFile"),m(),p()})),i((()=>{s.value&&g()}));const h=n=>{x("log","at pages_app/pay/pay.vue:107",n)},g=()=>{Fl.getOrderStatus({trade_no:s.value}).then((n=>{x("log","at pages_app/pay/pay.vue:113",n)}))},d=()=>{Fl.payGanDanFile({channel:"balance"==b.value?"balance":"wx",trade_no:s.value}).then((n=>{if(200==n.code){!function(n,e,t){x("log","at utils/payment.js:49","APP-PLUS == APP-PLUS==APP-PLUS== APP-PLUS");const i=uni.getSystemInfoSync().platform;let l="";l="ios"===i?"wxpay":n.provider||"wxpay",uni.requestPayment({provider:l,orderInfo:n,success:n=>{x("log","at utils/payment.js:68",`${l} 支付成功`,n),e&&e(n)},fail:n=>{x("error","at utils/payment.js:72",`${l} 支付失败`,n),t&&t(n)}})}(n.data,(()=>{x("log","at pages_app/pay/pay.vue:124","支付成功回调"),uni.showToast({title:"支付成功",icon:"none",duration:1e4})}),(n=>{x("log","at pages_app/pay/pay.vue:132",n),uni.showToast({title:"支付失败",icon:"none"})}))}}))},p=()=>{Fl.getBalance().then((n=>{200==n.code&&(r.value=(n.data/100).toFixed(2))}))},m=()=>{Fl.createGanDanFileOrder({file_uuid:l.value}).then((n=>{200==n.code&&(s.value=n.data.trade_no,f.value=n.data)}))},f=n.ref({amount:0,provider_name:""}),b=n.ref(""),v=n=>{if("balance"==n){if(r.value{u.value=!1,Fl.payGanDanFile({trade_no:s.value,channel:"balance",pwd:c.value}).then((n=>{200==n.code&&(uni.showToast({title:"支付成功",icon:"none"}),uni.navigateBack())}))},z=()=>{x("log","at pages_app/pay/pay.vue:217",b.value),b.value?"balance"==b.value?u.value=!0:d():uni.showToast({title:"请选择支付方式",icon:"none"})};return(x,t)=>{const i=e(n.resolveDynamicComponent("navBar"),y),l=e(n.resolveDynamicComponent("up-image"),Jn),o=e(n.resolveDynamicComponent("up-modal"),ed);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(i,{showLeft:!0,title:"在线支付"}),n.createElementVNode("view",{class:"pay-page"},[n.createElementVNode("view",{class:"main-content"},[n.createElementVNode("view",{class:"purchase-summary"},[n.createElementVNode("view",{class:"summary-row"},["ganDanFile"==a.value?(n.openBlock(),n.createElementBlock("text",{key:0,class:"summary-label"},"下载"+n.toDisplayString(f.value.provider_name)+"的课件",1)):n.createCommentVNode("",!0),n.createElementVNode("text",{class:"summary-amount"},n.toDisplayString((f.value.amount/100).toFixed(2))+"元",1)])]),n.createElementVNode("view",{class:"payment-intro"},[n.createElementVNode("text",{class:"intro-text"},"通过以下方式支付")]),n.createElementVNode("radio-group",{onChange:h},[n.createElementVNode("label",{class:"payment-option",onClick:t[1]||(t[1]=n=>v("balance"))},[n.createElementVNode("view",{class:"option-left"},[n.createVNode(l,{src:n.unref("/static/yue.png"),width:"56rpx",height:"56rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"option-middle"},[n.createElementVNode("text",{class:"option-title"},"余额支付 ¥"+n.toDisplayString(r.value),1),r.valuev("balance")),["stop"])),checked:"balance"===b.value,value:"balance",disabled:r.valuev("wechat"))},[n.createElementVNode("view",{class:"option-left"},[n.createVNode(l,{src:n.unref("/static/weixin.png"),width:"56rpx",height:"56rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"option-middle"},[n.createElementVNode("text",{class:"option-title"},"微信支付")]),n.createElementVNode("view",{class:"option-right"},[n.createElementVNode("radio",{onClick:t[2]||(t[2]=n.withModifiers((n=>v("wechat")),["stop"])),checked:"wechat"===b.value,value:"wechat",color:"#8B2316"},null,8,["checked"])])])],32)]),n.createElementVNode("view",{class:"bottom-actions"},[n.createElementVNode("view",{class:"pay-btn",onClick:z},[n.createElementVNode("text",{class:"btn-text"},"立即支付")])])]),n.createVNode(o,{show:u.value,showCancelButton:"",title:"提示",onConfirm:w,onCancel:t[5]||(t[5]=n=>u.value=!1),confirmColor:"#8B2316"},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"slot-content"},[n.withDirectives(n.createElementVNode("input",{type:"text",password:"","onUpdate:modelValue":t[4]||(t[4]=n=>c.value=n),placeholder:"请输入您的登录密码"},null,512),[[n.vModelText,c.value]])])])),_:1},8,["show"])],64)}}},ld=h(id,[["__scopeId","data-v-39cb09d4"]]),od={__name:"articleDownload",setup(t){const l=n.ref([]),a=n.ref(!1),s=n.ref(!0),r=n.ref(1),c=n.ref(10);n.ref(!1);const u=n.ref(""),h=n.ref("more"),g=n.ref("");n.ref("");const p=n.ref(2),y=n.ref(!1),f=n.ref("上传时间"),b=n.ref([]),v=n.computed((()=>b.value.filter((n=>"completed"==n.status&&"article"==n.type)))),w=n=>{p.value=n,1==n?f.value="下载量":2==n?f.value="上传时间":3==n&&(f.value="标题"),y.value=!1,z(!0)};o((n=>{})),i((()=>{k(),Ag.addListener((n=>{b.value=n})),E()}));const z=async(n=!1)=>{if(x("log","at pages_app/articleDownload/articleDownload.vue:249","=== loadGuidelinesList 开始 ==="),x("log","at pages_app/articleDownload/articleDownload.vue:250","当前参数:",{isRefresh:n,page:r.value,keywords:u.value}),!a.value)try{a.value=!0,h.value="loading";const e={page:r.value,pageSize:c.value,type:1,sort:2,typeUuid:g.value,keywords:u.value},t=await Fl.searchLibraryU(e);if(x("log","at pages_app/articleDownload/articleDownload.vue:272","指南列表响应:",t),200===t.code&&t.data){const e=t.data.list||t.data;n?(l.value=e,x("log","at pages_app/articleDownload/articleDownload.vue:279","刷新模式:替换列表数据")):(l.value=[...l.value,...e],x("log","at pages_app/articleDownload/articleDownload.vue:282","加载更多:追加数据到列表")),e.length{uni.navigateBack()},k=()=>{b.value=Ag.getTasks()},_=n=>{Ag.removeTask(n),k()},E=()=>{n.nextTick((()=>{Ag.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/articleDownload/articleDownload.vue:559","恢复下载任务:",null==(e=Ag.getTask(n))?void 0:e.url),(n=>{const e=Ag.getTask(n);if(!e)return;if("loading"==e.status)return!1;uni.showToast({title:"正在下载中",icon:"none"}),Ag.updateTask(n,{status:"loading"});const t=uni.downloadFile({url:e.url,success:e=>{x("log","at pages_app/articleDownload/articleDownload.vue:476","res1:"+JSON.stringify(e)),200===e.statusCode?(Ag.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"none"}),uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/articleDownload/articleDownload.vue:492","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/articleDownload/articleDownload.vue:496","res:"+JSON.stringify(t)),x("log","at pages_app/articleDownload/articleDownload.vue:497","size:"+t.size),Ag.updateTask(n,{status:"completed",localPath:e.savedFilePath})}})}})):(Ag.updateTask(n,{status:"failed"}),_(n),uni.showToast({title:"下载失败2",icon:"none"}))},fail:x=>{Ag.updateTask(n,{status:"failed"}),_(n),uni.showToast({title:"下载失败3: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Ag.getTask(n);e&&"downloading"===e.status&&Ag.updateTask(n,{progress:x.progress})})),Ag.updateTask(n,{task:t})})(n)}))}))},N=n=>{if(!n)return"";try{const x=new Date(n),e=x.getFullYear(),t=String(x.getMonth()+1).padStart(2,"0");return`${e}-${t}-${String(x.getDate()).padStart(2,"0")}`}catch(x){return n}};return(t,i)=>{const l=e(n.resolveDynamicComponent("uni-nav-bar"),m),o=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"zhinan-list-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(l,{"left-icon":"left",title:"文献期刊",onClickLeft:j,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"})]),n.createElementVNode("scroll-view",{class:"guidelines-scroll-view","scroll-y":"true"},[n.createElementVNode("view",{class:"guidelines-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(v.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e.id||t},[n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title"},n.toDisplayString(e.title),1),n.createElementVNode("view",{class:"item-bottom"},[n.createElementVNode("view",{class:"item-date"},n.toDisplayString(N(e.releaseTime)),1),n.createElementVNode("view",{class:"item-action"},[n.createElementVNode("view",{class:"view-btn",onClick:n.withModifiers((n=>{return t=e,x("log","at pages_app/articleDownload/articleDownload.vue:389",b.value),void b.value.forEach((n=>{n.id==t.id&&(x("log","at pages_app/articleDownload/articleDownload.vue:392",2222222222),x("log","at pages_app/articleDownload/articleDownload.vue:393",n.localPath),plus.runtime.openFile(n.localPath,(function(n){x("log","at pages_app/articleDownload/articleDownload.vue:395","打开成功")}),(function(n){uni.showToast({title:"打开失败:"+n.message,icon:"none",duration:2e3}),x("log","at pages_app/articleDownload/articleDownload.vue:402","打开失败:"+n.message)})))}));var t}),["stop"])},"查看",8,["onClick"])])])])])))),128))]),0===v.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"no-data"},[n.createVNode(o,{type:"info",size:"60",color:"#999"}),n.createElementVNode("text",null,"暂无数据")])):n.createCommentVNode("",!0)])]),y.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"popup-panel"},[n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:1==p.value}]),onClick:i[0]||(i[0]=n.withModifiers((n=>w(1)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"下载量"),1==p.value?(n.openBlock(),n.createBlock(o,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:2==p.value}]),onClick:i[1]||(i[1]=n.withModifiers((n=>w(2)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"上传时间"),2==p.value?(n.openBlock(),n.createBlock(o,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:3==p.value}]),onClick:i[2]||(i[2]=n.withModifiers((n=>w(3)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"标题"),3==p.value?(n.openBlock(),n.createBlock(o,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2)])):n.createCommentVNode("",!0)],64)}}},ad=h(od,[["__scopeId","data-v-326858aa"]]),sd={__name:"patientVideo",setup(t){const i=n.ref(!1),l=n.ref([]);n.ref(1);const a=n.ref(!1),s=n.ref(!1),c=n.ref("more"),u=n.ref(1),h=n.ref(10),g=n.ref(!0);n.ref([]);const p=n.ref(2),y=n.ref(""),f=n.ref(""),b=n.ref("0e5fa3d76b8047528fdd3c452b77e9dd"),v=n.ref("乙肝"),w=n.ref(!1),z=n.ref(!1);n.ref([]),n.reactive({});const j=n.ref([]),k=n.ref(!1);n.ref("全部"),r((()=>{if(!f.value)return plus.runtime.quit(),!0})),o((n=>{n.from&&(f.value=n.from)}));const _=n.ref([{name:"全部视频",uuid:""}]);n.onMounted((()=>{})),o((()=>{u.value=1,g.value=!0,N(),S(),(async()=>{const n=await Fl.patientVideoNew();200==n.code&&(_.value=_.value.concat(n.data).filter((n=>!n.name.includes("BMS患者端"))))})()}));const E=n=>{let x=n.substring(0,4),e=n.substring(4,n.length),t=x.lastIndexOf("-");return t>-1?n.substring(t+1,4)+e:n},N=async()=>{try{const n=await Fl.guideTag({type:5});x("log","at pages_app/patientVideo/patientVideo.vue:299","指南标签API响应:",n),n&&200===n.code&&n.data&&(j.value=n.data.map((n=>({...n,selected:!1}))),x("log","at pages_app/patientVideo/patientVideo.vue:306","指南标签加载成功:",j.value))}catch(Rw){x("error","at pages_app/patientVideo/patientVideo.vue:309","加载指南标签失败:",Rw)}},S=async(n=!1)=>{if(!a.value||n){a.value=!0;try{const e=await Fl.patientVideoByKeyWordsNew({page:u.value,pageSize:h.value,keywords:y.value,sort:p.value.toString(),typeUuid:b.value});x("log","at pages_app/patientVideo/patientVideo.vue:327","视频列表API原始响应:",e);let t={};if(e&&e.data?200===e.data.code?t=e.data.data||{}:200===e.code&&(t=e.data||{}):e&&200===e.code&&(t=e.data||{}),x("log","at pages_app/patientVideo/patientVideo.vue:341","解析后的视频数据:",t),!t||!t.list)throw new Error((null==e?void 0:e.message)||"获取数据失败");{const{list:e,totalPage:i,pageNumber:o}=t;x("log","at pages_app/patientVideo/patientVideo.vue:345","视频列表数据:",e),n?(l.value=e||[],u.value=1):l.value=[...l.value,...e||[]],g.value=i>o,c.value=g.value?"more":"noMore"}}catch(e){x("error","at pages_app/patientVideo/patientVideo.vue:361","加载视频失败:",e)}finally{a.value=!1,s.value=!1}}},C=()=>{s.value=!0,u.value=1,g.value=!0,S(!0)},q=()=>{g.value&&!a.value&&(c.value="loading",u.value++,S())},T=()=>{k.value=!1},V=()=>{z.value=!0},A=()=>{z.value=!1},I=()=>{j.value.forEach((n=>n.selected=!1)),y.value="",u.value=1,g.value=!0,S(!0)},B=()=>{const n=j.value.filter((n=>n.selected));x("log","at pages_app/patientVideo/patientVideo.vue:523","选中的筛选标签:",n);let e="";for(var t=0;t{if(!f.value)return plus.runtime.quit(),!0;uni.navigateBack()},M=()=>{uni.sendNativeEvent("goHomeSearch",{msg:"patientVideo"},(n=>{x("log","at pages_app/patientVideo/patientVideo.vue:559",n)}))},O=()=>{p.value=1===p.value?2:1,u.value=1,g.value=!0,l.value=[],S()};return(t,o)=>{const r=e(n.resolveDynamicComponent("uni-nav-bar"),m),h=e(n.resolveDynamicComponent("up-image"),Jn),y=e(n.resolveDynamicComponent("uni-icons"),d),f=e(n.resolveDynamicComponent("uni-load-more"),pg);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(r,{"left-icon":"left",title:"患教视频",onClickLeft:D,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[n.createElementVNode("view",{class:"collect-img",onClick:M},[n.createElementVNode("image",{class:"img-icon",src:n.unref(Eg),mode:"aspectFill"},null,8,["src"])])])])),_:1})]),n.createElementVNode("view",{class:"video-page"},[n.createElementVNode("view",{class:"filter-tabs-container"},[n.createElementVNode("view",{class:"filter-tabs"},[n.createElementVNode("view",{class:"tab-item",onClick:o[0]||(o[0]=n=>k.value=!k.value)},[n.createVNode(h,{src:i.value?n.unref(yg):n.unref(mg),width:"30rpx",height:"30rpx"},null,8,["src"]),n.createElementVNode("text",{class:n.normalizeClass(["tab-text",{active:i.value}]),style:{"margin-top":"4rpx"}},n.toDisplayString(E(v.value)),3),n.createVNode(h,{src:i.value?n.unref(bg):n.unref(fg),width:"30rpx",height:"30rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"right"},[n.createElementVNode("view",{class:"tab-item",onClick:O},[n.createElementVNode("text",{class:"tab-text active"},n.toDisplayString(2==p.value?"最新":"最热"),1),n.createElementVNode("view",{class:"newbox"},[n.createVNode(h,{src:2==p.value?n.unref(Ac):n.unref(vg),width:"20rpx",height:"26rpx"},null,8,["src"])])]),n.createElementVNode("view",{class:"bar"}),n.createElementVNode("view",{class:"tab-item",onClick:V},[n.createElementVNode("text",{class:n.normalizeClass(["tab-text",{active:w.value}])},"筛选",2),n.createElementVNode("view",{class:"filterbox"},[n.createVNode(h,{src:w.value?n.unref(Bc):n.unref(Ic),width:"30rpx",height:"30rpx"},null,8,["src"])])])])])]),n.createElementVNode("scroll-view",{class:"scroll-view","scroll-y":"true","refresher-enabled":"true","refresher-triggered":s.value,onRefresherrefresh:C,onScrolltolower:q,"lower-threshold":"100"},[n.createElementVNode("view",{class:"video-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"video-item",key:x.id||x.uuid,onClick:n=>(n=>{Ul({url:`/pages_app/videoDetail/videoDetail?id=${n.id||n.uuid}&type=patientVideo`})})(x)},[n.createElementVNode("view",{class:"video-thumbnail"},[n.createVNode(h,{src:n.unref($l)+x.imgpath,class:"poster-image",mode:"aspectFill",loadingIcon:n.unref(wg),errorIcon:n.unref(wg),"lazy-load":!0,width:"100%",height:"220rpx"},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),class:"video-thumbnail",mode:"aspectFill"},null,8,["src"])])),loading:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),class:"video-thumbnail",mode:"aspectFill"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon"])]),n.createElementVNode("view",{class:"video-info"},[n.createElementVNode("view",{class:"video-title"},n.toDisplayString(x.title||x.name),1),n.createElementVNode("view",{class:"video-meta"},[n.createElementVNode("text",{class:"author"},n.toDisplayString(x.public_name),1),n.createElementVNode("view",{class:"stats"},[n.createVNode(y,{type:"eye",size:"14",color:"#999"}),n.createElementVNode("text",{class:"view-count"},n.toDisplayString(n.unref(Dc)(x.readnum)),1)])])])],8,["onClick"])))),128))]),l.value.length>0?(n.openBlock(),n.createBlock(f,{key:0,status:c.value,"content-text":{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}},null,8,["status","content-text"])):n.createCommentVNode("",!0),0!==l.value.length||a.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)]))],40,["refresher-triggered"]),z.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"filter-popup",onClick:A},[n.createElementVNode("view",{class:"filter-content",onClick:o[1]||(o[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"filter-tags"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(j.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["tag-item",{active:x.selected}]),key:e,onClick:n=>(n=>{const x=j.value[n];if(x.selected)return void(x.selected=!1);j.value.filter((n=>n.selected)).length>=3?uni.showToast({title:"最多只能选择3个标签",icon:"none",duration:2e3}):x.selected=!0})(e)},n.toDisplayString(x.NAME),11,["onClick"])))),128))]),n.createElementVNode("view",{class:"filter-buttons"},[n.createElementVNode("view",{class:"btn-reset",onClick:I},"重置"),n.createElementVNode("view",{class:"btn-confirm",onClick:B},"确定")])])])):n.createCommentVNode("",!0),k.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"all-video-popup",onClick:T},[n.createElementVNode("view",{class:"popup-content",onClick:o[2]||(o[2]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"popup-body"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(_.value,(e=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["category-item",{active:b.value===e.uuid}]),key:e.uuid,onClick:n=>{return t=e.uuid,x("log","at pages_app/patientVideo/patientVideo.vue:244",222),x("log","at pages_app/patientVideo/patientVideo.vue:245",t),b.value=t,v.value=_.value.find((n=>n.uuid==t)).name,i.value=!0,T(),u.value=1,l.value=[],g.value=!0,void S();var t}},n.toDisplayString(E(e.name)),11,["onClick"])))),128)),0===_.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"empty-content"},[n.createElementVNode("text",null,"暂无数据")])):n.createCommentVNode("",!0)])])])):n.createCommentVNode("",!0)])],64)}}},rd=h(sd,[["__scopeId","data-v-c681a85e"]]),cd="/static/avastar.png",ud=h({__name:"videoDetail",setup(t){const a=n.ref(""),r=n.ref([]),c=n.ref(""),u=n.ref({}),h=n.ref(""),g=n.ref(!1),p=n.ref(""),y=n.ref(!1),f=n.ref(""),b=n.ref(!1),v=n.ref(""),w=n.ref(0),z=n.ref(!1),j=n.ref(0),k=n.ref(null),_=n.ref(!1),E=n.ref(!1),N=n.ref(null),S=n.ref(!1),C=n.ref(375),q=n.ref(!1),T=n.ref("start");let V=uni.getStorageSync("downLoadVideo")||[];n.ref(V);const A=n.ref(!1),I=n.ref(!1),B=n.ref([]);let D=uni.getStorageSync("userInfo");const M=n.ref(D.uuid),O=()=>{z.value=!0,_.value=!0,k.value=setInterval((()=>{j.value++}),1e3)},R=()=>{z.value=!1,k.value&&(clearInterval(k.value),k.value=null)},P=()=>{z.value=!1,k.value&&(clearInterval(k.value),k.value=null)};l((()=>{}));const L=n=>{const x=qg.addTask(n);U(),F(x)},F=n=>{const e=qg.getTask(n);if(!e)return;q.value=!0,nn.value=!0,T.value="loading";const t=uni.downloadFile({url:e.url,success:e=>{200===e.statusCode?(qg.updateTask(n,{status:"completed",filePath:e.tempFilePath}),T.value="completed",uni.showToast({title:"下载成功",icon:"none"}),T.value="completed",uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/videoDetail/videoDetail.vue:388","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/videoDetail/videoDetail.vue:393","res:"+JSON.stringify(t)),x("log","at pages_app/videoDetail/videoDetail.vue:394","size:"+t.size),qg.updateTask(n,{status:"completed",localPath:e.savedFilePath,size:t.size}),xn()}})}})):(qg.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败",icon:"none"}))},fail:x=>{qg.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=qg.getTask(n);e&&"downloading"===e.status&&qg.updateTask(n,{progress:x.progress,downloadSize:x.totalBytesWritten,totalSize:x.totalBytesExpectedToWrite})})),qg.updateTask(n,{task:t})},U=()=>{B.value=qg.getTasks()},$=()=>{b.value=!1,Ul({url:"/pages_app/buyPoint/buyPoint?product_id="+c.value+"&type=video"})},H=()=>{y.value=!1,En()},Y=()=>{1==u.value.isCollection?Z():J()},G=()=>{g.value=!1,w.value>0?W():y.value=!0};n.ref({});const W=async()=>{1==(await Fl.useWelfareNum({type:1,other_uuid:c.value})).code&&(uni.showToast({title:"使用次数成功",icon:"none"}),w.value--,uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"viorder_deo_download",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:"",event_unit:"分",number:1,event_val:0}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:516",n)})),L({url:zn.value,id:c.value,imgpath:u.value.imgpath,author:u.value.public_name,name:u.value.name}))},K=n=>{zn.value=zn.value.replace(".mp4",".m3u8")},Q=async(n=!1)=>{const e=await Fl.videoDetail({video_uuid:c.value});if(200==e.code){uni.getStorageSync("userInfo"),u.value=e.video,h.value=e.video.tags;let i=e.video.polyv_uuid||Cn(e.video.content);x("log","at pages_app/videoDetail/videoDetail.vue:543",222222),x("log","at pages_app/videoDetail/videoDetail.vue:544",i);let l=i.substring(0,10),o=i.lastIndexOf("_"),s=i.substring(o-1,o),r=i.substring(0,o+1);if(zn.value=`http://mpv.videocc.net/${l}/${s}/${r}1.mp4`,x("log","at pages_app/videoDetail/videoDetail.vue:551",zn.value),S.value=!0,a.value=Ih+"/video/hcp_detial?share=1&uuid="+c.value+"&expertshare=videoshare&fromtype=doctor",x("log","at pages_app/videoDetail/videoDetail.vue:558",u.value.name),n)try{uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:570",n)}))}catch(t){}}},J=async()=>{200==(await Fl.collection({other_uuid:c.value,type:5})).code&&(uni.showToast({title:"收藏成功",icon:"none"}),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"collect",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:594",n)})),Q())},X=()=>{Fl.addBonusPointsN({score_type:5}).then((n=>{n.code}))},Z=async()=>{200==(await Fl.discollection({other_uuid:c.value,type:5})).code&&(uni.showToast({title:"取消收藏成功",icon:"none"}),Q())},nn=n.ref(!1),xn=async()=>{const n=await Fl.isVideoDownloadRecord({video_uuid:c.value});200==n.code&&(nn.value=0!=n.result,nn.value&&B.value.forEach((n=>{n.id==c.value&&uni.getSavedFileInfo({filePath:n.localPath,success:function(n){q.value=!0,T.value="completed"},fail:function(n){}})})))},en=async()=>{Vn.value=!0;try{const n=await Fl.videoCommentListV2({uuid:c.value});if(n&&200==n.code&&Array.isArray(n.data)){const x=n.data.map(Dn);kn.value=x,An.value=!0}else An.value=!0}finally{Vn.value=!1}},tn=()=>{n.nextTick((()=>{qg.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/videoDetail/videoDetail.vue:677","恢复下载任务:",null==(e=qg.getTask(n))?void 0:e.url),F(n)}))}))};s((()=>{if(x("log","at pages_app/videoDetail/videoDetail.vue:683","onUnload"),uni.$off("selectedChatPatientsSingle"),uni.$off("replySuccess",an),k.value&&(clearInterval(k.value),k.value=null),_.value){let n=u.value.polyv_uuid||Cn(u.value.content);x("log","at pages_app/videoDetail/videoDetail.vue:692",n),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"watch_video",page_type:"",resource_name:n,resource_option:h.value?h.value:"",event_val:j.value,event_unit:"秒"}})}}));const ln=n.ref(!1),on=n.ref(0),an=()=>{(n=>{const x=Date.now();if(ln.value)return!1;if(x-Number(on.value||0)<1e3)return!1;ln.value=!0,on.value=x;try{n&&n()}finally{setTimeout((()=>{ln.value=!1}),300)}})((()=>{x("log","at pages_app/videoDetail/videoDetail.vue:724","reply-success");try{uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"comment",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:735",n)}))}catch(n){}}))};i((()=>{if(uni.$on("selectedChatPatientsSingle",(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:744",n),r.value=n.patients,"patientVideo"==wn.value&&dn()})),uni.$off("replySuccess",an),uni.$on("replySuccess",an),q.value=!1,T.value="start",x("log","at pages_app/videoDetail/videoDetail.vue:754","onShow"),U(),qg.addListener((n=>{B.value=n})),tn(),x("log","at pages_app/videoDetail/videoDetail.vue:763","tasks"),x("log","at pages_app/videoDetail/videoDetail.vue:764",B.value),B.value.length>0)for(let n=0;n{const x=Date.now();if(rn.value)return!1;if(x-Number(cn.value||0)<800)return!1;rn.value=!0,cn.value=x;try{n&&n()}finally{setTimeout((()=>{rn.value=!1}),500)}return!0},hn=()=>{sn.value.open()},gn=()=>{I.value=!1},dn=async()=>{const n=await Fl.addGroupSendMsg4YunXin({patient_user_uuid:r.value.map((n=>n.uuid)).join(","),msg_content:u.value.uuid,msg_type:4});200==n.code?uni.showToast({title:"推荐成功",icon:"none"}):uni.showToast({title:n.msg,icon:"none"})},pn=n=>{I.value=!1,"single"===n?Ul({url:"/pages_app/selectPatient/selectPatient?from=videoDetail"}):"group"===n&&Ul({url:"/pages_chat/patientGroup/patientGroup?from=videoDetail"})},mn=()=>{sn.value.close()},yn=()=>{un((()=>{}))&&("patientVideo"==wn.value&&X(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:879",n)})),uni.downloadFile({url:Ah?$l+u.value.imgpath:"https://doc.igandan.com/app/html/img/2016/20160714132557.png",success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneSession",type:0,title:u.value.name,summary:u.value.note,href:a.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/videoDetail/videoDetail.vue:900","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/videoDetail/videoDetail.vue:903","fail:"+JSON.stringify(n))}})}})}}),mn())},fn=()=>{un((()=>{}))&&("patientVideo"==wn.value&&X(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:990",n)})),uni.downloadFile({url:Ah?$l+u.value.imgpath:"https://doc.igandan.com/app/html/img/2016/20160714132557.png",success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneTimeline",type:0,title:u.value.name,summary:u.value.note,href:a.value,imageUrl:n.tempFilePath,success:function(n){},fail:function(n){}})}})}}),mn())},bn=()=>{un((()=>{}))&&(uni.share({provider:"sinaweibo",type:0,title:u.value.name,summary:u.value.note,href:a.value,imageUrl:ig,success:function(n){},fail:function(n){}}),mn())},vn=n.ref(""),wn=n.ref("");o((n=>{x("log","at pages_app/videoDetail/videoDetail.vue:1099",n),n.type&&(wn.value=n.type),n.tags&&(h.value=n.tags),uni.getSystemInfo({success:function(n){C.value=n.windowWidth}}),x("log","at pages_app/videoDetail/videoDetail.vue:1111","enrtyVideoDetail"),x("log","at pages_app/videoDetail/videoDetail.vue:1112",h.value),uni.sendNativeEvent("enrtyVideoDetail",{msg:"enrtyVideoDetail"},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:1117",n)})),c.value=n.id,vn.value=n.from,"download"!=vn.value&&((async()=>{(await Fl.addVideoWatchRecord({video_uuid:c.value})).code})(),xn(),(async()=>{const n=await Fl.getWelfareNum({type:1});1==n.code&&(w.value=n.WelfareNum)})()),U(),qg.addListener((n=>{B.value=n})),tn(),"download"==vn.value&&B.value.forEach((n=>{n.id==c.value&&(x("log","at pages_app/videoDetail/videoDetail.vue:1139",222222),x("log","at pages_app/videoDetail/videoDetail.vue:1140",n.localPath),zn.value=n.localPath,S.value=!0)}))}));const zn=n.ref(""),jn=n.ref("info");n.ref("首都医科大学附属北京佑安医院,肝病中心四科主任(疑难肝病与人工肝中心主任),主任医师,教授,博士生导师。中华医学会肝病学分会副秘书长、委员、终末期肝病学组副组长,北京医学会肝病学分会常委,肝衰竭及人工肝学组副组长,北京肝胆相照公益基金会副理事长等。发表论文500余篇,累计SCI论文150余篇,出版专著20余部,获得科研奖项10余项,获得发明专利7项。");const kn=n.ref([]),_n=n=>{jn.value=n,"comment"==n&&en()},En=async()=>{const n=await Fl.payVideoDownload({video_uuid:c.value});x("log","at pages_app/videoDetail/videoDetail.vue:1170",n),200==n.code?(uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"viorder_deo_download",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:"",event_unit:"积分",number:1,event_val:u.value.point}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:1184",n)})),L({url:zn.value,id:c.value,imgpath:u.value.imgpath,author:u.value.public_name,name:u.value.name})):106==n.code&&(b.value=!0,v.value="您的积分不足,是否购买积分?")},Nn=()=>{zn.value.includes(".m3u8")?uni.showToast({title:"该视频不支持下载",icon:"none"}):nn.value?q.value?"completed"==T.value?Ul({url:"/pages_app/downLoadVideo/downLoadVideo"}):Ul({url:"/pages_app/downLoadVideo/downLoadVideo?type=2"}):L({url:zn.value,id:c.value,imgpath:u.value.imgpath,author:u.value.public_name,name:u.value.name}):w.value<=0?(f.value=`该视频需要${u.value.point}积分兑换,若删除,可以再次免费缓存`,uni.getNetworkType({success:function(n){"none"!=n.networkType?(g.value=!0,p.value=`当前为${n.networkType}网络,确定下载?`):uni.showToast({title:"当前未联网,请检查网络",icon:"none"})}})):uni.getNetworkType({success:function(n){"none"!=n.networkType?(g.value=!0,p.value=`当前为${n.networkType}网络,确定下载?`):uni.showToast({title:"当前未联网,请检查网络",icon:"none"})}})},Sn=()=>{uni.navigateBack()},Cn=n=>{const x=n.match(/["']?vid["']?\s*:\s*["']([^"']+)["']/i);return x?x[1]:null},qn=n.ref(""),Tn=()=>{qn.value.trim()?(async()=>{200==(await Fl.addCommentV2({article_uuid:c.value,type:"8",comment:qn.value})).code&&(uni.showToast({title:"评论成功",icon:"none"}),qn.value="",uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"comment",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:1276",n)})),en())})():uni.showToast({title:"请输入内容",icon:"none"})};n.ref(1),n.ref(10);const Vn=n.ref(!1),An=n.ref(!1),In=()=>{E.value=!1,N.value=null},Bn=async()=>{if(x("log","at pages_app/videoDetail/videoDetail.vue:1347",N.value),!N.value)return;200==(await Fl.deleteComment({uuid:N.value.comment_uuid})).code&&(uni.showToast({title:"删除成功",icon:"none"}),en(),In())},Dn=n=>{return{avatar:(x=n.photo||"",x?x.startsWith("http")?x:$l+x:cd),name:n.name||"账号已注销",content:n.content||"",time:n.create_date||"",user_uuid:n.user_uuid||"",comment_uuid:n.comment_uuid||"",showAllChildren:!1,children:Array.isArray(n.childs)?n.childs.map(Dn):[]};var x};return(t,i)=>{const l=e(n.resolveDynamicComponent("uni-nav-bar"),m),o=e(n.resolveDynamicComponent("uni-icons"),d),a=e(n.resolveDynamicComponent("uni-popup"),Zh);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(l,{"left-icon":"left",title:"视频详情",onClickLeft:Sn,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>["download"!=vn.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"nav-actions"},[n.createElementVNode("view",{class:"collect-img",onClick:hn,style:{"margin-right":"20rpx"}},[n.createElementVNode("image",{class:"share-img-icon",src:n.unref(ng),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("view",{class:"collect-img",onClick:Y},[n.createElementVNode("image",{class:"collect-img-icon",src:u.value.isCollection?n.unref(og):n.unref(ag),mode:"aspectFill"},null,8,["src"])])])):n.createCommentVNode("",!0)])),_:1})]),n.createElementVNode("view",{class:"videobox"},[S.value?(n.openBlock(),n.createElementBlock("video",{key:0,class:"player-wrapper",style:n.normalizeStyle({width:C.value+"px"}),src:zn.value,controls:"",id:"myVideo","object-fit":"contain",autoplay:!1,onPlay:O,onPause:R,onEnded:P,onError:K},null,44,["src"])):n.createCommentVNode("",!0)]),"download"!=vn.value?(n.openBlock(),n.createElementBlock("cover-view",{key:0,class:"tabs",style:n.normalizeStyle({opacity:A.value?0:1,width:C.value+"px"})},[n.createElementVNode("cover-view",{class:n.normalizeClass(["tab",{active:"info"===jn.value}]),onClick:i[0]||(i[0]=n=>_n("info"))},[n.createTextVNode(" 视频简介 "),"info"===jn.value?(n.openBlock(),n.createElementBlock("cover-view",{key:0,class:"tab-line"})):n.createCommentVNode("",!0)],2),n.createElementVNode("cover-view",{class:n.normalizeClass(["tab",{active:"comment"===jn.value}]),onClick:i[1]||(i[1]=n=>_n("comment"))},[n.createTextVNode(" 评论 "),"comment"===jn.value?(n.openBlock(),n.createElementBlock("cover-view",{key:0,class:"tab-line"})):n.createCommentVNode("",!0)],2),n.createElementVNode("cover-view",{class:"line"})],4)):n.createCommentVNode("",!0),"download"!=vn.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"video-detail-page"},[n.createElementVNode("view",{class:"content-scroll"},["info"===jn.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"intro"},[n.createElementVNode("text",{class:"intro-text"},n.toDisplayString(u.value.note),1)])):(n.openBlock(),n.createElementBlock("view",{key:1,class:"comments"},[0===kn.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"empty"},"暂无评论")):(n.openBlock(),n.createElementBlock("view",{key:1},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(kn.value,((e,t)=>{return n.openBlock(),n.createElementBlock("view",{class:"comment-item",key:t},[n.createElementVNode("image",{class:"avatar",src:e.avatar,mode:"aspectFill"},null,8,["src"]),n.createElementVNode("view",{class:"meta"},[n.createElementVNode("view",{class:"name"},n.toDisplayString(e.name),1),n.createElementVNode("view",{class:"content"},n.toDisplayString(e.content),1),n.createElementVNode("view",{class:"time"},n.toDisplayString(e.time),1),e.children&&e.children.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"child-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList((i=e,i.children&&i.children.length?i.showAllChildren?i.children:i.children.slice(0,3):[]),((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"child-item",key:e},[n.createElementVNode("image",{class:"avatar small",src:x.avatar,mode:"aspectFill"},null,8,["src"]),n.createElementVNode("view",{class:"meta"},[n.createElementVNode("view",{class:"name"},n.toDisplayString(x.name),1),n.createElementVNode("view",{class:"content"},n.toDisplayString(x.content),1),n.createElementVNode("view",{class:"time"},n.toDisplayString(x.time),1)])])))),128)),e.children.length>3?(n.openBlock(),n.createElementBlock("view",{key:0,class:"toggle-children",onClick:n=>(n=>{n.showAllChildren=!n.showAllChildren,kn.value=[...kn.value]})(e)},n.toDisplayString(e.showAllChildren?"--收起":"--展开更多回复"),9,["onClick"])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)]),M.value==e.user_uuid?(n.openBlock(),n.createBlock(o,{key:0,type:"trash",size:"30",color:"#8b2316",onClick:n=>(n=>{N.value=n,E.value=!0})(e)},null,8,["onClick"])):(n.openBlock(),n.createElementBlock("view",{key:1,class:"reply-btn",onClick:n=>(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:1282","onReply"),x("log","at pages_app/videoDetail/videoDetail.vue:1283",n),n.user_uuid?Ul({url:"/pages_app/reply/reply?comment_partent="+n.content+"&name="+n.name+"&video_uuid="+c.value}):uni.showToast({title:"该评论无法回复",icon:"none"})})(e)},"回复",8,["onClick"]))]);var i})),128)),Vn.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"list-loading"},"加载中...")):n.createCommentVNode("",!0),An.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"list-no-more"},"没有更多了")):n.createCommentVNode("",!0)]))]))])])):n.createCommentVNode("",!0),"info"===jn.value&&"download"!=vn.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"bottom-download",onClick:Nn},[q.value?"loading"===T.value||"failed"===T.value?(n.openBlock(),n.createElementBlock("text",{key:1,class:"download-text"},"视频缓存中")):"completed"===T.value?(n.openBlock(),n.createElementBlock("text",{key:2,class:"download-text"},"查看缓存")):n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("text",{key:0,class:"download-text"},[n.createTextVNode("点击下载"),!nn.value&&w.value<=0?(n.openBlock(),n.createElementBlock("text",{key:0},[n.createTextVNode("(限时"),n.createElementVNode("text",{class:"discount"},"5"),n.createTextVNode("折,仅需"+n.toDisplayString(u.value.point)+"积分)",1)])):n.createCommentVNode("",!0),!nn.value&&w.value>0?(n.openBlock(),n.createElementBlock("text",{key:1},"(剩余免费下载"+n.toDisplayString(w.value)+"次数)",1)):n.createCommentVNode("",!0)]))])):n.createCommentVNode("",!0),"info"!==jn.value&&"download"!=vn.value?(n.openBlock(),n.createElementBlock("view",{key:3,class:"bottom-comment"},[n.withDirectives(n.createElementVNode("input",{class:"comment-input","onUpdate:modelValue":i[2]||(i[2]=n=>qn.value=n),placeholder:"我也说一句","confirm-type":"send",onConfirm:Tn},null,544),[[n.vModelText,qn.value]]),n.createElementVNode("view",{class:"send-btn",onClick:Tn},"发送")])):n.createCommentVNode("",!0),n.createVNode(Rx,{visible:g.value,content:p.value,onClose:i[3]||(i[3]=n=>g.value=!1),onConfirm:G},null,8,["visible","content"]),n.createVNode(Rx,{visible:y.value,content:f.value,onClose:i[4]||(i[4]=n=>y.value=!1),onConfirm:H},null,8,["visible","content"]),n.createVNode(Rx,{visible:b.value,content:v.value,onClose:i[5]||(i[5]=n=>b.value=!1),onConfirm:$},null,8,["visible","content"]),E.value?(n.openBlock(),n.createElementBlock("view",{key:4,class:"delete-modal-mask",onClick:In},[n.createElementVNode("view",{class:"delete-modal-content",onClick:i[6]||(i[6]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"delete-modal-title"},"确认删除"),n.createElementVNode("view",{class:"delete-modal-text"},"确定要删除这条评论吗?"),n.createElementVNode("view",{class:"delete-modal-buttons"},[n.createElementVNode("view",{class:"delete-modal-btn cancel-btn",onClick:In},"取消"),n.createElementVNode("view",{class:"delete-modal-btn confirm-btn",onClick:Bn},"删除")])])])):n.createCommentVNode("",!0),n.createVNode(a,{ref_key:"shareRef",ref:sn,type:"bottom",safeArea:"",backgroundColor:"#fff"},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"share-popup"},[n.createElementVNode("view",{class:"share-title"},"分享到"),n.createElementVNode("view",{class:"share-content"},[n.createElementVNode("view",{class:"share-item",onClick:yn},[n.createElementVNode("view",{class:"share-icon wechat-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(eg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"微信")]),n.createElementVNode("view",{class:"share-item",onClick:fn},[n.createElementVNode("view",{class:"share-icon moments-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(tg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"朋友圈")]),n.createElementVNode("view",{class:"share-item",onClick:bn},[n.createElementVNode("view",{class:"share-icon weibo-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(xg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"新浪微博")])]),n.createElementVNode("view",{class:"share-cancel",onClick:mn},[n.createElementVNode("text",null,"取消")])])])),_:1},512),I.value?(n.openBlock(),n.createElementBlock("view",{key:5,class:"mask",onClick:gn})):n.createCommentVNode("",!0),I.value?(n.openBlock(),n.createElementBlock("view",{key:6,class:"center-modal"},[n.createElementVNode("view",{class:"modal-title"},"温馨提示"),n.createElementVNode("view",{class:"modal-divider"}),n.createElementVNode("view",{class:"modal-item",onClick:i[7]||(i[7]=n=>pn("single"))},[n.createElementVNode("text",{class:"text"},"单独选择")]),n.createElementVNode("view",{class:"modal-divider"}),n.createElementVNode("view",{class:"modal-item",onClick:i[8]||(i[8]=n=>pn("group"))},[n.createElementVNode("text",{class:"text"},"分组选择")])])):n.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-599aafbd"]]),hd="/static/route.png",gd="/static/zhinanLazy.png",dd={__name:"zhinan",setup(t){const l=n.ref(0),a=n.ref("zhinan");n.ref("");const s=n.ref([]),c=n.ref(!1),u=n.ref([]),h=n.ref([]),g=n.ref("");r((()=>{try{uni.sendNativeEvent("goTabbarPage",{msg:"home"},(n=>{x("log","at pages_app/zhinan/zhinan.vue:342",n)}))}catch(Rw){x("log","at pages_app/zhinan/zhinan.vue:346",Rw)}return plus.runtime.quit(),!0})),n.onMounted((()=>{}));const p=n.ref(!1),m=()=>{p.value=!0},f=()=>{uni.sendNativeEvent("goHomeSearch",{msg:"zhinan"},(n=>{x("log","at pages_app/zhinan/zhinan.vue:365",n)}))},b=()=>{p.value=!1},v=()=>{h.value.forEach((n=>n.selected=!1)),c.value=!1,g.value=""},w=function(n,x=1500){var e=!0;return function(){e&&(n.apply(this,arguments),e=!1,setTimeout((()=>{e=!0}),x))}}((()=>{c.value=!0,b();const n=h.value.filter((n=>n.selected));let e="";x("log","at pages_app/zhinan/zhinan.vue:405","选中的筛选标签:",n);for(let x=0;x{x("log","at pages_app/zhinan/zhinan.vue:434",n)}))})),i((()=>{}));const z=async()=>{try{const x=await Fl.guideType({});s.value=x.data;for(var n=0;n{try{const n=await Fl.searchLibraryU({page:1,pageSize:20,type:1,keywords:""});n&&200===n.code&&(u.value=n.data)}catch(Rw){x("error","at pages_app/zhinan/zhinan.vue:465","加载指南库失败:",Rw)}},k=async()=>{try{const n=await Fl.guideTag({type:3});n&&200===n.code&&n.data&&(h.value=n.data.map((n=>({...n,selected:!1}))))}catch(Rw){x("error","at pages_app/zhinan/zhinan.vue:484","加载指南标签失败:",Rw)}},_=n.ref("daichawenxian"),E=n.ref({email:"",literatureName:"",author:"",journalName:""}),N=n.ref([{id:1,literatureName:"",author:"",journalName:""}]);n.ref([{question:"如何查找文献?",answer:"请提供准确的文献标题、作者和期刊信息,我们将为您查找并发送到指定邮箱。",expanded:!1},{question:"查找需要多长时间?",answer:"通常在1-3个工作日内完成文献查找并发送到您的邮箱。",expanded:!1},{question:"支持哪些文献类型?",answer:"支持国内外期刊论文、会议论文、学位论文等多种文献类型。",expanded:!1}]);const S=n=>{_.value=n},C=()=>{if(N.value.length>=5)return void uni.showToast({title:"最多只能添加5篇文献",icon:"none"});const n={id:Date.now(),literatureName:"",author:"",journalName:""};N.value.push(n),uni.showToast({title:"添加成功",icon:"none"})};return(x,t)=>{const i=e(n.resolveDynamicComponent("uni-icons"),d),o=e(n.resolveDynamicComponent("up-image"),Jn),r=e(n.resolveDynamicComponent("up-icon"),Un);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{title:"诊疗指南"}),"zhinan"==a.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"zhinan-page"},[n.createElementVNode("view",{class:"search-container-fixed filter-bar"},[n.createElementVNode("view",{class:"search-box",onClick:f},[n.createVNode(i,{type:"search",size:"22",color:"#999"}),n.createElementVNode("text",{class:"search-text"},"搜索")]),n.createElementVNode("view",{class:"divider"}),n.createElementVNode("view",{class:"filter-item",onClick:m},[n.createElementVNode("text",{class:n.normalizeClass({active:g.value})},"筛选",2),n.createVNode(o,{src:g.value?n.unref(Bc):n.unref(Ic),width:"36rpx",height:"36rpx"},null,8,["src"])])]),n.createElementVNode("view",{class:"guidelines-grid"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(s.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e,onClick:n=>(n=>{Ul({url:`/pages_app/zhinanList/zhinanList?typeUuid=${n.uuid}&title=${n.name}`})})(x)},[n.createElementVNode("view",{class:"item-image"},[n.createVNode(o,{src:n.unref($l)+x.imgs,mode:"widthFix",width:"100%",height:"320rpx",class:"category-icon",loadingIcon:n.unref(gd),errorIcon:n.unref(gd),"lazy-load":!0},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(gd),class:"category-icon",mode:"widthFix"},null,8,["src"])])),loading:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(gd),class:"category-icon",mode:"widthFix"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon"])]),n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("text",{class:"category-title"},n.toDisplayString(x.name),1),n.createElementVNode("text",{class:"category-count"},"(共"+n.toDisplayString(x.total)+"份)",1)])],8,["onClick"])))),128))]),n.createElementVNode("view",{class:"total"},[n.createVNode(o,{src:n.unref("/static/xingxing1.png"),width:"85rpx",height:"9rpx"},null,8,["src"]),n.createElementVNode("view",{class:"count"},n.toDisplayString(l.value)+"份文献",1),n.createVNode(o,{src:n.unref("/static/xingxing2.png"),width:"85rpx",height:"9rpx"},null,8,["src"])])])):"qikan"==a.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"qikan-page"},[n.createElementVNode("view",{class:"main-content"},[n.createElementVNode("view",{class:"tab-section"},[n.createElementVNode("view",{class:"tab-container"},[n.createElementVNode("view",{class:n.normalizeClass(["tab-item",{active:"daichawenxian"===_.value}]),onClick:t[0]||(t[0]=n=>S("daichawenxian"))},[n.createElementVNode("text",{class:"tab-text"},"代查文献"),n.createElementVNode("view",{class:"tab-underline"},["daichawenxian"===_.value?(n.openBlock(),n.createBlock(o,{key:0,src:n.unref(hd),width:"48rpx",height:"18rpx"},null,8,["src"])):n.createCommentVNode("",!0)])],2),n.createElementVNode("view",{class:n.normalizeClass(["tab-item",{active:"yingwenwenxian"===_.value}]),onClick:t[1]||(t[1]=n=>S("yingwenwenxian"))},[n.createElementVNode("text",{class:"tab-text"},"英文文献"),n.createElementVNode("view",{class:"tab-underline"},["yingwenwenxian"===_.value?(n.openBlock(),n.createBlock(o,{key:0,src:n.unref(hd),width:"48rpx",height:"18rpx"},null,8,["src"])):n.createCommentVNode("",!0)])],2)])]),"daichawenxian"===_.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"content-section"},[n.createVNode(o,{src:n.unref("/static/paper_bg.png"),width:"100%"},null,8,["src"]),n.createElementVNode("view",{class:"form-section"},[n.createElementVNode("view",{class:"form-group formemail"},[n.createElementVNode("view",{class:"form-label"},[n.createElementVNode("text",null,"接收邮箱"),n.createElementVNode("text",{class:"required"},"*")]),n.createElementVNode("view",{class:"input-container"},[n.withDirectives(n.createElementVNode("input",{class:"form-input",type:"text",placeholder:"请输入文献接收邮箱","onUpdate:modelValue":t[2]||(t[2]=n=>E.value.email=n)},null,512),[[n.vModelText,E.value.email]])])]),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(N.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"from-cell literature-item",key:x.id},[n.createElementVNode("view",{class:"form-group wenxian"},[n.createElementVNode("view",{class:"tag-container"},[n.createElementVNode("view",{class:"tag-item active"},"文献"+n.toDisplayString(e+1),1)])]),n.createElementVNode("view",{class:"formbox"},[n.createElementVNode("view",{class:"form-group"},[n.createElementVNode("view",{class:"form-label"},[n.createElementVNode("text",null,"文献名称"),n.createElementVNode("text",{class:"required"},"*")]),n.createElementVNode("view",{class:"input-container"},[n.withDirectives(n.createElementVNode("textarea",{class:"form-textarea",type:"text","adjust-position":!1,placeholder:"不支持关键字/广泛查询","onUpdate:modelValue":n=>x.literatureName=n},null,8,["onUpdate:modelValue"]),[[n.vModelText,x.literatureName]])])]),n.createElementVNode("view",{class:"form-group"},[n.createElementVNode("view",{class:"form-label"},[n.createElementVNode("text",null,"作者")]),n.createElementVNode("view",{class:"input-container"},[n.withDirectives(n.createElementVNode("input",{class:"form-input",type:"text",placeholder:"请输入作者姓名","onUpdate:modelValue":n=>x.author=n},null,8,["onUpdate:modelValue"]),[[n.vModelText,x.author]])])]),n.createElementVNode("view",{class:"form-group"},[n.createElementVNode("view",{class:"form-label"},[n.createElementVNode("text",null,"期刊名称")]),n.createElementVNode("view",{class:"input-container"},[n.withDirectives(n.createElementVNode("input",{class:"form-input",type:"text",placeholder:"请输入期刊名称","onUpdate:modelValue":n=>x.journalName=n},null,8,["onUpdate:modelValue"]),[[n.vModelText,x.journalName]])])])]),N.value.length>1?(n.openBlock(),n.createElementBlock("view",{key:0,class:"delbox",onClick:n=>(n=>{N.value.length<=1?uni.showToast({title:"至少保留一篇文献",icon:"none"}):(N.value.splice(n,1),uni.showToast({title:"删除成功",icon:"none"}))})(e)},[n.createVNode(o,{src:n.unref("/static/delete_paper.png"),width:"40rpx",height:"52rpx"},null,8,["src"])],8,["onClick"])):n.createCommentVNode("",!0),e{}),["stop"]))},[n.createElementVNode("view",{class:"filter-tags"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(h.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["tag-item",{active:x.selected}]),key:e,onClick:n=>(n=>{const x=h.value[n];!x.selected&&h.value.filter((n=>n.selected)).length>=3?uni.showToast({title:"最多选择3个标签",icon:"none"}):(x.selected=!x.selected,c.value=h.value.some((n=>n.selected)))})(e)},n.toDisplayString(x.NAME),11,["onClick"])))),128))]),n.createElementVNode("view",{class:"filter-buttons"},[n.createElementVNode("view",{class:"btn-reset",onClick:v},"重置"),n.createElementVNode("view",{class:"btn-confirm",onClick:t[3]||(t[3]=(...x)=>n.unref(w)&&n.unref(w)(...x))},"确定")])])])):n.createCommentVNode("",!0)],64)}}},pd=h(dd,[["__scopeId","data-v-99479928"]]),md="/static/icon_library_down.png",yd={__name:"zhinanList",setup(t){let l=uni.getStorageSync("downLoadPdf")||[];n.ref(l);const a=n.ref([]),s=n.ref(!1),r=n.ref(!0),c=n.ref(1),u=n.ref(10),h=n.ref(!1),g=n.ref(""),p=n.ref("more"),y=n.ref(""),f=n.ref(""),b=n.ref(2),v=n.ref(!1),w=n.ref("上传时间"),z=n.ref(!1),j=n.ref([]),k=n.computed((()=>j.value.filter((n=>"completed"==n.status&&"zhinan"==n.type)).map((n=>n.id)))),_=n.ref(0),E=x=>{b.value=x,z.value=!0,1==x?w.value="下载量":2==x?w.value="上传时间":3==x&&(w.value="标题"),v.value=!1,c.value=1,r.value=!0,p.value="more",a.value=[],_.value=0,A(!1),n.nextTick((()=>{_.value=.01,n.nextTick((()=>{_.value=0}))}))};o((n=>{x("log","at pages_app/zhinanList/zhinanList.vue:210",n),n.typeUuid&&(y.value=n.typeUuid),n.title&&(f.value=n.title),n.keywords&&(g.value=decodeURIComponent(n.keywords),f.value=decodeURIComponent(n.title))}));const N=()=>{Ul({url:"/pages_app/hot/hot?from=hot&typeUuid="+y.value})},S=()=>{v.value=!v.value};i((()=>{x("log","at pages_app/zhinanList/zhinanList.vue:231","onShow"),O(),Ag.addListener((n=>{j.value=n})),P(),0===a.value.length&&A(!1)}));const C=()=>{uni.sendNativeEvent("goHomeSearch",{msg:"zhinan"},(n=>{x("log","at pages_app/zhinanList/zhinanList.vue:269",n)}))},q=async()=>{x("log","at pages_app/zhinanList/zhinanList.vue:276","scroll-view 下拉刷新触发"),h.value=!0,await V(),h.value=!1},T=()=>{x("log","at pages_app/zhinanList/zhinanList.vue:284","=== onScrollToLower 触发 ==="),x("log","at pages_app/zhinanList/zhinanList.vue:285","当前状态:",{loadMoreStatus:p.value,isRefreshing:h.value,currentPage:c.value,listLength:a.value.length,hasMoreData:r.value,isLoading:s.value}),"more"!==p.value||h.value||s.value?x("log","at pages_app/zhinanList/zhinanList.vue:302","条件不满足,跳过加载:",{loadMoreStatus:p.value,isRefreshing:h.value,isLoading:s.value}):(x("log","at pages_app/zhinanList/zhinanList.vue:299","条件满足,开始加载更多数据"),I())},V=async()=>{try{a.value=[],c.value=1,r.value=!0,p.value="more",await A(!1),uni.showToast({title:"刷新成功",icon:"none"})}catch(n){x("error","at pages_app/zhinanList/zhinanList.vue:325","刷新失败:",n),uni.showToast({title:"刷新失败",icon:"none"})}},A=async(n=!1)=>{if(x("log","at pages_app/zhinanList/zhinanList.vue:335","=== loadGuidelinesList 开始 ==="),x("log","at pages_app/zhinanList/zhinanList.vue:336","当前参数:",{isRefresh:n,page:c.value,keywords:g.value}),!s.value)try{s.value=!0,p.value="loading";const e={page:c.value,pageSize:u.value,type:1,sort:b.value,typeUuid:y.value,keywords:g.value},t=await Fl.searchLibraryU(e);if(x("log","at pages_app/zhinanList/zhinanList.vue:357","指南列表响应:",t.data.list),200===t.code&&t.data){const e=t.data.list;n?(a.value=e,x("log","at pages_app/zhinanList/zhinanList.vue:364","刷新模式:替换列表数据")):(a.value=[...a.value,...e],x("log","at pages_app/zhinanList/zhinanList.vue:367","加载更多:追加数据到列表")),e.length{x("log","at pages_app/zhinanList/zhinanList.vue:407","=== loadMoreData 被调用 ==="),x("log","at pages_app/zhinanList/zhinanList.vue:408","检查条件:",{hasMoreData:r.value,isLoading:s.value,currentPage:c.value}),r.value&&!s.value?(x("log","at pages_app/zhinanList/zhinanList.vue:415","条件满足,开始加载更多数据"),A(!1)):x("log","at pages_app/zhinanList/zhinanList.vue:418","条件不满足,跳过加载更多")},B=()=>{uni.navigateBack()},D=n=>{const x=Ag.addTask(n);O(),M(x)},M=n=>{const e=Ag.getTask(n);if(!e)return;if("loading"==e.status)return!1;uni.showToast({title:"正在下载中",icon:"none"}),Ag.updateTask(n,{status:"loading"});const t=uni.downloadFile({url:e.url,success:e=>{x("log","at pages_app/zhinanList/zhinanList.vue:599","res1:"+JSON.stringify(e)),200===e.statusCode?(Ag.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"none"}),uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/zhinanList/zhinanList.vue:615","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/zhinanList/zhinanList.vue:619","res:"+JSON.stringify(t)),x("log","at pages_app/zhinanList/zhinanList.vue:620","size:"+t.size),Ag.updateTask(n,{status:"completed",localPath:e.savedFilePath})}})}})):(Ag.updateTask(n,{status:"failed"}),R(n),uni.showToast({title:"下载失败2",icon:"none"}))},fail:x=>{Ag.updateTask(n,{status:"failed"}),R(n),uni.showToast({title:"下载失败3: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Ag.getTask(n);e&&"downloading"===e.status&&Ag.updateTask(n,{progress:x.progress})})),Ag.updateTask(n,{task:t})},O=()=>{j.value=Ag.getTasks()},R=n=>{Ag.removeTask(n),O()},P=()=>{n.nextTick((()=>{Ag.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/zhinanList/zhinanList.vue:682","恢复下载任务:",null==(e=Ag.getTask(n))?void 0:e.url),M(n)}))}))},L=n=>{if(!n)return"";try{const x=new Date(n),e=x.getFullYear(),t=String(x.getMonth()+1).padStart(2,"0");return`${e}-${t}-${String(x.getDate()).padStart(2,"0")}`}catch(x){return n}};return(t,i)=>{const l=e(n.resolveDynamicComponent("up-image"),Jn),o=e(n.resolveDynamicComponent("uni-nav-bar"),m),r=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"zhinan-list-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(o,{"left-icon":"left",title:f.value,onClickLeft:B,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-right",onClick:N},[n.createVNode(l,{src:n.unref("/static/hot_booklist.png"),width:"40rpx",height:"40rpx"},null,8,["src"])])])),_:1},8,["title"])]),n.createElementVNode("view",{class:"search-container-fixed filter-bar"},[n.createElementVNode("view",{class:"search-box",onClick:C},[n.createVNode(r,{type:"search",size:"22",color:"#999"}),n.createElementVNode("text",{class:"search-text"},"搜索")]),n.createElementVNode("view",{class:"divider"}),n.createElementVNode("view",{class:"current-sort",onClick:S},[n.createElementVNode("text",{class:n.normalizeClass(["sort-text",{active:z.value}])},n.toDisplayString(w.value),3),n.createElementVNode("view",{class:"imgbox"},[n.createVNode(l,{src:z.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx",class:n.normalizeClass({active:z.value})},null,8,["src","class"])])])]),n.createElementVNode("scroll-view",{class:"guidelines-scroll-view","scroll-y":"true","refresher-enabled":!0,"refresher-triggered":h.value,onRefresherrefresh:q,onScrolltolower:T,"show-scrollbar":!1,"scroll-top":_.value},[n.createElementVNode("view",{class:"guidelines-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(a.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e.uuid||t},[n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title"},n.toDisplayString(e.title),1),n.createElementVNode("view",{class:"item-bottom"},[n.createElementVNode("view",{class:"item-date"},n.toDisplayString(L(e.releaseTime)),1),n.createElementVNode("view",{class:"item-action"},[k.value.includes(e.uuid)?(n.openBlock(),n.createElementBlock("view",{key:1,class:"view-btn",onClick:n.withModifiers((n=>{return x("log","at pages_app/zhinanList/zhinanList.vue:486",t=e),void(t.path?(t.path,x("log","at pages_app/zhinanList/zhinanList.vue:495","下载列表"),x("log","at pages_app/zhinanList/zhinanList.vue:496",j.value),j.value.forEach((n=>{n.id==t.uuid&&(x("log","at pages_app/zhinanList/zhinanList.vue:499",2222222222),x("log","at pages_app/zhinanList/zhinanList.vue:500",n.localPath),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"诊疗指南",resource_name:t.title,resource_option:t.tags}},(n=>{x("log","at pages_app/zhinanList/zhinanList.vue:510",n)})),plus.runtime.openFile(n.localPath,(function(n){x("log","at pages_app/zhinanList/zhinanList.vue:514","打开成功")}),(function(n){uni.showToast({title:"打开失败:"+n.message,icon:"none",duration:2e3}),x("log","at pages_app/zhinanList/zhinanList.vue:521","打开失败:"+n.message)})))}))):uni.showToast({title:"暂无下载链接",icon:"none"}));var t}),["stop"])},"查看",8,["onClick"])):(n.openBlock(),n.createElementBlock("view",{key:0,class:"download-btn",onClick:n.withModifiers((n=>(n=>{x("log","at pages_app/zhinanList/zhinanList.vue:454",n),x("log","at pages_app/zhinanList/zhinanList.vue:455",2222),n.path?(uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"magazine_donwload",page_type:"诊疗指南",resource_name:n.title,belong:f.value,number:1,resource_option:n.tags}},(n=>{x("log","at pages_app/zhinanList/zhinanList.vue:474",n)})),D({url:$l+n.path,title:n.title,id:n.uuid,releaseTime:n.releaseTime,type:"zhinan"})):uni.showToast({title:"暂无下载链接",icon:"none"})})(e)),["stop"])},[n.createVNode(l,{src:n.unref(md),width:"35rpx",height:"35rpx"},null,8,["src"])],8,["onClick"]))])])])])))),128))]),n.createElementVNode("view",{class:"load-more-status"},["loading"===p.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"loading"},[n.createVNode(r,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",null,"加载中...")])):"more"===p.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"more"},[n.createElementVNode("text",null,"上拉加载更多")])):"noMore"===p.value&&c.value>1?(n.openBlock(),n.createElementBlock("view",{key:2,class:"no-more"},[n.createElementVNode("text",null,"没有更多数据了")])):n.createCommentVNode("",!0)]),0!==a.value.length||s.value?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(Vc,{key:0}))],40,["refresher-triggered","scroll-top"])]),v.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"popup-panel"},[n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:1==b.value}]),onClick:i[0]||(i[0]=n.withModifiers((n=>E(1)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"下载量"),1==b.value?(n.openBlock(),n.createBlock(r,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:2==b.value}]),onClick:i[1]||(i[1]=n.withModifiers((n=>E(2)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"上传时间"),2==b.value?(n.openBlock(),n.createBlock(r,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:3==b.value}]),onClick:i[2]||(i[2]=n.withModifiers((n=>E(3)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"标题"),3==b.value?(n.openBlock(),n.createBlock(r,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2)])):n.createCommentVNode("",!0)],64)}}},fd=h(yd,[["__scopeId","data-v-b9d01150"]]),bd={__name:"hot",setup(t){const l=n.ref([]),a=n.ref(!1),s=n.ref(!0),r=n.ref(1),c=n.ref(10),u=n.ref(!1),h=n.ref(""),g=n.ref("more"),p=n.ref(""),m=n.ref("");n.ref(2);const f=n.ref(""),b=n.ref("");n.ref(!1),n.ref("上传时间");const v=n.ref([]),w=n.computed((()=>v.value.filter((n=>"completed"==n.status&&"zhinan"==n.type)).map((n=>n.id))));o((n=>{n.keywords&&(h.value=decodeURIComponent(n.keywords)),x("log","at pages_app/hot/hot.vue:134",n),n.from&&(f.value=n.from),n.name&&(b.value=n.name),n.typeUuid&&(p.value=n.typeUuid),m.value=n.from?"年度Top10":"诊疗指南"})),i((()=>{T(),Ag.addListener((n=>{v.value=n})),V(),0===l.value.length&&(f.value?j():E(!1))}));const z=async()=>{x("log","at pages_app/hot/hot.vue:185","scroll-view 下拉刷新触发"),u.value=!0,await _(),u.value=!1},j=async()=>{const n=await Fl.top10ByType({type:1,guide_type_uuid:p.value});200==n.code&&(l.value=n.data,g.value="noMore",s.value=!1)},k=()=>{x("log","at pages_app/hot/hot.vue:203","=== onScrollToLower 触发 ==="),x("log","at pages_app/hot/hot.vue:204","当前状态:",{loadMoreStatus:g.value,isRefreshing:u.value,currentPage:r.value,listLength:l.value.length,hasMoreData:s.value,isLoading:a.value}),"more"!==g.value||u.value||a.value?x("log","at pages_app/hot/hot.vue:221","条件不满足,跳过加载:",{loadMoreStatus:g.value,isRefreshing:u.value,isLoading:a.value}):(x("log","at pages_app/hot/hot.vue:214","条件满足,开始加载更多数据"),f.value?j():E())},_=async()=>{try{r.value=1,s.value=!0,g.value="more",f.value?await j():await E(!0),uni.showToast({title:"刷新成功",icon:"none"})}catch(n){x("error","at pages_app/hot/hot.vue:247","刷新失败:",n),uni.showToast({title:"刷新失败",icon:"none"})}},E=async(n=!1)=>{if(x("log","at pages_app/hot/hot.vue:257","=== loadGuidelinesList 开始 ==="),x("log","at pages_app/hot/hot.vue:258","当前参数:",{isRefresh:n,page:r.value,keywords:h.value}),!a.value)try{a.value=!0,g.value="loading";let e=uni.getStorageSync("userInfo").uuid;const t={page:r.value,pageSize:c.value,expertUUid:e,type:1,sort:2,name:b.value,typeUuid:p.value,keyWords:h.value},i=await Fl.searchLibraryU(t);if(x("log","at pages_app/hot/hot.vue:278","指南列表响应:",i),200===i.code&&i.data){const e=i.data.list||i.data;n?(l.value=e,x("log","at pages_app/hot/hot.vue:285","刷新模式:替换列表数据")):(l.value=[...l.value,...e],x("log","at pages_app/hot/hot.vue:288","加载更多:追加数据到列表")),e.length{x("log","at pages_app/hot/hot.vue:411",n),n.path?(x("log","at pages_app/hot/hot.vue:419","下载列表"),x("log","at pages_app/hot/hot.vue:420",v.value),v.value.forEach((e=>{e.id==n.uuid&&(uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"诊疗指南",resource_name:n.title,resource_option:n.tags}},(n=>{x("log","at pages_app/hot/hot.vue:433",n)})),plus.runtime.openFile(e.localPath,(function(n){x("log","at pages_app/hot/hot.vue:437","打开成功")}),(function(n){uni.showToast({title:"打开失败:"+n.message,icon:"none",duration:2e3}),x("log","at pages_app/hot/hot.vue:444","打开失败:"+n.message)})))}))):uni.showToast({title:"暂无下载链接",icon:"none"})},S=n=>{if(!n)return"";try{const x=new Date(n),e=x.getFullYear(),t=String(x.getMonth()+1).padStart(2,"0");return`${e}-${t}-${String(x.getDate()).padStart(2,"0")}`}catch(x){return n}},C=n=>{const x=Ag.addTask(n);T(),q(x)},q=n=>{const e=Ag.getTask(n);if(!e)return;if("loading"==e.status)return!1;uni.showToast({title:"正在下载中",icon:"none"}),Ag.updateTask(n,{status:"loading"});const t=uni.downloadFile({url:e.url,success:e=>{200===e.statusCode?(Ag.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"none"}),uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/hot/hot.vue:555","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/hot/hot.vue:559","res:"+JSON.stringify(t)),x("log","at pages_app/hot/hot.vue:560","size:"+t.size),Ag.updateTask(n,{status:"completed",localPath:e.savedFilePath})}})}})):(Ag.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败",icon:"none"}))},fail:x=>{Ag.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Ag.getTask(n);e&&"downloading"===e.status&&Ag.updateTask(n,{progress:x.progress})})),Ag.updateTask(n,{task:t})},T=()=>{v.value=Ag.getTasks()},V=()=>{n.nextTick((()=>{Ag.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/hot/hot.vue:616","恢复下载任务:",null==(e=Ag.getTask(n))?void 0:e.url),q(n)}))}))};return(t,i)=>{const o=e(n.resolveDynamicComponent("up-image"),Jn),s=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock("view",{class:"zhinan-list-page"},[n.createVNode(y,{title:m.value},null,8,["title"]),n.createElementVNode("scroll-view",{class:"guidelines-scroll-view","scroll-y":"true","refresher-enabled":!0,"refresher-triggered":u.value,onRefresherrefresh:z,onScrolltolower:k,"show-scrollbar":!1},[n.createElementVNode("view",{class:"guidelines-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e.uuid||t,onClick:n=>N(e)},[n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title"},n.toDisplayString(e.title),1),n.createElementVNode("view",{class:"item-bottom"},[n.createElementVNode("view",{class:"item-date"},n.toDisplayString(S(e.releaseTime)),1),n.createElementVNode("view",{class:"item-action"},[w.value.includes(e.uuid)?(n.openBlock(),n.createElementBlock("view",{key:1,class:"view-btn",onClick:n.withModifiers((n=>N(e)),["stop"])},"查看",8,["onClick"])):(n.openBlock(),n.createElementBlock("view",{key:0,class:"download-btn",onClick:n.withModifiers((n=>(n=>{n.path?(uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"magazine_donwload",page_type:"诊疗指南",resource_name:n.title,belong:m.value,number:1,resource_option:n.tags}},(n=>{x("log","at pages_app/hot/hot.vue:399",n)})),C({url:$l+n.path,title:n.title,id:n.uuid,type:"zhinan",releaseTime:n.releaseTime})):uni.showToast({title:"暂无下载链接",icon:"none"})})(e)),["stop"])},[n.createVNode(o,{src:n.unref(md),width:"35rpx",height:"35rpx"},null,8,["src"])],8,["onClick"]))])])])],8,["onClick"])))),128))]),n.createElementVNode("view",{class:"load-more-status"},["loading"===g.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"loading"},[n.createVNode(s,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",null,"加载中...")])):"more"===g.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"more"},[n.createElementVNode("text",null,"上拉加载更多")])):"noMore"===g.value&&l.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:2,class:"no-more"},[n.createElementVNode("text",null,"没有更多数据了")])):n.createCommentVNode("",!0)]),0!==l.value.length||a.value?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(Vc,{key:0}))],40,["refresher-triggered"])])}}},vd=h(bd,[["__scopeId","data-v-18895c17"]]),wd="/static/icon_login_logo.png",zd="/static/weixin_login.png",jd="/static/login_new_unselect.png",kd="/static/login_new_select.png";function _d(n){for(var x=Object.keys(n).sort(),e={},t=0;t{let x={};return n.forEach(((n,e)=>x[n]=e)),x})(Sd),qd=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Td=String.fromCharCode.bind(String),Vd=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),n=>n.replace(/=/g,"").replace(/[+\/]/g,(n=>"+"==n?"-":"_"))),Ad=n=>n.replace(/[^A-Za-z0-9\+\/]/g,""),Id=n=>{let x,e,t,i,l="";const o=n.length%3;for(let a=0;a255||(t=n.charCodeAt(a++))>255||(i=n.charCodeAt(a++))>255)throw new TypeError("invalid character found");x=e<<16|t<<8|i,l+=Sd[x>>18&63]+Sd[x>>12&63]+Sd[x>>6&63]+Sd[63&x]}return o?l.slice(0,o-3)+"===".substring(o):l},Bd="function"==typeof btoa?n=>btoa(n):Ed?n=>Buffer.from(n,"binary").toString("base64"):Id,Dd=Ed?n=>Buffer.from(n).toString("base64"):n=>{let x=[];for(let e=0,t=n.length;e{if(n.length<2)return(x=n.charCodeAt(0))<128?n:x<2048?Td(192|x>>>6)+Td(128|63&x):Td(224|x>>>12&15)+Td(128|x>>>6&63)+Td(128|63&x);var x=65536+1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320);return Td(240|x>>>18&7)+Td(128|x>>>12&63)+Td(128|x>>>6&63)+Td(128|63&x)},Od=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Rd=n=>n.replace(Od,Md),Pd=Ed?n=>Buffer.from(n,"utf8").toString("base64"):Nd?n=>Dd(Nd.encode(n)):n=>Bd(Rd(n)),Ld=(n,x=!1)=>x?Vd(Pd(n)):Pd(n),Fd=n=>{if(n=n.replace(/\s+/g,""),!qd.test(n))throw new TypeError("malformed base64.");let x,e,t;n+="==".slice(2-(3&n.length));let i=[];for(let l=0;l>16&255)):64===t?i.push(Td(x>>16&255,x>>8&255)):i.push(Td(x>>16&255,x>>8&255,255&x));return i.join("")},Ud=Ld;var $d={exports:{}}; +function(n){var x=e,t=x.lib,i=t.WordArray,l=t.Hasher,o=x.algo,a=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),r=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=i.create([0,1518500249,1859775393,2400959708,2840853838]),h=i.create([1352829926,1548603684,1836072691,2053994217,0]),g=o.RIPEMD160=l.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,x){for(var e=0;e<16;e++){var t=x+e,i=n[t];n[t]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var l,o,g,v,w,z,j,k,_,E,N,S=this._hash.words,C=u.words,q=h.words,T=a.words,V=s.words,A=r.words,I=c.words;for(z=l=S[0],j=o=S[1],k=g=S[2],_=v=S[3],E=w=S[4],e=0;e<80;e+=1)N=l+n[x+T[e]]|0,N+=e<16?d(o,g,v)+C[0]:e<32?p(o,g,v)+C[1]:e<48?m(o,g,v)+C[2]:e<64?y(o,g,v)+C[3]:f(o,g,v)+C[4],N=(N=b(N|=0,A[e]))+w|0,l=w,w=v,v=b(g,10),g=o,o=N,N=z+n[x+V[e]]|0,N+=e<16?f(j,k,_)+q[0]:e<32?y(j,k,_)+q[1]:e<48?m(j,k,_)+q[2]:e<64?p(j,k,_)+q[3]:d(j,k,_)+q[4],N=(N=b(N|=0,I[e]))+E|0,z=E,E=_,_=b(k,10),k=j,j=N;N=S[1]+g+_|0,S[1]=S[2]+v+E|0,S[2]=S[3]+w+z|0,S[3]=S[4]+l+j|0,S[4]=S[0]+o+k|0,S[0]=N},_doFinalize:function(){var n=this._data,x=n.words,e=8*this._nDataBytes,t=8*n.sigBytes;x[t>>>5]|=128<<24-t%32,x[14+(t+64>>>9<<4)]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8),n.sigBytes=4*(x.length+1),this._process();for(var i=this._hash,l=i.words,o=0;o<5;o++){var a=l[o];l[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var n=l.clone.call(this);return n._hash=this._hash.clone(),n}});function d(n,x,e){return n^x^e}function p(n,x,e){return n&x|~n&e}function m(n,x,e){return(n|~x)^e}function y(n,x,e){return n&e|x&~e}function f(n,x,e){return n^(x|~e)}function b(n,x){return n<>>32-x}x.RIPEMD160=l._createHelper(g),x.HmacRIPEMD160=l._createHmacHelper(g)}(),e.RIPEMD160)}(Cu)),Vu(),Au||(Au=1,function(n,x){var e,t,i,l,o,a,s,r,c;n.exports=(c=Gc(),yu(),Vu(),i=(t=(e=c).lib).Base,l=t.WordArray,a=(o=e.algo).SHA256,s=o.HMAC,r=o.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:a,iterations:25e4}),init:function(n){this.cfg=this.cfg.extend(n)},compute:function(n,x){for(var e=this.cfg,t=s.create(e.hasher,n),i=l.create(),o=l.create([1]),a=i.words,r=o.words,c=e.keySize,u=e.iterations;a.length>>2]|=i<<24-l%4*8,n.sigBytes+=i},unpad:function(n){var x=255&n.words[n.sigBytes-1>>>2];n.sigBytes-=x}},e.pad.Ansix923)}(Zu)),nh||(nh=1,function(n,x){var e;n.exports=(e=Gc(),Pu(),e.pad.Iso10126={pad:function(n,x){var t=4*x,i=t-n.sigBytes%t;n.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(n){var x=255&n.words[n.sigBytes-1>>>2];n.sigBytes-=x}},e.pad.Iso10126)}(xh)),eh||(eh=1,function(n,x){var e;n.exports=(e=Gc(),Pu(),e.pad.Iso97971={pad:function(n,x){n.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(n,x)},unpad:function(n){e.pad.ZeroPadding.unpad(n),n.sigBytes--}},e.pad.Iso97971)}(th)),ih||(ih=1,function(n,x){var e;n.exports=(e=Gc(),Pu(),e.pad.ZeroPadding={pad:function(n,x){var e=4*x;n.clamp(),n.sigBytes+=e-(n.sigBytes%e||e)},unpad:function(n){var x=n.words,e=n.sigBytes-1;for(e=n.sigBytes-1;e>=0;e--)if(x[e>>>2]>>>24-e%4*8&255){n.sigBytes=e+1;break}}},e.pad.ZeroPadding)}(lh)),oh||(oh=1,function(n,x){var e;n.exports=(e=Gc(),Pu(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding)}(ah)),sh||(sh=1,function(n,x){var e,t,i,l;n.exports=(l=Gc(),Pu(),t=(e=l).lib.CipherParams,i=e.enc.Hex,e.format.Hex={stringify:function(n){return n.ciphertext.toString(i)},parse:function(n){var x=i.parse(n);return t.create({ciphertext:x})}},l.format.Hex)}(rh)),ch||(ch=1,function(n,x){var e;n.exports=(e=Gc(),lu(),uu(),Mu(),Pu(),function(){var n=e,x=n.lib.BlockCipher,t=n.algo,i=[],l=[],o=[],a=[],s=[],r=[],c=[],u=[],h=[],g=[];!function(){for(var n=[],x=0;x<256;x++)n[x]=x<128?x<<1:x<<1^283;var e=0,t=0;for(x=0;x<256;x++){var d=t^t<<1^t<<2^t<<3^t<<4;d=d>>>8^255&d^99,i[e]=d,l[d]=e;var p=n[e],m=n[p],y=n[m],f=257*n[d]^16843008*d;o[e]=f<<24|f>>>8,a[e]=f<<16|f>>>16,s[e]=f<<8|f>>>24,r[e]=f,f=16843009*y^65537*m^257*p^16843008*e,c[d]=f<<24|f>>>8,u[d]=f<<16|f>>>16,h[d]=f<<8|f>>>24,g[d]=f,e?(e=p^n[n[n[y^p]]],t^=n[n[t]]):e=t=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],p=t.AES=x.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var n=this._keyPriorReset=this._key,x=n.words,e=n.sigBytes/4,t=4*((this._nRounds=e+6)+1),l=this._keySchedule=[],o=0;o6&&o%e==4&&(r=i[r>>>24]<<24|i[r>>>16&255]<<16|i[r>>>8&255]<<8|i[255&r]):(r=i[(r=r<<8|r>>>24)>>>24]<<24|i[r>>>16&255]<<16|i[r>>>8&255]<<8|i[255&r],r^=d[o/e|0]<<24),l[o]=l[o-e]^r);for(var a=this._invKeySchedule=[],s=0;s>>24]]^u[i[r>>>16&255]]^h[i[r>>>8&255]]^g[i[255&r]]}}},encryptBlock:function(n,x){this._doCryptBlock(n,x,this._keySchedule,o,a,s,r,i)},decryptBlock:function(n,x){var e=n[x+1];n[x+1]=n[x+3],n[x+3]=e,this._doCryptBlock(n,x,this._invKeySchedule,c,u,h,g,l),e=n[x+1],n[x+1]=n[x+3],n[x+3]=e},_doCryptBlock:function(n,x,e,t,i,l,o,a){for(var s=this._nRounds,r=n[x]^e[0],c=n[x+1]^e[1],u=n[x+2]^e[2],h=n[x+3]^e[3],g=4,d=1;d>>24]^i[c>>>16&255]^l[u>>>8&255]^o[255&h]^e[g++],m=t[c>>>24]^i[u>>>16&255]^l[h>>>8&255]^o[255&r]^e[g++],y=t[u>>>24]^i[h>>>16&255]^l[r>>>8&255]^o[255&c]^e[g++],f=t[h>>>24]^i[r>>>16&255]^l[c>>>8&255]^o[255&u]^e[g++];r=p,c=m,u=y,h=f}p=(a[r>>>24]<<24|a[c>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^e[g++],m=(a[c>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&r])^e[g++],y=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[r>>>8&255]<<8|a[255&c])^e[g++],f=(a[h>>>24]<<24|a[r>>>16&255]<<16|a[c>>>8&255]<<8|a[255&u])^e[g++],n[x]=p,n[x+1]=m,n[x+2]=y,n[x+3]=f},keySize:8});n.AES=x._createHelper(p)}(),e.AES)}(uh)),dh(),ph||(ph=1,function(n,x){var e;n.exports=(e=Gc(),lu(),uu(),Mu(),Pu(),function(){var n=e,x=n.lib.StreamCipher,t=n.algo,i=t.RC4=x.extend({_doReset:function(){for(var n=this._key,x=n.words,e=n.sigBytes,t=this._S=[],i=0;i<256;i++)t[i]=i;i=0;for(var l=0;i<256;i++){var o=i%e,a=x[o>>>2]>>>24-o%4*8&255;l=(l+t[i]+a)%256;var s=t[i];t[i]=t[l],t[l]=s}this._i=this._j=0},_doProcessBlock:function(n,x){n[x]^=l.call(this)},keySize:8,ivSize:0});function l(){for(var n=this._S,x=this._i,e=this._j,t=0,i=0;i<4;i++){e=(e+n[x=(x+1)%256])%256;var l=n[x];n[x]=n[e],n[e]=l,t|=n[(n[x]+n[e])%256]<<24-8*i}return this._i=x,this._j=e,t}n.RC4=x._createHelper(i);var o=t.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var n=this.cfg.drop;n>0;n--)l.call(this)}});n.RC4Drop=x._createHelper(o)}(),e.RC4)}(mh)),yh||(yh=1,function(n,x){var e;n.exports=(e=Gc(),lu(),uu(),Mu(),Pu(),function(){var n=e,x=n.lib.StreamCipher,t=n.algo,i=[],l=[],o=[],a=t.Rabbit=x.extend({_doReset:function(){for(var n=this._key.words,x=this.cfg.iv,e=0;e<4;e++)n[e]=16711935&(n[e]<<8|n[e]>>>24)|4278255360&(n[e]<<24|n[e]>>>8);var t=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],i=this._C=[n[2]<<16|n[2]>>>16,4294901760&n[0]|65535&n[1],n[3]<<16|n[3]>>>16,4294901760&n[1]|65535&n[2],n[0]<<16|n[0]>>>16,4294901760&n[2]|65535&n[3],n[1]<<16|n[1]>>>16,4294901760&n[3]|65535&n[0]];for(this._b=0,e=0;e<4;e++)s.call(this);for(e=0;e<8;e++)i[e]^=t[e+4&7];if(x){var l=x.words,o=l[0],a=l[1],r=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=r>>>16|4294901760&c,h=c<<16|65535&r;for(i[0]^=r,i[1]^=u,i[2]^=c,i[3]^=h,i[4]^=r,i[5]^=u,i[6]^=c,i[7]^=h,e=0;e<4;e++)s.call(this)}},_doProcessBlock:function(n,x){var e=this._X;s.call(this),i[0]=e[0]^e[5]>>>16^e[3]<<16,i[1]=e[2]^e[7]>>>16^e[5]<<16,i[2]=e[4]^e[1]>>>16^e[7]<<16,i[3]=e[6]^e[3]>>>16^e[1]<<16;for(var t=0;t<4;t++)i[t]=16711935&(i[t]<<8|i[t]>>>24)|4278255360&(i[t]<<24|i[t]>>>8),n[x+t]^=i[t]},blockSize:4,ivSize:2});function s(){for(var n=this._X,x=this._C,e=0;e<8;e++)l[e]=x[e];for(x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0,e=0;e<8;e++){var t=n[e]+x[e],i=65535&t,a=t>>>16,s=((i*i>>>17)+i*a>>>15)+a*a,r=((4294901760&t)*t|0)+((65535&t)*t|0);o[e]=s^r}n[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,n[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,n[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,n[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,n[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,n[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,n[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,n[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}n.Rabbit=x._createHelper(a)}(),e.Rabbit)}(fh)),bh||(bh=1,function(n,x){var e;n.exports=(e=Gc(),lu(),uu(),Mu(),Pu(),function(){var n=e,x=n.lib.StreamCipher,t=n.algo,i=[],l=[],o=[],a=t.RabbitLegacy=x.extend({_doReset:function(){var n=this._key.words,x=this.cfg.iv,e=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],t=this._C=[n[2]<<16|n[2]>>>16,4294901760&n[0]|65535&n[1],n[3]<<16|n[3]>>>16,4294901760&n[1]|65535&n[2],n[0]<<16|n[0]>>>16,4294901760&n[2]|65535&n[3],n[1]<<16|n[1]>>>16,4294901760&n[3]|65535&n[0]];this._b=0;for(var i=0;i<4;i++)s.call(this);for(i=0;i<8;i++)t[i]^=e[i+4&7];if(x){var l=x.words,o=l[0],a=l[1],r=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=r>>>16|4294901760&c,h=c<<16|65535&r;for(t[0]^=r,t[1]^=u,t[2]^=c,t[3]^=h,t[4]^=r,t[5]^=u,t[6]^=c,t[7]^=h,i=0;i<4;i++)s.call(this)}},_doProcessBlock:function(n,x){var e=this._X;s.call(this),i[0]=e[0]^e[5]>>>16^e[3]<<16,i[1]=e[2]^e[7]>>>16^e[5]<<16,i[2]=e[4]^e[1]>>>16^e[7]<<16,i[3]=e[6]^e[3]>>>16^e[1]<<16;for(var t=0;t<4;t++)i[t]=16711935&(i[t]<<8|i[t]>>>24)|4278255360&(i[t]<<24|i[t]>>>8),n[x+t]^=i[t]},blockSize:4,ivSize:2});function s(){for(var n=this._X,x=this._C,e=0;e<8;e++)l[e]=x[e];for(x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0,e=0;e<8;e++){var t=n[e]+x[e],i=65535&t,a=t>>>16,s=((i*i>>>17)+i*a>>>15)+a*a,r=((4294901760&t)*t|0)+((65535&t)*t|0);o[e]=s^r}n[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,n[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,n[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,n[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,n[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,n[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,n[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,n[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}n.RabbitLegacy=x._createHelper(a)}(),e.RabbitLegacy)}(vh)),jh(),e)}(Uc);const kh=Kl(Uc.exports),_h=(n,e)=>{try{if(!e)return x("error","at utils/aesEcb.js:40","Key为空null"),null;const t=kh.enc.Utf8.parse(e),i=kh.enc.Utf8.parse(n),l=kh.AES.encrypt(i,t,{mode:kh.mode.ECB,padding:kh.pad.Pkcs7});return l.ciphertext.toString(kh.enc.Base64)}catch(t){return x("error","at utils/aesEcb.js:66","加密失败:",t),null}};var Eh;Eh="iOS"==plus.os.name;const Nh={judgeIosPermission:function(n){return"location"==n?(t=plus.ios.import("CLLocationManager"),x("log","at js_sdk/wa-permission/permission.js:48","定位权限开启:"+(e=2!=t.authorizationStatus())),plus.ios.deleteObject(t),e):"camera"==n?function(){var n=!1,e=plus.ios.import("AVCaptureDevice"),t=e.authorizationStatusForMediaType("vide");return x("log","at js_sdk/wa-permission/permission.js:86","authStatus:"+t),3==t?(n=!0,x("log","at js_sdk/wa-permission/permission.js:89","相机权限已经开启")):x("log","at js_sdk/wa-permission/permission.js:91","相机权限没有开启"),plus.ios.deleteObject(e),n}():"photoLibrary"==n?function(){var n=!1,e=plus.ios.import("PHPhotoLibrary"),t=e.authorizationStatus();return x("log","at js_sdk/wa-permission/permission.js:102","authStatus:"+t),3==t?(n=!0,x("log","at js_sdk/wa-permission/permission.js:105","相册权限已经开启")):x("log","at js_sdk/wa-permission/permission.js:107","相册权限没有开启"),plus.ios.deleteObject(e),n}():"record"==n?function(){var n=!1,e=plus.ios.import("AVAudioSession"),t=e.sharedInstance().recordPermission();return x("log","at js_sdk/wa-permission/permission.js:70","permissionStatus:"+t),1684369017==t||1970168948==t?x("log","at js_sdk/wa-permission/permission.js:72","麦克风权限没有开启"):(n=!0,x("log","at js_sdk/wa-permission/permission.js:75","麦克风权限已经开启")),plus.ios.deleteObject(e),n}():"push"==n?function(){var n=!1,e=plus.ios.import("UIApplication"),t=e.sharedApplication(),i=0;if(t.currentUserNotificationSettings){var l=t.currentUserNotificationSettings();x("log","at js_sdk/wa-permission/permission.js:19","enabledTypes1:"+(i=l.plusGetAttribute("types"))),0==i?x("log","at js_sdk/wa-permission/permission.js:21","推送权限没有开启"):(n=!0,x("log","at js_sdk/wa-permission/permission.js:24","已经开启推送功能!")),plus.ios.deleteObject(l)}else 0==(i=t.enabledRemoteNotificationTypes())?x("log","at js_sdk/wa-permission/permission.js:30","推送权限没有开启!"):(n=!0,x("log","at js_sdk/wa-permission/permission.js:33","已经开启推送功能!")),x("log","at js_sdk/wa-permission/permission.js:35","enabledTypes2:"+i);return plus.ios.deleteObject(t),plus.ios.deleteObject(e),n}():"contact"==n?function(){var n=!1,e=plus.ios.import("CNContactStore");return 3==e.authorizationStatusForEntityType(0)?(n=!0,x("log","at js_sdk/wa-permission/permission.js:120","通讯录权限已经开启")):x("log","at js_sdk/wa-permission/permission.js:122","通讯录权限没有开启"),plus.ios.deleteObject(e),n}():"calendar"==n?function(){var n=!1,e=plus.ios.import("EKEventStore");return 3==e.authorizationStatusForEntityType(0)?(n=!0,x("log","at js_sdk/wa-permission/permission.js:135","日历权限已经开启")):x("log","at js_sdk/wa-permission/permission.js:137","日历权限没有开启"),plus.ios.deleteObject(e),n}():"memo"==n&&function(){var n=!1,e=plus.ios.import("EKEventStore");return 3==e.authorizationStatusForEntityType(1)?(n=!0,x("log","at js_sdk/wa-permission/permission.js:150","备忘录权限已经开启")):x("log","at js_sdk/wa-permission/permission.js:152","备忘录权限没有开启"),plus.ios.deleteObject(e),n}();var e,t},requestAndroidPermission:function(n){return new Promise(((e,t)=>{plus.android.requestPermissions([n],(function(n){for(var t=0,i=0;i{const x=uni.getSystemInfoSync();if("android"===x.platform){1==await Nh.requestAndroidPermission("android.permission.CAMERA")?n():Ch("请授权相机权限")}else if("ios"===x.platform){await Nh.judgeIosPermission("camera")?n():Ch("请授权相机权限")}},Ch=n=>{uni.showModal({title:"提示",content:n,showCancel:!0,success:n=>{n.confirm&&Nh.gotoAppPermissionSetting()}})},qh=h({__name:"topTip",props:{title:{type:String,default:""},content:{type:String,default:""}},setup(x,{expose:e}){const t=n.ref(!1);return e({open:()=>{t.value=!0},close:()=>{t.value=!1}}),(e,i)=>t.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"top-tip"},[n.createElementVNode("view",{class:"title"},n.toDisplayString(x.title),1),n.createElementVNode("view",{class:"content"},n.toDisplayString(x.content),1)])):n.createCommentVNode("",!0)}},[["__scopeId","data-v-83fb2fb7"]]),Th="/static/default_news_iv.png";let Vh=!1;uni.getSystemInfo({success:n=>{x("log","at utils/platform.js:4","平台"),x("log","at utils/platform.js:5",n),Vh="android"==n.platform}});const Ah=Vh;let Ih="https://dev-wx.igandan.com";const Bh={__name:"live",setup(t){const l=n.ref(!1),a=n.ref(!1),c=n.ref(""),u=n.ref(""),h=n.ref(""),g=n.ref(""),p=n.ref(!1),y=n.ref(!1),f=n.ref(!0),b=n.ref(!0),v=n.ref(1),w=n.ref(10),z=n.ref(0),j=n.ref(null),k=n.ref(null),_=n.ref(""),E=()=>{Ul({url:"/pages_app/meetHistroy/meetHistroy"})};s((()=>{var n;null==(n=j.value)||n.stop()})),o((n=>{n.from&&(_.value=n.from),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"list_page",page_type:"会议直播"}},(n=>{x("log","at pages/live/live.vue:315",n)})),j.value=uni.createRequestPermissionListener(),x("log","at pages/live/live.vue:318","放在onLoad执行"),x("log","at pages/live/live.vue:319",j.value),j.value.onRequest((n=>{var e;x("log","at pages/live/live.vue:321","onRequest"),n.includes("android.permission.CAMERA")&&(null==(e=k.value)||e.open())})).catch((n=>{x("log","at pages/live/live.vue:326","onRequest error"),x("log","at pages/live/live.vue:327",n)})),j.value.onComplete((n=>{var e;x("log","at pages/live/live.vue:330","onComplete"),x("log","at pages/live/live.vue:331",n),n.includes("android.permission.CAMERA")&&(null==(e=k.value)||e.close())})).catch((n=>{x("log","at pages/live/live.vue:336","onComplete error"),x("log","at pages/live/live.vue:337",n)}))}));const N=n.ref([]),S=n=>{x("log","at pages/live/live.vue:391",n);const e=encodeURIComponent(n.path);let t=encodeURIComponent("https://doc.igandan.com/app/html/img/2016/20160714132557.png");uni.navigateTo({url:`/pages_app/webview/webview?url=${e}&sharetitle=${n.title}&bg=1&type=live_yugao&imgPath=${t}&share=1&title=会议详情&tags=${n.tags}`})},C=()=>{_.value&&uni.navigateBack()};r((()=>{if(!_.value){try{uni.sendNativeEvent("goTabbarPage",{msg:"home"},(n=>{x("log","at pages/live/live.vue:415",n)}))}catch(Rw){x("log","at pages/live/live.vue:418",Rw)}return plus.runtime.quit(),!0}}));const q=()=>{Ah?Sh(T):(x("log","at pages/live/live.vue:468","ios执行"),uni.sendNativeEvent("getScanCodeAuth",{msg:"getScanCodeAuth"},(n=>{x("log","at pages/live/live.vue:472","getScanCodeAuth回调数据"),x("log","at pages/live/live.vue:473",n),200==n.code?T():uni.showToast({title:'请在iPhone的"设置-隐私-相机"中允许肝胆相照专家端访问相机',icon:"none"})})))},T=()=>{uni.scanCode({onlyFromCamera:!0,success:n=>{if(x("log","at pages/live/live.vue:489",n),n.result){let e=((n,e)=>{try{if(!e)return x("error","at utils/aesEcb.js:7","Key为空null"),null;const t=kh.enc.Utf8.parse(e),i=kh.enc.Base64.parse(n);return kh.AES.decrypt({ciphertext:i},t,{mode:kh.mode.ECB,padding:kh.pad.Pkcs7}).toString(kh.enc.Utf8)}catch(t){return x("error","at utils/aesEcb.js:32","解密失败:",t),null}})(n.result,"deoep09_klodLdAo");if(x("log","at pages/live/live.vue:492",e),e.indexOf("watchvideoFrom")>-1){(n=>{let e=uni.getStorageSync("userInfo"),t="liveScanSuccess}"+n+"}"+e.uuid+","+e.realName+","+e.photo,i=_h(t,"deoep09_klodLdAo");uni.request({url:Ih+"/watchlive/sendWebsocketMsg",method:"POST",data:{message:i},header:{"Content-Type":"application/x-www-form-urlencoded"},success:e=>{x("log","at pages/live/live.vue:438",e),1==e.data.code?Ul({url:"/pages_app/scanLogin/scanLogin?code="+n}):uni.showToast({title:e.data.message,icon:"none"})}})})(e.split(":")[1])}else uni.showToast({title:"您扫描的不是有效的肝胆相照平台二维码",icon:"none",duration:2e3})}}})},V=n.ref([{code:"",name:"全国"},{code:"北京",name:"北京市"},{code:"天津",name:"天津市"},{code:"河北",name:"河北省"},{code:"山西",name:"山西省"},{code:"内蒙古",name:"内蒙古自治区"},{code:"辽宁",name:"辽宁省"},{code:"吉林",name:"吉林省"},{code:"黑龙江",name:"黑龙江省"},{code:"上海",name:"上海市"},{code:"江苏",name:"江苏省"},{code:"浙江",name:"浙江省"},{code:"安徽",name:"安徽省"},{code:"福建",name:"福建省"},{code:"江西",name:"江西省"},{code:"山东",name:"山东省"},{code:"河南",name:"河南省"},{code:"湖北",name:"湖北省"},{code:"湖南",name:"湖南省"},{code:"广东",name:"广东省"},{code:"广西",name:"广西壮族自治区"},{code:"海南",name:"海南省"},{code:"重庆",name:"重庆市"},{code:"四川",name:"四川省"},{code:"贵州",name:"贵州省"},{code:"云南",name:"云南省"},{code:"西藏",name:"西藏自治区"},{code:"陕西",name:"陕西省"},{code:"甘肃",name:"甘肃省"},{code:"青海",name:"青海省"},{code:"宁夏",name:"宁夏回族自治区"},{code:"新疆",name:"新疆维吾尔自治区"},{code:"台湾",name:"台湾省"},{code:"香港",name:"香港特别行政区"},{code:"澳门",name:"澳门特别行政区"}]),A=()=>{Ul({url:"/pages_app/liveReplay/liveReplay"})},I=n.ref([]),B=n.computed((()=>{if(!I.value||0===I.value.length)return[];const n={};return I.value.forEach((e=>{const t=L(e.begin_date,"YYYY年MM月");n[t]||(n[t]={monthYear:t,items:[]}),n[t].items.push(e),x("log","at pages/live/live.vue:572",n)})),Object.values(n).sort(((n,x)=>{const e=Xl(n.items[0].begin_date),t=Xl(x.items[0].begin_date);return e.isBefore(t)?-1:1}))}));i((()=>{v.value=1,f.value=!0,I.value=[],c.value="",u.value="",h.value="",g.value="",(()=>{const n=[];let e=-1;const t=new Date,i=t.getMonth()+1,l=t.getFullYear();n.push({value:"",label:"所有"});for(let x=i;x<=12;x++){e++;let t="";t=`${x}月`,n.push({value:e,label:t,year:l,month:x})}for(let x=1;x{n&&(v.value=1,f.value=!0,I.value=[]);const e={page:v.value,pageSize:w.value,month:c.value,location:h.value,status:""};try{x("log","at pages/live/live.vue:613","获取会议列表参数:",e);const t=await Fl.meetingListBySearch(e);if(x("log","at pages/live/live.vue:615","会议列表API响应:",t),t&&1==t.code&&t.data){const{list:e,totalPage:i,pageNumber:l,totalRow:o}=t.data;if(x("log","at pages/live/live.vue:620","解析后的数据:",{list:e,totalPage:i,pageNumber:l,totalRow:o}),Array.isArray(e)&&e.length>0){const t=e.map((n=>{const x=Xl(n.begin_date).format("DD"),e=O(n.status),t=L(n.begin_date,"YYYY.MM.DD");return{id:n.id,begin_date:x,tagColor:e,title:n.title,liveimg:n.liveimg,poster:n.liveimg,time:t,location:n.location||"线上",tags:n.tags||"",status:P(n.status),originalData:n,begin_date_timestamp:n.begin_date_timestamp,end_date_timestamp:n.end_date_timestamp,begin_date:n.begin_date,end_date:n.end_date,liveurl:n.liveurl,spareurl:n.spareurl,path:n.path,status_code:n.status}}));n?I.value=t:I.value.push(...t),f.value=i>l,b.value=o>0,x("log","at pages/live/live.vue:669","会议列表更新成功,当前总数:",I.value.length),x("log","at pages/live/live.vue:670","分页信息:",{currentPage:v.value,totalPage:i,pageNumber:l,totalRow:o,hasMore:f.value})}else x("log","at pages/live/live.vue:678","API返回的数据为空"),n&&(I.value=[])}else x("log","at pages/live/live.vue:684","API响应格式不正确:",t),n&&(I.value=[])}catch(t){x("error","at pages/live/live.vue:690","获取会议列表失败:",t),n&&(I.value=[]),uni.showToast({title:"获取会议列表失败",icon:"error",duration:2e3})}},M=async(n=!1)=>{n&&(v.value=1,f.value=!0,I.value=[]);const e={page:v.value,pageSize:w.value,month:c.value,location:h.value};try{x("log","at pages/live/live.vue:717","获取会议列表参数:",e);const t=await Fl.meetingListV2U(e);if(x("log","at pages/live/live.vue:719","会议列表API响应:",t),t&&200===t.code&&t.data){const{list:e,total:i,pageNum:l,pages:o,isLastPage:a}=t.data;if(x("log","at pages/live/live.vue:724","解析后的数据:",{list:e,total:i,pageNum:l,pages:o,isLastPage:a}),Array.isArray(e)&&e.length>0){const t=e.map((n=>{const x=Xl(n.begin_date).format("DD"),e=O(n.status),t=L(n.begin_date,"YYYY.MM.DD");return{id:n.id,begin_date:x,tagColor:e,title:n.title,liveimg:n.liveimg,poster:n.liveimg,time:t,location:n.location||"线上",status:P(n.status),originalData:n,begin_date_timestamp:n.begin_date_timestamp,end_date_timestamp:n.end_date_timestamp,begin_date:n.begin_date,end_date:n.end_date,liveurl:n.liveurl,spareurl:n.spareurl,path:n.path,tags:n.tags||"",status_code:n.status}}));n?I.value=t:I.value.push(...t),f.value=!a,b.value=i>0,x("log","at pages/live/live.vue:773","会议列表更新成功,当前总数:",I.value.length),x("log","at pages/live/live.vue:774","分页信息:",{currentPage:v.value,total:i,pages:o,hasMore:f.value})}else x("log","at pages/live/live.vue:781","API返回的数据为空"),n&&(I.value=[])}else x("log","at pages/live/live.vue:787","API响应格式不正确:",t),n&&(I.value=[])}catch(t){x("error","at pages/live/live.vue:793","获取会议列表失败:",t),n&&(I.value=[]),uni.showToast({title:"获取会议列表失败",icon:"error",duration:2e3})}},O=n=>({1:"#FF4444",2:"#00BCD4",3:"#9C27B0",4:"#4CAF50",5:"#FF9800"}[n]||"#FF4444"),R=n=>{const x=["#f94438","#ffb93f","#4ecdc4","#92d758"];return x[n%x.length]},P=n=>({1:"预告",2:"直播中",3:"已结束",4:"回放中"}[n]||"预告"),L=(n,e="YYYY-MM")=>{if(!n)return"";try{const t=Xl(n);if(!t.isValid())return x("error","at pages/live/live.vue:854","无效的日期:",n),"";switch(e){case"YYYY-MM":return t.format("YYYY-MM");case"YYYY-MM-DD":return t.format("YYYY-MM-DD");case"YYYY-MM-DD HH:mm":return t.format("YYYY-MM-DD HH:mm");case"YYYY-MM-DD HH:mm:ss":return t.format("YYYY-MM-DD HH:mm:ss");case"YYYY年MM月":return t.format("YYYY年MM月");case"YYYY年MM月DD日":return t.format("YYYY年MM月DD日");case"MM月":return t.format("MM月");case"MM月DD日":return t.format("MM月DD日");case"YYYY.MM.DD":return t.format("YYYY.MM.DD");case"MM-DD":return t.format("MM-DD");case"MM/DD":return t.format("MM/DD");case"YYYY/MM/DD":return t.format("YYYY/MM/DD");default:return t.format(e)}}catch(t){return x("error","at pages/live/live.vue:888","日期格式化失败:",t),""}},F=()=>{l.value=!l.value},U=()=>{l.value=!1},$=()=>{a.value=!a.value},H=()=>{a.value=!1},Y=()=>{p.value=!0,v.value=1,f.value=!0,c.value||h.value?D(!0).finally((()=>{p.value=!1,uni.showToast({title:"刷新成功",icon:"none",duration:1500})})):M(!0).finally((()=>{setTimeout((()=>{p.value=!1,uni.showToast({title:"刷新成功",icon:"none",duration:1500})}),500)}))},G=()=>{x("log","at pages/live/live.vue:1044","上拉加载更多"),!y.value&&f.value&&(y.value=!0,v.value++,c.value||h.value?D(!1).finally((()=>{y.value=!1})):M(!1).finally((()=>{y.value=!1})))};return(t,i)=>{const o=e(n.resolveDynamicComponent("uni-nav-bar"),m),s=e(n.resolveDynamicComponent("up-image"),Jn),r=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(o,{title:"肝胆会议","left-icon":_.value?"left":"",onClickLeft:C,color:"#8B2316",border:!1,backgroundColor:"#eee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-right"},[n.createElementVNode("view",{class:"scan-btn",onClick:q}," 扫一扫 ")])])),_:1},8,["left-icon"])]),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"filter-bar"},[n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:u.value}]),onClick:F},[n.createElementVNode("text",null,n.toDisplayString(u.value?u.value:"会议时间"),1),n.createVNode(s,{src:u.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:g.value}]),onClick:$},[n.createElementVNode("text",null,n.toDisplayString(g.value?g.value:"会议地点"),1),n.createVNode(s,{src:g.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:"filter-item",onClick:A},[n.createElementVNode("text",null,"会议回放")])]),n.createElementVNode("scroll-view",{ref:"scrollView",class:n.normalizeClass(["scroll-content",{active:_.value}]),"scroll-y":"true","refresher-enabled":"true","refresher-triggered":p.value,"refresher-threshold":100,onRefresherrefresh:Y,onScrolltolower:G,"lower-threshold":100,"scroll-top":z.value,"enable-back-to-top":!0},[I.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(B.value,((e,t)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:t},[n.createElementVNode("view",{class:"time-header"},n.toDisplayString(e.monthYear),1),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.items,((e,t)=>{return n.openBlock(),n.createElementBlock("view",{class:"meetcell",key:e.id||t},[n.createElementVNode("view",{class:"meeting-item"},[n.createElementVNode("view",{class:"date-tag",style:n.normalizeStyle({backgroundColor:R(t)})},[n.createElementVNode("text",{class:"date-text",style:n.normalizeStyle({color:R(t)})},n.toDisplayString((l=e.begin_date,l?L(l,"DD"):"")),5)],4),n.createElementVNode("view",{class:"meeting-content"},[n.createElementVNode("view",{class:"meeting-title",onClick:n=>S(e)},n.toDisplayString(e.title),9,["onClick"]),e.liveimg&&0!=e.status_code?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-poster",onClick:n.withModifiers((n=>(n=>{if(1==n.status_code||2==n.status_code||4==n.status_code){let e=Ih+"/hcp/setInfo",t=uni.getStorageSync("userInfo"),i=t.uuid+t.realName+t.photo+n.liveurl,l=_h(i,"deoep09_klodLdAo"),o=e+"?id="+t.uuid+"&name="+t.realName+"&avatar="+t.photo+"&sign="+l+"&url="+n.liveurl;x("log","at pages/live/live.vue:964",o);const a=encodeURIComponent(o);let s=encodeURIComponent($l+n.liveimg);uni.navigateTo({url:`/pages_app/webview/webview?url=${a}&sharetitle=${n.title}&bg=1&type=live&imgPath=${s}&share=1&title=会议直播&tags=${n.tags}`})}else S(n)})(e)),["stop"])},[n.createVNode(s,{src:n.unref($l)+e.liveimg,class:"poster-image",mode:"aspectFill",loadingIcon:n.unref(Th),errorIcon:n.unref(Th),"lazy-load":!0,width:"100%",height:"320rpx","data-item-id":e.id},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(Th),class:"poster-image",mode:"aspectFill"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon","data-item-id"]),1==e.status_code||2==e.status_code||4==e.status_code?(n.openBlock(),n.createElementBlock("view",{key:0,class:"play-btn"},[n.createVNode(s,{src:n.unref(Lc),width:"108rpx",height:"108rpx"},null,8,["src"])])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:n.normalizeClass(["status-tag",(i=e.status_code,{1:"status-preview",2:"status-live",3:"status-ended",4:"status-completed",5:"status-cancelled"}[i]||"status-preview")])},n.toDisplayString(e.status),3)],8,["onClick"])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"meeting-info"},[n.createElementVNode("view",{class:"info-item"},[n.createElementVNode("view",{class:"timebox"},[n.createVNode(s,{src:n.unref(Fc),width:"24rpx",height:"24rpx"},null,8,["src"])]),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(L(e.begin_date,"YYYY.MM.DD")),1),L(e.end_date,"YYYY.MM.DD")!=L(e.begin_date,"YYYY.MM.DD")?(n.openBlock(),n.createElementBlock("text",{key:0,class:"info-text"},n.toDisplayString("-"+L(e.end_date,"YYYY.MM.DD")),1)):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"info-item"},[n.createVNode(r,{type:"location",size:"14",color:"#999"}),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(e.location),1)])])])])]);var i,l})),128))],64)))),128))])):p.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)])),b.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more"},[y.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more-content"},[n.createVNode(r,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",{class:"load-more-text"},"加载中...")])):f.value&&I.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:1,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"上拉加载更多")])):I.value.length>0&&!y.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"没有更多数据了")])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],42,["refresher-triggered","scroll-top"]),l.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"time-popup",onClick:U},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[0]||(i[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(N.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:c.value===e.value}]),key:t,onClick:n=>(n=>{c.value=n.value,u.value=n.label,x("log","at pages/live/live.vue:924","选择月份:",n.label),D(!0),U()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.label),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),a.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"location-popup",onClick:H},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"popup-content",onClick:i[1]||(i[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"location-grid"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(V.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["location-item",{active:h.value===e.code}]),key:t,onClick:n=>(n=>{h.value=n.code,g.value=n.name,x("log","at pages/live/live.vue:944","选择省份:",n.name),D(!0),H()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.name),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"history-tip",onClick:E},[n.createVNode(s,{src:n.unref("/static/meetHis.png"),width:"161rpx",height:"84rpx"},null,8,["src"])]),_.value?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(Ox,{key:2})),n.createVNode(qh,{ref_key:"topTipRef",ref:k,title:"相机权限使用说明",content:"“肝胆相照”想使用您的相机和访问您的媒体,用于帮助您进行后续的扫码活动"},null,512)])],64)}}},Dh=h(Bh,[["__scopeId","data-v-328e1ae4"]]),Mh=h({__name:"meeting",setup(t){const l=n.ref(!1),o=n.ref(!1),a=n.ref("all"),s=n.ref(""),r=n.ref(!1),c=n.ref(!1),u=n.ref(!0),h=n.ref(!0),g=n.ref(1);n.ref(10);const p=n.ref(0),m=n.ref([]),f=n.ref([{code:"全国",name:"全国"},{code:"北京市",name:"北京市"},{code:"天津市",name:"天津市"},{code:"河北省",name:"河北省"},{code:"山西省",name:"山西省"},{code:"内蒙古自治区",name:"内蒙古自治区"},{code:"辽宁省",name:"辽宁省"},{code:"吉林省",name:"吉林省"},{code:"黑龙江省",name:"黑龙江省"},{code:"上海市",name:"上海市"},{code:"江苏省",name:"江苏省"},{code:"浙江省",name:"浙江省"},{code:"安徽省",name:"安徽省"},{code:"福建省",name:"福建省"},{code:"江西省",name:"江西省"},{code:"山东省",name:"山东省"},{code:"河南省",name:"河南省"},{code:"湖北省",name:"湖北省"},{code:"湖南省",name:"湖南省"},{code:"广东省",name:"广东省"},{code:"广西壮族自治区",name:"广西壮族自治区"},{code:"海南省",name:"海南省"},{code:"重庆市",name:"重庆市"},{code:"四川省",name:"四川省"},{code:"贵州省",name:"贵州省"},{code:"云南省",name:"云南省"},{code:"西藏自治区",name:"西藏自治区"},{code:"陕西省",name:"陕西省"},{code:"甘肃省",name:"甘肃省"},{code:"青海省",name:"青海省"},{code:"宁夏回族自治区",name:"宁夏回族自治区"},{code:"新疆维吾尔自治区",name:"新疆维吾尔自治区"},{code:"台湾省",name:"台湾省"},{code:"香港特别行政区",name:"香港特别行政区"},{code:"澳门特别行政区",name:"澳门特别行政区"}]),b=n.ref([{date:"13",tagColor:"#FF4444",title:'"天山论·见"—疑难危重病患维训练营',poster:"/static/meeting-poster-1.jpg",time:"2025.08.13",location:"线上"},{date:"13",tagColor:"#FFA500",title:"护肝新声大咖谈",poster:"/static/meeting-poster-2.jpg",time:"2025.08.13",location:"线上"},{date:"15",tagColor:"#00BCD4",title:"小罐医生讲HIV和感染|专题二:抗菌药物-抗真菌药物特性解读",poster:"/static/meeting-poster-3.jpg",time:"2025.08.15",location:"线上"}]),v=()=>{l.value=!l.value},w=()=>{l.value=!1},z=()=>{o.value=!o.value},j=()=>{o.value=!1},k=()=>{r.value=!0,g.value=1,u.value=!0;const n={};n.month="all"===a.value?"":a.value,n.location="全国"===s.value?"":s.value,C(n).then((()=>{uni.showToast({title:"刷新成功",icon:"none",duration:1500})}))},_=()=>{if(x("log","at pages/meeting/meeting.vue:419","上拉加载"),c.value||!u.value)return;c.value=!0,g.value++;const e={};e.month="all"===a.value?"":a.value,e.location="全国"===s.value?"":s.value,C(e).then((()=>{n.nextTick((()=>{x("log","at pages/meeting/meeting.vue:438","数据加载完成,列表长度:",b.value.length)}))}))},E=(n,x)=>{const e=new Date,t=new Date(x);if(3===n)return"#999999";if(2===n)return"#FF4444";const i=Math.ceil((t-e)/864e5);if(i<=7&&i>0)return"#FF9800";const l=["#FF4444","#FFA500","#00BCD4","#9C27B0","#4CAF50","#FF9800"];return l[Math.floor(Math.random()*l.length)]},N=n=>{switch(n){case 1:default:return"预告";case 2:return"直播中";case 3:return"已结束"}},S=n=>{switch(n){case 1:default:return"status-preview";case 2:return"status-live";case 3:return"status-ended"}},C=async(n={})=>{try{const e={page:g.value,...n};x("log","at pages/meeting/meeting.vue:685","搜索筛选参数:",e);const t=await Fl.meetingListBySearchU(e);if(x("log","at pages/meeting/meeting.vue:688","搜索筛选API原始响应:",t),200===t.code&&t.data){const{list:n,total:e,pageNum:i,pages:l,isLastPage:o}=t.data,a=n.map((n=>{const x=new Date(n.begin_date),e=x.getDate().toString().padStart(2,"0"),t=x.getMonth()+1,i=x.getFullYear(),l=E(n.status,x),o=`${i}.${t.toString().padStart(2,"0")}.${e}`;return{id:n.id,date:e,tagColor:l,title:n.title,poster:$l+n.liveimg||"/static/meeting-poster-default.jpg",time:o,location:n.location||"线上",originalData:n,beginDate:n.begin_date,endDate:n.end_date,liveUrl:n.liveurl,spareUrl:n.spareurl,status:n.status,path:n.path}}));return 1===g.value?b.value=a:b.value.push(...a),u.value=!o,h.value=e>0,x("log","at pages/meeting/meeting.vue:738","搜索筛选后的会议列表:",b.value),x("log","at pages/meeting/meeting.vue:739","分页信息:",{currentPage:g.value,total:e,pages:l,hasMore:u.value}),t}x("error","at pages/meeting/meeting.vue:744","搜索筛选API返回错误:",t.msg||"未知错误"),uni.showToast({title:t.msg||"获取会议列表失败",icon:"error",duration:2e3})}catch(e){x("error","at pages/meeting/meeting.vue:752","搜索筛选会议列表失败:",e),uni.showToast({title:"网络请求失败",icon:"error",duration:2e3})}finally{c.value=!1,r.value=!1}};return i((()=>{(()=>{const n=[],e=new Date,t=e.getMonth()+1,i=e.getFullYear();n.push({value:"all",label:"所有"});for(let x=t;x<=12;x++){let e="";e=x===t?`${x}月(本月)`:x===t+1?`${x}月(下月)`:`${x}月`,n.push({value:x.toString(),label:e,year:i,month:x})}for(let x=1;x{try{const n=await Fl.meetingListV2U({page:g.value});if(x("log","at pages/meeting/meeting.vue:448","会议列表API原始响应:",n),200===n.code&&n.data){const{list:e,total:t,pageNum:i,pages:l,isLastPage:o}=n.data,a=e.map((n=>{const x=new Date(n.begin_date),e=x.getDate().toString().padStart(2,"0"),t=(x.getMonth()+1).toString().padStart(2,"0"),i=x.getFullYear(),l=E(n.status,x),o=`${i}.${t}.${e}`;return{id:n.id,date:e,tagColor:l,title:n.title,poster:$l+n.liveimg||"/static/meeting-poster-default.jpg",time:o,location:n.location||"线上",originalData:n,beginDate:n.begin_date,endDate:n.end_date,liveUrl:n.liveurl,spareUrl:n.spareurl,status:n.status,path:n.path}}));1===g.value?b.value=a:b.value.push(...a),u.value=!o,h.value=t>0,x("log","at pages/meeting/meeting.vue:498","处理后的会议列表:",b.value),x("log","at pages/meeting/meeting.vue:499","分页信息:",{currentPage:g.value,total:t,pages:l,hasMore:u.value})}else x("error","at pages/meeting/meeting.vue:502","API返回错误:",n.msg||"未知错误"),uni.showToast({title:n.msg||"获取会议列表失败",icon:"error",duration:2e3})}catch(n){x("error","at pages/meeting/meeting.vue:510","获取会议列表失败:",n),uni.showToast({title:"网络请求失败",icon:"error",duration:2e3})}finally{c.value=!1,r.value=!1}})()})),(t,i)=>{const E=e(n.resolveDynamicComponent("up-image"),Jn),q=e(n.resolveDynamicComponent("uni-icons"),d),T=e(n.resolveDynamicComponent("up-icon"),Un);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{title:"肝胆会议"}),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"filter-bar"},[n.createElementVNode("view",{class:"filter-item active",onClick:v},[n.createElementVNode("text",null,"会议时间"),n.createVNode(E,{src:n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:"filter-item",onClick:z},[n.createElementVNode("text",null,"会议地点"),n.createVNode(E,{src:n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:"filter-item"},[n.createElementVNode("text",null,"会议回放")])]),n.createElementVNode("scroll-view",{ref:"scrollView",class:"scroll-content","scroll-y":"true","refresher-enabled":"true","refresher-triggered":r.value,"refresher-threshold":100,onRefresherrefresh:k,onScrolltolower:_,"lower-threshold":100,"scroll-top":p.value,"enable-back-to-top":!0},[n.createElementVNode("view",{class:"time-header"},"2025年08月"),n.createElementVNode("view",{class:"meeting-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(b.value,((e,t)=>{return n.openBlock(),n.createElementBlock("view",{class:"meeting-item",key:t},[n.createElementVNode("view",{class:"date-tag",style:n.normalizeStyle({backgroundColor:e.tagColor})},[n.createElementVNode("text",{class:"date-text"},n.toDisplayString(e.date),1)],4),n.createElementVNode("view",{class:"meeting-content"},[n.createElementVNode("view",{class:"meeting-title"},n.toDisplayString(e.title),1),n.createElementVNode("view",{class:"meeting-poster",onClick:n=>(n=>{x("log","at pages/meeting/meeting.vue:355","播放视频:",n.title,n),3!==n.status?n.liveUrl?n.liveUrl.includes("zhibo.igandan.com")?uni.navigateTo({url:`/pages/webview/webview?url=${encodeURIComponent(n.liveUrl)}&title=${encodeURIComponent(n.title)}`}):uni.showToast({title:"直播链接无效",icon:"error",duration:2e3}):uni.showToast({title:"暂无直播链接",icon:"error",duration:2e3}):n.path&&uni.navigateTo({url:`/pages/webview/webview?url=${encodeURIComponent(n.path)}&title=${encodeURIComponent(n.title)}`})})(e)},[n.createElementVNode("image",{src:(i=e.poster,i?i.startsWith("http://")||i.startsWith("https://")?i:`https://dev-wx.igandan.com/${i}`:"/static/meeting-poster-default.jpg"),class:"poster-image",mode:"aspectFill"},null,8,["src"]),3!==e.status?(n.openBlock(),n.createElementBlock("view",{key:0,class:"play-btn"},[n.createVNode(E,{src:n.unref(Lc),width:"108rpx",height:"108rpx"},null,8,["src"])])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:n.normalizeClass(["status-tag",S(e.status)])},n.toDisplayString(N(e.status)),3)],8,["onClick"]),n.createElementVNode("view",{class:"meeting-info"},[n.createElementVNode("view",{class:"info-item"},[n.createElementVNode("view",{class:"timebox"},[n.createVNode(E,{src:n.unref(Fc),width:"24rpx",height:"24rpx"},null,8,["src"])]),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(e.time),1)]),n.createElementVNode("view",{class:"info-item"},[n.createVNode(q,{type:"location",size:"14",color:"#999"}),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(e.location),1)])])])]);var i})),128))]),h.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more"},[c.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more-content"},[n.createVNode(q,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",{class:"load-more-text"},"加载中...")])):u.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"上拉加载更多")])):(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"没有更多数据了")]))])):n.createCommentVNode("",!0)],40,["refresher-triggered","scroll-top"]),l.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"time-popup",onClick:w},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[0]||(i[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(m.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:a.value===e.value}]),key:t,onClick:n=>(n=>{a.value=n.value,x("log","at pages/meeting/meeting.vue:292","选择月份:",n.label,n),g.value=1;const e={};e.month="all"===n.value?"":n.value,s.value&&"全国"!==s.value?e.location=s.value:e.location="",C(e),w()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.label),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),o.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"location-popup",onClick:j},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"popup-content",onClick:i[1]||(i[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"location-grid"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(f.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["location-item",{active:s.value===e.code}]),key:t,onClick:n=>(n=>{s.value=n.code,x("log","at pages/meeting/meeting.vue:329","选择省份:",n.name),g.value=1;const e={};a.value&&"all"!==a.value?e.month=a.value:e.month="",e.location="全国"===n.code?"":n.code,C(e),j()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.name),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"history-tip"},[n.createElementVNode("view",{class:"tip-icon"},[n.createVNode(T,{name:"clock",color:"#00cbc0",size:"28"})]),n.createElementVNode("text",{class:"tip-text"},"过往会议")]),n.createVNode(Ox)])],64)}}},[["__scopeId","data-v-6b429177"]]),Oh=h({__name:"education",setup(t){const l=n=>{switch(n){case"course":uni.sendNativeEvent("goCourse",{msg:"course"});break;case"video":Ul({url:"/pages_app/video/video?from=education"});break;case"ppt":Ul({url:"/pages_app/ppt/ppt"});break;default:uni.showToast({title:"功能开发中",icon:"none"})}};return i((()=>{x("log","at pages/education/education.vue:138","继续教育页面显示")})),(x,t)=>{const i=e(n.resolveDynamicComponent("up-image"),Jn),o=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{title:"继续教育"}),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"course-list"},[n.createElementVNode("view",{class:"course-item",onClick:t[0]||(t[0]=n=>l("course"))},[n.createVNode(i,{src:n.unref("/static/jingpinkecheng.png"),width:"94rpx",height:"94rpx"},null,8,["src"]),n.createElementVNode("view",{class:"course-content"},[n.createElementVNode("view",{class:"course-title"},"肝胆精品课"),n.createElementVNode("view",{class:"course-subtitle"},"肝胆精品课,筑梦·医路成长")]),n.createElementVNode("view",{class:"course-arrow"},[n.createVNode(o,{type:"forward",size:"16",color:"#ccc"})])]),n.createElementVNode("view",{class:"course-item",onClick:t[1]||(t[1]=n=>l("video"))},[n.createVNode(i,{src:n.unref("/static/gandanshipin.png"),width:"94rpx",height:"94rpx"},null,8,["src"]),n.createElementVNode("view",{class:"course-content"},[n.createElementVNode("view",{class:"course-title"},"肝胆视频"),n.createElementVNode("view",{class:"course-subtitle"},"数千集精彩报告等您来看")]),n.createElementVNode("view",{class:"course-arrow"},[n.createVNode(o,{type:"forward",size:"16",color:"#ccc"})])]),n.createElementVNode("view",{class:"course-item",onClick:t[2]||(t[2]=n=>l("ppt"))},[n.createVNode(i,{src:n.unref("/static/gandankejian.png"),width:"94rpx",height:"94rpx"},null,8,["src"]),n.createElementVNode("view",{class:"course-content"},[n.createElementVNode("view",{class:"course-title"},"肝胆课件"),n.createElementVNode("view",{class:"course-subtitle"},"国内专业优质肝胆课件共享平台")]),n.createElementVNode("view",{class:"course-arrow"},[n.createVNode(o,{type:"forward",size:"16",color:"#ccc"})])])])]),n.createVNode(Ox)],64)}}},[["__scopeId","data-v-21f30e6b"]]),Rh={props:{indicatorWidth:{type:[String,Number],default:()=>An.scrollList.indicatorWidth},indicatorBarWidth:{type:[String,Number],default:()=>An.scrollList.indicatorBarWidth},indicator:{type:Boolean,default:()=>An.scrollList.indicator},indicatorColor:{type:String,default:()=>An.scrollList.indicatorColor},indicatorActiveColor:{type:String,default:()=>An.scrollList.indicatorActiveColor},indicatorStyle:{type:[String,Object],default:()=>An.scrollList.indicatorStyle}}},Ph=n=>{(n.$wxs||(n.$wxs=[])).push("wxs"),(n.$wxsModules||(n.$wxsModules={})).wxs="7f9de7cc"},Lh={name:"u-scroll-list",mixins:[Dn,On,Rh],data:()=>({scrollInfo:{scrollLeft:0,scrollWidth:0},scrollWidth:0}),computed:{barStyle(){const n={};return n.width=an(this.indicatorBarWidth),n.backgroundColor=this.indicatorActiveColor,n},lineStyle(){const n={};return n.width=an(this.indicatorWidth),n.backgroundColor=this.indicatorColor,n}},mounted(){this.init()},emits:["left","right"],methods:{addStyle:on,getPx:Q,init(){this.getComponentWidth()},scrollEvent(n){this.$emit(n)},async getComponentWidth(){await J(30),this.$uGetRect(".u-scroll-list").then((n=>{this.scrollWidth=n.width}))}}};Ph(Lh);const Fh=h(Lh,[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:"u-scroll-list",ref:"u-scroll-list"},[n.createElementVNode("scroll-view",{class:"u-scroll-list__scroll-view scroll-view-native","scroll-x":"","enable-flex":"",onScroll:e[0]||(e[0]=(...n)=>x.wxs.scroll&&x.wxs.scroll(...n)),onScrolltoupper:e[1]||(e[1]=(...n)=>x.wxs.scrolltoupper&&x.wxs.scrolltoupper(...n)),onScrolltolower:e[2]||(e[2]=(...n)=>x.wxs.scrolltolower&&x.wxs.scrolltolower(...n)),"data-scrollWidth":l.scrollWidth,"data-barWidth":o.getPx(x.indicatorBarWidth),"data-indicatorWidth":o.getPx(x.indicatorWidth),"show-scrollbar":!1,"upper-threshold":0,"lower-threshold":0},[n.createElementVNode("view",{class:"u-scroll-list__scroll-view__content"},[n.renderSlot(x.$slots,"default",{},void 0,!0)])],40,["data-scrollWidth","data-barWidth","data-indicatorWidth"]),x.indicator?(n.openBlock(),n.createElementBlock("view",{key:0,class:"u-scroll-list__indicator",style:n.normalizeStyle([o.addStyle(x.indicatorStyle)])},[n.createElementVNode("view",{class:"u-scroll-list__indicator__line",style:n.normalizeStyle([o.lineStyle])},[n.createElementVNode("view",{class:"u-scroll-list__indicator__line__bar",style:n.normalizeStyle([o.barStyle]),ref:"u-scroll-list__indicator__line__bar"},null,4)],4)],4)):n.createCommentVNode("",!0)],512)}],["__scopeId","data-v-1a505ace"]]),Uh=Object.freeze(Object.defineProperty({__proto__:null,default:Fh},Symbol.toStringTag,{value:"Module"})),$h="/static/wdxz.png",Hh={__name:"my",setup(t){const l=n.ref(!1);n.ref(!1);const o=n.ref(!1),a=n.ref(!1),s=n.reactive({news:{summary:""}}),r=n.ref(""),c=n.ref(""),u=n.ref(0),h=n.ref(0),g=n.ref(0),p=n.ref(""),m=n.ref(0),f=n.ref(0),b=n.ref([]),v=n.ref(0),w=n.ref(!1),z=n.ref(!1),j=n.ref(!1),k=()=>{let n=$l+s.news.path;plus.runtime.openURL(n)},_=async()=>{try{const n=await Fl.addBonusPointsN({score_type:1});n&&1==n.code?(f.value=1,uni.showToast({title:"签到成功,获得"+n.bonuspoints+"积分",icon:"none"}),Object.assign(s,n)):uni.showToast({title:(null==n?void 0:n.msg)||"签到失败",icon:"none"})}catch(n){x("error","at pages/my/my.vue:412","签到失败:",n),uni.showToast({title:"签到失败,请重试",icon:"none"})}},E=(n,x=1)=>{if(null==n||""===n||isNaN(Number(n)))return n;const e=Number(n),t=e<0?"-":"",i=Math.abs(e);if(i<1e4)return t+String(i);if(i<1e8){const n=(i/1e4).toFixed(x);return t+(n.indexOf(".")>-1?n.replace(/\.0+$/,"").replace(/(\.\d*?)0+$/,"$1"):n)+"万"}const l=(i/1e8).toFixed(x);return t+(l.indexOf(".")>-1?l.replace(/\.0+$/,"").replace(/(\.\d*?)0+$/,"$1"):l)+"亿"},N=n=>{x("log","at pages/my/my.vue:464","跳转到页面:",n);let e="";switch(n){case"patientAudit":e="/pages_app/myPatient/myPatient";break;case"patientGroup":e="/pages_app/patientGroup/patientGroup";break;case"groupMessage":e="/pages_chat/groupMessage/groupMessage";break;case"qrcode":e="/pages_app/myCode/myCode";break;case"myInfo":e="/pages_app/personInfo/personInfo";break;case"plan":e="/pages_chat/outPatient/outPatient";break;case"myVideos":e="/pages_app/myVideo/myVideo";break;case"myCourses":e="/pages_course/my_courses/my_courses";break;case"myDownloads":e="/pages_app/myDownLoad/myDownLoad";break;case"myFavorites":e="/pages_app/myCollect/myCollect";break;case"myAccount":e="/pages_app/myAccount/myAccount";break;case"myPoints":e="/pages_app/myPoint/myPoint";break;case"pointMall":e="/pages_goods/pointMall/pointMall";break;case"myBenefits":e="/pages_app/myWelfare/myWelfare";break;case"myFlower":e="/pages_app/myFlower/myFlower";break;case"pptDetail":e="/pages_app/myCourseware/myCourseware";break;case"couseDetail":e="/pages_course/order_record/order_record";break;case"wechatUnbind":e="/pages_app/wechatContact/wechatContact";break;case"changePhone":e="/pages_app/changeMobile/changeMobile";break;case"benefitExchange":e="/pages_app/myWelfareCard/myWelfareCard?from=my";break;case"bankCard":e="/pages_app/idcardAuth/bankCardList";break;case"settings":e="/pages_app/setting/setting";break;default:const n=uni.getStorageSync("push_clientid");uni.showToast({title:"push_clientid: "+n,icon:"none"})}Ul({url:e})},S=()=>{if("Android"==plus.os.name){var n=plus.android.runtimeMainActivity(),x=plus.android.importClass("android.support.v4.app.NotificationManagerCompat");null==x&&(x=plus.android.importClass("androidx.core.app.NotificationManagerCompat"));var e=x.from(n).areNotificationsEnabled();return w.value=e,e}if("iOS"==plus.os.name){var t,i=0,l=plus.ios.invoke("UIApplication","sharedApplication"),o=plus.ios.invoke(l,"currentUserNotificationSettings");return o?(i=o.plusGetAttribute("types"),plus.ios.deleteObject(o)):i=plus.ios.invoke(l,"enabledRemoteNotificationTypes"),plus.ios.deleteObject(l),t=0!=i,w.value=t,t}},C=()=>{const n=uni.getStorageSync("push_clientid");let x=S()?"通知权限关闭提醒":"通知权限开启提醒",e=S()?"通知权限已开启,是否前往设置关闭?"+n:"您还没有开启通知权限,无法接受到消息通知,是否前往设置?"+n;uni.showModal({title:x,content:e,showCancel:!0,confirmColor:"#ff903f",success:n=>{var x,e;n.confirm&&("Android"==plus.os.name?(()=>{var n=plus.android.runtimeMainActivity(),x=n.getPackageName(),e=n.getApplicationInfo().plusGetAttribute("uid"),t=plus.android.importClass("android.content.Intent"),i=plus.android.importClass("android.os.Build");if(i.VERSION.SDK_INT>=26)(l=new t("android.settings.APP_NOTIFICATION_SETTINGS")).putExtra("android.provider.extra.APP_PACKAGE",x);else if(i.VERSION.SDK_INT>=21){var l;(l=new t("android.settings.APP_NOTIFICATION_SETTINGS")).putExtra("app_package",x),l.putExtra("app_uid",e)}else{l.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);var o=Uri.fromParts("package",mainActivity.getPackageName(),null);l.setData(o)}n.startActivity(l)})():"iOS"==plus.os.name&&(x=plus.ios.invoke("UIApplication","sharedApplication"),e=plus.ios.invoke("NSURL","URLWithString:","app-settings:"),plus.ios.invoke(x,"openURL:",e),plus.ios.deleteObject(e),plus.ios.deleteObject(x)))}})},q=()=>{x("log","at pages/my/my.vue:672","显示年度总结"),uni.showToast({title:"年度总结功能开发中",icon:"none"})},T=()=>{uni.showModal({title:"版本信息",content:"当前版本:V4.2.7",showCancel:!1})},V=n.ref({}),A=n=>{let x="";switch(n){case"followup":x="/pages_app/patientMsg/patientMsg";break;case"consult":x="/pages_app/consult/consult";break;case"flower":x="/pages_app/myFlower/myFlower"}Ul({url:x})},I=n.ref(!1),B=n.ref(!1);return i((()=>{x("log","at pages/my/my.vue:730","我的页面显示"),(()=>{try{const n=uni.getStorageSync("userInfo");n&&(r.value=$l+n.photo,c.value=n.realName)}catch(Rw){x("error","at pages/my/my.vue:384","从storage获取用户信息失败",Rw)}})(),(async()=>{try{const n=await Fl.getMyInfo({});if(n&&200===n.code&&n.data){const x=n.data;p.value=x.myInfoBackGround,u.value=x.expert_apply_num||0,h.value=x.consult_total_num||0,g.value=x.ping_flowewr_num||0,m.value=x.total_points||0,f.value=x.sign_in||0,b.value=x.honor_list||[],v.value=x.ranking||0}}catch(Rw){x("error","at pages/my/my.vue:435","获取我的信息失败",Rw)}})(),(async()=>{const n=await Sc.isBoundWechat();x("log","at pages/my/my.vue:722",n),200===n.code&&n.data&&(I.value=n.data)})(),S(),Fl.checkVersion().then((n=>{80002==n.code&&(z.value=!0)})),Fl.getIsAccount().then((n=>{1==n.code&&(j.value=0!=n.is_account)}));let n=uni.getSystemInfoSync();x("log","at pages/my/my.vue:738",n),"ios"==n.osName?B.value=!0:B.value=!1})),(x,t)=>{const i=e(n.resolveDynamicComponent("up-image"),Jn),S=e(n.resolveDynamicComponent("up-scroll-list"),Fh),D=e(n.resolveDynamicComponent("uni-icons"),d),M=e(n.resolveDynamicComponent("up-overlay"),Ax);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{title:"我的",showLeft:!1}),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"user-card",style:n.normalizeStyle({"background-image":`url(${p.value||"/static/big_background_my.png"})`,"background-size":"cover","background-repeat":"no-repeat"})},[n.createElementVNode("view",{class:"user-info"},[n.createElementVNode("image",{class:"avatar",src:r.value,mode:"aspectFill",onClick:t[0]||(t[0]=n=>N("myInfo"))},null,8,["src"]),n.createElementVNode("view",{class:"user-info-content"},[n.createElementVNode("text",{class:"username"},n.toDisplayString(c.value),1),n.createElementVNode("scroll-view",{class:"honor_box","scroll-x":"true","show-scrollbar":"false"},[n.createElementVNode("view",{class:"honor_wrap"},[v.value>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"honor_item"},[n.createElementVNode("image",{class:"honor_image",src:n.unref("/static/suifang.png"),mode:"aspectFill"},null,8,["src"]),n.createElementVNode("text",{class:"honor_text"},"随访达人|排名"+n.toDisplayString(v.value),1)])):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(b.value,(x=>(n.openBlock(),n.createElementBlock("view",{class:"honor_item",key:x.id,onClick:n=>(async n=>{const x=await Fl.gethonorDetail({id:n});1==x.code&&(V.value=x.data,l.value=!0)})(x.id)},[n.createElementVNode("image",{class:"honor_image",src:n.unref("/static/yxb.png"),mode:"aspectFill"},null,8,["src"]),n.createElementVNode("text",{class:"honor_text"},n.toDisplayString(x.nick_name),1)],8,["onClick"])))),128))])])])]),n.createElementVNode("view",{class:"stats-section"},[n.createElementVNode("view",{class:"stats-item",onClick:t[1]||(t[1]=n=>A("followup"))},[n.createElementVNode("text",{class:"stats-number"},n.toDisplayString(u.value),1),n.createElementVNode("text",{class:"stats-label"},"随访患者数")]),n.createElementVNode("view",{class:"stats-item",onClick:t[2]||(t[2]=n=>A("consult"))},[n.createElementVNode("text",{class:"stats-number"},n.toDisplayString(h.value),1),n.createElementVNode("text",{class:"stats-label"},"公益咨询数")]),n.createElementVNode("view",{class:"stats-item",onClick:t[3]||(t[3]=n=>A("flower"))},[n.createElementVNode("text",{class:"stats-number"},n.toDisplayString(g.value),1),n.createElementVNode("text",{class:"stats-label"},"患者送花数")]),n.createElementVNode("view",{class:"divder"}),0==f.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"signbox",onClick:_},[n.createElementVNode("view",{class:"sign"},"签到")])):(n.openBlock(),n.createElementBlock("view",{key:1,class:"signbox_1",onClick:t[4]||(t[4]=n=>N("pointMall"))},[n.createElementVNode("view",{class:"sign"},n.toDisplayString(E(m.value)),1)]))])],4),n.createElementVNode("view",{class:"section"},[n.createElementVNode("view",{class:"section-title"},"随访服务"),n.createVNode(S,{indicatorActiveColor:"#8B2316",indicatorWidth:"40rpx",indicatorBarWidth:"20rpx",class:"service-grid"},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"service-item",onClick:t[5]||(t[5]=n=>N("patientAudit"))},[n.createVNode(i,{src:n.unref("/static/hzsh.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"患者审核")]),n.createElementVNode("view",{class:"service-item",onClick:t[6]||(t[6]=n=>N("patientGroup"))},[n.createVNode(i,{src:n.unref("/static/hzfz.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"患者分组")]),n.createElementVNode("view",{class:"service-item",onClick:t[7]||(t[7]=n=>N("groupMessage"))},[n.createVNode(i,{src:n.unref("/static/qfxz.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"群发消息")]),n.createElementVNode("view",{class:"service-item",onClick:t[8]||(t[8]=n=>N("qrcode"))},[n.createVNode(i,{src:n.unref("/static/sfewm.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"随访二维码")]),n.createElementVNode("view",{class:"service-item",onClick:t[9]||(t[9]=n=>N("plan"))},[n.createVNode(i,{src:n.unref("/static/czjh.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"出诊计划")])])),_:1})]),n.createElementVNode("view",{class:"section"},[n.createElementVNode("view",{class:"section-title"},"学习进步"),n.createElementVNode("view",{class:"learning-grid"},[n.createElementVNode("view",{class:"learning-item",onClick:t[10]||(t[10]=n=>N("myVideos"))},[n.createVNode(i,{src:n.unref("/static/wdsp.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的视频")]),n.createElementVNode("view",{class:"learning-item",onClick:t[11]||(t[11]=n=>N("myCourses"))},[n.createVNode(i,{src:n.unref("/static/wdkc.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的课程")]),n.createElementVNode("view",{class:"learning-item",onClick:t[12]||(t[12]=n=>N("myDownloads"))},[n.createVNode(i,{src:n.unref($h),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的下载")]),n.createElementVNode("view",{class:"learning-item",onClick:t[13]||(t[13]=n=>N("myFavorites"))},[n.createVNode(i,{src:n.unref("/static/wdsc.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的收藏")])])]),n.createElementVNode("view",{class:"section"},[n.createElementVNode("view",{class:"section-title"},"账户明细"),n.createVNode(S,{indicator:j.value,indicatorActiveColor:"#8B2316",indicatorWidth:"40rpx",indicatorBarWidth:"20rpx",class:"account-grid"},{default:n.withCtx((()=>[j.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"account-item",onClick:t[14]||(t[14]=n=>N("myAccount"))},[n.createVNode(i,{src:n.unref("/static/wdzh.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的账户")])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"account-item",onClick:t[15]||(t[15]=n=>N("myPoints"))},[n.createVNode(i,{src:n.unref("/static/wdjf.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的积分")]),n.createElementVNode("view",{class:"account-item",onClick:t[16]||(t[16]=n=>N("myBenefits"))},[n.createVNode(i,{src:n.unref("/static/wdfl.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的福利")]),j.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"account-item",onClick:t[17]||(t[17]=n=>N("myFlower"))},[n.createVNode(i,{src:n.unref("/static/wdxh.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"我的鲜花")])):n.createCommentVNode("",!0),j.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"account-item",onClick:t[18]||(t[18]=n=>N("pptDetail"))},[n.createVNode(i,{src:n.unref("/static/kjmx.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"课件明细")])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"account-item",onClick:t[19]||(t[19]=n=>N("couseDetail"))},[n.createVNode(i,{src:n.unref("/static/kcmx.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"课程明细")])])),_:1},8,["indicator"])]),n.createElementVNode("view",{class:"section"},[n.createElementVNode("view",{class:"section-title"},"常用操作"),n.createElementVNode("view",{class:"operation-grid"},[n.createElementVNode("view",{class:"operation-item",onClick:t[20]||(t[20]=n=>N("wechatUnbind"))},[n.createVNode(i,{src:n.unref("/static/wxjb.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),I.value?(n.openBlock(),n.createElementBlock("text",{key:0},"微信解绑")):(n.openBlock(),n.createElementBlock("text",{key:1},"微信绑定"))]),n.createElementVNode("view",{class:"operation-item",onClick:t[21]||(t[21]=n=>N("changePhone"))},[n.createVNode(i,{src:n.unref("/static/ghsjh.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"更换手机号")]),n.createElementVNode("view",{class:"operation-item",onClick:C},[n.createVNode(i,{src:n.unref("/static/xxtx.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,"通知已"+n.toDisplayString(w.value?"开":"关"),1)]),n.createElementVNode("view",{class:"operation-item",onClick:T},[n.createVNode(i,{src:z.value?n.unref("/static/fxbb.png"):n.unref("/static/fxxbb.png"),width:"48rpx",height:"48rpx"},null,8,["src"]),n.createElementVNode("text",null,n.toDisplayString(z.value?"有新版本":"V"+n.unref(Pl)),1)])])]),n.createElementVNode("view",{class:"setbox"},[n.createElementVNode("view",{class:"sectioncell benefit-section"},[n.createElementVNode("view",{class:"benefit-item",onClick:t[22]||(t[22]=n=>N("benefitExchange"))},[n.createElementVNode("view",{class:"benefit-icon"},[n.createVNode(i,{src:n.unref("/static/fulicard.png"),width:"48rpx",height:"48rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"benefit-content"},[n.createElementVNode("text",{class:"benefit-title"},"福利卡兑换")]),n.createElementVNode("view",{class:"benefit-arrow"},[n.createVNode(D,{type:"forward",size:"16",color:"#ccc"})])])]),n.createElementVNode("view",{class:"sectioncell bank-section"},[j.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"bank-item",onClick:t[23]||(t[23]=n=>N("bankCard"))},[n.createElementVNode("view",{class:"bank-icon"},[n.createVNode(i,{src:n.unref("/static/cyhhk.png"),width:"48rpx",height:"48rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"bank-content"},[n.createElementVNode("text",{class:"bank-title"},"常用银行卡")]),n.createElementVNode("view",{class:"bank-arrow"},[n.createVNode(D,{type:"forward",size:"16",color:"#ccc"})])])):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"sectioncell settings-section"},[n.createElementVNode("view",{class:"settings-item",onClick:t[24]||(t[24]=n=>N("settings"))},[n.createElementVNode("view",{class:"settings-icon"},[n.createVNode(i,{src:n.unref("/static/setting.png"),width:"48rpx",height:"48rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"settings-content flex-row"},[n.createElementVNode("text",{class:"settings-title"},"设置与帮助"),z.value&&B.value?(n.openBlock(),n.createElementBlock("text",{key:0,class:"new-version"},"有新版本")):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"settings-arrow"},[n.createVNode(D,{type:"forward",size:"16",color:"#ccc"})])])])]),n.createElementVNode("view",{class:"year-summary-btn",onClick:q},[n.createElementVNode("view",{class:"year-text"},"2024"),n.createElementVNode("view",{class:"summary-text"},"年度总结")]),n.createVNode(Ox)]),n.createVNode(Rx,{visible:o.value,content:"今日已签到,每天只能签到一次。
请明日继续哦~",onClose:t[25]||(t[25]=n=>o.value=!1),showCancel:!0,cancelText:"关闭"},null,8,["visible"]),n.createVNode(M,{show:a.value},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"signwrap"},[n.createElementVNode("view",{class:"signbox"},[n.createElementVNode("view",{class:"close",onClick:t[26]||(t[26]=n=>a.value=!1)}),n.createElementVNode("view",{class:"signbg"},[n.createVNode(i,{src:n.unref(Gl),width:"604rpx",height:"964rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"signcontent"},[n.createElementVNode("view",{class:"day"},"今天是我们相识的第"+n.toDisplayString(s.gdxzday)+"天",1),n.createElementVNode("view",{class:"signtotal"},"本周共签到"+n.toDisplayString(s.totalDay)+"次",1),n.createElementVNode("view",{class:"signcontinue"},"已经连续签到"+n.toDisplayString(s.continuous_day)+"天",1),n.createElementVNode("view",{class:"tip"},"连续签到获取更多积分"),n.createElementVNode("view",{class:"news",onClick:n.withModifiers(k,["stop"])},n.toDisplayString(s.news.summary),1)])])])])),_:1},8,["show"]),n.createVNode(M,{show:l.value},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"honorwrap"},[n.createElementVNode("view",{class:"honorbox"},[n.createElementVNode("image",{src:n.unref($l)+V.value.img,class:"honor_image"},null,8,["src"]),n.createVNode(D,{type:"close",class:"close_honor",size:"24",color:"#fff",onClick:t[27]||(t[27]=n=>l.value=!1)}),n.createElementVNode("view",{class:"content"},[n.createElementVNode("view",{class:"content_title"},n.toDisplayString(V.value.title),1),n.createElementVNode("view",{class:"row"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(V.value.honorlist,(x=>(n.openBlock(),n.createElementBlock("view",{class:"row_item",key:x.id},n.toDisplayString(x.nick_name),1)))),128))]),n.createElementVNode("view",{class:"content_content"},n.toDisplayString(V.value.note),1)])])])])),_:1},8,["show"])],64)}}},Yh=h(Hh,[["__scopeId","data-v-f5beeddc"]]),Gh={__name:"univerify",setup:e=>(o((()=>{x("log","at pages/univerify/univerify.vue:13","登录页面加载完成"),x("log","at pages/univerify/univerify.vue:16","一键登录"),uni.login({provider:"univerify",univerifyStyle:{fullScreen:!0,backgroundColor:"#ffffff",backgroundImage:"",icon:{path:"static/xxx.png",width:"60px",height:"60px"},closeIcon:{path:"static/xxx.png",width:"60px",height:"60px"},phoneNum:{color:"#202020"},slogan:{color:"#BBBBBB"},authButton:{normalColor:"#3479f5",highlightColor:"#2861c5",disabledColor:"#73aaf5",textColor:"#ffffff",title:"本机号码一键登录",borderRadius:"24px"},otherLoginButton:{visible:!0,normalColor:"",highlightColor:"",textColor:"#656565",title:"其他登录方式",borderColor:"",borderRadius:"0px"},privacyTerms:{defaultCheckBoxState:!0,isCenterHint:!1,uncheckedImage:"",checkedImage:"",checkBoxSize:12,textColor:"#BBBBBB",termsColor:"#5496E3",prefix:"我已阅读并同意",suffix:"并使用本机号码登录",privacyItems:[{url:"https://",title:"用户服务协议"}]}},success(n){x("log","at pages/univerify/univerify.vue:75",n.authResult)},fail(n){x("log","at pages/univerify/univerify.vue:78",n.errCode),x("log","at pages/univerify/univerify.vue:79",n.errMsg),uni.redirectTo({url:"/pages_app/login/login?univerify=0"})}})})),i((()=>{x("log","at pages/univerify/univerify.vue:90","登录页面显示")})),(x,e)=>(n.openBlock(),n.createElementBlock("view")))};let Wh=class{constructor(n,x){this.options=n,this.animation=uni.createAnimation({...n}),this.currentStepAnimates={},this.next=0,this.$=x}_nvuePushAnimates(n,x){let e=this.currentStepAnimates[this.next],t={};if(t=e||{styles:{},config:{}},Kh.includes(n)){t.styles.transform||(t.styles.transform="");let e="";"rotate"===n&&(e="deg"),t.styles.transform+=`${n}(${x+e}) `}else t.styles[n]=`${x}`;this.currentStepAnimates[this.next]=t}_animateRun(n={},x={}){let e=this.$.$refs.ani.ref;if(e)return new Promise(((t,i)=>{nvueAnimation.transition(e,{styles:n,...x},(n=>{t()}))}))}_nvueNextAnimate(n,x=0,e){let t=n[x];if(t){let{styles:i,config:l}=t;this._animateRun(i,l).then((()=>{x+=1,this._nvueNextAnimate(n,x,e)}))}else this.currentStepAnimates={},"function"==typeof e&&e(),this.isEnd=!0}step(n={}){return this.animation.step(n),this}run(n){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof n&&n()}),this.$.durationTime)}};const Kh=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function Qh(n,x){if(x)return clearTimeout(x.timer),new Wh(n,x)}Kh.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((n=>{Wh.prototype[n]=function(...x){return this.animation[n](...x),this}}));const Jh=h({name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:()=>"fade"},duration:{type:Number,default:300},styles:{type:Object,default:()=>({})},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(n){n?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject(){let n={...this.styles,"transition-duration":this.duration/1e3+"s"},x="";for(let e in n){x+=this.toLine(e)+":"+n[e]+";"}return x},transformStyles(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(n={}){n.duration&&(this.durationTime=n.duration),this.animation=Qh(Object.assign(this.config,n),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(n,e={}){if(this.animation){for(let e in n)try{"object"==typeof n[e]?this.animation[e](...n[e]):this.animation[e](n[e])}catch(Rw){x("error","at uni_modules/uni-transition/components/uni-transition/uni-transition.vue:148",`方法 ${e} 不存在`)}return this.animation.step(e),this}},run(n){this.animation&&this.animation.run(n)},open(){clearTimeout(this.timer),this.transform="",this.isShow=!0;let{opacity:n,transform:x}=this.styleInit(!1);void 0!==n&&(this.opacity=n),this.transform=x,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=Qh(this.config,this),this.tranfromInit(!1).step(),this.animation.run(),this.$emit("change",{detail:this.isShow})}),20)}))},close(n){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:n,transform:x}=this.styleInit(!1);this.opacity=n||1,this.transform=x,this.$emit("change",{detail:this.isShow})}))},styleInit(n){let x={transform:""},e=(n,e)=>{"fade"===e?x.opacity=this.animationType(n)[e]:x.transform+=this.animationType(n)[e]+" "};return"string"==typeof this.modeClass?e(n,this.modeClass):this.modeClass.forEach((x=>{e(n,x)})),x},tranfromInit(n){let x=(n,x)=>{let e=null;"fade"===x?e=n?0:1:(e=n?"-100%":"0","zoom-in"===x&&(e=n?.8:1),"zoom-out"===x&&(e=n?1.2:1),"slide-right"===x&&(e=n?"100%":"0"),"slide-bottom"===x&&(e=n?"100%":"0")),this.animation[this.animationMode()[x]](e)};return"string"==typeof this.modeClass?x(n,this.modeClass):this.modeClass.forEach((e=>{x(n,e)})),this.animation},animationType:n=>({fade:n?0:1,"slide-top":`translateY(${n?"0":"-100%"})`,"slide-right":`translateX(${n?"0":"100%"})`,"slide-bottom":`translateY(${n?"0":"100%"})`,"slide-left":`translateX(${n?"0":"-100%"})`,"zoom-in":`scaleX(${n?1:.8}) scaleY(${n?1:.8})`,"zoom-out":`scaleX(${n?1:1.2}) scaleY(${n?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:n=>n.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(x,e,t,i,l,o){return n.withDirectives((n.openBlock(),n.createElementBlock("view",{ref:"ani",animation:l.animationData,class:n.normalizeClass(t.customClass),style:n.normalizeStyle(o.transformStyles),onClick:e[0]||(e[0]=(...n)=>o.onClick&&o.onClick(...n))},[n.renderSlot(x.$slots,"default")],14,["animation"])),[[n.vShow,l.isShow]])}]]),Xh={name:"uniPopup",components:{},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"},borderRadius:{type:String}},watch:{type:{handler:function(n){this.config[n]&&this[this.config[n]](!0)},immediate:!0},isDesktop:{handler:function(n){this.config[n]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(n){this.mkclick=n},immediate:!0},isMaskClick:{handler:function(n){this.mkclick=n},immediate:!0},showPopup(n){}},data(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{backgroundColor:"transparent",borderRadius:this.borderRadius||"0",position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:"top"}},computed:{getStyles(){let n={backgroundColor:this.bg};return this.borderRadius,n=Object.assign(n,{borderRadius:this.borderRadius}),n},isDesktop(){return this.popupWidth>=500&&this.popupHeight>=500},bg(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted(){(()=>{const{windowWidth:n,windowHeight:x,windowTop:e,safeArea:t,screenHeight:i,safeAreaInsets:l}=uni.getSystemInfoSync();this.popupWidth=n,this.popupHeight=x+(e||0),t&&this.safeArea?this.safeAreaInsets=l.bottom:this.safeAreaInsets=0})()},unmounted(){this.setH5Visible()},activated(){this.setH5Visible(!this.showPopup)},deactivated(){this.setH5Visible(!0)},created(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{setH5Visible(n=!0){},closeMask(){this.maskShow=!1},disableMask(){this.mkclick=!1},clear(n){n.stopPropagation(),this.clearPropagation=!0},open(n){if(this.showPopup)return;n&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(n)||(n=this.type),this.config[n]?(this[this.config[n]](),this.$emit("change",{show:!0,type:n})):x("error","at uni_modules/uni-popup/components/uni-popup/uni-popup.vue:298","缺少类型:",n)},close(n){this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.showPopup=!1}),300)},touchstart(){this.clearPropagation=!1},onTap(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top(n){this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},n||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((()=>{this.messageChild&&"message"===this.type&&this.messageChild.timerClose()})))},bottom(n){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},n||(this.showPopup=!0,this.showTrans=!0)},center(n){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center",borderRadius:this.borderRadius||"0"},n||(this.showPopup=!0,this.showTrans=!0)},left(n){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},n||(this.showPopup=!0,this.showTrans=!0)},right(n){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},n||(this.showPopup=!0,this.showTrans=!0)}}};const Zh=h(Xh,[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("uni-transition"),Jh);return o.showPopup?(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["uni-popup",[o.popupstyle,a.isDesktop?"fixforpc-z-index":""]])},[n.createElementVNode("view",{onTouchstart:t[1]||(t[1]=(...n)=>a.touchstart&&a.touchstart(...n))},[o.maskShow?(n.openBlock(),n.createBlock(s,{key:"1",name:"mask","mode-class":"fade",styles:o.maskClass,duration:o.duration,show:o.showTrans,onClick:a.onTap},null,8,["styles","duration","show","onClick"])):n.createCommentVNode("",!0),n.createVNode(s,{key:"2","mode-class":o.ani,name:"content",styles:o.transClass,duration:o.duration,show:o.showTrans,onClick:a.onTap},{default:n.withCtx((()=>[n.createElementVNode("view",{class:n.normalizeClass(["uni-popup__wrapper",[o.popupstyle]]),style:n.normalizeStyle(a.getStyles),onClick:t[0]||(t[0]=(...n)=>a.clear&&a.clear(...n))},[n.renderSlot(x.$slots,"default",{},void 0,!0)],6)])),_:3},8,["mode-class","styles","duration","show","onClick"])],32)],2)):n.createCommentVNode("",!0)}],["__scopeId","data-v-ee521468"]]),ng="/static/icon_share.png",xg="/static/share_sina.png",eg="/static/share_weixin.png",tg="/static/share_wxc.png",ig="/static/weiboShare.png",lg={__name:"webview",setup(t){var a;const r=n.ref("新闻详情"),c=n.ref(""),u=n.ref(""),h=n.ref(!1),g=n.ref(!1),d=n.ref("");n.ref("");const p=n.ref(""),y=n.ref(""),f=n.ref(""),b=n.ref(""),v=n.ref(""),w=()=>{uni.navigateBack({fail(){uni.redirectTo({url:"/pages/index/index"})}})};i((()=>{uni.hideLoading()})),s((()=>{})),l((()=>{})),o((n=>{x("log","at pages_app/webview/webview.vue:103",n),n.title&&(r.value=n.title),n.tags&&(b.value=n.tags),n.type&&(f.value=n.type),1==n.share&&(g.value=!0),1==n.bg&&(h.value=!0,u.value="linear-gradient(to bottom,'#fff' , '#398775')");var e=0;uni.getSystemInfo({success:n=>{e=n.windowHeight},complete:()=>{}});const t=n&&(n.url||"");try{c.value=decodeURIComponent(t),p.value=n.imgPath?decodeURIComponent(n.imgPath):"https://doc.igandan.com/app/html/img/2016/20160714132557.png","live_yugao"==n.type?(y.value=n.sharetitle,v.value=y.value,d.value="分享一篇来自“肝胆相照”的会议预告:"+y.value,x("log","at pages_app/webview/webview.vue:137",v.value),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"会议直播",resource_name:v.value,resource_option:b.value}},(n=>{x("log","at pages_app/webview/webview.vue:147",n)}))):"live_old"==n.type?(y.value=n.sharetitle,d.value="分享一篇来自“肝胆相照”的历史会议:"+y.value):"live"==n.type?(y.value="肝胆相照直播:"+n.sharetitle,v.value=n.sharetitle,d.value=y.value,x("log","at pages_app/webview/webview.vue:156",v.value)):"news"==n.type&&(y.value=n.sharetitle,d.value="");let l=uni.getSystemInfoSync().statusBarHeight,o=plus.webview.create("","custom-webview",{top:l+44+"px",bottom:"0rpx"});o.loadURL(c.value);let a=getCurrentPages();var i=a[a.length-1].$getAppWebview();i.append(o),setTimeout((function(){o=i.children()[0],o.setStyle({top:l+44+"px",height:e-80,bottom:0,scalable:!0,videoFullscreen:"landscape",zIndex:-1})}),300),o.onloaded=n=>{o.show()},uni.onWindowResize((n=>{n.size.windowHeight{!function(){if(N.value)return;S=0,_.value&&E.value||T();_.value&&_.value.show(),E.value&&E.value.show(),N.value=!0}()},k=()=>{z.value.close()},_=n.ref(null),E=n.ref(null),N=n.ref(!1);let S=0;function C(n){const x=Date.now();x-S<400||(S=x,n())}const q=n.ref({screenW:0,screenH:0,panelH:0,cancelH:0,contentTop:0,iconSize:0,textSize:0});function T(){if(_.value||E.value)return;const n=plus.screen.resolutionWidth,e=plus.screen.resolutionHeight,t=uni.upx2px(520),i=uni.upx2px(20),l=50,o=uni.upx2px(80),a=uni.upx2px(100),s=uni.upx2px(90)+o,r=uni.upx2px(24);q.value={screenW:n,screenH:e,panelH:t,cancelH:a,contentTop:s,iconSize:l,textSize:r},_.value=new plus.nativeObj.View("native-share-mask",{left:"0px",top:"0px",width:n+"px",height:e+"px",zindex:99998,touchable:!0,interceptTouchEvent:!0},[{tag:"rect",id:"mask",position:{left:"0px",top:"0px",width:n+"px",height:e+"px"},color:"rgba(0,0,0,0.5)"}]),E.value=new plus.nativeObj.View("native-share-panel",{left:"0px",top:e-t+"px",width:n+"px",height:t+"px",zindex:99999,touchable:!0,interceptTouchEvent:!0},[]),E.value.drawRect({color:"#FFFFFF",radius:i,rectStyles:{}},{left:uni.upx2px(0)+"px",top:uni.upx2px(0)+"px",width:n+"px",height:t+"px"}),E.value.drawText("分享到",{left:"0px",top:uni.upx2px(20)+"px",width:n+"px",height:o+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle",weight:"500"});const c=[{id:"it-wechat",text:"微信"},{id:"it-moments",text:"朋友圈"}],u=n/c.length,h=s,g=h+l+uni.upx2px(16);x("log","at pages_app/webview/webview.vue:395","图标布局信息:",{screenW:n,itemW:u,iconSize:l,iconTop:h,contentTop:s});const d=["share_weixin.png","share_wxc.png","share_sina.png"];c.forEach(((n,e)=>{const t=e*u,i=Math.round(t+(u-l)/2),o=i,a=Math.round(h);x("log","at pages_app/webview/webview.vue:419",`图标 ${e} (${n.text}): left=${t}, itemW=${u.toFixed(2)}, iconLeft=${o}, iconTop=${a}, iconSize=50`);let s=null;try{s="_www/static/"+d[e],x("log","at pages_app/webview/webview.vue:436",`图标 ${n.text} 路径: ${s}`)}catch(Rw){x("log","at pages_app/webview/webview.vue:438","构建图标路径失败:",Rw),s=null}if(s)try{x("log","at pages_app/webview/webview.vue:445",`绘制图标 ${n.text}: 位置=(${o}, ${a}), 大小=50x50`);try{E.value.drawBitmap(s,{},{left:o+"px",top:a+"px",width:"50px",height:"50px"})}catch(c){try{E.value.drawBitmap(s,{left:o+"px",top:a+"px",width:"50px",height:"50px"})}catch(Rw){throw x("log","at pages_app/webview/webview.vue:472","drawBitmap 两种格式都失败:",c,Rw),Rw}}}catch(Rw){x("log","at pages_app/webview/webview.vue:477","绘制图标失败,使用圆形色块代替:",Rw);const t=2===e?"#E6162D":"#07C160";E.value.drawRect({color:t,radius:Math.round(25)},{left:Math.round(i)+"px",top:Math.round(h)+"px",width:Math.round(l)+"px",height:Math.round(l)+"px"})}else{const n=2===e?"#E6162D":"#07C160";E.value.drawRect({color:n,radius:Math.round(25)},{left:Math.round(i)+"px",top:Math.round(h)+"px",width:Math.round(l)+"px",height:Math.round(l)+"px"})}E.value.drawText(n.text,{left:t+"px",top:g+"px",width:u+"px",height:r+uni.upx2px(20)+"px"},{size:r+"px",color:"#666666",align:"center",verticalAlign:"top"})}));const p=t-a;E.value.drawRect({color:"#F0F0F0"},{left:"0px",top:p-1+"px",width:n+"px",height:"1px"}),E.value.drawText("取消",{left:"0px",top:p+"px",width:n+"px",height:a+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle"});_.value.addEventListener("click",(()=>{x("log","at pages_app/webview/webview.vue:555","遮罩被点击"),V()}),!1),E.value.addEventListener("click",(n=>{x("log","at pages_app/webview/webview.vue:560","面板被点击",n);const e=q.value;let t=0,i=0;if(void 0!==n.clientX&&void 0!==n.clientY?(t=n.clientX,i=n.clientY):void 0!==n.pageX&&void 0!==n.pageY?(t=n.pageX,i=n.pageY):n.touches&&n.touches.length>0?(t=n.touches[0].clientX||n.touches[0].pageX||0,i=n.touches[0].clientY||n.touches[0].pageY||0):n.changedTouches&&n.changedTouches.length>0&&(t=n.changedTouches[0].clientX||n.changedTouches[0].pageX||0,i=n.changedTouches[0].clientY||n.changedTouches[0].pageY||0),x("log","at pages_app/webview/webview.vue:582","原始坐标:",t,i),x("log","at pages_app/webview/webview.vue:583","屏幕信息:",e),!t||!i)return void x("log","at pages_app/webview/webview.vue:586","坐标无效");let l=i,o=t;i=e.screenH-e.panelH?(l=i-(e.screenH-e.panelH),o=t,x("log","at pages_app/webview/webview.vue:605","使用相对于屏幕的坐标,转换为相对视图:",o,l)):x("log","at pages_app/webview/webview.vue:612","坐标类型不确定,尝试直接使用");const a=e.panelH-e.cancelH;if(x("log","at pages_app/webview/webview.vue:617","取消区域判断: relativeY =",l,", cancelTop =",a),l>=a)return x("log","at pages_app/webview/webview.vue:624","点击了取消按钮"),void C((()=>V()));const s=e.contentTop,r=s+e.iconSize+e.textSize+uni.upx2px(20);if(x("log","at pages_app/webview/webview.vue:634","分享区域: relativeY =",l,", 范围 =",s,"到",r),l>=s&&l<=r){const n=e.screenW/c.length,t=Math.min(2,Math.max(0,Math.floor(o/n)));x("log","at pages_app/webview/webview.vue:648","点击了分享项:",t,", x =",o,", itemWidth =",n),0===t?(x("log","at pages_app/webview/webview.vue:658","执行微信分享"),C((()=>{A(),V()}))):1===t?(x("log","at pages_app/webview/webview.vue:664","执行朋友圈分享"),C((()=>{I(),V()}))):2===t&&x("log","at pages_app/webview/webview.vue:670","执行微博分享")}else x("log","at pages_app/webview/webview.vue:675","点击位置不在分享区域内, relativeY =",l,", 需要范围:",s,"到",r)}),!1)}function V(){N.value&&(_.value&&_.value.hide(),E.value&&E.value.hide(),N.value=!1)}const A=()=>{"live"!=f.value&&"live_yugao"!=f.value||uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"会议直播",resource_name:v.value,resource_option:b.value}}),uni.downloadFile({url:p.value,success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneSession",type:0,title:y.value,summary:d.value,href:c.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/webview/webview.vue:745","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/webview/webview.vue:748","fail:"+JSON.stringify(n))}})}})}}),k()};l((()=>{V()})),s((()=>{try{_.value&&_.value.close&&_.value.close(),E.value&&E.value.close&&E.value.close()}catch(Rw){}_.value=null,E.value=null,N.value=!1}));const I=()=>{"live"!=f.value&&"live_yugao"!=f.value||uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"会议直播",resource_name:v.value,resource_option:b.value}}),uni.downloadFile({url:p.value,success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneTimeline",type:0,title:y.value,summary:d.value,href:c.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/webview/webview.vue:856","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/webview/webview.vue:859","fail:"+JSON.stringify(n))}})},fail:function(n){x("log","at pages_app/webview/webview.vue:864","fail:"+JSON.stringify(n))}})}}),k()},B=()=>{uni.share({provider:"sinaweibo",type:0,title:y.value,summary:d.value,href:c.value,imageUrl:ig,success:function(n){x("log","at pages_app/webview/webview.vue:906","分享成功")},fail:function(n){x("log","at pages_app/webview/webview.vue:909","fail:"+JSON.stringify(n))}}),k()};return(x,t)=>{const i=e(n.resolveDynamicComponent("uni-nav-bar"),m),l=e(n.resolveDynamicComponent("uni-popup"),Zh);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"container",style:n.normalizeStyle({backgroundColor:u.value})},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(i,{"left-icon":"left",title:r.value,onClickLeft:w,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[g.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"collect-img",onClick:j},[n.createElementVNode("image",{class:"share-img-icon",src:n.unref(ng),mode:"aspectFill"},null,8,["src"])])):n.createCommentVNode("",!0)])])),_:1},8,["title"])])],4),n.createVNode(l,{ref_key:"shareRef",ref:z,type:"bottom",safeArea:"",backgroundColor:"#fff"},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"share-popup"},[n.createElementVNode("view",{class:"share-title"},"分享到"),n.createElementVNode("view",{class:"share-content"},[n.createElementVNode("view",{class:"share-item",onClick:A},[n.createElementVNode("view",{class:"share-icon wechat-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(eg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"微信")]),n.createElementVNode("view",{class:"share-item",onClick:I},[n.createElementVNode("view",{class:"share-icon moments-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(tg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"朋友圈")]),n.createElementVNode("view",{class:"share-item",onClick:B},[n.createElementVNode("view",{class:"share-icon weibo-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(xg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"新浪微博")])]),n.createElementVNode("view",{class:"share-cancel",onClick:k},[n.createElementVNode("text",null,"取消")])])])),_:1},512)],64)}}},og="/static/icon_book_collect_sel.png",ag="/static/icon_book_collect_nor.png",sg={__name:"webviewClass",setup(t){var a;const r=n.ref([]),c=n.ref("新闻详情"),u=n.ref(""),h=n.ref(""),g=n.ref(""),p=n.ref(!1),y=n.ref(!1),f=n.ref("");n.ref("");const b=n.ref(""),v=n.ref(""),w=n.ref(""),z=n.ref(0),j=n.ref(""),k=n.ref(0),_=n.ref(0),E=n.ref(0),N=n.ref(""),S=n.ref(88),C=n.ref(55),q=n.ref(!1),T=n.ref(null),V=n.ref(""),A=n.ref({width:"100%",top:S.value,bottom:C.value}),I=()=>{const n=uni.getSystemInfoSync(),x=Number(n.statusBarHeight||0),e=Number(n.safeAreaInsets&&n.safeAreaInsets.bottom||0);S.value=Math.round(x+44),C.value=Math.round(55+e),A.value={width:"100%",top:S.value,bottom:C.value},q.value&&T.value&&T.value.setStyle({top:`${S.value}px`,bottom:`${C.value}px`,scalable:!0,videoFullscreen:"landscape",zIndex:-1})},B=()=>{I()},D=()=>{I()},M=()=>{x("log","at pages_app/webview/webviewClass.vue:174","添加积分1"),Fl.addBonusPointsN({score_type:5}).then((n=>{x("log","at pages_app/webview/webviewClass.vue:180","添加积分2"),x("log","at pages_app/webview/webviewClass.vue:181",n),n.code})).catch((n=>{uni.showModal({title:"提示",content:res.message,showCancel:!1,success:n=>{n.confirm}})}))},O=()=>{x("log","at pages_app/webview/webviewClass.vue:266","收藏状态"+z.value),0==z.value?Fl.getCollect({other_uuid:w.value,user_uuid:N.value,type:"huanjiao_news"==u.value?1:2,title:v.value,path:h.value.replace($l,""),readnum:k.value,imgpath:j.value.indexOf("http")>-1?j.value:$l+j.value,public_name:v.value}).then((n=>{200==n.code&&(uni.showToast({title:"收藏成功",icon:"none"}),"huanjiao_news"==u.value?F():$(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"collect",page_type:"huanjiao_news"==u.value?"肝胆新闻":"患教文库",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:238",n)})))})):Fl.getDiscollect({other_uuid:w.value,user_uuid:N.value,type:"huanjiao_news"==u.value?1:2}).then((n=>{x("log","at pages_app/webview/webviewClass.vue:251",n),200==n.code&&(uni.showToast({title:"取消收藏成功",icon:"none"}),"huanjiao_news"==u.value?F():$())}))},R=()=>{0==E.value?P():L()},P=()=>{Fl.getAgree({news_article_uuid:w.value,user_uuid:N.value,type:"huanjiao_news"==u.value?1:2}).then((n=>{"huanjiao_news"==u.value?F():$(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"like",page_type:"huanjiao_news"==u.value?"肝胆新闻":"患教文库",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:303",n)}))}))},L=()=>{Fl.getDisagree({news_article_uuid:w.value,user_uuid:N.value,type:"huanjiao_news"==u.value?1:2}).then((n=>{x("log","at pages_app/webview/webviewClass.vue:315",n),"huanjiao_news"==u.value?F():$()}))},F=(n=!1)=>{Fl.getNewsDetail({uuid:w.value}).then((e=>{x("log","at pages_app/webview/webviewClass.vue:339",e),200==e.code&&(V.value=e.data.tags?e.data.tags:"",n&&uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"肝胆新闻",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:352",n)})),z.value=e.data.isCollection,k.value=e.data.readnum,_.value=e.data.agreenum,E.value=e.data.isAgree)}))},U=n=>n<1e4?n:(n/1e4).toFixed(1)+"w",$=(n=!1)=>{Fl.getKePuCollection({uuid:w.value,user_uuid:N.value}).then((e=>{x("log","at pages_app/webview/webviewClass.vue:376",e.data),200==e.code&&(n&&uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"患教文库",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:388",n)})),z.value=e.data.isCollection,k.value=e.data.readnum,_.value=e.data.agreenum,E.value=e.data.isAgree)}))},H=()=>{on(),an(),uni.navigateBack({delta:1,fail(){uni.redirectTo({url:"/pages/index/index"})}})};n.ref(null);const Y=n=>{try{if(!n)return;const x=getCurrentPages(),e=x[x.length-1],t=e&&e.$getAppWebview?e.$getAppWebview():null;if(!t)return;T.value&&T.value.close&&(T.value.close(),T.value=null);const i=plus.webview.create("","webview-class-content",{top:`${S.value}px`,bottom:`${C.value}px`,scalable:!0,videoFullscreen:"landscape",zIndex:-1});i.loadURL(n),t.append(i),T.value=i}catch(e){x("log","at pages_app/webview/webviewClass.vue:435","createAppPlusWebview error:",e)}};i((()=>{uni.$on("selectedChatPatientsSingle",(n=>{x("log","at pages_app/webview/webviewClass.vue:456","监听数据"),x("log","at pages_app/webview/webviewClass.vue:457",n),r.value=n.patients,"huanjiao"==u.value&&(async()=>{const n=await Fl.addGroupSendMsg4YunXin({patient_user_uuid:r.value.map((n=>n.uuid)).join(","),msg_content:w.value,msg_type:3});200==n.code?uni.showToast({title:"推荐成功",icon:"none"}):uni.showToast({title:n.msg,icon:"none"})})()})),B(),setTimeout((()=>{uni.hideLoading()}),2e3)})),s((()=>{"function"==typeof uni.offWindowResize&&uni.offWindowResize(D)})),l((()=>{})),o((n=>{uni.showLoading({title:"加载中",mask:!0}),B(),q.value=!0,"function"==typeof uni.onWindowResize&&uni.onWindowResize(D);const e=uni.getStorageSync("userInfo");n.type&&(u.value=n.type),n.tags&&(V.value=n.tags),N.value=e.uuid,n.title&&(c.value=n.title),n.uuid&&(w.value=n.uuid),1==n.share&&(y.value=!0),1==n.bg&&(p.value=!0,g.value="linear-gradient(to bottom,'#fff' , '#398775')"),Fl.getOutRead({uuid:w.value,type:"huanjiao_news"==u.value?1:2}).then((n=>{x("log","at pages_app/webview/webviewClass.vue:330",n)}));const t=n&&(n.url||n.href||n.link||n.src||"");t||uni.showToast({title:"未获取到网页链接",icon:"none"});try{h.value=decodeURIComponent(t),x("log","at pages_app/webview/webviewClass.vue:528",h.value),j.value=decodeURIComponent(n.imgPath),b.value="https://doc.igandan.com/app/html/img/2016/20160714132557.png",x("log","at pages_app/webview/webviewClass.vue:535",b.value),"live_yugao"==n.type?(v.value=n.sharetitle,f.value="分享一篇来自“肝胆相照”的会议预告:"+v.value):"live_old"==n.type?(v.value=n.sharetitle,f.value="分享一篇来自“肝胆相照”的历史会议:"+v.value):"live"==n.type?(v.value="肝胆相照直播:"+n.sharetitle,f.value=v.value):"news"==n.type?(v.value=n.sharetitle,f.value=""):"huanjiao"!=n.type&&"huanjiao_news"!=n.type||(x("log","at pages_app/webview/webviewClass.vue:550",n.sharetitle),x("log","at pages_app/webview/webviewClass.vue:551",n.summary),v.value=n.sharetitle,f.value=n.summary),"huanjiao_news"==u.value?F(!0):$(!0),ln(),Y(h.value)}catch(Rw){h.value=t,Y(h.value)}}));const G=n.ref(null);null==(a=G.value)||a.open();const W=()=>{!function(){if(X.value)return;Q.value&&J.value||ln();Q.value&&Q.value.show(),J.value&&J.value.show(),X.value=!0}()},K=()=>{G.value.close()},Q=n.ref(null),J=n.ref(null),X=n.ref(!1),Z=n.ref(!1),nn=n.ref(null),xn=n.ref(null),en=n.ref(!1);n.ref(!1),n.ref(!1),n.ref(0),n.ref({screenW:0,screenH:0,panelW:0,panelH:0,panelLeft:0,panelTop:0,titleH:0,itemH:0});const tn=n.ref({screenW:0,screenH:0,panelH:0,cancelH:0,contentTop:0,iconSize:0,textSize:0});function ln(){if(Q.value||J.value)return;const n=plus.screen.resolutionWidth,e=plus.screen.resolutionHeight,t=uni.upx2px(520),i=uni.upx2px(20),l=50,o=uni.upx2px(80),a=uni.upx2px(100),s=uni.upx2px(90)+o,r=uni.upx2px(24);tn.value={screenW:n,screenH:e,panelH:t,cancelH:a,contentTop:s,iconSize:l,textSize:r},Q.value=new plus.nativeObj.View("native-share-mask",{left:"0px",top:"0px",width:n+"px",height:e+"px",zindex:99998,touchable:!0,interceptTouchEvent:!0},[{tag:"rect",id:"mask",position:{left:"0px",top:"0px",width:n+"px",height:e+"px"},color:"rgba(0,0,0,0.5)"}]),J.value=new plus.nativeObj.View("native-share-panel",{left:"0px",top:e-t+"px",width:n+"px",height:t+"px",zindex:99999,touchable:!0,interceptTouchEvent:!0},[]),J.value.drawRect({color:"#FFFFFF",radius:i,rectStyles:{}},{left:uni.upx2px(0)+"px",top:uni.upx2px(0)+"px",width:n+"px",height:t+"px"}),J.value.drawText("分享到",{left:"0px",top:uni.upx2px(20)+"px",width:n+"px",height:o+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle",weight:"500"});const c=[{id:"it-wechat",text:"微信"},{id:"it-moments",text:"朋友圈"}],u=n/c.length,h=s,g=h+l+uni.upx2px(16);x("log","at pages_app/webview/webviewClass.vue:780","图标布局信息:",{screenW:n,itemW:u,iconSize:l,iconTop:h,contentTop:s});const d=["share_weixin.png","share_wxc.png"];c.forEach(((n,e)=>{const t=e*u,i=Math.round(t+(u-l)/2),o=i,a=Math.round(h);x("log","at pages_app/webview/webviewClass.vue:809",`图标 ${e} (${n.text}): left=${t}, itemW=${u.toFixed(2)}, iconLeft=${o}, iconTop=${a}, iconSize=50`);let s=null;try{s="_www/static/"+d[e],x("log","at pages_app/webview/webviewClass.vue:826",`图标 ${n.text} 路径: ${s}`)}catch(Rw){x("log","at pages_app/webview/webviewClass.vue:828","构建图标路径失败:",Rw),s=null}if(s)try{x("log","at pages_app/webview/webviewClass.vue:835",`绘制图标 ${n.text}: 位置=(${o}, ${a}), 大小=50x50`);try{J.value.drawBitmap(s,{},{left:o+"px",top:a+"px",width:"50px",height:"50px"})}catch(c){try{J.value.drawBitmap(s,{left:o+"px",top:a+"px",width:"50px",height:"50px"})}catch(Rw){throw x("log","at pages_app/webview/webviewClass.vue:862","drawBitmap 两种格式都失败:",c,Rw),Rw}}}catch(Rw){x("log","at pages_app/webview/webviewClass.vue:867","绘制图标失败,使用圆形色块代替:",Rw);const t=2===e?"#E6162D":"#07C160";J.value.drawRect({color:t,radius:Math.round(25)},{left:Math.round(i)+"px",top:Math.round(h)+"px",width:Math.round(l)+"px",height:Math.round(l)+"px"})}else{const n=2===e?"#E6162D":"#07C160";J.value.drawRect({color:n,radius:Math.round(25)},{left:Math.round(i)+"px",top:Math.round(h)+"px",width:Math.round(l)+"px",height:Math.round(l)+"px"})}J.value.drawText(n.text,{left:t+"px",top:g+"px",width:u+"px",height:r+uni.upx2px(20)+"px"},{size:r+"px",color:"#666666",align:"center",verticalAlign:"top"})}));const p=t-a;J.value.drawRect({color:"#F0F0F0"},{left:"0px",top:p-1+"px",width:n+"px",height:"1px"}),J.value.drawText("取消",{left:"0px",top:p+"px",width:n+"px",height:a+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle"});const m=()=>!Z.value&&(Z.value=!0,setTimeout((()=>{Z.value=!1}),300),!0);Q.value.addEventListener("touchend",(()=>{m()&&(x("log","at pages_app/webview/webviewClass.vue:954","遮罩被点击"),on())}),!1),J.value.addEventListener("touchend",(n=>{if(!m())return;x("log","at pages_app/webview/webviewClass.vue:960","面板被点击",n);const e=tn.value;let t=0,i=0;if(void 0!==n.clientX&&void 0!==n.clientY?(t=n.clientX,i=n.clientY):void 0!==n.pageX&&void 0!==n.pageY?(t=n.pageX,i=n.pageY):n.touches&&n.touches.length>0?(t=n.touches[0].clientX||n.touches[0].pageX||0,i=n.touches[0].clientY||n.touches[0].pageY||0):n.changedTouches&&n.changedTouches.length>0&&(t=n.changedTouches[0].clientX||n.changedTouches[0].pageX||0,i=n.changedTouches[0].clientY||n.changedTouches[0].pageY||0),x("log","at pages_app/webview/webviewClass.vue:982","原始坐标:",t,i),x("log","at pages_app/webview/webviewClass.vue:983","屏幕信息:",e),!t||!i)return void x("log","at pages_app/webview/webviewClass.vue:986","坐标无效");let l=i,o=t;i=e.screenH-e.panelH?(l=i-(e.screenH-e.panelH),o=t,x("log","at pages_app/webview/webviewClass.vue:1005","使用相对于屏幕的坐标,转换为相对视图:",o,l)):x("log","at pages_app/webview/webviewClass.vue:1012","坐标类型不确定,尝试直接使用");const a=e.panelH-e.cancelH;if(x("log","at pages_app/webview/webviewClass.vue:1017","取消区域判断: relativeY =",l,", cancelTop =",a),l>=a)return x("log","at pages_app/webview/webviewClass.vue:1024","点击了取消按钮"),void on();const s=e.contentTop,r=s+e.iconSize+e.textSize+uni.upx2px(20);if(x("log","at pages_app/webview/webviewClass.vue:1034","分享区域: relativeY =",l,", 范围 =",s,"到",r),l>=s&&l<=r){const n=e.screenW/c.length,t=Math.min(c.length-1,Math.max(0,Math.floor(o/n)));x("log","at pages_app/webview/webviewClass.vue:1051","点击了分享项:",t,", x =",o,", itemWidth =",n),0===t?(x("log","at pages_app/webview/webviewClass.vue:1076","执行微信分享"),sn(),on()):1===t&&(x("log","at pages_app/webview/webviewClass.vue:1080","执行朋友圈分享"),rn(),on())}else x("log","at pages_app/webview/webviewClass.vue:1086","点击位置不在分享区域内, relativeY =",l,", 需要范围:",s,"到",r)}),!1)}function on(){X.value&&(Q.value&&Q.value.hide(),J.value&&J.value.hide(),X.value=!1)}function an(){en.value&&(nn.value&&nn.value.hide(),xn.value&&xn.value.hide(),en.value=!1)}const sn=()=>{M(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"huanjiao_news"==u.value?"肝胆新闻":"患教文库",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:1373",n)})),uni.downloadFile({url:b.value,success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneSession",type:0,title:v.value,summary:f.value,href:h.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/webview/webviewClass.vue:1393","分享微信成功"),x("log","at pages_app/webview/webviewClass.vue:1394","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/webview/webviewClass.vue:1397","fail:"+JSON.stringify(n))}})}})}}),K()};l((()=>{on(),an()})),s((()=>{try{T.value&&T.value.close&&T.value.close(),Q.value&&Q.value.close&&Q.value.close(),J.value&&J.value.close&&J.value.close(),nn.value&&nn.value.close&&nn.value.close(),xn.value&&xn.value.close&&xn.value.close()}catch(Rw){}Q.value=null,J.value=null,nn.value=null,xn.value=null,T.value=null,X.value=!1,en.value=!1}));const rn=()=>{M(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"huanjiao_news"==u.value?"肝胆新闻":"患教文库",resource_name:v.value,resource_option:V.value}},(n=>{x("log","at pages_app/webview/webviewClass.vue:1502",n)})),uni.downloadFile({url:b.value,success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneTimeline",type:0,title:v.value,summary:f.value,href:h.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/webview/webviewClass.vue:1522","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/webview/webviewClass.vue:1526","fail:"+JSON.stringify(n))}})},fail:function(n){x("log","at pages_app/webview/webviewClass.vue:1531","fail:"+JSON.stringify(n))}})}}),K()},cn=()=>{uni.share({provider:"sinaweibo",type:0,title:v.value,summary:f.value,href:h.value,imageUrl:ig,success:function(n){x("log","at pages_app/webview/webviewClass.vue:1573","分享成功")},fail:function(n){x("log","at pages_app/webview/webviewClass.vue:1576","fail:"+JSON.stringify(n))}}),K()};return(x,t)=>{const i=e(n.resolveDynamicComponent("uni-icons"),d),l=e(n.resolveDynamicComponent("uni-nav-bar"),m),o=e(n.resolveDynamicComponent("uni-popup"),Zh);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"container",style:n.normalizeStyle({backgroundColor:g.value})},[n.createElementVNode("view",{class:"navbox",style:{"z-index":"9999999999999999999999999999999"}},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(l,{title:c.value,onClickLeft:[H,H],color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{left:n.withCtx((()=>[n.createElementVNode("view",{class:"back-hit",onClick:n.withModifiers(H,["stop"])},[n.createVNode(i,{type:"left",size:"22",color:"#8B2316"})])])),right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[y.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"collect-img",onClick:W},[n.createElementVNode("image",{class:"share-img-icon",src:n.unref(ng),mode:"aspectFill"},null,8,["src"])])):n.createCommentVNode("",!0)])])),_:1},8,["title"])])],4),h.value&&!q.value?(n.openBlock(),n.createElementBlock("web-view",{key:0,src:h.value,"webview-styles":A.value},null,8,["src","webview-styles"])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"bottom-box"},[n.createElementVNode("view",{class:"bottom-cell"},[n.createElementVNode("image",{class:"bottom-cell-img",src:n.unref("/static/reading.png")},null,8,["src"]),n.createElementVNode("text",{class:"bottom-cell-text"},n.toDisplayString(U(k.value)),1)]),n.createElementVNode("view",{class:"bottom-cell",onClick:R},[n.createElementVNode("image",{class:"bottom-cell-img",src:1==E.value?n.unref("/static/argee_sure.png"):n.unref("/static/argee_no.png")},null,8,["src"]),n.createElementVNode("text",{class:"bottom-cell-text"},n.toDisplayString(U(_.value)),1)]),n.createElementVNode("view",{class:"bottom-cell",onClick:O},[n.createElementVNode("image",{class:"bottom-cell-img",src:1==z.value?n.unref(og):n.unref(ag)},null,8,["src"]),n.createElementVNode("text",{class:"bottom-cell-text"},"收藏")]),n.createElementVNode("view",{class:"bottom-cell",onClick:W},[n.createElementVNode("image",{class:"bottom-cell-img",src:n.unref(ng)},null,8,["src"]),n.createElementVNode("text",{class:"bottom-cell-text"},"分享")])]),n.createVNode(o,{ref_key:"shareRef",ref:G,type:"bottom",safeArea:"",backgroundColor:"#fff"},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"share-popup"},[n.createElementVNode("view",{class:"share-title"},"分享到"),n.createElementVNode("view",{class:"share-content"},[n.createElementVNode("view",{class:"share-item",onClick:sn},[n.createElementVNode("view",{class:"share-icon wechat-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(eg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"微信")]),n.createElementVNode("view",{class:"share-item",onClick:rn},[n.createElementVNode("view",{class:"share-icon moments-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(tg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"朋友圈")]),n.createElementVNode("view",{class:"share-item",onClick:cn},[n.createElementVNode("view",{class:"share-icon weibo-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(xg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"新浪微博")])]),n.createElementVNode("view",{class:"share-cancel",onClick:K},[n.createElementVNode("text",null,"取消")])])])),_:1},512)],64)}}},rg=h({__name:"scanLogin",setup(t){n.ref(!1);const i=n.ref("");o((n=>{x("log","at pages_app/scanLogin/scanLogin.vue:42","扫码登录页面加载完成",n),n.code&&(i.value=n.code)}));const l=n=>{let e=uni.getStorageSync("userInfo"),t="";t=n?"watchliveTo}"+i.value+"}"+e.uuid+","+e.realName+","+e.photo:"watchliveCancel}"+i.value+"}"+e.uuid+","+e.realName+","+e.photo;let l=_h(t,"deoep09_klodLdAo");uni.request({url:Ih+"/watchlive/sendWebsocketMsg",method:"POST",data:{message:l},header:{"Content-Type":"application/x-www-form-urlencoded"},success:e=>{x("log","at pages_app/scanLogin/scanLogin.vue:66",e),1==e.data.code?(uni.navigateBack(),n&&uni.showToast({title:"操作成功",icon:"none"})):uni.showToast({title:e.data.message,icon:"none"})}})};return(x,t)=>{const i=e(n.resolveDynamicComponent("up-image"),Jn);return n.openBlock(),n.createElementBlock("view",{class:"scan-login-container"},[n.createVNode(y,{title:"扫码登录"}),n.createElementVNode("view",{class:"main-content"},[n.createElementVNode("view",{class:"connection-area"},[n.createVNode(i,{src:n.unref("/static/pcquer.png"),width:"420rpx",height:"187rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"tips-text"},[n.createElementVNode("text",{class:"main-tip"},"确认电脑登录"),n.createElementVNode("text",{class:"sub-tip"},"为确保账号安全,请确认是您本人操作")]),n.createElementVNode("view",{class:"button-area"},[n.createElementVNode("button",{class:"confirm-btn",onClick:t[0]||(t[0]=n=>l(!0))},"确认登录"),n.createElementVNode("button",{class:"cancel-btn",onClick:t[1]||(t[1]=n=>l(!1))},"取消登录")])])])}}},[["__scopeId","data-v-a938a4ce"]]),cg=h({__name:"meetHistroySearch",setup(t){const i=n.ref(""),l=n.ref(!1),o=n.ref(!1),a=n.ref(!0),s=n.ref(!0),r=n.ref(1),c=n.ref(10),u=n.ref([]),h=()=>{i.value?(r.value=1,a.value=!0,u.value=[],p()):uni.showToast({title:"请输入搜索内容",icon:"none"})},g=()=>{uni.navigateBack({fail:()=>{uni.redirectTo({url:"/pages/index/index"})}})},p=async(n=!1)=>{if(!o.value||n){n?l.value=!0:o.value=!0;try{const e={page:r.value,pageSize:c.value,year:"",title:i.value,month:""};x("log","at pages_app/meetHistroySearch/meetHistroySearch.vue:176","获取会议列表参数:",e);const t=await Fl.meetingHistoryList(e);if(t&&200===t.code){const{list:e,totalPage:i,pageNumber:l}=t.data||{};n?(u.value=e||[],r.value=1):u.value=[...u.value,...e||[]],x("log","at pages_app/meetHistroySearch/meetHistroySearch.vue:188","会议列表数据:",u.value),a.value=i>l,s.value=u.value.length>0}}catch(e){x("error","at pages_app/meetHistroySearch/meetHistroySearch.vue:193","加载会议数据失败:",e)}finally{l.value=!1,o.value=!1}}},m=()=>{r.value=1,a.value=!0,p(!0)},y=()=>{a.value&&!o.value&&(r.value++,p())},f=n=>n?Xl(n).format("YYYY.MM.DD"):"";return(x,t)=>{const r=e(n.resolveDynamicComponent("uni-icons"),d),c=e(n.resolveDynamicComponent("up-image"),Jn);return n.openBlock(),n.createElementBlock("view",{class:"page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createElementVNode("view",{class:"search-header"},[n.createElementVNode("view",{class:"back-icon",onClick:g},[n.createVNode(r,{type:"left",size:"30",color:"#8B2316"})]),n.createElementVNode("view",{class:"search-input-wrapper"},[n.createElementVNode("view",{class:"search-icon"},[n.createVNode(r,{type:"search",size:"20",color:"#999"})]),n.withDirectives(n.createElementVNode("input",{class:"search-input",placeholder:"搜索会议关键字","onUpdate:modelValue":t[0]||(t[0]=n=>i.value=n),onInput:t[1]||(t[1]=(...n)=>x.onSearchInput&&x.onSearchInput(...n)),onConfirm:t[2]||(t[2]=(...n)=>x.onSearchConfirm&&x.onSearchConfirm(...n)),"confirm-type":"search"},null,544),[[n.vModelText,i.value]]),i.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"clear-icon",onClick:t[3]||(t[3]=(...n)=>x.clearSearch&&x.clearSearch(...n))},[n.createVNode(r,{type:"clear",size:"20",color:"#999"})])):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"cancel-btn",onClick:h},[n.createElementVNode("text",{class:"cancel-text"},"搜索")])])]),n.createElementVNode("scroll-view",{class:"scroll-content","scroll-y":"true","refresher-enabled":"true","refresher-triggered":l.value,"refresher-threshold":100,onRefresherrefresh:m,onScrolltolower:y,"lower-threshold":100},[u.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(u.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"meeting-item",onClick:n=>(n=>{const x=encodeURIComponent(n.path);let e=encodeURIComponent("https://doc.igandan.com/app/html/img/2016/20160714132557.png");uni.navigateTo({url:`/pages_app/webview/webview?url=${x}&sharetitle=${n.title}&bg=1&type=live_old&imgPath=${e}&share=1&title=会议详情`})})(x),key:x.id||e},[n.createElementVNode("view",{class:"meeting-content"},[n.createElementVNode("text",{class:"meeting-title"},n.toDisplayString(x.title||x.name),1),n.createElementVNode("view",{class:"meeting-info"},[n.createElementVNode("view",{class:"meeting-time"},[n.createElementVNode("view",{class:"timebox"},[n.createVNode(c,{src:n.unref(Fc),width:"24rpx",height:"24rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"text"},n.toDisplayString(f(x.begin_date)),1),f(x.end_date)!=f(x.begin_date)?(n.openBlock(),n.createElementBlock("view",{key:0,class:"text"},n.toDisplayString("-"+f(x.end_date)),1)):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"meeting-location"},[n.createVNode(r,{type:"location",size:"14",color:"#999"}),n.createTextVNode(" "+n.toDisplayString(x.location),1)])])])],8,["onClick"])))),128))])):l.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)])),s.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more"},[o.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more-content"},[n.createVNode(r,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",{class:"load-more-text"},"加载中...")])):a.value&&u.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:1,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"上拉加载更多")])):u.value.length>0&&!o.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"没有更多数据了")])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],40,["refresher-triggered"])])}}},[["__scopeId","data-v-772219d3"]]),ug=h({__name:"meetHistroy",setup(t){const a=n.ref(!1),s=n.ref(!1),r=n.ref(""),c=n.ref(""),u=n.ref(""),h=n.ref(""),g=n.ref(!1),p=n.ref(!1),y=n.ref(!0),f=n.ref(!0),b=n.ref(1),v=n.ref(10),w=n.ref([]),z=()=>{uni.navigateBack({fail:()=>{uni.redirectTo({url:"/pages/index/index"})}})};i((()=>{})),l((()=>{}));const j=n.ref([]),k=n.ref([]),_=()=>{const n=[],e=new Date,t=e.getFullYear(),i=e.getMonth()+1;if(r.value&&r.value===t.toString())for(let x=1;x<=i;x++)n.push({code:x,name:`${x}月`});else for(let x=1;x<=12;x++)n.push({code:x,name:`${x}月`});k.value=n,x("log","at pages_app/meetHistroy/meetHistroy.vue:234","生成月份列表:",k.value)};n.onMounted((()=>{(()=>{const n=[],e=(new Date).getFullYear();for(let x=0;x<10;x++){const t=e-x;n.push({value:t.toString(),label:`${t}年`,year:t})}j.value=n,x("log","at pages_app/meetHistroy/meetHistroy.vue:202","生成年份列表:",j.value)})(),_()}));const E=()=>{Ul({url:"/pages_app/meetHistroySearch/meetHistroySearch"})};o((()=>{b.value=1,y.value=!0,N()}));const N=async(n=!1)=>{if(!p.value||n){n?g.value=!0:p.value=!0;try{const e={page:b.value,pageSize:v.value,year:r.value,title:"",month:u.value};x("log","at pages_app/meetHistroy/meetHistroy.vue:272","获取会议列表参数:",e);const t=await Fl.meetingHistoryList(e);if(t&&200===t.code){const{list:x,totalPage:e,pageNumber:i}=t.data||{};n?(w.value=x||[],b.value=1):w.value=[...w.value,...x||[]],y.value=e>i,f.value=w.value.length>0}}catch(e){x("error","at pages_app/meetHistroy/meetHistroy.vue:289","加载会议数据失败:",e)}finally{g.value=!1,p.value=!1}}},S=()=>{b.value=1,y.value=!0,N(!0)},C=()=>{y.value&&!p.value&&(b.value++,N())},q=()=>{a.value=!a.value},T=()=>{a.value=!1},V=()=>{""!==r.value?s.value=!s.value:uni.showToast({title:"请先选择年份",icon:"none"})},A=()=>{s.value=!1};return(t,i)=>{const l=e(n.resolveDynamicComponent("uni-icons"),d),o=e(n.resolveDynamicComponent("uni-nav-bar"),m),b=e(n.resolveDynamicComponent("up-image"),Jn);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(o,{"left-icon":"left",title:"过往会议",onClickLeft:z,color:"#8B2316",border:!1,backgroundColor:"#eee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-right"},[n.createVNode(l,{type:"search",size:"24",color:"#8B2316",onClick:E})])])),_:1})]),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"filter-bar"},[n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:c.value}]),onClick:q},[n.createElementVNode("text",null,n.toDisplayString(c.value?c.value:"会议年份"),1),n.createVNode(b,{src:c.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:h.value}]),onClick:V},[n.createElementVNode("text",null,n.toDisplayString(h.value?h.value:"会议月份"),1),n.createVNode(b,{src:h.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2)]),n.createElementVNode("scroll-view",{class:"scroll-content","scroll-y":"true","refresher-enabled":"true","refresher-triggered":g.value,"refresher-threshold":100,onRefresherrefresh:S,onScrolltolower:C,"lower-threshold":100},[w.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(w.value,((x,e)=>{return n.openBlock(),n.createElementBlock("view",{class:"meeting-item",onClick:n=>(n=>{const x=encodeURIComponent(n.path);let e=encodeURIComponent("https://doc.igandan.com/app/html/img/2016/20160714132557.png");uni.navigateTo({url:`/pages_app/webview/webview?url=${x}&sharetitle=${n.title}&bg=1&type=live_old&imgPath=${e}&share=1&title=会议详情`})})(x),key:x.id||e},[n.createElementVNode("view",{class:"meeting-content"},[n.createElementVNode("text",{class:"meeting-title"},n.toDisplayString(x.title||x.name),1),n.createElementVNode("view",{class:"meeting-info"},[n.createElementVNode("view",{class:"meeting-time"},[n.createElementVNode("view",{class:"timebox"},[n.createVNode(b,{src:n.unref(Fc),width:"24rpx",height:"24rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"text"},n.toDisplayString((t=x.begin_date,t?Xl(t).format("YYYY.MM.DD"):"")),1)]),n.createElementVNode("view",{class:"meeting-location"},[n.createVNode(l,{type:"location",size:"14",color:"#999"}),n.createTextVNode(" "+n.toDisplayString(x.location),1)])])])],8,["onClick"]);var t})),128))])):g.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)])),f.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more"},[p.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more-content"},[n.createVNode(l,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",{class:"load-more-text"},"加载中...")])):y.value&&w.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:1,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"上拉加载更多")])):w.value.length>0&&!p.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"没有更多数据了")])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],40,["refresher-triggered"]),a.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"time-popup",onClick:T},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[0]||(i[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(j.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:r.value===e.value}]),key:t,onClick:n=>(n=>{r.value=n.value,c.value=n.label,x("log","at pages_app/meetHistroy/meetHistroy.vue:324","选择年份:",n.label),_(),u.value="",N(!0),T()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.label),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),s.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"time-popup",onClick:A},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[1]||(i[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(k.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:u.value===e.code}]),key:t,onClick:n=>(n=>{u.value=n.code,h.value=n.name,x("log","at pages_app/meetHistroy/meetHistroy.vue:358","选择月份:",n.name),N(!0),A()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.name),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0)])],64)}}},[["__scopeId","data-v-138d212b"]]),hg={en:{"uni-load-more.contentdown":"Pull up to show more","uni-load-more.contentrefresh":"loading...","uni-load-more.contentnomore":"No more data"},"zh-Hans":{"uni-load-more.contentdown":"上拉显示更多","uni-load-more.contentrefresh":"正在加载...","uni-load-more.contentnomore":"没有更多数据了"},"zh-Hant":{"uni-load-more.contentdown":"上拉顯示更多","uni-load-more.contentrefresh":"正在加載...","uni-load-more.contentnomore":"沒有更多數據了"}};let gg;setTimeout((()=>{gg=uni.getSystemInfoSync().platform}),16);const{t:dg}=cx(hg);const pg=h({name:"UniLoadMore",emits:["clickLoadMore"],props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},iconType:{type:String,default:"auto"},iconSize:{type:Number,default:24},color:{type:String,default:"#777777"},contentText:{type:Object,default:()=>({contentdown:"",contentrefresh:"",contentnomore:""})},showText:{type:Boolean,default:!0}},data:()=>({webviewHide:!1,platform:gg,imgBase64:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QzlBMzU3OTlEOUM0MTFFOUI0NTZDNERBQURBQzI4RkUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QzlBMzU3OUFEOUM0MTFFOUI0NTZDNERBQURBQzI4RkUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJR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4VGbfQWnDH2v0bVWE3C9QOXlepbgjEfIJQI6XDG3z5ahD9cw2pS78ipB85wyScNTvsVzlzzhL8/jRrnmVjfFJK/m3m4nj9vbgQTguT8XZTjsm672R5uJKEaQmBI/c58gyus8ZDagLpEVSJBIyHp4jn++xqPV71OgQgJYEWOtZ/haxRtKmWOBu8xdBLftWltsY84zE6WIEy/eIOWL+BaayMx+KHtL7EAkqdNDLiEXmEMUHniedtJqg9HmZtfvt26vNi0BdG3Ft3g8ZOf7PAu59TxtzivLNIekyi+wD1i8CuUiD9FXAa8C+/xS3JPmZnomyc7H+fb4/Se0bk41Fel621r4cgVxbq91V4jVqwB7HTe2M7jgB+QWHavZkDRPmZcASoZEmBx6i75bGjPcMdL4/VKGFAGWZkGzPG0XAbdL9A81G5LOmUnC9hHKJeO7dcUMjblSl12867ElFTtaGl20xvvLGPdVz/8TVuU7y0x1PG7vtNg24oz9Uo/Z412++VFWI7Fcog9tu9Lm6gvRmIPv9x1xmQAu6RDkXtbOtlGEmpgD5Nvnyc0dcv0EE6cfdi1HmhMf9wDF3k3gtRvEedhxjpgfqPb9PU9iEJHnyOUA7bQUXh6kq/D7l2iTjWv7XOD530BDr8jIrus+srXjt4MzumJMHuTsBa63YKE1+RR5lBjEikCCnWKWiHdzOgKO+nRIBAF88za/IFmJ3eMZov4CYxGBabcpGL8EYx+SeMXJeRwHNsV/h+vdxeuhEpN3ZyNY78Gm2fknJxVGhyjixPiQvVkNzT1elD9Py/aTAL64Hb9vcYmC9zfdXdT/C1LeGbg4rnBaAihDFJH12W5ulfNCNe/xTsP3bp8ikzJs5BF+5PNfAQYAPaseTdsEcaYAAAAASUVORK5CYII="}),computed:{iconSnowWidth(){return 2*(Math.floor(this.iconSize/24)||1)},contentdownText(){return this.contentText.contentdown||dg("uni-load-more.contentdown")},contentrefreshText(){return this.contentText.contentrefresh||dg("uni-load-more.contentrefresh")},contentnomoreText(){return this.contentText.contentnomore||dg("uni-load-more.contentnomore")}},mounted(){var n=getCurrentPages(),x=n[n.length-1].$getAppWebview();x.addEventListener("hide",(()=>{this.webviewHide=!0})),x.addEventListener("show",(()=>{this.webviewHide=!1}))},methods:{onClick(){this.$emit("clickLoadMore",{detail:{status:this.status}})}}},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:"uni-load-more",onClick:e[0]||(e[0]=(...n)=>o.onClick&&o.onClick(...n))},[!l.webviewHide&&("circle"===t.iconType||"auto"===t.iconType&&"android"===l.platform)&&"loading"===t.status&&t.showIcon?(n.openBlock(),n.createElementBlock("view",{key:0,style:n.normalizeStyle({width:t.iconSize+"px",height:t.iconSize+"px"}),class:"uni-load-more__img uni-load-more__img--android-MP"},[n.createElementVNode("view",{class:"uni-load-more__img-icon",style:n.normalizeStyle({borderTopColor:t.color,borderTopWidth:t.iconSize/12})},null,4),n.createElementVNode("view",{class:"uni-load-more__img-icon",style:n.normalizeStyle({borderTopColor:t.color,borderTopWidth:t.iconSize/12})},null,4),n.createElementVNode("view",{class:"uni-load-more__img-icon",style:n.normalizeStyle({borderTopColor:t.color,borderTopWidth:t.iconSize/12})},null,4)],4)):!l.webviewHide&&"loading"===t.status&&t.showIcon?(n.openBlock(),n.createElementBlock("view",{key:1,style:n.normalizeStyle({width:t.iconSize+"px",height:t.iconSize+"px"}),class:"uni-load-more__img uni-load-more__img--ios-H5"},[n.createElementVNode("image",{src:l.imgBase64,mode:"widthFix"},null,8,["src"])],4)):n.createCommentVNode("",!0),t.showText?(n.openBlock(),n.createElementBlock("text",{key:2,class:"uni-load-more__text",style:n.normalizeStyle({color:t.color})},n.toDisplayString("more"===t.status?o.contentdownText:"loading"===t.status?o.contentrefreshText:o.contentnomoreText),5)):n.createCommentVNode("",!0)])}],["__scopeId","data-v-a7e112cc"]]),mg="/static/video_all.png",yg="/static/video_select.png",fg="/static/all_video.png",bg="/static/select_video.png",vg="/static/cb_down.png",wg="/static/default_video.png",zg=h({__name:"replayList",setup(t){n.ref(!1);const i=n.ref([]);n.ref(1);const l=n.ref(!1),a=n.ref(!1),s=n.ref("more"),r=n.ref(1),c=n.ref(10),u=n.ref(!0);n.ref([]),n.ref(2),n.ref("");const h=n.ref("");n.ref("乙肝"),n.ref(!1),n.ref(!1),n.ref([]),n.reactive({});const g=n.ref("");n.ref([]),o((n=>{n.name&&(g.value=decodeURIComponent(n.name)),y()}));const p=()=>{Ul({url:`/pages_app/replayText/replayText?name=${g.value}`})},y=async()=>{const n=await Fl.getTypeUuidByName({name:g.value});200===n.code&&n.data&&(h.value=n.data,f())},f=async(n=!1)=>{if(!l.value||n){l.value=!0;try{const e=await Fl.videoByTypeNew({page:r.value,pageSize:c.value,typeUuid:h.value});x("log","at pages_app/replayList/replayList.vue:155","视频列表API原始响应:",e);let t={};if(e&&e.data?200===e.data.code?t=e.data.data||{}:200===e.code&&(t=e.data||{}):e&&200===e.code&&(t=e.data||{}),x("log","at pages_app/replayList/replayList.vue:169","解析后的视频数据:",t),!t||!t.list)throw new Error((null==e?void 0:e.message)||"获取数据失败");{const{list:e,totalPage:l,pageNumber:o}=t;x("log","at pages_app/replayList/replayList.vue:173","视频列表数据:",e),n?(i.value=e||[],r.value=1):i.value=[...i.value,...e||[]],u.value=l>o,s.value=u.value?"more":"noMore"}}catch(e){x("error","at pages_app/replayList/replayList.vue:189","加载视频失败:",e)}finally{l.value=!1,a.value=!1}}},b=()=>{a.value=!0,r.value=1,u.value=!0,f(!0)},v=()=>{u.value&&!l.value&&(s.value="loading",r.value++,f())},w=()=>{uni.navigateBack({fail(){uni.redirectTo({url:"/pages/index/index"})}})};return(t,o)=>{const r=e(n.resolveDynamicComponent("uni-nav-bar"),m),c=e(n.resolveDynamicComponent("up-image"),Jn),u=e(n.resolveDynamicComponent("uni-icons"),d),h=e(n.resolveDynamicComponent("uni-load-more"),pg);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(r,{"left-icon":"left",onClickLeft:w,title:g.value,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-right",onClick:p}," 精选 ")])),_:1},8,["title"])]),n.createElementVNode("view",{class:"video-page"},[n.createElementVNode("scroll-view",{class:"scroll-view","scroll-y":"true","refresher-enabled":"true","refresher-triggered":a.value,onRefresherrefresh:b,onScrolltolower:v,"lower-threshold":"100"},[n.createElementVNode("view",{class:"video-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"video-item",key:e.id||e.uuid,onClick:n=>(n=>{x("log","at pages_app/replayList/replayList.vue:220",n),Ul({url:`/pages_app/videoDetail/videoDetail?id=${n.id||n.uuid}`})})(e)},[n.createElementVNode("view",{class:"video-thumbnail"},[n.createVNode(c,{src:n.unref($l)+e.imgpath,mode:"aspectFill",loadingIcon:n.unref(wg),errorIcon:n.unref(wg),height:"200rpx",width:"100%","lazy-load":!0},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),mode:"aspectFill",height:"200rpx",width:"100%"},null,8,["src"])])),loading:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),mode:"aspectFill",height:"200rpx",width:"100%"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon"])]),n.createElementVNode("view",{class:"video-info"},[n.createElementVNode("view",{class:"video-title"},n.toDisplayString(e.title||e.name),1),n.createElementVNode("view",{class:"video-meta"},[n.createElementVNode("text",{class:"author"},n.toDisplayString(e.public_name),1),n.createElementVNode("view",{class:"stats"},[n.createVNode(u,{type:"eye",size:"14",color:"#999"}),n.createElementVNode("text",{class:"view-count"},n.toDisplayString(e.readnum),1)])])])],8,["onClick"])))),128))]),i.value.length>0?(n.openBlock(),n.createBlock(h,{key:0,status:s.value,"content-text":{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}},null,8,["status","content-text"])):n.createCommentVNode("",!0),0!==i.value.length||l.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)]))],40,["refresher-triggered"])])],64)}}},[["__scopeId","data-v-1744a63d"]]),jg=h({__name:"liveReplay",setup(t){const a=n.ref("");o((n=>{n.from&&(a.value=n.from)}));const s=n.ref(!1),r=n.ref(!1),c=n.ref(""),u=n.ref(""),h=n.ref(""),g=n.ref(""),p=n.ref(!1),m=n.ref(!1),f=n.ref(!0),b=n.ref(!0),v=n.ref(1),w=n.ref(10),z=n.ref(0),j=n.ref([]),k=n.ref([{code:1,name:"全国会议"},{code:2,name:"省级会议"},{code:3,name:"市级会议"},{code:4,name:"国际会议"},{code:0,name:"其他会议"}]),_=n.ref([]),E=n.computed((()=>{if(!_.value||0===_.value.length)return[];const n={};return _.value.forEach((e=>{const t=T(e.begin_date,"YYYY年MM月");n[t]||(n[t]={monthYear:t,items:[]}),n[t].items.push(e),x("log","at pages_app/liveReplay/liveReplay.vue:327",n)})),Object.values(n).sort(((n,x)=>{const e=Xl(n.items[0].begin_date);return Xl(x.items[0].begin_date).isBefore(e)?-1:1}))})),N=n=>{const x=["#f94438","#ffb93f","#4ecdc4","#92d758"];return x[n%x.length]};i((()=>{(()=>{const n=[],e=(new Date).getFullYear();for(let x=2016;x<=e;x++)n.push({value:x.toString(),label:`${x}年`,year:x});j.value=n.reverse(),x("log","at pages_app/liveReplay/liveReplay.vue:276","生成年份列表:",j.value)})(),S(!0)})),l((()=>{}));const S=async(n=!1)=>{n&&(v.value=1,f.value=!0,_.value=[]);const e={page:v.value,pageSize:w.value,year:c.value,type:h.value};try{x("log","at pages_app/liveReplay/liveReplay.vue:470","获取会议列表参数:",e);const t=await Fl.meetingV2Video(e);if(x("log","at pages_app/liveReplay/liveReplay.vue:472","会议列表API响应:",t),t&&200==t.code&&t.data){const{list:e,totalRow:i,pageNumber:l,totalPage:o}=t.data;if(x("log","at pages_app/liveReplay/liveReplay.vue:476","list",e),x("log","at pages_app/liveReplay/liveReplay.vue:477","解析后的数据:",{list:e,totalRow:i,pageNumber:l,totalPage:o}),Array.isArray(e)&&e.length>=0){const t=e.map((n=>{const x=Xl(n.begin_date).format("DD"),e=C(n.status),t=T(n.begin_date,"YYYY.MM.DD");return{id:n.id,begin_date:x,tagColor:e,title:n.title,liveimg:n.liveimg,poster:n.liveimg,time:t,location:n.location||"线上",status:q(n.status),originalData:n,begin_date_timestamp:n.begin_date_timestamp,end_date_timestamp:n.end_date_timestamp,begin_date:n.begin_date,end_date:n.end_date,liveurl:n.liveurl,spareurl:n.spareurl,path:n.path,status_code:n.status}}));n?_.value=t:_.value.push(...t),f.value=o>l,b.value=i>0||0==!t.length,x("log","at pages_app/liveReplay/liveReplay.vue:525","会议列表更新成功,当前总数:",_.value.length)}else x("log","at pages_app/liveReplay/liveReplay.vue:528","API返回的数据为空"),n&&(_.value=[])}else x("log","at pages_app/liveReplay/liveReplay.vue:534","API响应格式不正确:",t),n&&(_.value=[])}catch(t){x("error","at pages_app/liveReplay/liveReplay.vue:540","获取会议列表失败:",t),n&&(_.value=[]),uni.showToast({title:"获取会议列表失败",icon:"error",duration:2e3})}},C=n=>({1:"#FF4444",2:"#00BCD4",3:"#9C27B0",4:"#4CAF50",5:"#FF9800"}[n]||"#FF4444"),q=n=>({1:"预告",2:"直播中",3:"已结束",4:"已完成",5:"已取消"}[n]||"已结束"),T=(n,e="YYYY-MM")=>{if(!n)return"";try{const t=Xl(n);if(!t.isValid())return x("error","at pages_app/liveReplay/liveReplay.vue:598","无效的日期:",n),"";switch(e){case"YYYY-MM":return t.format("YYYY-MM");case"YYYY-MM-DD":return t.format("YYYY-MM-DD");case"YYYY-MM-DD HH:mm":return t.format("YYYY-MM-DD HH:mm");case"YYYY-MM-DD HH:mm:ss":return t.format("YYYY-MM-DD HH:mm:ss");case"YYYY年MM月":return t.format("YYYY年MM月");case"YYYY年MM月DD日":return t.format("YYYY年MM月DD日");case"MM月":return t.format("MM月");case"MM月DD日":return t.format("MM月DD日");case"YYYY.MM.DD":return t.format("YYYY.MM.DD");case"MM-DD":return t.format("MM-DD");case"MM/DD":return t.format("MM/DD");case"YYYY/MM/DD":return t.format("YYYY/MM/DD");default:return t.format(e)}}catch(t){return x("error","at pages_app/liveReplay/liveReplay.vue:632","日期格式化失败:",t),""}},V=()=>{s.value=!s.value},A=()=>{s.value=!1},I=()=>{r.value=!r.value},B=()=>{r.value=!1},D=n=>{(async n=>{const x=await Fl.getTypeUuidByName({name:n});200===x.code&&(x.data?Ul({url:"/pages_app/replayList/replayList?name="+encodeURIComponent(n)}):uni.showModal({title:"温馨提示",content:"该会议视频暂不支持回放",showCancel:!1}))})(n.title)},M=()=>{p.value=!0,v.value=1,f.value=!0,S(!0).finally((()=>{setTimeout((()=>{p.value=!1,uni.showToast({title:"刷新成功",icon:"none",duration:1500})}),500)}))},O=()=>{x("log","at pages_app/liveReplay/liveReplay.vue:758","上拉加载更多"),!m.value&&f.value&&(m.value=!0,v.value++,S(!1).finally((()=>{m.value=!1})))};return(t,i)=>{const l=e(n.resolveDynamicComponent("up-image"),Jn),o=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{title:"video"==a.value?"肝胆视频":"肝胆回放"},null,8,["title"]),n.createElementVNode("view",{class:"page"},[n.createElementVNode("view",{class:"filter-bar"},[n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:u.value}]),onClick:V},[n.createElementVNode("text",null,n.toDisplayString(u.value?u.value:"会议时间"),1),n.createVNode(l,{src:u.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2),n.createElementVNode("view",{class:"filter-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["filter-item",{active:g.value}]),onClick:I},[n.createElementVNode("text",null,n.toDisplayString(g.value?g.value:"会议类别"),1),n.createVNode(l,{src:g.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx"},null,8,["src"])],2)]),n.createElementVNode("scroll-view",{ref:"scrollView",class:"scroll-content","scroll-y":"true","refresher-enabled":"true","refresher-triggered":p.value,"refresher-threshold":100,onRefresherrefresh:M,onScrolltolower:O,"lower-threshold":100,"scroll-top":z.value,"enable-back-to-top":!0},[_.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(E.value,((x,e)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:e},[n.createElementVNode("view",{class:"time-header"},n.toDisplayString(x.monthYear),1),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(x.items,((x,e)=>{return n.openBlock(),n.createElementBlock("view",{class:"meetcell",key:x.id||e},[n.createElementVNode("view",{class:"meeting-item"},[n.createElementVNode("view",{class:"date-tag",style:n.normalizeStyle({backgroundColor:N(e)})},[n.createElementVNode("text",{class:"date-text",style:n.normalizeStyle({color:N(e)})},n.toDisplayString((t=x.begin_date,t?T(t,"DD"):"")),5)],4),n.createElementVNode("view",{class:"meeting-content"},[n.createElementVNode("view",{class:"meeting-title"},n.toDisplayString(x.title),1),x.liveimg?(n.openBlock(),n.createElementBlock("view",{key:0,class:"meeting-poster",onClick:n=>D(x)},[n.createVNode(l,{src:n.unref($l)+x.liveimg,class:"poster-image",mode:"aspectFill",loadingIcon:n.unref(Th),errorIcon:n.unref(Th),"lazy-load":!0,width:"100%",height:"320rpx","data-item-id":x.id},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(Th),class:"poster-image",mode:"aspectFill"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon","data-item-id"]),n.createElementVNode("view",{class:"play-btn"},[n.createVNode(l,{src:n.unref(Lc),width:"108rpx",height:"108rpx"},null,8,["src"])])],8,["onClick"])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"meeting-info"},[n.createElementVNode("view",{class:"info-item"},[n.createElementVNode("view",{class:"timebox"},[n.createVNode(l,{src:n.unref(Fc),width:"24rpx",height:"24rpx"},null,8,["src"])]),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(T(x.begin_date,"YYYY.MM.DD")),1),T(x.end_date,"YYYY.MM.DD")!=T(x.begin_date,"YYYY.MM.DD")?(n.openBlock(),n.createElementBlock("text",{key:0,class:"info-text"},n.toDisplayString("-"+T(x.end_date,"YYYY.MM.DD")),1)):n.createCommentVNode("",!0)]),n.createElementVNode("view",{class:"info-item"},[n.createVNode(o,{type:"location",size:"14",color:"#999"}),n.createElementVNode("text",{class:"info-text"},n.toDisplayString(x.location),1)])])])])]);var t})),128))],64)))),128))])):p.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)])),b.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more"},[m.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"load-more-content"},[n.createVNode(o,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",{class:"load-more-text"},"加载中...")])):f.value&&_.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:1,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"上拉加载更多")])):_.value.length>0&&!m.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"load-more-content"},[n.createElementVNode("text",{class:"load-more-text"},"没有更多数据了")])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],40,["refresher-triggered","scroll-top"]),s.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"time-popup",onClick:A},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[0]||(i[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(j.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:c.value===e.value}]),key:t,onClick:n=>(n=>{c.value=n.value,u.value=n.label,x("log","at pages_app/liveReplay/liveReplay.vue:668","选择月份:",n.label),S(!0),A()})(e)},[n.createElementVNode("text",null,n.toDisplayString(e.label),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0),r.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"time-popup",onClick:B},[n.createElementVNode("view",{class:"popup-mask"}),n.createElementVNode("view",{class:"time-popup-content",onClick:i[1]||(i[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"time-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(k.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["time-item",{active:h.value===x.code}]),key:e,onClick:n=>(n=>{h.value=n.code,g.value=n.name,S(!0),B()})(x)},[n.createElementVNode("text",null,n.toDisplayString(x.name),1)],10,["onClick"])))),128))])])])):n.createCommentVNode("",!0)])],64)}}},[["__scopeId","data-v-2e0d17d4"]]),kg=500,_g=h({__name:"reply",setup(t){const i=n.ref(""),l=n.ref(""),a=n.ref("");o((n=>{i.value=n.video_uuid,c.value="回复 "+n.name+":",a.value=n.comment_partent,l.value=n.name})),n.ref(0);const s=n.ref(""),r=n.ref(!1),c=n.ref(""),u=n.computed((()=>s.value.length)),h=n.computed((()=>s.value.trim().length>0&&!r.value));n.computed((()=>kg-u.value)),n.watch(s,(n=>{n.length>kg&&(s.value=n.slice(0,kg))}));n.onUnmounted((()=>{}));const g=()=>{uni.navigateBack()},d=async()=>{if(x("log","at pages_app/reply/reply.vue:99",1111),h.value){r.value=!0;try{(async()=>{200==(await Fl.addCommentV2({article_uuid:i.value,type:"8",comment:s.value+"||"+l.value+":"+a.value})).code&&(uni.$emit("replySuccess",!0),x("log","at pages_app/reply/reply.vue:80","replySuccess"),uni.showToast({title:"回复成功",icon:"none"}),s.value="",uni.navigateBack())})()}catch(n){x("error","at pages_app/reply/reply.vue:107","回复失败:",n),uni.showToast({title:"回复失败,请重试",icon:"error"})}finally{r.value=!1}}};return(x,t)=>{const i=e(n.resolveDynamicComponent("uni-nav-bar"),m);return n.openBlock(),n.createElementBlock("view",{class:"reply-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(i,{"left-icon":"left",title:"回复",onClickLeft:g,color:"#8B2316",border:!1,backgroundColor:"#eee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-right",onClick:d},[n.createElementVNode("view",{class:"btn-confirm"},"确定")])])),_:1})]),n.createElementVNode("view",{class:"main-content"},[n.createElementVNode("view",{class:"input-container"},[n.withDirectives(n.createElementVNode("textarea",{class:"reply-input","onUpdate:modelValue":t[0]||(t[0]=n=>s.value=n),"adjust-position":!1,placeholder:c.value,"auto-height":!0,maxlength:kg,disabled:r.value},null,8,["placeholder","disabled"]),[[n.vModelText,s.value]])])])])}}},[["__scopeId","data-v-c5d329d5"]]),Eg="/static/search.png",Ng="/static/videoPlaceholder.png",Sg={__name:"video",setup(t){const i=n.ref(!1),l=n.ref([]);n.ref(null),n.ref(1);const a=n.ref(!1),s=n.ref(!1),c=n.ref("more"),u=n.ref(1),h=n.ref(10),g=n.ref(!0),p=n.ref([]),y=n.ref(2),f=n.ref(""),b=n.ref(""),v=n.ref("全部视频"),w=n.ref([]),z=n.ref(0),j=n.ref(!1),k=n.ref(!1),_=n.ref([]),E=n.reactive({}),N=n.ref("");r((()=>{if(!N.value)return plus.runtime.quit(),!0}));const S=()=>{uni.sendNativeEvent("goHomeSearch",{msg:"meetVideo"},(n=>{x("log","at pages_app/video/video.vue:371",n)}))},C=()=>{uni.navigateTo({url:"/pages_app/liveReplay/liveReplay?from=video"})},q=n.ref([{name:"指南解读",selected:!1},{name:"病例分析",selected:!1},{name:"学术讲座",selected:!1},{name:"手术视频",selected:!1},{name:"研究进展",selected:!1},{name:"肝病治疗",selected:!1},{name:"肝癌诊断",selected:!1},{name:"肝移植",selected:!1},{name:"微创手术",selected:!1},{name:"免疫治疗",selected:!1},{name:"靶向治疗",selected:!1},{name:"化疗方案",selected:!1}]),T=n.ref(!1),V=n.ref("全部"),A=n.ref([{value:"all",label:"全部"}]),I=n.ref({all:[]}),B=n.ref([]);n.onMounted((()=>{}));const D=n=>{let x=n.substring(0,4),e=n.substring(4,n.length),t=x.lastIndexOf("-");return t>-1?n.substring(t+1,4)+e:n};o((n=>{n.from&&(N.value=n.from),u.value=1,g.value=!0,L(!0),M(),O(),R(),setTimeout((()=>{P("all")}),500),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"list_page",page_type:"肝胆视频"}},(n=>{x("log","at pages_app/video/video.vue:445",n)}))}));const M=async()=>{try{const n=await Fl.videoRoll({});x("log","at pages_app/video/video.vue:453","轮播API原始响应:",n),w.value=n.data}catch(n){x("error","at pages_app/video/video.vue:456","加载轮播数据失败:",n)}},O=async()=>{try{const n=await Fl.videoTagList({type:2});x("log","at pages_app/video/video.vue:467","标签API原始响应:",n),200==n.code&&(q.value=n.data,x("log","at pages_app/video/video.vue:471",22222),x("log","at pages_app/video/video.vue:472",q.value))}catch(n){x("error","at pages_app/video/video.vue:475","加载视频标签失败:",n)}},R=async()=>{try{const n=await Fl.expertVideoTypeList({});if(x("log","at pages_app/video/video.vue:483","类型API原始响应:",n),200==n.code){_.value=n.data;let e=[{uuid:"",name:"全部视频"}];p.value=e.concat(n.data[0].list).filter((n=>!n.name.includes("BMS专家端"))),x("log","at pages_app/video/video.vue:488",33);let t=n.data.map((n=>({value:n.name,label:n.name})));A.value=t}x("log","at pages_app/video/video.vue:497",2222),x("log","at pages_app/video/video.vue:498",A.value)}catch(n){x("error","at pages_app/video/video.vue:500","加载视频类型失败:",n)}},P=async n=>{try{let e;if(x("log","at pages_app/video/video.vue:507","加载分类视频:",n),"全部"===n)e=await Fl.videoByKeyWordsNew({page:1,pageSize:20,keywords:"",sort:0,typeUuid:"",tags:""});else{const t=B.value.filter((x=>x.create_date===n));if(x("log","at pages_app/video/video.vue:526",`日期 ${n} 对应的视频类型:`,t),!(t.length>0))return x("warn","at pages_app/video/video.vue:545",`未找到日期 ${n} 对应的视频类型`),void(I.value[n]=[]);{const n=t.map((n=>n.id||n.uuid||n.value)).join(",");x("log","at pages_app/video/video.vue:533","类型UUID列表:",n),e=await Fl.videoByKeyWordsNew({page:1,pageSize:20,keywords:"",sort:0,typeUuid:n,tags:""})}}x("log","at pages_app/video/video.vue:551","分类视频API响应:",e);let t={};if(e&&e.data?200===e.data.code?t=e.data.data||{}:200===e.code&&(t=e.data||{}):e&&200===e.code&&(t=e.data||{}),x("log","at pages_app/video/video.vue:565","解析后的分类视频数据:",t),t&&t.list){const{list:e}=t;I.value[n]=e.map((n=>({id:n.id||n.uuid,title:n.title||n.name,name:n.name||n.title}))),x("log","at pages_app/video/video.vue:576",`分类 ${n} 的内容:`,I.value[n])}}catch(e){x("error","at pages_app/video/video.vue:582","加载分类视频失败:",e)}},L=async(n=!1)=>{if(!a.value||n){a.value=!0;try{x("log","at pages_app/video/video.vue:595","请求参数:",{page:u.value,pageSize:h.value,keywords:f.value,sort:y.value,typeUuid:b.value,tags:f.value});const e=await Fl.videoByKeyWordsNew({page:u.value,pageSize:h.value,keywords:f.value,sort:y.value,typeUuid:b.value});x("log","at pages_app/video/video.vue:612","视频列表API原始响应:",e);let t={};if(e&&e.data?200===e.data.code?t=e.data.data||{}:200===e.code&&(t=e.data||{}):e&&200===e.code&&(t=e.data||{}),x("log","at pages_app/video/video.vue:626","解析后的视频数据:",t),!t||!t.list)throw new Error((null==e?void 0:e.message)||"获取数据失败");{const{list:e,pageNumber:i,totalPage:o}=t;x("log","at pages_app/video/video.vue:630","视频列表数据:",e),n?(l.value=e||[],u.value=1):l.value=[...l.value,...e||[]],g.value=o>i,c.value=g.value?"more":"noMore"}}catch(e){x("error","at pages_app/video/video.vue:646","加载视频失败:",e)}finally{a.value=!1,s.value=!1}}},F=()=>{s.value=!0,u.value=1,g.value=!0,L(!0)},U=()=>{g.value&&!a.value&&(c.value="loading",u.value++,L())},$=()=>{Ul({url:"/pages_app/patientVideo/patientVideo?from=video"})},H=n=>{z.value=n.detail.current},Y=()=>{T.value=!1},G=()=>{k.value=!0},W=()=>{k.value=!1},K=()=>{q.value.forEach((n=>n.selected=!1)),j.value=!1,f.value="",u.value=1,g.value=!0,L(!0)},Q=()=>{let n="";const e=q.value.filter((n=>n.selected));x("log","at pages_app/video/video.vue:852","选中的筛选标签:",e);for(var t=0;t{N.value?uni.navigateBack():plus.runtime.quit()},X=()=>{y.value=1===y.value?2:1,u.value=1,g.value=!0,L(!0)};return(t,o)=>{const r=e(n.resolveDynamicComponent("uni-nav-bar"),m),h=e(n.resolveDynamicComponent("up-image"),Jn),f=e(n.resolveDynamicComponent("uni-icons"),d),N=e(n.resolveDynamicComponent("uni-load-more"),pg);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(r,{"left-icon":"left",title:"肝胆视频",onClickLeft:J,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[n.createElementVNode("view",{class:"collect-img",onClick:S,style:{"margin-right":"20rpx"}},[n.createElementVNode("image",{class:"img-icon",src:n.unref(Eg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("view",{class:"collect-img",onClick:C},[n.createElementVNode("image",{class:"img-icon",src:n.unref("/static/videoIcon.png"),mode:"aspectFill"},null,8,["src"])])])])),_:1})]),n.createElementVNode("view",{class:"video-page"},[n.createElementVNode("view",{class:"banner-container"},[n.createElementVNode("view",{class:"swipemask"},[w.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"banner-subtitle"},n.toDisplayString(w.value[z.value].name),1)):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"dotbox"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(w.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["circle",{active:z.value==e}]),key:x.id},null,2)))),128))])]),n.createElementVNode("swiper",{class:"banner-swiper","indicator-dots":!1,autoplay:!0,interval:5e3,duration:300,"indicator-color":"rgba(255,255,255,0.4)","indicator-active-color":"#fff",circular:"",onChange:H},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(w.value,((x,e)=>(n.openBlock(),n.createElementBlock("swiper-item",{key:x.id,onClick:n=>(n=>{Ul({url:`/pages_app/videoDetail/videoDetail?id=${n.id||n.uuid}`})})(x)},[n.createElementVNode("view",{class:"banner-item"},[n.createVNode(h,{class:"banner-image",src:n.unref($l)+x.imgpath,mode:"aspectFill",loadingIcon:n.unref(Ng),errorIcon:n.unref(Ng),"lazy-load":!0,width:"100%",height:"400rpx"},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(Ng),class:"banner-image",mode:"aspectFill"},null,8,["src"])])),loading:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(Ng),class:"banner-image",mode:"aspectFill"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon"])])],8,["onClick"])))),128))],32)]),n.createElementVNode("view",{class:"filter-tabs-container"},[n.createElementVNode("view",{class:"filter-tabs"},[n.createElementVNode("view",{class:"tab-item",onClick:o[0]||(o[0]=n=>T.value=!T.value)},[n.createVNode(h,{src:i.value?n.unref(yg):n.unref(mg),width:"30rpx",height:"30rpx"},null,8,["src"]),n.createElementVNode("text",{class:n.normalizeClass(["tab-text",{active:i.value}]),style:{"margin-top":"4rpx"}},n.toDisplayString(D(v.value)),3),n.createVNode(h,{src:i.value?n.unref(bg):n.unref(fg),width:"30rpx",height:"30rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"right"},[n.createElementVNode("view",{class:"tab-item",onClick:X},[n.createElementVNode("text",{class:"tab-text active"},n.toDisplayString(2==y.value?"最新":"最热"),1),n.createElementVNode("view",{class:"newbox"},[n.createVNode(h,{src:2==y.value?n.unref(Ac):n.unref(vg),width:"20rpx",height:"26rpx"},null,8,["src"])])]),n.createElementVNode("view",{class:"bar"}),n.createElementVNode("view",{class:"tab-item",onClick:G},[n.createElementVNode("text",{class:n.normalizeClass(["tab-text",{active:j.value}])},"筛选",2),n.createElementVNode("view",{class:"filterbox"},[n.createVNode(h,{src:j.value?n.unref(Bc):n.unref(Ic),width:"30rpx",height:"30rpx"},null,8,["src"])])])])])]),n.createElementVNode("scroll-view",{class:"scroll-view","scroll-y":"true","refresher-enabled":"true","refresher-triggered":s.value,onRefresherrefresh:F,onScrolltolower:U,"lower-threshold":"100"},[n.createElementVNode("view",{class:"video-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"video-item",key:e.id||e.uuid,onClick:n=>(n=>{const e=n.id||n.uuid;x("log","at pages_app/video/video.vue:702",222),x("log","at pages_app/video/video.vue:703",n.tags),Ul({url:`/pages_app/videoDetail/videoDetail?id=${e}&tags=${n.tags}`})})(e)},[n.createElementVNode("view",{class:"video-thumbnail"},[n.createVNode(h,{src:n.unref($l)+e.imgpath,class:"poster-image",mode:"aspectFill",loadingIcon:n.unref(wg),errorIcon:n.unref(wg),"lazy-load":!0,width:"100%",height:"220rpx"},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),class:"poster-image",mode:"aspectFill"},null,8,["src"])])),loading:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),class:"poster-image",mode:"aspectFill"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon"])]),n.createElementVNode("view",{class:"video-info"},[n.createElementVNode("view",{class:"video-title"},n.toDisplayString(e.title||e.name),1),n.createElementVNode("view",{class:"video-meta"},[n.createElementVNode("text",{class:"author"},n.toDisplayString(e.public_name),1),n.createElementVNode("view",{class:"stats"},[n.createVNode(f,{type:"eye",size:"14",color:"#999"}),n.createElementVNode("text",{class:"view-count"},n.toDisplayString(n.unref(Dc)(e.readnum)),1)])])])],8,["onClick"])))),128))]),l.value.length>0?(n.openBlock(),n.createBlock(N,{key:0,status:c.value,"content-text":{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}},null,8,["status","content-text"])):n.createCommentVNode("",!0),0!==l.value.length||a.value?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(Vc,{key:1}))],40,["refresher-triggered"]),n.createElementVNode("view",{class:"btnbox",onClick:$},[n.createVNode(h,{src:n.unref("/static/patient_video.png"),width:"44rpx",height:"44rpx"},null,8,["src"]),n.createTextVNode(" 患教视频 ")]),k.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"filter-popup",onClick:W},[n.createElementVNode("view",{class:"filter-content",onClick:o[1]||(o[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"filter-tags"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(q.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["tag-item",{active:x.selected}]),key:e,onClick:n=>(n=>{q.value[n].selected=!q.value[n].selected,j.value=q.value.some((n=>n.selected))})(e)},n.toDisplayString(x.NAME),11,["onClick"])))),128))]),n.createElementVNode("view",{class:"filter-buttons"},[n.createElementVNode("view",{class:"btn-reset",onClick:K},"重置"),n.createElementVNode("view",{class:"btn-confirm",onClick:Q},"确定")])])])):n.createCommentVNode("",!0),T.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"all-video-popup",onClick:Y},[n.createElementVNode("view",{class:"popup-content",onClick:o[2]||(o[2]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"popup-body"},[n.createElementVNode("view",{class:"category-sidebar"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(A.value,(e=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["category-item",{active:V.value===e.value}]),key:e.value,onClick:n=>(async n=>{V.value=n,x("log","at pages_app/video/video.vue:794",_.value),x("log","at pages_app/video/video.vue:795","选择分类:",n);let e=[{uuid:"",name:"全部视频"}];for(var t=0;t<_.value.length;t++)if(n==_.value[t].name){x("log","at pages_app/video/video.vue:799",_.value[t]),p.value="全部"==n?e.concat(_.value[t].list).filter((n=>!n.name.includes("BMS专家端"))):_.value[t].list.filter((n=>!n.name.includes("BMS专家端"))),x("log","at pages_app/video/video.vue:804",p.value);break}})(e.value)},[n.createElementVNode("view",{class:"category-label"},n.toDisplayString(e.label),1),"全部"!==e.value&&e.originalDate?(n.openBlock(),n.createElementBlock("view",{key:0,class:"category-date"},n.toDisplayString(t.formatDate(e.originalDate)),1)):n.createCommentVNode("",!0)],10,["onClick"])))),128))]),n.createElementVNode("view",{class:"content-area"},[n.createElementVNode("view",{class:"content-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(p.value,(e=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["content-item",{active:E.uuid==e.uuid}]),key:e.uuid,onClick:n=>{return x("log","at pages_app/video/video.vue:812","选中内容:",t=e),Y(),Object.assign(E,t),b.value=t.uuid,v.value=t.name,i.value=!0,u.value=1,g.value=!0,void L(!0);var t}},n.toDisplayString(D(e.name)),11,["onClick"])))),128)),0===p.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"empty-content"},[n.createElementVNode("text",null,"暂无内容")])):n.createCommentVNode("",!0)])])])])])):n.createCommentVNode("",!0)])],64)}}},Cg=h(Sg,[["__scopeId","data-v-18902620"]]);const qg=new class{constructor(){let n=uni.getStorageSync("downloadVideoTasks");this.tasks=n||[],this.listeners=[]}addTask(n){const x=this.tasks.length,e={id:Date.now()+Math.random(),url:"",status:"downloading",progress:0,totalSize:0,downloadSize:0,task:null,filePath:"",imgpath:"",author:"",name:"",duration:"",size:"",createTime:Date.now(),localPath:""};return Object.assign(e,n),this.tasks.push(e),this.notifyListeners(),this.saveToStorage(),x}updateTask(n,x){this.tasks[n]&&(Object.assign(this.tasks[n],x),this.notifyListeners(),this.saveToStorage())}removeTask(n){const x=this.tasks[n];x&&x.task&&"downloading"===x.status&&x.task.abort(),this.tasks.splice(n,1),this.notifyListeners(),this.saveToStorage()}getTasks(){return this.tasks}getTask(n){return this.tasks[n]}addListener(n){return this.listeners.push(n),()=>{const x=this.listeners.indexOf(n);x>-1&&this.listeners.splice(x,1)}}notifyListeners(){const n=[...this.tasks];this.listeners.forEach((e=>{try{e(n)}catch(Rw){x("error","at store/downloadStoreVideo.js:87","DownloadStore listener error:",Rw)}}))}saveToStorage(){const n=this.tasks.map((n=>({id:n.id,url:n.url,status:n.status,progress:n.progress,filePath:n.filePath,createTime:n.createTime,imgpath:n.imgpath,author:n.author,name:n.name,duration:n.duration,size:n.size,totalSize:n.totalSize,downloadSize:n.downloadSize,localPath:n.localPath})));uni.setStorageSync("downloadVideoTasks",n)}loadFromStorage(){const n=uni.getStorageSync("downloadVideoTasks");n&&Array.isArray(n)&&(this.tasks=n.map((n=>({...n,task:null}))),this.notifyListeners())}resumeDownloadingTasks(n){this.tasks.forEach(((x,e)=>{"downloading"!==x.status||x.task||"function"==typeof n&&n(e)}))}},Tg={__name:"downLoadVideo",setup(t){const l=n.ref([]),a=n.ref(null),c=n.ref(!1),u=n.ref([]),h=n.ref("completed"),g=n.ref(!1),p=n.ref(0),y=n.ref({total:"461.31G",available:"312.92G"}),f=()=>{0!==u.value.length?uni.showModal({title:"提示",content:"确定要删除选中的缓存吗?",success:n=>{if(n.confirm){[...u.value].forEach((n=>{const x=l.value.findIndex((x=>x.id===n));-1!==x&&A(x)})),u.value=[],c.value=!1}}}):uni.showToast({title:"请选择要删除的缓存",icon:"none"})},b=()=>{c.value?(u.value=[],c.value=!1):(u.value=z.value.map((n=>n.id)),c.value=!0)},v=n=>u.value.includes(n.id);r((()=>{if(S.value)return plus.runtime.quit(),!0}));const w=n=>{const x=u.value.indexOf(n.id);x>-1?u.value.splice(x,1):u.value.push(n.id),c.value=u.value.length===z.value.length&&z.value.length>0},z=n.computed((()=>{let x=[];return x="completed"===h.value?l.value.filter((n=>"completed"===n.status)):l.value.filter((n=>"downloading"===n.status||"paused"===n.status)),n.nextTick((()=>{c.value&&u.value.length!==x.length&&(c.value=!1)})),x})),j=()=>{S.value?plus.runtime.quit():uni.navigateBack()},k=x=>{h.value=x,g.value=!1,u.value=[],c.value=!1,"downloading"===x&&(p.value=.01,n.nextTick((()=>{p.value=0})))},_=()=>{g.value=!g.value,g.value||(u.value=[],c.value=!1)},E=n=>{if(!n)return"00:00:00";if("number"==typeof n){const x=Math.floor(n/3600),e=Math.floor(n%3600/60),t=n%60;return`${String(x).padStart(2,"0")}:${String(e).padStart(2,"0")}:${String(t).padStart(2,"0")}`}return n},N=n=>{if(!n)return"0M";return`${(Number(n)/1024/1024).toFixed(2)}M`},S=n.ref("");o((n=>{n.from&&(S.value=n.from),n.type&&k("downloading"),C(),a.value=qg.addListener((n=>{l.value=n})),x("log","at pages_app/downLoadVideo/downLoadVideo.vue:359",11111),x("log","at pages_app/downLoadVideo/downLoadVideo.vue:360",l.value),I()})),i((()=>{C(),I()})),s((()=>{a.value&&a.value()}));const C=()=>{l.value=qg.getTasks()},q=n=>{const e=qg.getTask(n);if(!e)return;const t=uni.downloadFile({url:e.url,success:e=>{200===e.statusCode?(qg.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"success"}),x("log","at pages_app/downLoadVideo/downLoadVideo.vue:475",e),uni.saveFile({tempFilePath:e.tempFilePath,success:function(x){uni.getSavedFileInfo({filePath:x.savedFilePath,success:function(x){qg.updateTask(n,{status:"completed",realyPath:x.savedFilePath,size:x.size})}})}})):(qg.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败",icon:"none"}))},fail:e=>{qg.updateTask(n,{status:"failed"}),x("error","at pages_app/downLoadVideo/downLoadVideo.vue:505","下载失败:",e),uni.showToast({title:"下载失败: "+(e.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((e=>{const t=qg.getTask(n);t&&"downloading"===t.status&&(x("log","at pages_app/downLoadVideo/downLoadVideo.vue:519",e.progress),qg.updateTask(n,{progress:e.progress,downloadSize:e.totalBytesWritten,totalSize:e.totalBytesExpectedToWrite}))})),qg.updateTask(n,{task:t})},T=n=>{const x=qg.getTask(n);x&&x.task&&(x.task.abort(),qg.updateTask(n,{status:"paused",task:null}),uni.showToast({title:"已暂停",icon:"none"}))},V=n=>{qg.updateTask(n,{status:"downloading",progress:0}),q(n)},A=n=>{qg.removeTask(n),C()},I=()=>{n.nextTick((()=>{qg.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/downLoadVideo/downLoadVideo.vue:610","恢复下载任务:",null==(e=qg.getTask(n))?void 0:e.url),q(n)}))}))};return n.onMounted((()=>{(()=>{if("android"!==uni.getSystemInfoSync().platform)uni.sendNativeEvent("getSysSpace",{msg:"getSysSpace"},(n=>{y.value={total:n.total,available:n.available}}));else{const e=plus.android.importClass("android.os.Environment"),t=plus.android.importClass("android.os.StatFs");try{const n=e.getDataDirectory(),x=new t(plus.android.invoke(n,"getPath")),i=plus.android.invoke(x,"getBlockSize"),l=plus.android.invoke(x,"getAvailableBlocks"),o=plus.android.invoke(x,"getBlockCount"),a=i*l,s=i*o,r=(a/1073741824).toFixed(2),c=((a/1048576).toFixed(2),(s/1073741824).toFixed(2));y.value={total:c+"G",available:r+"G"}}catch(n){return x("error","at pages_app/downLoadVideo/downLoadVideo.vue:433","获取存储信息时发生错误:",n),null}}})()})),(x,t)=>{const i=e(n.resolveDynamicComponent("uni-nav-bar"),m),o=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(i,{"left-icon":"left",title:"视频缓存",onClickLeft:j,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[n.createElementVNode("view",{class:"nav-edit",onClick:_},[n.createElementVNode("text",null,n.toDisplayString(g.value?"取消":"编辑"),1)])])])),_:1})]),n.createElementVNode("view",{class:"download-video-page"},[n.createElementVNode("view",{class:"tabs-container"},[n.createElementVNode("view",{class:n.normalizeClass(["tab-item",{active:"completed"===h.value}]),onClick:t[0]||(t[0]=n=>k("completed"))}," 已完成 ",2),n.createElementVNode("view",{class:"tab-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["tab-item",{active:"downloading"===h.value}]),onClick:t[1]||(t[1]=n=>k("downloading"))}," 缓存中 ",2)]),n.createElementVNode("scroll-view",{class:"content-scroll","scroll-y":"","scroll-top":p.value},[0===z.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"empty-state"},[n.createElementVNode("text",null,"暂无数据")])):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(z.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{key:x.id||e,class:"video-item",onClick:n=>(n=>{if(g.value)w(n);else if("completed"===n.status)uni.navigateTo({url:`/pages_app/videoDetail/videoDetail?id=${n.id}&from=download`});else if("downloading"===n.status){let x=l.value.findIndex((x=>x.id===n.id));-1!==x&&T(x)}else if("paused"===n.status){let x=l.value.findIndex((x=>x.id===n.id));-1!==x&&V(x)}})(x)},[g.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"checkbox-wrapper",onClick:n.withModifiers((n=>w(x)),["stop"])},[n.createElementVNode("view",{class:n.normalizeClass(["checkbox",{checked:v(x)}])},[v(x)?(n.openBlock(),n.createBlock(o,{key:0,type:"checkmarkempty",size:"16",color:"#ffffff"})):n.createCommentVNode("",!0)],2)],8,["onClick"])):n.createCommentVNode("",!0),n.createElementVNode("image",{class:"video-thumbnail",src:n.unref($l)+x.imgpath,mode:"aspectFill"},null,8,["src"]),n.createElementVNode("view",{class:"video-info"},[n.createElementVNode("view",{class:"video-title"},n.toDisplayString(x.name||"视频标题"),1),n.createElementVNode("view",{class:"video-author"},n.toDisplayString(x.author||"作者"),1),"completed"===x.status?(n.openBlock(),n.createElementBlock("view",{key:0,class:"video-meta"},[n.createVNode(o,{type:"clock",size:"12",color:"#999999",class:"meta-icon"}),n.createElementVNode("text",{class:"meta-text"},[x.duration?(n.openBlock(),n.createElementBlock("text",{key:0},n.toDisplayString(E(x.duration)),1)):n.createCommentVNode("",!0)]),n.createElementVNode("text",{class:"meta-size"},n.toDisplayString(N(x.size)),1)])):n.createCommentVNode("",!0),"downloading"==x.status||"paused"==x.status?(n.openBlock(),n.createElementBlock("view",{key:1,class:"video-meta video-status"},[n.createElementVNode("view",{class:"status-icon"},[n.createElementVNode("image",{src:"paused"==x.status?n.unref("/static/down_true.png"):n.unref("/static/down_false.png"),mode:"aspectFill"},null,8,["src"]),n.createElementVNode("text",null,n.toDisplayString("paused"==x.status?"继续":"暂停"),1)]),n.createElementVNode("view",{class:"box"},[n.createElementVNode("view",{class:"size-box"},n.toDisplayString(N(x.downloadSize))+"/"+n.toDisplayString(N(x.totalSize)),1)])])):n.createCommentVNode("",!0)])],8,["onClick"])))),128))],8,["scroll-top"]),n.createElementVNode("view",{class:"bottom-box"},[n.createElementVNode("view",{class:"storage-info"},[n.createElementVNode("text",null,"手机存储:总空间"+n.toDisplayString(y.value.total)+"/剩余"+n.toDisplayString(y.value.available)+"可用",1)]),g.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"footer-btn"},[n.createElementVNode("view",{class:"footer-btn-item select",onClick:b},[c.value?(n.openBlock(),n.createElementBlock("text",{key:1},"取消全选")):(n.openBlock(),n.createElementBlock("text",{key:0},"全选"))]),n.createElementVNode("view",{class:"bar"}),n.createElementVNode("view",{class:"footer-btn-item del",onClick:f},[n.createTextVNode(" 删除"),u.value.length>0?(n.openBlock(),n.createElementBlock("text",{key:0},"("+n.toDisplayString(u.value.length)+")",1)):n.createCommentVNode("",!0)])])):n.createCommentVNode("",!0)])])],64)}}},Vg=h(Tg,[["__scopeId","data-v-c9e48a5e"]]);const Ag=new class{constructor(){let n=uni.getStorageSync("downloadFileTasks");this.tasks=n||[],this.listeners=[]}addTask(n){const x=this.tasks.length,e={id:Date.now()+Math.random(),url:"",status:"downloading",progress:0,title:"",type:"",releaseTime:"",task:null,filePath:"",createTime:Date.now(),localPath:""};return Object.assign(e,n),this.tasks.push(e),this.notifyListeners(),this.saveToStorage(),x}updateTask(n,x){this.tasks[n]&&(Object.assign(this.tasks[n],x),this.notifyListeners(),this.saveToStorage())}removeTask(n){const x=this.tasks[n];x&&x.task&&"downloading"===x.status&&x.task.abort(),this.tasks.splice(n,1),this.notifyListeners(),this.saveToStorage()}getTasks(){return this.tasks}getTask(n){return this.tasks[n]}addListener(n){return this.listeners.push(n),()=>{const x=this.listeners.indexOf(n);x>-1&&this.listeners.splice(x,1)}}notifyListeners(){const n=[...this.tasks];this.listeners.forEach((e=>{try{e(n)}catch(Rw){x("error","at store/downloadStoreFile.js:83","DownloadStoreFile listener error:",Rw)}}))}saveToStorage(){const n=this.tasks.map((n=>({id:n.id,url:n.url,status:n.status,progress:n.progress,filePath:n.filePath,createTime:n.createTime,localPath:n.localPath,title:n.title,type:n.type,releaseTime:n.releaseTime})));uni.setStorageSync("downloadFileTasks",n)}loadFromStorage(){const n=uni.getStorageSync("downloadFileTasks");n&&Array.isArray(n)&&(this.tasks=n.map((n=>({...n,task:null}))),this.notifyListeners())}resumeDownloadingTasks(n){this.tasks.forEach(((x,e)=>{"downloading"!==x.status||x.task||"function"==typeof n&&n(e)}))}},Ig={__name:"zhinanDownload",setup(t){n.ref([]),n.ref(!1),n.ref(!0),n.ref(1),n.ref(10),n.ref(!1),n.ref(""),n.ref("more"),n.ref(""),n.ref("");const l=n.ref(2),a=n.ref(!1);n.ref("上传时间");const s=n.ref([]),c=n.computed((()=>s.value.filter((n=>"completed"==n.status&&"zhinan"==n.type)))),u=n.ref(!1),h=n.ref(null);o((n=>{})),r((()=>(plus.runtime.quit(),!0))),i((()=>{p(),Ag.addListener((n=>{s.value=n})),v()}));const g=()=>{plus.runtime.quit()},p=()=>{s.value=Ag.getTasks()},y=n=>{Ag.removeTask(n),p()},f=()=>{u.value=!1,h.value=null},b=()=>{if(!h.value)return;const n=Ag.getTasks().findIndex((n=>n.id===h.value.id));if(-1!==n){const e=Ag.getTask(n);e&&e.localPath?uni.removeSavedFile({filePath:e.localPath,success:()=>{x("log","at pages_app/zhinanDownload/zhinanDownload.vue:464","本地文件删除成功")},fail:n=>{x("log","at pages_app/zhinanDownload/zhinanDownload.vue:467","本地文件删除失败:",n)},complete:()=>{y(n),uni.showToast({title:"删除成功",icon:"none",duration:1500}),f()}}):(y(n),uni.showToast({title:"删除成功",icon:"success",duration:1500}),f())}else uni.showToast({title:"删除失败,未找到任务",icon:"none",duration:1500}),f()},v=()=>{n.nextTick((()=>{Ag.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/zhinanDownload/zhinanDownload.vue:506","恢复下载任务:",null==(e=Ag.getTask(n))?void 0:e.url),(n=>{const e=Ag.getTask(n);if(!e)return;if("loading"==e.status)return!1;uni.showToast({title:"正在下载中",icon:"none"}),Ag.updateTask(n,{status:"loading"});const t=uni.downloadFile({url:e.url,success:e=>{x("log","at pages_app/zhinanDownload/zhinanDownload.vue:358","res1:"+JSON.stringify(e)),200===e.statusCode?(Ag.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"none"}),uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/zhinanDownload/zhinanDownload.vue:374","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/zhinanDownload/zhinanDownload.vue:378","res:"+JSON.stringify(t)),x("log","at pages_app/zhinanDownload/zhinanDownload.vue:379","size:"+t.size),Ag.updateTask(n,{status:"completed",localPath:e.savedFilePath})}})}})):(Ag.updateTask(n,{status:"failed"}),y(n),uni.showToast({title:"下载失败2",icon:"none"}))},fail:x=>{Ag.updateTask(n,{status:"failed"}),y(n),uni.showToast({title:"下载失败3: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Ag.getTask(n);e&&"downloading"===e.status&&Ag.updateTask(n,{progress:x.progress})})),Ag.updateTask(n,{task:t})})(n)}))}))},w=n=>{if(!n)return"";try{const x=new Date(n),e=x.getFullYear(),t=String(x.getMonth()+1).padStart(2,"0");return`${e}-${t}-${String(x.getDate()).padStart(2,"0")}`}catch(x){return n}};return(t,i)=>{var o;const r=e(n.resolveDynamicComponent("uni-nav-bar"),m),p=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"zhinan-list-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(r,{"left-icon":"left",title:"诊疗指南",onClickLeft:g,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"})]),n.createElementVNode("scroll-view",{class:"guidelines-scroll-view","scroll-y":"true"},[n.createElementVNode("view",{class:"guidelines-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(c.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e.id||t,onLongpress:n=>(n=>{h.value=n,u.value=!0})(e)},[n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title"},n.toDisplayString(e.title),1),n.createElementVNode("view",{class:"item-bottom"},[n.createElementVNode("view",{class:"item-date"},n.toDisplayString(w(e.releaseTime)),1),n.createElementVNode("view",{class:"item-action"},[n.createElementVNode("view",{class:"view-btn",onClick:n.withModifiers((n=>{return t=e,x("log","at pages_app/zhinanDownload/zhinanDownload.vue:237",s.value),void s.value.forEach((n=>{n.id==t.id&&(x("log","at pages_app/zhinanDownload/zhinanDownload.vue:240",2222222222),x("log","at pages_app/zhinanDownload/zhinanDownload.vue:241",n.localPath),plus.runtime.openFile(n.localPath,(function(n){x("log","at pages_app/zhinanDownload/zhinanDownload.vue:244","打开成功")}),(function(n){uni.showToast({title:"打开失败:"+n.message,icon:"none",duration:2e3}),x("log","at pages_app/zhinanDownload/zhinanDownload.vue:251","打开失败:"+n.message)})))}));var t}),["stop"])},"查看",8,["onClick"])])])])],40,["onLongpress"])))),128))]),0===c.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"no-data"},[n.createVNode(Vc)])):n.createCommentVNode("",!0)])]),u.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"delete-modal-mask",onClick:f},[n.createElementVNode("view",{class:"delete-modal-content",onClick:i[0]||(i[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"delete-modal-title"},"确认删除"),n.createElementVNode("view",{class:"delete-modal-text"},'确定要删除"'+n.toDisplayString(null==(o=h.value)?void 0:o.title)+'"吗?',1),n.createElementVNode("view",{class:"delete-modal-buttons"},[n.createElementVNode("view",{class:"delete-modal-btn cancel-btn",onClick:f},"取消"),n.createElementVNode("view",{class:"delete-modal-btn confirm-btn",onClick:b},"删除")])])])):n.createCommentVNode("",!0),a.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"popup-panel"},[n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:1==l.value}]),onClick:i[1]||(i[1]=n.withModifiers((n=>t.chooseInnerSort(1)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"下载量"),1==l.value?(n.openBlock(),n.createBlock(p,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:2==l.value}]),onClick:i[2]||(i[2]=n.withModifiers((n=>t.chooseInnerSort(2)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"上传时间"),2==l.value?(n.openBlock(),n.createBlock(p,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:3==l.value}]),onClick:i[3]||(i[3]=n.withModifiers((n=>t.chooseInnerSort(3)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"标题"),3==l.value?(n.openBlock(),n.createBlock(p,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2)])):n.createCommentVNode("",!0)],64)}}},Bg=h(Ig,[["__scopeId","data-v-810cb2cc"]]);const Dg=new class{constructor(){let n=uni.getStorageSync("downloadPptTasks");this.tasks=n||[],this.listeners=[]}addTask(n){const x=this.tasks.length,e={id:Date.now()+Math.random(),url:"",status:"downloading",progress:0,title:"",type:"",releaseTime:"",task:null,filePath:"",createTime:Date.now(),localPath:""};return Object.assign(e,n),this.tasks.push(e),this.notifyListeners(),this.saveToStorage(),x}updateTask(n,x){this.tasks[n]&&(Object.assign(this.tasks[n],x),this.notifyListeners(),this.saveToStorage())}removeTask(n){const x=this.tasks[n];x&&x.task&&"downloading"===x.status&&x.task.abort(),this.tasks.splice(n,1),this.notifyListeners(),this.saveToStorage()}getTasks(){return this.tasks}getTask(n){return this.tasks[n]}addListener(n){return this.listeners.push(n),()=>{const x=this.listeners.indexOf(n);x>-1&&this.listeners.splice(x,1)}}notifyListeners(){const n=[...this.tasks];this.listeners.forEach((e=>{try{e(n)}catch(Rw){x("error","at store/downloadStorePpt.js:83","DownloadStoreFile listener error:",Rw)}}))}saveToStorage(){const n=this.tasks.map((n=>({id:n.id,url:n.url,status:n.status,progress:n.progress,filePath:n.filePath,createTime:n.createTime,localPath:n.localPath,title:n.title,type:n.type,releaseTime:n.releaseTime})));uni.setStorageSync("downloadPptTasks",n)}loadFromStorage(){const n=uni.getStorageSync("downloadPptTasks");n&&Array.isArray(n)&&(this.tasks=n.map((n=>({...n,task:null}))),this.notifyListeners())}resumeDownloadingTasks(n){this.tasks.forEach(((x,e)=>{"downloading"!==x.status||x.task||"function"==typeof n&&n(e)}))}},Mg={__name:"pptDownload",setup(t){const l=n.ref([]),a=n.ref(!1),s=n.ref(!0),c=n.ref(1),u=n.ref(10);n.ref(!1);const h=n.ref(""),g=n.ref(!1),p=n.ref(null),y=n.ref("more"),f=n.ref("");n.ref("");const b=n.ref(2),v=n.ref(!1),w=n.ref("上传时间"),z=n.ref([]),j=n.computed((()=>z.value.filter((n=>"completed"==n.status&&"ppt"==n.type))));r((()=>(plus.runtime.quit(),!0)));const k=n=>{b.value=n,1==n?w.value="下载量":2==n?w.value="上传时间":3==n&&(w.value="标题"),v.value=!1,_(!0)};o((n=>{})),i((()=>{N(),Dg.addListener((n=>{z.value=n})),C()}));const _=async(n=!1)=>{if(x("log","at pages_app/pptDownload/pptDownload.vue:267","=== loadGuidelinesList 开始 ==="),x("log","at pages_app/pptDownload/pptDownload.vue:268","当前参数:",{isRefresh:n,page:c.value,keywords:h.value}),!a.value)try{a.value=!0,y.value="loading";const e={page:c.value,pageSize:u.value,type:1,sort:2,typeUuid:f.value,keywords:h.value},t=await Fl.searchLibraryU(e);if(x("log","at pages_app/pptDownload/pptDownload.vue:290","指南列表响应:",t),200===t.code&&t.data){const e=t.data.list||t.data;n?(l.value=e,x("log","at pages_app/pptDownload/pptDownload.vue:297","刷新模式:替换列表数据")):(l.value=[...l.value,...e],x("log","at pages_app/pptDownload/pptDownload.vue:300","加载更多:追加数据到列表")),e.length{plus.runtime.quit()},N=()=>{z.value=Dg.getTasks()},S=n=>{Dg.removeTask(n),N()},C=()=>{n.nextTick((()=>{Dg.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/pptDownload/pptDownload.vue:586","恢复下载任务:",null==(e=Dg.getTask(n))?void 0:e.url),(n=>{const e=Dg.getTask(n);if(!e)return;if("loading"==e.status)return!1;uni.showToast({title:"正在下载中",icon:"none"}),Dg.updateTask(n,{status:"loading"});const t=uni.downloadFile({url:e.url,success:e=>{x("log","at pages_app/pptDownload/pptDownload.vue:503","res1:"+JSON.stringify(e)),200===e.statusCode?(Dg.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"none"}),uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/pptDownload/pptDownload.vue:519","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/pptDownload/pptDownload.vue:523","res:"+JSON.stringify(t)),x("log","at pages_app/pptDownload/pptDownload.vue:524","size:"+t.size),Dg.updateTask(n,{status:"completed",localPath:e.savedFilePath})}})}})):(Dg.updateTask(n,{status:"failed"}),S(n),uni.showToast({title:"下载失败2",icon:"none"}))},fail:x=>{Dg.updateTask(n,{status:"failed"}),S(n),uni.showToast({title:"下载失败3: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Dg.getTask(n);e&&"downloading"===e.status&&Dg.updateTask(n,{progress:x.progress})})),Dg.updateTask(n,{task:t})})(n)}))}))},q=()=>{g.value=!1,p.value=null},T=()=>{if(!p.value)return;const n=Dg.getTasks().findIndex((n=>n.id===p.value.id));if(-1!==n){const e=Dg.getTask(n);e&&e.localPath?uni.removeSavedFile({filePath:e.localPath,success:()=>{x("log","at pages_app/pptDownload/pptDownload.vue:656","本地文件删除成功")},fail:n=>{x("log","at pages_app/pptDownload/pptDownload.vue:659","本地文件删除失败:",n)},complete:()=>{S(n),uni.showToast({title:"删除成功",icon:"none",duration:1500}),q()}}):(S(n),uni.showToast({title:"删除成功",icon:"success",duration:1500}),q())}else uni.showToast({title:"删除失败,未找到任务",icon:"none",duration:1500}),q()};return(t,i)=>{var l;const o=e(n.resolveDynamicComponent("uni-nav-bar"),m),a=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"zhinan-list-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(o,{"left-icon":"left",title:"课件文档",onClickLeft:E,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"})]),n.createElementVNode("scroll-view",{class:"guidelines-scroll-view","scroll-y":"true"},[n.createElementVNode("view",{class:"guidelines-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(j.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e.id||t,onClick:n=>{return t=e,x("log","at pages_app/pptDownload/pptDownload.vue:407",z.value),void z.value.forEach((n=>{n.id==t.id&&(x("log","at pages_app/pptDownload/pptDownload.vue:410",2222222222),x("log","at pages_app/pptDownload/pptDownload.vue:411",n.localPath),plus.runtime.openFile(n.localPath,(function(n){x("log","at pages_app/pptDownload/pptDownload.vue:414","打开成功")}),(function(n){uni.showToast({title:"打开失败:"+n.message,icon:"none",duration:2e3}),x("log","at pages_app/pptDownload/pptDownload.vue:421","打开失败:"+n.message)})))}));var t},onLongpress:n=>(n=>{p.value=n,g.value=!0})(e)},[n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title"},n.toDisplayString(e.title),1)])],40,["onClick","onLongpress"])))),128))]),0===j.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"no-data"},[n.createVNode(Vc)])):n.createCommentVNode("",!0)])]),v.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"popup-panel"},[n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:1==b.value}]),onClick:i[0]||(i[0]=n.withModifiers((n=>k(1)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"下载量"),1==b.value?(n.openBlock(),n.createBlock(a,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:2==b.value}]),onClick:i[1]||(i[1]=n.withModifiers((n=>k(2)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"上传时间"),2==b.value?(n.openBlock(),n.createBlock(a,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:3==b.value}]),onClick:i[2]||(i[2]=n.withModifiers((n=>k(3)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"标题"),3==b.value?(n.openBlock(),n.createBlock(a,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2)])):n.createCommentVNode("",!0),g.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"delete-modal-mask",onClick:q},[n.createElementVNode("view",{class:"delete-modal-content",onClick:i[3]||(i[3]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"delete-modal-title"},"确认删除"),n.createElementVNode("view",{class:"delete-modal-text"},'确定要删除"'+n.toDisplayString(null==(l=p.value)?void 0:l.title)+'"吗?',1),n.createElementVNode("view",{class:"delete-modal-buttons"},[n.createElementVNode("view",{class:"delete-modal-btn cancel-btn",onClick:q},"取消"),n.createElementVNode("view",{class:"delete-modal-btn confirm-btn",onClick:T},"删除")])])])):n.createCommentVNode("",!0)],64)}}},Og=h(Mg,[["__scopeId","data-v-f02cfa94"]]),Rg="/static/contact.png",Pg="/static/ppt_dw.png",Lg={__name:"pptDetail",setup(t){const a=n.ref(!1),c=n.ref(""),u=n.ref(!1),h=n.ref("");n.ref(!1);const g=n.ref(""),d=n.ref(""),p=n.ref("");n.ref(!1);const y=n.ref(null),f=n.ref(null),b=n.ref(!1),v=n.ref({screenW:0,screenH:0,dialogW:0,dialogH:0,dialogLeft:0,dialogTop:0,imageTop:0,imageLeft:0,imageSize:0,buttonTop:0,buttonH:0,leftButtonW:0}),w=()=>{!function(){if(b.value)return;y.value&&f.value||function(){if(y.value||f.value)return;const n=plus.screen.resolutionWidth,x=plus.screen.resolutionHeight,e=uni.upx2px(620),t=uni.upx2px(660),i=Math.round((n-e)/2),l=Math.round((x-t)/2),o=uni.upx2px(96),a=t-o,s=Math.round(e/2),r=uni.upx2px(46),c=uni.upx2px(280),u=r+uni.upx2px(72),h=Math.round((e-c)/2),g=u+c+uni.upx2px(36);v.value={screenW:n,screenH:x,dialogW:e,dialogH:t,dialogLeft:i,dialogTop:l,imageTop:u,imageLeft:h,imageSize:c,buttonTop:a,buttonH:o,leftButtonW:s},y.value=new plus.nativeObj.View("native-download-mask",{left:"0px",top:"0px",width:n+"px",height:x+"px",zindex:99996,touchable:!0,interceptTouchEvent:!0},[{tag:"rect",id:"mask",position:{left:"0px",top:"0px",width:n+"px",height:x+"px"},color:"rgba(0,0,0,0.5)"}]),f.value=new plus.nativeObj.View("native-download-panel",{left:i+"px",top:l+"px",width:e+"px",height:t+"px",zindex:99997,touchable:!0,interceptTouchEvent:!0},[]),f.value.drawRect({color:"#FFFFFF",radius:uni.upx2px(24)},{left:"0px",top:"0px",width:e+"px",height:t+"px"}),f.value.drawText("温馨提示",{left:"0px",top:r+"px",width:e+"px",height:uni.upx2px(56)+"px"},{size:uni.upx2px(34)+"px",color:"#8B2316",align:"center",verticalAlign:"middle",weight:"500"});try{f.value.drawBitmap("_www/static/contact.png",{},{left:h+"px",top:u+"px",width:c+"px",height:c+"px"})}catch(Rw){}f.value.drawText("APP下载课件为pdf格式,扫码联系",{left:uni.upx2px(60)+"px",top:g+"px",width:e-uni.upx2px(120)+"px",height:uni.upx2px(44)+"px"},{size:uni.upx2px(28)+"px",color:"#666666",align:"center",verticalAlign:"middle"}),f.value.drawText("平台文献助手获取原版PPT。",{left:uni.upx2px(60)+"px",top:g+uni.upx2px(48)+"px",width:e-uni.upx2px(120)+"px",height:uni.upx2px(44)+"px"},{size:uni.upx2px(28)+"px",color:"#666666",align:"center",verticalAlign:"middle"}),f.value.drawRect({color:"#F0F0F0"},{left:"0px",top:a-1+"px",width:e+"px",height:"1px"}),f.value.drawRect({color:"#F0F0F0"},{left:s+"px",top:a+"px",width:"1px",height:o+"px"}),f.value.drawText("取消",{left:"0px",top:a+"px",width:s+"px",height:o+"px"},{size:uni.upx2px(32)+"px",color:"#666666",align:"center",verticalAlign:"middle"}),f.value.drawText("保存二维码",{left:s+"px",top:a+"px",width:e-s+"px",height:o+"px"},{size:uni.upx2px(32)+"px",color:"#000",align:"center",verticalAlign:"middle",weight:"500"});const d=()=>{j()},p=n=>{const x=v.value,e=((n,x)=>{let e=0,t=0;void 0!==n.clientX&&void 0!==n.clientY?(e=n.clientX,t=n.clientY):void 0!==n.pageX&&void 0!==n.pageY?(e=n.pageX,t=n.pageY):n.touches&&n.touches.length>0?(e=n.touches[0].clientX||n.touches[0].pageX||0,t=n.touches[0].clientY||n.touches[0].pageY||0):n.changedTouches&&n.changedTouches.length>0&&(e=n.changedTouches[0].clientX||n.changedTouches[0].pageX||0,t=n.changedTouches[0].clientY||n.changedTouches[0].pageY||0);if(!e||!t)return null;let i=e,l=t;e>=0&&e<=x.dialogW&&t>=0&&t<=x.dialogH||(i=e-x.dialogLeft,l=t-x.dialogTop);if(i<0||i>x.dialogW||l<0||l>x.dialogH)return null;return{relativeX:i,relativeY:l}})(n,x);if(!e)return;const{relativeX:t,relativeY:i}=e;i>=x.buttonTop&&(t>=x.leftButtonW?((()=>{try{const n=plus.io.convertLocalFileSystemURL("_www/static/contact.png")||"_www/static/contact.png";uni.saveImageToPhotosAlbum({filePath:n,success:()=>{uni.showToast({title:"图片已保存到相册",icon:"none"})},fail:n=>{const x=n&&n.errMsg||"";x.includes("auth deny")||x.includes("authorize no response")||x.includes("denied")?uni.showModal({title:"提示",content:"请先在系统设置中允许访问相册",showCancel:!0,confirmText:"去设置",success:n=>{n.confirm&&uni.openSetting()}}):uni.showToast({title:"保存失败,请稍后重试",icon:"none"})}})}catch(n){uni.showToast({title:"保存失败,请稍后重试",icon:"none"})}})(),j()):j())};y.value.addEventListener("click",d,!1),y.value.addEventListener("touchstart",d,!1),f.value.addEventListener("click",p,!1)}();y.value&&y.value.show(),f.value&&f.value.show(),b.value=!0}()},z=()=>{a.value=!1,X()};function j(){b.value&&(y.value&&y.value.hide(),f.value&&f.value.hide(),b.value=!1)}const k=n=>{Dg.removeTask(n),ln()},_=()=>{"loading"==V.value?uni.showModal({title:"提示",content:"正在下载课件,退出界面将取消下载,是否退出?",showCancel:!0,cancelText:"取消",confirmText:"确定",confirmColor:"#8B2316",success:n=>{if(n.confirm){const n=E.value.findIndex((n=>n.id===N.value));-1!==n&&k(n),d.value?plus.runtime.quit():uni.navigateBack()}}}):d.value?plus.runtime.quit():uni.navigateBack()};r((n=>{if(x("log","at pages_app/pptDetail/pptDetail.vue:542","onBackPress"),x("log","at pages_app/pptDetail/pptDetail.vue:543",n),"backbutton"==n.from){if("loading"==V.value)return uni.showModal({title:"提示",content:"正在下载课件,退出界面将取消下载,是否退出?",showCancel:!0,cancelText:"取消",confirmText:"确定",confirmColor:"#8B2316",success:n=>{if(n.confirm){const n=E.value.findIndex((n=>n.id===N.value));if(-1!==n&&k(n),d.value)return plus.runtime.quit(),!0;uni.navigateBack()}}}),!0;if(d.value)return plus.runtime.quit(),!0}}));const E=n.ref([]);n.computed((()=>E.value.filter((n=>"completed"==n.status&&"ppt"==n.type)).map((n=>n.id))));const N=n.ref(""),S=n.ref(""),C=n.ref(null),q=n.ref(0),T=n.ref(!1),V=n.ref("start"),A=n.ref(null),I=n.ref(""),B=n.ref("");n.ref(ig);const D=n.ref("课件分享");o((n=>{x("log","at pages_app/pptDetail/pptDetail.vue:595",n),N.value=n.uuid,g.value=decodeURIComponent(n.src),d.value=n.from,G(n)})),s((()=>{uni.$off("paySuccess")})),i((()=>{if(uni.$on("paySuccess",(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:610","详情监听到成功支付"),x("log","at pages_app/pptDetail/pptDetail.vue:611",n),u.value=!0})),T.value=!1,V.value="start",ln(),Dg.addListener((n=>{E.value=n})),E.value.length>0)for(let n=0;n{!function(){if(P.value)return;O.value&&R.value||function(){if(O.value||R.value)return;const n=plus.screen.resolutionWidth,x=plus.screen.resolutionHeight,e=uni.upx2px(520),t=uni.upx2px(20),i=50,l=uni.upx2px(80),o=uni.upx2px(100),a=uni.upx2px(90)+l,s=uni.upx2px(24);L.value={screenW:n,screenH:x,panelH:e,cancelH:o,contentTop:a,iconSize:i,textSize:s},O.value=new plus.nativeObj.View("native-share-mask",{left:"0px",top:"0px",width:n+"px",height:x+"px",zindex:99998,touchable:!0,interceptTouchEvent:!0},[{tag:"rect",id:"mask",position:{left:"0px",top:"0px",width:n+"px",height:x+"px"},color:"rgba(0,0,0,0.5)"}]),R.value=new plus.nativeObj.View("native-share-panel",{left:"0px",top:x-e+"px",width:n+"px",height:e+"px",zindex:99999,touchable:!0,interceptTouchEvent:!0},[]),R.value.drawRect({color:"#FFFFFF",radius:t,rectStyles:{}},{left:uni.upx2px(0)+"px",top:uni.upx2px(0)+"px",width:n+"px",height:e+"px"}),R.value.drawText("分享到",{left:"0px",top:uni.upx2px(20)+"px",width:n+"px",height:l+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle",weight:"500"});const r=[{id:"it-wechat",text:"微信"},{id:"it-moments",text:"朋友圈"}],c=n/r.length,u=a,h=u+i+uni.upx2px(16),g=["share_weixin.png","share_wxc.png","share_sina.png"];r.forEach(((n,x)=>{const e=x*c,t=Math.round(e+(c-i)/2),l=t,o=Math.round(u),a=i;let r=null;try{r="_www/static/"+g[x]}catch(Rw){r=null}if(r)try{try{R.value.drawBitmap(r,{},{left:l+"px",top:o+"px",width:a+"px",height:a+"px"})}catch(d){R.value.drawBitmap(r,{left:l+"px",top:o+"px",width:a+"px",height:a+"px"})}}catch(Rw){const e=2===x?"#E6162D":"#07C160";R.value.drawRect({color:e,radius:Math.round(i/2)},{left:Math.round(t)+"px",top:Math.round(u)+"px",width:Math.round(i)+"px",height:Math.round(i)+"px"})}else{const n=2===x?"#E6162D":"#07C160";R.value.drawRect({color:n,radius:Math.round(i/2)},{left:Math.round(t)+"px",top:Math.round(u)+"px",width:Math.round(i)+"px",height:Math.round(i)+"px"})}R.value.drawText(n.text,{left:e+"px",top:h+"px",width:c+"px",height:s+uni.upx2px(20)+"px"},{size:s+"px",color:"#666666",align:"center",verticalAlign:"top"})}));const d=e-o;R.value.drawRect({color:"#F0F0F0"},{left:"0px",top:d-1+"px",width:n+"px",height:"1px"}),R.value.drawText("取消",{left:"0px",top:d+"px",width:n+"px",height:o+"px"},{size:uni.upx2px(32)+"px",color:"#333333",align:"center",verticalAlign:"middle"});const p=()=>{F()},m=n=>{const x=L.value;let e=0,t=0;if(void 0!==n.clientX&&void 0!==n.clientY?(e=n.clientX,t=n.clientY):void 0!==n.pageX&&void 0!==n.pageY?(e=n.pageX,t=n.pageY):n.touches&&n.touches.length>0?(e=n.touches[0].clientX||n.touches[0].pageX||0,t=n.touches[0].clientY||n.touches[0].pageY||0):n.changedTouches&&n.changedTouches.length>0&&(e=n.changedTouches[0].clientX||n.changedTouches[0].pageX||0,t=n.changedTouches[0].clientY||n.changedTouches[0].pageY||0),!e||!t)return;let i=t,l=e;t=x.screenH-x.panelH&&(i=t-(x.screenH-x.panelH),l=e);if(i>=x.panelH-x.cancelH)return void F();const o=x.contentTop,a=o+x.iconSize+x.textSize+uni.upx2px(20);if(i>=o&&i<=a){const n=x.screenW/2,e=Math.min(1,Math.max(0,Math.floor(l/n)));0===e?(on(),F()):1===e&&(an(),F())}};O.value.addEventListener("click",p,!1),O.value.addEventListener("touchstart",p,!1),R.value.addEventListener("click",m,!1)}();O.value&&O.value.show(),R.value&&R.value.show(),P.value=!0}()},O=n.ref(null),R=n.ref(null),P=n.ref(!1),L=n.ref({screenW:0,screenH:0,panelH:0,cancelH:0,contentTop:0,iconSize:0,textSize:0});function F(){P.value&&(O.value&&O.value.hide(),R.value&&R.value.hide(),P.value=!1)}const U=()=>{F()},$=()=>{for(let n=0;n{1==q.value?Y():Fl.collection({other_uuid:N.value,type:6,path:g.value,title:A.value.name}).then((n=>{200==n.code&&(uni.showToast({title:"收藏成功",icon:"none"}),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"collect",page_type:"肝胆课件",resource_name:D.value,resource_option:p.value}},(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1002",n)})),Z())}))},Y=()=>{Fl.discollection({other_uuid:N.value,type:6}).then((n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1021",n),200==n.code&&(uni.showToast({title:"取消收藏成功",icon:"none"}),Z())}))},G=async n=>{const x=await Fl.checkUser();if(200==x.code){S.value=x.data.hcp_token;const t=uni.getSystemInfoSync().statusBarHeight+44+uni.upx2px(80)+"px";let i=plus.webview.create("","custom-webview",{top:t,bottom:"0px"});B.value=decodeURIComponent(n.src);let l=`document.cookie="hcp_token=${S.value};domain=.igandan.com;path=/;"`,o=getCurrentPages();var e=o[o.length-1].$getAppWebview();e.append(i),i.loadURL(decodeURIComponent(n.src)),setTimeout((function(){i=e.children()[0],i&&i.setStyle({top:t,bottom:"0px"})}),1e3),i.onloaded=x=>{i.evalJS(l),i.evalJS('document.cookie="hcp_from=expert_app;domain=.igandan.com;path=/"'),i.show(),setTimeout((function(){i.getURL().indexOf("hcp")>-1&&i.loadURL(decodeURIComponent(n.src))}),2e3)}}},W=()=>{a.value=!1,K()},K=()=>{Q()},Q=()=>{Fl.createGanDanFileOrder({file_uuid:N.value}).then((n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1094",n),200==n.code&&(x("log","at pages_app/pptDetail/pptDetail.vue:1096",n.data.provider_name),x("log","at pages_app/pptDetail/pptDetail.vue:1097",A.value.price),x("log","at pages_app/pptDetail/pptDetail.vue:1098",n.data.order_id),x("log","at pages_app/pptDetail/pptDetail.vue:1099",n.data.trade_no),h.value=n.data.order_id,x("log","at pages_app/pptDetail/pptDetail.vue:1101","跳转原生支付页"),uni.sendNativeEvent("payPptPage",{msg:{providername:n.data.provider_name,price:A.value.price,order_id:n.data.order_id,trade_no:n.data.trade_no,amount:n.data.amount,account:n.data.account,title:A.value.name,tags:A.value.tags?A.value.tags:""}}))}))},J=()=>{0==A.value.price?X("free"):A.value.price>0&&(A.value.welfareNum>0?(c.value="您还有"+A.value.welfareNum+"次免费下载机会,希望本次下载免费吗?",uni.showModal({title:"提示",content:"您还有"+A.value.welfareNum+"次免费下载机会,希望本次下载免费吗?",showCancel:!0,cancelText:"取消",confirmText:"确定",confirmColor:"#8B2316",success:n=>{n.confirm?X("welfare"):K()}})):A.value.freeRecord>0?(c.value="您还有"+A.value.freeRecord+"次免费下载机会,希望本次下载免费吗?",uni.showModal({title:"提示",content:"您还有"+A.value.freeRecord+"次免费下载机会,希望本次下载免费吗?",showCancel:!0,cancelText:"取消",confirmText:"确定",confirmColor:"#8B2316",success:n=>{n.confirm?X("freeRecord"):K()}})):A.value.order&&"paid"==A.value.order.order_status?X("reDownload"):K())},X=n=>{w();let e="",t=0;"free"==n?(e="FREE",t=0):"welfare"==n?(e="USEWELFARENUM",t=0):"freeRecord"==n?(e="FREERECORD",t=0):"auto"==n?(e=h.value,t=A.value.price):"reDownload"==n&&(e=A.value.order.order_id+"&R",t=0),x("log","at pages_app/pptDetail/pptDetail.vue:1196","1218"),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"order_gdfile_download",page_type:"肝胆课件",resource_name:D.value,resource_option:p.value,event_val:t,event_unit:"分",number:1}},(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1209",n)})),Fl.downloadGanDanFileV2({file_uuid:N.value,order_id:e}).then((n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1215",n),x("log","at pages_app/pptDetail/pptDetail.vue:1216","qweqweqweqwe"),200==n.code&&en({url:$l+n.data,id:N.value,title:A.value.name,type:"ppt",status:"downloading"})}))},Z=async(n=!1)=>{const e=await Fl.ganDanFileDetials({file_uuid:N.value});if(200==e.code){p.value=e.data.tags?e.data.tags:"",A.value=e.data,D.value=e.data.name,I.value="肝胆相照-国内专业优质肝胆课件共享平台",B.value=B.value+"&fromtype=doctor",q.value=e.data.iscollection,C.value=e.data.order;let i=e.data.price/100;if(nn.value=i>1?i.toFixed(1):i.toFixed(2),n)try{uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"肝胆课件",resource_name:e.data.name,resource_option:p.value}},(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1383",n)}))}catch(t){}E.value.forEach((n=>{n.id==N.value&&uni.getSavedFileInfo({filePath:n.localPath,success:function(n){T.value=!0,V.value="completed"},fail:function(n){}})}))}};n.ref(["/static/big_background_my.png","/static/big_background_my.png","/static/big_background_my.png"]),n.ref(1);const nn=n.ref("1.0"),xn=()=>{uni.showToast({title:"文件正在下载中...",icon:"none"})},en=n=>{const x=Dg.addTask(n);ln(),tn(x)},tn=n=>{const e=Dg.getTask(n);if(!e)return;T.value=!0,V.value="loading";const t=uni.downloadFile({url:e.url,success:e=>{200===e.statusCode?(Dg.updateTask(n,{status:"completed",filePath:e.tempFilePath}),V.value="completed",uni.showToast({title:"下载成功",icon:"none"}),V.value="completed",uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/pptDetail/pptDetail.vue:1465","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/pptDetail/pptDetail.vue:1470","res:"+JSON.stringify(t)),x("log","at pages_app/pptDetail/pptDetail.vue:1471","size:"+t.size),Dg.updateTask(n,{status:"completed",localPath:e.savedFilePath,size:t.size})}})}})):(Dg.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败",icon:"none"}))},fail:x=>{Dg.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Dg.getTask(n);e&&"downloading"===e.status&&Dg.updateTask(n,{progress:x.progress,downloadSize:x.totalBytesWritten,totalSize:x.totalBytesExpectedToWrite})})),Dg.updateTask(n,{task:t})},ln=()=>{E.value=Dg.getTasks()},on=()=>{uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"肝胆课件",resource_name:D.value,resource_option:p.value}},(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1549",n)})),uni.downloadFile({url:"https://doc.igandan.com/app/html/img/2016/20160714132557.png",success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneSession",type:0,title:D.value,summary:I.value,href:B.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/pptDetail/pptDetail.vue:1567","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/pptDetail/pptDetail.vue:1570","fail:"+JSON.stringify(n))}})}})}}),U()},an=()=>{uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"肝胆课件",resource_name:D.value,resource_option:p.value}},(n=>{x("log","at pages_app/pptDetail/pptDetail.vue:1642",n)})),uni.downloadFile({url:"https://doc.igandan.com/app/html/img/2016/20160714132557.png",success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneTimeline",type:0,title:D.value,summary:I.value,href:B.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/pptDetail/pptDetail.vue:1660","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/pptDetail/pptDetail.vue:1663","fail:"+JSON.stringify(n))}})}})}}),U()};return l((()=>{F(),j()})),s((()=>{try{O.value&&O.value.close&&O.value.close(),R.value&&R.value.close&&R.value.close()}catch(Rw){}O.value=null,R.value=null,P.value=!1;try{y.value&&y.value.close&&y.value.close(),f.value&&f.value.close&&f.value.close()}catch(Rw){}y.value=null,f.value=null,b.value=!1})),(x,t)=>{const i=e(n.resolveDynamicComponent("uni-nav-bar"),m),l=e(n.resolveDynamicComponent("up-image"),Jn),o=e(n.resolveDynamicComponent("up-icon"),Un);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"ppt-detail-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(i,{"left-icon":"left",title:"课件详情",onClickLeft:_,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[n.createElementVNode("view",{class:"collect-img",onClick:M,style:{"margin-right":"20rpx"}},[n.createElementVNode("image",{class:"share-img-icon",src:n.unref(ng),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("view",{class:"collect-img",onClick:H,style:{"margin-left":"20rpx"}},[n.createElementVNode("image",{class:"collect-img-icon",src:1==q.value?n.unref(og):n.unref(ag),mode:"aspectFill"},null,8,["src"])])])])),_:1})]),A.value&&0==A.value.price&&"start"==V.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"download-bar",onClick:t[0]||(t[0]=n=>X("free"))},[n.createElementVNode("view",{class:"download-inner"},[n.createVNode(l,{src:n.unref(Pg),width:"40rpx",height:"40rpx"},null,8,["src"]),n.createElementVNode("text",{class:"download-text"},"本课件"),n.createElementVNode("text",{class:"download-text"},"免费"),n.createElementVNode("text",{class:"download-unit"},"下载")])])):T.value&&"completed"==V.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"download-bar",onClick:$},[n.createElementVNode("view",{class:"download-inner"},[n.createElementVNode("text",{class:"download-text"},"查看课件")])])):T.value&&"loading"==V.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"download-bar",onClick:xn},[n.createElementVNode("view",{class:"download-inner"},[n.createElementVNode("text",{class:"download-text"},"下载中...")])])):C.value&&"paid"==C.value.order_status&&!T.value?(n.openBlock(),n.createElementBlock("view",{key:3,class:"download-bar",onClick:t[1]||(t[1]=n=>X("reDownload"))},[n.createElementVNode("view",{class:"download-inner"},[n.createElementVNode("text",{class:"download-text"},"重新下载本课件")])])):!C.value&&nn.value>0?(n.openBlock(),n.createElementBlock("view",{key:4,class:"download-bar",onClick:J},[n.createElementVNode("view",{class:"download-inner"},[n.createVNode(l,{src:n.unref(Pg),width:"40rpx",height:"40rpx"},null,8,["src"]),n.createElementVNode("text",{class:"download-text"},"本课件下载"),n.createElementVNode("text",{class:"download-price"},n.toDisplayString(nn.value),1),n.createElementVNode("text",{class:"download-unit"},"元")])])):!C.value&&nn.value<0?(n.openBlock(),n.createElementBlock("view",{key:5,class:"download-bar"},[n.createElementVNode("view",{class:"download-inner"},[n.createVNode(o,{name:"download",color:"#fff",size:"28"}),n.createElementVNode("text",{class:"download-text"},"本课件不支持下载")])])):n.createCommentVNode("",!0)]),n.createVNode(Rx,{visible:a.value,content:c.value,onClose:W,onConfirm:z},null,8,["visible","content"])],64)}}},Fg=h(Lg,[["__scopeId","data-v-054d4d2a"]]),Ug={__name:"ppt",setup(t){const l=n.ref(!1),a=n.ref(!1);n.ref("肝胆相照将稍后与您沟通课件分享,谢谢您对平台的支持!");const s=n.ref(""),c=n.ref(""),u=n.ref(0),h=n.ref(!1),g=n.ref(!1),p=n.ref(!1),y=n.ref(1),f=n.ref(10),b=()=>{v(),a.value=!1},v=()=>{uni.getImageInfo({src:Rg,success:n=>{uni.saveImageToPhotosAlbum({filePath:n.path,success:()=>{uni.showToast({title:"图片已保存到相册",icon:"none"})},fail:n=>{const x=n&&n.errMsg||"";x.includes("auth deny")||x.includes("authorize no response")||x.includes("denied")?uni.showModal({title:"提示",content:"请先在系统设置中允许访问相册",showCancel:!0,confirmText:"去设置",success:n=>{n.confirm&&uni.openSetting()}}):uni.showToast({title:"保存失败,请稍后重试",icon:"none"})}})},fail:()=>{uni.showToast({title:"图片读取失败",icon:"none"})}})},w=n.ref([]);r((()=>(plus.runtime.quit(),!0)));o((()=>{(async()=>{const n=await Fl.checkUser();200==n.code&&(s.value=n.data.hcp_token,x("log","at pages_app/ppt/ppt.vue:221",s.value))})(),S(!1),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"list_page",page_type:"肝胆课件"}},(n=>{x("log","at pages_app/ppt/ppt.vue:235",n)}))}));const z=()=>{uni.sendNativeEvent("goHomeSearch",{msg:"ppt"},(n=>{x("log","at pages_app/ppt/ppt.vue:245",n)}))},j=()=>{uni.navigateBack({fail(){uni.redirectTo({url:"/pages/index/index"})}})},k=()=>{u.value=0===u.value?1:0,x("log","at pages_app/ppt/ppt.vue:269","切换排序:",u.value),y.value=1,w.value=[],p.value=!1,S(!1)},_=()=>{a.value=!0},E=async()=>{h.value=!0;try{y.value=1,p.value=!1,w.value=[],await S(!1),uni.showToast({title:"刷新成功",icon:"none"})}catch(n){uni.showToast({title:"刷新失败",icon:"error"})}finally{h.value=!1}},N=async()=>{x("log","at pages_app/ppt/ppt.vue:356","=== onLoadMore 触发 ==="),x("log","at pages_app/ppt/ppt.vue:357","当前状态:",{loading:g.value,noMore:p.value,page:y.value,listLength:w.value.length}),g.value||p.value?x("log","at pages_app/ppt/ppt.vue:365","条件不满足,跳过加载:",{loading:g.value,noMore:p.value}):(x("log","at pages_app/ppt/ppt.vue:372","条件满足,开始加载更多数据"),await S(!1))},S=async(n=!1)=>{if(n&&(y.value=1,w.value=[],p.value=!1),!g.value&&!p.value){g.value=!0;try{x("log","at pages_app/ppt/ppt.vue:388",`开始加载第${y.value}页课件数据`);const e=await Fl.ganDanFileByKeyWords({page:y.value,sort:u.value,keywords:c.value,title:""});if(x("log","at pages_app/ppt/ppt.vue:401","课件列表API响应:",e),e&&200===e.code){let t=[],i=0;if(e.data&&e.data.list)t=e.data.list,i=e.data.totalRow,x("log","at pages_app/ppt/ppt.vue:411","使用 res.data.list 结构");else{if(!e.data||!Array.isArray(e.data))return x("error","at pages_app/ppt/ppt.vue:417","无法识别的数据结构:",e.data),void(p.value=!0);t=e.data,i=e.total||0,x("log","at pages_app/ppt/ppt.vue:415","使用 res.data 数组结构")}x("log","at pages_app/ppt/ppt.vue:422","解析后的数据:",{newItems:t,totalCount:i,newItemsLength:t.length}),Array.isArray(t)?(n?(w.value=t,x("log","at pages_app/ppt/ppt.vue:427","刷新模式:替换列表数据")):(w.value.push(...t),x("log","at pages_app/ppt/ppt.vue:430","加载更多:追加数据到列表")),t.length=i?(p.value=!0,x("log","at pages_app/ppt/ppt.vue:436","没有更多数据了")):n||(y.value=y.value+1,x("log","at pages_app/ppt/ppt.vue:441",`还有更多数据,下一页: ${y.value}`))):(x("error","at pages_app/ppt/ppt.vue:445","API返回的数据不是数组格式:",t),p.value=!0)}else x("error","at pages_app/ppt/ppt.vue:449","加载课件列表失败:",e.message),uni.showToast({title:e.message||"加载失败",icon:"error"})}catch(e){x("error","at pages_app/ppt/ppt.vue:456","加载课件列表异常:",e),uni.showToast({title:"网络异常,请重试",icon:"error"})}finally{g.value=!1}}},C=n.ref(!1),q=n.ref([{name:"指南解读",selected:!1},{name:"病例分析",selected:!1},{name:"学术讲座",selected:!1},{name:"手术视频",selected:!1},{name:"研究进展",selected:!1},{name:"肝病治疗",selected:!1},{name:"肝癌诊断",selected:!1},{name:"肝移植",selected:!1},{name:"微创手术",selected:!1},{name:"免疫治疗",selected:!1},{name:"靶向治疗",selected:!1},{name:"化疗方案",selected:!1}]),T=()=>{C.value=!0},V=()=>{C.value=!1},A=()=>{q.value.forEach((n=>n.selected=!1))},I=()=>{const n=q.value.filter((n=>n.selected));x("log","at pages_app/ppt/ppt.vue:516","选中的筛选标签:",n);let e="";for(var t=0;tn<1?n.toFixed(2):n.toFixed(1);return i((()=>{x("log","at pages_app/ppt/ppt.vue:543","页面显示,开始加载课件数据"),(async()=>{try{const n=await Fl.guideTag({type:6});x("log","at pages_app/ppt/ppt.vue:314","指南标签API响应:",n),n&&200===n.code&&n.data&&(q.value=n.data.map((n=>({...n,selected:!1}))),x("log","at pages_app/ppt/ppt.vue:321","指南标签加载成功:",q.value))}catch(Rw){x("error","at pages_app/ppt/ppt.vue:324","加载指南标签失败:",Rw)}})()})),(x,t)=>{const i=e(n.resolveDynamicComponent("uni-nav-bar"),m),o=e(n.resolveDynamicComponent("up-image"),Jn),s=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(i,{"left-icon":"left",title:"肝胆课件",onClickLeft:j,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"collect-img",onClick:z,style:{"margin-right":"20rpx"}},[n.createElementVNode("image",{class:"img-icon",src:n.unref(Eg),mode:"aspectFill"},null,8,["src"])])])),_:1})]),n.createElementVNode("view",{class:"courseware-container"},[n.createElementVNode("view",{class:"filter-bar"},[n.createElementVNode("view",{class:"filter-item",onClick:k},[n.createElementVNode("text",{class:"filter-text active"},n.toDisplayString(0==u.value?"最新":"最热"),1),n.createElementVNode("view",{class:"newbox"},[n.createVNode(o,{src:n.unref(Ac),width:"20rpx",height:"26rpx"},null,8,["src"])])]),n.createElementVNode("view",{class:"divider"}),n.createElementVNode("view",{class:"filter-item",onClick:T},[n.createElementVNode("text",{class:n.normalizeClass(["filter-text",{active:l.value}])},"筛选",2),n.createElementVNode("view",{class:"filterbox"},[n.createVNode(o,{src:l.value?n.unref(Bc):n.unref(Ic),width:"30rpx",height:"30rpx"},null,8,["src"])])])]),n.createElementVNode("scroll-view",{class:"courseware-list","scroll-y":"true","refresher-enabled":"true","refresher-triggered":h.value,onRefresherrefresh:E,onScrolltolower:N,"show-scrollbar":!1},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(w.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"courseware-item",key:e,onClick:n=>(n=>{Ul({url:`/pages_app/pptDetail/pptDetail?src=${encodeURIComponent(n.preview_path)}&uuid=${n.uuid}`})})(x)},[n.createElementVNode("view",{class:"item-left"},[n.createElementVNode("view",{class:"pdf-icon"},[n.createVNode(o,{src:"pdf"==x.type?n.unref("/static/pdf.png"):n.unref("/static/word.png"),width:"114rpx",height:"114rpx"},null,8,["src"])])]),n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title twoline"},n.toDisplayString(x.title),1),n.createElementVNode("view",{class:"info"},[n.createElementVNode("view",{class:"author-name"},n.toDisplayString(x.providername),1),n.createElementVNode("view",{class:"item-author"},[n.createElementVNode("view",null,n.toDisplayString(x.hospitalname),1)])]),n.createElementVNode("view",{class:"item-stats"},[n.createElementVNode("view",{class:"views"},[n.createVNode(s,{type:"eye",size:"30rpx",color:"#999"}),n.createElementVNode("text",{class:"view-count"},n.toDisplayString(x.readnum)+"人阅读",1)]),x.price>=0?(n.openBlock(),n.createElementBlock("view",{key:0,class:"price"},[n.createElementVNode("view",{class:"priceImg",style:{"margin-top":"-4rpx"}},[n.createVNode(o,{src:n.unref($h),width:"32rpx",height:"32rpx"},null,8,["src"])]),x.price>0&&x.discount>0?(n.openBlock(),n.createElementBlock("text",{key:0,class:"price-value"},[n.createElementVNode("text",{class:"money-unit"},"¥"),n.createTextVNode(n.toDisplayString(B(x.price/100*x.discount)),1)])):n.createCommentVNode("",!0),x.price>0&&x.discount<1&&x.discount>0?(n.openBlock(),n.createElementBlock("text",{key:1,class:"yuanjia"},[n.createTextVNode("原价"),n.createElementVNode("text",{class:"jiaprice"},n.toDisplayString(B(x.price/100)),1)])):x.price<=0||0===x.discount||x.price*x.discount==0?(n.openBlock(),n.createElementBlock("text",{key:2,class:"free"},"免费")):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)])])],8,["onClick"])))),128))],40,["refresher-triggered"]),C.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"filter-popup",onClick:V},[n.createElementVNode("view",{class:"filter-content",onClick:t[0]||(t[0]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"filter-tags"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(q.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["tag-item",{active:x.selected}]),key:e,onClick:n=>(n=>{const x=q.value.filter((n=>n.selected)).length;!q.value[n].selected&&x>=3?uni.showToast({title:"最多选择3个标签",icon:"none"}):q.value[n].selected=!q.value[n].selected})(e)},n.toDisplayString(x.NAME),11,["onClick"])))),128))]),n.createElementVNode("view",{class:"filter-buttons"},[n.createElementVNode("view",{class:"btn-reset",onClick:A},"重置"),n.createElementVNode("view",{class:"btn-confirm",onClick:I},"确定")])])])):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"submit-btn",onClick:_},[n.createVNode(o,{src:n.unref("/static/getPpt.png"),width:"152rpx",height:"80rpx"},null,8,["src"])])]),n.createVNode(Rx,{visible:a.value,cancelText:"取消",confirmText:"保存二维码",onClose:t[1]||(t[1]=n=>a.value=!1),onConfirm:b},{content:n.withCtx((()=>[n.createElementVNode("view",{class:"ppt-content"},[n.createElementVNode("image",{src:n.unref(Rg),width:"80rpx",height:"80rpx",class:"contact-img"},null,8,["src"]),n.createElementVNode("view",{class:"ppt-content-title"},[n.createElementVNode("text",{style:{color:"#666"}},"APP下载课件为pdf格式,扫码联系平台文献助手获取原版PPT。")])])])),_:1},8,["visible"])],64)}}},$g=h(Ug,[["__scopeId","data-v-e7263801"]]),Hg={props:{color:{type:String,default:()=>An.line.color},length:{type:[String,Number],default:()=>An.line.length},direction:{type:String,default:()=>An.line.direction},hairline:{type:Boolean,default:()=>An.line.hairline},margin:{type:[String,Number],default:()=>An.line.margin},dashed:{type:Boolean,default:()=>An.line.dashed}}};const Yg=h({name:"u-line",mixins:[Dn,On,Hg],computed:{lineStyle(){const n={};return n.margin=this.margin,"row"===this.direction?(n.borderBottomWidth="1px",n.borderBottomStyle=this.dashed?"dashed":"solid",n.width=an(this.length),this.hairline&&(n.transform="scaleY(0.5)")):(n.borderLeftWidth="1px",n.borderLeftStyle=this.dashed?"dashed":"solid",n.height=an(this.length),this.hairline&&(n.transform="scaleX(0.5)")),n.borderColor=this.color,rn(n,on(this.customStyle))}}},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:"u-line",style:n.normalizeStyle([o.lineStyle])},null,4)}],["__scopeId","data-v-85dc6df8"]]),Gg=Object.freeze(Object.defineProperty({__proto__:null,default:Yg},Symbol.toStringTag,{value:"Module"}));const Wg=h({name:"u-status-bar",mixins:[Dn,On,{props:{bgColor:{type:String,default:()=>An.statusBar.bgColor},height:{type:Number,default:()=>An.statusBar.height}}}],data:()=>({isH5:!1}),created(){},emits:["update:height"],computed:{style(){const n={};let x=nn().statusBarHeight;return this.$emit("update:height",x),0==x?this.isH5=!0:n.height=an(x,"px"),n.backgroundColor=this.bgColor,rn(n,on(this.customStyle))}}},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{style:n.normalizeStyle([o.style]),class:n.normalizeClass(["u-status-bar",[l.isH5&&"u-safe-area-inset-top"]])},[n.renderSlot(x.$slots,"default",{},void 0,!0)],6)}],["__scopeId","data-v-8560b614"]]),Kg=Object.freeze(Object.defineProperty({__proto__:null,default:Wg},Symbol.toStringTag,{value:"Module"}));const Qg=h({name:"u-safe-bottom",mixins:[Dn,On,{props:{}}],data:()=>({safeAreaBottomHeight:0,isNvue:!1}),computed:{style(){return rn({},on(this.customStyle))}},mounted(){}},[["render",function(x,e,t,i,l,o){return n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["u-safe-bottom",[!l.isNvue&&"u-safe-area-inset-bottom"]]),style:n.normalizeStyle([o.style])},null,6)}],["__scopeId","data-v-d9413c99"]]),Jg=Object.freeze(Object.defineProperty({__proto__:null,default:Qg},Symbol.toStringTag,{value:"Module"})),Xg={props:{show:{type:Boolean,default:()=>An.popup.show},overlay:{type:Boolean,default:()=>An.popup.overlay},mode:{type:String,default:()=>An.popup.mode},duration:{type:[String,Number],default:()=>An.popup.duration},closeable:{type:Boolean,default:()=>An.popup.closeable},overlayStyle:{type:[Object,String],default:()=>An.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:()=>An.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:()=>An.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:()=>An.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:()=>An.popup.safeAreaInsetTop},closeIconPos:{type:String,default:()=>An.popup.closeIconPos},round:{type:[Boolean,String,Number],default:()=>An.popup.round},zoom:{type:Boolean,default:()=>An.popup.zoom},bgColor:{type:String,default:()=>An.popup.bgColor},overlayOpacity:{type:[Number,String],default:()=>An.popup.overlayOpacity}}};const Zg=h({name:"u-popup",mixins:[Dn,On,Xg],data(){return{overlayDuration:this.duration+50}},watch:{show(n,x){}},computed:{transitionStyle(){const n={zIndex:this.zIndex,position:"fixed",display:"flex"};return n[this.mode]=0,"left"===this.mode||"right"===this.mode?rn(n,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?rn(n,{left:0,right:0}):"center"===this.mode?rn(n,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle(){const n={};if(nn(),"center"!==this.mode&&(n.flex=1),this.bgColor&&(n.backgroundColor=this.bgColor),this.round){const x=an(this.round);"top"===this.mode?(n.borderBottomLeftRadius=x,n.borderBottomRightRadius=x):"bottom"===this.mode?(n.borderTopLeftRadius=x,n.borderTopRightRadius=x):"center"===this.mode&&(n.borderRadius=x)}return rn(n,on(this.customStyle))},position(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},emits:["open","close","click","update:show"],methods:{overlayClick(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))},open(n){this.$emit("update:show",!0)},close(n){this.$emit("update:show",!1),this.$emit("close")},afterEnter(){this.$emit("open")},clickHandler(){"center"===this.mode&&this.overlayClick(),this.$emit("click")}}},[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("u-overlay"),Ax),r=e(n.resolveDynamicComponent("u-status-bar"),Wg),c=e(n.resolveDynamicComponent("u-icon"),Un),u=e(n.resolveDynamicComponent("u-safe-bottom"),Qg),h=e(n.resolveDynamicComponent("u-transition"),Gn);return n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["u-popup",[x.customClass]]),style:n.normalizeStyle({width:0==x.show?"0px":"",height:0==x.show?"0px":""})},[n.createElementVNode("view",{class:"u-popup__trigger"},[n.renderSlot(x.$slots,"trigger",{},void 0,!0),n.createElementVNode("view",{onClick:t[0]||(t[0]=(...n)=>a.open&&a.open(...n)),class:"u-popup__trigger__cover"})]),x.overlay?(n.openBlock(),n.createBlock(s,{key:0,show:x.show,onClick:a.overlayClick,zIndex:x.zIndex,duration:o.overlayDuration,customStyle:x.overlayStyle,opacity:x.overlayOpacity},null,8,["show","onClick","zIndex","duration","customStyle","opacity"])):n.createCommentVNode("",!0),n.createVNode(h,{show:x.show,customStyle:a.transitionStyle,mode:a.position,duration:x.duration,onAfterEnter:a.afterEnter,onClick:a.clickHandler},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"u-popup__content",style:n.normalizeStyle([a.contentStyle]),onClick:t[2]||(t[2]=n.withModifiers(((...n)=>x.noop&&x.noop(...n)),["stop"])),onTouchmove:t[3]||(t[3]=n.withModifiers(((...n)=>x.noop&&x.noop(...n)),["stop","prevent"]))},[x.safeAreaInsetTop?(n.openBlock(),n.createBlock(r,{key:0})):n.createCommentVNode("",!0),n.renderSlot(x.$slots,"default",{},void 0,!0),x.closeable?(n.openBlock(),n.createElementBlock("view",{key:1,onClick:t[1]||(t[1]=n.withModifiers(((...n)=>a.close&&a.close(...n)),["stop"])),class:n.normalizeClass(["u-popup__content__close",["u-popup__content__close--"+x.closeIconPos]]),"hover-class":"u-popup__content__close--hover","hover-stay-time":"150"},[n.createVNode(c,{name:"close",color:"#909399",size:"18",bold:""})],2)):n.createCommentVNode("",!0),x.safeAreaInsetBottom?(n.openBlock(),n.createBlock(u,{key:2})):n.createCommentVNode("",!0)],36),n.renderSlot(x.$slots,"bottom",{},void 0,!0)])),_:3},8,["show","customStyle","mode","duration","onAfterEnter","onClick"])],6)}],["__scopeId","data-v-d7d4e6ab"]]),nd=Object.freeze(Object.defineProperty({__proto__:null,default:Zg},Symbol.toStringTag,{value:"Module"})),xd={props:{show:{type:Boolean,default:()=>An.modal.show},title:{type:[String],default:()=>An.modal.title},content:{type:String,default:()=>An.modal.content},confirmText:{type:String,default:()=>An.modal.confirmText},cancelText:{type:String,default:()=>An.modal.cancelText},showConfirmButton:{type:Boolean,default:()=>An.modal.showConfirmButton},showCancelButton:{type:Boolean,default:()=>An.modal.showCancelButton},confirmColor:{type:String,default:()=>An.modal.confirmColor},cancelColor:{type:String,default:()=>An.modal.cancelColor},buttonReverse:{type:Boolean,default:()=>An.modal.buttonReverse},zoom:{type:Boolean,default:()=>An.modal.zoom},asyncClose:{type:Boolean,default:()=>An.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:()=>An.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:()=>An.modal.negativeTop},width:{type:[String,Number],default:()=>An.modal.width},confirmButtonShape:{type:String,default:()=>An.modal.confirmButtonShape},duration:{type:[Number],default:An.modal.duration},contentTextAlign:{type:String,default:()=>An.modal.contentTextAlign},asyncCloseTip:{type:String,default:()=>An.modal.asyncCloseTip},asyncCancelClose:{type:Boolean,default:()=>An.modal.asyncCancelClose},contentStyle:{type:Object,default:()=>An.modal.contentStyle}}};const ed=h({name:"u-modal",mixins:[Dn,On,xd],data:()=>({loading:!1}),watch:{show(n){n&&this.loading&&(this.loading=!1)}},emits:["confirm","cancel","close","update:show","cancelOnAsync"],computed:{contentStyleCpu(){let n=this.contentStyle;return n.paddingTop=(this.title?12:25)+"px",n}},methods:{addUnit:an,confirmHandler(){this.asyncClose?this.loading=!0:this.$emit("update:show",!1),this.$emit("confirm")},cancelHandler(){this.asyncClose&&this.loading?(this.asyncCloseTip&&uni.showToast({title:this.asyncCloseTip,icon:"none"}),this.$emit("cancelOnAsync")):this.asyncCancelClose||this.$emit("update:show",!1),this.$emit("cancel")},clickHandler(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))}}},[["render",function(x,t,i,l,o,a){const s=e(n.resolveDynamicComponent("u-line"),Yg),r=e(n.resolveDynamicComponent("u-loading-icon"),vx),c=e(n.resolveDynamicComponent("u-popup"),Zg);return n.openBlock(),n.createBlock(c,{mode:"center",zoom:x.zoom,show:x.show,class:n.normalizeClass([x.customClass]),customStyle:{borderRadius:"6px",overflow:"hidden",marginTop:`-${a.addUnit(x.negativeTop)}`},closeOnClickOverlay:x.closeOnClickOverlay,safeAreaInsetBottom:!1,duration:x.duration,onClick:a.clickHandler},{bottom:n.withCtx((()=>[n.renderSlot(x.$slots,"popupBottom",{},void 0,!0)])),default:n.withCtx((()=>[n.createElementVNode("view",{class:"u-modal",style:n.normalizeStyle({width:a.addUnit(x.width)})},[x.title?(n.openBlock(),n.createElementBlock("view",{key:0,class:"u-modal__title"},n.toDisplayString(x.title),1)):n.createCommentVNode("",!0),n.createElementVNode("view",{class:"u-modal__content",style:n.normalizeStyle(a.contentStyleCpu)},[n.renderSlot(x.$slots,"default",{},(()=>[n.createElementVNode("text",{class:"u-modal__content__text",style:n.normalizeStyle({textAlign:x.contentTextAlign})},n.toDisplayString(x.content),5)]),!0)],4),x.$slots.confirmButton?(n.openBlock(),n.createElementBlock("view",{key:1,class:"u-modal__button-group--confirm-button"},[n.renderSlot(x.$slots,"confirmButton",{},void 0,!0)])):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createVNode(s),n.createElementVNode("view",{class:"u-modal__button-group",style:n.normalizeStyle({flexDirection:x.buttonReverse?"row-reverse":"row"})},[x.showCancelButton?(n.openBlock(),n.createElementBlock("view",{key:0,class:n.normalizeClass(["u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel",[x.showCancelButton&&!x.showConfirmButton&&"u-modal__button-group__wrapper--only-cancel"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:t[0]||(t[0]=(...n)=>a.cancelHandler&&a.cancelHandler(...n))},[n.createElementVNode("text",{class:"u-modal__button-group__wrapper__text",style:n.normalizeStyle({color:x.cancelColor})},n.toDisplayString(x.cancelText),5)],2)):n.createCommentVNode("",!0),x.showConfirmButton&&x.showCancelButton?(n.openBlock(),n.createBlock(s,{key:1,direction:"column"})):n.createCommentVNode("",!0),x.showConfirmButton?(n.openBlock(),n.createElementBlock("view",{key:2,class:n.normalizeClass(["u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm",[!x.showCancelButton&&x.showConfirmButton&&"u-modal__button-group__wrapper--only-confirm"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:t[1]||(t[1]=(...n)=>a.confirmHandler&&a.confirmHandler(...n))},[o.loading?(n.openBlock(),n.createBlock(r,{key:0})):(n.openBlock(),n.createElementBlock("text",{key:1,class:"u-modal__button-group__wrapper__text",style:n.normalizeStyle({color:x.confirmColor})},n.toDisplayString(x.confirmText),5))],2)):n.createCommentVNode("",!0)],4)],64))],4)])),_:3},8,["zoom","show","class","customStyle","closeOnClickOverlay","duration","onClick"])}],["__scopeId","data-v-0e91edbc"]]),td=Object.freeze(Object.defineProperty({__proto__:null,default:ed},Symbol.toStringTag,{value:"Module"}));const id={__name:"pay",setup(t){const l=n.ref(""),a=n.ref(""),s=n.ref(""),r=n.ref(0),c=n.ref(""),u=n.ref(!1);o((n=>{"ganDanFile"==n.type&&(l.value=n.uuid,a.value="ganDanFile"),m(),p()})),i((()=>{s.value&&g()}));const h=n=>{x("log","at pages_app/pay/pay.vue:107",n)},g=()=>{Fl.getOrderStatus({trade_no:s.value}).then((n=>{x("log","at pages_app/pay/pay.vue:113",n)}))},d=()=>{Fl.payGanDanFile({channel:"balance"==b.value?"balance":"wx",trade_no:s.value}).then((n=>{if(200==n.code){!function(n,e,t){x("log","at utils/payment.js:49","APP-PLUS == APP-PLUS==APP-PLUS== APP-PLUS");const i=uni.getSystemInfoSync().platform;let l="";l="ios"===i?"wxpay":n.provider||"wxpay",uni.requestPayment({provider:l,orderInfo:n,success:n=>{x("log","at utils/payment.js:68",`${l} 支付成功`,n),e&&e(n)},fail:n=>{x("error","at utils/payment.js:72",`${l} 支付失败`,n),t&&t(n)}})}(n.data,(()=>{x("log","at pages_app/pay/pay.vue:124","支付成功回调"),uni.showToast({title:"支付成功",icon:"none",duration:1e4})}),(n=>{x("log","at pages_app/pay/pay.vue:132",n),uni.showToast({title:"支付失败",icon:"none"})}))}}))},p=()=>{Fl.getBalance().then((n=>{200==n.code&&(r.value=(n.data/100).toFixed(2))}))},m=()=>{Fl.createGanDanFileOrder({file_uuid:l.value}).then((n=>{200==n.code&&(s.value=n.data.trade_no,f.value=n.data)}))},f=n.ref({amount:0,provider_name:""}),b=n.ref(""),v=n=>{if("balance"==n){if(r.value{u.value=!1,Fl.payGanDanFile({trade_no:s.value,channel:"balance",pwd:c.value}).then((n=>{200==n.code&&(uni.showToast({title:"支付成功",icon:"none"}),uni.navigateBack())}))},z=()=>{x("log","at pages_app/pay/pay.vue:217",b.value),b.value?"balance"==b.value?u.value=!0:d():uni.showToast({title:"请选择支付方式",icon:"none"})};return(x,t)=>{const i=e(n.resolveDynamicComponent("navBar"),y),l=e(n.resolveDynamicComponent("up-image"),Jn),o=e(n.resolveDynamicComponent("up-modal"),ed);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(i,{showLeft:!0,title:"在线支付"}),n.createElementVNode("view",{class:"pay-page"},[n.createElementVNode("view",{class:"main-content"},[n.createElementVNode("view",{class:"purchase-summary"},[n.createElementVNode("view",{class:"summary-row"},["ganDanFile"==a.value?(n.openBlock(),n.createElementBlock("text",{key:0,class:"summary-label"},"下载"+n.toDisplayString(f.value.provider_name)+"的课件",1)):n.createCommentVNode("",!0),n.createElementVNode("text",{class:"summary-amount"},n.toDisplayString((f.value.amount/100).toFixed(2))+"元",1)])]),n.createElementVNode("view",{class:"payment-intro"},[n.createElementVNode("text",{class:"intro-text"},"通过以下方式支付")]),n.createElementVNode("radio-group",{onChange:h},[n.createElementVNode("label",{class:"payment-option",onClick:t[1]||(t[1]=n=>v("balance"))},[n.createElementVNode("view",{class:"option-left"},[n.createVNode(l,{src:n.unref("/static/yue.png"),width:"56rpx",height:"56rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"option-middle"},[n.createElementVNode("text",{class:"option-title"},"余额支付 ¥"+n.toDisplayString(r.value),1),r.valuev("balance")),["stop"])),checked:"balance"===b.value,value:"balance",disabled:r.valuev("wechat"))},[n.createElementVNode("view",{class:"option-left"},[n.createVNode(l,{src:n.unref("/static/weixin.png"),width:"56rpx",height:"56rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"option-middle"},[n.createElementVNode("text",{class:"option-title"},"微信支付")]),n.createElementVNode("view",{class:"option-right"},[n.createElementVNode("radio",{onClick:t[2]||(t[2]=n.withModifiers((n=>v("wechat")),["stop"])),checked:"wechat"===b.value,value:"wechat",color:"#8B2316"},null,8,["checked"])])])],32)]),n.createElementVNode("view",{class:"bottom-actions"},[n.createElementVNode("view",{class:"pay-btn",onClick:z},[n.createElementVNode("text",{class:"btn-text"},"立即支付")])])]),n.createVNode(o,{show:u.value,showCancelButton:"",title:"提示",onConfirm:w,onCancel:t[5]||(t[5]=n=>u.value=!1),confirmColor:"#8B2316"},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"slot-content"},[n.withDirectives(n.createElementVNode("input",{type:"text",password:"","onUpdate:modelValue":t[4]||(t[4]=n=>c.value=n),placeholder:"请输入您的登录密码"},null,512),[[n.vModelText,c.value]])])])),_:1},8,["show"])],64)}}},ld=h(id,[["__scopeId","data-v-39cb09d4"]]),od={__name:"articleDownload",setup(t){const l=n.ref([]),a=n.ref(!1),s=n.ref(!0),r=n.ref(1),c=n.ref(10);n.ref(!1);const u=n.ref(""),h=n.ref("more"),g=n.ref("");n.ref("");const p=n.ref(2),y=n.ref(!1),f=n.ref("上传时间"),b=n.ref([]),v=n.computed((()=>b.value.filter((n=>"completed"==n.status&&"article"==n.type)))),w=n=>{p.value=n,1==n?f.value="下载量":2==n?f.value="上传时间":3==n&&(f.value="标题"),y.value=!1,z(!0)};o((n=>{})),i((()=>{k(),Ag.addListener((n=>{b.value=n})),E()}));const z=async(n=!1)=>{if(x("log","at pages_app/articleDownload/articleDownload.vue:249","=== loadGuidelinesList 开始 ==="),x("log","at pages_app/articleDownload/articleDownload.vue:250","当前参数:",{isRefresh:n,page:r.value,keywords:u.value}),!a.value)try{a.value=!0,h.value="loading";const e={page:r.value,pageSize:c.value,type:1,sort:2,typeUuid:g.value,keywords:u.value},t=await Fl.searchLibraryU(e);if(x("log","at pages_app/articleDownload/articleDownload.vue:272","指南列表响应:",t),200===t.code&&t.data){const e=t.data.list||t.data;n?(l.value=e,x("log","at pages_app/articleDownload/articleDownload.vue:279","刷新模式:替换列表数据")):(l.value=[...l.value,...e],x("log","at pages_app/articleDownload/articleDownload.vue:282","加载更多:追加数据到列表")),e.length{uni.navigateBack()},k=()=>{b.value=Ag.getTasks()},_=n=>{Ag.removeTask(n),k()},E=()=>{n.nextTick((()=>{Ag.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/articleDownload/articleDownload.vue:559","恢复下载任务:",null==(e=Ag.getTask(n))?void 0:e.url),(n=>{const e=Ag.getTask(n);if(!e)return;if("loading"==e.status)return!1;uni.showToast({title:"正在下载中",icon:"none"}),Ag.updateTask(n,{status:"loading"});const t=uni.downloadFile({url:e.url,success:e=>{x("log","at pages_app/articleDownload/articleDownload.vue:476","res1:"+JSON.stringify(e)),200===e.statusCode?(Ag.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"none"}),uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/articleDownload/articleDownload.vue:492","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/articleDownload/articleDownload.vue:496","res:"+JSON.stringify(t)),x("log","at pages_app/articleDownload/articleDownload.vue:497","size:"+t.size),Ag.updateTask(n,{status:"completed",localPath:e.savedFilePath})}})}})):(Ag.updateTask(n,{status:"failed"}),_(n),uni.showToast({title:"下载失败2",icon:"none"}))},fail:x=>{Ag.updateTask(n,{status:"failed"}),_(n),uni.showToast({title:"下载失败3: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Ag.getTask(n);e&&"downloading"===e.status&&Ag.updateTask(n,{progress:x.progress})})),Ag.updateTask(n,{task:t})})(n)}))}))},N=n=>{if(!n)return"";try{const x=new Date(n),e=x.getFullYear(),t=String(x.getMonth()+1).padStart(2,"0");return`${e}-${t}-${String(x.getDate()).padStart(2,"0")}`}catch(x){return n}};return(t,i)=>{const l=e(n.resolveDynamicComponent("uni-nav-bar"),m),o=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"zhinan-list-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(l,{"left-icon":"left",title:"文献期刊",onClickLeft:j,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"})]),n.createElementVNode("scroll-view",{class:"guidelines-scroll-view","scroll-y":"true"},[n.createElementVNode("view",{class:"guidelines-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(v.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e.id||t},[n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title"},n.toDisplayString(e.title),1),n.createElementVNode("view",{class:"item-bottom"},[n.createElementVNode("view",{class:"item-date"},n.toDisplayString(N(e.releaseTime)),1),n.createElementVNode("view",{class:"item-action"},[n.createElementVNode("view",{class:"view-btn",onClick:n.withModifiers((n=>{return t=e,x("log","at pages_app/articleDownload/articleDownload.vue:389",b.value),void b.value.forEach((n=>{n.id==t.id&&(x("log","at pages_app/articleDownload/articleDownload.vue:392",2222222222),x("log","at pages_app/articleDownload/articleDownload.vue:393",n.localPath),plus.runtime.openFile(n.localPath,(function(n){x("log","at pages_app/articleDownload/articleDownload.vue:395","打开成功")}),(function(n){uni.showToast({title:"打开失败:"+n.message,icon:"none",duration:2e3}),x("log","at pages_app/articleDownload/articleDownload.vue:402","打开失败:"+n.message)})))}));var t}),["stop"])},"查看",8,["onClick"])])])])])))),128))]),0===v.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"no-data"},[n.createVNode(o,{type:"info",size:"60",color:"#999"}),n.createElementVNode("text",null,"暂无数据")])):n.createCommentVNode("",!0)])]),y.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"popup-panel"},[n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:1==p.value}]),onClick:i[0]||(i[0]=n.withModifiers((n=>w(1)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"下载量"),1==p.value?(n.openBlock(),n.createBlock(o,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:2==p.value}]),onClick:i[1]||(i[1]=n.withModifiers((n=>w(2)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"上传时间"),2==p.value?(n.openBlock(),n.createBlock(o,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:3==p.value}]),onClick:i[2]||(i[2]=n.withModifiers((n=>w(3)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"标题"),3==p.value?(n.openBlock(),n.createBlock(o,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2)])):n.createCommentVNode("",!0)],64)}}},ad=h(od,[["__scopeId","data-v-326858aa"]]),sd={__name:"patientVideo",setup(t){const i=n.ref(!1),l=n.ref([]);n.ref(1);const a=n.ref(!1),s=n.ref(!1),c=n.ref("more"),u=n.ref(1),h=n.ref(10),g=n.ref(!0);n.ref([]);const p=n.ref(2),y=n.ref(""),f=n.ref(""),b=n.ref("0e5fa3d76b8047528fdd3c452b77e9dd"),v=n.ref("乙肝"),w=n.ref(!1),z=n.ref(!1);n.ref([]),n.reactive({});const j=n.ref([]),k=n.ref(!1);n.ref("全部"),r((()=>{if(!f.value)return plus.runtime.quit(),!0})),o((n=>{n.from&&(f.value=n.from)}));const _=n.ref([{name:"全部视频",uuid:""}]);n.onMounted((()=>{})),o((()=>{u.value=1,g.value=!0,N(),S(),(async()=>{const n=await Fl.patientVideoNew();200==n.code&&(_.value=_.value.concat(n.data).filter((n=>!n.name.includes("BMS患者端"))))})()}));const E=n=>{let x=n.substring(0,4),e=n.substring(4,n.length),t=x.lastIndexOf("-");return t>-1?n.substring(t+1,4)+e:n},N=async()=>{try{const n=await Fl.guideTag({type:5});x("log","at pages_app/patientVideo/patientVideo.vue:299","指南标签API响应:",n),n&&200===n.code&&n.data&&(j.value=n.data.map((n=>({...n,selected:!1}))),x("log","at pages_app/patientVideo/patientVideo.vue:306","指南标签加载成功:",j.value))}catch(Rw){x("error","at pages_app/patientVideo/patientVideo.vue:309","加载指南标签失败:",Rw)}},S=async(n=!1)=>{if(!a.value||n){a.value=!0;try{const e=await Fl.patientVideoByKeyWordsNew({page:u.value,pageSize:h.value,keywords:y.value,sort:p.value.toString(),typeUuid:b.value});x("log","at pages_app/patientVideo/patientVideo.vue:327","视频列表API原始响应:",e);let t={};if(e&&e.data?200===e.data.code?t=e.data.data||{}:200===e.code&&(t=e.data||{}):e&&200===e.code&&(t=e.data||{}),x("log","at pages_app/patientVideo/patientVideo.vue:341","解析后的视频数据:",t),!t||!t.list)throw new Error((null==e?void 0:e.message)||"获取数据失败");{const{list:e,totalPage:i,pageNumber:o}=t;x("log","at pages_app/patientVideo/patientVideo.vue:345","视频列表数据:",e),n?(l.value=e||[],u.value=1):l.value=[...l.value,...e||[]],g.value=i>o,c.value=g.value?"more":"noMore"}}catch(e){x("error","at pages_app/patientVideo/patientVideo.vue:361","加载视频失败:",e)}finally{a.value=!1,s.value=!1}}},C=()=>{s.value=!0,u.value=1,g.value=!0,S(!0)},q=()=>{g.value&&!a.value&&(c.value="loading",u.value++,S())},T=()=>{k.value=!1},V=()=>{z.value=!0},A=()=>{z.value=!1},I=()=>{j.value.forEach((n=>n.selected=!1)),y.value="",u.value=1,g.value=!0,S(!0)},B=()=>{const n=j.value.filter((n=>n.selected));x("log","at pages_app/patientVideo/patientVideo.vue:523","选中的筛选标签:",n);let e="";for(var t=0;t{if(!f.value)return plus.runtime.quit(),!0;uni.navigateBack()},M=()=>{uni.sendNativeEvent("goHomeSearch",{msg:"patientVideo"},(n=>{x("log","at pages_app/patientVideo/patientVideo.vue:559",n)}))},O=()=>{p.value=1===p.value?2:1,u.value=1,g.value=!0,l.value=[],S()};return(t,o)=>{const r=e(n.resolveDynamicComponent("uni-nav-bar"),m),h=e(n.resolveDynamicComponent("up-image"),Jn),y=e(n.resolveDynamicComponent("uni-icons"),d),f=e(n.resolveDynamicComponent("uni-load-more"),pg);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(r,{"left-icon":"left",title:"患教视频",onClickLeft:D,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-actions"},[n.createElementVNode("view",{class:"collect-img",onClick:M},[n.createElementVNode("image",{class:"img-icon",src:n.unref(Eg),mode:"aspectFill"},null,8,["src"])])])])),_:1})]),n.createElementVNode("view",{class:"video-page"},[n.createElementVNode("view",{class:"filter-tabs-container"},[n.createElementVNode("view",{class:"filter-tabs"},[n.createElementVNode("view",{class:"tab-item",onClick:o[0]||(o[0]=n=>k.value=!k.value)},[n.createVNode(h,{src:i.value?n.unref(yg):n.unref(mg),width:"30rpx",height:"30rpx"},null,8,["src"]),n.createElementVNode("text",{class:n.normalizeClass(["tab-text",{active:i.value}]),style:{"margin-top":"4rpx"}},n.toDisplayString(E(v.value)),3),n.createVNode(h,{src:i.value?n.unref(bg):n.unref(fg),width:"30rpx",height:"30rpx"},null,8,["src"])]),n.createElementVNode("view",{class:"right"},[n.createElementVNode("view",{class:"tab-item",onClick:O},[n.createElementVNode("text",{class:"tab-text active"},n.toDisplayString(2==p.value?"最新":"最热"),1),n.createElementVNode("view",{class:"newbox"},[n.createVNode(h,{src:2==p.value?n.unref(Ac):n.unref(vg),width:"20rpx",height:"26rpx"},null,8,["src"])])]),n.createElementVNode("view",{class:"bar"}),n.createElementVNode("view",{class:"tab-item",onClick:V},[n.createElementVNode("text",{class:n.normalizeClass(["tab-text",{active:w.value}])},"筛选",2),n.createElementVNode("view",{class:"filterbox"},[n.createVNode(h,{src:w.value?n.unref(Bc):n.unref(Ic),width:"30rpx",height:"30rpx"},null,8,["src"])])])])])]),n.createElementVNode("scroll-view",{class:"scroll-view","scroll-y":"true","refresher-enabled":"true","refresher-triggered":s.value,onRefresherrefresh:C,onScrolltolower:q,"lower-threshold":"100"},[n.createElementVNode("view",{class:"video-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"video-item",key:x.id||x.uuid,onClick:n=>(n=>{Ul({url:`/pages_app/videoDetail/videoDetail?id=${n.id||n.uuid}&type=patientVideo`})})(x)},[n.createElementVNode("view",{class:"video-thumbnail"},[n.createVNode(h,{src:n.unref($l)+x.imgpath,class:"poster-image",mode:"aspectFill",loadingIcon:n.unref(wg),errorIcon:n.unref(wg),"lazy-load":!0,width:"100%",height:"220rpx"},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),class:"video-thumbnail",mode:"aspectFill"},null,8,["src"])])),loading:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(wg),class:"video-thumbnail",mode:"aspectFill"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon"])]),n.createElementVNode("view",{class:"video-info"},[n.createElementVNode("view",{class:"video-title"},n.toDisplayString(x.title||x.name),1),n.createElementVNode("view",{class:"video-meta"},[n.createElementVNode("text",{class:"author"},n.toDisplayString(x.public_name),1),n.createElementVNode("view",{class:"stats"},[n.createVNode(y,{type:"eye",size:"14",color:"#999"}),n.createElementVNode("text",{class:"view-count"},n.toDisplayString(n.unref(Dc)(x.readnum)),1)])])])],8,["onClick"])))),128))]),l.value.length>0?(n.openBlock(),n.createBlock(f,{key:0,status:c.value,"content-text":{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}},null,8,["status","content-text"])):n.createCommentVNode("",!0),0!==l.value.length||a.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("view",{key:1,class:"empty-state"},[n.createVNode(Vc)]))],40,["refresher-triggered"]),z.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"filter-popup",onClick:A},[n.createElementVNode("view",{class:"filter-content",onClick:o[1]||(o[1]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"filter-tags"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(j.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["tag-item",{active:x.selected}]),key:e,onClick:n=>(n=>{const x=j.value[n];if(x.selected)return void(x.selected=!1);j.value.filter((n=>n.selected)).length>=3?uni.showToast({title:"最多只能选择3个标签",icon:"none",duration:2e3}):x.selected=!0})(e)},n.toDisplayString(x.NAME),11,["onClick"])))),128))]),n.createElementVNode("view",{class:"filter-buttons"},[n.createElementVNode("view",{class:"btn-reset",onClick:I},"重置"),n.createElementVNode("view",{class:"btn-confirm",onClick:B},"确定")])])])):n.createCommentVNode("",!0),k.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"all-video-popup",onClick:T},[n.createElementVNode("view",{class:"popup-content",onClick:o[2]||(o[2]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"popup-body"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(_.value,(e=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["category-item",{active:b.value===e.uuid}]),key:e.uuid,onClick:n=>{return t=e.uuid,x("log","at pages_app/patientVideo/patientVideo.vue:244",222),x("log","at pages_app/patientVideo/patientVideo.vue:245",t),b.value=t,v.value=_.value.find((n=>n.uuid==t)).name,i.value=!0,T(),u.value=1,l.value=[],g.value=!0,void S();var t}},n.toDisplayString(E(e.name)),11,["onClick"])))),128)),0===_.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"empty-content"},[n.createElementVNode("text",null,"暂无数据")])):n.createCommentVNode("",!0)])])])):n.createCommentVNode("",!0)])],64)}}},rd=h(sd,[["__scopeId","data-v-c681a85e"]]),cd="/static/avastar.png",ud=h({__name:"videoDetail",setup(t){const a=n.ref(""),r=n.ref([]),c=n.ref(""),u=n.ref({}),h=n.ref(""),g=n.ref(!1),p=n.ref(""),y=n.ref(!1),f=n.ref(""),b=n.ref(!1),v=n.ref(""),w=n.ref(0),z=n.ref(!1),j=n.ref(0),k=n.ref(null),_=n.ref(!1),E=n.ref(!1),N=n.ref(null),S=n.ref(!1),C=n.ref(375),q=n.ref(!1),T=n.ref("start");let V=uni.getStorageSync("downLoadVideo")||[];n.ref(V);const A=n.ref(!1),I=n.ref(!1),B=n.ref([]);let D=uni.getStorageSync("userInfo");const M=n.ref(D.uuid),O=()=>{z.value=!0,_.value=!0,k.value=setInterval((()=>{j.value++}),1e3)},R=()=>{z.value=!1,k.value&&(clearInterval(k.value),k.value=null)},P=()=>{z.value=!1,k.value&&(clearInterval(k.value),k.value=null)};l((()=>{}));const L=n=>{const x=qg.addTask(n);U(),F(x)},F=n=>{const e=qg.getTask(n);if(!e)return;q.value=!0,nn.value=!0,T.value="loading";const t=uni.downloadFile({url:e.url,success:e=>{200===e.statusCode?(qg.updateTask(n,{status:"completed",filePath:e.tempFilePath}),T.value="completed",uni.showToast({title:"下载成功",icon:"none"}),T.value="completed",uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/videoDetail/videoDetail.vue:388","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/videoDetail/videoDetail.vue:393","res:"+JSON.stringify(t)),x("log","at pages_app/videoDetail/videoDetail.vue:394","size:"+t.size),qg.updateTask(n,{status:"completed",localPath:e.savedFilePath,size:t.size}),xn()}})}})):(qg.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败",icon:"none"}))},fail:x=>{qg.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=qg.getTask(n);e&&"downloading"===e.status&&qg.updateTask(n,{progress:x.progress,downloadSize:x.totalBytesWritten,totalSize:x.totalBytesExpectedToWrite})})),qg.updateTask(n,{task:t})},U=()=>{B.value=qg.getTasks()},$=()=>{b.value=!1,Ul({url:"/pages_app/buyPoint/buyPoint?product_id="+c.value+"&type=video"})},H=()=>{y.value=!1,En()},Y=()=>{1==u.value.isCollection?Z():J()},G=()=>{g.value=!1,w.value>0?W():y.value=!0};n.ref({});const W=async()=>{1==(await Fl.useWelfareNum({type:1,other_uuid:c.value})).code&&(uni.showToast({title:"使用次数成功",icon:"none"}),w.value--,uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"viorder_deo_download",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:"",event_unit:"分",number:1,event_val:0}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:516",n)})),L({url:zn.value,id:c.value,imgpath:u.value.imgpath,author:u.value.public_name,name:u.value.name}))},K=n=>{zn.value=zn.value.replace(".mp4",".m3u8")},Q=async(n=!1)=>{const e=await Fl.videoDetail({video_uuid:c.value});if(200==e.code){uni.getStorageSync("userInfo"),u.value=e.video,h.value=e.video.tags;let i=e.video.polyv_uuid||Cn(e.video.content);x("log","at pages_app/videoDetail/videoDetail.vue:543",222222),x("log","at pages_app/videoDetail/videoDetail.vue:544",i);let l=i.substring(0,10),o=i.lastIndexOf("_"),s=i.substring(o-1,o),r=i.substring(0,o+1);if(zn.value=`http://mpv.videocc.net/${l}/${s}/${r}1.mp4`,x("log","at pages_app/videoDetail/videoDetail.vue:551",zn.value),S.value=!0,a.value=Ih+"/video/hcp_detial?share=1&uuid="+c.value+"&expertshare=videoshare&fromtype=doctor",x("log","at pages_app/videoDetail/videoDetail.vue:558",u.value.name),n)try{uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:570",n)}))}catch(t){}}},J=async()=>{200==(await Fl.collection({other_uuid:c.value,type:5})).code&&(uni.showToast({title:"收藏成功",icon:"none"}),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"collect",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:594",n)})),Q())},X=()=>{Fl.addBonusPointsN({score_type:5}).then((n=>{n.code}))},Z=async()=>{200==(await Fl.discollection({other_uuid:c.value,type:5})).code&&(uni.showToast({title:"取消收藏成功",icon:"none"}),Q())},nn=n.ref(!1),xn=async()=>{const n=await Fl.isVideoDownloadRecord({video_uuid:c.value});200==n.code&&(nn.value=0!=n.result,nn.value&&B.value.forEach((n=>{n.id==c.value&&uni.getSavedFileInfo({filePath:n.localPath,success:function(n){q.value=!0,T.value="completed"},fail:function(n){}})})))},en=async()=>{Vn.value=!0;try{const n=await Fl.videoCommentListV2({uuid:c.value});if(n&&200==n.code&&Array.isArray(n.data)){const x=n.data.map(Dn);kn.value=x,An.value=!0}else An.value=!0}finally{Vn.value=!1}},tn=()=>{n.nextTick((()=>{qg.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/videoDetail/videoDetail.vue:677","恢复下载任务:",null==(e=qg.getTask(n))?void 0:e.url),F(n)}))}))};s((()=>{if(x("log","at pages_app/videoDetail/videoDetail.vue:683","onUnload"),uni.$off("selectedChatPatientsSingle"),uni.$off("replySuccess",an),k.value&&(clearInterval(k.value),k.value=null),_.value){let n=u.value.polyv_uuid||Cn(u.value.content);x("log","at pages_app/videoDetail/videoDetail.vue:692",n),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"watch_video",page_type:"",resource_name:n,resource_option:h.value?h.value:"",event_val:j.value,event_unit:"秒"}})}}));const ln=n.ref(!1),on=n.ref(0),an=()=>{(n=>{const x=Date.now();if(ln.value)return!1;if(x-Number(on.value||0)<1e3)return!1;ln.value=!0,on.value=x;try{n&&n()}finally{setTimeout((()=>{ln.value=!1}),300)}})((()=>{x("log","at pages_app/videoDetail/videoDetail.vue:724","reply-success");try{uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"comment",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:735",n)}))}catch(n){}}))};i((()=>{if(uni.$on("selectedChatPatientsSingle",(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:744",n),r.value=n.patients,"patientVideo"==wn.value&&dn()})),uni.$off("replySuccess",an),uni.$on("replySuccess",an),q.value=!1,T.value="start",x("log","at pages_app/videoDetail/videoDetail.vue:754","onShow"),U(),qg.addListener((n=>{B.value=n})),tn(),x("log","at pages_app/videoDetail/videoDetail.vue:763","tasks"),x("log","at pages_app/videoDetail/videoDetail.vue:764",B.value),B.value.length>0)for(let n=0;n{const x=Date.now();if(rn.value)return!1;if(x-Number(cn.value||0)<800)return!1;rn.value=!0,cn.value=x;try{n&&n()}finally{setTimeout((()=>{rn.value=!1}),500)}return!0},hn=()=>{sn.value.open()},gn=()=>{I.value=!1},dn=async()=>{const n=await Fl.addGroupSendMsg4YunXin({patient_user_uuid:r.value.map((n=>n.uuid)).join(","),msg_content:u.value.uuid,msg_type:4});200==n.code?uni.showToast({title:"推荐成功",icon:"none"}):uni.showToast({title:n.msg,icon:"none"})},pn=n=>{I.value=!1,"single"===n?Ul({url:"/pages_app/selectPatient/selectPatient?from=videoDetail"}):"group"===n&&Ul({url:"/pages_chat/patientGroup/patientGroup?from=videoDetail"})},mn=()=>{sn.value.close()},yn=()=>{un((()=>{}))&&("patientVideo"==wn.value&&X(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:879",n)})),uni.downloadFile({url:Ah?$l+u.value.imgpath:"https://doc.igandan.com/app/html/img/2016/20160714132557.png",success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneSession",type:0,title:u.value.name,summary:u.value.note,href:a.value,imageUrl:n.tempFilePath,success:function(n){x("log","at pages_app/videoDetail/videoDetail.vue:900","success:"+JSON.stringify(n))},fail:function(n){x("log","at pages_app/videoDetail/videoDetail.vue:903","fail:"+JSON.stringify(n))}})}})}}),mn())},fn=()=>{un((()=>{}))&&("patientVideo"==wn.value&&X(),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"share",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:990",n)})),uni.downloadFile({url:Ah?$l+u.value.imgpath:"https://doc.igandan.com/app/html/img/2016/20160714132557.png",success:function(n){uni.compressImage({src:n.tempFilePath,quality:60,success:function(n){uni.share({provider:"weixin",scene:"WXSceneTimeline",type:0,title:u.value.name,summary:u.value.note,href:a.value,imageUrl:n.tempFilePath,success:function(n){},fail:function(n){}})}})}}),mn())},bn=()=>{un((()=>{}))&&(uni.share({provider:"sinaweibo",type:0,title:u.value.name,summary:u.value.note,href:a.value,imageUrl:ig,success:function(n){},fail:function(n){}}),mn())},vn=n.ref(""),wn=n.ref("");o((n=>{x("log","at pages_app/videoDetail/videoDetail.vue:1099",n),n.type&&(wn.value=n.type),n.tags&&(h.value=n.tags),uni.getSystemInfo({success:function(n){C.value=n.windowWidth}}),x("log","at pages_app/videoDetail/videoDetail.vue:1111","enrtyVideoDetail"),x("log","at pages_app/videoDetail/videoDetail.vue:1112",h.value),uni.sendNativeEvent("enrtyVideoDetail",{msg:"enrtyVideoDetail"},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:1117",n)})),c.value=n.id,vn.value=n.from,"download"!=vn.value&&((async()=>{(await Fl.addVideoWatchRecord({video_uuid:c.value})).code})(),xn(),(async()=>{const n=await Fl.getWelfareNum({type:1});1==n.code&&(w.value=n.WelfareNum)})()),U(),qg.addListener((n=>{B.value=n})),tn(),"download"==vn.value&&B.value.forEach((n=>{n.id==c.value&&(x("log","at pages_app/videoDetail/videoDetail.vue:1139",222222),x("log","at pages_app/videoDetail/videoDetail.vue:1140",n.localPath),zn.value=n.localPath,S.value=!0)}))}));const zn=n.ref(""),jn=n.ref("info");n.ref("首都医科大学附属北京佑安医院,肝病中心四科主任(疑难肝病与人工肝中心主任),主任医师,教授,博士生导师。中华医学会肝病学分会副秘书长、委员、终末期肝病学组副组长,北京医学会肝病学分会常委,肝衰竭及人工肝学组副组长,北京肝胆相照公益基金会副理事长等。发表论文500余篇,累计SCI论文150余篇,出版专著20余部,获得科研奖项10余项,获得发明专利7项。");const kn=n.ref([]),_n=n=>{jn.value=n,"comment"==n&&en()},En=async()=>{const n=await Fl.payVideoDownload({video_uuid:c.value});x("log","at pages_app/videoDetail/videoDetail.vue:1170",n),200==n.code?(uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"viorder_deo_download",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:"",event_unit:"积分",number:1,event_val:u.value.point}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:1184",n)})),L({url:zn.value,id:c.value,imgpath:u.value.imgpath,author:u.value.public_name,name:u.value.name})):106==n.code&&(b.value=!0,v.value="您的积分不足,是否购买积分?")},Nn=()=>{zn.value.includes(".m3u8")?uni.showToast({title:"该视频不支持下载",icon:"none"}):nn.value?q.value?"completed"==T.value?Ul({url:"/pages_app/downLoadVideo/downLoadVideo"}):Ul({url:"/pages_app/downLoadVideo/downLoadVideo?type=2"}):L({url:zn.value,id:c.value,imgpath:u.value.imgpath,author:u.value.public_name,name:u.value.name}):w.value<=0?(f.value=`该视频需要${u.value.point}积分兑换,若删除,可以再次免费缓存`,uni.getNetworkType({success:function(n){"none"!=n.networkType?(g.value=!0,p.value=`当前为${n.networkType}网络,确定下载?`):uni.showToast({title:"当前未联网,请检查网络",icon:"none"})}})):uni.getNetworkType({success:function(n){"none"!=n.networkType?(g.value=!0,p.value=`当前为${n.networkType}网络,确定下载?`):uni.showToast({title:"当前未联网,请检查网络",icon:"none"})}})},Sn=()=>{uni.navigateBack()},Cn=n=>{const x=n.match(/["']?vid["']?\s*:\s*["']([^"']+)["']/i);return x?x[1]:null},qn=n.ref(""),Tn=()=>{qn.value.trim()?(async()=>{200==(await Fl.addCommentV2({article_uuid:c.value,type:"8",comment:qn.value})).code&&(uni.showToast({title:"评论成功",icon:"none"}),qn.value="",uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"comment",page_type:"patientVideo"==wn.value?"患教视频":"肝胆视频",resource_name:u.value.name,resource_option:h.value?h.value:""}},(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:1276",n)})),en())})():uni.showToast({title:"请输入内容",icon:"none"})};n.ref(1),n.ref(10);const Vn=n.ref(!1),An=n.ref(!1),In=()=>{E.value=!1,N.value=null},Bn=async()=>{if(x("log","at pages_app/videoDetail/videoDetail.vue:1347",N.value),!N.value)return;200==(await Fl.deleteComment({uuid:N.value.comment_uuid})).code&&(uni.showToast({title:"删除成功",icon:"none"}),en(),In())},Dn=n=>{return{avatar:(x=n.photo||"",x?x.startsWith("http")?x:$l+x:cd),name:n.name||"账号已注销",content:n.content||"",time:n.create_date||"",user_uuid:n.user_uuid||"",comment_uuid:n.comment_uuid||"",showAllChildren:!1,children:Array.isArray(n.childs)?n.childs.map(Dn):[]};var x};return(t,i)=>{const l=e(n.resolveDynamicComponent("uni-nav-bar"),m),o=e(n.resolveDynamicComponent("uni-icons"),d),a=e(n.resolveDynamicComponent("uni-popup"),Zh);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(l,{"left-icon":"left",title:"视频详情",onClickLeft:Sn,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>["download"!=vn.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"nav-actions"},[n.createElementVNode("view",{class:"collect-img",onClick:hn,style:{"margin-right":"20rpx"}},[n.createElementVNode("image",{class:"share-img-icon",src:n.unref(ng),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("view",{class:"collect-img",onClick:Y},[n.createElementVNode("image",{class:"collect-img-icon",src:u.value.isCollection?n.unref(og):n.unref(ag),mode:"aspectFill"},null,8,["src"])])])):n.createCommentVNode("",!0)])),_:1})]),n.createElementVNode("view",{class:"videobox"},[S.value?(n.openBlock(),n.createElementBlock("video",{key:0,class:"player-wrapper",style:n.normalizeStyle({width:C.value+"px"}),src:zn.value,controls:"",id:"myVideo","object-fit":"contain",autoplay:!1,onPlay:O,onPause:R,onEnded:P,onError:K},null,44,["src"])):n.createCommentVNode("",!0)]),"download"!=vn.value?(n.openBlock(),n.createElementBlock("cover-view",{key:0,class:"tabs",style:n.normalizeStyle({opacity:A.value?0:1,width:C.value+"px"})},[n.createElementVNode("cover-view",{class:n.normalizeClass(["tab",{active:"info"===jn.value}]),onClick:i[0]||(i[0]=n=>_n("info"))},[n.createTextVNode(" 视频简介 "),"info"===jn.value?(n.openBlock(),n.createElementBlock("cover-view",{key:0,class:"tab-line"})):n.createCommentVNode("",!0)],2),n.createElementVNode("cover-view",{class:n.normalizeClass(["tab",{active:"comment"===jn.value}]),onClick:i[1]||(i[1]=n=>_n("comment"))},[n.createTextVNode(" 评论 "),"comment"===jn.value?(n.openBlock(),n.createElementBlock("cover-view",{key:0,class:"tab-line"})):n.createCommentVNode("",!0)],2),n.createElementVNode("cover-view",{class:"line"})],4)):n.createCommentVNode("",!0),"download"!=vn.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"video-detail-page"},[n.createElementVNode("view",{class:"content-scroll"},["info"===jn.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"intro"},[n.createElementVNode("text",{class:"intro-text"},n.toDisplayString(u.value.note),1)])):(n.openBlock(),n.createElementBlock("view",{key:1,class:"comments"},[0===kn.value.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"empty"},"暂无评论")):(n.openBlock(),n.createElementBlock("view",{key:1},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(kn.value,((e,t)=>{return n.openBlock(),n.createElementBlock("view",{class:"comment-item",key:t},[n.createElementVNode("image",{class:"avatar",src:e.avatar,mode:"aspectFill"},null,8,["src"]),n.createElementVNode("view",{class:"meta"},[n.createElementVNode("view",{class:"name"},n.toDisplayString(e.name),1),n.createElementVNode("view",{class:"content"},n.toDisplayString(e.content),1),n.createElementVNode("view",{class:"time"},n.toDisplayString(e.time),1),e.children&&e.children.length?(n.openBlock(),n.createElementBlock("view",{key:0,class:"child-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList((i=e,i.children&&i.children.length?i.showAllChildren?i.children:i.children.slice(0,3):[]),((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"child-item",key:e},[n.createElementVNode("image",{class:"avatar small",src:x.avatar,mode:"aspectFill"},null,8,["src"]),n.createElementVNode("view",{class:"meta"},[n.createElementVNode("view",{class:"name"},n.toDisplayString(x.name),1),n.createElementVNode("view",{class:"content"},n.toDisplayString(x.content),1),n.createElementVNode("view",{class:"time"},n.toDisplayString(x.time),1)])])))),128)),e.children.length>3?(n.openBlock(),n.createElementBlock("view",{key:0,class:"toggle-children",onClick:n=>(n=>{n.showAllChildren=!n.showAllChildren,kn.value=[...kn.value]})(e)},n.toDisplayString(e.showAllChildren?"--收起":"--展开更多回复"),9,["onClick"])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)]),M.value==e.user_uuid?(n.openBlock(),n.createBlock(o,{key:0,type:"trash",size:"30",color:"#8b2316",onClick:n=>(n=>{N.value=n,E.value=!0})(e)},null,8,["onClick"])):(n.openBlock(),n.createElementBlock("view",{key:1,class:"reply-btn",onClick:n=>(n=>{x("log","at pages_app/videoDetail/videoDetail.vue:1282","onReply"),x("log","at pages_app/videoDetail/videoDetail.vue:1283",n),n.user_uuid?Ul({url:"/pages_app/reply/reply?comment_partent="+n.content+"&name="+n.name+"&video_uuid="+c.value}):uni.showToast({title:"该评论无法回复",icon:"none"})})(e)},"回复",8,["onClick"]))]);var i})),128)),Vn.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"list-loading"},"加载中...")):n.createCommentVNode("",!0),An.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"list-no-more"},"没有更多了")):n.createCommentVNode("",!0)]))]))])])):n.createCommentVNode("",!0),"info"===jn.value&&"download"!=vn.value?(n.openBlock(),n.createElementBlock("view",{key:2,class:"bottom-download",onClick:Nn},[q.value?"loading"===T.value||"failed"===T.value?(n.openBlock(),n.createElementBlock("text",{key:1,class:"download-text"},"视频缓存中")):"completed"===T.value?(n.openBlock(),n.createElementBlock("text",{key:2,class:"download-text"},"查看缓存")):n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("text",{key:0,class:"download-text"},[n.createTextVNode("点击下载"),!nn.value&&w.value<=0?(n.openBlock(),n.createElementBlock("text",{key:0},[n.createTextVNode("(限时"),n.createElementVNode("text",{class:"discount"},"5"),n.createTextVNode("折,仅需"+n.toDisplayString(u.value.point)+"积分)",1)])):n.createCommentVNode("",!0),!nn.value&&w.value>0?(n.openBlock(),n.createElementBlock("text",{key:1},"(剩余免费下载"+n.toDisplayString(w.value)+"次数)",1)):n.createCommentVNode("",!0)]))])):n.createCommentVNode("",!0),"info"!==jn.value&&"download"!=vn.value?(n.openBlock(),n.createElementBlock("view",{key:3,class:"bottom-comment"},[n.withDirectives(n.createElementVNode("input",{class:"comment-input","onUpdate:modelValue":i[2]||(i[2]=n=>qn.value=n),placeholder:"我也说一句","confirm-type":"send",onConfirm:Tn},null,544),[[n.vModelText,qn.value]]),n.createElementVNode("view",{class:"send-btn",onClick:Tn},"发送")])):n.createCommentVNode("",!0),n.createVNode(Rx,{visible:g.value,content:p.value,onClose:i[3]||(i[3]=n=>g.value=!1),onConfirm:G},null,8,["visible","content"]),n.createVNode(Rx,{visible:y.value,content:f.value,onClose:i[4]||(i[4]=n=>y.value=!1),onConfirm:H},null,8,["visible","content"]),n.createVNode(Rx,{visible:b.value,content:v.value,onClose:i[5]||(i[5]=n=>b.value=!1),onConfirm:$},null,8,["visible","content"]),E.value?(n.openBlock(),n.createElementBlock("view",{key:4,class:"delete-modal-mask",onClick:In},[n.createElementVNode("view",{class:"delete-modal-content",onClick:i[6]||(i[6]=n.withModifiers((()=>{}),["stop"]))},[n.createElementVNode("view",{class:"delete-modal-title"},"确认删除"),n.createElementVNode("view",{class:"delete-modal-text"},"确定要删除这条评论吗?"),n.createElementVNode("view",{class:"delete-modal-buttons"},[n.createElementVNode("view",{class:"delete-modal-btn cancel-btn",onClick:In},"取消"),n.createElementVNode("view",{class:"delete-modal-btn confirm-btn",onClick:Bn},"删除")])])])):n.createCommentVNode("",!0),n.createVNode(a,{ref_key:"shareRef",ref:sn,type:"bottom",safeArea:"",backgroundColor:"#fff"},{default:n.withCtx((()=>[n.createElementVNode("view",{class:"share-popup"},[n.createElementVNode("view",{class:"share-title"},"分享到"),n.createElementVNode("view",{class:"share-content"},[n.createElementVNode("view",{class:"share-item",onClick:yn},[n.createElementVNode("view",{class:"share-icon wechat-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(eg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"微信")]),n.createElementVNode("view",{class:"share-item",onClick:fn},[n.createElementVNode("view",{class:"share-icon moments-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(tg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"朋友圈")]),n.createElementVNode("view",{class:"share-item",onClick:bn},[n.createElementVNode("view",{class:"share-icon weibo-icon"},[n.createElementVNode("image",{class:"share-img",src:n.unref(xg),mode:"aspectFill"},null,8,["src"])]),n.createElementVNode("text",{class:"share-text"},"新浪微博")])]),n.createElementVNode("view",{class:"share-cancel",onClick:mn},[n.createElementVNode("text",null,"取消")])])])),_:1},512),I.value?(n.openBlock(),n.createElementBlock("view",{key:5,class:"mask",onClick:gn})):n.createCommentVNode("",!0),I.value?(n.openBlock(),n.createElementBlock("view",{key:6,class:"center-modal"},[n.createElementVNode("view",{class:"modal-title"},"温馨提示"),n.createElementVNode("view",{class:"modal-divider"}),n.createElementVNode("view",{class:"modal-item",onClick:i[7]||(i[7]=n=>pn("single"))},[n.createElementVNode("text",{class:"text"},"单独选择")]),n.createElementVNode("view",{class:"modal-divider"}),n.createElementVNode("view",{class:"modal-item",onClick:i[8]||(i[8]=n=>pn("group"))},[n.createElementVNode("text",{class:"text"},"分组选择")])])):n.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-599aafbd"]]),hd="/static/route.png",gd="/static/zhinanLazy.png",dd={__name:"zhinan",setup(t){const l=n.ref(0),a=n.ref("zhinan");n.ref("");const s=n.ref([]),c=n.ref(!1),u=n.ref([]),h=n.ref([]),g=n.ref("");r((()=>{try{uni.sendNativeEvent("goTabbarPage",{msg:"home"},(n=>{x("log","at pages_app/zhinan/zhinan.vue:342",n)}))}catch(Rw){x("log","at pages_app/zhinan/zhinan.vue:346",Rw)}return plus.runtime.quit(),!0})),n.onMounted((()=>{}));const p=n.ref(!1),m=()=>{p.value=!0},f=()=>{uni.sendNativeEvent("goHomeSearch",{msg:"zhinan"},(n=>{x("log","at pages_app/zhinan/zhinan.vue:365",n)}))},b=()=>{p.value=!1},v=()=>{h.value.forEach((n=>n.selected=!1)),c.value=!1,g.value=""},w=function(n,x=1500){var e=!0;return function(){e&&(n.apply(this,arguments),e=!1,setTimeout((()=>{e=!0}),x))}}((()=>{c.value=!0,b();const n=h.value.filter((n=>n.selected));let e="";x("log","at pages_app/zhinan/zhinan.vue:405","选中的筛选标签:",n);for(let x=0;x{x("log","at pages_app/zhinan/zhinan.vue:434",n)}))})),i((()=>{}));const z=async()=>{try{const x=await Fl.guideType({});s.value=x.data;for(var n=0;n{try{const n=await Fl.searchLibraryU({page:1,pageSize:20,type:1,keywords:""});n&&200===n.code&&(u.value=n.data)}catch(Rw){x("error","at pages_app/zhinan/zhinan.vue:465","加载指南库失败:",Rw)}},k=async()=>{try{const n=await Fl.guideTag({type:3});n&&200===n.code&&n.data&&(h.value=n.data.map((n=>({...n,selected:!1}))))}catch(Rw){x("error","at pages_app/zhinan/zhinan.vue:484","加载指南标签失败:",Rw)}},_=n.ref("daichawenxian"),E=n.ref({email:"",literatureName:"",author:"",journalName:""}),N=n.ref([{id:1,literatureName:"",author:"",journalName:""}]);n.ref([{question:"如何查找文献?",answer:"请提供准确的文献标题、作者和期刊信息,我们将为您查找并发送到指定邮箱。",expanded:!1},{question:"查找需要多长时间?",answer:"通常在1-3个工作日内完成文献查找并发送到您的邮箱。",expanded:!1},{question:"支持哪些文献类型?",answer:"支持国内外期刊论文、会议论文、学位论文等多种文献类型。",expanded:!1}]);const S=n=>{_.value=n},C=()=>{if(N.value.length>=5)return void uni.showToast({title:"最多只能添加5篇文献",icon:"none"});const n={id:Date.now(),literatureName:"",author:"",journalName:""};N.value.push(n),uni.showToast({title:"添加成功",icon:"none"})};return(x,t)=>{const i=e(n.resolveDynamicComponent("uni-icons"),d),o=e(n.resolveDynamicComponent("up-image"),Jn),r=e(n.resolveDynamicComponent("up-icon"),Un);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(y,{title:"诊疗指南"}),"zhinan"==a.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"zhinan-page"},[n.createElementVNode("view",{class:"search-container-fixed filter-bar"},[n.createElementVNode("view",{class:"search-box",onClick:f},[n.createVNode(i,{type:"search",size:"22",color:"#999"}),n.createElementVNode("text",{class:"search-text"},"搜索")]),n.createElementVNode("view",{class:"divider"}),n.createElementVNode("view",{class:"filter-item",onClick:m},[n.createElementVNode("text",{class:n.normalizeClass({active:g.value})},"筛选",2),n.createVNode(o,{src:g.value?n.unref(Bc):n.unref(Ic),width:"36rpx",height:"36rpx"},null,8,["src"])])]),n.createElementVNode("view",{class:"guidelines-grid"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(s.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e,onClick:n=>(n=>{Ul({url:`/pages_app/zhinanList/zhinanList?typeUuid=${n.uuid}&title=${n.name}`})})(x)},[n.createElementVNode("view",{class:"item-image"},[n.createVNode(o,{src:n.unref($l)+x.imgs,mode:"widthFix",width:"100%",height:"320rpx",class:"category-icon",loadingIcon:n.unref(gd),errorIcon:n.unref(gd),"lazy-load":!0},{error:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(gd),class:"category-icon",mode:"widthFix"},null,8,["src"])])),loading:n.withCtx((()=>[n.createElementVNode("image",{src:n.unref(gd),class:"category-icon",mode:"widthFix"},null,8,["src"])])),_:2},1032,["src","loadingIcon","errorIcon"])]),n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("text",{class:"category-title"},n.toDisplayString(x.name),1),n.createElementVNode("text",{class:"category-count"},"(共"+n.toDisplayString(x.total)+"份)",1)])],8,["onClick"])))),128))]),n.createElementVNode("view",{class:"total"},[n.createVNode(o,{src:n.unref("/static/xingxing1.png"),width:"85rpx",height:"9rpx"},null,8,["src"]),n.createElementVNode("view",{class:"count"},n.toDisplayString(l.value)+"份文献",1),n.createVNode(o,{src:n.unref("/static/xingxing2.png"),width:"85rpx",height:"9rpx"},null,8,["src"])])])):"qikan"==a.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"qikan-page"},[n.createElementVNode("view",{class:"main-content"},[n.createElementVNode("view",{class:"tab-section"},[n.createElementVNode("view",{class:"tab-container"},[n.createElementVNode("view",{class:n.normalizeClass(["tab-item",{active:"daichawenxian"===_.value}]),onClick:t[0]||(t[0]=n=>S("daichawenxian"))},[n.createElementVNode("text",{class:"tab-text"},"代查文献"),n.createElementVNode("view",{class:"tab-underline"},["daichawenxian"===_.value?(n.openBlock(),n.createBlock(o,{key:0,src:n.unref(hd),width:"48rpx",height:"18rpx"},null,8,["src"])):n.createCommentVNode("",!0)])],2),n.createElementVNode("view",{class:n.normalizeClass(["tab-item",{active:"yingwenwenxian"===_.value}]),onClick:t[1]||(t[1]=n=>S("yingwenwenxian"))},[n.createElementVNode("text",{class:"tab-text"},"英文文献"),n.createElementVNode("view",{class:"tab-underline"},["yingwenwenxian"===_.value?(n.openBlock(),n.createBlock(o,{key:0,src:n.unref(hd),width:"48rpx",height:"18rpx"},null,8,["src"])):n.createCommentVNode("",!0)])],2)])]),"daichawenxian"===_.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"content-section"},[n.createVNode(o,{src:n.unref("/static/paper_bg.png"),width:"100%"},null,8,["src"]),n.createElementVNode("view",{class:"form-section"},[n.createElementVNode("view",{class:"form-group formemail"},[n.createElementVNode("view",{class:"form-label"},[n.createElementVNode("text",null,"接收邮箱"),n.createElementVNode("text",{class:"required"},"*")]),n.createElementVNode("view",{class:"input-container"},[n.withDirectives(n.createElementVNode("input",{class:"form-input",type:"text",placeholder:"请输入文献接收邮箱","onUpdate:modelValue":t[2]||(t[2]=n=>E.value.email=n)},null,512),[[n.vModelText,E.value.email]])])]),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(N.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:"from-cell literature-item",key:x.id},[n.createElementVNode("view",{class:"form-group wenxian"},[n.createElementVNode("view",{class:"tag-container"},[n.createElementVNode("view",{class:"tag-item active"},"文献"+n.toDisplayString(e+1),1)])]),n.createElementVNode("view",{class:"formbox"},[n.createElementVNode("view",{class:"form-group"},[n.createElementVNode("view",{class:"form-label"},[n.createElementVNode("text",null,"文献名称"),n.createElementVNode("text",{class:"required"},"*")]),n.createElementVNode("view",{class:"input-container"},[n.withDirectives(n.createElementVNode("textarea",{class:"form-textarea",type:"text","adjust-position":!1,placeholder:"不支持关键字/广泛查询","onUpdate:modelValue":n=>x.literatureName=n},null,8,["onUpdate:modelValue"]),[[n.vModelText,x.literatureName]])])]),n.createElementVNode("view",{class:"form-group"},[n.createElementVNode("view",{class:"form-label"},[n.createElementVNode("text",null,"作者")]),n.createElementVNode("view",{class:"input-container"},[n.withDirectives(n.createElementVNode("input",{class:"form-input",type:"text",placeholder:"请输入作者姓名","onUpdate:modelValue":n=>x.author=n},null,8,["onUpdate:modelValue"]),[[n.vModelText,x.author]])])]),n.createElementVNode("view",{class:"form-group"},[n.createElementVNode("view",{class:"form-label"},[n.createElementVNode("text",null,"期刊名称")]),n.createElementVNode("view",{class:"input-container"},[n.withDirectives(n.createElementVNode("input",{class:"form-input",type:"text",placeholder:"请输入期刊名称","onUpdate:modelValue":n=>x.journalName=n},null,8,["onUpdate:modelValue"]),[[n.vModelText,x.journalName]])])])]),N.value.length>1?(n.openBlock(),n.createElementBlock("view",{key:0,class:"delbox",onClick:n=>(n=>{N.value.length<=1?uni.showToast({title:"至少保留一篇文献",icon:"none"}):(N.value.splice(n,1),uni.showToast({title:"删除成功",icon:"none"}))})(e)},[n.createVNode(o,{src:n.unref("/static/delete_paper.png"),width:"40rpx",height:"52rpx"},null,8,["src"])],8,["onClick"])):n.createCommentVNode("",!0),e{}),["stop"]))},[n.createElementVNode("view",{class:"filter-tags"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(h.value,((x,e)=>(n.openBlock(),n.createElementBlock("view",{class:n.normalizeClass(["tag-item",{active:x.selected}]),key:e,onClick:n=>(n=>{const x=h.value[n];!x.selected&&h.value.filter((n=>n.selected)).length>=3?uni.showToast({title:"最多选择3个标签",icon:"none"}):(x.selected=!x.selected,c.value=h.value.some((n=>n.selected)))})(e)},n.toDisplayString(x.NAME),11,["onClick"])))),128))]),n.createElementVNode("view",{class:"filter-buttons"},[n.createElementVNode("view",{class:"btn-reset",onClick:v},"重置"),n.createElementVNode("view",{class:"btn-confirm",onClick:t[3]||(t[3]=(...x)=>n.unref(w)&&n.unref(w)(...x))},"确定")])])])):n.createCommentVNode("",!0)],64)}}},pd=h(dd,[["__scopeId","data-v-99479928"]]),md="/static/icon_library_down.png",yd={__name:"zhinanList",setup(t){let l=uni.getStorageSync("downLoadPdf")||[];n.ref(l);const a=n.ref([]),s=n.ref(!1),r=n.ref(!0),c=n.ref(1),u=n.ref(10),h=n.ref(!1),g=n.ref(""),p=n.ref("more"),y=n.ref(""),f=n.ref(""),b=n.ref(2),v=n.ref(!1),w=n.ref("上传时间"),z=n.ref(!1),j=n.ref([]),k=n.computed((()=>j.value.filter((n=>"completed"==n.status&&"zhinan"==n.type)).map((n=>n.id)))),_=n.ref(0),E=x=>{b.value=x,z.value=!0,1==x?w.value="下载量":2==x?w.value="上传时间":3==x&&(w.value="标题"),v.value=!1,c.value=1,r.value=!0,p.value="more",a.value=[],_.value=0,A(!1),n.nextTick((()=>{_.value=.01,n.nextTick((()=>{_.value=0}))}))};o((n=>{x("log","at pages_app/zhinanList/zhinanList.vue:210",n),n.typeUuid&&(y.value=n.typeUuid),n.title&&(f.value=n.title),n.keywords&&(g.value=decodeURIComponent(n.keywords),f.value=decodeURIComponent(n.title))}));const N=()=>{Ul({url:"/pages_app/hot/hot?from=hot&typeUuid="+y.value})},S=()=>{v.value=!v.value};i((()=>{x("log","at pages_app/zhinanList/zhinanList.vue:231","onShow"),O(),Ag.addListener((n=>{j.value=n})),P(),0===a.value.length&&A(!1)}));const C=()=>{uni.sendNativeEvent("goHomeSearch",{msg:"zhinan"},(n=>{x("log","at pages_app/zhinanList/zhinanList.vue:269",n)}))},q=async()=>{x("log","at pages_app/zhinanList/zhinanList.vue:276","scroll-view 下拉刷新触发"),h.value=!0,await V(),h.value=!1},T=()=>{x("log","at pages_app/zhinanList/zhinanList.vue:284","=== onScrollToLower 触发 ==="),x("log","at pages_app/zhinanList/zhinanList.vue:285","当前状态:",{loadMoreStatus:p.value,isRefreshing:h.value,currentPage:c.value,listLength:a.value.length,hasMoreData:r.value,isLoading:s.value}),"more"!==p.value||h.value||s.value?x("log","at pages_app/zhinanList/zhinanList.vue:302","条件不满足,跳过加载:",{loadMoreStatus:p.value,isRefreshing:h.value,isLoading:s.value}):(x("log","at pages_app/zhinanList/zhinanList.vue:299","条件满足,开始加载更多数据"),I())},V=async()=>{try{a.value=[],c.value=1,r.value=!0,p.value="more",await A(!1),uni.showToast({title:"刷新成功",icon:"none"})}catch(n){x("error","at pages_app/zhinanList/zhinanList.vue:325","刷新失败:",n),uni.showToast({title:"刷新失败",icon:"none"})}},A=async(n=!1)=>{if(x("log","at pages_app/zhinanList/zhinanList.vue:335","=== loadGuidelinesList 开始 ==="),x("log","at pages_app/zhinanList/zhinanList.vue:336","当前参数:",{isRefresh:n,page:c.value,keywords:g.value}),!s.value)try{s.value=!0,p.value="loading";const e={page:c.value,pageSize:u.value,type:1,sort:b.value,typeUuid:y.value,keywords:g.value},t=await Fl.searchLibraryU(e);if(x("log","at pages_app/zhinanList/zhinanList.vue:357","指南列表响应:",t.data.list),200===t.code&&t.data){const e=t.data.list;n?(a.value=e,x("log","at pages_app/zhinanList/zhinanList.vue:364","刷新模式:替换列表数据")):(a.value=[...a.value,...e],x("log","at pages_app/zhinanList/zhinanList.vue:367","加载更多:追加数据到列表")),e.length{x("log","at pages_app/zhinanList/zhinanList.vue:407","=== loadMoreData 被调用 ==="),x("log","at pages_app/zhinanList/zhinanList.vue:408","检查条件:",{hasMoreData:r.value,isLoading:s.value,currentPage:c.value}),r.value&&!s.value?(x("log","at pages_app/zhinanList/zhinanList.vue:415","条件满足,开始加载更多数据"),A(!1)):x("log","at pages_app/zhinanList/zhinanList.vue:418","条件不满足,跳过加载更多")},B=()=>{uni.navigateBack()},D=n=>{const x=Ag.addTask(n);O(),M(x)},M=n=>{const e=Ag.getTask(n);if(!e)return;if("loading"==e.status)return!1;uni.showToast({title:"正在下载中",icon:"none"}),Ag.updateTask(n,{status:"loading"});const t=uni.downloadFile({url:e.url,success:e=>{x("log","at pages_app/zhinanList/zhinanList.vue:599","res1:"+JSON.stringify(e)),200===e.statusCode?(Ag.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"none"}),uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/zhinanList/zhinanList.vue:615","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/zhinanList/zhinanList.vue:619","res:"+JSON.stringify(t)),x("log","at pages_app/zhinanList/zhinanList.vue:620","size:"+t.size),Ag.updateTask(n,{status:"completed",localPath:e.savedFilePath})}})}})):(Ag.updateTask(n,{status:"failed"}),R(n),uni.showToast({title:"下载失败2",icon:"none"}))},fail:x=>{Ag.updateTask(n,{status:"failed"}),R(n),uni.showToast({title:"下载失败3: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Ag.getTask(n);e&&"downloading"===e.status&&Ag.updateTask(n,{progress:x.progress})})),Ag.updateTask(n,{task:t})},O=()=>{j.value=Ag.getTasks()},R=n=>{Ag.removeTask(n),O()},P=()=>{n.nextTick((()=>{Ag.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/zhinanList/zhinanList.vue:682","恢复下载任务:",null==(e=Ag.getTask(n))?void 0:e.url),M(n)}))}))},L=n=>{if(!n)return"";try{const x=new Date(n),e=x.getFullYear(),t=String(x.getMonth()+1).padStart(2,"0");return`${e}-${t}-${String(x.getDate()).padStart(2,"0")}`}catch(x){return n}};return(t,i)=>{const l=e(n.resolveDynamicComponent("up-image"),Jn),o=e(n.resolveDynamicComponent("uni-nav-bar"),m),r=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("view",{class:"zhinan-list-page"},[n.createElementVNode("view",{class:"navbox"},[n.createElementVNode("view",{class:"status_bar"}),n.createVNode(o,{"left-icon":"left",title:f.value,onClickLeft:B,color:"#8B2316",border:!1,backgroundColor:"#eeeeee"},{right:n.withCtx((()=>[n.createElementVNode("view",{class:"nav-right",onClick:N},[n.createVNode(l,{src:n.unref("/static/hot_booklist.png"),width:"40rpx",height:"40rpx"},null,8,["src"])])])),_:1},8,["title"])]),n.createElementVNode("view",{class:"search-container-fixed filter-bar"},[n.createElementVNode("view",{class:"search-box",onClick:C},[n.createVNode(r,{type:"search",size:"22",color:"#999"}),n.createElementVNode("text",{class:"search-text"},"搜索")]),n.createElementVNode("view",{class:"divider"}),n.createElementVNode("view",{class:"current-sort",onClick:S},[n.createElementVNode("text",{class:n.normalizeClass(["sort-text",{active:z.value}])},n.toDisplayString(w.value),3),n.createElementVNode("view",{class:"imgbox"},[n.createVNode(l,{src:z.value?n.unref(Pc):n.unref(Rc),width:"26rpx",height:"26rpx",class:n.normalizeClass({active:z.value})},null,8,["src","class"])])])]),n.createElementVNode("scroll-view",{class:"guidelines-scroll-view","scroll-y":"true","refresher-enabled":!0,"refresher-triggered":h.value,onRefresherrefresh:q,onScrolltolower:T,"show-scrollbar":!1,"scroll-top":_.value},[n.createElementVNode("view",{class:"guidelines-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(a.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e.uuid||t},[n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title"},n.toDisplayString(e.title),1),n.createElementVNode("view",{class:"item-bottom"},[n.createElementVNode("view",{class:"item-date"},n.toDisplayString(L(e.releaseTime)),1),n.createElementVNode("view",{class:"item-action"},[k.value.includes(e.uuid)?(n.openBlock(),n.createElementBlock("view",{key:1,class:"view-btn",onClick:n.withModifiers((n=>{return x("log","at pages_app/zhinanList/zhinanList.vue:486",t=e),void(t.path?(t.path,x("log","at pages_app/zhinanList/zhinanList.vue:495","下载列表"),x("log","at pages_app/zhinanList/zhinanList.vue:496",j.value),j.value.forEach((n=>{n.id==t.uuid&&(x("log","at pages_app/zhinanList/zhinanList.vue:499",2222222222),x("log","at pages_app/zhinanList/zhinanList.vue:500",n.localPath),uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"诊疗指南",resource_name:t.title,resource_option:t.tags}},(n=>{x("log","at pages_app/zhinanList/zhinanList.vue:510",n)})),plus.runtime.openFile(n.localPath,(function(n){x("log","at pages_app/zhinanList/zhinanList.vue:514","打开成功")}),(function(n){uni.showToast({title:"打开失败:"+n.message,icon:"none",duration:2e3}),x("log","at pages_app/zhinanList/zhinanList.vue:521","打开失败:"+n.message)})))}))):uni.showToast({title:"暂无下载链接",icon:"none"}));var t}),["stop"])},"查看",8,["onClick"])):(n.openBlock(),n.createElementBlock("view",{key:0,class:"download-btn",onClick:n.withModifiers((n=>(n=>{x("log","at pages_app/zhinanList/zhinanList.vue:454",n),x("log","at pages_app/zhinanList/zhinanList.vue:455",2222),n.path?(uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"magazine_donwload",page_type:"诊疗指南",resource_name:n.title,belong:f.value,number:1,resource_option:n.tags}},(n=>{x("log","at pages_app/zhinanList/zhinanList.vue:474",n)})),D({url:$l+n.path,title:n.title,id:n.uuid,releaseTime:n.releaseTime,type:"zhinan"})):uni.showToast({title:"暂无下载链接",icon:"none"})})(e)),["stop"])},[n.createVNode(l,{src:n.unref(md),width:"35rpx",height:"35rpx"},null,8,["src"])],8,["onClick"]))])])])])))),128))]),n.createElementVNode("view",{class:"load-more-status"},["loading"===p.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"loading"},[n.createVNode(r,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",null,"加载中...")])):"more"===p.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"more"},[n.createElementVNode("text",null,"上拉加载更多")])):"noMore"===p.value&&c.value>1?(n.openBlock(),n.createElementBlock("view",{key:2,class:"no-more"},[n.createElementVNode("text",null,"没有更多数据了")])):n.createCommentVNode("",!0)]),0!==a.value.length||s.value?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(Vc,{key:0}))],40,["refresher-triggered","scroll-top"])]),v.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"popup-panel"},[n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:1==b.value}]),onClick:i[0]||(i[0]=n.withModifiers((n=>E(1)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"下载量"),1==b.value?(n.openBlock(),n.createBlock(r,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:2==b.value}]),onClick:i[1]||(i[1]=n.withModifiers((n=>E(2)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"上传时间"),2==b.value?(n.openBlock(),n.createBlock(r,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2),n.createElementVNode("view",{class:"popup-divider"}),n.createElementVNode("view",{class:n.normalizeClass(["popup-item",{active:3==b.value}]),onClick:i[2]||(i[2]=n.withModifiers((n=>E(3)),["stop"]))},[n.createElementVNode("text",{class:"item-text"},"标题"),3==b.value?(n.openBlock(),n.createBlock(r,{key:0,type:"checkmarkempty",color:"#8B2316",size:"22"})):n.createCommentVNode("",!0)],2)])):n.createCommentVNode("",!0)],64)}}},fd=h(yd,[["__scopeId","data-v-b9d01150"]]),bd={__name:"hot",setup(t){const l=n.ref([]),a=n.ref(!1),s=n.ref(!0),r=n.ref(1),c=n.ref(10),u=n.ref(!1),h=n.ref(""),g=n.ref("more"),p=n.ref(""),m=n.ref("");n.ref(2);const f=n.ref(""),b=n.ref("");n.ref(!1),n.ref("上传时间");const v=n.ref([]),w=n.computed((()=>v.value.filter((n=>"completed"==n.status&&"zhinan"==n.type)).map((n=>n.id))));o((n=>{n.keywords&&(h.value=decodeURIComponent(n.keywords)),x("log","at pages_app/hot/hot.vue:134",n),n.from&&(f.value=n.from),n.name&&(b.value=n.name),n.typeUuid&&(p.value=n.typeUuid),m.value=n.from?"年度Top10":"诊疗指南"})),i((()=>{T(),Ag.addListener((n=>{v.value=n})),V(),0===l.value.length&&(f.value?j():E(!1))}));const z=async()=>{x("log","at pages_app/hot/hot.vue:185","scroll-view 下拉刷新触发"),u.value=!0,await _(),u.value=!1},j=async()=>{const n=await Fl.top10ByType({type:1,guide_type_uuid:p.value});200==n.code&&(l.value=n.data,g.value="noMore",s.value=!1)},k=()=>{x("log","at pages_app/hot/hot.vue:203","=== onScrollToLower 触发 ==="),x("log","at pages_app/hot/hot.vue:204","当前状态:",{loadMoreStatus:g.value,isRefreshing:u.value,currentPage:r.value,listLength:l.value.length,hasMoreData:s.value,isLoading:a.value}),"more"!==g.value||u.value||a.value?x("log","at pages_app/hot/hot.vue:221","条件不满足,跳过加载:",{loadMoreStatus:g.value,isRefreshing:u.value,isLoading:a.value}):(x("log","at pages_app/hot/hot.vue:214","条件满足,开始加载更多数据"),f.value?j():E())},_=async()=>{try{r.value=1,s.value=!0,g.value="more",f.value?await j():await E(!0),uni.showToast({title:"刷新成功",icon:"none"})}catch(n){x("error","at pages_app/hot/hot.vue:247","刷新失败:",n),uni.showToast({title:"刷新失败",icon:"none"})}},E=async(n=!1)=>{if(x("log","at pages_app/hot/hot.vue:257","=== loadGuidelinesList 开始 ==="),x("log","at pages_app/hot/hot.vue:258","当前参数:",{isRefresh:n,page:r.value,keywords:h.value}),!a.value)try{a.value=!0,g.value="loading";let e=uni.getStorageSync("userInfo").uuid;const t={page:r.value,pageSize:c.value,expertUUid:e,type:1,sort:2,name:b.value,typeUuid:p.value,keyWords:h.value},i=await Fl.searchLibraryU(t);if(x("log","at pages_app/hot/hot.vue:278","指南列表响应:",i),200===i.code&&i.data){const e=i.data.list||i.data;n?(l.value=e,x("log","at pages_app/hot/hot.vue:285","刷新模式:替换列表数据")):(l.value=[...l.value,...e],x("log","at pages_app/hot/hot.vue:288","加载更多:追加数据到列表")),e.length{x("log","at pages_app/hot/hot.vue:411",n),n.path?(x("log","at pages_app/hot/hot.vue:419","下载列表"),x("log","at pages_app/hot/hot.vue:420",v.value),v.value.forEach((e=>{e.id==n.uuid&&(uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"detail_page",page_type:"诊疗指南",resource_name:n.title,resource_option:n.tags}},(n=>{x("log","at pages_app/hot/hot.vue:433",n)})),plus.runtime.openFile(e.localPath,(function(n){x("log","at pages_app/hot/hot.vue:437","打开成功")}),(function(n){uni.showToast({title:"打开失败:"+n.message,icon:"none",duration:2e3}),x("log","at pages_app/hot/hot.vue:444","打开失败:"+n.message)})))}))):uni.showToast({title:"暂无下载链接",icon:"none"})},S=n=>{if(!n)return"";try{const x=new Date(n),e=x.getFullYear(),t=String(x.getMonth()+1).padStart(2,"0");return`${e}-${t}-${String(x.getDate()).padStart(2,"0")}`}catch(x){return n}},C=n=>{const x=Ag.addTask(n);T(),q(x)},q=n=>{const e=Ag.getTask(n);if(!e)return;if("loading"==e.status)return!1;uni.showToast({title:"正在下载中",icon:"none"}),Ag.updateTask(n,{status:"loading"});const t=uni.downloadFile({url:e.url,success:e=>{200===e.statusCode?(Ag.updateTask(n,{status:"completed",filePath:e.tempFilePath}),uni.showToast({title:"下载成功",icon:"none"}),uni.saveFile({tempFilePath:e.tempFilePath,success:function(e){x("log","at pages_app/hot/hot.vue:555","res2:"+JSON.stringify(e)),uni.getSavedFileInfo({filePath:e.savedFilePath,success:function(t){x("log","at pages_app/hot/hot.vue:559","res:"+JSON.stringify(t)),x("log","at pages_app/hot/hot.vue:560","size:"+t.size),Ag.updateTask(n,{status:"completed",localPath:e.savedFilePath})}})}})):(Ag.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败",icon:"none"}))},fail:x=>{Ag.updateTask(n,{status:"failed"}),uni.showToast({title:"下载失败: "+(x.errMsg||"未知错误"),icon:"none",duration:2e3})}});t.onProgressUpdate((x=>{const e=Ag.getTask(n);e&&"downloading"===e.status&&Ag.updateTask(n,{progress:x.progress})})),Ag.updateTask(n,{task:t})},T=()=>{v.value=Ag.getTasks()},V=()=>{n.nextTick((()=>{Ag.resumeDownloadingTasks((n=>{var e;x("log","at pages_app/hot/hot.vue:616","恢复下载任务:",null==(e=Ag.getTask(n))?void 0:e.url),q(n)}))}))};return(t,i)=>{const o=e(n.resolveDynamicComponent("up-image"),Jn),s=e(n.resolveDynamicComponent("uni-icons"),d);return n.openBlock(),n.createElementBlock("view",{class:"zhinan-list-page"},[n.createVNode(y,{title:m.value},null,8,["title"]),n.createElementVNode("scroll-view",{class:"guidelines-scroll-view","scroll-y":"true","refresher-enabled":!0,"refresher-triggered":u.value,onRefresherrefresh:z,onScrolltolower:k,"show-scrollbar":!1},[n.createElementVNode("view",{class:"guidelines-list"},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,((e,t)=>(n.openBlock(),n.createElementBlock("view",{class:"guideline-item",key:e.uuid||t,onClick:n=>N(e)},[n.createElementVNode("view",{class:"item-content"},[n.createElementVNode("view",{class:"item-title"},n.toDisplayString(e.title),1),n.createElementVNode("view",{class:"item-bottom"},[n.createElementVNode("view",{class:"item-date"},n.toDisplayString(S(e.releaseTime)),1),n.createElementVNode("view",{class:"item-action"},[w.value.includes(e.uuid)?(n.openBlock(),n.createElementBlock("view",{key:1,class:"view-btn",onClick:n.withModifiers((n=>N(e)),["stop"])},"查看",8,["onClick"])):(n.openBlock(),n.createElementBlock("view",{key:0,class:"download-btn",onClick:n.withModifiers((n=>(n=>{n.path?(uni.sendNativeEvent("portraitReport",{msg:{event_nickname:"magazine_donwload",page_type:"诊疗指南",resource_name:n.title,belong:m.value,number:1,resource_option:n.tags}},(n=>{x("log","at pages_app/hot/hot.vue:399",n)})),C({url:$l+n.path,title:n.title,id:n.uuid,type:"zhinan",releaseTime:n.releaseTime})):uni.showToast({title:"暂无下载链接",icon:"none"})})(e)),["stop"])},[n.createVNode(o,{src:n.unref(md),width:"35rpx",height:"35rpx"},null,8,["src"])],8,["onClick"]))])])])],8,["onClick"])))),128))]),n.createElementVNode("view",{class:"load-more-status"},["loading"===g.value?(n.openBlock(),n.createElementBlock("view",{key:0,class:"loading"},[n.createVNode(s,{type:"spinner-cycle",size:"20",color:"#999"}),n.createElementVNode("text",null,"加载中...")])):"more"===g.value?(n.openBlock(),n.createElementBlock("view",{key:1,class:"more"},[n.createElementVNode("text",null,"上拉加载更多")])):"noMore"===g.value&&l.value.length>0?(n.openBlock(),n.createElementBlock("view",{key:2,class:"no-more"},[n.createElementVNode("text",null,"没有更多数据了")])):n.createCommentVNode("",!0)]),0!==l.value.length||a.value?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(Vc,{key:0}))],40,["refresher-triggered"])])}}},vd=h(bd,[["__scopeId","data-v-18895c17"]]),wd="/static/icon_login_logo.png",zd="/static/weixin_login.png",jd="/static/login_new_unselect.png",kd="/static/login_new_select.png";function _d(n){for(var x=Object.keys(n).sort(),e={},t=0;t{let x={};return n.forEach(((n,e)=>x[n]=e)),x})(Sd),qd=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Td=String.fromCharCode.bind(String),Vd=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),n=>n.replace(/=/g,"").replace(/[+\/]/g,(n=>"+"==n?"-":"_"))),Ad=n=>n.replace(/[^A-Za-z0-9\+\/]/g,""),Id=n=>{let x,e,t,i,l="";const o=n.length%3;for(let a=0;a255||(t=n.charCodeAt(a++))>255||(i=n.charCodeAt(a++))>255)throw new TypeError("invalid character found");x=e<<16|t<<8|i,l+=Sd[x>>18&63]+Sd[x>>12&63]+Sd[x>>6&63]+Sd[63&x]}return o?l.slice(0,o-3)+"===".substring(o):l},Bd="function"==typeof btoa?n=>btoa(n):Ed?n=>Buffer.from(n,"binary").toString("base64"):Id,Dd=Ed?n=>Buffer.from(n).toString("base64"):n=>{let x=[];for(let e=0,t=n.length;e{if(n.length<2)return(x=n.charCodeAt(0))<128?n:x<2048?Td(192|x>>>6)+Td(128|63&x):Td(224|x>>>12&15)+Td(128|x>>>6&63)+Td(128|63&x);var x=65536+1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320);return Td(240|x>>>18&7)+Td(128|x>>>12&63)+Td(128|x>>>6&63)+Td(128|63&x)},Od=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Rd=n=>n.replace(Od,Md),Pd=Ed?n=>Buffer.from(n,"utf8").toString("base64"):Nd?n=>Dd(Nd.encode(n)):n=>Bd(Rd(n)),Ld=(n,x=!1)=>x?Vd(Pd(n)):Pd(n),Fd=n=>{if(n=n.replace(/\s+/g,""),!qd.test(n))throw new TypeError("malformed base64.");let x,e,t;n+="==".slice(2-(3&n.length));let i=[];for(let l=0;l>16&255)):64===t?i.push(Td(x>>16&255,x>>8&255)):i.push(Td(x>>16&255,x>>8&255,255&x));return i.join("")},Ud=Ld;var $d={exports:{}}; /** * [js-md5]{@link https://github.com/emn178/js-md5} * diff --git a/app/src/main/java/cn/shangyu/gdxzExpert/utils/Url.java b/app/src/main/java/cn/shangyu/gdxzExpert/utils/Url.java index 448e165..715e036 100644 --- a/app/src/main/java/cn/shangyu/gdxzExpert/utils/Url.java +++ b/app/src/main/java/cn/shangyu/gdxzExpert/utils/Url.java @@ -8,65 +8,65 @@ package cn.shangyu.gdxzExpert.utils; public class Url { // 肝胆服务器正式地址 //记得把上报地址切到正式 - public static String urlimage = "http://app.igandan.com/app/";// ceshi2短信验证码 - public static String urlapp = "http://app.igandan.com/app/expertApp/";// 正式外网地址 - public static String url = "http://app.igandan.com/app/expert/";// 正式外网地址 v - public static String weurl = "https://wx.igandan.com/";// 微信服务器地址 - public static String urlping = "http://app.igandan.com//app/pingExpert/";// - public static String urlping2 = "http://app.igandan.com//app/pingExpertV2/";//ping2 - public static String getzcxy = "http://app.igandan.com/expert_zcxy.jsp";// 注册协议正式地址 - public static String getyyzc="https://doc.igandan.com/app/integral/permission_expert.html";//隐私政策 - public static String urlHtml = "http://doc.igandan.com/app/";// 静态资源访问地址( 图片、html等)正式地址 - public static String CrashUpload = "http://app.igandan.com/app/upload/uploadExpert";// 崩溃日志上传正式 地址 - public static String YKMedicionURl = "http://extraapi.meditool.cn/";// 医库用药网址 - public static String getpushChat = "http://wx.igandan.com/api/pushChat";// 微信推送 - public static String urlmyLan = "https://app.igandan.com/app/expertAPI/";//迈兰 - public static String qrCode = "http://wx.igandan.com/expert/expertcodeimg?expert_uuid=";//专家二维码页面分享链接: - public static String urlOutpatient = "http://wx.igandan.com/expert/outpatient_details?expert_uuid=";//门诊详情连接:http://wx.igandan.com/expert/outpatient_details?expert_uuid= - public static String url_path = "https://app.igandan.com/app"; - public static String videodetailURL = "http://wx.igandan.com/video/hcp_detial?share=1&uuid="; - public static String polvId = "21";//保利威视学员id - public static String scanurl = "https://wx.igandan.com/watchlive/sendWebsocketMsg"; - public static String zhibourl = weurl+"hcp/setInfo"; - public static String homeModalurl = urlmyLan+"homemodal"; - public static String PHP ="https://prod.hospital.open.igandanyiyuan.com";// php接口 互联网医院相关 - public static String modernHepatology="https://oss.igandan.com";//常用医学工具 - public static String appkey ="a1e5d9ca1d3fbae69532f134bf6cdee9"; - public static String appId ="1000001"; - public static String FileUrl="https://event.igandan.com/v1/eventLog/upload";//正式环境 - public static String youanapi ="https://yaylt.igandan.com/api"; +// public static String urlimage = "http://app.igandan.com/app/";// ceshi2短信验证码 +// public static String urlapp = "http://app.igandan.com/app/expertApp/";// 正式外网地址 +// public static String url = "http://app.igandan.com/app/expert/";// 正式外网地址 v +// public static String weurl = "https://wx.igandan.com/";// 微信服务器地址 +// public static String urlping = "http://app.igandan.com//app/pingExpert/";// +// public static String urlping2 = "http://app.igandan.com//app/pingExpertV2/";//ping2 +// public static String getzcxy = "http://app.igandan.com/expert_zcxy.jsp";// 注册协议正式地址 +// public static String getyyzc="https://doc.igandan.com/app/integral/permission_expert.html";//隐私政策 +// public static String urlHtml = "http://doc.igandan.com/app/";// 静态资源访问地址( 图片、html等)正式地址 +// public static String CrashUpload = "http://app.igandan.com/app/upload/uploadExpert";// 崩溃日志上传正式 地址 +// public static String YKMedicionURl = "http://extraapi.meditool.cn/";// 医库用药网址 +// public static String getpushChat = "http://wx.igandan.com/api/pushChat";// 微信推送 +// public static String urlmyLan = "https://app.igandan.com/app/expertAPI/";//迈兰 +// public static String qrCode = "http://wx.igandan.com/expert/expertcodeimg?expert_uuid=";//专家二维码页面分享链接: +// public static String urlOutpatient = "http://wx.igandan.com/expert/outpatient_details?expert_uuid=";//门诊详情连接:http://wx.igandan.com/expert/outpatient_details?expert_uuid= +// public static String url_path = "https://app.igandan.com/app"; +// public static String videodetailURL = "http://wx.igandan.com/video/hcp_detial?share=1&uuid="; +// public static String polvId = "21";//保利威视学员id +// public static String scanurl = "https://wx.igandan.com/watchlive/sendWebsocketMsg"; +// public static String zhibourl = weurl+"hcp/setInfo"; +// public static String homeModalurl = urlmyLan+"homemodal"; +// public static String PHP ="https://prod.hospital.open.igandanyiyuan.com";// php接口 互联网医院相关 +// public static String modernHepatology="https://oss.igandan.com";//常用医学工具 +// public static String appkey ="a1e5d9ca1d3fbae69532f134bf6cdee9"; +// public static String appId ="1000001"; +// public static String FileUrl="https://event.igandan.com/v1/eventLog/upload";//正式环境 +// public static String youanapi ="https://yaylt.igandan.com/api"; // 肝胆测试服务器地址 -// public static String urlimage = "https://dev-app.igandan.com/app/";// ceshi2短信验证码 -// public static String urlapp = "https://dev-app.igandan.com//app/expertApp/";// ceshi2地址 -// public static String urlping = "https://dev-app.igandan.com//app/pingExpert/";//ping -// public static String urlping2 = "https://dev-app.igandan.com//app/pingExpertV2/";//ping2 -// public static String url = "https://dev-app.igandan.com//app/expert/";// ceshi2地址 -// public static String weurl = "https://dev-wx.igandan.com/";// 微信服务器地址 -// public static String getzcxy = "http://app.igandan.com/expert_zcxy.jsp";// 注册协议正式地址 -// public static String getyyzc="https://doc.igandan.com/app/integral/permission_expert.html";//隐私政策 -// public static String urlHtml = "http://dev-doc.igandan.com/app/";// 静态资源访问地址(图片、html等)ceshi2 -// public static String CrashUpload = "https://dev-app.igandan.com/app/upload/uploadExpert";// 崩溃日志上传ceshi2 -// public static String YKMedicionURl = "http://extratest.meditool.cn/";// 医库用药网址 -// public static String getpushChat = "http://dev-wx.igandan.com/api/pushChat";// 微信推送 -// public static String urlmyLan = "https://dev-app.igandan.com/app/expertAPI/";//迈兰 -// public static String qrCode = "http://dev-wx.igandan.com/expert/expert" + -// "codeimg?expert_uuid=";//专家二维码页面分享链接: -// public static String urlOutpatient = "http://dev-wx.igandan.com/expert/outpatient_details?expert_uuid=";//门诊详情连接: -// -// public static String url_path = "https://dev-app.igandan.com/app"; -// public static String videodetailURL = "http://dev-wx.igandan.com/video/hcp_detial?share=1&uuid="; -// public static String polvId = "11";//保利威视学员id -// public static String scanurl = "https://dev-wx.igandan.com/watchlive/sendWebsocketMsg"; -// public static String zhibourl = weurl+"hcp/setInfo"; -// public static String homeModalurl = urlmyLan+"homemodal"; -// public static String PHP ="http://dev.hospital.open.igandanyiyuan.com";// php接口 互联网医院相关 -// public static String modernHepatology="https://dev-wx.igandan.com";//常用医学工具 -// public static String appkey = "26e8675f44565b1ed4eaaa0fcf3531d7"; -// public static String appId ="123456"; -// public static String youanapi ="https://dev-realyworld.igandan.com/api"; -// public static String FileUrl="https://dev-event.igandan.com/v1/eventLog/upload"; + public static String urlimage = "https://dev-app.igandan.com/app/";// ceshi2短信验证码 + public static String urlapp = "https://dev-app.igandan.com//app/expertApp/";// ceshi2地址 + public static String urlping = "https://dev-app.igandan.com//app/pingExpert/";//ping + public static String urlping2 = "https://dev-app.igandan.com//app/pingExpertV2/";//ping2 + public static String url = "https://dev-app.igandan.com//app/expert/";// ceshi2地址 + public static String weurl = "https://dev-wx.igandan.com/";// 微信服务器地址 + public static String getzcxy = "http://app.igandan.com/expert_zcxy.jsp";// 注册协议正式地址 + public static String getyyzc="https://doc.igandan.com/app/integral/permission_expert.html";//隐私政策 + public static String urlHtml = "http://dev-doc.igandan.com/app/";// 静态资源访问地址(图片、html等)ceshi2 + public static String CrashUpload = "https://dev-app.igandan.com/app/upload/uploadExpert";// 崩溃日志上传ceshi2 + public static String YKMedicionURl = "http://extratest.meditool.cn/";// 医库用药网址 + public static String getpushChat = "http://dev-wx.igandan.com/api/pushChat";// 微信推送 + public static String urlmyLan = "https://dev-app.igandan.com/app/expertAPI/";//迈兰 + public static String qrCode = "http://dev-wx.igandan.com/expert/expert" + + "codeimg?expert_uuid=";//专家二维码页面分享链接: + public static String urlOutpatient = "http://dev-wx.igandan.com/expert/outpatient_details?expert_uuid=";//门诊详情连接: + + public static String url_path = "https://dev-app.igandan.com/app"; + public static String videodetailURL = "http://dev-wx.igandan.com/video/hcp_detial?share=1&uuid="; + public static String polvId = "11";//保利威视学员id + public static String scanurl = "https://dev-wx.igandan.com/watchlive/sendWebsocketMsg"; + public static String zhibourl = weurl+"hcp/setInfo"; + public static String homeModalurl = urlmyLan+"homemodal"; + public static String PHP ="http://dev.hospital.open.igandanyiyuan.com";// php接口 互联网医院相关 + public static String modernHepatology="https://dev-wx.igandan.com";//常用医学工具 + public static String appkey = "26e8675f44565b1ed4eaaa0fcf3531d7"; + public static String appId ="123456"; + public static String youanapi ="https://dev-realyworld.igandan.com/api"; + public static String FileUrl="https://dev-event.igandan.com/v1/eventLog/upload"; /** @@ -633,7 +633,7 @@ public static String getInteractionListByTag = urlmyLan public static String gethonorDetail = urlmyLan+"gethonorDetail";// 点击查看荣誉详情 //我的首页新 - public static String myHomeNew = urlmyLan+"indexV2"; + public static String myHomeNew = urlmyLan+"indexV3"; //我的新 public static String myNew = urlmyLan+"my";