"use weex:vue";

if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
  Promise.prototype.finally = function(callback) {
    const promise = this.constructor
    return this.then(
      value => promise.resolve(callback()).then(() => value),
      reason => promise.resolve(callback()).then(() => {
        throw reason
      })
    )
  }
};

if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
  const global = uni.requireGlobal()
  ArrayBuffer = global.ArrayBuffer
  Int8Array = global.Int8Array
  Uint8Array = global.Uint8Array
  Uint8ClampedArray = global.Uint8ClampedArray
  Int16Array = global.Int16Array
  Uint16Array = global.Uint16Array
  Int32Array = global.Int32Array
  Uint32Array = global.Uint32Array
  Float32Array = global.Float32Array
  Float64Array = global.Float64Array
  BigInt64Array = global.BigInt64Array
  BigUint64Array = global.BigUint64Array
};


(()=>{var q=Object.create;var T=Object.defineProperty;var K=Object.getOwnPropertyDescriptor;var G=Object.getOwnPropertyNames;var V=Object.getPrototypeOf,W=Object.prototype.hasOwnProperty;var Y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Q=(e,t,a,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let d of G(t))!W.call(e,d)&&d!==a&&T(e,d,{get:()=>t[d],enumerable:!(p=K(t,d))||p.enumerable});return e};var L=(e,t,a)=>(a=e!=null?q(V(e)):{},Q(t||!e||!e.__esModule?T(a,"default",{value:e,enumerable:!0}):a,e));var w=(e,t,a)=>new Promise((p,d)=>{var l=h=>{try{f(a.next(h))}catch(g){d(g)}},m=h=>{try{f(a.throw(h))}catch(g){d(g)}},f=h=>h.done?p(h.value):Promise.resolve(h.value).then(l,m);f((a=a.apply(e,t)).next())});var N=Y((ie,R)=>{R.exports=Vue});var ne=L(N());function U(e,t,...a){uni.__log__?uni.__log__(e,t,...a):console[e].apply(console,[...a,t])}var X={tips(e,t=2e3,a="bottom"){plus.nativeUI.toast(e,{type:"text",duration:t,align:"center",verticalAlign:a})},isIOS(){return uni.getSystemInfoSync().platform==="ios"},isAndroid(){return uni.getSystemInfoSync().platform==="android"},getUUID(){return w(this,null,function*(){return new Promise((e,t)=>{plus.device.getInfo({success:a=>{e(a.uuid)},fail:a=>{t(a)}})})})},timeToTimestamp(e){return new Date(e.replace(/-/g,"/"))},friendlyDate(e){let t=this.timeToTimestamp(e);var a={year:"%n% \u5E74\u524D",month:"%n% \u6708\u524D",day:"%n% \u5929\u524D",hour:"%n% \u5C0F\u65F6\u524D",minute:"%n% \u5206\u949F\u524D",second:"%n% \u79D2\u524D"},p=Date.now(),d=Math.floor((p-t)/1e3),l=Math.floor(d/60),m=Math.floor(l/60),f=Math.floor(m/24),h=Math.floor(f/30),g=Math.floor(h/12),v="",C=0;return g>0?(v="year",C=g):h>0?(v="month",C=h):f>0?(v="day",C=f):m>0?(v="hour",C=m):l>0?(v="minute",C=l):(v="second",C=d===0?d=1:d),a[v].replace("%n%",C)},base64Encode(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="",p,d,l,m,f,h,g,v=0;for(e=this.utf8Encode(e);v<e.length;)p=e.charCodeAt(v++),d=e.charCodeAt(v++),l=e.charCodeAt(v++),m=p>>2,f=(p&3)<<4|d>>4,h=(d&15)<<2|l>>6,g=l&63,isNaN(d)?h=g=64:isNaN(l)&&(g=64),a=a+t.charAt(m)+t.charAt(f)+t.charAt(h)+t.charAt(g);return a},utf8Encode(e){e=e.replace(/\r\n/g,`
`);for(var t="",a=0;a<e.length;a++){var p=e.charCodeAt(a);p<128?t+=String.fromCharCode(p):p>127&&p<2048?(t+=String.fromCharCode(p>>6|192),t+=String.fromCharCode(p&63|128)):(t+=String.fromCharCode(p>>12|224),t+=String.fromCharCode(p>>6&63|128),t+=String.fromCharCode(p&63|128))}return t},utf8Decode(e){var t=[],a=0,p=0,d=0,l=0,m=0;for(e+="";a<e.length;)d=e.charCodeAt(a),d<128?(t[p++]=String.fromCharCode(d),a++):d>191&&d<224?(l=e.charCodeAt(a+1),t[p++]=String.fromCharCode((d&31)<<6|l&63),a+=2):(l=e.charCodeAt(a+1),m=e.charCodeAt(a+2),t[p++]=String.fromCharCode((d&15)<<12|(l&63)<<6|m&63),a+=3);return t.join("")},base64Decode(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a,p,d,l,m,f,h,g,v=0,C=0,S="",n=[];if(!e)return e;for(e+="";v<e.length;)l=t.indexOf(e.charAt(v++)),m=t.indexOf(e.charAt(v++)),f=t.indexOf(e.charAt(v++)),h=t.indexOf(e.charAt(v++)),g=l<<18|m<<12|f<<6|h,a=g>>16&255,p=g>>8&255,d=g&255,f==64?n[C++]=String.fromCharCode(a):h==64?n[C++]=String.fromCharCode(a,p):n[C++]=String.fromCharCode(a,p,d);return S=n.join(""),this.utf8Decode(S)},hasNotchInScreen(){return plus.navigator.hasNotchInScreen()}},k=X,j=!1;function b(e){uni.getNetworkType({success:function(p){if(p.networkType=="none")return k.tips("\u8BF7\u68C0\u6D4B\u7F51\u7EDC\u8FDE\u63A5"),!1}}),e.loading&&uni.showLoading({title:"\u52A0\u8F7D\u4E2D...",mask:!0,icon:"none"});let t={};var a=uni.getStorageSync("USER_TOKEN");return t.Authorization=a,t["Content-Type"]="application/x-www-form-urlencoded",new Promise((p,d)=>{uni.request({url:e.url,method:e.method||"POST",data:e.data||{},header:t,timeout:5e3,success:l=>{j&&U("log","at utils/request.js:48",l),p(l.data)},fail:l=>{j&&U("log","at utils/request.js:52",l),d(l)},complete:l=>{e.loading&&uni.hideLoading()}})})}b.baseURL="https://newapp.cheshi.com";var B="USER_TOKEN",F="USER_INFO",y=b.baseURL+"/v1",J={baseURL:y,STORAGE_USER_KEY:F,isLogin(){return!!(uni.getStorageSync(B)&&uni.getStorageSync(F))},login(){return uni.navigateTo({url:"/pages/login/index"}),!1},bindThird(e){let t={url:y+"/user/bind-app",data:{openid:e.openid,type:e.type,unionid:e.unionid,nickname:e.nickname,avatar:e.avatar}};return b(t)},getUserInfo(e=!1){return w(this,null,function*(){if(!e){let p=uni.getStorageSync(F);if(p)return p}let t={url:y+"/person/user-info"};return(yield b(t)).data})},getCode(e,t,a,p){let d={url:y+"/user/get-code",data:{device_id:e,mobile:t,token:a,type:p}};return b(d)},fastLogin(e,t){let a={url:y+"/user/fast-login",data:{mobile:e,code:t}};return b(a)},logOff(){let e={url:y+"/person/log-off"};return b(e)},oAuthLogin(e,t,a,p,d,l,m){let f={url:y+"/user/oauth-login",data:{openid:e,type:t,unionid:a,nickname:p,user_img:d,mobile:l,code:m}};return b(f)},updateUserInfo(e,t){let a={url:y+"/person/update-user-info",data:{key:e,value:t}};return b(a)},bindMobile(e,t){let a={url:y+"/user/bind-mobile",data:{mobile:e,code:t}};return b(a)},getNewsHistory(e,t="news",a=10){let p={url:y+"/person/my-history",data:{type:t,page:e,limit:a},method:"POST"};return b(p)},getFocus(e,t=10){let a={url:y+"/person/my-focus",data:{page:e,limit:t},method:"POST"};return b(a)},addFocus(e){let t={url:y+"/person/add-focus",data:{to_uid:e},method:"post"};return b(t)},delFocus(e){let t={url:y+"/person/del-focus",data:{to_uid:e},method:"post"};return b(t)},getMyLikes(e){let t={url:y+"/collect/list",data:{type:e.type,page:e.page,limit:e.limit||30},method:"post"};return b(t)},getProvinceList(){let e={url:y+"/user/get-provinces"};return b(e)},getCityList(e){let t={url:y+"/user/get-citys",data:{provinceID:e}};return b(t)},logout(){this.updateUserClientId("del"),uni.removeStorageSync(B),uni.removeStorageSync(F)},getFavoriteList(e){let t={url:y+"/story/collectlist",data:{action:e.type||"all",page:e.page||1,pagesize:e.limit||10}};return b(t)},thirdLogin(e){return w(this,null,function*(){let t={url:y+"/user/oauth-login",data:{openid:e.openid,type:e.type,unionid:e.unionid,nickname:e.nickname,avatar:e.avatar,mobile:e.mobile,code:e.code}},a=yield b(t);if(k.tips(a.message),a.code==204&&e.mobile==0&&e.code==0)return uni.setStorageSync("LOGIN_BIND_INFO",t.data),uni.redirectTo({url:"/pages/user/bind-mobile/index"}),!1;if(a.code!=200)return uni.removeStorageSync(B),uni.removeStorageSync(F),!1;uni.setStorageSync(B,a.data.login_token),uni.setStorageSync(F,a.data.user_info),this.updateUserClientId("add"),uni.switchTab({url:"/pages/index/index"})})},share(e){return w(this,null,function*(){if(!this.isAppExists("wechat"))return!1;let[t,a]=yield uni.showActionSheet({itemList:["\u5206\u4EAB\u7ED9\u670B\u53CB","\u5206\u4EAB\u5230\u670B\u53CB\u5708"]});if(!a)return!1;let p=yield this.getUserInfo(),d=["video","live"].includes(e.imageType)?p.base_share_host+"/app_"+e.imageType+"_"+e.id+"/?s_id="+p.id:p.base_share_host+"/kaizen/article/"+p.id+"/"+e.id+".html",l=e.title_pic1||e.share_logo,m={provider:"weixin",scene:a.tapIndex==0?"WXSceneSession":"WXSenceTimeline",type:0,href:d,title:e.title+" - KAIZEN",summary:e.short_summary,imageUrl:l};uni.setClipboardData({data:e.short_summary}),yield uni.share(m);let f={url:y+"/story/share",data:{favid:e.id,action:e.imageType}};yield b(f)})},updateUserClientId(e){let t=uni.getStorageSync("UNI_PUSH_CLIENT_ID")||"";if(t=="")return!1;let a={url:y+"/user/push-device",data:{action:e,cid:t,from:k.isIOS()?"ios":"android"}};return b(a)},updateAppBadge(){let e=uni.getStorageSync("UNI_PUSH_CLIENT_ID")||"";if(e==""||k.isAndroid())return!1;let t={url:y+"/public/delete-badge",data:{cid:e,badge:0}};return b(t)},isAppExists(e){let t={};switch(e){case"wechat":t.pname="com.tencent.mm",t.action="weixin://";break;default:t.pname="",t.action=""}return plus.runtime.isApplicationExist(t)}},A=J;var o=L(N());var O=(e,t)=>{let a=e.__vccOpts||e;for(let[p,d]of t)a[p]=d;return a};var Z={content:{"":{flex:1,width:"750rpx",overflow:"hidden"}},bgimg:{"":{width:"750rpx",position:"absolute",top:0,left:0}},bigbox:{"":{position:"absolute",left:0,top:0,flex:1,flexDirection:"row",width:"1500rpx",transitionProperty:"left",transitionDuration:300}},"bind-mobile":{"":{position:"absolute",left:0,top:0,flex:1,flexDirection:"row",width:"1500rpx",transitionProperty:"left",transitionDuration:300}},"inner-box1":{"":{width:"750rpx"}},head:{"":{height:"88rpx",alignItems:"center",paddingTop:0,paddingRight:"32rpx",paddingBottom:0,paddingLeft:"32rpx",flexDirection:"row"}},back:{"":{fontFamily:"uniicons",fontWeight:"normal",color:"#ffffff",width:"50rpx",height:"50rpx",fontSize:"50rpx"}},midbox:{"":{paddingTop:0,paddingRight:"32rpx",paddingBottom:0,paddingLeft:"32rpx",marginTop:"110rpx"}},bigtitle:{"":{fontSize:"56rpx",color:"#FFFFFF",fontWeight:"600",lineHeight:"78rpx",marginBottom:"150rpx"}},bigtitle2:{"":{marginBottom:"20rpx"}},"phone-num":{"":{width:"686rpx",height:"88rpx",backgroundColor:"rgba(255,255,255,0.2)",paddingTop:0,paddingRight:"50rpx",paddingBottom:0,paddingLeft:"50rpx",fontSize:"32rpx",color:"#ffffff",borderRadius:"44rpx",marginBottom:"80rpx"}},tk:{"":{flexDirection:"row",alignItems:"center",marginBottom:"30rpx"}},check:{"":{width:"28rpx",height:"28rpx",borderStyle:"solid",borderWidth:"1rpx",borderColor:"#ffffff",borderRadius:"14rpx",marginRight:"16rpx",marginTop:"3rpx",position:"relative",alignItems:"center",justifyContent:"center"}},"check-inner":{"":{width:"18rpx",height:"18rpx",backgroundColor:"#FFFFFF",borderRadius:"9rpx"}},textbox:{"":{flexDirection:"row"}},tknr:{"":{lineHeight:"33rpx",color:"#FFFFFF",fontSize:"24rpx"}},"yzm-btn":{"":{height:"88rpx",width:"686rpx",color:"#ffffff",textAlign:"center",lineHeight:"88rpx",fontSize:"36rpx",backgroundColor:"#ff0005",borderRadius:"44rpx"}},botbox:{"":{alignItems:"center",position:"fixed",left:0,bottom:"246rpx",width:"750rpx"}},dsf:{"":{height:"40rpx",lineHeight:"40rpx",fontSize:"28rpx",color:"#ffffff",marginBottom:"50rpx"}},"login-icon":{"":{flexDirection:"row",justifyContent:"center",alignItems:"center"}},"s-img":{"":{width:"88rpx",height:"88rpx",marginTop:0,marginRight:"24rpx",marginBottom:0,marginLeft:"24rpx"}},"s-apple-img":{"":{height:"88rpx",width:"284rpx",marginTop:0,marginRight:"24rpx",marginBottom:0,marginLeft:"24rpx"}},"lay-box":{"":{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.5)",alignItems:"center",justifyContent:"center",width:"750rpx"}},"code-box":{"":{width:"580rpx",backgroundColor:"#ffffff",borderRadius:"16rpx",paddingTop:"60rpx",paddingRight:"60rpx",paddingBottom:"60rpx",paddingLeft:"60rpx"}},"code-title":{"":{fontSize:"36rpx",color:"#333333",fontWeight:"600",marginBottom:"30rpx",textAlign:"center",lineHeight:"50rpx"}},"code-img-box":{"":{width:"460rpx",height:"140rpx",borderWidth:"1rpx",borderColor:"rgba(209,209,214,1)",backgroundColor:"#d1d1d6",marginBottom:"40rpx"}},"code-img":{"":{width:"458rpx",height:"138rpx"}},txyzm:{"":{width:"460rpx",height:"88rpx",backgroundColor:"#efeff4",borderRadius:"44rpx",marginBottom:"38rpx",paddingTop:0,paddingRight:"20rpx",paddingBottom:0,paddingLeft:"20rpx",textAlign:"center"}},"btn-box":{"":{height:"88rpx",flexDirection:"row",justifyContent:"space-between"}},cancel:{"":{width:"220rpx",height:"88rpx",lineHeight:"88rpx",textAlign:"center",color:"#333333",fontSize:"32rpx",backgroundColor:"#EFEFF4",borderRadius:"44rpx"}},ok:{"":{width:"220rpx",height:"88rpx",lineHeight:"88rpx",textAlign:"center",color:"#ffffff",fontSize:"32rpx",backgroundColor:"#FF0005",borderRadius:"44rpx"}},tips:{"":{lineHeight:"33rpx",fontSize:"24rpx",color:"#FFFFFF",marginBottom:"97rpx"}},codeNum:{"":{width:"686rpx",height:"88rpx",borderRadius:"16rpx",backgroundColor:"rgba(255,255,255,0.2)",paddingTop:0,paddingRight:"20rpx",paddingBottom:0,paddingLeft:"20rpx",textAlign:"center",marginBottom:"80rpx",color:"#FFFFFF"}},cxbox:{"":{lineHeight:"33rpx",flexDirection:"row",marginBottom:"40rpx"}},"r-num":{"":{fontSize:"24rpx",color:"#ff0005"}},"cx-text":{"":{fontSize:"24rpx",color:"#FFFFFF"}},"@TRANSITION":{bigbox:{property:"left",duration:300},"bind-mobile":{property:"left",duration:300}}},$=b.baseURL,ee=weex.requireModule("dom");ee.addRule("fontFace",{fontFamily:"uniicons",src:"url('/static/uni.ttf')"});var I="USER_TOKEN",D="USER_INFO",te={data(){return{bind:!1,iStatusBarHeight:0,pageHeight:0,providerList:[],tk:!1,sName:"",phoneNum:"0",deviceId:0,codeImg:"",codeType:"login",animationData:{},imgCode:!1,boxLeft:0,boxLeft2:0,imgCodeNum:"",codeNum:0,sec:60,oldPhone:"",isGet:!1,oAs:{},oAsType:"",os:{osName:"",osVersion:""}}},beforeCreate(){},mounted(){let e=uni.getSystemInfoSync();this.os.osName=e.osName,this.os.osVersion=e.osVersion,this.deviceId=e.deviceId,this.pageHeight=e.windowHeight,this.iStatusBarHeight=e.statusBarHeight,this.sName=e.osName,this.secs()},onShow(){this.codeType="login"},onLoad(){},created(){},methods:{agree(e){this.tk=!this.tk},secs(){setTimeout(()=>{this.sec>0&&(this.sec-=1,this.secs())},1e3)},back(){this.boxLeft=0,this.boxLeft2=0},nothing(){uni.hideKeyboard()},hideLogin(){uni.hideKeyboard(),uni.navigateBack()},gotk(){uni.navigateTo({url:"/pages/webview/index?page="+encodeURIComponent("https://a.cheshi.com/aboutus/cj_ys.html")})},goxy(){uni.navigateTo({url:"/pages/webview/index?page="+encodeURIComponent("https://a.cheshi.com/aboutus/cj_fw.html")})},getNum(e){this.phoneNum=e.detail.value},getImgCode(e){if(!this.tk){uni.showToast({title:"\u8BF7\u5148\u9605\u8BFB\u5E76\u540C\u610F\u9690\u79C1\u653F\u7B56",icon:"none",duration:2e3,mask:!0});return}if(this.isGet&&this.oldPhone==this.phoneNum){this.imgCode=!1,this.boxLeft=-750,this.boxLeft2=-750;return}this.codeType=e;let t=this.phoneNum;if(!/^1[3456789]\d{9}$/.test(t)&&(t.length>11||t.length<11)){uni.showToast({title:"\u624B\u673A\u53F7\u7801\u6709\u8BEF",icon:"none",duration:2e3,mask:!0});return}this.getPhoneCode(),uni.hideKeyboard()},yzmInput(e){this.imgCodeNum=e.detail.value},getPhoneCode(){return w(this,null,function*(){let e=this.md5(this.phoneNum+"new-app"+this.deviceId);this.oldPhone=this.phoneNum,this.isGet=!0;let t=this,a=yield A.getCode(t.deviceId,t.phoneNum,e,"login");a.code==200?(t.imgCode=!1,t.boxLeft=-750,t.boxLeft2=-750,t.sec=60):uni.showToast({title:a.message,icon:"none",duration:2e3,mask:!0}),uni.hideKeyboard()})},refreshCode(){this.codeImg=$+"/v1/user/get-captcha?device_id="+this.deviceId+"&r="+Math.random()},cancel(){this.imgCode=!1},getCodeNum(e){this.codeNum=e.detail.value},goLogin(){return w(this,null,function*(){if(uni.showLoading({title:"\u52A0\u8F7D\u4E2D...",mask:!0}),uni.hideKeyboard(),this.codeNum.length!=6){uni.hideLoading(),uni.showToast({title:"\u9A8C\u8BC1\u7801\u4E0D\u6B63\u786E",icon:"none",duration:2e3,mask:!0});return}if(this.codeType=="login"){let e=yield A.fastLogin(this.phoneNum,this.codeNum);uni.hideLoading(),e.code!=200?(uni.removeStorageSync(I),uni.removeStorageSync(D),uni.showToast({title:e.message,icon:"none",duration:2e3,mask:!0})):(uni.setStorageSync(I,e.data.login_token),uni.setStorageSync(D,e.data.user_info),uni.showToast({title:"\u767B\u5F55\u6210\u529F",icon:"none",mask:!0}),uni.$emit("login",e.data.user_info),setTimeout(()=>{uni.navigateBack()},1500))}else this.oauthLogin()})},oauthLogin(){return w(this,null,function*(){let e=yield A.oAuthLogin(this.oAs.userInfo.openId,this.oAsType,this.oAs.userInfo.unionId,this.oAs.userInfo.nickName,this.oAs.userInfo.avatarUrl,this.phoneNum,this.codeNum);uni.hideLoading(),e.code==200?(uni.setStorageSync(I,e.data.login_token),uni.setStorageSync(D,e.data.user_info),uni.showToast({title:"\u767B\u5F55\u6210\u529F",icon:"none",mask:!0}),uni.$emit("login",e.data.user_info),setTimeout(()=>{uni.navigateBack()},1500)):e.code==204?(uni.showToast({title:"\u8BF7\u7ED1\u5B9A\u624B\u673A\u53F7",icon:"none",duration:2e3,mask:!0}),this.bind=!0):uni.showToast({title:e.message,icon:"none"})})},tologin(e){this.codeType="bind";let t=this;e=="weixin"&&(t.oAsType=1),e=="apple"&&(t.oAsType=2),e=="qq"&&(t.oAsType=3),uni.login({provider:e,success:function(a){uni.getUserInfo({provider:e,success(p){t.oAs=p,t.oauthLogin()}})},fail:function(a){uni.showModal({content:"\u767B\u9646\u5931\u8D25\uFF01"})}})},noBind(){this.bind=!1},md5(e){var t=8;function a(n){return S(p(C(n),n.length*t))}function p(n,x){n[x>>5]|=128<<x%32,n[(x+64>>>9<<4)+14]=x;for(var i=1732584193,r=-271733879,u=-1732584194,s=271733878,c=0;c<n.length;c+=16){var z=i,H=r,P=u,M=s;i=l(i,r,u,s,n[c+0],7,-680876936),s=l(s,i,r,u,n[c+1],12,-389564586),u=l(u,s,i,r,n[c+2],17,606105819),r=l(r,u,s,i,n[c+3],22,-1044525330),i=l(i,r,u,s,n[c+4],7,-176418897),s=l(s,i,r,u,n[c+5],12,1200080426),u=l(u,s,i,r,n[c+6],17,-1473231341),r=l(r,u,s,i,n[c+7],22,-45705983),i=l(i,r,u,s,n[c+8],7,1770035416),s=l(s,i,r,u,n[c+9],12,-1958414417),u=l(u,s,i,r,n[c+10],17,-42063),r=l(r,u,s,i,n[c+11],22,-1990404162),i=l(i,r,u,s,n[c+12],7,1804603682),s=l(s,i,r,u,n[c+13],12,-40341101),u=l(u,s,i,r,n[c+14],17,-1502002290),r=l(r,u,s,i,n[c+15],22,1236535329),i=m(i,r,u,s,n[c+1],5,-165796510),s=m(s,i,r,u,n[c+6],9,-1069501632),u=m(u,s,i,r,n[c+11],14,643717713),r=m(r,u,s,i,n[c+0],20,-373897302),i=m(i,r,u,s,n[c+5],5,-701558691),s=m(s,i,r,u,n[c+10],9,38016083),u=m(u,s,i,r,n[c+15],14,-660478335),r=m(r,u,s,i,n[c+4],20,-405537848),i=m(i,r,u,s,n[c+9],5,568446438),s=m(s,i,r,u,n[c+14],9,-1019803690),u=m(u,s,i,r,n[c+3],14,-187363961),r=m(r,u,s,i,n[c+8],20,1163531501),i=m(i,r,u,s,n[c+13],5,-1444681467),s=m(s,i,r,u,n[c+2],9,-51403784),u=m(u,s,i,r,n[c+7],14,1735328473),r=m(r,u,s,i,n[c+12],20,-1926607734),i=f(i,r,u,s,n[c+5],4,-378558),s=f(s,i,r,u,n[c+8],11,-2022574463),u=f(u,s,i,r,n[c+11],16,1839030562),r=f(r,u,s,i,n[c+14],23,-35309556),i=f(i,r,u,s,n[c+1],4,-1530992060),s=f(s,i,r,u,n[c+4],11,1272893353),u=f(u,s,i,r,n[c+7],16,-155497632),r=f(r,u,s,i,n[c+10],23,-1094730640),i=f(i,r,u,s,n[c+13],4,681279174),s=f(s,i,r,u,n[c+0],11,-358537222),u=f(u,s,i,r,n[c+3],16,-722521979),r=f(r,u,s,i,n[c+6],23,76029189),i=f(i,r,u,s,n[c+9],4,-640364487),s=f(s,i,r,u,n[c+12],11,-421815835),u=f(u,s,i,r,n[c+15],16,530742520),r=f(r,u,s,i,n[c+2],23,-995338651),i=h(i,r,u,s,n[c+0],6,-198630844),s=h(s,i,r,u,n[c+7],10,1126891415),u=h(u,s,i,r,n[c+14],15,-1416354905),r=h(r,u,s,i,n[c+5],21,-57434055),i=h(i,r,u,s,n[c+12],6,1700485571),s=h(s,i,r,u,n[c+3],10,-1894986606),u=h(u,s,i,r,n[c+10],15,-1051523),r=h(r,u,s,i,n[c+1],21,-2054922799),i=h(i,r,u,s,n[c+8],6,1873313359),s=h(s,i,r,u,n[c+15],10,-30611744),u=h(u,s,i,r,n[c+6],15,-1560198380),r=h(r,u,s,i,n[c+13],21,1309151649),i=h(i,r,u,s,n[c+4],6,-145523070),s=h(s,i,r,u,n[c+11],10,-1120210379),u=h(u,s,i,r,n[c+2],15,718787259),r=h(r,u,s,i,n[c+9],21,-343485551),i=g(i,z),r=g(r,H),u=g(u,P),s=g(s,M)}return Array(i,r,u,s)}function d(n,x,i,r,u,s){return g(v(g(g(x,n),g(r,s)),u),i)}function l(n,x,i,r,u,s,c){return d(x&i|~x&r,n,x,u,s,c)}function m(n,x,i,r,u,s,c){return d(x&r|i&~r,n,x,u,s,c)}function f(n,x,i,r,u,s,c){return d(x^i^r,n,x,u,s,c)}function h(n,x,i,r,u,s,c){return d(i^(x|~r),n,x,u,s,c)}function g(n,x){var i=(n&65535)+(x&65535),r=(n>>16)+(x>>16)+(i>>16);return r<<16|i&65535}function v(n,x){return n<<x|n>>>32-x}function C(n){for(var x=Array(),i=(1<<t)-1,r=0;r<n.length*t;r+=t)x[r>>5]|=(n.charCodeAt(r/t)&i)<<r%32;return x}function S(n){for(var x="0123456789abcdef",i="",r=0;r<n.length*4;r++)i+=x.charAt(n[r>>2]>>r%4*8+4&15)+x.charAt(n[r>>2]>>r%4*8&15);return i}return a(e)}}};function oe(e,t,a,p,d,l){let m=(0,o.resolveComponent)("checkbox"),f=(0,o.resolveComponent)("label"),h=(0,o.resolveComponent)("checkbox-group");return(0,o.openBlock)(),(0,o.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,o.createElementVNode)("view",{class:"content"},[(0,o.createElementVNode)("u-image",{class:"bgimg",src:"https://img.cheshi-img.com/newapp/login-bg.png",style:(0,o.normalizeStyle)({height:d.pageHeight+"px"})},null,4),d.bind?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:0,class:"bigbox",style:(0,o.normalizeStyle)({left:d.boxLeft+"rpx"})},[(0,o.createElementVNode)("view",{class:"inner-box1"},[(0,o.createElementVNode)("view",{class:"topview"},[(0,o.createElementVNode)("view",{style:(0,o.normalizeStyle)({height:d.iStatusBarHeight+"px"})},null,4),(0,o.createElementVNode)("view",{class:"head"},[(0,o.createElementVNode)("u-text",{class:"back",onClick:t[0]||(t[0]=(...g)=>l.hideLogin&&l.hideLogin(...g))},"\uE460")])]),(0,o.createElementVNode)("view",{class:"midbox"},[(0,o.createElementVNode)("u-text",{class:"bigtitle"},"\u624B\u673A\u53F7\u7801\u767B\u5F55"),(0,o.createElementVNode)("u-input",{class:"phone-num",type:"number",onInput:t[1]||(t[1]=(...g)=>l.getNum&&l.getNum(...g)),placeholderStyle:"color:#FFFFFF",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"},null,32),(0,o.createElementVNode)("view",{class:"tk"},[(0,o.createVNode)(h,{onChange:l.agree,class:"tkgroup"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(f,{for:"agree"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(m,{value:"agree",style:{"margin-right":"16rpx"},checked:d.tk},null,8,["checked"])]),_:1})]),_:1},8,["onChange"]),(0,o.createElementVNode)("view",{class:"textbox"},[(0,o.createElementVNode)("u-text",{class:"tknr"},"\u6211\u5DF2\u9605\u8BFB\u5E76\u540C\u610F"),(0,o.createElementVNode)("view",{onClick:t[2]||(t[2]=(...g)=>l.gotk&&l.gotk(...g))},[(0,o.createElementVNode)("u-text",{class:"tknr"},"\u300A\u9690\u79C1\u653F\u7B56\u300B")]),(0,o.createElementVNode)("u-text",{class:"tknr"},"\u548C"),(0,o.createElementVNode)("view",{onClick:t[3]||(t[3]=(...g)=>l.goxy&&l.goxy(...g))},[(0,o.createElementVNode)("u-text",{class:"tknr"},"\u300A\u670D\u52A1\u534F\u8BAE\u300B")])])]),(0,o.createElementVNode)("u-text",{class:"yzm-btn",onClick:t[4]||(t[4]=g=>l.getImgCode("login"))},"\u83B7\u53D6\u9A8C\u8BC1\u7801")]),(0,o.createElementVNode)("view",{class:"botbox"},[(0,o.createElementVNode)("u-text",{class:"dsf"},"\u7B2C\u4E09\u65B9\u767B\u5F55"),(0,o.createElementVNode)("view",{class:"login-icon"},[(0,o.createElementVNode)("u-image",{onClick:t[5]||(t[5]=g=>l.tologin("weixin")),class:"s-img",src:"/static/wechat.png",mode:""}),(0,o.createElementVNode)("u-image",{onClick:t[6]||(t[6]=g=>l.tologin("qq")),class:"s-img",src:"/static/QQ.png",mode:""}),d.os.osName=="ios"&&parseFloat(d.os.osVersion)>13?((0,o.openBlock)(),(0,o.createElementBlock)("u-image",{key:0,onClick:t[7]||(t[7]=g=>l.tologin("apple")),class:"s-apple-img",src:"/static/apple-login.png",mode:""})):(0,o.createCommentVNode)("",!0)])])]),(0,o.createElementVNode)("view",{class:"inner-box2"},[(0,o.createElementVNode)("view",{class:"topview"},[(0,o.createElementVNode)("view",{style:(0,o.normalizeStyle)({height:d.iStatusBarHeight+"px"})},null,4),(0,o.createElementVNode)("view",{class:"head"},[(0,o.createElementVNode)("u-text",{class:"back",onClick:t[8]||(t[8]=(...g)=>l.back&&l.back(...g))},"\uE582")])]),(0,o.createElementVNode)("view",{class:"midbox"},[(0,o.createElementVNode)("u-text",{class:"bigtitle bigtitle2"},"\u586B\u5199\u9A8C\u8BC1\u7801"),(0,o.createElementVNode)("u-text",{class:"tips"},"\u5DF2\u53D1\u9001\u9A8C\u8BC1\u7801\u81F3"+(0,o.toDisplayString)(d.phoneNum),1),(0,o.createElementVNode)("u-input",{class:"codeNum",type:"number",onInput:t[9]||(t[9]=(...g)=>l.getCodeNum&&l.getCodeNum(...g)),placeholder:"\u8BF7\u8F93\u5165\u77ED\u4FE1\u9A8C\u8BC1\u7801",placeholderStyle:"color: #8E8E93;"},null,32),(0,o.createElementVNode)("view",{class:"cxbox"},[d.sec>=1?((0,o.openBlock)(),(0,o.createElementBlock)("u-text",{key:0,class:"r-num"},(0,o.toDisplayString)(d.sec)+"\u79D2",1)):(0,o.createCommentVNode)("",!0),d.sec>=1?((0,o.openBlock)(),(0,o.createElementBlock)("u-text",{key:1,class:"cx-text"},"\u540E\u91CD\u65B0\u53D1\u9001")):(0,o.createCommentVNode)("",!0),d.sec<=0?((0,o.openBlock)(),(0,o.createElementBlock)("u-text",{key:2,class:"cx-text"},"\u6CA1\u6709\u6536\u5230\uFF1F\u70B9\u51FB ")):(0,o.createCommentVNode)("",!0),d.sec<=0?((0,o.openBlock)(),(0,o.createElementBlock)("u-text",{key:3,class:"r-num"},"\u91CD\u65B0\u53D1\u9001")):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("u-text",{class:"yzm-btn",onClick:t[10]||(t[10]=(...g)=>l.goLogin&&l.goLogin(...g))},"\u767B\u5F55")])])],4)),d.bind?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:1,class:"bind-mobile",style:(0,o.normalizeStyle)({left:d.boxLeft2+"rpx"})},[(0,o.createElementVNode)("view",{class:"inner-box1"},[(0,o.createElementVNode)("view",{class:"topview"},[(0,o.createElementVNode)("view",{style:(0,o.normalizeStyle)({height:d.iStatusBarHeight+"px"})},null,4),(0,o.createElementVNode)("view",{class:"head"},[(0,o.createElementVNode)("u-text",{class:"back",onClick:t[11]||(t[11]=(...g)=>l.noBind&&l.noBind(...g))},"\uE460")])]),(0,o.createElementVNode)("view",{class:"midbox"},[(0,o.createElementVNode)("u-text",{class:"bigtitle"},"\u7ED1\u5B9A\u624B\u673A\u53F7\u7801"),(0,o.createElementVNode)("u-input",{class:"phone-num",type:"number",onInput:t[12]||(t[12]=(...g)=>l.getNum&&l.getNum(...g)),placeholderStyle:"color:#FFFFFF",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"},null,32),(0,o.createElementVNode)("view",{class:"tk"},[(0,o.createVNode)(h,{onChange:l.agree,class:"tkgroup"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(f,{for:"agree"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(m,{value:"agree",style:{"margin-right":"16rpx"},checked:d.tk},null,8,["checked"])]),_:1})]),_:1},8,["onChange"]),(0,o.createElementVNode)("view",{class:"textbox"},[(0,o.createElementVNode)("u-text",{class:"tknr"},"\u6211\u5DF2\u9605\u8BFB\u5E76\u540C\u610F"),(0,o.createElementVNode)("view",{onClick:t[13]||(t[13]=(...g)=>l.gotk&&l.gotk(...g))},[(0,o.createElementVNode)("u-text",{class:"tknr"},"\u300A\u9690\u79C1\u653F\u7B56\u300B")]),(0,o.createElementVNode)("u-text",{class:"tknr"},"\u548C"),(0,o.createElementVNode)("view",{onClick:t[14]||(t[14]=(...g)=>l.goxy&&l.goxy(...g))},[(0,o.createElementVNode)("u-text",{class:"tknr"},"\u300A\u670D\u52A1\u534F\u8BAE\u300B")])])]),(0,o.createElementVNode)("u-text",{class:"yzm-btn",onClick:t[15]||(t[15]=g=>l.getImgCode("bind"))},"\u83B7\u53D6\u9A8C\u8BC1\u7801")])]),(0,o.createElementVNode)("view",{class:"inner-box2"},[(0,o.createElementVNode)("view",{class:"topview"},[(0,o.createElementVNode)("view",{style:(0,o.normalizeStyle)({height:d.iStatusBarHeight+"px"})},null,4),(0,o.createElementVNode)("view",{class:"head"},[(0,o.createElementVNode)("u-text",{class:"back",onClick:t[16]||(t[16]=(...g)=>l.back&&l.back(...g))},"\uE582")])]),(0,o.createElementVNode)("view",{class:"midbox"},[(0,o.createElementVNode)("u-text",{class:"bigtitle bigtitle2"},"\u586B\u5199\u9A8C\u8BC1\u7801"),(0,o.createElementVNode)("u-text",{class:"tips"},"\u5DF2\u53D1\u9001\u9A8C\u8BC1\u7801\u81F3"+(0,o.toDisplayString)(d.phoneNum),1),(0,o.createElementVNode)("u-input",{class:"codeNum",type:"number",onInput:t[17]||(t[17]=(...g)=>l.getCodeNum&&l.getCodeNum(...g)),placeholder:"\u8BF7\u8F93\u5165\u77ED\u4FE1\u9A8C\u8BC1\u7801",placeholderStyle:"color: #8E8E93;"},null,32),(0,o.createElementVNode)("view",{class:"cxbox"},[d.sec>=1?((0,o.openBlock)(),(0,o.createElementBlock)("u-text",{key:0,class:"r-num"},(0,o.toDisplayString)(d.sec)+"\u79D2",1)):(0,o.createCommentVNode)("",!0),d.sec>=1?((0,o.openBlock)(),(0,o.createElementBlock)("u-text",{key:1,class:"cx-text"},"\u540E\u91CD\u65B0\u53D1\u9001")):(0,o.createCommentVNode)("",!0),d.sec<=0?((0,o.openBlock)(),(0,o.createElementBlock)("u-text",{key:2,class:"cx-text"},"\u6CA1\u6709\u6536\u5230\uFF1F\u70B9\u51FB ")):(0,o.createCommentVNode)("",!0),d.sec<=0?((0,o.openBlock)(),(0,o.createElementBlock)("u-text",{key:3,class:"r-num"},"\u91CD\u65B0\u53D1\u9001")):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("u-text",{class:"yzm-btn",onClick:t[18]||(t[18]=(...g)=>l.goLogin&&l.goLogin(...g))},"\u7ED1\u5B9A")])])],4)):(0,o.createCommentVNode)("",!0)])])}var _=O(te,[["render",oe],["styles",[Z]]]);var E=plus.webview.currentWebview();if(E){let e=parseInt(E.id),t="pages/login/index",a={};try{a=JSON.parse(E.__query__)}catch(d){}_.mpType="page";let p=Vue.createPageApp(_,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:a});p.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,..._.styles||[]])),p.mount("#root")}})();
