diff --git a/config/index.js b/config/index.js index b258f0c..7a0e157 100644 --- a/config/index.js +++ b/config/index.js @@ -1,4 +1,4 @@ -const env = 'dev'; +const env = 'test'; const configs = { LocalTest: { apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend', @@ -17,7 +17,6 @@ const configs = { h5Url:'https://oa-a.szjixun.cn/#/' }, }; - const config = configs[env]; export default config; \ No newline at end of file diff --git a/main.js b/main.js index 20ad8f1..f624f57 100644 --- a/main.js +++ b/main.js @@ -10,7 +10,6 @@ const app = new Vue({ }) app.$mount() // #endif - // #ifdef VUE3 import { createSSRApp } from 'vue' export function createApp() { diff --git a/manifest.json b/manifest.json index d28ad62..56a3fe5 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "oa考勤系统", "appid" : "__UNI__4796942", "description" : "", - "versionName" : "2.0.4", - "versionCode" : 204, + "versionName" : "2.1.0", + "versionCode" : 210, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/index/index.vue b/pages/index/index.vue index 0b23328..a9334f7 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -6,15 +6,57 @@ import config from "../../config"; import {onExit } from "@dcloudio/uni-app"; import { Communication } from '../../utils/communication.js'; -const commun=new Communication() - const permissionListener = uni.createRequestPermissionListener(); + const commun=new Communication() + +/* import { + registerRequestPermissionTipsListener, + unregisterRequestPermissionTipsListener, + setRequestPermissionTips + } from "@/uni_modules/uni-registerRequestPermissionTips" + + const PermissionTips = { + "android.permission.CAMERA": "

正在读取通讯录权限

通讯录权限不会获取任何信息,请注意", + "android.permission.READ_PHONE_STATE": "

正在读取网络状态权限

通讯录权限不会获取任何信息,请注意通讯录权限不会获取任何信息,请注意通讯录权限不会获取任何信息,请注意" + } onExit(()=>{ - permissionListener.stop() + unregisterRequestPermissionTipsListener() }) + + const brand = uni.getSystemInfoSync().deviceBrand + setRequestPermissionTips(PermissionTips) + registerRequestPermissionTipsListener({ + onRequest: (e) => { + }, + onConfirm: (e) => { + commun.sendToH5('permission-application',{action:'open-permission',data:e}); + }, + onComplete: (e) => { + commun.sendToH5('permission-application',{action:'close-permission',data:e}); + + // 华为手机在权限禁止之后,再次申请权限不会出现权限申请框。此时应该引导用户去系统设置开启此权限,不应该频繁申请。 + if (brand.toLowerCase() === "huawei") { + const tips = {} + let hasDeniedPermission = false + for (let k in PermissionTips) { + if (e[k] !== "denied") { + tips[k] = PermissionTips[k] + } else { + hasDeniedPermission = true + } + } + setRequestPermissionTips(tips) // 更新弹框提醒,防止华为手机不出现权限申请框时权限提醒框闪烁的情况 + if (hasDeniedPermission) + uni.showModal({ + content: "权限已经被拒绝,请前往设置中开启" + }) + } + } + }) */ function initializeWebView() { const currentWebview = getCurrentPages().pop().$getAppWebview() commun.setWebView(currentWebview.children()[0]) } + //load-complete 注册函数 commun.registerHandler('load-complete',()=>{ initializeWebView() const {statusBarHeight} = uni.getSystemInfoSync() @@ -22,16 +64,7 @@ onExit(()=>{ top: statusBarHeight, bottom: 0, }) - permissionListener.onRequest((e)=>{ - commun.sendToH5('permission-application',e); - }) - permissionListener.onConfirm((e) => { - }); - permissionListener.onComplete((e) => { - console.log('APP执行onComplete',e) - const arr=['android.permission.ACCESS_COARSE_LOCATION','android.permission.ACCESS_FINE_LOCATION','android.permission.ACCESS_LOCATION_EXTRA_COMMANDS','android.permission.ACCESS_MOCK_LOCATION'] - commun.sendToH5('permission-complete',e); - }) + }) const webLoad = (e) => { const message = e.detail.data?.[0] || ''; diff --git a/unpackage/cache/wgt/__UNI__4796942/app-service.js b/unpackage/cache/wgt/__UNI__4796942/app-service.js index a0c3d1b..2d94bdd 100644 --- a/unpackage/cache/wgt/__UNI__4796942/app-service.js +++ b/unpackage/cache/wgt/__UNI__4796942/app-service.js @@ -1 +1 @@ -if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then((n=>t.resolve(e()).then((()=>n))),(n=>t.resolve(e()).then((()=>{throw n}))))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const e=uni.requireGlobal();ArrayBuffer=e.ArrayBuffer,Int8Array=e.Int8Array,Uint8Array=e.Uint8Array,Uint8ClampedArray=e.Uint8ClampedArray,Int16Array=e.Int16Array,Uint16Array=e.Uint16Array,Int32Array=e.Int32Array,Uint32Array=e.Uint32Array,Float32Array=e.Float32Array,Float64Array=e.Float64Array,BigInt64Array=e.BigInt64Array,BigUint64Array=e.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(e){"use strict";var t,n,i,o,r,s,a,c,u,l;const d={};function h(e,t,...n){uni.__log__?uni.__log__(e,t,...n):console[e].apply(console,[...n,t])}function p(e,t){return"string"==typeof e?t:e}function f(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function g(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(const t in e)return!1;return!0}return!1}function m(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function y(e){return"[object Object]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}const v=Object.freeze(Object.defineProperty({__proto__:null,amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},array:m,carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},contains:function(e,t){return e.indexOf(t)>=0},date:function(e){return!!e&&(f(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},digits:function(e){return/^\d+$/.test(e)},email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},empty:g,enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},func:A,idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(ft){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},mobile:function(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)},number:f,object:y,promise:function(e){return y(e)&&A(e.then)&&A(e.catch)},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e},url:function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)}},Symbol.toStringTag,{value:"Module"}));function w(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function S(e){const t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function b(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=S(e);return t>0?w(Number(e)*Math.pow(10,t)):Number(e)}function k(e){(e>Number.MAX_SAFE_INTEGER||e{r=t(r,e)})),r}function I(...e){if(e.length>2)return E(e,I);const[t,n]=e,i=b(t),o=b(n),r=S(t)+S(n),s=i*o;return k(s),s/Math.pow(10,r)}function P(...e){if(e.length>2)return E(e,P);const[t,n]=e,i=b(t),o=b(n);return k(i),k(o),I(i/o,w(Math.pow(10,S(n)-S(t))))}function x(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function T(e,t=new WeakMap){if(null===e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime());else if(e instanceof RegExp)n=new RegExp(e);else if(e instanceof Map)n=new Map(Array.from(e,(([e,n])=>[e,T(n,t)])));else if(e instanceof Set)n=new Set(Array.from(e,(e=>T(e,t))));else if(Array.isArray(e))n=e.map((e=>T(e,t)));else if("[object Object]"===Object.prototype.toString.call(e)){n=Object.create(Object.getPrototypeOf(e)),t.set(e,n);for(const[i,o]of Object.entries(e))n[i]=T(o,t)}else n=Object.assign({},e);return t.set(e,n),n}function B(e={},t={}){if("object"!=typeof(e=T(e))||null===e||"object"!=typeof t||null===t)return e;const n=Array.isArray(e)?e.slice():Object.assign({},e);for(const i in t){if(!t.hasOwnProperty(i))continue;const e=t[i],o=n[i];e instanceof Date?n[i]=new Date(e):e instanceof RegExp?n[i]=new RegExp(e):e instanceof Map?n[i]=new Map(e):e instanceof Set?n[i]=new Set(e):n[i]="object"==typeof e&&null!==e?B(o,e):e}return n}function C(e=null,t="yyyy-mm-dd"){let n;n=e?/^\d{10}$/.test(null==e?void 0:e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):"string"==typeof e&&e.includes("-")&&!e.includes("T")?new Date(e.replace(/-/g,"/")):new Date(e):new Date;const i={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(const o in i){const[e]=new RegExp(`${o}+`).exec(t)||[];if(e){const n="y"===o&&2===e.length?2:0;t=t.replace(e,i[o].slice(n))}}return t}function U(e,t="both"){return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}function O(e={},t=!0,n="brackets"){const i=t?"?":"",o=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(const r in e){const t=e[r];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{o.push(`${r}[]=${e}`)}));break;case"repeat":t.forEach((e=>{o.push(`${r}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),o.push(`${r}=${e}`)}else o.push(`${r}=${t}`)}return o.length?i+o.join("&"):""}function L(){var e;const t=getCurrentPages(),n=null==(e=t[t.length-1])?void 0:e.route;return`/${n||""}`}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const n=this;if(n.length>=e)return String(n);const i=e-n.length;let o=Math.ceil(i/t.length);for(;o>>=1;)t+=t,1===o&&(t+=t);return t.slice(0,i)+n});const N=Object.freeze(Object.defineProperty({__proto__:null,$parent:x,addStyle:function(e,t="object"){if(g(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=U(e)).split(";"),n={};for(let e=0;e{return null==(e=null==(t=null==uni?void 0:uni.$uv)?void 0:t.config)?void 0:e.unit;var t})()?(e=>{return null==(e=null==(t=null==uni?void 0:uni.$uv)?void 0:t.config)?void 0:e.unit;var t})():"px")){return f(e=String(e))?`${e}${t}`:e},deepClone:T,deepMerge:B,error:function(e){},formValidate:function(e,t){const n=x.call(e,"uv-form-item"),i=x.call(e,"uv-form");n&&i&&i.validateField(n.prop,(()=>{}),t)},getDuration:function(e,t=!0){const n=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},getHistoryPage:function(e=0){const t=getCurrentPages();return t[t.length-1+e]},getProperty:function(e,t){if(e){if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const n=t.split(".");let i=e[n[0]]||{};for(let e=1;e=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},range:function(e=0,t=0,n=0){return Math.max(e,Math.min(t,Number(n)))},setConfig:function({props:e={},config:t={},color:n={},zIndex:i={}}){const{deepMerge:o}=uni.$uv;uni.$uv.config=o(uni.$uv.config,t),uni.$uv.props=o(uni.$uv.props,e),uni.$uv.color=o(uni.$uv.color,n),uni.$uv.zIndex=o(uni.$uv.zIndex,i)},setProperty:function(e,t,n){if(!e)return;const i=function(e,t,n){if(1!==t.length)for(;t.length>1;){const o=t[0];e[o]&&"object"==typeof e[o]||(e[o]={}),t.shift(),i(e[o],t,n)}else e[t[0]]=n};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const o=t.split(".");i(e,o,n)}else e[t]=n},sleep:function(e=30){return new Promise((t=>{setTimeout((()=>{t()}),e)}))},sys:function(){return uni.getSystemInfoSync()},timeFormat:C,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;n=parseInt(n/1e3);let i="";switch(!0){case n<300:i="刚刚";break;case n>=300&&n<3600:i=`${parseInt(n/60)}分钟前`;break;case n>=3600&&n<86400:i=`${parseInt(n/3600)}小时前`;break;case n>=86400&&n<2592e3:i=`${parseInt(n/86400)}天前`;break;default:i=!1===t?n>=2592e3&&n<31536e3?`${parseInt(n/2592e3)}个月前`:`${parseInt(n/31536e3)}年前`:C(e,t)}return i},toast:function(e,t=2e3){uni.showToast({title:String(e),icon:"none",duration:t})},trim:U,type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n}},Symbol.toStringTag,{value:"Module"}));const F=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1,events:{}},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=O(t,!1),e+`&${n}`):(n=O(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=B(this.config,e),n.url=this.mixinParam(e.url,e.params)),n.url!==L())if(t.intercept&&(n.intercept=t.intercept),n.params=t,n=B(this.config,n),"function"==typeof n.intercept){await new Promise(((e,t)=>{n.intercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:i,animationType:o,animationDuration:r,events:s}=e;"navigateTo"!=e.type&&"to"!=e.type||uni.navigateTo({url:t,animationType:o,animationDuration:r,events:s}),"redirectTo"!=e.type&&"redirect"!=e.type||uni.redirectTo({url:t}),"switchTab"!=e.type&&"tab"!=e.type||uni.switchTab({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||uni.reLaunch({url:t}),"navigateBack"!=e.type&&"back"!=e.type||uni.navigateBack({delta:i})}}).route;let Q,j=null;function _(e,t=500,n=!1){if(null!==j&&clearTimeout(j),n){const n=!j;j=setTimeout((()=>{j=null}),t),n&&"function"==typeof e&&e()}else j=setTimeout((()=>{"function"==typeof e&&e()}),t)}function R(e,t=500,n=!0){n?Q||(Q=!0,"function"==typeof e&&e(),setTimeout((()=>{Q=!1}),t)):Q||(Q=!0,setTimeout((()=>{Q=!1,"function"==typeof e&&e()}),t))}const q={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$uv.getRect=this.$uvGetRect},created(){this.$uv.getRect=this.$uvGetRect},computed:{$uv(){var e,t;return{...N,test:v,route:F,debounce:_,throttle:R,unit:null==(t=null==(e=null==uni?void 0:uni.$uv)?void 0:e.config)?void 0:t.unit}},bem:()=>function(e,t,n){const i=`uv-${e}--`,o={};return t&&t.map((e=>{o[i+this[e]]=!0})),n&&n.map((e=>{this[e]?o[i+e]=this[e]:delete o[i+e]})),Object.keys(o)}},methods:{openPage(e="url"){const t=this[e];t&&uni[this.linkType]({url:t})},$uvGetRect(e,t){return new Promise((n=>{uni.createSelectorQuery().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent={}),this.parent=this.$uv.$parent.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]}))},preventEvent(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()},noop(e){this.preventEvent(e)}},onReachBottom(){uni.$emit("uvOnReachBottom")},beforeDestroy(){if(this.parent&&m(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}},unmounted(){if(this.parent&&m(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}},D={"uvicon-level":"e68f","uvicon-checkbox-mark":"e659","uvicon-folder":"e694","uvicon-movie":"e67c","uvicon-star-fill":"e61e","uvicon-star":"e618","uvicon-phone-fill":"e6ac","uvicon-phone":"e6ba","uvicon-apple-fill":"e635","uvicon-backspace":"e64d","uvicon-attach":"e640","uvicon-empty-data":"e671","uvicon-empty-address":"e68a","uvicon-empty-favor":"e662","uvicon-empty-car":"e657","uvicon-empty-order":"e66b","uvicon-empty-list":"e672","uvicon-empty-search":"e677","uvicon-empty-permission":"e67d","uvicon-empty-news":"e67e","uvicon-empty-history":"e685","uvicon-empty-coupon":"e69b","uvicon-empty-page":"e60e","uvicon-empty-wifi-off":"e6cc","uvicon-reload":"e627","uvicon-order":"e695","uvicon-server-man":"e601","uvicon-search":"e632","uvicon-more-dot-fill":"e66f","uvicon-scan":"e631","uvicon-map":"e665","uvicon-map-fill":"e6a8","uvicon-tags":"e621","uvicon-tags-fill":"e613","uvicon-eye":"e664","uvicon-eye-fill":"e697","uvicon-eye-off":"e69c","uvicon-eye-off-outline":"e688","uvicon-mic":"e66d","uvicon-mic-off":"e691","uvicon-calendar":"e65c","uvicon-trash":"e623","uvicon-trash-fill":"e6ce","uvicon-play-left":"e6bf","uvicon-play-right":"e6b3","uvicon-minus":"e614","uvicon-plus":"e625","uvicon-info-circle":"e69f","uvicon-info-circle-fill":"e6a7","uvicon-question-circle":"e622","uvicon-question-circle-fill":"e6bc","uvicon-close":"e65a","uvicon-checkmark":"e64a","uvicon-checkmark-circle":"e643","uvicon-checkmark-circle-fill":"e668","uvicon-setting":"e602","uvicon-setting-fill":"e6d0","uvicon-heart":"e6a2","uvicon-heart-fill":"e68b","uvicon-camera":"e642","uvicon-camera-fill":"e650","uvicon-more-circle":"e69e","uvicon-more-circle-fill":"e684","uvicon-chat":"e656","uvicon-chat-fill":"e63f","uvicon-bag":"e647","uvicon-error-circle":"e66e","uvicon-error-circle-fill":"e655","uvicon-close-circle":"e64e","uvicon-close-circle-fill":"e666","uvicon-share":"e629","uvicon-share-fill":"e6bb","uvicon-share-square":"e6c4","uvicon-shopping-cart":"e6cb","uvicon-shopping-cart-fill":"e630","uvicon-bell":"e651","uvicon-bell-fill":"e604","uvicon-list":"e690","uvicon-list-dot":"e6a9","uvicon-zhifubao-circle-fill":"e617","uvicon-weixin-circle-fill":"e6cd","uvicon-weixin-fill":"e620","uvicon-qq-fill":"e608","uvicon-qq-circle-fill":"e6b9","uvicon-moments-circel-fill":"e6c2","uvicon-moments":"e6a0","uvicon-car":"e64f","uvicon-car-fill":"e648","uvicon-warning-fill":"e6c7","uvicon-warning":"e6c1","uvicon-clock-fill":"e64b","uvicon-clock":"e66c","uvicon-edit-pen":"e65d","uvicon-edit-pen-fill":"e679","uvicon-email":"e673","uvicon-email-fill":"e683","uvicon-minus-circle":"e6a5","uvicon-plus-circle":"e603","uvicon-plus-circle-fill":"e611","uvicon-file-text":"e687","uvicon-file-text-fill":"e67f","uvicon-pushpin":"e6d1","uvicon-pushpin-fill":"e6b6","uvicon-grid":"e68c","uvicon-grid-fill":"e698","uvicon-play-circle":"e6af","uvicon-play-circle-fill":"e62a","uvicon-pause-circle-fill":"e60c","uvicon-pause":"e61c","uvicon-pause-circle":"e696","uvicon-gift-fill":"e6b0","uvicon-gift":"e680","uvicon-kefu-ermai":"e660","uvicon-server-fill":"e610","uvicon-coupon-fill":"e64c","uvicon-coupon":"e65f","uvicon-integral":"e693","uvicon-integral-fill":"e6b1","uvicon-home-fill":"e68e","uvicon-home":"e67b","uvicon-account":"e63a","uvicon-account-fill":"e653","uvicon-thumb-down-fill":"e628","uvicon-thumb-down":"e60a","uvicon-thumb-up":"e612","uvicon-thumb-up-fill":"e62c","uvicon-lock-fill":"e6a6","uvicon-lock-open":"e68d","uvicon-lock-opened-fill":"e6a1","uvicon-lock":"e69d","uvicon-red-packet":"e6c3","uvicon-photo-fill":"e6b4","uvicon-photo":"e60d","uvicon-volume-off-fill":"e6c8","uvicon-volume-off":"e6bd","uvicon-volume-fill":"e624","uvicon-volume":"e605","uvicon-download":"e670","uvicon-arrow-up-fill":"e636","uvicon-arrow-down-fill":"e638","uvicon-play-left-fill":"e6ae","uvicon-play-right-fill":"e6ad","uvicon-arrow-downward":"e634","uvicon-arrow-leftward":"e63b","uvicon-arrow-rightward":"e644","uvicon-arrow-upward":"e641","uvicon-arrow-down":"e63e","uvicon-arrow-right":"e63c","uvicon-arrow-left":"e646","uvicon-arrow-up":"e633","uvicon-skip-back-left":"e6c5","uvicon-skip-forward-right":"e61f","uvicon-arrow-left-double":"e637","uvicon-man":"e675","uvicon-woman":"e626","uvicon-en":"e6b8","uvicon-twitte":"e607","uvicon-twitter-circle-fill":"e6cf"},M=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n},H={name:"uv-icon",emits:["click"],mixins:[d,q,{props:{name:{type:String,default:""},color:{type:String,default:"#606266"},size:{type:[String,Number],default:"16px"},bold:{type:Boolean,default:!1},index:{type:[String,Number],default:null},hoverClass:{type:String,default:""},customPrefix:{type:String,default:"uvicon"},label:{type:[String,Number],default:""},labelPos:{type:String,default:"right"},labelSize:{type:[String,Number],default:"15px"},labelColor:{type:String,default:"#606266"},space:{type:[String,Number],default:"3px"},imgMode:{type:String,default:"aspectFit"},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},top:{type:[String,Number],default:0},stop:{type:Boolean,default:!1},...null==(n=null==(t=uni.$uv)?void 0:t.props)?void 0:n.icon}}],data:()=>({colorType:["primary","success","info","error","warning"]}),computed:{uClasses(){let e=[];return e.push(this.customPrefix),e.push(this.customPrefix+"-"+this.name),this.color&&this.colorType.includes(this.color)&&e.push("uv-icon__icon--"+this.color),e},iconStyle(){let e={};return e={fontSize:this.$uv.addUnit(this.size),lineHeight:this.$uv.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:this.$uv.addUnit(this.top)},this.color&&!this.colorType.includes(this.color)&&(e.color=this.color),e},isImg(){const e=this.name.indexOf("data:")>-1&&this.name.indexOf("base64")>-1;return-1!==this.name.indexOf("/")||e},imgStyle(){let e={};return e.width=this.width?this.$uv.addUnit(this.width):this.$uv.addUnit(this.size),e.height=this.height?this.$uv.addUnit(this.height):this.$uv.addUnit(this.size),e},icon(){const e=D["uvicon-"+this.name];return e?unescape(`%u${e}`):["uvicon"].indexOf(this.customPrefix)>-1?this.name:""}},methods:{clickHandler(e){this.$emit("click",this.index),this.stop&&this.preventEvent(e)}}};const z=M(H,[["render",function(t,n,i,o,r,s){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["uv-icon",["uv-icon--"+t.labelPos]]),onClick:n[0]||(n[0]=(...e)=>s.clickHandler&&s.clickHandler(...e))},[s.isImg?(e.openBlock(),e.createElementBlock("image",{key:0,class:"uv-icon__img",src:t.name,mode:t.imgMode,style:e.normalizeStyle([s.imgStyle,t.$uv.addStyle(t.customStyle)])},null,12,["src","mode"])):(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(["uv-icon__icon",s.uClasses]),style:e.normalizeStyle([s.iconStyle,t.$uv.addStyle(t.customStyle)]),"hover-class":t.hoverClass},e.toDisplayString(s.icon),15,["hover-class"])),""!==t.label?(e.openBlock(),e.createElementBlock("text",{key:2,class:"uv-icon__label",style:e.normalizeStyle({color:t.labelColor,fontSize:t.$uv.addUnit(t.labelSize),marginLeft:"right"==t.labelPos?t.$uv.addUnit(t.space):0,marginTop:"bottom"==t.labelPos?t.$uv.addUnit(t.space):0,marginRight:"left"==t.labelPos?t.$uv.addUnit(t.space):0,marginBottom:"top"==t.labelPos?t.$uv.addUnit(t.space):0})},e.toDisplayString(t.label),5)):e.createCommentVNode("",!0)],2)}],["__scopeId","data-v-eab170a5"]]);function K(e,t=!0){if((e=String(e).toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}const n=[];for(let t=1;t<7;t+=2)n.push(parseInt(`0x${e.slice(t,t+2)}`));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function V(e){const t=e;if(/^(rgb|RGB)/.test(t)){const e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let n="#";for(let t=0;t({})},text:{type:[String,Number],default:""},timingFunction:{type:String,default:"linear"},duration:{type:[String,Number],default:1200},inactiveColor:{type:String,default:""},...null==(o=null==(i=uni.$uv)?void 0:i.props)?void 0:o.loadingIcon}}],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const e=function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){const i=K(e,!1),o=i[0],r=i[1],s=i[2],a=K(t,!1),c=(a[0]-o)/n,u=(a[1]-r)/n,l=(a[2]-s)/n,d=[];for(let h=0;h{this.show&&this.addEventListenerToWebview()}),20)},addEventListenerToWebview(){const e=getCurrentPages(),t=e[e.length-1].$getAppWebview();t.addEventListener("hide",(()=>{this.webviewHide=!0})),t.addEventListener("show",(()=>{this.webviewHide=!1}))}}},[["render",function(t,n,i,o,r,s){return t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["uv-loading-icon",[t.vertical&&"uv-loading-icon--vertical"]]),style:e.normalizeStyle([t.$uv.addStyle(t.customStyle)])},[r.webviewHide?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["uv-loading-icon__spinner",[`uv-loading-icon__spinner--${t.mode}`]]),ref:"ani",style:e.normalizeStyle({color:t.color,width:t.$uv.addUnit(t.size),height:t.$uv.addUnit(t.size),borderTopColor:t.color,borderBottomColor:s.otherBorderColor,borderLeftColor:s.otherBorderColor,borderRightColor:s.otherBorderColor,"animation-duration":`${t.duration}ms`,"animation-timing-function":"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""})},["spinner"===t.mode?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.array12,((t,n)=>(e.openBlock(),e.createElementBlock("view",{key:n,class:"uv-loading-icon__dot"})))),128)):e.createCommentVNode("",!0)],6)),t.text?(e.openBlock(),e.createElementBlock("text",{key:1,class:"uv-loading-icon__text",style:e.normalizeStyle([{fontSize:t.$uv.addUnit(t.textSize),color:t.textColor},t.$uv.addStyle(t.textStyle)])},e.toDisplayString(t.text),5)):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)}],["__scopeId","data-v-3eb40c0b"]]);const J=M({name:"uv-button",mixins:[d,q,{props:{hairline:{type:Boolean,default:!0},type:{type:String,default:"info"},size:{type:String,default:"normal"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingText:{type:[String,Number],default:""},loadingMode:{type:String,default:"spinner"},loadingSize:{type:[String,Number],default:14},openType:{type:String,default:""},formType:{type:String,default:""},appParameter:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!0},lang:{type:String,default:"en"},sessionFrom:{type:String,default:""},sendMessageTitle:{type:String,default:""},sendMessagePath:{type:String,default:""},sendMessageImg:{type:String,default:""},showMessageCard:{type:Boolean,default:!0},dataName:{type:String,default:""},throttleTime:{type:[String,Number],default:0},hoverStartTime:{type:[String,Number],default:0},hoverStayTime:{type:[String,Number],default:200},text:{type:[String,Number],default:""},icon:{type:String,default:""},iconSize:{type:[String,Number],default:""},iconColor:{type:String,default:"#000000"},color:{type:String,default:""},customTextStyle:{type:[Object,String],default:""},...null==(s=null==(r=uni.$uv)?void 0:r.props)?void 0:s.button}}],emits:["click"],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:"#3c9cff":"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:t}=this;return"large"===t&&(e=16),"normal"===t&&(e=14),"small"===t&&(e=12),"mini"===t&&(e=10),e},getIconSize(){const e=this.iconSize?this.iconSize:1.35*this.textSize;return this.$uv.addUnit(e)},btnWrapperStyle(){const e={},t=this.$uv.addStyle(this.customStyle);return t.width&&(e.width=t.width),e}},methods:{clickHandler(){this.disabled||this.loading||R((()=>{this.$emit("click")}),this.throttleTime)}}},[["render",function(t,n,i,o,r,s){const a=p(e.resolveDynamicComponent("uv-loading-icon"),W),c=p(e.resolveDynamicComponent("uv-icon"),z);return e.openBlock(),e.createElementBlock("view",{class:"uv-button-wrapper",style:e.normalizeStyle([s.btnWrapperStyle])},[e.createElementVNode("button",{"hover-start-time":Number(t.hoverStartTime),"hover-stay-time":Number(t.hoverStayTime),"form-type":t.formType,"open-type":t.openType,"app-parameter":t.appParameter,"hover-stop-propagation":t.hoverStopPropagation,"send-message-title":t.sendMessageTitle,"send-message-path":t.sendMessagePath,lang:t.lang,"data-name":t.dataName,"session-from":t.sessionFrom,"send-message-img":t.sendMessageImg,"show-message-card":t.showMessageCard,"hover-class":t.disabled||t.loading?"":"uv-button--active",class:e.normalizeClass(["uv-button uv-reset-button",s.bemClass]),style:e.normalizeStyle([s.baseColor,t.$uv.addStyle(t.customStyle)]),onClick:n[0]||(n[0]=(...e)=>s.clickHandler&&s.clickHandler(...e))},[t.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(a,{mode:t.loadingMode,size:1.15*t.loadingSize,color:s.loadingColor},null,8,["mode","size","color"]),e.createElementVNode("text",{class:"uv-button__loading-text",style:e.normalizeStyle([{fontSize:s.textSize+"px"},t.$uv.addStyle(t.customTextStyle)])},e.toDisplayString(t.loadingText||t.text),5)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.icon?(e.openBlock(),e.createBlock(c,{key:0,name:t.icon,color:s.iconColorCom,size:s.getIconSize,customStyle:{marginRight:"2px"}},null,8,["name","color","size"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},(()=>[e.createElementVNode("text",{class:"uv-button__text",style:e.normalizeStyle([{fontSize:s.textSize+"px"},t.$uv.addStyle(t.customTextStyle)])},e.toDisplayString(t.text),5)]),!0),e.renderSlot(t.$slots,"suffix",{},void 0,!0)],64))],14,["hover-start-time","hover-stay-time","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","send-message-path","lang","data-name","session-from","send-message-img","show-message-card","hover-class"])],4)}],["__scopeId","data-v-646dddbc"]]);class X{constructor(e,t){this.options=e,this.animation=uni.createAnimation({...e}),this.currentStepAnimates={},this.next=0,this.$=t}_nvuePushAnimates(e,t){let n=this.currentStepAnimates[this.next],i={};if(i=n||{styles:{},config:{}},Y.includes(e)){i.styles.transform||(i.styles.transform="");let n="";"rotate"===e&&(n="deg"),i.styles.transform+=`${e}(${t+n}) `}else i.styles[e]=`${t}`;this.currentStepAnimates[this.next]=i}_animateRun(e={},t={}){let n=this.$.$refs.ani.ref;if(n)return new Promise(((i,o)=>{nvueAnimation.transition(n,{styles:e,...t},(e=>{i()}))}))}_nvueNextAnimate(e,t=0,n){let i=e[t];if(i){let{styles:o,config:r}=i;this._animateRun(o,r).then((()=>{t+=1,this._nvueNextAnimate(e,t,n)}))}else this.currentStepAnimates={},"function"==typeof n&&n(),this.isEnd=!0}step(e={}){return this.animation.step(e),this}run(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof e&&e()}),this.$.durationTime)}}const Y=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function G(e,t){if(t)return clearTimeout(t.timer),new X(e,t)}Y.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((e=>{X.prototype[e]=function(...t){return this.animation[e](...t),this}}));const Z=M({name:"uv-transition",mixins:[d,q],emits:["click","change"],props:{show:{type:Boolean,default:!1},mode:{type:[Array,String,null],default:()=>"fade"},duration:{type:[String,Number],default:300},timingFunction:{type:String,default:"ease-out"},customClass:{type:String,default:""},cellChild:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{transformStyles(){const e={transform:this.transform,opacity:this.opacity,...this.$uv.addStyle(this.customStyle),"transition-duration":this.duration/1e3+"s"};return this.$uv.addStyle(e,"string")}},created(){this.config={duration:this.duration,timingFunction:this.timingFunction,transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(e={}){e.duration&&(this.durationTime=e.duration),this.animation=G(Object.assign(this.config,e),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(e,t={}){if(this.animation){for(let t in e)try{"object"==typeof e[t]?this.animation[t](...e[t]):this.animation[t](e[t])}catch(ft){h("error","at uni_modules/uv-transition/components/uv-transition/uv-transition.vue:166",`方法 ${t} 不存在`)}return this.animation.step(t),this}},run(e){this.animation&&this.animation.run(e)},open(){clearTimeout(this.timer),this.transform="",this.isShow=!0;let{opacity:e,transform:t}=this.styleInit(!1);void 0!==e&&(this.opacity=e),this.transform=t,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=G(this.config,this),this.tranfromInit(!1).step(),this.animation.run(),this.$emit("change",{detail:this.isShow})}),20)}))},close(e){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:e,transform:t}=this.styleInit(!1);this.opacity=e||1,this.transform=t,this.$emit("change",{detail:this.isShow})}))},styleInit(e){let t={transform:""},n=(e,n)=>{"fade"===n?t.opacity=this.animationType(e)[n]:t.transform+=this.animationType(e)[n]+" "};return"string"==typeof this.mode?n(e,this.mode):this.mode.forEach((t=>{n(e,t)})),t},tranfromInit(e){let t=(e,t)=>{let n=null;"fade"===t?n=e?0:1:(n=e?"-100%":"0","zoom-in"===t&&(n=e?.8:1),"zoom-out"===t&&(n=e?1.2:1),"slide-right"===t&&(n=e?"100%":"0"),"slide-bottom"===t&&(n=e?"100%":"0")),this.animation[this.animationMode()[t]](n)};return"string"==typeof this.mode?t(e,this.mode):this.mode.forEach((n=>{t(e,n)})),this.animation},animationType:e=>({fade:e?1:0,"slide-top":`translateY(${e?"0":"-100%"})`,"slide-right":`translateX(${e?"0":"100%"})`,"slide-bottom":`translateY(${e?"0":"100%"})`,"slide-left":`translateX(${e?"0":"-100%"})`,"zoom-in":`scaleX(${e?1:.8}) scaleY(${e?1:.8})`,"zoom-out":`scaleX(${e?1:1.2}) scaleY(${e?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:e=>e.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(t,n,i,o,r,s){return r.isShow?(e.openBlock(),e.createElementBlock("view",{key:0,ref:"ani",animation:r.animationData,class:e.normalizeClass(i.customClass),style:e.normalizeStyle(s.transformStyles),onClick:n[0]||(n[0]=(...e)=>s.onClick&&s.onClick(...e))},[e.renderSlot(t.$slots,"default")],14,["animation"])):e.createCommentVNode("",!0)}]]);const $=M({name:"uv-overlay",emits:["click"],mixins:[d,q,{props:{show:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:10070},duration:{type:[String,Number],default:300},opacity:{type:[String,Number],default:.5},...null==(c=null==(a=uni.$uv)?void 0:a.props)?void 0:c.overlay}}],watch:{show(e){}},computed:{overlayStyle(){const e={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`};return this.$uv.deepMerge(e,this.$uv.addStyle(this.customStyle))}},methods:{clickHandler(){this.$emit("click")},clear(){}}},[["render",function(t,n,i,o,r,s){const a=p(e.resolveDynamicComponent("uv-transition"),Z);return e.openBlock(),e.createBlock(a,{show:t.show,mode:"fade","custom-class":"uv-overlay",duration:t.duration,"custom-style":s.overlayStyle,onClick:s.clickHandler,onTouchmove:e.withModifiers(s.clear,["stop","prevent"])},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default",{},void 0,!0)])),_:3},8,["show","duration","custom-style","onClick","onTouchmove"])}],["__scopeId","data-v-65481522"]]);const ee=M({name:"uv-no-network",mixins:[d,q,{props:{tips:{type:String,default:"哎呀,网络信号丢失"},zIndex:{type:[String,Number],default:""},image:{type:String,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6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EAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"},...null==(l=null==(u=uni.$uv)?void 0:u.props)?void 0:l.noNetwork}}],data:()=>({isConnected:!0,networkType:"none"}),mounted(){this.isIOS="ios"===uni.getSystemInfoSync().platform,uni.onNetworkStatusChange((e=>{this.isConnected=e.isConnected,this.networkType=e.networkType,this.emitEvent(this.networkType)})),uni.getNetworkType({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?this.isConnected=!1:this.isConnected=!0}})},methods:{retry(){uni.getNetworkType({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?(this.$uv.toast("无网络连接"),this.isConnected=!1):(this.$uv.toast("网络已连接"),this.isConnected=!0)}}),this.$emit("retry")},emitEvent(e){this.$emit("none"===e?"disconnected":"connected")},async openSettings(){"none"!=this.networkType||this.openSystemSettings()},openAppSettings(){this.gotoAppSetting()},openSystemSettings(){this.isIOS?this.gotoiOSSetting():this.gotoAndroidSetting()},network(){var e=null,t=plus.ios.newObject("CTCellularData"),n=t.plusGetAttribute("restrictedState");return 0==n?e=null:2==n?e=1:1==n&&(e=2),plus.ios.deleteObject(t),e},gotoAppSetting(){if(this.isIOS){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("app-settings:");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)}else{var i=plus.android.importClass("android.content.Intent"),o=plus.android.importClass("android.provider.Settings"),r=plus.android.importClass("android.net.Uri"),s=plus.android.runtimeMainActivity(),a=new i;a.setAction(o.ACTION_APPLICATION_DETAILS_SETTINGS);var c=r.fromParts("package",s.getPackageName(),null);a.setData(c),s.startActivity(a)}},gotoiOSSetting(){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("App-prefs:root=General");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)},gotoAndroidSetting(){var e=plus.android.importClass("android.content.Intent"),t=plus.android.importClass("android.provider.Settings"),n=plus.android.runtimeMainActivity(),i=new e(t.ACTION_SETTINGS);n.startActivity(i)}}},[["render",function(t,n,i,o,r,s){const a=p(e.resolveDynamicComponent("uv-icon"),z),c=p(e.resolveDynamicComponent("uv-button"),J),u=p(e.resolveDynamicComponent("uv-overlay"),$);return e.openBlock(),e.createBlock(u,{show:!r.isConnected,zIndex:t.zIndex,onTouchmove:e.withModifiers(t.noop,["stop","prevent"]),customStyle:{backgroundColor:"#fff",display:"flex",justifyContent:"center"}},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"uv-no-network"},[e.createVNode(a,{name:t.image,size:"150",imgMode:"widthFit",class:"uv-no-network__error-icon"},null,8,["name"]),e.createElementVNode("text",{class:"uv-no-network__tips"},e.toDisplayString(t.tips),1),e.createElementVNode("view",{class:"uv-no-network__app"},[e.createElementVNode("text",{class:"uv-no-network__app__setting"},"请检查网络,或前往"),e.createElementVNode("text",{class:"uv-no-network__app__to-setting",onClick:n[0]||(n[0]=(...e)=>s.openSettings&&s.openSettings(...e))},"设置")]),e.createElementVNode("view",{class:"uv-no-network__retry"},[e.createVNode(c,{style:{width:"220rpx"},text:"重试",type:"primary",onClick:s.retry},null,8,["onClick"])])])])),_:1},8,["show","zIndex","onTouchmove"])}],["__scopeId","data-v-6eb2581f"]]),te={apiBaseUrl:"https://warehouse.szjixun.cn/oa_backend",h5Url:"http://114.218.158.24:8042/#/"},ne={__name:"index",setup(t){const n=e.ref(null),i=e=>{var t,i;if("load-complete"===(null==(i=null==(t=e.detail.data)?void 0:t[0])?void 0:i.action)){const{statusBarHeight:e}=uni.getSystemInfoSync(),t=getCurrentPages().pop().$getAppWebview();n.value=t.children()[0],n.value.setStyle({top:e,bottom:0})}};return(t,n)=>(e.openBlock(),e.createElementBlock("web-view",{class:"webview",onMessage:i,style:{flex:"1"},ref:"webViewRef",src:e.unref(te).h5Url},null,40,["src"]))}},ie={__name:"index",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(ee))};__definePage("pages/index/index",ne),__definePage("pages/networko/index",ie),uni.invokePushCallback({type:"enabled",offline:!0}),Promise.resolve().then((()=>{"undefined"!=typeof plus&&plus.push&&plus.globalEvent.addEventListener("newPath",(({path:e})=>{if(!e)return;const t=getCurrentPages(),n=t[t.length-1];n&&n.$page&&n.$page.fullPath===e||uni.navigateTo({url:e,fail(t){t.errMsg.indexOf("tabbar")>-1?uni.switchTab({url:e,fail(e){console.error(e.errMsg)}}):console.error(t.errMsg)}})})),plus.push.setAutoNotification&&plus.push.setAutoNotification(!1)}));const oe={methods:{networkStatusChange(e){e.isConnected?uni.redirectTo({url:"/pages/index/index"}):uni.redirectTo({url:"/pages/networko/index"})}},onLaunch:function(){},onShow:function(){uni.getNetworkType({success:e=>{"none"===e.networkType&&uni.redirectTo({url:"/pages/networko/index"})}}),uni.onNetworkStatusChange(this.networkStatusChange)},onHide:function(){uni.offNetworkStatusChange(this.networkStatusChange)}},re={pages:[{path:"pages/index/index",style:{navigationBarTitleText:"uni-app",navigationStyle:"custom"}},{path:"pages/networko/index",style:{navigationBarTitleText:"uni-app",navigationStyle:"custom"}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},uniIdRouter:{}};function se(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var ae=se((function(e,t){var n;e.exports=(n=n||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},o=i.lib={},r=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=o.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,o=e.sigBytes;if(this.clamp(),i%4)for(var r=0;r>>2]>>>24-r%4*8&255;t[i+r>>>2]|=s<<24-(i+r)%4*8}else for(r=0;r>>2]=n[r>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=r.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],o=function(t){var n=987654321,i=4294967295;return function(){var o=((n=36969*(65535&n)+(n>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return o/=4294967296,(o+=.5)*(e.random()>.5?1:-1)}},r=0;r>>2]>>>24-o%4*8&255;i.push((r>>>4).toString(16)),i.push((15&r).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new s.init(n,t/2)}},u=a.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],o=0;o>>2]>>>24-o%4*8&255;i.push(String.fromCharCode(r))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new s.init(n,t)}},l=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},d=o.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,o=n.sigBytes,r=this.blockSize,a=o/(4*r),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*r,u=e.min(4*c,o);if(c){for(var l=0;l>>24)|4278255360&(o<<24|o>>>8)}var r=this._hash.words,s=e[t+0],c=e[t+1],p=e[t+2],f=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],A=e[t+7],v=e[t+8],w=e[t+9],S=e[t+10],b=e[t+11],k=e[t+12],E=e[t+13],I=e[t+14],P=e[t+15],x=r[0],T=r[1],B=r[2],C=r[3];x=u(x,T,B,C,s,7,a[0]),C=u(C,x,T,B,c,12,a[1]),B=u(B,C,x,T,p,17,a[2]),T=u(T,B,C,x,f,22,a[3]),x=u(x,T,B,C,g,7,a[4]),C=u(C,x,T,B,m,12,a[5]),B=u(B,C,x,T,y,17,a[6]),T=u(T,B,C,x,A,22,a[7]),x=u(x,T,B,C,v,7,a[8]),C=u(C,x,T,B,w,12,a[9]),B=u(B,C,x,T,S,17,a[10]),T=u(T,B,C,x,b,22,a[11]),x=u(x,T,B,C,k,7,a[12]),C=u(C,x,T,B,E,12,a[13]),B=u(B,C,x,T,I,17,a[14]),x=l(x,T=u(T,B,C,x,P,22,a[15]),B,C,c,5,a[16]),C=l(C,x,T,B,y,9,a[17]),B=l(B,C,x,T,b,14,a[18]),T=l(T,B,C,x,s,20,a[19]),x=l(x,T,B,C,m,5,a[20]),C=l(C,x,T,B,S,9,a[21]),B=l(B,C,x,T,P,14,a[22]),T=l(T,B,C,x,g,20,a[23]),x=l(x,T,B,C,w,5,a[24]),C=l(C,x,T,B,I,9,a[25]),B=l(B,C,x,T,f,14,a[26]),T=l(T,B,C,x,v,20,a[27]),x=l(x,T,B,C,E,5,a[28]),C=l(C,x,T,B,p,9,a[29]),B=l(B,C,x,T,A,14,a[30]),x=d(x,T=l(T,B,C,x,k,20,a[31]),B,C,m,4,a[32]),C=d(C,x,T,B,v,11,a[33]),B=d(B,C,x,T,b,16,a[34]),T=d(T,B,C,x,I,23,a[35]),x=d(x,T,B,C,c,4,a[36]),C=d(C,x,T,B,g,11,a[37]),B=d(B,C,x,T,A,16,a[38]),T=d(T,B,C,x,S,23,a[39]),x=d(x,T,B,C,E,4,a[40]),C=d(C,x,T,B,s,11,a[41]),B=d(B,C,x,T,f,16,a[42]),T=d(T,B,C,x,y,23,a[43]),x=d(x,T,B,C,w,4,a[44]),C=d(C,x,T,B,k,11,a[45]),B=d(B,C,x,T,P,16,a[46]),x=h(x,T=d(T,B,C,x,p,23,a[47]),B,C,s,6,a[48]),C=h(C,x,T,B,A,10,a[49]),B=h(B,C,x,T,I,15,a[50]),T=h(T,B,C,x,m,21,a[51]),x=h(x,T,B,C,k,6,a[52]),C=h(C,x,T,B,f,10,a[53]),B=h(B,C,x,T,S,15,a[54]),T=h(T,B,C,x,c,21,a[55]),x=h(x,T,B,C,v,6,a[56]),C=h(C,x,T,B,P,10,a[57]),B=h(B,C,x,T,y,15,a[58]),T=h(T,B,C,x,E,21,a[59]),x=h(x,T,B,C,g,6,a[60]),C=h(C,x,T,B,b,10,a[61]),B=h(B,C,x,T,p,15,a[62]),T=h(T,B,C,x,w,21,a[63]),r[0]=r[0]+x|0,r[1]=r[1]+T|0,r[2]=r[2]+B|0,r[3]=r[3]+C|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var r=e.floor(i/4294967296),s=i;n[15+(o+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),n[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,i,o,r,s){var a=e+(t&n|~t&i)+o+s;return(a<>>32-r)+t}function l(e,t,n,i,o,r,s){var a=e+(t&i|n&~i)+o+s;return(a<>>32-r)+t}function d(e,t,n,i,o,r,s){var a=e+(t^n^i)+o+s;return(a<>>32-r)+t}function h(e,t,n,i,o,r,s){var a=e+(n^(t|~i))+o+s;return(a<>>32-r)+t}t.MD5=r._createHelper(c),t.HmacMD5=r._createHmacHelper(c)}(Math),n.MD5)})),se((function(e,t){var n,i,o;e.exports=(i=(n=ce).lib.Base,o=n.enc.Utf8,void(n.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var r=this._oKey=t.clone(),s=this._iKey=t.clone(),a=r.words,c=s.words,u=0;u>>2]>>>24-r%4*8&255)<<16|(t[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|t[r+2>>>2]>>>24-(r+2)%4*8&255,a=0;a<4&&r+.75*a>>6*(3-a)&63));var c=i.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var r=0;r>>6-s%4*2;i[r>>>2]|=(a|c)<<24-r%4*8,r++}return o.create(i,r)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)}));const he="FUNCTION",pe="pending",fe="rejected";function ge(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function me(e){return"object"===ge(e)}function ye(e){return"function"==typeof e}function Ae(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}const ve="REJECTED",we="NOT_PENDING";class Se{constructor({createPromise:e,retryRule:t=ve}={}){this.createPromise=e,this.status=null,this.promise=null,this.retryRule=t}get needRetry(){if(!this.status)return!0;switch(this.retryRule){case ve:return this.status===fe;case we:return this.status!==pe}}exec(){return this.needRetry?(this.status=pe,this.promise=this.createPromise().then((e=>(this.status="fulfilled",Promise.resolve(e))),(e=>(this.status=fe,Promise.reject(e)))),this.promise):this.promise}}function be(e){return e&&"string"==typeof e?JSON.parse(e):e}const ke=be([]);be("");const Ee=be('[{"provider":"alipay","spaceName":"oaapp","spaceId":"env-00jxgxphla18","spaceAppId":"2021004145628977","accessKey":"ZALus7EgJXdovISb","secretKey":"7qzvVrPN0mAxfcLr"}]')||[];let Ie="";try{Ie="__UNI__4796942"}catch(ft){}let Pe={};function xe(e,t={}){var n,i;return n=Pe,i=e,Object.prototype.hasOwnProperty.call(n,i)||(Pe[e]=t),Pe[e]}Pe=uni._globalUniCloudObj?uni._globalUniCloudObj:uni._globalUniCloudObj={};const Te=["invoke","success","fail","complete"],Be=xe("_globalUniCloudInterceptor");function Ce(e,t){Be[e]||(Be[e]={}),me(t)&&Object.keys(t).forEach((n=>{Te.indexOf(n)>-1&&function(e,t,n){let i=Be[e][t];i||(i=Be[e][t]=[]),-1===i.indexOf(n)&&ye(n)&&i.push(n)}(e,n,t[n])}))}function Ue(e,t){Be[e]||(Be[e]={}),me(t)?Object.keys(t).forEach((n=>{Te.indexOf(n)>-1&&function(e,t,n){const i=Be[e][t];if(!i)return;const o=i.indexOf(n);o>-1&&i.splice(o,1)}(e,n,t[n])})):delete Be[e]}function Oe(e,t){return e&&0!==e.length?e.reduce(((e,n)=>e.then((()=>n(t)))),Promise.resolve()):Promise.resolve()}function Le(e,t){return Be[e]&&Be[e][t]||[]}function Ne(e){Ce("callObject",e)}const Fe=xe("_globalUniCloudListener"),Qe="response",je="needLogin",_e="refreshToken",Re="clientdb",qe="cloudfunction",De="cloudobject";function Me(e){return Fe[e]||(Fe[e]=[]),Fe[e]}function He(e,t){const n=Me(e);n.includes(t)||n.push(t)}function ze(e,t){const n=Me(e),i=n.indexOf(t);-1!==i&&n.splice(i,1)}function Ke(e,t){const n=Me(e);for(let i=0;i{We&&e(),function t(){if("function"==typeof getCurrentPages){const t=getCurrentPages();t&&t[0]&&(We=!0,e())}We||setTimeout((()=>{t()}),30)}()})),Ve)}function Xe(e){const t={};for(const n in e){const i=e[n];ye(i)&&(t[n]=Ae(i))}return t}class Ye extends Error{constructor(e){super(e.message),this.errMsg=e.message||e.errMsg||"unknown system error",this.code=this.errCode=e.code||e.errCode||"SYSTEM_ERROR",this.errSubject=this.subject=e.subject||e.errSubject,this.cause=e.cause,this.requestId=e.requestId}toJson(e=0){if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}var Ge={request:e=>uni.request(e),uploadFile:e=>uni.uploadFile(e),setStorageSync:(e,t)=>uni.setStorageSync(e,t),getStorageSync:e=>uni.getStorageSync(e),removeStorageSync:e=>uni.removeStorageSync(e),clearStorageSync:()=>uni.clearStorageSync(),connectSocket:e=>uni.connectSocket(e)};function Ze(e){return e&&Ze(e.__v_raw)||e}function $e(){return{token:Ge.getStorageSync("uni_id_token")||Ge.getStorageSync("uniIdToken"),tokenExpired:Ge.getStorageSync("uni_id_token_expired")}}function et({token:e,tokenExpired:t}={}){e&&Ge.setStorageSync("uni_id_token",e),t&&Ge.setStorageSync("uni_id_token_expired",t)}let tt,nt;function it(){return tt||(tt=uni.getSystemInfoSync()),tt}function ot(){let e,t;try{if(uni.getLaunchOptionsSync){if(uni.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;const{scene:n,channel:i}=uni.getLaunchOptionsSync();e=i,t=n}}catch(n){}return{channel:e,scene:t}}let rt={};function st(){const e=uni.getLocale&&uni.getLocale()||"en";if(nt)return{...rt,...nt,locale:e,LOCALE:e};const t=it(),{deviceId:n,osName:i,uniPlatform:o,appId:r}=t,s=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(const a in t)Object.hasOwnProperty.call(t,a)&&-1===s.indexOf(a)&&delete t[a];return nt={PLATFORM:o,OS:i,APPID:r,DEVICEID:n,...ot(),...t},{...rt,...nt,locale:e,LOCALE:e}}var at=function(e,t){let n="";return Object.keys(e).sort().forEach((function(t){e[t]&&(n=n+"&"+t+"="+e[t])})),n=n.slice(1),ue(n,t).toString()},ct=function(e,t){return new Promise(((n,i)=>{t(Object.assign(e,{complete(e){e||(e={});const t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){const n=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",o=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return i(new Ye({code:n,message:o,requestId:t}))}const o=e.data;if(o.error)return i(new Ye({code:o.error.code,message:o.error.message,requestId:t}));o.result=o.data,o.requestId=t,delete o.data,n(o)}}))}))},ut=function(e){return de.stringify(le.parse(e))},lt=class{constructor(e){["spaceId","clientSecret"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=Ge,this._getAccessTokenPromiseHub=new Se({createPromise:()=>this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((e=>{if(!e.result||!e.result.accessToken)throw new Ye({code:"AUTH_FAILED",message:"获取accessToken失败"});this.setAccessToken(e.result.accessToken)})),retryRule:we})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return ct(e,this.adapter.request)}requestAuth(e){return this.requestWrapped(e)}request(e,t){return Promise.resolve().then((()=>this.hasAccessToken?t?this.requestWrapped(e):this.requestWrapped(e).catch((t=>new Promise(((e,n)=>{!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?n(t):e()})).then((()=>this.getAccessToken())).then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)})))):this.getAccessToken().then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)}))))}rebuildRequest(e){const t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=at(t.data,this.config.clientSecret),t}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};return"auth"!==t&&(n.token=this.accessToken,i["x-basement-token"]=this.accessToken),i["x-serverless-sign"]=at(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:i}}getAccessToken(){return this._getAccessTokenPromiseHub.exec()}async authorize(){await this.getAccessToken()}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}getOSSUploadOptionsFromPath(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFileToOSS({url:e,formData:t,name:n,filePath:i,fileType:o,onUploadProgress:r}){return new Promise(((s,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:i,fileType:o,header:{"X-OSS-server-side-encrpytion":"AES256"},success(e){e&&e.statusCode<400?s(e):a(new Ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new Ye({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof r&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((e=>{r({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}reportOSSUpload(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}async uploadFile({filePath:e,cloudPath:t,fileType:n="image",cloudPathAsRealPath:i=!1,onUploadProgress:o,config:r}){if("string"!==ge(t))throw new Ye({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new Ye({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new Ye({code:"INVALID_PARAM",message:"cloudPath不合法"});const s=r&&r.envType||this.config.envType;if(i&&("/"!==t[0]&&(t="/"+t),t.indexOf("\\")>-1))throw new Ye({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});const a=(await this.getOSSUploadOptionsFromPath({env:s,filename:i?t.split("/").pop():t,fileId:i?t:void 0})).result,c="https://"+a.cdnDomain+"/"+a.ossPath,{securityToken:u,accessKeyId:l,signature:d,host:h,ossPath:p,id:f,policy:g,ossCallbackUrl:m}=a,y={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:l,Signature:d,host:h,id:f,key:p,policy:g,success_action_status:200};if(u&&(y["x-oss-security-token"]=u),m){const e=JSON.stringify({callbackUrl:m,callbackBody:JSON.stringify({fileId:f,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});y.callback=ut(e)}const A={url:"https://"+a.host,formData:y,fileName:"file",name:"file",filePath:e,fileType:n};if(await this.uploadFileToOSS(Object.assign({},A,{onUploadProgress:o})),m)return{success:!0,filePath:e,fileID:c};if((await this.reportOSSUpload({id:f})).success)return{success:!0,filePath:e,fileID:c};throw new Ye({code:"UPLOAD_FAILED",message:"文件上传失败"})}getTempFileURL({fileList:e}={}){return new Promise(((t,n)=>{Array.isArray(e)&&0!==e.length||n(new Ye({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),t({fileList:e.map((e=>({fileID:e,tempFileURL:e})))})}))}async getFileInfo({fileList:e}={}){if(!Array.isArray(e)||0===e.length)throw new Ye({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.info",params:JSON.stringify({id:e.map((e=>e.split("?")[0])).join(",")})};return{fileList:(await this.request(this.setupRequest(t))).result}}},dt={init(e){const t=new lt(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}};const ht="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";var pt,ft;(ft=pt||(pt={})).local="local",ft.none="none",ft.session="session";var gt=function(){},mt=se((function(e,t){var n;e.exports=(n=ce,function(e){var t=n,i=t.lib,o=i.WordArray,r=i.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),i=2;i<=n;i++)if(!(t%i))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var i=2,o=0;o<64;)t(i)&&(o<8&&(a[o]=n(e.pow(i,.5))),c[o]=n(e.pow(i,1/3)),o++),i++}();var u=[],l=s.SHA256=r.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],o=n[1],r=n[2],s=n[3],a=n[4],l=n[5],d=n[6],h=n[7],p=0;p<64;p++){if(p<16)u[p]=0|e[t+p];else{var f=u[p-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=u[p-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;u[p]=g+u[p-7]+y+u[p-16]}var A=i&o^i&r^o&r,v=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),w=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&d)+c[p]+u[p];h=d,d=l,l=a,a=s+w|0,s=r,r=o,o=i,i=w+(v+A)|0}n[0]=n[0]+i|0,n[1]=n[1]+o|0,n[2]=n[2]+r|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+l|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(i/4294967296),n[15+(o+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=r._createHelper(l),t.HmacSHA256=r._createHmacHelper(l)}(Math),n.SHA256)})),yt=mt,At=se((function(e,t){e.exports=ce.HmacSHA256}));const vt=()=>{let e;if(!Promise){e=()=>{},e.promise={};const t=()=>{throw new Ye({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}const t=new Promise(((t,n)=>{e=(e,i)=>e?n(e):t(i)}));return e.promise=t,e};function wt(e){return void 0===e}function St(e){return"[object Null]"===Object.prototype.toString.call(e)}var bt;!function(e){e.WEB="web",e.WX_MP="wx_mp"}(bt||(bt={}));const kt={adapter:null,runtime:void 0},Et=["anonymousUuidKey"];class It extends gt{constructor(){super(),kt.adapter.root.tcbObject||(kt.adapter.root.tcbObject={})}setItem(e,t){kt.adapter.root.tcbObject[e]=t}getItem(e){return kt.adapter.root.tcbObject[e]}removeItem(e){delete kt.adapter.root.tcbObject[e]}clear(){delete kt.adapter.root.tcbObject}}function Pt(e,t){switch(e){case"local":return t.localStorage||new It;case"none":return new It;default:return t.sessionStorage||new It}}class xt{constructor(e){if(!this._storage){this._persistence=kt.adapter.primaryStorage||e.persistence,this._storage=Pt(this._persistence,kt.adapter);const t=`access_token_${e.env}`,n=`access_token_expire_${e.env}`,i=`refresh_token_${e.env}`,o=`anonymous_uuid_${e.env}`,r=`login_type_${e.env}`,s=`user_info_${e.env}`;this.keys={accessTokenKey:t,accessTokenExpireKey:n,refreshTokenKey:i,anonymousUuidKey:o,loginTypeKey:r,userInfoKey:s}}}updatePersistence(e){if(e===this._persistence)return;const t="local"===this._persistence;this._persistence=e;const n=Pt(e,kt.adapter);for(const i in this.keys){const e=this.keys[i];if(t&&Et.includes(i))continue;const o=this._storage.getItem(e);wt(o)||St(o)||(n.setItem(e,o),this._storage.removeItem(e))}this._storage=n}setStore(e,t,n){if(!this._storage)return;const i={version:n||"localCachev1",content:t},o=JSON.stringify(i);try{this._storage.setItem(e,o)}catch(r){throw r}}getStore(e,t){try{if(!this._storage)return}catch(i){return""}t=t||"localCachev1";const n=this._storage.getItem(e);return n&&n.indexOf(t)>=0?JSON.parse(n).content:""}removeStore(e){this._storage.removeItem(e)}}const Tt={},Bt={};function Ct(e){return Tt[e]}class Ut{constructor(e,t){this.data=t||null,this.name=e}}class Ot extends Ut{constructor(e,t){super("error",{error:e,data:t}),this.error=e}}const Lt=new class{constructor(){this._listeners={}}on(e,t){return n=e,i=t,(o=this._listeners)[n]=o[n]||[],o[n].push(i),this;var n,i,o}off(e,t){return function(e,t,n){if(n&&n[e]){const i=n[e].indexOf(t);-1!==i&&n[e].splice(i,1)}}(e,t,this._listeners),this}fire(e,t){if(e instanceof Ot)return console.error(e.error),this;const n="string"==typeof e?new Ut(e,t||{}):e,i=n.name;if(this._listens(i)){n.target=this;const e=this._listeners[i]?[...this._listeners[i]]:[];for(const t of e)t.call(this,n)}return this}_listens(e){return this._listeners[e]&&this._listeners[e].length>0}};function Nt(e,t){Lt.on(e,t)}function Ft(e,t={}){Lt.fire(e,t)}function Qt(e,t){Lt.off(e,t)}const jt="loginStateChanged",_t="loginStateExpire",Rt="loginTypeChanged",qt="anonymousConverted",Dt="refreshAccessToken";var Mt;!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(Mt||(Mt={}));const Ht=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],zt={"X-SDK-Version":"1.3.5"};function Kt(e,t,n){const i=e[t];e[t]=function(t){const o={},r={};n.forEach((n=>{const{data:i,headers:s}=n.call(e,t);Object.assign(o,i),Object.assign(r,s)}));const s=t.data;return s&&(()=>{var e;if(e=s,"[object FormData]"!==Object.prototype.toString.call(e))t.data={...s,...o};else for(const t in o)s.append(t,o[t])})(),t.headers={...t.headers||{},...r},i.call(e,t)}}function Vt(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:{...zt,"x-seqid":e}}}class Wt{constructor(e={}){var t;this.config=e,this._reqClass=new kt.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]}),this._cache=Ct(this.config.env),this._localCache=(t=this.config.env,Bt[t]),Kt(this._reqClass,"post",[Vt]),Kt(this._reqClass,"upload",[Vt]),Kt(this._reqClass,"download",[Vt])}async post(e){return await this._reqClass.post(e)}async upload(e){return await this._reqClass.upload(e)}async download(e){return await this._reqClass.download(e)}async refreshAccessToken(){let e,t;this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken());try{e=await this._refreshAccessTokenPromise}catch(n){t=n}if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,t)throw t;return e}async _refreshAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n,loginTypeKey:i,anonymousUuidKey:o}=this._cache.keys;this._cache.removeStore(e),this._cache.removeStore(t);let r=this._cache.getStore(n);if(!r)throw new Ye({message:"未登录CloudBase"});const s={refresh_token:r},a=await this.request("auth.fetchAccessTokenWithRefreshToken",s);if(a.data.code){const{code:e}=a.data;if("SIGN_PARAM_INVALID"===e||"REFRESH_TOKEN_EXPIRED"===e||"INVALID_REFRESH_TOKEN"===e){if(this._cache.getStore(i)===Mt.ANONYMOUS&&"INVALID_REFRESH_TOKEN"===e){const e=this._cache.getStore(o),t=this._cache.getStore(n),i=await this.send("auth.signInAnonymously",{anonymous_uuid:e,refresh_token:t});return this.setRefreshToken(i.refresh_token),this._refreshAccessToken()}Ft(_t),this._cache.removeStore(n)}throw new Ye({code:a.data.code,message:`刷新access token失败:${a.data.code}`})}if(a.data.access_token)return Ft(Dt),this._cache.setStore(e,a.data.access_token),this._cache.setStore(t,a.data.access_token_expire+Date.now()),{accessToken:a.data.access_token,accessTokenExpire:a.data.access_token_expire};a.data.refresh_token&&(this._cache.removeStore(n),this._cache.setStore(n,a.data.refresh_token),this._refreshAccessToken())}async getAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n}=this._cache.keys;if(!this._cache.getStore(n))throw new Ye({message:"refresh token不存在,登录状态异常"});let i=this._cache.getStore(e),o=this._cache.getStore(t),r=!0;return this._shouldRefreshAccessTokenHook&&!(await this._shouldRefreshAccessTokenHook(i,o))&&(r=!1),(!i||!o||o{e.wxOpenId&&e.wxPublicId&&(t=!0)})),{users:n,hasPrimaryUid:t}}setPrimaryUid(e){return this._request.send("auth.setPrimaryUid",{uid:e})}unlink(e){return this._request.send("auth.unlink",{platform:e})}async update(e){const{nickName:t,gender:n,avatarUrl:i,province:o,country:r,city:s}=e,{data:a}=await this._request.send("auth.updateUserInfo",{nickName:t,gender:n,avatarUrl:i,province:o,country:r,city:s});this.setLocalUserInfo(a)}async refresh(){const{data:e}=await this._request.send("auth.getUserInfo",{});return this.setLocalUserInfo(e),e}setUserInfo(){const{userInfoKey:e}=this._cache.keys,t=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((e=>{this[e]=t[e]})),this.location={country:t.country,province:t.province,city:t.city}}setLocalUserInfo(e){const{userInfoKey:t}=this._cache.keys;this._cache.setStore(t,e),this.setUserInfo()}}class Zt{constructor(e){if(!e)throw new Ye({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Ct(e);const{refreshTokenKey:t,accessTokenKey:n,accessTokenExpireKey:i}=this._cache.keys,o=this._cache.getStore(t),r=this._cache.getStore(n),s=this._cache.getStore(i);this.credential={refreshToken:o,accessToken:r,accessTokenExpire:s},this.user=new Gt(e)}get isAnonymousAuth(){return this.loginType===Mt.ANONYMOUS}get isCustomAuth(){return this.loginType===Mt.CUSTOM}get isWeixinAuth(){return this.loginType===Mt.WECHAT||this.loginType===Mt.WECHAT_OPEN||this.loginType===Mt.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class $t extends Yt{async signIn(){this._cache.updatePersistence("local");const{anonymousUuidKey:e,refreshTokenKey:t}=this._cache.keys,n=this._cache.getStore(e)||void 0,i=this._cache.getStore(t)||void 0,o=await this._request.send("auth.signInAnonymously",{anonymous_uuid:n,refresh_token:i});if(o.uuid&&o.refresh_token){this._setAnonymousUUID(o.uuid),this.setRefreshToken(o.refresh_token),await this._request.refreshAccessToken(),Ft(jt),Ft(Rt,{env:this.config.env,loginType:Mt.ANONYMOUS,persistence:"local"});const e=new Zt(this.config.env);return await e.user.refresh(),e}throw new Ye({message:"匿名登录失败"})}async linkAndRetrieveDataWithTicket(e){const{anonymousUuidKey:t,refreshTokenKey:n}=this._cache.keys,i=this._cache.getStore(t),o=this._cache.getStore(n),r=await this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:i,refresh_token:o,ticket:e});if(r.refresh_token)return this._clearAnonymousUUID(),this.setRefreshToken(r.refresh_token),await this._request.refreshAccessToken(),Ft(qt,{env:this.config.env}),Ft(Rt,{loginType:Mt.CUSTOM,persistence:"local"}),{credential:{refreshToken:r.refresh_token}};throw new Ye({message:"匿名转化失败"})}_setAnonymousUUID(e){const{anonymousUuidKey:t,loginTypeKey:n}=this._cache.keys;this._cache.removeStore(t),this._cache.setStore(t,e),this._cache.setStore(n,Mt.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class en extends Yt{async signIn(e){if("string"!=typeof e)throw new Ye({code:"PARAM_ERROR",message:"ticket must be a string"});const{refreshTokenKey:t}=this._cache.keys,n=await this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(t)||""});if(n.refresh_token)return this.setRefreshToken(n.refresh_token),await this._request.refreshAccessToken(),Ft(jt),Ft(Rt,{env:this.config.env,loginType:Mt.CUSTOM,persistence:this.config.persistence}),await this.refreshUserInfo(),new Zt(this.config.env);throw new Ye({message:"自定义登录失败"})}}class tn extends Yt{async signIn(e,t){if("string"!=typeof e)throw new Ye({code:"PARAM_ERROR",message:"email must be a string"});const{refreshTokenKey:n}=this._cache.keys,i=await this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:o,access_token:r,access_token_expire:s}=i;if(o)return this.setRefreshToken(o),r&&s?this.setAccessToken(r,s):await this._request.refreshAccessToken(),await this.refreshUserInfo(),Ft(jt),Ft(Rt,{env:this.config.env,loginType:Mt.EMAIL,persistence:this.config.persistence}),new Zt(this.config.env);throw i.code?new Ye({code:i.code,message:`邮箱登录失败: ${i.message}`}):new Ye({message:"邮箱登录失败"})}async activate(e){return this._request.send("auth.activateEndUserMail",{token:e})}async resetPasswordWithToken(e,t){return this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:t})}}class nn extends Yt{async signIn(e,t){if("string"!=typeof e)throw new Ye({code:"PARAM_ERROR",message:"username must be a string"});"string"!=typeof t&&(t="",console.warn("password is empty"));const{refreshTokenKey:n}=this._cache.keys,i=await this._request.send("auth.signIn",{loginType:Mt.USERNAME,username:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:o,access_token_expire:r,access_token:s}=i;if(o)return this.setRefreshToken(o),s&&r?this.setAccessToken(s,r):await this._request.refreshAccessToken(),await this.refreshUserInfo(),Ft(jt),Ft(Rt,{env:this.config.env,loginType:Mt.USERNAME,persistence:this.config.persistence}),new Zt(this.config.env);throw i.code?new Ye({code:i.code,message:`用户名密码登录失败: ${i.message}`}):new Ye({message:"用户名密码登录失败"})}}class on{constructor(e){this.config=e,this._cache=Ct(e.env),this._request=Xt(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Nt(Rt,this._onLoginTypeChanged)}get currentUser(){const e=this.hasLoginState();return e&&e.user||null}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}anonymousAuthProvider(){return new $t(this.config)}customAuthProvider(){return new en(this.config)}emailAuthProvider(){return new tn(this.config)}usernameAuthProvider(){return new nn(this.config)}async signInAnonymously(){return new $t(this.config).signIn()}async signInWithEmailAndPassword(e,t){return new tn(this.config).signIn(e,t)}signInWithUsernameAndPassword(e,t){return new nn(this.config).signIn(e,t)}async linkAndRetrieveDataWithTicket(e){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new $t(this.config)),Nt(qt,this._onAnonymousConverted),await this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e)}async signOut(){if(this.loginType===Mt.ANONYMOUS)throw new Ye({message:"匿名用户不支持登出操作"});const{refreshTokenKey:e,accessTokenKey:t,accessTokenExpireKey:n}=this._cache.keys,i=this._cache.getStore(e);if(!i)return;const o=await this._request.send("auth.logout",{refresh_token:i});return this._cache.removeStore(e),this._cache.removeStore(t),this._cache.removeStore(n),Ft(jt),Ft(Rt,{env:this.config.env,loginType:Mt.NULL,persistence:this.config.persistence}),o}async signUpWithEmailAndPassword(e,t){return this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:t})}async sendPasswordResetEmail(e){return this._request.send("auth.sendPasswordResetEmail",{email:e})}onLoginStateChanged(e){Nt(jt,(()=>{const t=this.hasLoginState();e.call(this,t)}));const t=this.hasLoginState();e.call(this,t)}onLoginStateExpired(e){Nt(_t,e.bind(this))}onAccessTokenRefreshed(e){Nt(Dt,e.bind(this))}onAnonymousConverted(e){Nt(qt,e.bind(this))}onLoginTypeChanged(e){Nt(Rt,(()=>{const t=this.hasLoginState();e.call(this,t)}))}async getAccessToken(){return{accessToken:(await this._request.getAccessToken()).accessToken,env:this.config.env}}hasLoginState(){const{refreshTokenKey:e}=this._cache.keys;return this._cache.getStore(e)?new Zt(this.config.env):null}async isUsernameRegistered(e){if("string"!=typeof e)throw new Ye({code:"PARAM_ERROR",message:"username must be a string"});const{data:t}=await this._request.send("auth.isUsernameRegistered",{username:e});return t&&t.isRegistered}getLoginState(){return Promise.resolve(this.hasLoginState())}async signInWithTicket(e){return new en(this.config).signIn(e)}shouldRefreshAccessToken(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}getUserInfo(){return this._request.send("auth.getUserInfo",{}).then((e=>e.code?e:{...e.data,requestId:e.seqId}))}getAuthHeader(){const{refreshTokenKey:e,accessTokenKey:t}=this._cache.keys,n=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(t)+"/@@/"+n}}_onAnonymousConverted(e){const{env:t}=e.data;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}_onLoginTypeChanged(e){const{loginType:t,persistence:n,env:i}=e.data;i===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,t))}}const rn=function(e,t){t=t||vt();const n=Xt(this.config.env),{cloudPath:i,filePath:o,onUploadProgress:r,fileType:s="image"}=e;return n.send("storage.getUploadMetadata",{path:i}).then((e=>{const{data:{url:a,authorization:c,token:u,fileId:l,cosFileId:d},requestId:h}=e,p={key:i,signature:c,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":u};n.upload({url:a,data:p,file:o,name:i,fileType:s,onUploadProgress:r}).then((e=>{201===e.statusCode?t(null,{fileID:l,requestId:h}):t(new Ye({code:"STORAGE_REQUEST_FAIL",message:`STORAGE_REQUEST_FAIL: ${e.data}`}))})).catch((e=>{t(e)}))})).catch((e=>{t(e)})),t.promise},sn=function(e,t){t=t||vt();const n=Xt(this.config.env),{cloudPath:i}=e;return n.send("storage.getUploadMetadata",{path:i}).then((e=>{t(null,e)})).catch((e=>{t(e)})),t.promise},an=function({fileList:e},t){if(t=t||vt(),!e||!Array.isArray(e))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};for(let i of e)if(!i||"string"!=typeof i)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"};const n={fileid_list:e};return Xt(this.config.env).send("storage.batchDeleteFile",n).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},cn=function({fileList:e},t){t=t||vt(),e&&Array.isArray(e)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});let n=[];for(let o of e)"object"==typeof o?(o.hasOwnProperty("fileID")&&o.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),n.push({fileid:o.fileID,max_age:o.maxAge})):"string"==typeof o?n.push({fileid:o}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"});const i={file_list:n};return Xt(this.config.env).send("storage.batchGetDownloadUrl",i).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},un=async function({fileID:e},t){const n=(await cn.call(this,{fileList:[{fileID:e,maxAge:600}]})).fileList[0];if("SUCCESS"!==n.code)return t?t(n):new Promise((e=>{e(n)}));const i=Xt(this.config.env);let o=n.download_url;if(o=encodeURI(o),!t)return i.download({url:o});t(await i.download({url:o}))},ln=function({name:e,data:t,query:n,parse:i,search:o},r){const s=r||vt();let a;try{a=t?JSON.stringify(t):""}catch(u){return Promise.reject(u)}if(!e)return Promise.reject(new Ye({code:"PARAM_ERROR",message:"函数名不能为空"}));const c={inQuery:n,parse:i,search:o,function_name:e,request_data:a};return Xt(this.config.env).send("functions.invokeFunction",c).then((e=>{if(e.code)s(null,e);else{let n=e.data.response_data;if(i)s(null,{result:n,requestId:e.requestId});else try{n=JSON.parse(e.data.response_data),s(null,{result:n,requestId:e.requestId})}catch(t){s(new Ye({message:"response data must be json"}))}}return s.promise})).catch((e=>{s(e)})),s.promise},dn={timeout:15e3,persistence:"session"},hn={};class pn{constructor(e){this.config=e||this.config,this.authObj=void 0}init(e){switch(kt.adapter||(this.requestClient=new kt.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:`请求在${(e.timeout||5e3)/1e3}s内未完成,已中断`})),this.config={...dn,...e},!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new pn(this.config)}auth({persistence:e}={}){if(this.authObj)return this.authObj;const t=e||kt.adapter.primaryStorage||dn.persistence;var n;return t!==this.config.persistence&&(this.config.persistence=t),function(e){const{env:t}=e;Tt[t]=new xt(e),Bt[t]=new xt({...e,persistence:"local"})}(this.config),n=this.config,Jt[n.env]=new Wt(n),this.authObj=new on(this.config),this.authObj}on(e,t){return Nt.apply(this,[e,t])}off(e,t){return Qt.apply(this,[e,t])}callFunction(e,t){return ln.apply(this,[e,t])}deleteFile(e,t){return an.apply(this,[e,t])}getTempFileURL(e,t){return cn.apply(this,[e,t])}downloadFile(e,t){return un.apply(this,[e,t])}uploadFile(e,t){return rn.apply(this,[e,t])}getUploadMetadata(e,t){return sn.apply(this,[e,t])}registerExtension(e){hn[e.name]=e}async invokeExtension(e,t){const n=hn[e];if(!n)throw new Ye({message:`扩展${e} 必须先注册`});return await n.invoke(t,this)}useAdapters(e){const{adapter:t,runtime:n}=function(e){const t=(n=e,"[object Array]"===Object.prototype.toString.call(n)?e:[e]);var n;for(const i of t){const{isMatch:e,genAdapter:t,runtime:n}=i;if(e())return{adapter:t(),runtime:n}}}(e)||{};t&&(kt.adapter=t),n&&(kt.runtime=n)}}var fn=new pn;function gn(e,t,n){void 0===n&&(n={});var i=/\?/.test(t),o="";for(var r in n)""===o?!i&&(t+="?"):o+="&",o+=r+"="+encodeURIComponent(n[r]);return/^http(s)?:\/\//.test(t+=o)?t:""+e+t}class mn{post(e){const{url:t,data:n,headers:i}=e;return new Promise(((e,o)=>{Ge.request({url:gn("https:",t),data:n,method:"POST",header:i,success(t){e(t)},fail(e){o(e)}})}))}upload(e){return new Promise(((t,n)=>{const{url:i,file:o,data:r,headers:s,fileType:a}=e,c=Ge.uploadFile({url:gn("https:",i),name:"file",formData:Object.assign({},r),filePath:o,fileType:a,header:s,success(e){const n={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&r.success_action_status&&(n.statusCode=parseInt(r.success_action_status,10)),t(n)},fail(e){n(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((t=>{e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}const yn={setItem(e,t){Ge.setStorageSync(e,t)},getItem:e=>Ge.getStorageSync(e),removeItem(e){Ge.removeStorageSync(e)},clear(){Ge.clearStorageSync()}};var An={genAdapter:function(){return{root:{},reqClass:mn,localStorage:yn,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};fn.useAdapters(An);const vn=fn,wn=vn.init;vn.init=function(e){e.env=e.spaceId;const t=wn.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;const n=t.auth;return t.auth=function(e){const t=n.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((e=>{var n;t[e]=(n=t[e],function(e){e=e||{};const{success:t,fail:i,complete:o}=Xe(e);if(!(t||i||o))return n.call(this,e);n.call(this,e).then((e=>{t&&t(e),o&&o(e)}),(e=>{i&&i(e),o&&o(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var Sn=vn,bn=class extends lt{getAccessToken(){return new Promise(((e,t)=>{const n="Anonymous_Access_token";this.setAccessToken(n),e(n)}))}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};"auth"!==t&&(n.token=this.accessToken,i["x-basement-token"]=this.accessToken),i["x-serverless-sign"]=at(n,this.config.clientSecret);const o=st();i["x-client-info"]=encodeURIComponent(JSON.stringify(o));const{token:r}=$e();return i["x-client-token"]=r,{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:JSON.parse(JSON.stringify(i))}}uploadFileToOSS({url:e,formData:t,name:n,filePath:i,fileType:o,onUploadProgress:r}){return new Promise(((s,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:i,fileType:o,success(e){e&&e.statusCode<400?s(e):a(new Ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new Ye({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof r&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((e=>{r({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}uploadFile({filePath:e,cloudPath:t,fileType:n="image",onUploadProgress:i}){if(!t)throw new Ye({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});let o;return this.getOSSUploadOptionsFromPath({cloudPath:t}).then((t=>{const{url:r,formData:s,name:a}=t.result;o=t.result.fileUrl;const c={url:r,formData:s,name:a,filePath:e,fileType:n};return this.uploadFileToOSS(Object.assign({},c,{onUploadProgress:i}))})).then((()=>this.reportOSSUpload({cloudPath:t}))).then((t=>new Promise(((n,i)=>{t.success?n({success:!0,filePath:e,fileID:o}):i(new Ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))))}deleteFile({fileList:e}){const t={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(this.setupRequest(t)).then((e=>{if(e.success)return e.result;throw new Ye({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}getTempFileURL({fileList:e,maxAge:t}={}){if(!Array.isArray(e)||0===e.length)throw new Ye({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:t})};return this.request(this.setupRequest(n)).then((e=>{if(e.success)return{fileList:e.result.fileList.map((e=>({fileID:e.fileID,tempFileURL:e.tempFileURL})))};throw new Ye({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}},kn={init(e){const t=new bn(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},En=se((function(e,t){e.exports=ce.enc.Hex}));function In(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function Pn(e="",t={}){const{data:n,functionName:i,method:o,headers:r,signHeaderKeys:s=[],config:a}=t,c=Date.now(),u=In(),l=Object.assign({},r,{"x-from-app-id":a.spaceAppId,"x-from-env-id":a.spaceId,"x-to-env-id":a.spaceId,"x-from-instance-id":c,"x-from-function-name":i,"x-client-timestamp":c,"x-alipay-source":"client","x-request-id":u,"x-alipay-callid":u,"x-trace-id":u}),d=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(s),[h="",p=""]=e.split("?")||[],f=function(e){const t=e.signedHeaders.join(";"),n=e.signedHeaders.map((t=>`${t.toLowerCase()}:${e.headers[t]}\n`)).join(""),i=yt(e.body).toString(En),o=`${e.method.toUpperCase()}\n${e.path}\n${e.query}\n${n}\n${t}\n${i}\n`,r=yt(o).toString(En),s=`HMAC-SHA256\n${e.timestamp}\n${r}\n`,a=At(s,e.secretKey).toString(En);return`HMAC-SHA256 Credential=${e.secretId}, SignedHeaders=${t}, Signature=${a}`}({path:h,query:p,method:o,headers:l,timestamp:c,body:JSON.stringify(n),secretId:a.accessKey,secretKey:a.secretKey,signedHeaders:d.sort()});return{url:`${a.endpoint}${e}`,headers:Object.assign({},l,{Authorization:f})}}function xn({url:e,data:t,method:n="POST",headers:i={}}){return new Promise(((o,r)=>{Ge.request({url:e,method:n,data:"object"==typeof t?JSON.stringify(t):t,header:i,dataType:"json",complete:(e={})=>{const t=i["x-trace-id"]||"";if(!e.statusCode||e.statusCode>=400){const{message:n,errMsg:i,trace_id:o}=e.data||{};return r(new Ye({code:"SYS_ERR",message:n||i||"request:fail",requestId:o||t}))}o({status:e.statusCode,data:e.data,headers:e.header,requestId:t})}})}))}function Tn(e,t){const{path:n,data:i,method:o="GET"}=e,{url:r,headers:s}=Pn(n,{functionName:"",data:i,method:o,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t});return xn({url:r,data:i,method:o,headers:s}).then((e=>{const t=e.data||{};if(!t.success)throw new Ye({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((e=>{throw new Ye({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function Bn(e=""){const t=e.trim().replace(/^cloud:\/\//,""),n=t.indexOf("/");if(n<=0)throw new Ye({code:"INVALID_PARAM",message:"fileID不合法"});const i=t.substring(0,n),o=t.substring(n+1);return i!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),o}function Cn(e=""){return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}class Un{constructor(e){this.config=e}signedURL(e,t={}){const n=`/ws/function/${e}`,i=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),o=Object.assign({},t,{accessKeyId:this.config.accessKey,signatureNonce:In(),timestamp:""+Date.now()}),r=[n,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(e){return o[e]?"".concat(e,"=").concat(o[e]):null})).filter(Boolean).join("&"),`host:${i}`].join("\n"),s=["HMAC-SHA256",yt(r).toString(En)].join("\n"),a=At(s,this.config.secretKey).toString(En),c=Object.keys(o).map((e=>`${e}=${encodeURIComponent(o[e])}`)).join("&");return`${this.config.wsEndpoint}${n}?${c}&signature=${a}`}}var On={init:e=>{e.provider="alipay";const t=new class{constructor(e){if(["spaceId","spaceAppId","accessKey","secretKey"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),e.endpoint){if("string"!=typeof e.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||`https://${e.spaceId}.api-hz.cloudbasefunction.cn`,wsEndpoint:e.wsEndpoint||`wss://${e.spaceId}.api-hz.cloudbasefunction.cn`}),this._websocket=new Un(this.config)}callFunction(e){return function(e,t){const{name:n,data:i,async:o=!1}=e,r="POST",s={"x-to-function-name":n};o&&(s["x-function-invoke-type"]="async");const{url:a,headers:c}=Pn("/functions/invokeFunction",{functionName:n,data:i,method:r,headers:s,signHeaderKeys:["x-to-function-name"],config:t});return xn({url:a,data:i,method:r,headers:c}).then((e=>{let t=0;if(o){const n=e.data||{};t="200"===n.errCode?0:n.errCode,e.data=n.data||{},e.errMsg=n.errMsg}if(0!==t)throw new Ye({code:t,message:e.errMsg,requestId:e.requestId});return{errCode:t,success:0===t,requestId:e.requestId,result:e.data}})).catch((e=>{throw new Ye({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}uploadFileToOSS({url:e,filePath:t,fileType:n,formData:i,onUploadProgress:o}){return new Promise(((r,s)=>{const a=Ge.uploadFile({url:e,filePath:t,fileType:n,formData:i,name:"file",success(e){e&&e.statusCode<400?r(e):s(new Ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){s(new Ye({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof o&&a&&"function"==typeof a.onProgressUpdate&&a.onProgressUpdate((e=>{o({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}async uploadFile({filePath:e,cloudPath:t="",fileType:n="image",onUploadProgress:i}){if("string"!==ge(t))throw new Ye({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new Ye({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new Ye({code:"INVALID_PARAM",message:"cloudPath不合法"});const o=await Tn({path:"/".concat(t.replace(/^\//,""),"?post_url")},this.config),{file_id:r,upload_url:s,form_data:a}=o,c=a&&a.reduce(((e,t)=>(e[t.key]=t.value,e)),{});return this.uploadFileToOSS({url:s,filePath:e,fileType:n,formData:c,onUploadProgress:i}).then((()=>({fileID:r})))}async getTempFileURL({fileList:e}){return new Promise(((t,n)=>{(!e||e.length<0)&&n(new Ye({errCode:"INVALID_PARAM",errMsg:"fileList不能为空数组"})),e.length>50&&n(new Ye({errCode:"INVALID_PARAM",errMsg:"fileList数组长度不能超过50"}));const i=[];for(const o of e){"string"!==ge(o)&&n(new Ye({errCode:"INVALID_PARAM",errMsg:"fileList的元素必须是非空的字符串"}));const e=Bn.call(this,o);i.push({file_id:e,expire:600})}Tn({path:"/?download_url",data:{file_list:i},method:"POST"},this.config).then((e=>{const{file_list:n=[]}=e;t({fileList:n.map((e=>({fileID:Cn.call(this,e.file_id),tempFileURL:e.download_url})))})})).catch((e=>n(e)))}))}async connectWebSocket(e){const{name:t,query:n}=e;return Ge.connectSocket({url:this._websocket.signedURL(t,n),complete:()=>{}})}}(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function Ln({data:e}){let t;t=st();const n=JSON.parse(JSON.stringify(e||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){const{token:e}=$e();e&&(n.uniIdToken=e)}return n}const Nn=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var Fn=/[\\^$.*+?()[\]{}|]/g,Qn=RegExp(Fn.source);function jn(e,t,n){return e.replace(new RegExp((i=t)&&Qn.test(i)?i.replace(Fn,"\\$&"):i,"g"),n);var i}const _n=2e4,Rn={code:20101,message:"Invalid client"};function qn(e){const{errSubject:t,subject:n,errCode:i,errMsg:o,code:r,message:s,cause:a}=e||{};return new Ye({subject:t||n||"uni-secure-network",code:i||r||_n,message:o||s,cause:a})}let Dn;function Mn({secretType:e}={}){return"request"===e||"response"===e||"both"===e}function Hn({name:e,data:t={}}={}){return"DCloud-clientDB"===e&&"encryption"===t.redirectTo&&"getAppClientKey"===t.action}function zn({functionName:e,result:t,logPvd:n}){}function Kn(e){const t=e.callFunction,n=function(n){const i=n.name;n.data=Ln.call(e,{data:n.data});const o={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay"}[this.config.provider],r=Mn(n),s=Hn(n),a=r||s;return t.call(this,n).then((e=>(e.errCode=0,!a&&zn.call(this,{functionName:i,result:e,logPvd:o}),Promise.resolve(e))),(e=>(!a&&zn.call(this,{functionName:i,result:e,logPvd:o}),e&&e.message&&(e.message=function({message:e="",extraInfo:t={},formatter:n=[]}={}){for(let i=0;in.provider===e&&n.spaceId===t));return i&&i.config}({provider:e,spaceId:t});if(!a||!a.accessControl||!a.accessControl.enable)return!1;const c=a.accessControl.function||{},u=Object.keys(c);if(0===u.length)return!0;const l=function(e,t){let n,i,o;for(let r=0;re.trim())).indexOf(t)>-1&&(i=s):o=s:n=s}return n||i||o}(u,n);if(!l)return!1;if((c[l]||[]).find(((e={})=>e.appId===i&&(e.platform||"").toLowerCase()===s.toLowerCase())))return!0;throw console.error(`此应用[appId: ${i}, platform: ${s}]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client`),qn(Rn)}({provider:i,spaceId:o,functionName:r})?new Dn({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(t):s(t),Object.defineProperty(a,"result",{get:()=>(console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{})}),a.then((e=>("undefined"!=typeof UTSJSONObject&&(e.result=new UTSJSONObject(e.result)),e)))}}Dn=class{constructor(){throw qn({message:"Platform app is not enabled, please check whether secure network module is enabled in your manifest.json"})}};const Vn=Symbol("CLIENT_DB_INTERNAL");function Wn(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=Vn,e.inspect=null,e.__v_raw=void 0,new Proxy(e,{get(e,n,i){if("_uniClient"===n)return null;if("symbol"==typeof n)return e[n];if(n in e||"string"!=typeof n){const t=e[n];return"function"==typeof t?t.bind(e):t}return t.get(e,n,i)}})}function Jn(e){return{on:(t,n)=>{e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:(t,n)=>{e[t]=e[t]||[];const i=e[t].indexOf(n);-1!==i&&e[t].splice(i,1)}}}const Xn=["db.Geo","db.command","command.aggregate"];function Yn(e,t){return Xn.indexOf(`${e}.${t}`)>-1}function Gn(e){switch(ge(e=Ze(e))){case"array":return e.map((e=>Gn(e)));case"object":return e._internalType===Vn||Object.keys(e).forEach((t=>{e[t]=Gn(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function Zn(e){return e&&e.content&&e.content.$method}class $n{constructor(e,t,n){this.content=e,this.prevStage=t||null,this.udb=null,this._database=n}toJSON(){let e=this;const t=[e.content];for(;e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((e=>({$method:e.$method,$param:Gn(e.$param)})))}}toString(){return JSON.stringify(this.toJSON())}getAction(){const e=this.toJSON().$db.find((e=>"action"===e.$method));return e&&e.$param&&e.$param[0]}getCommand(){return{$db:this.toJSON().$db.filter((e=>"action"!==e.$method))}}get isAggregate(){let e=this;for(;e;){const t=Zn(e),n=Zn(e.prevStage);if("aggregate"===t&&"collection"===n||"pipeline"===t)return!0;e=e.prevStage}return!1}get isCommand(){let e=this;for(;e;){if("command"===Zn(e))return!0;e=e.prevStage}return!1}get isAggregateCommand(){let e=this;for(;e;){const t=Zn(e),n=Zn(e.prevStage);if("aggregate"===t&&"command"===n)return!0;e=e.prevStage}return!1}getNextStageFn(e){const t=this;return function(){return ei({$method:e,$param:Gn(Array.from(arguments))},t,t._database)}}get count(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}get remove(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}get(){return this._send("get",Array.from(arguments))}get add(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}update(){return this._send("update",Array.from(arguments))}end(){return this._send("end",Array.from(arguments))}get set(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}_send(e,t){const n=this.getAction(),i=this.getCommand();return i.$db.push({$method:e,$param:Gn(t)}),this._database._callCloudFunction({action:n,command:i})}}function ei(e,t,n){return Wn(new $n(e,t,n),{get(e,t){let i="db";return e&&e.content&&(i=e.content.$method),Yn(i,t)?ei({$method:t},e,n):function(){return ei({$method:t,$param:Gn(Array.from(arguments))},e,n)}}})}function ti({path:e,method:t}){return class{constructor(){this.param=Array.from(arguments)}toJSON(){return{$newDb:[...e.map((e=>({$method:e}))),{$method:t,$param:this.param}]}}toString(){return JSON.stringify(this.toJSON())}}}function ni(e,t={}){return Wn(new e(t),{get:(e,t)=>Yn("db",t)?ei({$method:t},null,e):function(){return ei({$method:t,$param:Gn(Array.from(arguments))},null,e)}})}class ii extends class{constructor({uniClient:e={},isJQL:t=!1}={}){this._uniClient=e,this._authCallBacks={},this._dbCallBacks={},e._isDefault&&(this._dbCallBacks=xe("_globalUniCloudDatabaseCallback")),t||(this.auth=Jn(this._authCallBacks)),this._isJQL=t,Object.assign(this,Jn(this._dbCallBacks)),this.env=Wn({},{get:(e,t)=>({$env:t})}),this.Geo=Wn({},{get:(e,t)=>ti({path:["Geo"],method:t})}),this.serverDate=ti({path:[],method:"serverDate"}),this.RegExp=ti({path:[],method:"RegExp"})}getCloudEnv(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}_callback(e,t){const n=this._dbCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}_callbackAuth(e,t){const n=this._authCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}multiSend(){const e=Array.from(arguments),t=e.map((e=>{const t=e.getAction(),n=e.getCommand();if("getTemp"!==n.$db[n.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:n}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}{_parseResult(e){return this._isJQL?e.result:e}_callCloudFunction({action:e,command:t,multiCommand:n,queryList:i}){function o(e,t){if(n&&i)for(let n=0;nOe(Le(s,"complete"),e))).then((()=>(o(null,e),Ke(Qe,{type:Re,content:e}),Promise.reject(e))))}const c=Oe(Le(s,"invoke")),u=this._uniClient;return c.then((()=>u.callFunction({name:"DCloud-clientDB",type:"CLIENT_DB",data:{action:e,command:t,multiCommand:n}}))).then((e=>{const{code:t,message:n,token:i,tokenExpired:c,systemInfo:u=[]}=e.result;if(u)for(let o=0;o(console.warn(n),i)})}}return d=e,Oe(Le(s,"success"),d).then((()=>Oe(Le(s,"complete"),d))).then((()=>{o(d,null);const e=r._parseResult(d);return Ke(Qe,{type:Re,content:e}),Promise.resolve(e)}));var d}),(e=>(/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"),a(new Ye({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId})))))}}const oi="token无效,跳转登录页面",ri="token过期,跳转登录页面",si={TOKEN_INVALID_TOKEN_EXPIRED:ri,TOKEN_INVALID_INVALID_CLIENTID:oi,TOKEN_INVALID:oi,TOKEN_INVALID_WRONG_TOKEN:oi,TOKEN_INVALID_ANONYMOUS_USER:oi},ai={"uni-id-token-expired":ri,"uni-id-check-token-failed":oi,"uni-id-token-not-exist":oi,"uni-id-check-device-feature-failed":oi};function ci(e,t){let n="";return n=e?`${e}/${t}`:t,n.replace(/^\//,"")}function ui(e=[],t=""){const n=[],i=[];return e.forEach((e=>{!0===e.needLogin?n.push(ci(t,e.path)):!1===e.needLogin&&i.push(ci(t,e.path))})),{needLoginPage:n,notNeedLoginPage:i}}function li(e){return e.split("?")[0].replace(/^\//,"")}function di(){return function(e){let t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){const e=getCurrentPages();return e[e.length-1]}())}function hi(){return li(di())}function pi(e="",t={}){if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;const n=t.list,i=li(e);return n.some((e=>e.pagePath===i))}const fi=!!re.uniIdRouter,{loginPage:gi,routerNeedLogin:mi,resToLogin:yi,needLoginPage:Ai,notNeedLoginPage:vi,loginPageInTabBar:wi}=function({pages:e=[],subPackages:t=[],uniIdRouter:n={},tabBar:i={}}=re){const{loginPage:o,needLogin:r=[],resToLogin:s=!0}=n,{needLoginPage:a,notNeedLoginPage:c}=ui(e),{needLoginPage:u,notNeedLoginPage:l}=function(e=[]){const t=[],n=[];return e.forEach((e=>{const{root:i,pages:o=[]}=e,{needLoginPage:r,notNeedLoginPage:s}=ui(o,i);t.push(...r),n.push(...s)})),{needLoginPage:t,notNeedLoginPage:n}}(t);return{loginPage:o,routerNeedLogin:r,resToLogin:s,needLoginPage:[...a,...u],notNeedLoginPage:[...c,...l],loginPageInTabBar:pi(o,i)}}();if(Ai.indexOf(gi)>-1)throw new Error(`Login page [${gi}] should not be "needLogin", please check your pages.json`);function Si(e){const t=hi();if("/"===e.charAt(0))return e;const[n,i]=e.split("?"),o=n.replace(/^\//,"").split("/"),r=t.split("/");r.pop();for(let s=0;s-1?i+`&uniIdRedirectUrl=${encodeURIComponent(o)}`:i+`?uniIdRedirectUrl=${encodeURIComponent(o)}`:i);var i,o;wi?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");const r={navigateTo:uni.navigateTo,redirectTo:uni.redirectTo,switchTab:uni.switchTab,reLaunch:uni.reLaunch};setTimeout((()=>{r[e]({url:n})}),0)}function Ei({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){const{token:e,tokenExpired:t}=$e();let n;if(e){if(t-1)&&(Ai.indexOf(t)>-1||mi.some((t=>{return n=e,new RegExp(t).test(n);var n})))}(e)&&n){if(n.uniIdRedirectUrl=e,Me(je).length>0)return setTimeout((()=>{Ke(je,n)}),0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function Ii(){!function(){const e=di(),{abortLoginPageJump:t,autoToLoginPage:n}=Ei({url:e});t||n&&ki({api:"redirectTo",redirect:e})}();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t{const{type:t,content:n}=e;let i=!1;switch(t){case"cloudobject":i=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in ai}(n);break;case"clientdb":i=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in si}(n)}i&&function(e={}){const t=Me(je);Je().then((()=>{const n=di();if(n&&bi({redirect:n}))return t.length>0?Ke(je,Object.assign({uniIdRedirectUrl:n},e)):void(gi&&ki({api:"navigateTo",redirect:n}))}))}(n)}))}function xi(e){var t;(t=e).onResponse=function(e){He(Qe,e)},t.offResponse=function(e){ze(Qe,e)},function(e){e.onNeedLogin=function(e){He(je,e)},e.offNeedLogin=function(e){ze(je,e)},fi&&(xe("_globalUniCloudStatus").needLoginInit||(xe("_globalUniCloudStatus").needLoginInit=!0,Je().then((()=>{Ii.call(e)})),yi&&Pi.call(e)))}(e),function(e){e.onRefreshToken=function(e){He(_e,e)},e.offRefreshToken=function(e){ze(_e,e)}}(e)}let Ti;const Bi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ci=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function Ui(){const e=$e().token||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((i=t[1],decodeURIComponent(Ti(i).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}var i;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}Ti="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!Ci.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,i,o="",r=0;r>16&255):64===i?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}:atob;var Oi=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n="chooseAndUploadFile:ok",i="chooseAndUploadFile:fail";function o(e,t){return e.tempFiles.forEach(((e,n)=>{e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+n+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((e=>e.path))),e}function r(e,t,{onChooseFile:i,onUploadProgress:o}){return t.then((e=>{if(i){const t=i(e);if(void 0!==t)return Promise.resolve(t).then((t=>void 0===t?e:t))}return e})).then((t=>!1===t?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(e,t,i=5,o){(t=Object.assign({},t)).errMsg=n;const r=t.tempFiles,s=r.length;let a=0;return new Promise((n=>{for(;a=s)return void(!r.find((e=>!e.url&&!e.errMsg))&&n(t));const u=r[i];e.uploadFile({provider:u.provider,filePath:u.path,cloudPath:u.cloudPath,fileType:u.fileType,cloudPathAsRealPath:u.cloudPathAsRealPath,onUploadProgress(e){e.index=i,e.tempFile=u,e.tempFilePath=u.path,o&&o(e)}}).then((e=>{u.url=e.fileID,i{u.errMsg=e.errMsg||e.message,i{uni.chooseImage({count:t,sizeType:n,sourceType:r,extension:s,success(t){e(o(t,"image"))},fail(e){a({errMsg:e.errMsg.replace("chooseImage:fail",i)})}})}))}(t),t):"video"===t.type?r(e,function(e){const{camera:t,compressed:n,maxDuration:r,sourceType:s=["album","camera"],extension:a}=e;return new Promise(((e,c)=>{uni.chooseVideo({camera:t,compressed:n,maxDuration:r,sourceType:s,extension:a,success(t){const{tempFilePath:n,duration:i,size:r,height:s,width:a}=t;e(o({errMsg:"chooseVideo:ok",tempFilePaths:[n],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:n,size:r,type:t.tempFile&&t.tempFile.type||"",width:a,height:s,duration:i,fileType:"video",cloudPath:""}]},"video"))},fail(e){c({errMsg:e.errMsg.replace("chooseVideo:fail",i)})}})}))}(t),t):r(e,function(e){const{count:t,extension:n}=e;return new Promise(((e,r)=>{let s=uni.chooseFile;if("undefined"!=typeof wx&&"function"==typeof wx.chooseMessageFile&&(s=wx.chooseMessageFile),"function"!=typeof s)return r({errMsg:i+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});s({type:"all",count:t,extension:n,success(t){e(o(t))},fail(e){r({errMsg:e.errMsg.replace("chooseFile:fail",i)})}})}))}(t),t)}}})));function Li(e){return{props:{localdata:{type:Array,default:()=>[]},options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:()=>({mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}),created(){this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((()=>{var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((t=>{e.push(this[t])})),e}),((e,t)=>{if("manual"===this.loadtime)return;let n=!1;const i=[];for(let o=2;o{this.mixinDatacomLoading=!1;const{data:i,count:o}=n.result;this.getcount&&(this.mixinDatacomPage.count=o),this.mixinDatacomHasMore=i.length{this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=e,this.mixinDatacomError=e,n&&n(e)})))},mixinDatacomGet(t={}){let n;t=t||{},n="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);const i=t.action||this.action;i&&(n=n.action(i));const o=t.collection||this.collection;n=Array.isArray(o)?n.collection(...o):n.collection(o);const r=t.where||this.where;r&&Object.keys(r).length&&(n=n.where(r));const s=t.field||this.field;s&&(n=n.field(s));const a=t.foreignKey||this.foreignKey;a&&(n=n.foreignKey(a));const c=t.groupby||this.groupby;c&&(n=n.groupBy(c));const u=t.groupField||this.groupField;u&&(n=n.groupField(u)),!0===(void 0!==t.distinct?t.distinct:this.distinct)&&(n=n.distinct());const l=t.orderby||this.orderby;l&&(n=n.orderBy(l));const d=void 0!==t.pageCurrent?t.pageCurrent:this.mixinDatacomPage.current,h=void 0!==t.pageSize?t.pageSize:this.mixinDatacomPage.size,p=void 0!==t.getcount?t.getcount:this.getcount,f=void 0!==t.gettree?t.gettree:this.gettree,g=void 0!==t.gettreepath?t.gettreepath:this.gettreepath,m={getCount:p},y={limitLevel:void 0!==t.limitlevel?t.limitlevel:this.limitlevel,startWith:void 0!==t.startwith?t.startwith:this.startwith};return f&&(m.getTree=y),g&&(m.getTreePath=y),n=n.skip(h*(d-1)).limit(h).get(m),n}}}}function Ni(e){return xe("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}async function Fi({openid:e,callLoginByWeixin:t=!1}={}){throw Ni(this),new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `app`")}async function Qi(e){const t=Ni(this);return t.initPromise||(t.initPromise=Fi.call(this,e).then((e=>e)).catch((e=>{throw delete t.initPromise,e}))),t.initPromise}function ji(e){rt=e}function _i(e){const t={getSystemInfo:uni.getSystemInfo,getPushClientId:uni.getPushClientId};return function(n){return new Promise(((i,o)=>{t[e]({...n,success(e){i(e)},fail(e){o(e)}})}))}}class Ri extends class{constructor(){this._callback={}}addListener(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}on(e,t){return this.addListener(e,t)}removeListener(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');const n=this._callback[e];if(!n)return;const i=function(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]===t)return n;return-1}(n,t);n.splice(i,1)}off(e,t){return this.removeListener(e,t)}removeAllListener(e){delete this._callback[e]}emit(e,...t){const n=this._callback[e];if(n)for(let i=0;i{if(!e)throw new Error("Invalid appId, please check the manifest.json file");if(!t)throw new Error("Invalid push client id");this._appId=e,this._pushClientId=t,this._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),this.emit("open"),this._initMessageListener()}),(e=>{throw this.emit("error",e),this.close(),e}))}async open(){return this.init()}_isUniCloudSSE(e){if("receive"!==e.type)return!1;const t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}_receivePushMessage(e){if(!this._isUniCloudSSE(e))return;const t=e&&e.data&&e.data.payload,{action:n,messageId:i,message:o}=t;this._payloadQueue.push({action:n,messageId:i,message:o}),this._consumMessage()}_consumMessage(){for(;;){const e=this._payloadQueue.find((e=>e.messageId===this._currentMessageId+1));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}_parseMessagePayload(e){const{action:t,messageId:n,message:i}=e;"end"===t?this._end({messageId:n,message:i}):"message"===t&&this._appendMessage({messageId:n,message:i})}_appendMessage({messageId:e,message:t}={}){this.emit("message",t)}_end({messageId:e,message:t}={}){this.emit("end",t),this.close()}_initMessageListener(){uni.onPushMessage(this._uniPushMessageCallback)}_destroy(){uni.offPushMessage(this._uniPushMessageCallback)}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}const qi={tcb:Sn,tencent:Sn,aliyun:dt,private:kn,alipay:On};let Di=new class{init(e){let t={};const n=qi[e.provider];if(!n)throw new Error("未提供正确的provider参数");var i;return t=n.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new Se({createPromise:function(){let t=Promise.resolve();t=new Promise((e=>{setTimeout((()=>{e()}),1)}));const n=e.auth();return t.then((()=>n.getLoginState())).then((e=>e?Promise.resolve():n.signInAnonymously()))}}))}(t),Kn(t),function(e){const t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),(i=t).database=function(e){if(e&&Object.keys(e).length>0)return i.init(e).database();if(this._database)return this._database;const t=ni(ii,{uniClient:i});return this._database=t,t},i.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return i.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;const t=ni(ii,{uniClient:i,isJQL:!0});return this._databaseForJQL=t,t},function(e){e.getCurrentUserInfo=Ui,e.chooseAndUploadFile=Oi.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return Li(e)}}),e.SSEChannel=Ri,e.initSecureNetworkByWeixin=function(e){return function({openid:t,callLoginByWeixin:n=!1}={}){return Qi.call(e,{openid:t,callLoginByWeixin:n})}}(e),e.setCustomClientInfo=ji,e.importObject=function(t){return function(n,i={}){i=function(e,t={}){return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==typeof t.secretMethods&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},i);const{customUI:o,loadingOptions:r,errorOptions:s,parseSystemError:a}=i,c=!o;return new Proxy({},{get(o,u){switch(u){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function({fn:e,interceptorName:t,getCallbackArgs:n}={}){return async function(...i){const o=n?n({params:i}):{};let r,s;try{return await Oe(Le(t,"invoke"),{...o}),r=await e(...i),await Oe(Le(t,"success"),{...o,result:r}),r}catch(a){throw s=a,await Oe(Le(t,"fail"),{...o,error:s}),s}finally{await Oe(Le(t,"complete"),s?{...o,error:s}:{...o,result:r})}}}({fn:async function o(...l){let d;c&&uni.showLoading({title:r.title,mask:r.mask});const h={name:n,type:"OBJECT",data:{method:u,params:l}};"object"==typeof i.secretMethods&&function(e,t){const n=t.data.method,i=e.secretMethods||{},o=i[n]||i["*"];o&&(t.secretType=o)}(i,h);let p=!1;try{d=await t.callFunction(h)}catch(e){p=!0,d={result:new Ye(e)}}const{errSubject:f,errCode:g,errMsg:m,newToken:y}=d.result||{};if(c&&uni.hideLoading(),y&&y.token&&y.tokenExpired&&(et(y),Ke(_e,{...y})),g){let e=m;if(p&&a&&(e=(await a({objectName:n,methodName:u,params:l,errSubject:f,errCode:g,errMsg:m})).errMsg||m),c)if("toast"===s.type)uni.showToast({title:e,icon:"none"});else{if("modal"!==s.type)throw new Error(`Invalid errorOptions.type: ${s.type}`);{const{confirm:t}=await async function({title:e,content:t,showCancel:n,cancelText:i,confirmText:o}={}){return new Promise(((r,s)=>{uni.showModal({title:e,content:t,showCancel:n,cancelText:i,confirmText:o,success(e){r(e)},fail(){r({confirm:!1,cancel:!0})}})}))}({title:"提示",content:e,showCancel:s.retry,cancelText:"取消",confirmText:s.retry?"重试":"确定"});if(s.retry&&t)return o(...l)}}const t=new Ye({subject:f,code:g,message:m,requestId:d.requestId});throw t.detail=d.result,Ke(Qe,{type:De,content:t}),t}return Ke(Qe,{type:De,content:d.result}),d.result},interceptorName:"callObject",getCallbackArgs:function({params:e}={}){return{objectName:n,methodName:u,params:e}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((e=>{if(!t[e])return;const n=t[e];t[e]=function(){return n.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(n){let i=!1;if("callFunction"===t){const e=n&&n.type||he;i=e!==he}const o="callFunction"===t&&!i,r=this._initPromiseHub.exec();n=n||{};const{success:s,fail:a,complete:c}=Xe(n),u=r.then((()=>i?Promise.resolve():Oe(Le(t,"invoke"),n))).then((()=>e.call(this,n))).then((e=>i?Promise.resolve(e):Oe(Le(t,"success"),e).then((()=>Oe(Le(t,"complete"),e))).then((()=>(o&&Ke(Qe,{type:qe,content:e}),Promise.resolve(e))))),(e=>i?Promise.reject(e):Oe(Le(t,"fail"),e).then((()=>Oe(Le(t,"complete"),e))).then((()=>(Ke(Qe,{type:qe,content:e}),Promise.reject(e))))));if(!(s||a||c))return u;u.then((e=>{s&&s(e),c&&c(e),o&&Ke(Qe,{type:qe,content:e})}),(e=>{a&&a(e),c&&c(e),o&&Ke(Qe,{type:qe,content:e})}))}}(t[e],e).bind(t)})),t.init=this.init,t}};(()=>{const e=Ee;let t={};if(e&&1===e.length)t=e[0],Di=Di.init(t),Di._isDefault=!0;else{const t=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"];let n;n=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",t.forEach((e=>{Di[e]=function(){return console.error(n),Promise.reject(new Ye({code:"SYS_ERR",message:n}))}}))}Object.assign(Di,{get mixinDatacom(){return Li(Di)}}),xi(Di),Di.addInterceptor=Ce,Di.removeInterceptor=Ue,Di.interceptObject=Ne})();const{app:Mi,Vuex:Hi,Pinia:zi}={app:e.createVueApp(oe)};uni.Vuex=Hi,uni.Pinia=zi,Mi.provide("__globalStyles",__uniConfig.styles),Mi._component.mpType="app",Mi._component.render=()=>{},Mi.mount("#app")}(Vue); +if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then((n=>t.resolve(e()).then((()=>n))),(n=>t.resolve(e()).then((()=>{throw n}))))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const e=uni.requireGlobal();ArrayBuffer=e.ArrayBuffer,Int8Array=e.Int8Array,Uint8Array=e.Uint8Array,Uint8ClampedArray=e.Uint8ClampedArray,Int16Array=e.Int16Array,Uint16Array=e.Uint16Array,Int32Array=e.Int32Array,Uint32Array=e.Uint32Array,Float32Array=e.Float32Array,Float64Array=e.Float64Array,BigInt64Array=e.BigInt64Array,BigUint64Array=e.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(e){"use strict";var t,n,i,o,r,s,a,c,u,l;function d(e,t,...n){uni.__log__?uni.__log__(e,t,...n):console[e].apply(console,[...n,t])}function h(e,t){return"string"==typeof e?t:e}const p=(t=>(n,i=e.getCurrentInstance())=>{!e.isInSSRComponentSetup&&e.injectHook(t,n,i)})("onExit"),f={apiBaseUrl:"https://warehouse.szjixun.cn/oa_backend",h5Url:"http://192.168.88.56:8080/#/"};class g{constructor(){this.webViewObj=null,this.messageHandlers={}}setWebView(e){this.webViewObj=e}sendToH5(e,t={}){if(!this.webViewObj)return void d("error","at utils/communication.js:13","webViewObj is not initialized");const n=JSON.stringify({action:e,data:t});this.webViewObj.evalJS(`window.handleMessage(${JSON.stringify(n)})`)}registerHandler(e,t){this.messageHandlers[e]=t}handleMessage(e){const{action:t,data:n={}}=e;this.messageHandlers[t]?this.messageHandlers[t](n):d("warn","at utils/communication.js:30","Unknown action:",t)}}const{registerUTSInterface:m,initUTSProxyClass:y,initUTSProxyFunction:A,initUTSPackageName:v,initUTSIndexClassName:w,initUTSClassName:S}=uni,b="uniRegisterRequestPermissionTips",k="uni-registerRequestPermissionTips",E=v(b,true),I=w(b,true),P=A(!1,{moduleName:k,moduleType:"",errMsg:"",main:!0,package:E,class:I,name:"registerRequestPermissionTipsListenerByJs",params:[{name:"listener",type:"UTSSDKModulesUniRegisterRequestPermissionTipsRequestPermissionTipsListenerJSONObject",default:"UTSNull"}],return:""}),T=A(!1,{moduleName:k,moduleType:"",errMsg:"",main:!0,package:E,class:I,name:"setRequestPermissionTipsByJs",params:[{name:"tips",type:"UTSJSONObject"}],return:""}),x={__name:"index",setup(t){const n=new g,i={"android.permission.CAMERA":'

正在读取通讯录权限

通讯录权限不会获取任何信息,请注意',"android.permission.READ_PHONE_STATE":'

正在读取网络状态权限

通讯录权限不会获取任何信息,请注意通讯录权限不会获取任何信息,请注意通讯录权限不会获取任何信息,请注意'};p((()=>{})),n.registerHandler("load-complete",(()=>{!function(){const e=getCurrentPages().pop().$getAppWebview();n.setWebView(e.children()[0])}();const{statusBarHeight:e}=uni.getSystemInfoSync();n.webViewObj.setStyle({top:e,bottom:0});const t=uni.getSystemInfoSync().deviceBrand;P({onRequest:e=>{d("log","at pages/index/index.vue:39","onRequest",e)},onConfirm:e=>{d("log","at pages/index/index.vue:42","onConfirm",e)},onComplete:e=>{if(d("log","at pages/index/index.vue:45","onComplete",e),"huawei"===t.toLowerCase()){const t={};let n=!1;for(let o in i)"denied"!==e[o]?t[o]=i[o]:n=!0;T(t),n&&uni.showModal({content:"权限已经被拒绝,请前往设置中开启"})}}})}));const o=e=>{var t;const i=(null==(t=e.detail.data)?void 0:t[0])||"";n.handleMessage(i)};return(t,n)=>(e.openBlock(),e.createElementBlock("web-view",{class:"webview",onMessage:o,style:{flex:"1"},src:e.unref(f).h5Url},null,40,["src"]))}},B={};function C(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function U(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(const t in e)return!1;return!0}return!1}function O(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function L(e){return"[object Object]"===Object.prototype.toString.call(e)}function N(e){return"function"==typeof e}const F=Object.freeze(Object.defineProperty({__proto__:null,amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},array:O,carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},contains:function(e,t){return e.indexOf(t)>=0},date:function(e){return!!e&&(C(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},digits:function(e){return/^\d+$/.test(e)},email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},empty:U,enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},func:N,idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(xt){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},mobile:function(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)},number:C,object:L,promise:function(e){return L(e)&&N(e.then)&&N(e.catch)},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e},url:function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)}},Symbol.toStringTag,{value:"Module"}));function Q(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function j(e){const t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function _(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=j(e);return t>0?Q(Number(e)*Math.pow(10,t)):Number(e)}function R(e){(e>Number.MAX_SAFE_INTEGER||e{r=t(r,e)})),r}function M(...e){if(e.length>2)return q(e,M);const[t,n]=e,i=_(t),o=_(n),r=j(t)+j(n),s=i*o;return R(s),s/Math.pow(10,r)}function D(...e){if(e.length>2)return q(e,D);const[t,n]=e,i=_(t),o=_(n);return R(i),R(o),M(i/o,Q(Math.pow(10,j(n)-j(t))))}function H(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function z(e,t=new WeakMap){if(null===e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime());else if(e instanceof RegExp)n=new RegExp(e);else if(e instanceof Map)n=new Map(Array.from(e,(([e,n])=>[e,z(n,t)])));else if(e instanceof Set)n=new Set(Array.from(e,(e=>z(e,t))));else if(Array.isArray(e))n=e.map((e=>z(e,t)));else if("[object Object]"===Object.prototype.toString.call(e)){n=Object.create(Object.getPrototypeOf(e)),t.set(e,n);for(const[i,o]of Object.entries(e))n[i]=z(o,t)}else n=Object.assign({},e);return t.set(e,n),n}function V(e={},t={}){if("object"!=typeof(e=z(e))||null===e||"object"!=typeof t||null===t)return e;const n=Array.isArray(e)?e.slice():Object.assign({},e);for(const i in t){if(!t.hasOwnProperty(i))continue;const e=t[i],o=n[i];e instanceof Date?n[i]=new Date(e):e instanceof RegExp?n[i]=new RegExp(e):e instanceof Map?n[i]=new Map(e):e instanceof Set?n[i]=new Set(e):n[i]="object"==typeof e&&null!==e?V(o,e):e}return n}function K(e=null,t="yyyy-mm-dd"){let n;n=e?/^\d{10}$/.test(null==e?void 0:e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):"string"==typeof e&&e.includes("-")&&!e.includes("T")?new Date(e.replace(/-/g,"/")):new Date(e):new Date;const i={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(const o in i){const[e]=new RegExp(`${o}+`).exec(t)||[];if(e){const n="y"===o&&2===e.length?2:0;t=t.replace(e,i[o].slice(n))}}return t}function W(e,t="both"){return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}function J(e={},t=!0,n="brackets"){const i=t?"?":"",o=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(const r in e){const t=e[r];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{o.push(`${r}[]=${e}`)}));break;case"repeat":t.forEach((e=>{o.push(`${r}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),o.push(`${r}=${e}`)}else o.push(`${r}=${t}`)}return o.length?i+o.join("&"):""}function X(){var e;const t=getCurrentPages(),n=null==(e=t[t.length-1])?void 0:e.route;return`/${n||""}`}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const n=this;if(n.length>=e)return String(n);const i=e-n.length;let o=Math.ceil(i/t.length);for(;o>>=1;)t+=t,1===o&&(t+=t);return t.slice(0,i)+n});const Y=Object.freeze(Object.defineProperty({__proto__:null,$parent:H,addStyle:function(e,t="object"){if(U(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=W(e)).split(";"),n={};for(let e=0;e{return null==(e=null==(t=null==uni?void 0:uni.$uv)?void 0:t.config)?void 0:e.unit;var t})()?(e=>{return null==(e=null==(t=null==uni?void 0:uni.$uv)?void 0:t.config)?void 0:e.unit;var t})():"px")){return C(e=String(e))?`${e}${t}`:e},deepClone:z,deepMerge:V,error:function(e){},formValidate:function(e,t){const n=H.call(e,"uv-form-item"),i=H.call(e,"uv-form");n&&i&&i.validateField(n.prop,(()=>{}),t)},getDuration:function(e,t=!0){const n=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},getHistoryPage:function(e=0){const t=getCurrentPages();return t[t.length-1+e]},getProperty:function(e,t){if(e){if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const n=t.split(".");let i=e[n[0]]||{};for(let e=1;e=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},range:function(e=0,t=0,n=0){return Math.max(e,Math.min(t,Number(n)))},setConfig:function({props:e={},config:t={},color:n={},zIndex:i={}}){const{deepMerge:o}=uni.$uv;uni.$uv.config=o(uni.$uv.config,t),uni.$uv.props=o(uni.$uv.props,e),uni.$uv.color=o(uni.$uv.color,n),uni.$uv.zIndex=o(uni.$uv.zIndex,i)},setProperty:function(e,t,n){if(!e)return;const i=function(e,t,n){if(1!==t.length)for(;t.length>1;){const o=t[0];e[o]&&"object"==typeof e[o]||(e[o]={}),t.shift(),i(e[o],t,n)}else e[t[0]]=n};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const o=t.split(".");i(e,o,n)}else e[t]=n},sleep:function(e=30){return new Promise((t=>{setTimeout((()=>{t()}),e)}))},sys:function(){return uni.getSystemInfoSync()},timeFormat:K,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;n=parseInt(n/1e3);let i="";switch(!0){case n<300:i="刚刚";break;case n>=300&&n<3600:i=`${parseInt(n/60)}分钟前`;break;case n>=3600&&n<86400:i=`${parseInt(n/3600)}小时前`;break;case n>=86400&&n<2592e3:i=`${parseInt(n/86400)}天前`;break;default:i=!1===t?n>=2592e3&&n<31536e3?`${parseInt(n/2592e3)}个月前`:`${parseInt(n/31536e3)}年前`:K(e,t)}return i},toast:function(e,t=2e3){uni.showToast({title:String(e),icon:"none",duration:t})},trim:W,type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n}},Symbol.toStringTag,{value:"Module"}));const G=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1,events:{}},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=J(t,!1),e+`&${n}`):(n=J(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=V(this.config,e),n.url=this.mixinParam(e.url,e.params)),n.url!==X())if(t.intercept&&(n.intercept=t.intercept),n.params=t,n=V(this.config,n),"function"==typeof n.intercept){await new Promise(((e,t)=>{n.intercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:i,animationType:o,animationDuration:r,events:s}=e;"navigateTo"!=e.type&&"to"!=e.type||uni.navigateTo({url:t,animationType:o,animationDuration:r,events:s}),"redirectTo"!=e.type&&"redirect"!=e.type||uni.redirectTo({url:t}),"switchTab"!=e.type&&"tab"!=e.type||uni.switchTab({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||uni.reLaunch({url:t}),"navigateBack"!=e.type&&"back"!=e.type||uni.navigateBack({delta:i})}}).route;let Z,$=null;function ee(e,t=500,n=!1){if(null!==$&&clearTimeout($),n){const n=!$;$=setTimeout((()=>{$=null}),t),n&&"function"==typeof e&&e()}else $=setTimeout((()=>{"function"==typeof e&&e()}),t)}function te(e,t=500,n=!0){n?Z||(Z=!0,"function"==typeof e&&e(),setTimeout((()=>{Z=!1}),t)):Z||(Z=!0,setTimeout((()=>{Z=!1,"function"==typeof e&&e()}),t))}const ne={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$uv.getRect=this.$uvGetRect},created(){this.$uv.getRect=this.$uvGetRect},computed:{$uv(){var e,t;return{...Y,test:F,route:G,debounce:ee,throttle:te,unit:null==(t=null==(e=null==uni?void 0:uni.$uv)?void 0:e.config)?void 0:t.unit}},bem:()=>function(e,t,n){const i=`uv-${e}--`,o={};return t&&t.map((e=>{o[i+this[e]]=!0})),n&&n.map((e=>{this[e]?o[i+e]=this[e]:delete o[i+e]})),Object.keys(o)}},methods:{openPage(e="url"){const t=this[e];t&&uni[this.linkType]({url:t})},$uvGetRect(e,t){return new Promise((n=>{uni.createSelectorQuery().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent={}),this.parent=this.$uv.$parent.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]}))},preventEvent(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()},noop(e){this.preventEvent(e)}},onReachBottom(){uni.$emit("uvOnReachBottom")},beforeDestroy(){if(this.parent&&O(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}},unmounted(){if(this.parent&&O(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}},ie={"uvicon-level":"e68f","uvicon-checkbox-mark":"e659","uvicon-folder":"e694","uvicon-movie":"e67c","uvicon-star-fill":"e61e","uvicon-star":"e618","uvicon-phone-fill":"e6ac","uvicon-phone":"e6ba","uvicon-apple-fill":"e635","uvicon-backspace":"e64d","uvicon-attach":"e640","uvicon-empty-data":"e671","uvicon-empty-address":"e68a","uvicon-empty-favor":"e662","uvicon-empty-car":"e657","uvicon-empty-order":"e66b","uvicon-empty-list":"e672","uvicon-empty-search":"e677","uvicon-empty-permission":"e67d","uvicon-empty-news":"e67e","uvicon-empty-history":"e685","uvicon-empty-coupon":"e69b","uvicon-empty-page":"e60e","uvicon-empty-wifi-off":"e6cc","uvicon-reload":"e627","uvicon-order":"e695","uvicon-server-man":"e601","uvicon-search":"e632","uvicon-more-dot-fill":"e66f","uvicon-scan":"e631","uvicon-map":"e665","uvicon-map-fill":"e6a8","uvicon-tags":"e621","uvicon-tags-fill":"e613","uvicon-eye":"e664","uvicon-eye-fill":"e697","uvicon-eye-off":"e69c","uvicon-eye-off-outline":"e688","uvicon-mic":"e66d","uvicon-mic-off":"e691","uvicon-calendar":"e65c","uvicon-trash":"e623","uvicon-trash-fill":"e6ce","uvicon-play-left":"e6bf","uvicon-play-right":"e6b3","uvicon-minus":"e614","uvicon-plus":"e625","uvicon-info-circle":"e69f","uvicon-info-circle-fill":"e6a7","uvicon-question-circle":"e622","uvicon-question-circle-fill":"e6bc","uvicon-close":"e65a","uvicon-checkmark":"e64a","uvicon-checkmark-circle":"e643","uvicon-checkmark-circle-fill":"e668","uvicon-setting":"e602","uvicon-setting-fill":"e6d0","uvicon-heart":"e6a2","uvicon-heart-fill":"e68b","uvicon-camera":"e642","uvicon-camera-fill":"e650","uvicon-more-circle":"e69e","uvicon-more-circle-fill":"e684","uvicon-chat":"e656","uvicon-chat-fill":"e63f","uvicon-bag":"e647","uvicon-error-circle":"e66e","uvicon-error-circle-fill":"e655","uvicon-close-circle":"e64e","uvicon-close-circle-fill":"e666","uvicon-share":"e629","uvicon-share-fill":"e6bb","uvicon-share-square":"e6c4","uvicon-shopping-cart":"e6cb","uvicon-shopping-cart-fill":"e630","uvicon-bell":"e651","uvicon-bell-fill":"e604","uvicon-list":"e690","uvicon-list-dot":"e6a9","uvicon-zhifubao-circle-fill":"e617","uvicon-weixin-circle-fill":"e6cd","uvicon-weixin-fill":"e620","uvicon-qq-fill":"e608","uvicon-qq-circle-fill":"e6b9","uvicon-moments-circel-fill":"e6c2","uvicon-moments":"e6a0","uvicon-car":"e64f","uvicon-car-fill":"e648","uvicon-warning-fill":"e6c7","uvicon-warning":"e6c1","uvicon-clock-fill":"e64b","uvicon-clock":"e66c","uvicon-edit-pen":"e65d","uvicon-edit-pen-fill":"e679","uvicon-email":"e673","uvicon-email-fill":"e683","uvicon-minus-circle":"e6a5","uvicon-plus-circle":"e603","uvicon-plus-circle-fill":"e611","uvicon-file-text":"e687","uvicon-file-text-fill":"e67f","uvicon-pushpin":"e6d1","uvicon-pushpin-fill":"e6b6","uvicon-grid":"e68c","uvicon-grid-fill":"e698","uvicon-play-circle":"e6af","uvicon-play-circle-fill":"e62a","uvicon-pause-circle-fill":"e60c","uvicon-pause":"e61c","uvicon-pause-circle":"e696","uvicon-gift-fill":"e6b0","uvicon-gift":"e680","uvicon-kefu-ermai":"e660","uvicon-server-fill":"e610","uvicon-coupon-fill":"e64c","uvicon-coupon":"e65f","uvicon-integral":"e693","uvicon-integral-fill":"e6b1","uvicon-home-fill":"e68e","uvicon-home":"e67b","uvicon-account":"e63a","uvicon-account-fill":"e653","uvicon-thumb-down-fill":"e628","uvicon-thumb-down":"e60a","uvicon-thumb-up":"e612","uvicon-thumb-up-fill":"e62c","uvicon-lock-fill":"e6a6","uvicon-lock-open":"e68d","uvicon-lock-opened-fill":"e6a1","uvicon-lock":"e69d","uvicon-red-packet":"e6c3","uvicon-photo-fill":"e6b4","uvicon-photo":"e60d","uvicon-volume-off-fill":"e6c8","uvicon-volume-off":"e6bd","uvicon-volume-fill":"e624","uvicon-volume":"e605","uvicon-download":"e670","uvicon-arrow-up-fill":"e636","uvicon-arrow-down-fill":"e638","uvicon-play-left-fill":"e6ae","uvicon-play-right-fill":"e6ad","uvicon-arrow-downward":"e634","uvicon-arrow-leftward":"e63b","uvicon-arrow-rightward":"e644","uvicon-arrow-upward":"e641","uvicon-arrow-down":"e63e","uvicon-arrow-right":"e63c","uvicon-arrow-left":"e646","uvicon-arrow-up":"e633","uvicon-skip-back-left":"e6c5","uvicon-skip-forward-right":"e61f","uvicon-arrow-left-double":"e637","uvicon-man":"e675","uvicon-woman":"e626","uvicon-en":"e6b8","uvicon-twitte":"e607","uvicon-twitter-circle-fill":"e6cf"},oe=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n},re={name:"uv-icon",emits:["click"],mixins:[B,ne,{props:{name:{type:String,default:""},color:{type:String,default:"#606266"},size:{type:[String,Number],default:"16px"},bold:{type:Boolean,default:!1},index:{type:[String,Number],default:null},hoverClass:{type:String,default:""},customPrefix:{type:String,default:"uvicon"},label:{type:[String,Number],default:""},labelPos:{type:String,default:"right"},labelSize:{type:[String,Number],default:"15px"},labelColor:{type:String,default:"#606266"},space:{type:[String,Number],default:"3px"},imgMode:{type:String,default:"aspectFit"},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},top:{type:[String,Number],default:0},stop:{type:Boolean,default:!1},...null==(n=null==(t=uni.$uv)?void 0:t.props)?void 0:n.icon}}],data:()=>({colorType:["primary","success","info","error","warning"]}),computed:{uClasses(){let e=[];return e.push(this.customPrefix),e.push(this.customPrefix+"-"+this.name),this.color&&this.colorType.includes(this.color)&&e.push("uv-icon__icon--"+this.color),e},iconStyle(){let e={};return e={fontSize:this.$uv.addUnit(this.size),lineHeight:this.$uv.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:this.$uv.addUnit(this.top)},this.color&&!this.colorType.includes(this.color)&&(e.color=this.color),e},isImg(){const e=this.name.indexOf("data:")>-1&&this.name.indexOf("base64")>-1;return-1!==this.name.indexOf("/")||e},imgStyle(){let e={};return e.width=this.width?this.$uv.addUnit(this.width):this.$uv.addUnit(this.size),e.height=this.height?this.$uv.addUnit(this.height):this.$uv.addUnit(this.size),e},icon(){const e=ie["uvicon-"+this.name];return e?unescape(`%u${e}`):["uvicon"].indexOf(this.customPrefix)>-1?this.name:""}},methods:{clickHandler(e){this.$emit("click",this.index),this.stop&&this.preventEvent(e)}}};const se=oe(re,[["render",function(t,n,i,o,r,s){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["uv-icon",["uv-icon--"+t.labelPos]]),onClick:n[0]||(n[0]=(...e)=>s.clickHandler&&s.clickHandler(...e))},[s.isImg?(e.openBlock(),e.createElementBlock("image",{key:0,class:"uv-icon__img",src:t.name,mode:t.imgMode,style:e.normalizeStyle([s.imgStyle,t.$uv.addStyle(t.customStyle)])},null,12,["src","mode"])):(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(["uv-icon__icon",s.uClasses]),style:e.normalizeStyle([s.iconStyle,t.$uv.addStyle(t.customStyle)]),"hover-class":t.hoverClass},e.toDisplayString(s.icon),15,["hover-class"])),""!==t.label?(e.openBlock(),e.createElementBlock("text",{key:2,class:"uv-icon__label",style:e.normalizeStyle({color:t.labelColor,fontSize:t.$uv.addUnit(t.labelSize),marginLeft:"right"==t.labelPos?t.$uv.addUnit(t.space):0,marginTop:"bottom"==t.labelPos?t.$uv.addUnit(t.space):0,marginRight:"left"==t.labelPos?t.$uv.addUnit(t.space):0,marginBottom:"top"==t.labelPos?t.$uv.addUnit(t.space):0})},e.toDisplayString(t.label),5)):e.createCommentVNode("",!0)],2)}],["__scopeId","data-v-eab170a5"]]);function ae(e,t=!0){if((e=String(e).toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}const n=[];for(let t=1;t<7;t+=2)n.push(parseInt(`0x${e.slice(t,t+2)}`));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function ce(e){const t=e;if(/^(rgb|RGB)/.test(t)){const e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let n="#";for(let t=0;t({})},text:{type:[String,Number],default:""},timingFunction:{type:String,default:"linear"},duration:{type:[String,Number],default:1200},inactiveColor:{type:String,default:""},...null==(o=null==(i=uni.$uv)?void 0:i.props)?void 0:o.loadingIcon}}],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const e=function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){const i=ae(e,!1),o=i[0],r=i[1],s=i[2],a=ae(t,!1),c=(a[0]-o)/n,u=(a[1]-r)/n,l=(a[2]-s)/n,d=[];for(let h=0;h{this.show&&this.addEventListenerToWebview()}),20)},addEventListenerToWebview(){const e=getCurrentPages(),t=e[e.length-1].$getAppWebview();t.addEventListener("hide",(()=>{this.webviewHide=!0})),t.addEventListener("show",(()=>{this.webviewHide=!1}))}}},[["render",function(t,n,i,o,r,s){return t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["uv-loading-icon",[t.vertical&&"uv-loading-icon--vertical"]]),style:e.normalizeStyle([t.$uv.addStyle(t.customStyle)])},[r.webviewHide?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["uv-loading-icon__spinner",[`uv-loading-icon__spinner--${t.mode}`]]),ref:"ani",style:e.normalizeStyle({color:t.color,width:t.$uv.addUnit(t.size),height:t.$uv.addUnit(t.size),borderTopColor:t.color,borderBottomColor:s.otherBorderColor,borderLeftColor:s.otherBorderColor,borderRightColor:s.otherBorderColor,"animation-duration":`${t.duration}ms`,"animation-timing-function":"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""})},["spinner"===t.mode?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.array12,((t,n)=>(e.openBlock(),e.createElementBlock("view",{key:n,class:"uv-loading-icon__dot"})))),128)):e.createCommentVNode("",!0)],6)),t.text?(e.openBlock(),e.createElementBlock("text",{key:1,class:"uv-loading-icon__text",style:e.normalizeStyle([{fontSize:t.$uv.addUnit(t.textSize),color:t.textColor},t.$uv.addStyle(t.textStyle)])},e.toDisplayString(t.text),5)):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)}],["__scopeId","data-v-3eb40c0b"]]);const le=oe({name:"uv-button",mixins:[B,ne,{props:{hairline:{type:Boolean,default:!0},type:{type:String,default:"info"},size:{type:String,default:"normal"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingText:{type:[String,Number],default:""},loadingMode:{type:String,default:"spinner"},loadingSize:{type:[String,Number],default:14},openType:{type:String,default:""},formType:{type:String,default:""},appParameter:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!0},lang:{type:String,default:"en"},sessionFrom:{type:String,default:""},sendMessageTitle:{type:String,default:""},sendMessagePath:{type:String,default:""},sendMessageImg:{type:String,default:""},showMessageCard:{type:Boolean,default:!0},dataName:{type:String,default:""},throttleTime:{type:[String,Number],default:0},hoverStartTime:{type:[String,Number],default:0},hoverStayTime:{type:[String,Number],default:200},text:{type:[String,Number],default:""},icon:{type:String,default:""},iconSize:{type:[String,Number],default:""},iconColor:{type:String,default:"#000000"},color:{type:String,default:""},customTextStyle:{type:[Object,String],default:""},...null==(s=null==(r=uni.$uv)?void 0:r.props)?void 0:s.button}}],emits:["click"],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:"#3c9cff":"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:t}=this;return"large"===t&&(e=16),"normal"===t&&(e=14),"small"===t&&(e=12),"mini"===t&&(e=10),e},getIconSize(){const e=this.iconSize?this.iconSize:1.35*this.textSize;return this.$uv.addUnit(e)},btnWrapperStyle(){const e={},t=this.$uv.addStyle(this.customStyle);return t.width&&(e.width=t.width),e}},methods:{clickHandler(){this.disabled||this.loading||te((()=>{this.$emit("click")}),this.throttleTime)}}},[["render",function(t,n,i,o,r,s){const a=h(e.resolveDynamicComponent("uv-loading-icon"),ue),c=h(e.resolveDynamicComponent("uv-icon"),se);return e.openBlock(),e.createElementBlock("view",{class:"uv-button-wrapper",style:e.normalizeStyle([s.btnWrapperStyle])},[e.createElementVNode("button",{"hover-start-time":Number(t.hoverStartTime),"hover-stay-time":Number(t.hoverStayTime),"form-type":t.formType,"open-type":t.openType,"app-parameter":t.appParameter,"hover-stop-propagation":t.hoverStopPropagation,"send-message-title":t.sendMessageTitle,"send-message-path":t.sendMessagePath,lang:t.lang,"data-name":t.dataName,"session-from":t.sessionFrom,"send-message-img":t.sendMessageImg,"show-message-card":t.showMessageCard,"hover-class":t.disabled||t.loading?"":"uv-button--active",class:e.normalizeClass(["uv-button uv-reset-button",s.bemClass]),style:e.normalizeStyle([s.baseColor,t.$uv.addStyle(t.customStyle)]),onClick:n[0]||(n[0]=(...e)=>s.clickHandler&&s.clickHandler(...e))},[t.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(a,{mode:t.loadingMode,size:1.15*t.loadingSize,color:s.loadingColor},null,8,["mode","size","color"]),e.createElementVNode("text",{class:"uv-button__loading-text",style:e.normalizeStyle([{fontSize:s.textSize+"px"},t.$uv.addStyle(t.customTextStyle)])},e.toDisplayString(t.loadingText||t.text),5)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.icon?(e.openBlock(),e.createBlock(c,{key:0,name:t.icon,color:s.iconColorCom,size:s.getIconSize,customStyle:{marginRight:"2px"}},null,8,["name","color","size"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},(()=>[e.createElementVNode("text",{class:"uv-button__text",style:e.normalizeStyle([{fontSize:s.textSize+"px"},t.$uv.addStyle(t.customTextStyle)])},e.toDisplayString(t.text),5)]),!0),e.renderSlot(t.$slots,"suffix",{},void 0,!0)],64))],14,["hover-start-time","hover-stay-time","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","send-message-path","lang","data-name","session-from","send-message-img","show-message-card","hover-class"])],4)}],["__scopeId","data-v-646dddbc"]]);class de{constructor(e,t){this.options=e,this.animation=uni.createAnimation({...e}),this.currentStepAnimates={},this.next=0,this.$=t}_nvuePushAnimates(e,t){let n=this.currentStepAnimates[this.next],i={};if(i=n||{styles:{},config:{}},he.includes(e)){i.styles.transform||(i.styles.transform="");let n="";"rotate"===e&&(n="deg"),i.styles.transform+=`${e}(${t+n}) `}else i.styles[e]=`${t}`;this.currentStepAnimates[this.next]=i}_animateRun(e={},t={}){let n=this.$.$refs.ani.ref;if(n)return new Promise(((i,o)=>{nvueAnimation.transition(n,{styles:e,...t},(e=>{i()}))}))}_nvueNextAnimate(e,t=0,n){let i=e[t];if(i){let{styles:o,config:r}=i;this._animateRun(o,r).then((()=>{t+=1,this._nvueNextAnimate(e,t,n)}))}else this.currentStepAnimates={},"function"==typeof n&&n(),this.isEnd=!0}step(e={}){return this.animation.step(e),this}run(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof e&&e()}),this.$.durationTime)}}const he=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function pe(e,t){if(t)return clearTimeout(t.timer),new de(e,t)}he.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((e=>{de.prototype[e]=function(...t){return this.animation[e](...t),this}}));const fe=oe({name:"uv-transition",mixins:[B,ne],emits:["click","change"],props:{show:{type:Boolean,default:!1},mode:{type:[Array,String,null],default:()=>"fade"},duration:{type:[String,Number],default:300},timingFunction:{type:String,default:"ease-out"},customClass:{type:String,default:""},cellChild:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{transformStyles(){const e={transform:this.transform,opacity:this.opacity,...this.$uv.addStyle(this.customStyle),"transition-duration":this.duration/1e3+"s"};return this.$uv.addStyle(e,"string")}},created(){this.config={duration:this.duration,timingFunction:this.timingFunction,transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(e={}){e.duration&&(this.durationTime=e.duration),this.animation=pe(Object.assign(this.config,e),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(e,t={}){if(this.animation){for(let t in e)try{"object"==typeof e[t]?this.animation[t](...e[t]):this.animation[t](e[t])}catch(xt){d("error","at uni_modules/uv-transition/components/uv-transition/uv-transition.vue:166",`方法 ${t} 不存在`)}return this.animation.step(t),this}},run(e){this.animation&&this.animation.run(e)},open(){clearTimeout(this.timer),this.transform="",this.isShow=!0;let{opacity:e,transform:t}=this.styleInit(!1);void 0!==e&&(this.opacity=e),this.transform=t,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=pe(this.config,this),this.tranfromInit(!1).step(),this.animation.run(),this.$emit("change",{detail:this.isShow})}),20)}))},close(e){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:e,transform:t}=this.styleInit(!1);this.opacity=e||1,this.transform=t,this.$emit("change",{detail:this.isShow})}))},styleInit(e){let t={transform:""},n=(e,n)=>{"fade"===n?t.opacity=this.animationType(e)[n]:t.transform+=this.animationType(e)[n]+" "};return"string"==typeof this.mode?n(e,this.mode):this.mode.forEach((t=>{n(e,t)})),t},tranfromInit(e){let t=(e,t)=>{let n=null;"fade"===t?n=e?0:1:(n=e?"-100%":"0","zoom-in"===t&&(n=e?.8:1),"zoom-out"===t&&(n=e?1.2:1),"slide-right"===t&&(n=e?"100%":"0"),"slide-bottom"===t&&(n=e?"100%":"0")),this.animation[this.animationMode()[t]](n)};return"string"==typeof this.mode?t(e,this.mode):this.mode.forEach((n=>{t(e,n)})),this.animation},animationType:e=>({fade:e?1:0,"slide-top":`translateY(${e?"0":"-100%"})`,"slide-right":`translateX(${e?"0":"100%"})`,"slide-bottom":`translateY(${e?"0":"100%"})`,"slide-left":`translateX(${e?"0":"-100%"})`,"zoom-in":`scaleX(${e?1:.8}) scaleY(${e?1:.8})`,"zoom-out":`scaleX(${e?1:1.2}) scaleY(${e?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:e=>e.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(t,n,i,o,r,s){return r.isShow?(e.openBlock(),e.createElementBlock("view",{key:0,ref:"ani",animation:r.animationData,class:e.normalizeClass(i.customClass),style:e.normalizeStyle(s.transformStyles),onClick:n[0]||(n[0]=(...e)=>s.onClick&&s.onClick(...e))},[e.renderSlot(t.$slots,"default")],14,["animation"])):e.createCommentVNode("",!0)}]]);const ge=oe({name:"uv-overlay",emits:["click"],mixins:[B,ne,{props:{show:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:10070},duration:{type:[String,Number],default:300},opacity:{type:[String,Number],default:.5},...null==(c=null==(a=uni.$uv)?void 0:a.props)?void 0:c.overlay}}],watch:{show(e){}},computed:{overlayStyle(){const e={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`};return this.$uv.deepMerge(e,this.$uv.addStyle(this.customStyle))}},methods:{clickHandler(){this.$emit("click")},clear(){}}},[["render",function(t,n,i,o,r,s){const a=h(e.resolveDynamicComponent("uv-transition"),fe);return e.openBlock(),e.createBlock(a,{show:t.show,mode:"fade","custom-class":"uv-overlay",duration:t.duration,"custom-style":s.overlayStyle,onClick:s.clickHandler,onTouchmove:e.withModifiers(s.clear,["stop","prevent"])},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default",{},void 0,!0)])),_:3},8,["show","duration","custom-style","onClick","onTouchmove"])}],["__scopeId","data-v-65481522"]]);const me=oe({name:"uv-no-network",mixins:[B,ne,{props:{tips:{type:String,default:"哎呀,网络信号丢失"},zIndex:{type:[String,Number],default:""},image:{type:String,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAF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foSync().platform,uni.onNetworkStatusChange((e=>{this.isConnected=e.isConnected,this.networkType=e.networkType,this.emitEvent(this.networkType)})),uni.getNetworkType({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?this.isConnected=!1:this.isConnected=!0}})},methods:{retry(){uni.getNetworkType({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?(this.$uv.toast("无网络连接"),this.isConnected=!1):(this.$uv.toast("网络已连接"),this.isConnected=!0)}}),this.$emit("retry")},emitEvent(e){this.$emit("none"===e?"disconnected":"connected")},async openSettings(){"none"!=this.networkType||this.openSystemSettings()},openAppSettings(){this.gotoAppSetting()},openSystemSettings(){this.isIOS?this.gotoiOSSetting():this.gotoAndroidSetting()},network(){var e=null,t=plus.ios.newObject("CTCellularData"),n=t.plusGetAttribute("restrictedState");return 0==n?e=null:2==n?e=1:1==n&&(e=2),plus.ios.deleteObject(t),e},gotoAppSetting(){if(this.isIOS){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("app-settings:");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)}else{var i=plus.android.importClass("android.content.Intent"),o=plus.android.importClass("android.provider.Settings"),r=plus.android.importClass("android.net.Uri"),s=plus.android.runtimeMainActivity(),a=new i;a.setAction(o.ACTION_APPLICATION_DETAILS_SETTINGS);var c=r.fromParts("package",s.getPackageName(),null);a.setData(c),s.startActivity(a)}},gotoiOSSetting(){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("App-prefs:root=General");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)},gotoAndroidSetting(){var e=plus.android.importClass("android.content.Intent"),t=plus.android.importClass("android.provider.Settings"),n=plus.android.runtimeMainActivity(),i=new e(t.ACTION_SETTINGS);n.startActivity(i)}}},[["render",function(t,n,i,o,r,s){const a=h(e.resolveDynamicComponent("uv-icon"),se),c=h(e.resolveDynamicComponent("uv-button"),le),u=h(e.resolveDynamicComponent("uv-overlay"),ge);return e.openBlock(),e.createBlock(u,{show:!r.isConnected,zIndex:t.zIndex,onTouchmove:e.withModifiers(t.noop,["stop","prevent"]),customStyle:{backgroundColor:"#fff",display:"flex",justifyContent:"center"}},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"uv-no-network"},[e.createVNode(a,{name:t.image,size:"150",imgMode:"widthFit",class:"uv-no-network__error-icon"},null,8,["name"]),e.createElementVNode("text",{class:"uv-no-network__tips"},e.toDisplayString(t.tips),1),e.createElementVNode("view",{class:"uv-no-network__app"},[e.createElementVNode("text",{class:"uv-no-network__app__setting"},"请检查网络,或前往"),e.createElementVNode("text",{class:"uv-no-network__app__to-setting",onClick:n[0]||(n[0]=(...e)=>s.openSettings&&s.openSettings(...e))},"设置")]),e.createElementVNode("view",{class:"uv-no-network__retry"},[e.createVNode(c,{style:{width:"220rpx"},text:"重试",type:"primary",onClick:s.retry},null,8,["onClick"])])])])),_:1},8,["show","zIndex","onTouchmove"])}],["__scopeId","data-v-6eb2581f"]]),ye={__name:"index",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(me))};__definePage("pages/index/index",x),__definePage("pages/networko/index",ye),uni.invokePushCallback({type:"enabled",offline:!0}),Promise.resolve().then((()=>{"undefined"!=typeof plus&&plus.push&&plus.globalEvent.addEventListener("newPath",(({path:e})=>{if(!e)return;const t=getCurrentPages(),n=t[t.length-1];n&&n.$page&&n.$page.fullPath===e||uni.navigateTo({url:e,fail(t){t.errMsg.indexOf("tabbar")>-1?uni.switchTab({url:e,fail(e){console.error(e.errMsg)}}):console.error(t.errMsg)}})})),plus.push.setAutoNotification&&plus.push.setAutoNotification(!1)}));const Ae={methods:{networkStatusChange(e){e.isConnected?uni.redirectTo({url:"/pages/index/index"}):uni.redirectTo({url:"/pages/networko/index"})}},onLaunch:function(){},onShow:function(){uni.getNetworkType({success:e=>{"none"===e.networkType&&uni.redirectTo({url:"/pages/networko/index"})}}),uni.onNetworkStatusChange(this.networkStatusChange)},onHide:function(){uni.offNetworkStatusChange(this.networkStatusChange)}},ve={pages:[{path:"pages/index/index",style:{navigationBarTitleText:"uni-app",navigationStyle:"custom"}},{path:"pages/networko/index",style:{navigationBarTitleText:"uni-app",navigationStyle:"custom"}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},uniIdRouter:{}};function we(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var Se=we((function(e,t){var n;e.exports=(n=n||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},o=i.lib={},r=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=o.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,o=e.sigBytes;if(this.clamp(),i%4)for(var r=0;r>>2]>>>24-r%4*8&255;t[i+r>>>2]|=s<<24-(i+r)%4*8}else for(r=0;r>>2]=n[r>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=r.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],o=function(t){var n=987654321,i=4294967295;return function(){var o=((n=36969*(65535&n)+(n>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return o/=4294967296,(o+=.5)*(e.random()>.5?1:-1)}},r=0;r>>2]>>>24-o%4*8&255;i.push((r>>>4).toString(16)),i.push((15&r).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new s.init(n,t/2)}},u=a.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],o=0;o>>2]>>>24-o%4*8&255;i.push(String.fromCharCode(r))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new s.init(n,t)}},l=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},d=o.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,o=n.sigBytes,r=this.blockSize,a=o/(4*r),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*r,u=e.min(4*c,o);if(c){for(var l=0;l>>24)|4278255360&(o<<24|o>>>8)}var r=this._hash.words,s=e[t+0],c=e[t+1],p=e[t+2],f=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],A=e[t+7],v=e[t+8],w=e[t+9],S=e[t+10],b=e[t+11],k=e[t+12],E=e[t+13],I=e[t+14],P=e[t+15],T=r[0],x=r[1],B=r[2],C=r[3];T=u(T,x,B,C,s,7,a[0]),C=u(C,T,x,B,c,12,a[1]),B=u(B,C,T,x,p,17,a[2]),x=u(x,B,C,T,f,22,a[3]),T=u(T,x,B,C,g,7,a[4]),C=u(C,T,x,B,m,12,a[5]),B=u(B,C,T,x,y,17,a[6]),x=u(x,B,C,T,A,22,a[7]),T=u(T,x,B,C,v,7,a[8]),C=u(C,T,x,B,w,12,a[9]),B=u(B,C,T,x,S,17,a[10]),x=u(x,B,C,T,b,22,a[11]),T=u(T,x,B,C,k,7,a[12]),C=u(C,T,x,B,E,12,a[13]),B=u(B,C,T,x,I,17,a[14]),T=l(T,x=u(x,B,C,T,P,22,a[15]),B,C,c,5,a[16]),C=l(C,T,x,B,y,9,a[17]),B=l(B,C,T,x,b,14,a[18]),x=l(x,B,C,T,s,20,a[19]),T=l(T,x,B,C,m,5,a[20]),C=l(C,T,x,B,S,9,a[21]),B=l(B,C,T,x,P,14,a[22]),x=l(x,B,C,T,g,20,a[23]),T=l(T,x,B,C,w,5,a[24]),C=l(C,T,x,B,I,9,a[25]),B=l(B,C,T,x,f,14,a[26]),x=l(x,B,C,T,v,20,a[27]),T=l(T,x,B,C,E,5,a[28]),C=l(C,T,x,B,p,9,a[29]),B=l(B,C,T,x,A,14,a[30]),T=d(T,x=l(x,B,C,T,k,20,a[31]),B,C,m,4,a[32]),C=d(C,T,x,B,v,11,a[33]),B=d(B,C,T,x,b,16,a[34]),x=d(x,B,C,T,I,23,a[35]),T=d(T,x,B,C,c,4,a[36]),C=d(C,T,x,B,g,11,a[37]),B=d(B,C,T,x,A,16,a[38]),x=d(x,B,C,T,S,23,a[39]),T=d(T,x,B,C,E,4,a[40]),C=d(C,T,x,B,s,11,a[41]),B=d(B,C,T,x,f,16,a[42]),x=d(x,B,C,T,y,23,a[43]),T=d(T,x,B,C,w,4,a[44]),C=d(C,T,x,B,k,11,a[45]),B=d(B,C,T,x,P,16,a[46]),T=h(T,x=d(x,B,C,T,p,23,a[47]),B,C,s,6,a[48]),C=h(C,T,x,B,A,10,a[49]),B=h(B,C,T,x,I,15,a[50]),x=h(x,B,C,T,m,21,a[51]),T=h(T,x,B,C,k,6,a[52]),C=h(C,T,x,B,f,10,a[53]),B=h(B,C,T,x,S,15,a[54]),x=h(x,B,C,T,c,21,a[55]),T=h(T,x,B,C,v,6,a[56]),C=h(C,T,x,B,P,10,a[57]),B=h(B,C,T,x,y,15,a[58]),x=h(x,B,C,T,E,21,a[59]),T=h(T,x,B,C,g,6,a[60]),C=h(C,T,x,B,b,10,a[61]),B=h(B,C,T,x,p,15,a[62]),x=h(x,B,C,T,w,21,a[63]),r[0]=r[0]+T|0,r[1]=r[1]+x|0,r[2]=r[2]+B|0,r[3]=r[3]+C|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var r=e.floor(i/4294967296),s=i;n[15+(o+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),n[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,i,o,r,s){var a=e+(t&n|~t&i)+o+s;return(a<>>32-r)+t}function l(e,t,n,i,o,r,s){var a=e+(t&i|n&~i)+o+s;return(a<>>32-r)+t}function d(e,t,n,i,o,r,s){var a=e+(t^n^i)+o+s;return(a<>>32-r)+t}function h(e,t,n,i,o,r,s){var a=e+(n^(t|~i))+o+s;return(a<>>32-r)+t}t.MD5=r._createHelper(c),t.HmacMD5=r._createHmacHelper(c)}(Math),n.MD5)})),we((function(e,t){var n,i,o;e.exports=(i=(n=be).lib.Base,o=n.enc.Utf8,void(n.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var r=this._oKey=t.clone(),s=this._iKey=t.clone(),a=r.words,c=s.words,u=0;u>>2]>>>24-r%4*8&255)<<16|(t[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|t[r+2>>>2]>>>24-(r+2)%4*8&255,a=0;a<4&&r+.75*a>>6*(3-a)&63));var c=i.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var r=0;r>>6-s%4*2;i[r>>>2]|=(a|c)<<24-r%4*8,r++}return o.create(i,r)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)}));const Pe="FUNCTION",Te="pending",xe="rejected";function Be(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Ce(e){return"object"===Be(e)}function Ue(e){return"function"==typeof e}function Oe(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}const Le="REJECTED",Ne="NOT_PENDING";class Fe{constructor({createPromise:e,retryRule:t=Le}={}){this.createPromise=e,this.status=null,this.promise=null,this.retryRule=t}get needRetry(){if(!this.status)return!0;switch(this.retryRule){case Le:return this.status===xe;case Ne:return this.status!==Te}}exec(){return this.needRetry?(this.status=Te,this.promise=this.createPromise().then((e=>(this.status="fulfilled",Promise.resolve(e))),(e=>(this.status=xe,Promise.reject(e)))),this.promise):this.promise}}function Qe(e){return e&&"string"==typeof e?JSON.parse(e):e}const je=Qe([]);Qe("");const _e=Qe('[{"provider":"alipay","spaceName":"oaapp","spaceId":"env-00jxgxphla18","spaceAppId":"2021004145628977","accessKey":"ZALus7EgJXdovISb","secretKey":"7qzvVrPN0mAxfcLr"}]')||[];let Re="";try{Re="__UNI__4796942"}catch(xt){}let qe={};function Me(e,t={}){var n,i;return n=qe,i=e,Object.prototype.hasOwnProperty.call(n,i)||(qe[e]=t),qe[e]}qe=uni._globalUniCloudObj?uni._globalUniCloudObj:uni._globalUniCloudObj={};const De=["invoke","success","fail","complete"],He=Me("_globalUniCloudInterceptor");function ze(e,t){He[e]||(He[e]={}),Ce(t)&&Object.keys(t).forEach((n=>{De.indexOf(n)>-1&&function(e,t,n){let i=He[e][t];i||(i=He[e][t]=[]),-1===i.indexOf(n)&&Ue(n)&&i.push(n)}(e,n,t[n])}))}function Ve(e,t){He[e]||(He[e]={}),Ce(t)?Object.keys(t).forEach((n=>{De.indexOf(n)>-1&&function(e,t,n){const i=He[e][t];if(!i)return;const o=i.indexOf(n);o>-1&&i.splice(o,1)}(e,n,t[n])})):delete He[e]}function Ke(e,t){return e&&0!==e.length?e.reduce(((e,n)=>e.then((()=>n(t)))),Promise.resolve()):Promise.resolve()}function We(e,t){return He[e]&&He[e][t]||[]}function Je(e){ze("callObject",e)}const Xe=Me("_globalUniCloudListener"),Ye="response",Ge="needLogin",Ze="refreshToken",$e="clientdb",et="cloudfunction",tt="cloudobject";function nt(e){return Xe[e]||(Xe[e]=[]),Xe[e]}function it(e,t){const n=nt(e);n.includes(t)||n.push(t)}function ot(e,t){const n=nt(e),i=n.indexOf(t);-1!==i&&n.splice(i,1)}function rt(e,t){const n=nt(e);for(let i=0;i{at&&e(),function t(){if("function"==typeof getCurrentPages){const t=getCurrentPages();t&&t[0]&&(at=!0,e())}at||setTimeout((()=>{t()}),30)}()})),st)}function ut(e){const t={};for(const n in e){const i=e[n];Ue(i)&&(t[n]=Oe(i))}return t}class lt extends Error{constructor(e){super(e.message),this.errMsg=e.message||e.errMsg||"unknown system error",this.code=this.errCode=e.code||e.errCode||"SYSTEM_ERROR",this.errSubject=this.subject=e.subject||e.errSubject,this.cause=e.cause,this.requestId=e.requestId}toJson(e=0){if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}var dt={request:e=>uni.request(e),uploadFile:e=>uni.uploadFile(e),setStorageSync:(e,t)=>uni.setStorageSync(e,t),getStorageSync:e=>uni.getStorageSync(e),removeStorageSync:e=>uni.removeStorageSync(e),clearStorageSync:()=>uni.clearStorageSync(),connectSocket:e=>uni.connectSocket(e)};function ht(e){return e&&ht(e.__v_raw)||e}function pt(){return{token:dt.getStorageSync("uni_id_token")||dt.getStorageSync("uniIdToken"),tokenExpired:dt.getStorageSync("uni_id_token_expired")}}function ft({token:e,tokenExpired:t}={}){e&&dt.setStorageSync("uni_id_token",e),t&&dt.setStorageSync("uni_id_token_expired",t)}let gt,mt;function yt(){return gt||(gt=uni.getSystemInfoSync()),gt}function At(){let e,t;try{if(uni.getLaunchOptionsSync){if(uni.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;const{scene:n,channel:i}=uni.getLaunchOptionsSync();e=i,t=n}}catch(n){}return{channel:e,scene:t}}let vt={};function wt(){const e=uni.getLocale&&uni.getLocale()||"en";if(mt)return{...vt,...mt,locale:e,LOCALE:e};const t=yt(),{deviceId:n,osName:i,uniPlatform:o,appId:r}=t,s=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(const a in t)Object.hasOwnProperty.call(t,a)&&-1===s.indexOf(a)&&delete t[a];return mt={PLATFORM:o,OS:i,APPID:r,DEVICEID:n,...At(),...t},{...vt,...mt,locale:e,LOCALE:e}}var St=function(e,t){let n="";return Object.keys(e).sort().forEach((function(t){e[t]&&(n=n+"&"+t+"="+e[t])})),n=n.slice(1),ke(n,t).toString()},bt=function(e,t){return new Promise(((n,i)=>{t(Object.assign(e,{complete(e){e||(e={});const t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){const n=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",o=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return i(new lt({code:n,message:o,requestId:t}))}const o=e.data;if(o.error)return i(new lt({code:o.error.code,message:o.error.message,requestId:t}));o.result=o.data,o.requestId=t,delete o.data,n(o)}}))}))},kt=function(e){return Ie.stringify(Ee.parse(e))},Et=class{constructor(e){["spaceId","clientSecret"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=dt,this._getAccessTokenPromiseHub=new Fe({createPromise:()=>this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((e=>{if(!e.result||!e.result.accessToken)throw new lt({code:"AUTH_FAILED",message:"获取accessToken失败"});this.setAccessToken(e.result.accessToken)})),retryRule:Ne})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return bt(e,this.adapter.request)}requestAuth(e){return this.requestWrapped(e)}request(e,t){return Promise.resolve().then((()=>this.hasAccessToken?t?this.requestWrapped(e):this.requestWrapped(e).catch((t=>new Promise(((e,n)=>{!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?n(t):e()})).then((()=>this.getAccessToken())).then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)})))):this.getAccessToken().then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)}))))}rebuildRequest(e){const t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=St(t.data,this.config.clientSecret),t}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};return"auth"!==t&&(n.token=this.accessToken,i["x-basement-token"]=this.accessToken),i["x-serverless-sign"]=St(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:i}}getAccessToken(){return this._getAccessTokenPromiseHub.exec()}async authorize(){await this.getAccessToken()}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}getOSSUploadOptionsFromPath(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFileToOSS({url:e,formData:t,name:n,filePath:i,fileType:o,onUploadProgress:r}){return new Promise(((s,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:i,fileType:o,header:{"X-OSS-server-side-encrpytion":"AES256"},success(e){e&&e.statusCode<400?s(e):a(new lt({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new lt({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof r&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((e=>{r({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}reportOSSUpload(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}async uploadFile({filePath:e,cloudPath:t,fileType:n="image",cloudPathAsRealPath:i=!1,onUploadProgress:o,config:r}){if("string"!==Be(t))throw new lt({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new lt({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new lt({code:"INVALID_PARAM",message:"cloudPath不合法"});const s=r&&r.envType||this.config.envType;if(i&&("/"!==t[0]&&(t="/"+t),t.indexOf("\\")>-1))throw new lt({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});const a=(await this.getOSSUploadOptionsFromPath({env:s,filename:i?t.split("/").pop():t,fileId:i?t:void 0})).result,c="https://"+a.cdnDomain+"/"+a.ossPath,{securityToken:u,accessKeyId:l,signature:d,host:h,ossPath:p,id:f,policy:g,ossCallbackUrl:m}=a,y={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:l,Signature:d,host:h,id:f,key:p,policy:g,success_action_status:200};if(u&&(y["x-oss-security-token"]=u),m){const e=JSON.stringify({callbackUrl:m,callbackBody:JSON.stringify({fileId:f,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});y.callback=kt(e)}const A={url:"https://"+a.host,formData:y,fileName:"file",name:"file",filePath:e,fileType:n};if(await this.uploadFileToOSS(Object.assign({},A,{onUploadProgress:o})),m)return{success:!0,filePath:e,fileID:c};if((await this.reportOSSUpload({id:f})).success)return{success:!0,filePath:e,fileID:c};throw new lt({code:"UPLOAD_FAILED",message:"文件上传失败"})}getTempFileURL({fileList:e}={}){return new Promise(((t,n)=>{Array.isArray(e)&&0!==e.length||n(new lt({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),t({fileList:e.map((e=>({fileID:e,tempFileURL:e})))})}))}async getFileInfo({fileList:e}={}){if(!Array.isArray(e)||0===e.length)throw new lt({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.info",params:JSON.stringify({id:e.map((e=>e.split("?")[0])).join(",")})};return{fileList:(await this.request(this.setupRequest(t))).result}}},It={init(e){const t=new Et(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}};const Pt="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";var Tt,xt;(xt=Tt||(Tt={})).local="local",xt.none="none",xt.session="session";var Bt=function(){},Ct=we((function(e,t){var n;e.exports=(n=be,function(e){var t=n,i=t.lib,o=i.WordArray,r=i.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),i=2;i<=n;i++)if(!(t%i))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var i=2,o=0;o<64;)t(i)&&(o<8&&(a[o]=n(e.pow(i,.5))),c[o]=n(e.pow(i,1/3)),o++),i++}();var u=[],l=s.SHA256=r.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],o=n[1],r=n[2],s=n[3],a=n[4],l=n[5],d=n[6],h=n[7],p=0;p<64;p++){if(p<16)u[p]=0|e[t+p];else{var f=u[p-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=u[p-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;u[p]=g+u[p-7]+y+u[p-16]}var A=i&o^i&r^o&r,v=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),w=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&d)+c[p]+u[p];h=d,d=l,l=a,a=s+w|0,s=r,r=o,o=i,i=w+(v+A)|0}n[0]=n[0]+i|0,n[1]=n[1]+o|0,n[2]=n[2]+r|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+l|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(i/4294967296),n[15+(o+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=r._createHelper(l),t.HmacSHA256=r._createHmacHelper(l)}(Math),n.SHA256)})),Ut=Ct,Ot=we((function(e,t){e.exports=be.HmacSHA256}));const Lt=()=>{let e;if(!Promise){e=()=>{},e.promise={};const t=()=>{throw new lt({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}const t=new Promise(((t,n)=>{e=(e,i)=>e?n(e):t(i)}));return e.promise=t,e};function Nt(e){return void 0===e}function Ft(e){return"[object Null]"===Object.prototype.toString.call(e)}var Qt;!function(e){e.WEB="web",e.WX_MP="wx_mp"}(Qt||(Qt={}));const jt={adapter:null,runtime:void 0},_t=["anonymousUuidKey"];class Rt extends Bt{constructor(){super(),jt.adapter.root.tcbObject||(jt.adapter.root.tcbObject={})}setItem(e,t){jt.adapter.root.tcbObject[e]=t}getItem(e){return jt.adapter.root.tcbObject[e]}removeItem(e){delete jt.adapter.root.tcbObject[e]}clear(){delete jt.adapter.root.tcbObject}}function qt(e,t){switch(e){case"local":return t.localStorage||new Rt;case"none":return new Rt;default:return t.sessionStorage||new Rt}}class Mt{constructor(e){if(!this._storage){this._persistence=jt.adapter.primaryStorage||e.persistence,this._storage=qt(this._persistence,jt.adapter);const t=`access_token_${e.env}`,n=`access_token_expire_${e.env}`,i=`refresh_token_${e.env}`,o=`anonymous_uuid_${e.env}`,r=`login_type_${e.env}`,s=`user_info_${e.env}`;this.keys={accessTokenKey:t,accessTokenExpireKey:n,refreshTokenKey:i,anonymousUuidKey:o,loginTypeKey:r,userInfoKey:s}}}updatePersistence(e){if(e===this._persistence)return;const t="local"===this._persistence;this._persistence=e;const n=qt(e,jt.adapter);for(const i in this.keys){const e=this.keys[i];if(t&&_t.includes(i))continue;const o=this._storage.getItem(e);Nt(o)||Ft(o)||(n.setItem(e,o),this._storage.removeItem(e))}this._storage=n}setStore(e,t,n){if(!this._storage)return;const i={version:n||"localCachev1",content:t},o=JSON.stringify(i);try{this._storage.setItem(e,o)}catch(r){throw r}}getStore(e,t){try{if(!this._storage)return}catch(i){return""}t=t||"localCachev1";const n=this._storage.getItem(e);return n&&n.indexOf(t)>=0?JSON.parse(n).content:""}removeStore(e){this._storage.removeItem(e)}}const Dt={},Ht={};function zt(e){return Dt[e]}class Vt{constructor(e,t){this.data=t||null,this.name=e}}class Kt extends Vt{constructor(e,t){super("error",{error:e,data:t}),this.error=e}}const Wt=new class{constructor(){this._listeners={}}on(e,t){return n=e,i=t,(o=this._listeners)[n]=o[n]||[],o[n].push(i),this;var n,i,o}off(e,t){return function(e,t,n){if(n&&n[e]){const i=n[e].indexOf(t);-1!==i&&n[e].splice(i,1)}}(e,t,this._listeners),this}fire(e,t){if(e instanceof Kt)return console.error(e.error),this;const n="string"==typeof e?new Vt(e,t||{}):e,i=n.name;if(this._listens(i)){n.target=this;const e=this._listeners[i]?[...this._listeners[i]]:[];for(const t of e)t.call(this,n)}return this}_listens(e){return this._listeners[e]&&this._listeners[e].length>0}};function Jt(e,t){Wt.on(e,t)}function Xt(e,t={}){Wt.fire(e,t)}function Yt(e,t){Wt.off(e,t)}const Gt="loginStateChanged",Zt="loginStateExpire",$t="loginTypeChanged",en="anonymousConverted",tn="refreshAccessToken";var nn;!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(nn||(nn={}));const on=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],rn={"X-SDK-Version":"1.3.5"};function sn(e,t,n){const i=e[t];e[t]=function(t){const o={},r={};n.forEach((n=>{const{data:i,headers:s}=n.call(e,t);Object.assign(o,i),Object.assign(r,s)}));const s=t.data;return s&&(()=>{var e;if(e=s,"[object FormData]"!==Object.prototype.toString.call(e))t.data={...s,...o};else for(const t in o)s.append(t,o[t])})(),t.headers={...t.headers||{},...r},i.call(e,t)}}function an(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:{...rn,"x-seqid":e}}}class cn{constructor(e={}){var t;this.config=e,this._reqClass=new jt.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]}),this._cache=zt(this.config.env),this._localCache=(t=this.config.env,Ht[t]),sn(this._reqClass,"post",[an]),sn(this._reqClass,"upload",[an]),sn(this._reqClass,"download",[an])}async post(e){return await this._reqClass.post(e)}async upload(e){return await this._reqClass.upload(e)}async download(e){return await this._reqClass.download(e)}async refreshAccessToken(){let e,t;this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken());try{e=await this._refreshAccessTokenPromise}catch(n){t=n}if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,t)throw t;return e}async _refreshAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n,loginTypeKey:i,anonymousUuidKey:o}=this._cache.keys;this._cache.removeStore(e),this._cache.removeStore(t);let r=this._cache.getStore(n);if(!r)throw new lt({message:"未登录CloudBase"});const s={refresh_token:r},a=await this.request("auth.fetchAccessTokenWithRefreshToken",s);if(a.data.code){const{code:e}=a.data;if("SIGN_PARAM_INVALID"===e||"REFRESH_TOKEN_EXPIRED"===e||"INVALID_REFRESH_TOKEN"===e){if(this._cache.getStore(i)===nn.ANONYMOUS&&"INVALID_REFRESH_TOKEN"===e){const e=this._cache.getStore(o),t=this._cache.getStore(n),i=await this.send("auth.signInAnonymously",{anonymous_uuid:e,refresh_token:t});return this.setRefreshToken(i.refresh_token),this._refreshAccessToken()}Xt(Zt),this._cache.removeStore(n)}throw new lt({code:a.data.code,message:`刷新access token失败:${a.data.code}`})}if(a.data.access_token)return Xt(tn),this._cache.setStore(e,a.data.access_token),this._cache.setStore(t,a.data.access_token_expire+Date.now()),{accessToken:a.data.access_token,accessTokenExpire:a.data.access_token_expire};a.data.refresh_token&&(this._cache.removeStore(n),this._cache.setStore(n,a.data.refresh_token),this._refreshAccessToken())}async getAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n}=this._cache.keys;if(!this._cache.getStore(n))throw new lt({message:"refresh token不存在,登录状态异常"});let i=this._cache.getStore(e),o=this._cache.getStore(t),r=!0;return this._shouldRefreshAccessTokenHook&&!(await this._shouldRefreshAccessTokenHook(i,o))&&(r=!1),(!i||!o||o{e.wxOpenId&&e.wxPublicId&&(t=!0)})),{users:n,hasPrimaryUid:t}}setPrimaryUid(e){return this._request.send("auth.setPrimaryUid",{uid:e})}unlink(e){return this._request.send("auth.unlink",{platform:e})}async update(e){const{nickName:t,gender:n,avatarUrl:i,province:o,country:r,city:s}=e,{data:a}=await this._request.send("auth.updateUserInfo",{nickName:t,gender:n,avatarUrl:i,province:o,country:r,city:s});this.setLocalUserInfo(a)}async refresh(){const{data:e}=await this._request.send("auth.getUserInfo",{});return this.setLocalUserInfo(e),e}setUserInfo(){const{userInfoKey:e}=this._cache.keys,t=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((e=>{this[e]=t[e]})),this.location={country:t.country,province:t.province,city:t.city}}setLocalUserInfo(e){const{userInfoKey:t}=this._cache.keys;this._cache.setStore(t,e),this.setUserInfo()}}class pn{constructor(e){if(!e)throw new lt({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=zt(e);const{refreshTokenKey:t,accessTokenKey:n,accessTokenExpireKey:i}=this._cache.keys,o=this._cache.getStore(t),r=this._cache.getStore(n),s=this._cache.getStore(i);this.credential={refreshToken:o,accessToken:r,accessTokenExpire:s},this.user=new hn(e)}get isAnonymousAuth(){return this.loginType===nn.ANONYMOUS}get isCustomAuth(){return this.loginType===nn.CUSTOM}get isWeixinAuth(){return this.loginType===nn.WECHAT||this.loginType===nn.WECHAT_OPEN||this.loginType===nn.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class fn extends dn{async signIn(){this._cache.updatePersistence("local");const{anonymousUuidKey:e,refreshTokenKey:t}=this._cache.keys,n=this._cache.getStore(e)||void 0,i=this._cache.getStore(t)||void 0,o=await this._request.send("auth.signInAnonymously",{anonymous_uuid:n,refresh_token:i});if(o.uuid&&o.refresh_token){this._setAnonymousUUID(o.uuid),this.setRefreshToken(o.refresh_token),await this._request.refreshAccessToken(),Xt(Gt),Xt($t,{env:this.config.env,loginType:nn.ANONYMOUS,persistence:"local"});const e=new pn(this.config.env);return await e.user.refresh(),e}throw new lt({message:"匿名登录失败"})}async linkAndRetrieveDataWithTicket(e){const{anonymousUuidKey:t,refreshTokenKey:n}=this._cache.keys,i=this._cache.getStore(t),o=this._cache.getStore(n),r=await this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:i,refresh_token:o,ticket:e});if(r.refresh_token)return this._clearAnonymousUUID(),this.setRefreshToken(r.refresh_token),await this._request.refreshAccessToken(),Xt(en,{env:this.config.env}),Xt($t,{loginType:nn.CUSTOM,persistence:"local"}),{credential:{refreshToken:r.refresh_token}};throw new lt({message:"匿名转化失败"})}_setAnonymousUUID(e){const{anonymousUuidKey:t,loginTypeKey:n}=this._cache.keys;this._cache.removeStore(t),this._cache.setStore(t,e),this._cache.setStore(n,nn.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class gn extends dn{async signIn(e){if("string"!=typeof e)throw new lt({code:"PARAM_ERROR",message:"ticket must be a string"});const{refreshTokenKey:t}=this._cache.keys,n=await this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(t)||""});if(n.refresh_token)return this.setRefreshToken(n.refresh_token),await this._request.refreshAccessToken(),Xt(Gt),Xt($t,{env:this.config.env,loginType:nn.CUSTOM,persistence:this.config.persistence}),await this.refreshUserInfo(),new pn(this.config.env);throw new lt({message:"自定义登录失败"})}}class mn extends dn{async signIn(e,t){if("string"!=typeof e)throw new lt({code:"PARAM_ERROR",message:"email must be a string"});const{refreshTokenKey:n}=this._cache.keys,i=await this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:o,access_token:r,access_token_expire:s}=i;if(o)return this.setRefreshToken(o),r&&s?this.setAccessToken(r,s):await this._request.refreshAccessToken(),await this.refreshUserInfo(),Xt(Gt),Xt($t,{env:this.config.env,loginType:nn.EMAIL,persistence:this.config.persistence}),new pn(this.config.env);throw i.code?new lt({code:i.code,message:`邮箱登录失败: ${i.message}`}):new lt({message:"邮箱登录失败"})}async activate(e){return this._request.send("auth.activateEndUserMail",{token:e})}async resetPasswordWithToken(e,t){return this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:t})}}class yn extends dn{async signIn(e,t){if("string"!=typeof e)throw new lt({code:"PARAM_ERROR",message:"username must be a string"});"string"!=typeof t&&(t="",console.warn("password is empty"));const{refreshTokenKey:n}=this._cache.keys,i=await this._request.send("auth.signIn",{loginType:nn.USERNAME,username:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:o,access_token_expire:r,access_token:s}=i;if(o)return this.setRefreshToken(o),s&&r?this.setAccessToken(s,r):await this._request.refreshAccessToken(),await this.refreshUserInfo(),Xt(Gt),Xt($t,{env:this.config.env,loginType:nn.USERNAME,persistence:this.config.persistence}),new pn(this.config.env);throw i.code?new lt({code:i.code,message:`用户名密码登录失败: ${i.message}`}):new lt({message:"用户名密码登录失败"})}}class An{constructor(e){this.config=e,this._cache=zt(e.env),this._request=ln(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Jt($t,this._onLoginTypeChanged)}get currentUser(){const e=this.hasLoginState();return e&&e.user||null}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}anonymousAuthProvider(){return new fn(this.config)}customAuthProvider(){return new gn(this.config)}emailAuthProvider(){return new mn(this.config)}usernameAuthProvider(){return new yn(this.config)}async signInAnonymously(){return new fn(this.config).signIn()}async signInWithEmailAndPassword(e,t){return new mn(this.config).signIn(e,t)}signInWithUsernameAndPassword(e,t){return new yn(this.config).signIn(e,t)}async linkAndRetrieveDataWithTicket(e){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new fn(this.config)),Jt(en,this._onAnonymousConverted),await this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e)}async signOut(){if(this.loginType===nn.ANONYMOUS)throw new lt({message:"匿名用户不支持登出操作"});const{refreshTokenKey:e,accessTokenKey:t,accessTokenExpireKey:n}=this._cache.keys,i=this._cache.getStore(e);if(!i)return;const o=await this._request.send("auth.logout",{refresh_token:i});return this._cache.removeStore(e),this._cache.removeStore(t),this._cache.removeStore(n),Xt(Gt),Xt($t,{env:this.config.env,loginType:nn.NULL,persistence:this.config.persistence}),o}async signUpWithEmailAndPassword(e,t){return this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:t})}async sendPasswordResetEmail(e){return this._request.send("auth.sendPasswordResetEmail",{email:e})}onLoginStateChanged(e){Jt(Gt,(()=>{const t=this.hasLoginState();e.call(this,t)}));const t=this.hasLoginState();e.call(this,t)}onLoginStateExpired(e){Jt(Zt,e.bind(this))}onAccessTokenRefreshed(e){Jt(tn,e.bind(this))}onAnonymousConverted(e){Jt(en,e.bind(this))}onLoginTypeChanged(e){Jt($t,(()=>{const t=this.hasLoginState();e.call(this,t)}))}async getAccessToken(){return{accessToken:(await this._request.getAccessToken()).accessToken,env:this.config.env}}hasLoginState(){const{refreshTokenKey:e}=this._cache.keys;return this._cache.getStore(e)?new pn(this.config.env):null}async isUsernameRegistered(e){if("string"!=typeof e)throw new lt({code:"PARAM_ERROR",message:"username must be a string"});const{data:t}=await this._request.send("auth.isUsernameRegistered",{username:e});return t&&t.isRegistered}getLoginState(){return Promise.resolve(this.hasLoginState())}async signInWithTicket(e){return new gn(this.config).signIn(e)}shouldRefreshAccessToken(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}getUserInfo(){return this._request.send("auth.getUserInfo",{}).then((e=>e.code?e:{...e.data,requestId:e.seqId}))}getAuthHeader(){const{refreshTokenKey:e,accessTokenKey:t}=this._cache.keys,n=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(t)+"/@@/"+n}}_onAnonymousConverted(e){const{env:t}=e.data;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}_onLoginTypeChanged(e){const{loginType:t,persistence:n,env:i}=e.data;i===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,t))}}const vn=function(e,t){t=t||Lt();const n=ln(this.config.env),{cloudPath:i,filePath:o,onUploadProgress:r,fileType:s="image"}=e;return n.send("storage.getUploadMetadata",{path:i}).then((e=>{const{data:{url:a,authorization:c,token:u,fileId:l,cosFileId:d},requestId:h}=e,p={key:i,signature:c,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":u};n.upload({url:a,data:p,file:o,name:i,fileType:s,onUploadProgress:r}).then((e=>{201===e.statusCode?t(null,{fileID:l,requestId:h}):t(new lt({code:"STORAGE_REQUEST_FAIL",message:`STORAGE_REQUEST_FAIL: ${e.data}`}))})).catch((e=>{t(e)}))})).catch((e=>{t(e)})),t.promise},wn=function(e,t){t=t||Lt();const n=ln(this.config.env),{cloudPath:i}=e;return n.send("storage.getUploadMetadata",{path:i}).then((e=>{t(null,e)})).catch((e=>{t(e)})),t.promise},Sn=function({fileList:e},t){if(t=t||Lt(),!e||!Array.isArray(e))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};for(let i of e)if(!i||"string"!=typeof i)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"};const n={fileid_list:e};return ln(this.config.env).send("storage.batchDeleteFile",n).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},bn=function({fileList:e},t){t=t||Lt(),e&&Array.isArray(e)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});let n=[];for(let o of e)"object"==typeof o?(o.hasOwnProperty("fileID")&&o.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),n.push({fileid:o.fileID,max_age:o.maxAge})):"string"==typeof o?n.push({fileid:o}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"});const i={file_list:n};return ln(this.config.env).send("storage.batchGetDownloadUrl",i).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},kn=async function({fileID:e},t){const n=(await bn.call(this,{fileList:[{fileID:e,maxAge:600}]})).fileList[0];if("SUCCESS"!==n.code)return t?t(n):new Promise((e=>{e(n)}));const i=ln(this.config.env);let o=n.download_url;if(o=encodeURI(o),!t)return i.download({url:o});t(await i.download({url:o}))},En=function({name:e,data:t,query:n,parse:i,search:o},r){const s=r||Lt();let a;try{a=t?JSON.stringify(t):""}catch(u){return Promise.reject(u)}if(!e)return Promise.reject(new lt({code:"PARAM_ERROR",message:"函数名不能为空"}));const c={inQuery:n,parse:i,search:o,function_name:e,request_data:a};return ln(this.config.env).send("functions.invokeFunction",c).then((e=>{if(e.code)s(null,e);else{let n=e.data.response_data;if(i)s(null,{result:n,requestId:e.requestId});else try{n=JSON.parse(e.data.response_data),s(null,{result:n,requestId:e.requestId})}catch(t){s(new lt({message:"response data must be json"}))}}return s.promise})).catch((e=>{s(e)})),s.promise},In={timeout:15e3,persistence:"session"},Pn={};class Tn{constructor(e){this.config=e||this.config,this.authObj=void 0}init(e){switch(jt.adapter||(this.requestClient=new jt.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:`请求在${(e.timeout||5e3)/1e3}s内未完成,已中断`})),this.config={...In,...e},!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new Tn(this.config)}auth({persistence:e}={}){if(this.authObj)return this.authObj;const t=e||jt.adapter.primaryStorage||In.persistence;var n;return t!==this.config.persistence&&(this.config.persistence=t),function(e){const{env:t}=e;Dt[t]=new Mt(e),Ht[t]=new Mt({...e,persistence:"local"})}(this.config),n=this.config,un[n.env]=new cn(n),this.authObj=new An(this.config),this.authObj}on(e,t){return Jt.apply(this,[e,t])}off(e,t){return Yt.apply(this,[e,t])}callFunction(e,t){return En.apply(this,[e,t])}deleteFile(e,t){return Sn.apply(this,[e,t])}getTempFileURL(e,t){return bn.apply(this,[e,t])}downloadFile(e,t){return kn.apply(this,[e,t])}uploadFile(e,t){return vn.apply(this,[e,t])}getUploadMetadata(e,t){return wn.apply(this,[e,t])}registerExtension(e){Pn[e.name]=e}async invokeExtension(e,t){const n=Pn[e];if(!n)throw new lt({message:`扩展${e} 必须先注册`});return await n.invoke(t,this)}useAdapters(e){const{adapter:t,runtime:n}=function(e){const t=(n=e,"[object Array]"===Object.prototype.toString.call(n)?e:[e]);var n;for(const i of t){const{isMatch:e,genAdapter:t,runtime:n}=i;if(e())return{adapter:t(),runtime:n}}}(e)||{};t&&(jt.adapter=t),n&&(jt.runtime=n)}}var xn=new Tn;function Bn(e,t,n){void 0===n&&(n={});var i=/\?/.test(t),o="";for(var r in n)""===o?!i&&(t+="?"):o+="&",o+=r+"="+encodeURIComponent(n[r]);return/^http(s)?:\/\//.test(t+=o)?t:""+e+t}class Cn{post(e){const{url:t,data:n,headers:i}=e;return new Promise(((e,o)=>{dt.request({url:Bn("https:",t),data:n,method:"POST",header:i,success(t){e(t)},fail(e){o(e)}})}))}upload(e){return new Promise(((t,n)=>{const{url:i,file:o,data:r,headers:s,fileType:a}=e,c=dt.uploadFile({url:Bn("https:",i),name:"file",formData:Object.assign({},r),filePath:o,fileType:a,header:s,success(e){const n={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&r.success_action_status&&(n.statusCode=parseInt(r.success_action_status,10)),t(n)},fail(e){n(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((t=>{e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}const Un={setItem(e,t){dt.setStorageSync(e,t)},getItem:e=>dt.getStorageSync(e),removeItem(e){dt.removeStorageSync(e)},clear(){dt.clearStorageSync()}};var On={genAdapter:function(){return{root:{},reqClass:Cn,localStorage:Un,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};xn.useAdapters(On);const Ln=xn,Nn=Ln.init;Ln.init=function(e){e.env=e.spaceId;const t=Nn.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;const n=t.auth;return t.auth=function(e){const t=n.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((e=>{var n;t[e]=(n=t[e],function(e){e=e||{};const{success:t,fail:i,complete:o}=ut(e);if(!(t||i||o))return n.call(this,e);n.call(this,e).then((e=>{t&&t(e),o&&o(e)}),(e=>{i&&i(e),o&&o(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var Fn=Ln,Qn=class extends Et{getAccessToken(){return new Promise(((e,t)=>{const n="Anonymous_Access_token";this.setAccessToken(n),e(n)}))}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};"auth"!==t&&(n.token=this.accessToken,i["x-basement-token"]=this.accessToken),i["x-serverless-sign"]=St(n,this.config.clientSecret);const o=wt();i["x-client-info"]=encodeURIComponent(JSON.stringify(o));const{token:r}=pt();return i["x-client-token"]=r,{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:JSON.parse(JSON.stringify(i))}}uploadFileToOSS({url:e,formData:t,name:n,filePath:i,fileType:o,onUploadProgress:r}){return new Promise(((s,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:i,fileType:o,success(e){e&&e.statusCode<400?s(e):a(new lt({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new lt({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof r&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((e=>{r({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}uploadFile({filePath:e,cloudPath:t,fileType:n="image",onUploadProgress:i}){if(!t)throw new lt({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});let o;return this.getOSSUploadOptionsFromPath({cloudPath:t}).then((t=>{const{url:r,formData:s,name:a}=t.result;o=t.result.fileUrl;const c={url:r,formData:s,name:a,filePath:e,fileType:n};return this.uploadFileToOSS(Object.assign({},c,{onUploadProgress:i}))})).then((()=>this.reportOSSUpload({cloudPath:t}))).then((t=>new Promise(((n,i)=>{t.success?n({success:!0,filePath:e,fileID:o}):i(new lt({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))))}deleteFile({fileList:e}){const t={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(this.setupRequest(t)).then((e=>{if(e.success)return e.result;throw new lt({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}getTempFileURL({fileList:e,maxAge:t}={}){if(!Array.isArray(e)||0===e.length)throw new lt({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:t})};return this.request(this.setupRequest(n)).then((e=>{if(e.success)return{fileList:e.result.fileList.map((e=>({fileID:e.fileID,tempFileURL:e.tempFileURL})))};throw new lt({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}},jn={init(e){const t=new Qn(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},_n=we((function(e,t){e.exports=be.enc.Hex}));function Rn(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function qn(e="",t={}){const{data:n,functionName:i,method:o,headers:r,signHeaderKeys:s=[],config:a}=t,c=Date.now(),u=Rn(),l=Object.assign({},r,{"x-from-app-id":a.spaceAppId,"x-from-env-id":a.spaceId,"x-to-env-id":a.spaceId,"x-from-instance-id":c,"x-from-function-name":i,"x-client-timestamp":c,"x-alipay-source":"client","x-request-id":u,"x-alipay-callid":u,"x-trace-id":u}),d=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(s),[h="",p=""]=e.split("?")||[],f=function(e){const t=e.signedHeaders.join(";"),n=e.signedHeaders.map((t=>`${t.toLowerCase()}:${e.headers[t]}\n`)).join(""),i=Ut(e.body).toString(_n),o=`${e.method.toUpperCase()}\n${e.path}\n${e.query}\n${n}\n${t}\n${i}\n`,r=Ut(o).toString(_n),s=`HMAC-SHA256\n${e.timestamp}\n${r}\n`,a=Ot(s,e.secretKey).toString(_n);return`HMAC-SHA256 Credential=${e.secretId}, SignedHeaders=${t}, Signature=${a}`}({path:h,query:p,method:o,headers:l,timestamp:c,body:JSON.stringify(n),secretId:a.accessKey,secretKey:a.secretKey,signedHeaders:d.sort()});return{url:`${a.endpoint}${e}`,headers:Object.assign({},l,{Authorization:f})}}function Mn({url:e,data:t,method:n="POST",headers:i={}}){return new Promise(((o,r)=>{dt.request({url:e,method:n,data:"object"==typeof t?JSON.stringify(t):t,header:i,dataType:"json",complete:(e={})=>{const t=i["x-trace-id"]||"";if(!e.statusCode||e.statusCode>=400){const{message:n,errMsg:i,trace_id:o}=e.data||{};return r(new lt({code:"SYS_ERR",message:n||i||"request:fail",requestId:o||t}))}o({status:e.statusCode,data:e.data,headers:e.header,requestId:t})}})}))}function Dn(e,t){const{path:n,data:i,method:o="GET"}=e,{url:r,headers:s}=qn(n,{functionName:"",data:i,method:o,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t});return Mn({url:r,data:i,method:o,headers:s}).then((e=>{const t=e.data||{};if(!t.success)throw new lt({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((e=>{throw new lt({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function Hn(e=""){const t=e.trim().replace(/^cloud:\/\//,""),n=t.indexOf("/");if(n<=0)throw new lt({code:"INVALID_PARAM",message:"fileID不合法"});const i=t.substring(0,n),o=t.substring(n+1);return i!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),o}function zn(e=""){return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}class Vn{constructor(e){this.config=e}signedURL(e,t={}){const n=`/ws/function/${e}`,i=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),o=Object.assign({},t,{accessKeyId:this.config.accessKey,signatureNonce:Rn(),timestamp:""+Date.now()}),r=[n,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(e){return o[e]?"".concat(e,"=").concat(o[e]):null})).filter(Boolean).join("&"),`host:${i}`].join("\n"),s=["HMAC-SHA256",Ut(r).toString(_n)].join("\n"),a=Ot(s,this.config.secretKey).toString(_n),c=Object.keys(o).map((e=>`${e}=${encodeURIComponent(o[e])}`)).join("&");return`${this.config.wsEndpoint}${n}?${c}&signature=${a}`}}var Kn={init:e=>{e.provider="alipay";const t=new class{constructor(e){if(["spaceId","spaceAppId","accessKey","secretKey"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),e.endpoint){if("string"!=typeof e.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||`https://${e.spaceId}.api-hz.cloudbasefunction.cn`,wsEndpoint:e.wsEndpoint||`wss://${e.spaceId}.api-hz.cloudbasefunction.cn`}),this._websocket=new Vn(this.config)}callFunction(e){return function(e,t){const{name:n,data:i,async:o=!1}=e,r="POST",s={"x-to-function-name":n};o&&(s["x-function-invoke-type"]="async");const{url:a,headers:c}=qn("/functions/invokeFunction",{functionName:n,data:i,method:r,headers:s,signHeaderKeys:["x-to-function-name"],config:t});return Mn({url:a,data:i,method:r,headers:c}).then((e=>{let t=0;if(o){const n=e.data||{};t="200"===n.errCode?0:n.errCode,e.data=n.data||{},e.errMsg=n.errMsg}if(0!==t)throw new lt({code:t,message:e.errMsg,requestId:e.requestId});return{errCode:t,success:0===t,requestId:e.requestId,result:e.data}})).catch((e=>{throw new lt({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}uploadFileToOSS({url:e,filePath:t,fileType:n,formData:i,onUploadProgress:o}){return new Promise(((r,s)=>{const a=dt.uploadFile({url:e,filePath:t,fileType:n,formData:i,name:"file",success(e){e&&e.statusCode<400?r(e):s(new lt({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){s(new lt({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof o&&a&&"function"==typeof a.onProgressUpdate&&a.onProgressUpdate((e=>{o({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}async uploadFile({filePath:e,cloudPath:t="",fileType:n="image",onUploadProgress:i}){if("string"!==Be(t))throw new lt({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new lt({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new lt({code:"INVALID_PARAM",message:"cloudPath不合法"});const o=await Dn({path:"/".concat(t.replace(/^\//,""),"?post_url")},this.config),{file_id:r,upload_url:s,form_data:a}=o,c=a&&a.reduce(((e,t)=>(e[t.key]=t.value,e)),{});return this.uploadFileToOSS({url:s,filePath:e,fileType:n,formData:c,onUploadProgress:i}).then((()=>({fileID:r})))}async getTempFileURL({fileList:e}){return new Promise(((t,n)=>{(!e||e.length<0)&&n(new lt({errCode:"INVALID_PARAM",errMsg:"fileList不能为空数组"})),e.length>50&&n(new lt({errCode:"INVALID_PARAM",errMsg:"fileList数组长度不能超过50"}));const i=[];for(const o of e){"string"!==Be(o)&&n(new lt({errCode:"INVALID_PARAM",errMsg:"fileList的元素必须是非空的字符串"}));const e=Hn.call(this,o);i.push({file_id:e,expire:600})}Dn({path:"/?download_url",data:{file_list:i},method:"POST"},this.config).then((e=>{const{file_list:n=[]}=e;t({fileList:n.map((e=>({fileID:zn.call(this,e.file_id),tempFileURL:e.download_url})))})})).catch((e=>n(e)))}))}async connectWebSocket(e){const{name:t,query:n}=e;return dt.connectSocket({url:this._websocket.signedURL(t,n),complete:()=>{}})}}(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function Wn({data:e}){let t;t=wt();const n=JSON.parse(JSON.stringify(e||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){const{token:e}=pt();e&&(n.uniIdToken=e)}return n}const Jn=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var Xn=/[\\^$.*+?()[\]{}|]/g,Yn=RegExp(Xn.source);function Gn(e,t,n){return e.replace(new RegExp((i=t)&&Yn.test(i)?i.replace(Xn,"\\$&"):i,"g"),n);var i}const Zn=2e4,$n={code:20101,message:"Invalid client"};function ei(e){const{errSubject:t,subject:n,errCode:i,errMsg:o,code:r,message:s,cause:a}=e||{};return new lt({subject:t||n||"uni-secure-network",code:i||r||Zn,message:o||s,cause:a})}let ti;function ni({secretType:e}={}){return"request"===e||"response"===e||"both"===e}function ii({name:e,data:t={}}={}){return"DCloud-clientDB"===e&&"encryption"===t.redirectTo&&"getAppClientKey"===t.action}function oi({functionName:e,result:t,logPvd:n}){}function ri(e){const t=e.callFunction,n=function(n){const i=n.name;n.data=Wn.call(e,{data:n.data});const o={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay"}[this.config.provider],r=ni(n),s=ii(n),a=r||s;return t.call(this,n).then((e=>(e.errCode=0,!a&&oi.call(this,{functionName:i,result:e,logPvd:o}),Promise.resolve(e))),(e=>(!a&&oi.call(this,{functionName:i,result:e,logPvd:o}),e&&e.message&&(e.message=function({message:e="",extraInfo:t={},formatter:n=[]}={}){for(let i=0;in.provider===e&&n.spaceId===t));return i&&i.config}({provider:e,spaceId:t});if(!a||!a.accessControl||!a.accessControl.enable)return!1;const c=a.accessControl.function||{},u=Object.keys(c);if(0===u.length)return!0;const l=function(e,t){let n,i,o;for(let r=0;re.trim())).indexOf(t)>-1&&(i=s):o=s:n=s}return n||i||o}(u,n);if(!l)return!1;if((c[l]||[]).find(((e={})=>e.appId===i&&(e.platform||"").toLowerCase()===s.toLowerCase())))return!0;throw console.error(`此应用[appId: ${i}, platform: ${s}]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client`),ei($n)}({provider:i,spaceId:o,functionName:r})?new ti({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(t):s(t),Object.defineProperty(a,"result",{get:()=>(console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{})}),a.then((e=>("undefined"!=typeof UTSJSONObject&&(e.result=new UTSJSONObject(e.result)),e)))}}ti=class{constructor(){throw ei({message:"Platform app is not enabled, please check whether secure network module is enabled in your manifest.json"})}};const si=Symbol("CLIENT_DB_INTERNAL");function ai(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=si,e.inspect=null,e.__v_raw=void 0,new Proxy(e,{get(e,n,i){if("_uniClient"===n)return null;if("symbol"==typeof n)return e[n];if(n in e||"string"!=typeof n){const t=e[n];return"function"==typeof t?t.bind(e):t}return t.get(e,n,i)}})}function ci(e){return{on:(t,n)=>{e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:(t,n)=>{e[t]=e[t]||[];const i=e[t].indexOf(n);-1!==i&&e[t].splice(i,1)}}}const ui=["db.Geo","db.command","command.aggregate"];function li(e,t){return ui.indexOf(`${e}.${t}`)>-1}function di(e){switch(Be(e=ht(e))){case"array":return e.map((e=>di(e)));case"object":return e._internalType===si||Object.keys(e).forEach((t=>{e[t]=di(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function hi(e){return e&&e.content&&e.content.$method}class pi{constructor(e,t,n){this.content=e,this.prevStage=t||null,this.udb=null,this._database=n}toJSON(){let e=this;const t=[e.content];for(;e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((e=>({$method:e.$method,$param:di(e.$param)})))}}toString(){return JSON.stringify(this.toJSON())}getAction(){const e=this.toJSON().$db.find((e=>"action"===e.$method));return e&&e.$param&&e.$param[0]}getCommand(){return{$db:this.toJSON().$db.filter((e=>"action"!==e.$method))}}get isAggregate(){let e=this;for(;e;){const t=hi(e),n=hi(e.prevStage);if("aggregate"===t&&"collection"===n||"pipeline"===t)return!0;e=e.prevStage}return!1}get isCommand(){let e=this;for(;e;){if("command"===hi(e))return!0;e=e.prevStage}return!1}get isAggregateCommand(){let e=this;for(;e;){const t=hi(e),n=hi(e.prevStage);if("aggregate"===t&&"command"===n)return!0;e=e.prevStage}return!1}getNextStageFn(e){const t=this;return function(){return fi({$method:e,$param:di(Array.from(arguments))},t,t._database)}}get count(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}get remove(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}get(){return this._send("get",Array.from(arguments))}get add(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}update(){return this._send("update",Array.from(arguments))}end(){return this._send("end",Array.from(arguments))}get set(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}_send(e,t){const n=this.getAction(),i=this.getCommand();return i.$db.push({$method:e,$param:di(t)}),this._database._callCloudFunction({action:n,command:i})}}function fi(e,t,n){return ai(new pi(e,t,n),{get(e,t){let i="db";return e&&e.content&&(i=e.content.$method),li(i,t)?fi({$method:t},e,n):function(){return fi({$method:t,$param:di(Array.from(arguments))},e,n)}}})}function gi({path:e,method:t}){return class{constructor(){this.param=Array.from(arguments)}toJSON(){return{$newDb:[...e.map((e=>({$method:e}))),{$method:t,$param:this.param}]}}toString(){return JSON.stringify(this.toJSON())}}}function mi(e,t={}){return ai(new e(t),{get:(e,t)=>li("db",t)?fi({$method:t},null,e):function(){return fi({$method:t,$param:di(Array.from(arguments))},null,e)}})}class yi extends class{constructor({uniClient:e={},isJQL:t=!1}={}){this._uniClient=e,this._authCallBacks={},this._dbCallBacks={},e._isDefault&&(this._dbCallBacks=Me("_globalUniCloudDatabaseCallback")),t||(this.auth=ci(this._authCallBacks)),this._isJQL=t,Object.assign(this,ci(this._dbCallBacks)),this.env=ai({},{get:(e,t)=>({$env:t})}),this.Geo=ai({},{get:(e,t)=>gi({path:["Geo"],method:t})}),this.serverDate=gi({path:[],method:"serverDate"}),this.RegExp=gi({path:[],method:"RegExp"})}getCloudEnv(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}_callback(e,t){const n=this._dbCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}_callbackAuth(e,t){const n=this._authCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}multiSend(){const e=Array.from(arguments),t=e.map((e=>{const t=e.getAction(),n=e.getCommand();if("getTemp"!==n.$db[n.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:n}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}{_parseResult(e){return this._isJQL?e.result:e}_callCloudFunction({action:e,command:t,multiCommand:n,queryList:i}){function o(e,t){if(n&&i)for(let n=0;nKe(We(s,"complete"),e))).then((()=>(o(null,e),rt(Ye,{type:$e,content:e}),Promise.reject(e))))}const c=Ke(We(s,"invoke")),u=this._uniClient;return c.then((()=>u.callFunction({name:"DCloud-clientDB",type:"CLIENT_DB",data:{action:e,command:t,multiCommand:n}}))).then((e=>{const{code:t,message:n,token:i,tokenExpired:c,systemInfo:u=[]}=e.result;if(u)for(let o=0;o(console.warn(n),i)})}}return d=e,Ke(We(s,"success"),d).then((()=>Ke(We(s,"complete"),d))).then((()=>{o(d,null);const e=r._parseResult(d);return rt(Ye,{type:$e,content:e}),Promise.resolve(e)}));var d}),(e=>(/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"),a(new lt({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId})))))}}const Ai="token无效,跳转登录页面",vi="token过期,跳转登录页面",wi={TOKEN_INVALID_TOKEN_EXPIRED:vi,TOKEN_INVALID_INVALID_CLIENTID:Ai,TOKEN_INVALID:Ai,TOKEN_INVALID_WRONG_TOKEN:Ai,TOKEN_INVALID_ANONYMOUS_USER:Ai},Si={"uni-id-token-expired":vi,"uni-id-check-token-failed":Ai,"uni-id-token-not-exist":Ai,"uni-id-check-device-feature-failed":Ai};function bi(e,t){let n="";return n=e?`${e}/${t}`:t,n.replace(/^\//,"")}function ki(e=[],t=""){const n=[],i=[];return e.forEach((e=>{!0===e.needLogin?n.push(bi(t,e.path)):!1===e.needLogin&&i.push(bi(t,e.path))})),{needLoginPage:n,notNeedLoginPage:i}}function Ei(e){return e.split("?")[0].replace(/^\//,"")}function Ii(){return function(e){let t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){const e=getCurrentPages();return e[e.length-1]}())}function Pi(){return Ei(Ii())}function Ti(e="",t={}){if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;const n=t.list,i=Ei(e);return n.some((e=>e.pagePath===i))}const xi=!!ve.uniIdRouter,{loginPage:Bi,routerNeedLogin:Ci,resToLogin:Ui,needLoginPage:Oi,notNeedLoginPage:Li,loginPageInTabBar:Ni}=function({pages:e=[],subPackages:t=[],uniIdRouter:n={},tabBar:i={}}=ve){const{loginPage:o,needLogin:r=[],resToLogin:s=!0}=n,{needLoginPage:a,notNeedLoginPage:c}=ki(e),{needLoginPage:u,notNeedLoginPage:l}=function(e=[]){const t=[],n=[];return e.forEach((e=>{const{root:i,pages:o=[]}=e,{needLoginPage:r,notNeedLoginPage:s}=ki(o,i);t.push(...r),n.push(...s)})),{needLoginPage:t,notNeedLoginPage:n}}(t);return{loginPage:o,routerNeedLogin:r,resToLogin:s,needLoginPage:[...a,...u],notNeedLoginPage:[...c,...l],loginPageInTabBar:Ti(o,i)}}();if(Oi.indexOf(Bi)>-1)throw new Error(`Login page [${Bi}] should not be "needLogin", please check your pages.json`);function Fi(e){const t=Pi();if("/"===e.charAt(0))return e;const[n,i]=e.split("?"),o=n.replace(/^\//,"").split("/"),r=t.split("/");r.pop();for(let s=0;s-1?i+`&uniIdRedirectUrl=${encodeURIComponent(o)}`:i+`?uniIdRedirectUrl=${encodeURIComponent(o)}`:i);var i,o;Ni?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");const r={navigateTo:uni.navigateTo,redirectTo:uni.redirectTo,switchTab:uni.switchTab,reLaunch:uni.reLaunch};setTimeout((()=>{r[e]({url:n})}),0)}function _i({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){const{token:e,tokenExpired:t}=pt();let n;if(e){if(t-1)&&(Oi.indexOf(t)>-1||Ci.some((t=>{return n=e,new RegExp(t).test(n);var n})))}(e)&&n){if(n.uniIdRedirectUrl=e,nt(Ge).length>0)return setTimeout((()=>{rt(Ge,n)}),0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function Ri(){!function(){const e=Ii(),{abortLoginPageJump:t,autoToLoginPage:n}=_i({url:e});t||n&&ji({api:"redirectTo",redirect:e})}();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t{const{type:t,content:n}=e;let i=!1;switch(t){case"cloudobject":i=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in Si}(n);break;case"clientdb":i=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in wi}(n)}i&&function(e={}){const t=nt(Ge);ct().then((()=>{const n=Ii();if(n&&Qi({redirect:n}))return t.length>0?rt(Ge,Object.assign({uniIdRedirectUrl:n},e)):void(Bi&&ji({api:"navigateTo",redirect:n}))}))}(n)}))}function Mi(e){var t;(t=e).onResponse=function(e){it(Ye,e)},t.offResponse=function(e){ot(Ye,e)},function(e){e.onNeedLogin=function(e){it(Ge,e)},e.offNeedLogin=function(e){ot(Ge,e)},xi&&(Me("_globalUniCloudStatus").needLoginInit||(Me("_globalUniCloudStatus").needLoginInit=!0,ct().then((()=>{Ri.call(e)})),Ui&&qi.call(e)))}(e),function(e){e.onRefreshToken=function(e){it(Ze,e)},e.offRefreshToken=function(e){ot(Ze,e)}}(e)}let Di;const Hi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",zi=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function Vi(){const e=pt().token||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((i=t[1],decodeURIComponent(Di(i).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}var i;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}Di="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!zi.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,i,o="",r=0;r>16&255):64===i?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}:atob;var Ki=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(we((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n="chooseAndUploadFile:ok",i="chooseAndUploadFile:fail";function o(e,t){return e.tempFiles.forEach(((e,n)=>{e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+n+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((e=>e.path))),e}function r(e,t,{onChooseFile:i,onUploadProgress:o}){return t.then((e=>{if(i){const t=i(e);if(void 0!==t)return Promise.resolve(t).then((t=>void 0===t?e:t))}return e})).then((t=>!1===t?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(e,t,i=5,o){(t=Object.assign({},t)).errMsg=n;const r=t.tempFiles,s=r.length;let a=0;return new Promise((n=>{for(;a=s)return void(!r.find((e=>!e.url&&!e.errMsg))&&n(t));const u=r[i];e.uploadFile({provider:u.provider,filePath:u.path,cloudPath:u.cloudPath,fileType:u.fileType,cloudPathAsRealPath:u.cloudPathAsRealPath,onUploadProgress(e){e.index=i,e.tempFile=u,e.tempFilePath=u.path,o&&o(e)}}).then((e=>{u.url=e.fileID,i{u.errMsg=e.errMsg||e.message,i{uni.chooseImage({count:t,sizeType:n,sourceType:r,extension:s,success(t){e(o(t,"image"))},fail(e){a({errMsg:e.errMsg.replace("chooseImage:fail",i)})}})}))}(t),t):"video"===t.type?r(e,function(e){const{camera:t,compressed:n,maxDuration:r,sourceType:s=["album","camera"],extension:a}=e;return new Promise(((e,c)=>{uni.chooseVideo({camera:t,compressed:n,maxDuration:r,sourceType:s,extension:a,success(t){const{tempFilePath:n,duration:i,size:r,height:s,width:a}=t;e(o({errMsg:"chooseVideo:ok",tempFilePaths:[n],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:n,size:r,type:t.tempFile&&t.tempFile.type||"",width:a,height:s,duration:i,fileType:"video",cloudPath:""}]},"video"))},fail(e){c({errMsg:e.errMsg.replace("chooseVideo:fail",i)})}})}))}(t),t):r(e,function(e){const{count:t,extension:n}=e;return new Promise(((e,r)=>{let s=uni.chooseFile;if("undefined"!=typeof wx&&"function"==typeof wx.chooseMessageFile&&(s=wx.chooseMessageFile),"function"!=typeof s)return r({errMsg:i+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});s({type:"all",count:t,extension:n,success(t){e(o(t))},fail(e){r({errMsg:e.errMsg.replace("chooseFile:fail",i)})}})}))}(t),t)}}})));function Wi(e){return{props:{localdata:{type:Array,default:()=>[]},options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:()=>({mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}),created(){this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((()=>{var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((t=>{e.push(this[t])})),e}),((e,t)=>{if("manual"===this.loadtime)return;let n=!1;const i=[];for(let o=2;o{this.mixinDatacomLoading=!1;const{data:i,count:o}=n.result;this.getcount&&(this.mixinDatacomPage.count=o),this.mixinDatacomHasMore=i.length{this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=e,this.mixinDatacomError=e,n&&n(e)})))},mixinDatacomGet(t={}){let n;t=t||{},n="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);const i=t.action||this.action;i&&(n=n.action(i));const o=t.collection||this.collection;n=Array.isArray(o)?n.collection(...o):n.collection(o);const r=t.where||this.where;r&&Object.keys(r).length&&(n=n.where(r));const s=t.field||this.field;s&&(n=n.field(s));const a=t.foreignKey||this.foreignKey;a&&(n=n.foreignKey(a));const c=t.groupby||this.groupby;c&&(n=n.groupBy(c));const u=t.groupField||this.groupField;u&&(n=n.groupField(u)),!0===(void 0!==t.distinct?t.distinct:this.distinct)&&(n=n.distinct());const l=t.orderby||this.orderby;l&&(n=n.orderBy(l));const d=void 0!==t.pageCurrent?t.pageCurrent:this.mixinDatacomPage.current,h=void 0!==t.pageSize?t.pageSize:this.mixinDatacomPage.size,p=void 0!==t.getcount?t.getcount:this.getcount,f=void 0!==t.gettree?t.gettree:this.gettree,g=void 0!==t.gettreepath?t.gettreepath:this.gettreepath,m={getCount:p},y={limitLevel:void 0!==t.limitlevel?t.limitlevel:this.limitlevel,startWith:void 0!==t.startwith?t.startwith:this.startwith};return f&&(m.getTree=y),g&&(m.getTreePath=y),n=n.skip(h*(d-1)).limit(h).get(m),n}}}}function Ji(e){return Me("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}async function Xi({openid:e,callLoginByWeixin:t=!1}={}){throw Ji(this),new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `app`")}async function Yi(e){const t=Ji(this);return t.initPromise||(t.initPromise=Xi.call(this,e).then((e=>e)).catch((e=>{throw delete t.initPromise,e}))),t.initPromise}function Gi(e){vt=e}function Zi(e){const t={getSystemInfo:uni.getSystemInfo,getPushClientId:uni.getPushClientId};return function(n){return new Promise(((i,o)=>{t[e]({...n,success(e){i(e)},fail(e){o(e)}})}))}}class $i extends class{constructor(){this._callback={}}addListener(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}on(e,t){return this.addListener(e,t)}removeListener(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');const n=this._callback[e];if(!n)return;const i=function(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]===t)return n;return-1}(n,t);n.splice(i,1)}off(e,t){return this.removeListener(e,t)}removeAllListener(e){delete this._callback[e]}emit(e,...t){const n=this._callback[e];if(n)for(let i=0;i{if(!e)throw new Error("Invalid appId, please check the manifest.json file");if(!t)throw new Error("Invalid push client id");this._appId=e,this._pushClientId=t,this._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),this.emit("open"),this._initMessageListener()}),(e=>{throw this.emit("error",e),this.close(),e}))}async open(){return this.init()}_isUniCloudSSE(e){if("receive"!==e.type)return!1;const t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}_receivePushMessage(e){if(!this._isUniCloudSSE(e))return;const t=e&&e.data&&e.data.payload,{action:n,messageId:i,message:o}=t;this._payloadQueue.push({action:n,messageId:i,message:o}),this._consumMessage()}_consumMessage(){for(;;){const e=this._payloadQueue.find((e=>e.messageId===this._currentMessageId+1));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}_parseMessagePayload(e){const{action:t,messageId:n,message:i}=e;"end"===t?this._end({messageId:n,message:i}):"message"===t&&this._appendMessage({messageId:n,message:i})}_appendMessage({messageId:e,message:t}={}){this.emit("message",t)}_end({messageId:e,message:t}={}){this.emit("end",t),this.close()}_initMessageListener(){uni.onPushMessage(this._uniPushMessageCallback)}_destroy(){uni.offPushMessage(this._uniPushMessageCallback)}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}const eo={tcb:Fn,tencent:Fn,aliyun:It,private:jn,alipay:Kn};let to=new class{init(e){let t={};const n=eo[e.provider];if(!n)throw new Error("未提供正确的provider参数");var i;return t=n.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new Fe({createPromise:function(){let t=Promise.resolve();t=new Promise((e=>{setTimeout((()=>{e()}),1)}));const n=e.auth();return t.then((()=>n.getLoginState())).then((e=>e?Promise.resolve():n.signInAnonymously()))}}))}(t),ri(t),function(e){const t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),(i=t).database=function(e){if(e&&Object.keys(e).length>0)return i.init(e).database();if(this._database)return this._database;const t=mi(yi,{uniClient:i});return this._database=t,t},i.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return i.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;const t=mi(yi,{uniClient:i,isJQL:!0});return this._databaseForJQL=t,t},function(e){e.getCurrentUserInfo=Vi,e.chooseAndUploadFile=Ki.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return Wi(e)}}),e.SSEChannel=$i,e.initSecureNetworkByWeixin=function(e){return function({openid:t,callLoginByWeixin:n=!1}={}){return Yi.call(e,{openid:t,callLoginByWeixin:n})}}(e),e.setCustomClientInfo=Gi,e.importObject=function(t){return function(n,i={}){i=function(e,t={}){return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==typeof t.secretMethods&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},i);const{customUI:o,loadingOptions:r,errorOptions:s,parseSystemError:a}=i,c=!o;return new Proxy({},{get(o,u){switch(u){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function({fn:e,interceptorName:t,getCallbackArgs:n}={}){return async function(...i){const o=n?n({params:i}):{};let r,s;try{return await Ke(We(t,"invoke"),{...o}),r=await e(...i),await Ke(We(t,"success"),{...o,result:r}),r}catch(a){throw s=a,await Ke(We(t,"fail"),{...o,error:s}),s}finally{await Ke(We(t,"complete"),s?{...o,error:s}:{...o,result:r})}}}({fn:async function o(...l){let d;c&&uni.showLoading({title:r.title,mask:r.mask});const h={name:n,type:"OBJECT",data:{method:u,params:l}};"object"==typeof i.secretMethods&&function(e,t){const n=t.data.method,i=e.secretMethods||{},o=i[n]||i["*"];o&&(t.secretType=o)}(i,h);let p=!1;try{d=await t.callFunction(h)}catch(e){p=!0,d={result:new lt(e)}}const{errSubject:f,errCode:g,errMsg:m,newToken:y}=d.result||{};if(c&&uni.hideLoading(),y&&y.token&&y.tokenExpired&&(ft(y),rt(Ze,{...y})),g){let e=m;if(p&&a&&(e=(await a({objectName:n,methodName:u,params:l,errSubject:f,errCode:g,errMsg:m})).errMsg||m),c)if("toast"===s.type)uni.showToast({title:e,icon:"none"});else{if("modal"!==s.type)throw new Error(`Invalid errorOptions.type: ${s.type}`);{const{confirm:t}=await async function({title:e,content:t,showCancel:n,cancelText:i,confirmText:o}={}){return new Promise(((r,s)=>{uni.showModal({title:e,content:t,showCancel:n,cancelText:i,confirmText:o,success(e){r(e)},fail(){r({confirm:!1,cancel:!0})}})}))}({title:"提示",content:e,showCancel:s.retry,cancelText:"取消",confirmText:s.retry?"重试":"确定"});if(s.retry&&t)return o(...l)}}const t=new lt({subject:f,code:g,message:m,requestId:d.requestId});throw t.detail=d.result,rt(Ye,{type:tt,content:t}),t}return rt(Ye,{type:tt,content:d.result}),d.result},interceptorName:"callObject",getCallbackArgs:function({params:e}={}){return{objectName:n,methodName:u,params:e}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((e=>{if(!t[e])return;const n=t[e];t[e]=function(){return n.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(n){let i=!1;if("callFunction"===t){const e=n&&n.type||Pe;i=e!==Pe}const o="callFunction"===t&&!i,r=this._initPromiseHub.exec();n=n||{};const{success:s,fail:a,complete:c}=ut(n),u=r.then((()=>i?Promise.resolve():Ke(We(t,"invoke"),n))).then((()=>e.call(this,n))).then((e=>i?Promise.resolve(e):Ke(We(t,"success"),e).then((()=>Ke(We(t,"complete"),e))).then((()=>(o&&rt(Ye,{type:et,content:e}),Promise.resolve(e))))),(e=>i?Promise.reject(e):Ke(We(t,"fail"),e).then((()=>Ke(We(t,"complete"),e))).then((()=>(rt(Ye,{type:et,content:e}),Promise.reject(e))))));if(!(s||a||c))return u;u.then((e=>{s&&s(e),c&&c(e),o&&rt(Ye,{type:et,content:e})}),(e=>{a&&a(e),c&&c(e),o&&rt(Ye,{type:et,content:e})}))}}(t[e],e).bind(t)})),t.init=this.init,t}};(()=>{const e=_e;let t={};if(e&&1===e.length)t=e[0],to=to.init(t),to._isDefault=!0;else{const t=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"];let n;n=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",t.forEach((e=>{to[e]=function(){return console.error(n),Promise.reject(new lt({code:"SYS_ERR",message:n}))}}))}Object.assign(to,{get mixinDatacom(){return Wi(to)}}),Mi(to),to.addInterceptor=ze,to.removeInterceptor=Ve,to.interceptObject=Je})();const{app:no,Vuex:io,Pinia:oo}={app:e.createVueApp(Ae)};uni.Vuex=io,uni.Pinia=oo,no.provide("__globalStyles",__uniConfig.styles),no._component.mpType="app",no._component.render=()=>{},no.mount("#app")}(Vue); diff --git a/unpackage/cache/wgt/__UNI__4796942/manifest.json b/unpackage/cache/wgt/__UNI__4796942/manifest.json index cac3560..ab24be8 100644 --- a/unpackage/cache/wgt/__UNI__4796942/manifest.json +++ b/unpackage/cache/wgt/__UNI__4796942/manifest.json @@ -1 +1 @@ -{"@platforms":["android","iPhone","iPad"],"id":"__UNI__4796942","name":"oa考勤系统","version":{"name":"2.0.4","code":204},"description":"","developer":{"name":"","email":"","url":""},"permissions":{"Camera":{},"Geolocation":{},"Maps":{"coordType":"gcj02"},"Push":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"D:\\WebstormProjects\\oa-base\\unpackage\\res\\icons\\72x72.png","xhdpi":"D:\\WebstormProjects\\oa-base\\unpackage\\res\\icons\\96x96.png","xxhdpi":"D:\\WebstormProjects\\oa-base\\unpackage\\res\\icons\\144x144.png","xxxhdpi":"D:\\WebstormProjects\\oa-base\\unpackage\\res\\icons\\192x192.png"},"ios":{"appstore":"appstore.png","ipad":{"app":"icon-ipad-app.png","app@2x":"icon-ipad-app@2x.png","notification":"icon-ipad-notification.png","notification@2x":"icon-ipad-notification@2x.png","proapp@2x":"icon-ipad-proapp@2x.png","settings":"icon-ipad-settings.png","settings@2x":"icon-ipad-settings@2x.png","spotlight":"icon-ipad-spotlight.png","spotlight@2x":"icon-ipad-spotlight@2x.png"},"iphone":{"app@2x":"icon-iphone-app@2x.png","app@3x":"icon-iphone-app@3x.png","notification@2x":"icon-iphone-notification@2x.png","notification@3x":"icon-iphone-notification@3x.png","settings@2x":"icon-iphone-settings@2x.png","settings@3x":"icon-iphone-settings@3x.png","spotlight@2x":"icon-iphone-spotlight@2x.png","spotlight@3x":"icon-iphone-spotlight@3x.png"},"prerendered":"false"}},"splashscreen":{"useOriginalMsgbox":true,"androidStyle":"common","android":{"hdpi":"static/image/sy.png","xhdpi":"static/image/sy.png","xxhdpi":"static/image/sy.png"},"iosStyle":"common","ios":{"storyboard":"files/CustomStoryboard.zip"}},"google":{"abiFilters":["armeabi-v7a","arm64-v8a"],"autoSdkPermissions":false,"permissions":["","","","","","","","","","","","","","","","",""],"targetSdkVersion":34,"custompermissions":true},"apple":{"dSYMs":false,"privacyDescription":{"NSCameraUsageDescription":"我们的应用使用摄像头来拍照,以便在进行外勤打卡时确认您的身份和打卡环境,确保打卡数据的真实性和准确性。","NSLocationWhenInUseUsageDescription":"我们的应用需要在您进行考勤打卡时获取位置信息,以确保打卡记录的准确性和验证打卡地点。","NSPhotoLibraryAddUsageDescription":"我们需要获取写入权限,以便我们能够将您通过应用程序拍摄的照片或视频保存到您的设备相册中。","NSPhotoLibraryUsageDescription":"我们需要获取访问您设备相册的权限,以便您能够选择并上传图片或视频到我们的应用中。"},"appid":"com.fonchain.attendance","password":"uecGPNMV8s+KLcdEgW/MRg==","mobileprovision":"apple-mobileprovision.mobileprovision","p12":"apple-private.p12","devices":"iphone","plistcmds":["Add :UIFileSharingEnabled bool true"]},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"geolocation":{"baidu":{"__platform__":["ios","android"],"appkey_android":"ahdcPcBfatf61zRAgNl9SpBGUEURsnXN","appkey_ios":"5zzMAq3ofL5H5KfxRcf0zDMLTimvGIb0"},"system":{"__platform__":["ios","android"]}},"maps":{"baidu":{"appkey_android":"ahdcPcBfatf61zRAgNl9SpBGUEURsnXN","appkey_ios":"5zzMAq3ofL5H5KfxRcf0zDMLTimvGIb0"},"description":"地图插件"},"push":{"unipush":{"offline":true,"version":"2"},"description":"管理消息推送能力"}},"debug":true,"syncDebug":true,"orientation":"portrait-primary"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"control":"uni-v3","vueVersion":"3","compilerVersion":"4.23","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal","webView":{"minUserAgentVersion":"49.0"}},"adid":"124705060412"},"launch_path":"__uniappview.html"} \ No newline at end of file +{"@platforms":["android","iPhone","iPad"],"id":"__UNI__4796942","name":"oa考勤系统","version":{"name":"2.0.4","code":204},"description":"","developer":{"name":"","email":"","url":""},"permissions":{"Camera":{},"Geolocation":{},"Maps":{"coordType":"gcj02"},"Push":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"},"prerendered":"false"}},"splashscreen":{"useOriginalMsgbox":true,"androidStyle":"common","android":{"hdpi":"static/image/sy.png","xhdpi":"static/image/sy.png","xxhdpi":"static/image/sy.png"},"iosStyle":"common","ios":{"storyboard":"files/CustomStoryboard.zip"}},"google":{"abiFilters":["armeabi-v7a","arm64-v8a"],"autoSdkPermissions":false,"permissions":["","","","","","","","","","","","","","","","",""],"targetSdkVersion":34,"packagename":"uni.UNI70C49A3","aliasname":"oaapp","password":"uecGPNMV8s+KLcdEgW/MRg==","keystore":"google-keystore.keystore","custompermissions":true},"apple":{"dSYMs":false,"privacyDescription":{"NSCameraUsageDescription":"我们的应用使用摄像头来拍照,以便在进行外勤打卡时确认您的身份和打卡环境,确保打卡数据的真实性和准确性。","NSLocationWhenInUseUsageDescription":"我们的应用需要在您进行考勤打卡时获取位置信息,以确保打卡记录的准确性和验证打卡地点。","NSPhotoLibraryAddUsageDescription":"我们需要获取写入权限,以便我们能够将您通过应用程序拍摄的照片或视频保存到您的设备相册中。","NSPhotoLibraryUsageDescription":"我们需要获取访问您设备相册的权限,以便您能够选择并上传图片或视频到我们的应用中。"},"plistcmds":["Add :UIFileSharingEnabled bool true"],"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"geolocation":{"baidu":{"__platform__":["ios","android"],"appkey_android":"ahdcPcBfatf61zRAgNl9SpBGUEURsnXN","appkey_ios":"5zzMAq3ofL5H5KfxRcf0zDMLTimvGIb0"},"system":{"__platform__":["ios","android"]}},"maps":{"baidu":{"appkey_android":"ahdcPcBfatf61zRAgNl9SpBGUEURsnXN","appkey_ios":"5zzMAq3ofL5H5KfxRcf0zDMLTimvGIb0"},"description":"地图插件"},"push":{"unipush":{"offline":true,"version":"2"},"description":"管理消息推送能力"}},"debug":true,"syncDebug":true,"orientation":"portrait-primary"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"control":"uni-v3","vueVersion":"3","compilerVersion":"4.23","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal","webView":{"minUserAgentVersion":"49.0"}},"adid":"124705060412"},"launch_path":"__uniappview.html"} \ No newline at end of file diff --git a/unpackage/cache/wgt/__UNI__4796942/pages/index/index.css b/unpackage/cache/wgt/__UNI__4796942/pages/index/index.css index 3bfce6d..e69de29 100644 --- a/unpackage/cache/wgt/__UNI__4796942/pages/index/index.css +++ b/unpackage/cache/wgt/__UNI__4796942/pages/index/index.css @@ -1 +0,0 @@ -uni-view[data-v-eab170a5],uni-scroll-view[data-v-eab170a5],uni-swiper-item[data-v-eab170a5]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}@font-face{font-family:uvicon-iconfont;src:url(../../assets/uvicons.04d281cc.ttf) format("truetype")}.uv-icon[data-v-eab170a5]{display:flex;align-items:center}.uv-icon--left[data-v-eab170a5]{flex-direction:row-reverse;align-items:center}.uv-icon--right[data-v-eab170a5]{flex-direction:row;align-items:center}.uv-icon--top[data-v-eab170a5]{flex-direction:column-reverse;justify-content:center}.uv-icon--bottom[data-v-eab170a5]{flex-direction:column;justify-content:center}.uv-icon__icon[data-v-eab170a5]{font-family:uvicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.uv-icon__icon--primary[data-v-eab170a5]{color:#3c9cff}.uv-icon__icon--success[data-v-eab170a5]{color:#5ac725}.uv-icon__icon--error[data-v-eab170a5]{color:#f56c6c}.uv-icon__icon--warning[data-v-eab170a5]{color:#f9ae3d}.uv-icon__icon--info[data-v-eab170a5]{color:#909399}.uv-icon__img[data-v-eab170a5]{height:auto;will-change:transform}.uv-icon__label[data-v-eab170a5]{line-height:1}uni-view[data-v-3eb40c0b],uni-scroll-view[data-v-3eb40c0b],uni-swiper-item[data-v-3eb40c0b]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.uv-loading-icon[data-v-3eb40c0b]{flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.uv-loading-icon__text[data-v-3eb40c0b]{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.uv-loading-icon__spinner[data-v-3eb40c0b]{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;animation:uv-rotate-3eb40c0b 1s linear infinite}.uv-loading-icon__spinner--semicircle[data-v-3eb40c0b]{border-width:2px;border-color:transparent;border-radius:100px;border-style:solid}.uv-loading-icon__spinner--circle[data-v-3eb40c0b]{border-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.uv-loading-icon--vertical[data-v-3eb40c0b]{flex-direction:column}[data-v-3eb40c0b]:host{font-size:0px;line-height:1}.uv-loading-icon__spinner--spinner[data-v-3eb40c0b]{animation-timing-function:steps(12)}.uv-loading-icon__text[data-v-3eb40c0b]:empty{display:none}.uv-loading-icon--vertical .uv-loading-icon__text[data-v-3eb40c0b]{margin:6px 0 0;color:#606266}.uv-loading-icon__dot[data-v-3eb40c0b]{position:absolute;top:0;left:0;width:100%;height:100%}.uv-loading-icon__dot[data-v-3eb40c0b]:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(1){transform:rotate(30deg);opacity:1}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(2){transform:rotate(60deg);opacity:.9375}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(3){transform:rotate(90deg);opacity:.875}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(4){transform:rotate(120deg);opacity:.8125}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(5){transform:rotate(150deg);opacity:.75}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(6){transform:rotate(180deg);opacity:.6875}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(7){transform:rotate(210deg);opacity:.625}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(8){transform:rotate(240deg);opacity:.5625}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(9){transform:rotate(270deg);opacity:.5}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(10){transform:rotate(300deg);opacity:.4375}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(11){transform:rotate(330deg);opacity:.375}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(12){transform:rotate(360deg);opacity:.3125}@keyframes uv-rotate-3eb40c0b{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.uv-reset-button[data-v-646dddbc]{padding:0;background-color:transparent}.uv-reset-button[data-v-646dddbc]:after{border:none}uni-view[data-v-646dddbc],uni-scroll-view[data-v-646dddbc],uni-swiper-item[data-v-646dddbc]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.uv-button-wrapper[data-v-646dddbc]{position:relative}.uv-button-wrapper--dis[data-v-646dddbc]{position:absolute;left:0;top:0;right:0;bottom:0;z-index:9}.uv-button[data-v-646dddbc]{width:100%}.uv-button__text[data-v-646dddbc]{white-space:nowrap;line-height:1}.uv-button[data-v-646dddbc]:before{position:absolute;top:50%;left:50%;width:100%;height:100%;border:inherit;border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" ";background-color:#000;border-color:#000}.uv-button--active[data-v-646dddbc]:before{opacity:.15}.uv-button__icon+.uv-button__text[data-v-646dddbc]:not(:empty),.uv-button__loading-text[data-v-646dddbc]{margin-left:4px}.uv-button--plain.uv-button--primary[data-v-646dddbc]{color:#3c9cff}.uv-button--plain.uv-button--info[data-v-646dddbc]{color:#909399}.uv-button--plain.uv-button--success[data-v-646dddbc]{color:#5ac725}.uv-button--plain.uv-button--error[data-v-646dddbc]{color:#f56c6c}.uv-button--plain.uv-button--warning[data-v-646dddbc]{color:#f9ae3d}.uv-button[data-v-646dddbc]{height:40px;position:relative;align-items:center;justify-content:center;display:flex;box-sizing:border-box;flex-direction:row}.uv-button__text[data-v-646dddbc]{font-size:15px}.uv-button__loading-text[data-v-646dddbc]{font-size:15px;margin-left:4px}.uv-button--large[data-v-646dddbc]{width:100%;height:50px;padding:0 15px}.uv-button--normal[data-v-646dddbc]{padding:0 12px;font-size:14px}.uv-button--small[data-v-646dddbc]{min-width:60px;height:30px;padding:0 8px;font-size:12px}.uv-button--mini[data-v-646dddbc]{height:22px;font-size:10px;min-width:50px;padding:0 8px}.uv-button--disabled[data-v-646dddbc]{opacity:.5}.uv-button--info[data-v-646dddbc]{color:#323233;background-color:#fff;border-color:#ebedf0;border-width:1px;border-style:solid}.uv-button--success[data-v-646dddbc]{color:#fff;background-color:#5ac725;border-color:#5ac725;border-width:1px;border-style:solid}.uv-button--primary[data-v-646dddbc]{color:#fff;background-color:#3c9cff;border-color:#3c9cff;border-width:1px;border-style:solid}.uv-button--error[data-v-646dddbc]{color:#fff;background-color:#f56c6c;border-color:#f56c6c;border-width:1px;border-style:solid}.uv-button--warning[data-v-646dddbc]{color:#fff;background-color:#f9ae3d;border-color:#f9ae3d;border-width:1px;border-style:solid}.uv-button--block[data-v-646dddbc]{display:flex;flex-direction:row;width:100%}.uv-button--circle[data-v-646dddbc]{border-radius:100px}.uv-button--square[data-v-646dddbc]{border-radius:3px}.uv-button__icon[data-v-646dddbc]{min-width:1em;line-height:inherit!important;vertical-align:top}.uv-button--plain[data-v-646dddbc]{background-color:#fff}.uv-button--hairline[data-v-646dddbc]{border-width:.5px!important}.uv-overlay[data-v-65481522]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7)}uni-view[data-v-6eb2581f],uni-scroll-view[data-v-6eb2581f],uni-swiper-item[data-v-6eb2581f]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.uv-no-network[data-v-6eb2581f]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:-100px}.uv-no-network__tips[data-v-6eb2581f]{color:#909193;font-size:14px;margin-top:15px}.uv-no-network__app[data-v-6eb2581f]{display:flex;flex-direction:row;margin-top:6px}.uv-no-network__app__setting[data-v-6eb2581f]{color:#c0c4cc;font-size:13px}.uv-no-network__app__to-setting[data-v-6eb2581f]{font-size:13px;color:#3c9cff;margin-left:3px}.uv-no-network__retry[data-v-6eb2581f]{display:flex;flex-direction:row;justify-content:center;margin-top:15px} diff --git a/unpackage/debug/android_debug.apk b/unpackage/debug/android_debug.apk index 8956eff..e820dc0 100644 Binary files a/unpackage/debug/android_debug.apk and b/unpackage/debug/android_debug.apk differ diff --git a/unpackage/dist/build/app-plus/app-service.js b/unpackage/dist/build/app-plus/app-service.js index a0c3d1b..c033884 100644 --- a/unpackage/dist/build/app-plus/app-service.js +++ b/unpackage/dist/build/app-plus/app-service.js @@ -1 +1 @@ -if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then((n=>t.resolve(e()).then((()=>n))),(n=>t.resolve(e()).then((()=>{throw n}))))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const e=uni.requireGlobal();ArrayBuffer=e.ArrayBuffer,Int8Array=e.Int8Array,Uint8Array=e.Uint8Array,Uint8ClampedArray=e.Uint8ClampedArray,Int16Array=e.Int16Array,Uint16Array=e.Uint16Array,Int32Array=e.Int32Array,Uint32Array=e.Uint32Array,Float32Array=e.Float32Array,Float64Array=e.Float64Array,BigInt64Array=e.BigInt64Array,BigUint64Array=e.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(e){"use strict";var t,n,i,o,r,s,a,c,u,l;const d={};function h(e,t,...n){uni.__log__?uni.__log__(e,t,...n):console[e].apply(console,[...n,t])}function p(e,t){return"string"==typeof e?t:e}function f(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function g(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(const t in e)return!1;return!0}return!1}function m(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function y(e){return"[object Object]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}const v=Object.freeze(Object.defineProperty({__proto__:null,amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},array:m,carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},contains:function(e,t){return e.indexOf(t)>=0},date:function(e){return!!e&&(f(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},digits:function(e){return/^\d+$/.test(e)},email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},empty:g,enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},func:A,idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(ft){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},mobile:function(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)},number:f,object:y,promise:function(e){return y(e)&&A(e.then)&&A(e.catch)},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e},url:function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)}},Symbol.toStringTag,{value:"Module"}));function w(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function S(e){const t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function b(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=S(e);return t>0?w(Number(e)*Math.pow(10,t)):Number(e)}function k(e){(e>Number.MAX_SAFE_INTEGER||e{r=t(r,e)})),r}function I(...e){if(e.length>2)return E(e,I);const[t,n]=e,i=b(t),o=b(n),r=S(t)+S(n),s=i*o;return k(s),s/Math.pow(10,r)}function P(...e){if(e.length>2)return E(e,P);const[t,n]=e,i=b(t),o=b(n);return k(i),k(o),I(i/o,w(Math.pow(10,S(n)-S(t))))}function x(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function T(e,t=new WeakMap){if(null===e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime());else if(e instanceof RegExp)n=new RegExp(e);else if(e instanceof Map)n=new Map(Array.from(e,(([e,n])=>[e,T(n,t)])));else if(e instanceof Set)n=new Set(Array.from(e,(e=>T(e,t))));else if(Array.isArray(e))n=e.map((e=>T(e,t)));else if("[object Object]"===Object.prototype.toString.call(e)){n=Object.create(Object.getPrototypeOf(e)),t.set(e,n);for(const[i,o]of Object.entries(e))n[i]=T(o,t)}else n=Object.assign({},e);return t.set(e,n),n}function B(e={},t={}){if("object"!=typeof(e=T(e))||null===e||"object"!=typeof t||null===t)return e;const n=Array.isArray(e)?e.slice():Object.assign({},e);for(const i in t){if(!t.hasOwnProperty(i))continue;const e=t[i],o=n[i];e instanceof Date?n[i]=new Date(e):e instanceof RegExp?n[i]=new RegExp(e):e instanceof Map?n[i]=new Map(e):e instanceof Set?n[i]=new Set(e):n[i]="object"==typeof e&&null!==e?B(o,e):e}return n}function C(e=null,t="yyyy-mm-dd"){let n;n=e?/^\d{10}$/.test(null==e?void 0:e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):"string"==typeof e&&e.includes("-")&&!e.includes("T")?new Date(e.replace(/-/g,"/")):new Date(e):new Date;const i={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(const o in i){const[e]=new RegExp(`${o}+`).exec(t)||[];if(e){const n="y"===o&&2===e.length?2:0;t=t.replace(e,i[o].slice(n))}}return t}function U(e,t="both"){return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}function O(e={},t=!0,n="brackets"){const i=t?"?":"",o=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(const r in e){const t=e[r];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{o.push(`${r}[]=${e}`)}));break;case"repeat":t.forEach((e=>{o.push(`${r}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),o.push(`${r}=${e}`)}else o.push(`${r}=${t}`)}return o.length?i+o.join("&"):""}function L(){var e;const t=getCurrentPages(),n=null==(e=t[t.length-1])?void 0:e.route;return`/${n||""}`}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const n=this;if(n.length>=e)return String(n);const i=e-n.length;let o=Math.ceil(i/t.length);for(;o>>=1;)t+=t,1===o&&(t+=t);return t.slice(0,i)+n});const N=Object.freeze(Object.defineProperty({__proto__:null,$parent:x,addStyle:function(e,t="object"){if(g(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=U(e)).split(";"),n={};for(let e=0;e{return null==(e=null==(t=null==uni?void 0:uni.$uv)?void 0:t.config)?void 0:e.unit;var t})()?(e=>{return null==(e=null==(t=null==uni?void 0:uni.$uv)?void 0:t.config)?void 0:e.unit;var t})():"px")){return f(e=String(e))?`${e}${t}`:e},deepClone:T,deepMerge:B,error:function(e){},formValidate:function(e,t){const n=x.call(e,"uv-form-item"),i=x.call(e,"uv-form");n&&i&&i.validateField(n.prop,(()=>{}),t)},getDuration:function(e,t=!0){const n=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},getHistoryPage:function(e=0){const t=getCurrentPages();return t[t.length-1+e]},getProperty:function(e,t){if(e){if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const n=t.split(".");let i=e[n[0]]||{};for(let e=1;e=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},range:function(e=0,t=0,n=0){return Math.max(e,Math.min(t,Number(n)))},setConfig:function({props:e={},config:t={},color:n={},zIndex:i={}}){const{deepMerge:o}=uni.$uv;uni.$uv.config=o(uni.$uv.config,t),uni.$uv.props=o(uni.$uv.props,e),uni.$uv.color=o(uni.$uv.color,n),uni.$uv.zIndex=o(uni.$uv.zIndex,i)},setProperty:function(e,t,n){if(!e)return;const i=function(e,t,n){if(1!==t.length)for(;t.length>1;){const o=t[0];e[o]&&"object"==typeof e[o]||(e[o]={}),t.shift(),i(e[o],t,n)}else e[t[0]]=n};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const o=t.split(".");i(e,o,n)}else e[t]=n},sleep:function(e=30){return new Promise((t=>{setTimeout((()=>{t()}),e)}))},sys:function(){return uni.getSystemInfoSync()},timeFormat:C,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;n=parseInt(n/1e3);let i="";switch(!0){case n<300:i="刚刚";break;case n>=300&&n<3600:i=`${parseInt(n/60)}分钟前`;break;case n>=3600&&n<86400:i=`${parseInt(n/3600)}小时前`;break;case n>=86400&&n<2592e3:i=`${parseInt(n/86400)}天前`;break;default:i=!1===t?n>=2592e3&&n<31536e3?`${parseInt(n/2592e3)}个月前`:`${parseInt(n/31536e3)}年前`:C(e,t)}return i},toast:function(e,t=2e3){uni.showToast({title:String(e),icon:"none",duration:t})},trim:U,type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n}},Symbol.toStringTag,{value:"Module"}));const F=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1,events:{}},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=O(t,!1),e+`&${n}`):(n=O(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=B(this.config,e),n.url=this.mixinParam(e.url,e.params)),n.url!==L())if(t.intercept&&(n.intercept=t.intercept),n.params=t,n=B(this.config,n),"function"==typeof n.intercept){await new Promise(((e,t)=>{n.intercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:i,animationType:o,animationDuration:r,events:s}=e;"navigateTo"!=e.type&&"to"!=e.type||uni.navigateTo({url:t,animationType:o,animationDuration:r,events:s}),"redirectTo"!=e.type&&"redirect"!=e.type||uni.redirectTo({url:t}),"switchTab"!=e.type&&"tab"!=e.type||uni.switchTab({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||uni.reLaunch({url:t}),"navigateBack"!=e.type&&"back"!=e.type||uni.navigateBack({delta:i})}}).route;let Q,j=null;function _(e,t=500,n=!1){if(null!==j&&clearTimeout(j),n){const n=!j;j=setTimeout((()=>{j=null}),t),n&&"function"==typeof e&&e()}else j=setTimeout((()=>{"function"==typeof e&&e()}),t)}function R(e,t=500,n=!0){n?Q||(Q=!0,"function"==typeof e&&e(),setTimeout((()=>{Q=!1}),t)):Q||(Q=!0,setTimeout((()=>{Q=!1,"function"==typeof e&&e()}),t))}const q={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$uv.getRect=this.$uvGetRect},created(){this.$uv.getRect=this.$uvGetRect},computed:{$uv(){var e,t;return{...N,test:v,route:F,debounce:_,throttle:R,unit:null==(t=null==(e=null==uni?void 0:uni.$uv)?void 0:e.config)?void 0:t.unit}},bem:()=>function(e,t,n){const i=`uv-${e}--`,o={};return t&&t.map((e=>{o[i+this[e]]=!0})),n&&n.map((e=>{this[e]?o[i+e]=this[e]:delete o[i+e]})),Object.keys(o)}},methods:{openPage(e="url"){const t=this[e];t&&uni[this.linkType]({url:t})},$uvGetRect(e,t){return new Promise((n=>{uni.createSelectorQuery().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent={}),this.parent=this.$uv.$parent.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]}))},preventEvent(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()},noop(e){this.preventEvent(e)}},onReachBottom(){uni.$emit("uvOnReachBottom")},beforeDestroy(){if(this.parent&&m(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}},unmounted(){if(this.parent&&m(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}},D={"uvicon-level":"e68f","uvicon-checkbox-mark":"e659","uvicon-folder":"e694","uvicon-movie":"e67c","uvicon-star-fill":"e61e","uvicon-star":"e618","uvicon-phone-fill":"e6ac","uvicon-phone":"e6ba","uvicon-apple-fill":"e635","uvicon-backspace":"e64d","uvicon-attach":"e640","uvicon-empty-data":"e671","uvicon-empty-address":"e68a","uvicon-empty-favor":"e662","uvicon-empty-car":"e657","uvicon-empty-order":"e66b","uvicon-empty-list":"e672","uvicon-empty-search":"e677","uvicon-empty-permission":"e67d","uvicon-empty-news":"e67e","uvicon-empty-history":"e685","uvicon-empty-coupon":"e69b","uvicon-empty-page":"e60e","uvicon-empty-wifi-off":"e6cc","uvicon-reload":"e627","uvicon-order":"e695","uvicon-server-man":"e601","uvicon-search":"e632","uvicon-more-dot-fill":"e66f","uvicon-scan":"e631","uvicon-map":"e665","uvicon-map-fill":"e6a8","uvicon-tags":"e621","uvicon-tags-fill":"e613","uvicon-eye":"e664","uvicon-eye-fill":"e697","uvicon-eye-off":"e69c","uvicon-eye-off-outline":"e688","uvicon-mic":"e66d","uvicon-mic-off":"e691","uvicon-calendar":"e65c","uvicon-trash":"e623","uvicon-trash-fill":"e6ce","uvicon-play-left":"e6bf","uvicon-play-right":"e6b3","uvicon-minus":"e614","uvicon-plus":"e625","uvicon-info-circle":"e69f","uvicon-info-circle-fill":"e6a7","uvicon-question-circle":"e622","uvicon-question-circle-fill":"e6bc","uvicon-close":"e65a","uvicon-checkmark":"e64a","uvicon-checkmark-circle":"e643","uvicon-checkmark-circle-fill":"e668","uvicon-setting":"e602","uvicon-setting-fill":"e6d0","uvicon-heart":"e6a2","uvicon-heart-fill":"e68b","uvicon-camera":"e642","uvicon-camera-fill":"e650","uvicon-more-circle":"e69e","uvicon-more-circle-fill":"e684","uvicon-chat":"e656","uvicon-chat-fill":"e63f","uvicon-bag":"e647","uvicon-error-circle":"e66e","uvicon-error-circle-fill":"e655","uvicon-close-circle":"e64e","uvicon-close-circle-fill":"e666","uvicon-share":"e629","uvicon-share-fill":"e6bb","uvicon-share-square":"e6c4","uvicon-shopping-cart":"e6cb","uvicon-shopping-cart-fill":"e630","uvicon-bell":"e651","uvicon-bell-fill":"e604","uvicon-list":"e690","uvicon-list-dot":"e6a9","uvicon-zhifubao-circle-fill":"e617","uvicon-weixin-circle-fill":"e6cd","uvicon-weixin-fill":"e620","uvicon-qq-fill":"e608","uvicon-qq-circle-fill":"e6b9","uvicon-moments-circel-fill":"e6c2","uvicon-moments":"e6a0","uvicon-car":"e64f","uvicon-car-fill":"e648","uvicon-warning-fill":"e6c7","uvicon-warning":"e6c1","uvicon-clock-fill":"e64b","uvicon-clock":"e66c","uvicon-edit-pen":"e65d","uvicon-edit-pen-fill":"e679","uvicon-email":"e673","uvicon-email-fill":"e683","uvicon-minus-circle":"e6a5","uvicon-plus-circle":"e603","uvicon-plus-circle-fill":"e611","uvicon-file-text":"e687","uvicon-file-text-fill":"e67f","uvicon-pushpin":"e6d1","uvicon-pushpin-fill":"e6b6","uvicon-grid":"e68c","uvicon-grid-fill":"e698","uvicon-play-circle":"e6af","uvicon-play-circle-fill":"e62a","uvicon-pause-circle-fill":"e60c","uvicon-pause":"e61c","uvicon-pause-circle":"e696","uvicon-gift-fill":"e6b0","uvicon-gift":"e680","uvicon-kefu-ermai":"e660","uvicon-server-fill":"e610","uvicon-coupon-fill":"e64c","uvicon-coupon":"e65f","uvicon-integral":"e693","uvicon-integral-fill":"e6b1","uvicon-home-fill":"e68e","uvicon-home":"e67b","uvicon-account":"e63a","uvicon-account-fill":"e653","uvicon-thumb-down-fill":"e628","uvicon-thumb-down":"e60a","uvicon-thumb-up":"e612","uvicon-thumb-up-fill":"e62c","uvicon-lock-fill":"e6a6","uvicon-lock-open":"e68d","uvicon-lock-opened-fill":"e6a1","uvicon-lock":"e69d","uvicon-red-packet":"e6c3","uvicon-photo-fill":"e6b4","uvicon-photo":"e60d","uvicon-volume-off-fill":"e6c8","uvicon-volume-off":"e6bd","uvicon-volume-fill":"e624","uvicon-volume":"e605","uvicon-download":"e670","uvicon-arrow-up-fill":"e636","uvicon-arrow-down-fill":"e638","uvicon-play-left-fill":"e6ae","uvicon-play-right-fill":"e6ad","uvicon-arrow-downward":"e634","uvicon-arrow-leftward":"e63b","uvicon-arrow-rightward":"e644","uvicon-arrow-upward":"e641","uvicon-arrow-down":"e63e","uvicon-arrow-right":"e63c","uvicon-arrow-left":"e646","uvicon-arrow-up":"e633","uvicon-skip-back-left":"e6c5","uvicon-skip-forward-right":"e61f","uvicon-arrow-left-double":"e637","uvicon-man":"e675","uvicon-woman":"e626","uvicon-en":"e6b8","uvicon-twitte":"e607","uvicon-twitter-circle-fill":"e6cf"},M=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n},H={name:"uv-icon",emits:["click"],mixins:[d,q,{props:{name:{type:String,default:""},color:{type:String,default:"#606266"},size:{type:[String,Number],default:"16px"},bold:{type:Boolean,default:!1},index:{type:[String,Number],default:null},hoverClass:{type:String,default:""},customPrefix:{type:String,default:"uvicon"},label:{type:[String,Number],default:""},labelPos:{type:String,default:"right"},labelSize:{type:[String,Number],default:"15px"},labelColor:{type:String,default:"#606266"},space:{type:[String,Number],default:"3px"},imgMode:{type:String,default:"aspectFit"},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},top:{type:[String,Number],default:0},stop:{type:Boolean,default:!1},...null==(n=null==(t=uni.$uv)?void 0:t.props)?void 0:n.icon}}],data:()=>({colorType:["primary","success","info","error","warning"]}),computed:{uClasses(){let e=[];return e.push(this.customPrefix),e.push(this.customPrefix+"-"+this.name),this.color&&this.colorType.includes(this.color)&&e.push("uv-icon__icon--"+this.color),e},iconStyle(){let e={};return e={fontSize:this.$uv.addUnit(this.size),lineHeight:this.$uv.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:this.$uv.addUnit(this.top)},this.color&&!this.colorType.includes(this.color)&&(e.color=this.color),e},isImg(){const e=this.name.indexOf("data:")>-1&&this.name.indexOf("base64")>-1;return-1!==this.name.indexOf("/")||e},imgStyle(){let e={};return e.width=this.width?this.$uv.addUnit(this.width):this.$uv.addUnit(this.size),e.height=this.height?this.$uv.addUnit(this.height):this.$uv.addUnit(this.size),e},icon(){const e=D["uvicon-"+this.name];return e?unescape(`%u${e}`):["uvicon"].indexOf(this.customPrefix)>-1?this.name:""}},methods:{clickHandler(e){this.$emit("click",this.index),this.stop&&this.preventEvent(e)}}};const z=M(H,[["render",function(t,n,i,o,r,s){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["uv-icon",["uv-icon--"+t.labelPos]]),onClick:n[0]||(n[0]=(...e)=>s.clickHandler&&s.clickHandler(...e))},[s.isImg?(e.openBlock(),e.createElementBlock("image",{key:0,class:"uv-icon__img",src:t.name,mode:t.imgMode,style:e.normalizeStyle([s.imgStyle,t.$uv.addStyle(t.customStyle)])},null,12,["src","mode"])):(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(["uv-icon__icon",s.uClasses]),style:e.normalizeStyle([s.iconStyle,t.$uv.addStyle(t.customStyle)]),"hover-class":t.hoverClass},e.toDisplayString(s.icon),15,["hover-class"])),""!==t.label?(e.openBlock(),e.createElementBlock("text",{key:2,class:"uv-icon__label",style:e.normalizeStyle({color:t.labelColor,fontSize:t.$uv.addUnit(t.labelSize),marginLeft:"right"==t.labelPos?t.$uv.addUnit(t.space):0,marginTop:"bottom"==t.labelPos?t.$uv.addUnit(t.space):0,marginRight:"left"==t.labelPos?t.$uv.addUnit(t.space):0,marginBottom:"top"==t.labelPos?t.$uv.addUnit(t.space):0})},e.toDisplayString(t.label),5)):e.createCommentVNode("",!0)],2)}],["__scopeId","data-v-eab170a5"]]);function K(e,t=!0){if((e=String(e).toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}const n=[];for(let t=1;t<7;t+=2)n.push(parseInt(`0x${e.slice(t,t+2)}`));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function V(e){const t=e;if(/^(rgb|RGB)/.test(t)){const e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let n="#";for(let t=0;t({})},text:{type:[String,Number],default:""},timingFunction:{type:String,default:"linear"},duration:{type:[String,Number],default:1200},inactiveColor:{type:String,default:""},...null==(o=null==(i=uni.$uv)?void 0:i.props)?void 0:o.loadingIcon}}],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const e=function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){const i=K(e,!1),o=i[0],r=i[1],s=i[2],a=K(t,!1),c=(a[0]-o)/n,u=(a[1]-r)/n,l=(a[2]-s)/n,d=[];for(let h=0;h{this.show&&this.addEventListenerToWebview()}),20)},addEventListenerToWebview(){const e=getCurrentPages(),t=e[e.length-1].$getAppWebview();t.addEventListener("hide",(()=>{this.webviewHide=!0})),t.addEventListener("show",(()=>{this.webviewHide=!1}))}}},[["render",function(t,n,i,o,r,s){return t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["uv-loading-icon",[t.vertical&&"uv-loading-icon--vertical"]]),style:e.normalizeStyle([t.$uv.addStyle(t.customStyle)])},[r.webviewHide?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["uv-loading-icon__spinner",[`uv-loading-icon__spinner--${t.mode}`]]),ref:"ani",style:e.normalizeStyle({color:t.color,width:t.$uv.addUnit(t.size),height:t.$uv.addUnit(t.size),borderTopColor:t.color,borderBottomColor:s.otherBorderColor,borderLeftColor:s.otherBorderColor,borderRightColor:s.otherBorderColor,"animation-duration":`${t.duration}ms`,"animation-timing-function":"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""})},["spinner"===t.mode?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.array12,((t,n)=>(e.openBlock(),e.createElementBlock("view",{key:n,class:"uv-loading-icon__dot"})))),128)):e.createCommentVNode("",!0)],6)),t.text?(e.openBlock(),e.createElementBlock("text",{key:1,class:"uv-loading-icon__text",style:e.normalizeStyle([{fontSize:t.$uv.addUnit(t.textSize),color:t.textColor},t.$uv.addStyle(t.textStyle)])},e.toDisplayString(t.text),5)):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)}],["__scopeId","data-v-3eb40c0b"]]);const J=M({name:"uv-button",mixins:[d,q,{props:{hairline:{type:Boolean,default:!0},type:{type:String,default:"info"},size:{type:String,default:"normal"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingText:{type:[String,Number],default:""},loadingMode:{type:String,default:"spinner"},loadingSize:{type:[String,Number],default:14},openType:{type:String,default:""},formType:{type:String,default:""},appParameter:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!0},lang:{type:String,default:"en"},sessionFrom:{type:String,default:""},sendMessageTitle:{type:String,default:""},sendMessagePath:{type:String,default:""},sendMessageImg:{type:String,default:""},showMessageCard:{type:Boolean,default:!0},dataName:{type:String,default:""},throttleTime:{type:[String,Number],default:0},hoverStartTime:{type:[String,Number],default:0},hoverStayTime:{type:[String,Number],default:200},text:{type:[String,Number],default:""},icon:{type:String,default:""},iconSize:{type:[String,Number],default:""},iconColor:{type:String,default:"#000000"},color:{type:String,default:""},customTextStyle:{type:[Object,String],default:""},...null==(s=null==(r=uni.$uv)?void 0:r.props)?void 0:s.button}}],emits:["click"],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:"#3c9cff":"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:t}=this;return"large"===t&&(e=16),"normal"===t&&(e=14),"small"===t&&(e=12),"mini"===t&&(e=10),e},getIconSize(){const e=this.iconSize?this.iconSize:1.35*this.textSize;return this.$uv.addUnit(e)},btnWrapperStyle(){const e={},t=this.$uv.addStyle(this.customStyle);return t.width&&(e.width=t.width),e}},methods:{clickHandler(){this.disabled||this.loading||R((()=>{this.$emit("click")}),this.throttleTime)}}},[["render",function(t,n,i,o,r,s){const a=p(e.resolveDynamicComponent("uv-loading-icon"),W),c=p(e.resolveDynamicComponent("uv-icon"),z);return e.openBlock(),e.createElementBlock("view",{class:"uv-button-wrapper",style:e.normalizeStyle([s.btnWrapperStyle])},[e.createElementVNode("button",{"hover-start-time":Number(t.hoverStartTime),"hover-stay-time":Number(t.hoverStayTime),"form-type":t.formType,"open-type":t.openType,"app-parameter":t.appParameter,"hover-stop-propagation":t.hoverStopPropagation,"send-message-title":t.sendMessageTitle,"send-message-path":t.sendMessagePath,lang:t.lang,"data-name":t.dataName,"session-from":t.sessionFrom,"send-message-img":t.sendMessageImg,"show-message-card":t.showMessageCard,"hover-class":t.disabled||t.loading?"":"uv-button--active",class:e.normalizeClass(["uv-button uv-reset-button",s.bemClass]),style:e.normalizeStyle([s.baseColor,t.$uv.addStyle(t.customStyle)]),onClick:n[0]||(n[0]=(...e)=>s.clickHandler&&s.clickHandler(...e))},[t.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(a,{mode:t.loadingMode,size:1.15*t.loadingSize,color:s.loadingColor},null,8,["mode","size","color"]),e.createElementVNode("text",{class:"uv-button__loading-text",style:e.normalizeStyle([{fontSize:s.textSize+"px"},t.$uv.addStyle(t.customTextStyle)])},e.toDisplayString(t.loadingText||t.text),5)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.icon?(e.openBlock(),e.createBlock(c,{key:0,name:t.icon,color:s.iconColorCom,size:s.getIconSize,customStyle:{marginRight:"2px"}},null,8,["name","color","size"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},(()=>[e.createElementVNode("text",{class:"uv-button__text",style:e.normalizeStyle([{fontSize:s.textSize+"px"},t.$uv.addStyle(t.customTextStyle)])},e.toDisplayString(t.text),5)]),!0),e.renderSlot(t.$slots,"suffix",{},void 0,!0)],64))],14,["hover-start-time","hover-stay-time","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","send-message-path","lang","data-name","session-from","send-message-img","show-message-card","hover-class"])],4)}],["__scopeId","data-v-646dddbc"]]);class X{constructor(e,t){this.options=e,this.animation=uni.createAnimation({...e}),this.currentStepAnimates={},this.next=0,this.$=t}_nvuePushAnimates(e,t){let n=this.currentStepAnimates[this.next],i={};if(i=n||{styles:{},config:{}},Y.includes(e)){i.styles.transform||(i.styles.transform="");let n="";"rotate"===e&&(n="deg"),i.styles.transform+=`${e}(${t+n}) `}else i.styles[e]=`${t}`;this.currentStepAnimates[this.next]=i}_animateRun(e={},t={}){let n=this.$.$refs.ani.ref;if(n)return new Promise(((i,o)=>{nvueAnimation.transition(n,{styles:e,...t},(e=>{i()}))}))}_nvueNextAnimate(e,t=0,n){let i=e[t];if(i){let{styles:o,config:r}=i;this._animateRun(o,r).then((()=>{t+=1,this._nvueNextAnimate(e,t,n)}))}else this.currentStepAnimates={},"function"==typeof n&&n(),this.isEnd=!0}step(e={}){return this.animation.step(e),this}run(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof e&&e()}),this.$.durationTime)}}const Y=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function G(e,t){if(t)return clearTimeout(t.timer),new X(e,t)}Y.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((e=>{X.prototype[e]=function(...t){return this.animation[e](...t),this}}));const Z=M({name:"uv-transition",mixins:[d,q],emits:["click","change"],props:{show:{type:Boolean,default:!1},mode:{type:[Array,String,null],default:()=>"fade"},duration:{type:[String,Number],default:300},timingFunction:{type:String,default:"ease-out"},customClass:{type:String,default:""},cellChild:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{transformStyles(){const e={transform:this.transform,opacity:this.opacity,...this.$uv.addStyle(this.customStyle),"transition-duration":this.duration/1e3+"s"};return this.$uv.addStyle(e,"string")}},created(){this.config={duration:this.duration,timingFunction:this.timingFunction,transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(e={}){e.duration&&(this.durationTime=e.duration),this.animation=G(Object.assign(this.config,e),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(e,t={}){if(this.animation){for(let t in e)try{"object"==typeof e[t]?this.animation[t](...e[t]):this.animation[t](e[t])}catch(ft){h("error","at uni_modules/uv-transition/components/uv-transition/uv-transition.vue:166",`方法 ${t} 不存在`)}return this.animation.step(t),this}},run(e){this.animation&&this.animation.run(e)},open(){clearTimeout(this.timer),this.transform="",this.isShow=!0;let{opacity:e,transform:t}=this.styleInit(!1);void 0!==e&&(this.opacity=e),this.transform=t,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=G(this.config,this),this.tranfromInit(!1).step(),this.animation.run(),this.$emit("change",{detail:this.isShow})}),20)}))},close(e){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:e,transform:t}=this.styleInit(!1);this.opacity=e||1,this.transform=t,this.$emit("change",{detail:this.isShow})}))},styleInit(e){let t={transform:""},n=(e,n)=>{"fade"===n?t.opacity=this.animationType(e)[n]:t.transform+=this.animationType(e)[n]+" "};return"string"==typeof this.mode?n(e,this.mode):this.mode.forEach((t=>{n(e,t)})),t},tranfromInit(e){let t=(e,t)=>{let n=null;"fade"===t?n=e?0:1:(n=e?"-100%":"0","zoom-in"===t&&(n=e?.8:1),"zoom-out"===t&&(n=e?1.2:1),"slide-right"===t&&(n=e?"100%":"0"),"slide-bottom"===t&&(n=e?"100%":"0")),this.animation[this.animationMode()[t]](n)};return"string"==typeof this.mode?t(e,this.mode):this.mode.forEach((n=>{t(e,n)})),this.animation},animationType:e=>({fade:e?1:0,"slide-top":`translateY(${e?"0":"-100%"})`,"slide-right":`translateX(${e?"0":"100%"})`,"slide-bottom":`translateY(${e?"0":"100%"})`,"slide-left":`translateX(${e?"0":"-100%"})`,"zoom-in":`scaleX(${e?1:.8}) scaleY(${e?1:.8})`,"zoom-out":`scaleX(${e?1:1.2}) scaleY(${e?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:e=>e.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(t,n,i,o,r,s){return r.isShow?(e.openBlock(),e.createElementBlock("view",{key:0,ref:"ani",animation:r.animationData,class:e.normalizeClass(i.customClass),style:e.normalizeStyle(s.transformStyles),onClick:n[0]||(n[0]=(...e)=>s.onClick&&s.onClick(...e))},[e.renderSlot(t.$slots,"default")],14,["animation"])):e.createCommentVNode("",!0)}]]);const $=M({name:"uv-overlay",emits:["click"],mixins:[d,q,{props:{show:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:10070},duration:{type:[String,Number],default:300},opacity:{type:[String,Number],default:.5},...null==(c=null==(a=uni.$uv)?void 0:a.props)?void 0:c.overlay}}],watch:{show(e){}},computed:{overlayStyle(){const e={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`};return this.$uv.deepMerge(e,this.$uv.addStyle(this.customStyle))}},methods:{clickHandler(){this.$emit("click")},clear(){}}},[["render",function(t,n,i,o,r,s){const a=p(e.resolveDynamicComponent("uv-transition"),Z);return e.openBlock(),e.createBlock(a,{show:t.show,mode:"fade","custom-class":"uv-overlay",duration:t.duration,"custom-style":s.overlayStyle,onClick:s.clickHandler,onTouchmove:e.withModifiers(s.clear,["stop","prevent"])},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default",{},void 0,!0)])),_:3},8,["show","duration","custom-style","onClick","onTouchmove"])}],["__scopeId","data-v-65481522"]]);const ee=M({name:"uv-no-network",mixins:[d,q,{props:{tips:{type:String,default:"哎呀,网络信号丢失"},zIndex:{type:[String,Number],default:""},image:{type:String,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAA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QBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"},...null==(l=null==(u=uni.$uv)?void 0:u.props)?void 0:l.noNetwork}}],data:()=>({isConnected:!0,networkType:"none"}),mounted(){this.isIOS="ios"===uni.getSystemInfoSync().platform,uni.onNetworkStatusChange((e=>{this.isConnected=e.isConnected,this.networkType=e.networkType,this.emitEvent(this.networkType)})),uni.getNetworkType({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?this.isConnected=!1:this.isConnected=!0}})},methods:{retry(){uni.getNetworkType({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?(this.$uv.toast("无网络连接"),this.isConnected=!1):(this.$uv.toast("网络已连接"),this.isConnected=!0)}}),this.$emit("retry")},emitEvent(e){this.$emit("none"===e?"disconnected":"connected")},async openSettings(){"none"!=this.networkType||this.openSystemSettings()},openAppSettings(){this.gotoAppSetting()},openSystemSettings(){this.isIOS?this.gotoiOSSetting():this.gotoAndroidSetting()},network(){var e=null,t=plus.ios.newObject("CTCellularData"),n=t.plusGetAttribute("restrictedState");return 0==n?e=null:2==n?e=1:1==n&&(e=2),plus.ios.deleteObject(t),e},gotoAppSetting(){if(this.isIOS){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("app-settings:");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)}else{var i=plus.android.importClass("android.content.Intent"),o=plus.android.importClass("android.provider.Settings"),r=plus.android.importClass("android.net.Uri"),s=plus.android.runtimeMainActivity(),a=new i;a.setAction(o.ACTION_APPLICATION_DETAILS_SETTINGS);var c=r.fromParts("package",s.getPackageName(),null);a.setData(c),s.startActivity(a)}},gotoiOSSetting(){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("App-prefs:root=General");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)},gotoAndroidSetting(){var e=plus.android.importClass("android.content.Intent"),t=plus.android.importClass("android.provider.Settings"),n=plus.android.runtimeMainActivity(),i=new e(t.ACTION_SETTINGS);n.startActivity(i)}}},[["render",function(t,n,i,o,r,s){const a=p(e.resolveDynamicComponent("uv-icon"),z),c=p(e.resolveDynamicComponent("uv-button"),J),u=p(e.resolveDynamicComponent("uv-overlay"),$);return e.openBlock(),e.createBlock(u,{show:!r.isConnected,zIndex:t.zIndex,onTouchmove:e.withModifiers(t.noop,["stop","prevent"]),customStyle:{backgroundColor:"#fff",display:"flex",justifyContent:"center"}},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"uv-no-network"},[e.createVNode(a,{name:t.image,size:"150",imgMode:"widthFit",class:"uv-no-network__error-icon"},null,8,["name"]),e.createElementVNode("text",{class:"uv-no-network__tips"},e.toDisplayString(t.tips),1),e.createElementVNode("view",{class:"uv-no-network__app"},[e.createElementVNode("text",{class:"uv-no-network__app__setting"},"请检查网络,或前往"),e.createElementVNode("text",{class:"uv-no-network__app__to-setting",onClick:n[0]||(n[0]=(...e)=>s.openSettings&&s.openSettings(...e))},"设置")]),e.createElementVNode("view",{class:"uv-no-network__retry"},[e.createVNode(c,{style:{width:"220rpx"},text:"重试",type:"primary",onClick:s.retry},null,8,["onClick"])])])])),_:1},8,["show","zIndex","onTouchmove"])}],["__scopeId","data-v-6eb2581f"]]),te={apiBaseUrl:"https://warehouse.szjixun.cn/oa_backend",h5Url:"http://114.218.158.24:8042/#/"},ne={__name:"index",setup(t){const n=e.ref(null),i=e=>{var t,i;if("load-complete"===(null==(i=null==(t=e.detail.data)?void 0:t[0])?void 0:i.action)){const{statusBarHeight:e}=uni.getSystemInfoSync(),t=getCurrentPages().pop().$getAppWebview();n.value=t.children()[0],n.value.setStyle({top:e,bottom:0})}};return(t,n)=>(e.openBlock(),e.createElementBlock("web-view",{class:"webview",onMessage:i,style:{flex:"1"},ref:"webViewRef",src:e.unref(te).h5Url},null,40,["src"]))}},ie={__name:"index",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(ee))};__definePage("pages/index/index",ne),__definePage("pages/networko/index",ie),uni.invokePushCallback({type:"enabled",offline:!0}),Promise.resolve().then((()=>{"undefined"!=typeof plus&&plus.push&&plus.globalEvent.addEventListener("newPath",(({path:e})=>{if(!e)return;const t=getCurrentPages(),n=t[t.length-1];n&&n.$page&&n.$page.fullPath===e||uni.navigateTo({url:e,fail(t){t.errMsg.indexOf("tabbar")>-1?uni.switchTab({url:e,fail(e){console.error(e.errMsg)}}):console.error(t.errMsg)}})})),plus.push.setAutoNotification&&plus.push.setAutoNotification(!1)}));const oe={methods:{networkStatusChange(e){e.isConnected?uni.redirectTo({url:"/pages/index/index"}):uni.redirectTo({url:"/pages/networko/index"})}},onLaunch:function(){},onShow:function(){uni.getNetworkType({success:e=>{"none"===e.networkType&&uni.redirectTo({url:"/pages/networko/index"})}}),uni.onNetworkStatusChange(this.networkStatusChange)},onHide:function(){uni.offNetworkStatusChange(this.networkStatusChange)}},re={pages:[{path:"pages/index/index",style:{navigationBarTitleText:"uni-app",navigationStyle:"custom"}},{path:"pages/networko/index",style:{navigationBarTitleText:"uni-app",navigationStyle:"custom"}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},uniIdRouter:{}};function se(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var ae=se((function(e,t){var n;e.exports=(n=n||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},o=i.lib={},r=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=o.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,o=e.sigBytes;if(this.clamp(),i%4)for(var r=0;r>>2]>>>24-r%4*8&255;t[i+r>>>2]|=s<<24-(i+r)%4*8}else for(r=0;r>>2]=n[r>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=r.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],o=function(t){var n=987654321,i=4294967295;return function(){var o=((n=36969*(65535&n)+(n>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return o/=4294967296,(o+=.5)*(e.random()>.5?1:-1)}},r=0;r>>2]>>>24-o%4*8&255;i.push((r>>>4).toString(16)),i.push((15&r).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new s.init(n,t/2)}},u=a.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],o=0;o>>2]>>>24-o%4*8&255;i.push(String.fromCharCode(r))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new s.init(n,t)}},l=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},d=o.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,o=n.sigBytes,r=this.blockSize,a=o/(4*r),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*r,u=e.min(4*c,o);if(c){for(var l=0;l>>24)|4278255360&(o<<24|o>>>8)}var r=this._hash.words,s=e[t+0],c=e[t+1],p=e[t+2],f=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],A=e[t+7],v=e[t+8],w=e[t+9],S=e[t+10],b=e[t+11],k=e[t+12],E=e[t+13],I=e[t+14],P=e[t+15],x=r[0],T=r[1],B=r[2],C=r[3];x=u(x,T,B,C,s,7,a[0]),C=u(C,x,T,B,c,12,a[1]),B=u(B,C,x,T,p,17,a[2]),T=u(T,B,C,x,f,22,a[3]),x=u(x,T,B,C,g,7,a[4]),C=u(C,x,T,B,m,12,a[5]),B=u(B,C,x,T,y,17,a[6]),T=u(T,B,C,x,A,22,a[7]),x=u(x,T,B,C,v,7,a[8]),C=u(C,x,T,B,w,12,a[9]),B=u(B,C,x,T,S,17,a[10]),T=u(T,B,C,x,b,22,a[11]),x=u(x,T,B,C,k,7,a[12]),C=u(C,x,T,B,E,12,a[13]),B=u(B,C,x,T,I,17,a[14]),x=l(x,T=u(T,B,C,x,P,22,a[15]),B,C,c,5,a[16]),C=l(C,x,T,B,y,9,a[17]),B=l(B,C,x,T,b,14,a[18]),T=l(T,B,C,x,s,20,a[19]),x=l(x,T,B,C,m,5,a[20]),C=l(C,x,T,B,S,9,a[21]),B=l(B,C,x,T,P,14,a[22]),T=l(T,B,C,x,g,20,a[23]),x=l(x,T,B,C,w,5,a[24]),C=l(C,x,T,B,I,9,a[25]),B=l(B,C,x,T,f,14,a[26]),T=l(T,B,C,x,v,20,a[27]),x=l(x,T,B,C,E,5,a[28]),C=l(C,x,T,B,p,9,a[29]),B=l(B,C,x,T,A,14,a[30]),x=d(x,T=l(T,B,C,x,k,20,a[31]),B,C,m,4,a[32]),C=d(C,x,T,B,v,11,a[33]),B=d(B,C,x,T,b,16,a[34]),T=d(T,B,C,x,I,23,a[35]),x=d(x,T,B,C,c,4,a[36]),C=d(C,x,T,B,g,11,a[37]),B=d(B,C,x,T,A,16,a[38]),T=d(T,B,C,x,S,23,a[39]),x=d(x,T,B,C,E,4,a[40]),C=d(C,x,T,B,s,11,a[41]),B=d(B,C,x,T,f,16,a[42]),T=d(T,B,C,x,y,23,a[43]),x=d(x,T,B,C,w,4,a[44]),C=d(C,x,T,B,k,11,a[45]),B=d(B,C,x,T,P,16,a[46]),x=h(x,T=d(T,B,C,x,p,23,a[47]),B,C,s,6,a[48]),C=h(C,x,T,B,A,10,a[49]),B=h(B,C,x,T,I,15,a[50]),T=h(T,B,C,x,m,21,a[51]),x=h(x,T,B,C,k,6,a[52]),C=h(C,x,T,B,f,10,a[53]),B=h(B,C,x,T,S,15,a[54]),T=h(T,B,C,x,c,21,a[55]),x=h(x,T,B,C,v,6,a[56]),C=h(C,x,T,B,P,10,a[57]),B=h(B,C,x,T,y,15,a[58]),T=h(T,B,C,x,E,21,a[59]),x=h(x,T,B,C,g,6,a[60]),C=h(C,x,T,B,b,10,a[61]),B=h(B,C,x,T,p,15,a[62]),T=h(T,B,C,x,w,21,a[63]),r[0]=r[0]+x|0,r[1]=r[1]+T|0,r[2]=r[2]+B|0,r[3]=r[3]+C|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var r=e.floor(i/4294967296),s=i;n[15+(o+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),n[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,i,o,r,s){var a=e+(t&n|~t&i)+o+s;return(a<>>32-r)+t}function l(e,t,n,i,o,r,s){var a=e+(t&i|n&~i)+o+s;return(a<>>32-r)+t}function d(e,t,n,i,o,r,s){var a=e+(t^n^i)+o+s;return(a<>>32-r)+t}function h(e,t,n,i,o,r,s){var a=e+(n^(t|~i))+o+s;return(a<>>32-r)+t}t.MD5=r._createHelper(c),t.HmacMD5=r._createHmacHelper(c)}(Math),n.MD5)})),se((function(e,t){var n,i,o;e.exports=(i=(n=ce).lib.Base,o=n.enc.Utf8,void(n.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var r=this._oKey=t.clone(),s=this._iKey=t.clone(),a=r.words,c=s.words,u=0;u>>2]>>>24-r%4*8&255)<<16|(t[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|t[r+2>>>2]>>>24-(r+2)%4*8&255,a=0;a<4&&r+.75*a>>6*(3-a)&63));var c=i.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var r=0;r>>6-s%4*2;i[r>>>2]|=(a|c)<<24-r%4*8,r++}return o.create(i,r)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)}));const he="FUNCTION",pe="pending",fe="rejected";function ge(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function me(e){return"object"===ge(e)}function ye(e){return"function"==typeof e}function Ae(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}const ve="REJECTED",we="NOT_PENDING";class Se{constructor({createPromise:e,retryRule:t=ve}={}){this.createPromise=e,this.status=null,this.promise=null,this.retryRule=t}get needRetry(){if(!this.status)return!0;switch(this.retryRule){case ve:return this.status===fe;case we:return this.status!==pe}}exec(){return this.needRetry?(this.status=pe,this.promise=this.createPromise().then((e=>(this.status="fulfilled",Promise.resolve(e))),(e=>(this.status=fe,Promise.reject(e)))),this.promise):this.promise}}function be(e){return e&&"string"==typeof e?JSON.parse(e):e}const ke=be([]);be("");const Ee=be('[{"provider":"alipay","spaceName":"oaapp","spaceId":"env-00jxgxphla18","spaceAppId":"2021004145628977","accessKey":"ZALus7EgJXdovISb","secretKey":"7qzvVrPN0mAxfcLr"}]')||[];let Ie="";try{Ie="__UNI__4796942"}catch(ft){}let Pe={};function xe(e,t={}){var n,i;return n=Pe,i=e,Object.prototype.hasOwnProperty.call(n,i)||(Pe[e]=t),Pe[e]}Pe=uni._globalUniCloudObj?uni._globalUniCloudObj:uni._globalUniCloudObj={};const Te=["invoke","success","fail","complete"],Be=xe("_globalUniCloudInterceptor");function Ce(e,t){Be[e]||(Be[e]={}),me(t)&&Object.keys(t).forEach((n=>{Te.indexOf(n)>-1&&function(e,t,n){let i=Be[e][t];i||(i=Be[e][t]=[]),-1===i.indexOf(n)&&ye(n)&&i.push(n)}(e,n,t[n])}))}function Ue(e,t){Be[e]||(Be[e]={}),me(t)?Object.keys(t).forEach((n=>{Te.indexOf(n)>-1&&function(e,t,n){const i=Be[e][t];if(!i)return;const o=i.indexOf(n);o>-1&&i.splice(o,1)}(e,n,t[n])})):delete Be[e]}function Oe(e,t){return e&&0!==e.length?e.reduce(((e,n)=>e.then((()=>n(t)))),Promise.resolve()):Promise.resolve()}function Le(e,t){return Be[e]&&Be[e][t]||[]}function Ne(e){Ce("callObject",e)}const Fe=xe("_globalUniCloudListener"),Qe="response",je="needLogin",_e="refreshToken",Re="clientdb",qe="cloudfunction",De="cloudobject";function Me(e){return Fe[e]||(Fe[e]=[]),Fe[e]}function He(e,t){const n=Me(e);n.includes(t)||n.push(t)}function ze(e,t){const n=Me(e),i=n.indexOf(t);-1!==i&&n.splice(i,1)}function Ke(e,t){const n=Me(e);for(let i=0;i{We&&e(),function t(){if("function"==typeof getCurrentPages){const t=getCurrentPages();t&&t[0]&&(We=!0,e())}We||setTimeout((()=>{t()}),30)}()})),Ve)}function Xe(e){const t={};for(const n in e){const i=e[n];ye(i)&&(t[n]=Ae(i))}return t}class Ye extends Error{constructor(e){super(e.message),this.errMsg=e.message||e.errMsg||"unknown system error",this.code=this.errCode=e.code||e.errCode||"SYSTEM_ERROR",this.errSubject=this.subject=e.subject||e.errSubject,this.cause=e.cause,this.requestId=e.requestId}toJson(e=0){if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}var Ge={request:e=>uni.request(e),uploadFile:e=>uni.uploadFile(e),setStorageSync:(e,t)=>uni.setStorageSync(e,t),getStorageSync:e=>uni.getStorageSync(e),removeStorageSync:e=>uni.removeStorageSync(e),clearStorageSync:()=>uni.clearStorageSync(),connectSocket:e=>uni.connectSocket(e)};function Ze(e){return e&&Ze(e.__v_raw)||e}function $e(){return{token:Ge.getStorageSync("uni_id_token")||Ge.getStorageSync("uniIdToken"),tokenExpired:Ge.getStorageSync("uni_id_token_expired")}}function et({token:e,tokenExpired:t}={}){e&&Ge.setStorageSync("uni_id_token",e),t&&Ge.setStorageSync("uni_id_token_expired",t)}let tt,nt;function it(){return tt||(tt=uni.getSystemInfoSync()),tt}function ot(){let e,t;try{if(uni.getLaunchOptionsSync){if(uni.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;const{scene:n,channel:i}=uni.getLaunchOptionsSync();e=i,t=n}}catch(n){}return{channel:e,scene:t}}let rt={};function st(){const e=uni.getLocale&&uni.getLocale()||"en";if(nt)return{...rt,...nt,locale:e,LOCALE:e};const t=it(),{deviceId:n,osName:i,uniPlatform:o,appId:r}=t,s=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(const a in t)Object.hasOwnProperty.call(t,a)&&-1===s.indexOf(a)&&delete t[a];return nt={PLATFORM:o,OS:i,APPID:r,DEVICEID:n,...ot(),...t},{...rt,...nt,locale:e,LOCALE:e}}var at=function(e,t){let n="";return Object.keys(e).sort().forEach((function(t){e[t]&&(n=n+"&"+t+"="+e[t])})),n=n.slice(1),ue(n,t).toString()},ct=function(e,t){return new Promise(((n,i)=>{t(Object.assign(e,{complete(e){e||(e={});const t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){const n=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",o=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return i(new Ye({code:n,message:o,requestId:t}))}const o=e.data;if(o.error)return i(new Ye({code:o.error.code,message:o.error.message,requestId:t}));o.result=o.data,o.requestId=t,delete o.data,n(o)}}))}))},ut=function(e){return de.stringify(le.parse(e))},lt=class{constructor(e){["spaceId","clientSecret"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=Ge,this._getAccessTokenPromiseHub=new Se({createPromise:()=>this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((e=>{if(!e.result||!e.result.accessToken)throw new Ye({code:"AUTH_FAILED",message:"获取accessToken失败"});this.setAccessToken(e.result.accessToken)})),retryRule:we})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return ct(e,this.adapter.request)}requestAuth(e){return this.requestWrapped(e)}request(e,t){return Promise.resolve().then((()=>this.hasAccessToken?t?this.requestWrapped(e):this.requestWrapped(e).catch((t=>new Promise(((e,n)=>{!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?n(t):e()})).then((()=>this.getAccessToken())).then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)})))):this.getAccessToken().then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)}))))}rebuildRequest(e){const t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=at(t.data,this.config.clientSecret),t}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};return"auth"!==t&&(n.token=this.accessToken,i["x-basement-token"]=this.accessToken),i["x-serverless-sign"]=at(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:i}}getAccessToken(){return this._getAccessTokenPromiseHub.exec()}async authorize(){await this.getAccessToken()}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}getOSSUploadOptionsFromPath(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFileToOSS({url:e,formData:t,name:n,filePath:i,fileType:o,onUploadProgress:r}){return new Promise(((s,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:i,fileType:o,header:{"X-OSS-server-side-encrpytion":"AES256"},success(e){e&&e.statusCode<400?s(e):a(new Ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new Ye({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof r&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((e=>{r({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}reportOSSUpload(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}async uploadFile({filePath:e,cloudPath:t,fileType:n="image",cloudPathAsRealPath:i=!1,onUploadProgress:o,config:r}){if("string"!==ge(t))throw new Ye({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new Ye({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new Ye({code:"INVALID_PARAM",message:"cloudPath不合法"});const s=r&&r.envType||this.config.envType;if(i&&("/"!==t[0]&&(t="/"+t),t.indexOf("\\")>-1))throw new Ye({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});const a=(await this.getOSSUploadOptionsFromPath({env:s,filename:i?t.split("/").pop():t,fileId:i?t:void 0})).result,c="https://"+a.cdnDomain+"/"+a.ossPath,{securityToken:u,accessKeyId:l,signature:d,host:h,ossPath:p,id:f,policy:g,ossCallbackUrl:m}=a,y={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:l,Signature:d,host:h,id:f,key:p,policy:g,success_action_status:200};if(u&&(y["x-oss-security-token"]=u),m){const e=JSON.stringify({callbackUrl:m,callbackBody:JSON.stringify({fileId:f,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});y.callback=ut(e)}const A={url:"https://"+a.host,formData:y,fileName:"file",name:"file",filePath:e,fileType:n};if(await this.uploadFileToOSS(Object.assign({},A,{onUploadProgress:o})),m)return{success:!0,filePath:e,fileID:c};if((await this.reportOSSUpload({id:f})).success)return{success:!0,filePath:e,fileID:c};throw new Ye({code:"UPLOAD_FAILED",message:"文件上传失败"})}getTempFileURL({fileList:e}={}){return new Promise(((t,n)=>{Array.isArray(e)&&0!==e.length||n(new Ye({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),t({fileList:e.map((e=>({fileID:e,tempFileURL:e})))})}))}async getFileInfo({fileList:e}={}){if(!Array.isArray(e)||0===e.length)throw new Ye({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.info",params:JSON.stringify({id:e.map((e=>e.split("?")[0])).join(",")})};return{fileList:(await this.request(this.setupRequest(t))).result}}},dt={init(e){const t=new lt(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}};const ht="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";var pt,ft;(ft=pt||(pt={})).local="local",ft.none="none",ft.session="session";var gt=function(){},mt=se((function(e,t){var n;e.exports=(n=ce,function(e){var t=n,i=t.lib,o=i.WordArray,r=i.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),i=2;i<=n;i++)if(!(t%i))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var i=2,o=0;o<64;)t(i)&&(o<8&&(a[o]=n(e.pow(i,.5))),c[o]=n(e.pow(i,1/3)),o++),i++}();var u=[],l=s.SHA256=r.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],o=n[1],r=n[2],s=n[3],a=n[4],l=n[5],d=n[6],h=n[7],p=0;p<64;p++){if(p<16)u[p]=0|e[t+p];else{var f=u[p-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=u[p-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;u[p]=g+u[p-7]+y+u[p-16]}var A=i&o^i&r^o&r,v=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),w=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&d)+c[p]+u[p];h=d,d=l,l=a,a=s+w|0,s=r,r=o,o=i,i=w+(v+A)|0}n[0]=n[0]+i|0,n[1]=n[1]+o|0,n[2]=n[2]+r|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+l|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(i/4294967296),n[15+(o+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=r._createHelper(l),t.HmacSHA256=r._createHmacHelper(l)}(Math),n.SHA256)})),yt=mt,At=se((function(e,t){e.exports=ce.HmacSHA256}));const vt=()=>{let e;if(!Promise){e=()=>{},e.promise={};const t=()=>{throw new Ye({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}const t=new Promise(((t,n)=>{e=(e,i)=>e?n(e):t(i)}));return e.promise=t,e};function wt(e){return void 0===e}function St(e){return"[object Null]"===Object.prototype.toString.call(e)}var bt;!function(e){e.WEB="web",e.WX_MP="wx_mp"}(bt||(bt={}));const kt={adapter:null,runtime:void 0},Et=["anonymousUuidKey"];class It extends gt{constructor(){super(),kt.adapter.root.tcbObject||(kt.adapter.root.tcbObject={})}setItem(e,t){kt.adapter.root.tcbObject[e]=t}getItem(e){return kt.adapter.root.tcbObject[e]}removeItem(e){delete kt.adapter.root.tcbObject[e]}clear(){delete kt.adapter.root.tcbObject}}function Pt(e,t){switch(e){case"local":return t.localStorage||new It;case"none":return new It;default:return t.sessionStorage||new It}}class xt{constructor(e){if(!this._storage){this._persistence=kt.adapter.primaryStorage||e.persistence,this._storage=Pt(this._persistence,kt.adapter);const t=`access_token_${e.env}`,n=`access_token_expire_${e.env}`,i=`refresh_token_${e.env}`,o=`anonymous_uuid_${e.env}`,r=`login_type_${e.env}`,s=`user_info_${e.env}`;this.keys={accessTokenKey:t,accessTokenExpireKey:n,refreshTokenKey:i,anonymousUuidKey:o,loginTypeKey:r,userInfoKey:s}}}updatePersistence(e){if(e===this._persistence)return;const t="local"===this._persistence;this._persistence=e;const n=Pt(e,kt.adapter);for(const i in this.keys){const e=this.keys[i];if(t&&Et.includes(i))continue;const o=this._storage.getItem(e);wt(o)||St(o)||(n.setItem(e,o),this._storage.removeItem(e))}this._storage=n}setStore(e,t,n){if(!this._storage)return;const i={version:n||"localCachev1",content:t},o=JSON.stringify(i);try{this._storage.setItem(e,o)}catch(r){throw r}}getStore(e,t){try{if(!this._storage)return}catch(i){return""}t=t||"localCachev1";const n=this._storage.getItem(e);return n&&n.indexOf(t)>=0?JSON.parse(n).content:""}removeStore(e){this._storage.removeItem(e)}}const Tt={},Bt={};function Ct(e){return Tt[e]}class Ut{constructor(e,t){this.data=t||null,this.name=e}}class Ot extends Ut{constructor(e,t){super("error",{error:e,data:t}),this.error=e}}const Lt=new class{constructor(){this._listeners={}}on(e,t){return n=e,i=t,(o=this._listeners)[n]=o[n]||[],o[n].push(i),this;var n,i,o}off(e,t){return function(e,t,n){if(n&&n[e]){const i=n[e].indexOf(t);-1!==i&&n[e].splice(i,1)}}(e,t,this._listeners),this}fire(e,t){if(e instanceof Ot)return console.error(e.error),this;const n="string"==typeof e?new Ut(e,t||{}):e,i=n.name;if(this._listens(i)){n.target=this;const e=this._listeners[i]?[...this._listeners[i]]:[];for(const t of e)t.call(this,n)}return this}_listens(e){return this._listeners[e]&&this._listeners[e].length>0}};function Nt(e,t){Lt.on(e,t)}function Ft(e,t={}){Lt.fire(e,t)}function Qt(e,t){Lt.off(e,t)}const jt="loginStateChanged",_t="loginStateExpire",Rt="loginTypeChanged",qt="anonymousConverted",Dt="refreshAccessToken";var Mt;!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(Mt||(Mt={}));const Ht=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],zt={"X-SDK-Version":"1.3.5"};function Kt(e,t,n){const i=e[t];e[t]=function(t){const o={},r={};n.forEach((n=>{const{data:i,headers:s}=n.call(e,t);Object.assign(o,i),Object.assign(r,s)}));const s=t.data;return s&&(()=>{var e;if(e=s,"[object FormData]"!==Object.prototype.toString.call(e))t.data={...s,...o};else for(const t in o)s.append(t,o[t])})(),t.headers={...t.headers||{},...r},i.call(e,t)}}function Vt(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:{...zt,"x-seqid":e}}}class Wt{constructor(e={}){var t;this.config=e,this._reqClass=new kt.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]}),this._cache=Ct(this.config.env),this._localCache=(t=this.config.env,Bt[t]),Kt(this._reqClass,"post",[Vt]),Kt(this._reqClass,"upload",[Vt]),Kt(this._reqClass,"download",[Vt])}async post(e){return await this._reqClass.post(e)}async upload(e){return await this._reqClass.upload(e)}async download(e){return await this._reqClass.download(e)}async refreshAccessToken(){let e,t;this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken());try{e=await this._refreshAccessTokenPromise}catch(n){t=n}if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,t)throw t;return e}async _refreshAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n,loginTypeKey:i,anonymousUuidKey:o}=this._cache.keys;this._cache.removeStore(e),this._cache.removeStore(t);let r=this._cache.getStore(n);if(!r)throw new Ye({message:"未登录CloudBase"});const s={refresh_token:r},a=await this.request("auth.fetchAccessTokenWithRefreshToken",s);if(a.data.code){const{code:e}=a.data;if("SIGN_PARAM_INVALID"===e||"REFRESH_TOKEN_EXPIRED"===e||"INVALID_REFRESH_TOKEN"===e){if(this._cache.getStore(i)===Mt.ANONYMOUS&&"INVALID_REFRESH_TOKEN"===e){const e=this._cache.getStore(o),t=this._cache.getStore(n),i=await this.send("auth.signInAnonymously",{anonymous_uuid:e,refresh_token:t});return this.setRefreshToken(i.refresh_token),this._refreshAccessToken()}Ft(_t),this._cache.removeStore(n)}throw new Ye({code:a.data.code,message:`刷新access token失败:${a.data.code}`})}if(a.data.access_token)return Ft(Dt),this._cache.setStore(e,a.data.access_token),this._cache.setStore(t,a.data.access_token_expire+Date.now()),{accessToken:a.data.access_token,accessTokenExpire:a.data.access_token_expire};a.data.refresh_token&&(this._cache.removeStore(n),this._cache.setStore(n,a.data.refresh_token),this._refreshAccessToken())}async getAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n}=this._cache.keys;if(!this._cache.getStore(n))throw new Ye({message:"refresh token不存在,登录状态异常"});let i=this._cache.getStore(e),o=this._cache.getStore(t),r=!0;return this._shouldRefreshAccessTokenHook&&!(await this._shouldRefreshAccessTokenHook(i,o))&&(r=!1),(!i||!o||o{e.wxOpenId&&e.wxPublicId&&(t=!0)})),{users:n,hasPrimaryUid:t}}setPrimaryUid(e){return this._request.send("auth.setPrimaryUid",{uid:e})}unlink(e){return this._request.send("auth.unlink",{platform:e})}async update(e){const{nickName:t,gender:n,avatarUrl:i,province:o,country:r,city:s}=e,{data:a}=await this._request.send("auth.updateUserInfo",{nickName:t,gender:n,avatarUrl:i,province:o,country:r,city:s});this.setLocalUserInfo(a)}async refresh(){const{data:e}=await this._request.send("auth.getUserInfo",{});return this.setLocalUserInfo(e),e}setUserInfo(){const{userInfoKey:e}=this._cache.keys,t=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((e=>{this[e]=t[e]})),this.location={country:t.country,province:t.province,city:t.city}}setLocalUserInfo(e){const{userInfoKey:t}=this._cache.keys;this._cache.setStore(t,e),this.setUserInfo()}}class Zt{constructor(e){if(!e)throw new Ye({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Ct(e);const{refreshTokenKey:t,accessTokenKey:n,accessTokenExpireKey:i}=this._cache.keys,o=this._cache.getStore(t),r=this._cache.getStore(n),s=this._cache.getStore(i);this.credential={refreshToken:o,accessToken:r,accessTokenExpire:s},this.user=new Gt(e)}get isAnonymousAuth(){return this.loginType===Mt.ANONYMOUS}get isCustomAuth(){return this.loginType===Mt.CUSTOM}get isWeixinAuth(){return this.loginType===Mt.WECHAT||this.loginType===Mt.WECHAT_OPEN||this.loginType===Mt.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class $t extends Yt{async signIn(){this._cache.updatePersistence("local");const{anonymousUuidKey:e,refreshTokenKey:t}=this._cache.keys,n=this._cache.getStore(e)||void 0,i=this._cache.getStore(t)||void 0,o=await this._request.send("auth.signInAnonymously",{anonymous_uuid:n,refresh_token:i});if(o.uuid&&o.refresh_token){this._setAnonymousUUID(o.uuid),this.setRefreshToken(o.refresh_token),await this._request.refreshAccessToken(),Ft(jt),Ft(Rt,{env:this.config.env,loginType:Mt.ANONYMOUS,persistence:"local"});const e=new Zt(this.config.env);return await e.user.refresh(),e}throw new Ye({message:"匿名登录失败"})}async linkAndRetrieveDataWithTicket(e){const{anonymousUuidKey:t,refreshTokenKey:n}=this._cache.keys,i=this._cache.getStore(t),o=this._cache.getStore(n),r=await this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:i,refresh_token:o,ticket:e});if(r.refresh_token)return this._clearAnonymousUUID(),this.setRefreshToken(r.refresh_token),await this._request.refreshAccessToken(),Ft(qt,{env:this.config.env}),Ft(Rt,{loginType:Mt.CUSTOM,persistence:"local"}),{credential:{refreshToken:r.refresh_token}};throw new Ye({message:"匿名转化失败"})}_setAnonymousUUID(e){const{anonymousUuidKey:t,loginTypeKey:n}=this._cache.keys;this._cache.removeStore(t),this._cache.setStore(t,e),this._cache.setStore(n,Mt.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class en extends Yt{async signIn(e){if("string"!=typeof e)throw new Ye({code:"PARAM_ERROR",message:"ticket must be a string"});const{refreshTokenKey:t}=this._cache.keys,n=await this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(t)||""});if(n.refresh_token)return this.setRefreshToken(n.refresh_token),await this._request.refreshAccessToken(),Ft(jt),Ft(Rt,{env:this.config.env,loginType:Mt.CUSTOM,persistence:this.config.persistence}),await this.refreshUserInfo(),new Zt(this.config.env);throw new Ye({message:"自定义登录失败"})}}class tn extends Yt{async signIn(e,t){if("string"!=typeof e)throw new Ye({code:"PARAM_ERROR",message:"email must be a string"});const{refreshTokenKey:n}=this._cache.keys,i=await this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:o,access_token:r,access_token_expire:s}=i;if(o)return this.setRefreshToken(o),r&&s?this.setAccessToken(r,s):await this._request.refreshAccessToken(),await this.refreshUserInfo(),Ft(jt),Ft(Rt,{env:this.config.env,loginType:Mt.EMAIL,persistence:this.config.persistence}),new Zt(this.config.env);throw i.code?new Ye({code:i.code,message:`邮箱登录失败: ${i.message}`}):new Ye({message:"邮箱登录失败"})}async activate(e){return this._request.send("auth.activateEndUserMail",{token:e})}async resetPasswordWithToken(e,t){return this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:t})}}class nn extends Yt{async signIn(e,t){if("string"!=typeof e)throw new Ye({code:"PARAM_ERROR",message:"username must be a string"});"string"!=typeof t&&(t="",console.warn("password is empty"));const{refreshTokenKey:n}=this._cache.keys,i=await this._request.send("auth.signIn",{loginType:Mt.USERNAME,username:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:o,access_token_expire:r,access_token:s}=i;if(o)return this.setRefreshToken(o),s&&r?this.setAccessToken(s,r):await this._request.refreshAccessToken(),await this.refreshUserInfo(),Ft(jt),Ft(Rt,{env:this.config.env,loginType:Mt.USERNAME,persistence:this.config.persistence}),new Zt(this.config.env);throw i.code?new Ye({code:i.code,message:`用户名密码登录失败: ${i.message}`}):new Ye({message:"用户名密码登录失败"})}}class on{constructor(e){this.config=e,this._cache=Ct(e.env),this._request=Xt(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Nt(Rt,this._onLoginTypeChanged)}get currentUser(){const e=this.hasLoginState();return e&&e.user||null}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}anonymousAuthProvider(){return new $t(this.config)}customAuthProvider(){return new en(this.config)}emailAuthProvider(){return new tn(this.config)}usernameAuthProvider(){return new nn(this.config)}async signInAnonymously(){return new $t(this.config).signIn()}async signInWithEmailAndPassword(e,t){return new tn(this.config).signIn(e,t)}signInWithUsernameAndPassword(e,t){return new nn(this.config).signIn(e,t)}async linkAndRetrieveDataWithTicket(e){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new $t(this.config)),Nt(qt,this._onAnonymousConverted),await this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e)}async signOut(){if(this.loginType===Mt.ANONYMOUS)throw new Ye({message:"匿名用户不支持登出操作"});const{refreshTokenKey:e,accessTokenKey:t,accessTokenExpireKey:n}=this._cache.keys,i=this._cache.getStore(e);if(!i)return;const o=await this._request.send("auth.logout",{refresh_token:i});return this._cache.removeStore(e),this._cache.removeStore(t),this._cache.removeStore(n),Ft(jt),Ft(Rt,{env:this.config.env,loginType:Mt.NULL,persistence:this.config.persistence}),o}async signUpWithEmailAndPassword(e,t){return this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:t})}async sendPasswordResetEmail(e){return this._request.send("auth.sendPasswordResetEmail",{email:e})}onLoginStateChanged(e){Nt(jt,(()=>{const t=this.hasLoginState();e.call(this,t)}));const t=this.hasLoginState();e.call(this,t)}onLoginStateExpired(e){Nt(_t,e.bind(this))}onAccessTokenRefreshed(e){Nt(Dt,e.bind(this))}onAnonymousConverted(e){Nt(qt,e.bind(this))}onLoginTypeChanged(e){Nt(Rt,(()=>{const t=this.hasLoginState();e.call(this,t)}))}async getAccessToken(){return{accessToken:(await this._request.getAccessToken()).accessToken,env:this.config.env}}hasLoginState(){const{refreshTokenKey:e}=this._cache.keys;return this._cache.getStore(e)?new Zt(this.config.env):null}async isUsernameRegistered(e){if("string"!=typeof e)throw new Ye({code:"PARAM_ERROR",message:"username must be a string"});const{data:t}=await this._request.send("auth.isUsernameRegistered",{username:e});return t&&t.isRegistered}getLoginState(){return Promise.resolve(this.hasLoginState())}async signInWithTicket(e){return new en(this.config).signIn(e)}shouldRefreshAccessToken(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}getUserInfo(){return this._request.send("auth.getUserInfo",{}).then((e=>e.code?e:{...e.data,requestId:e.seqId}))}getAuthHeader(){const{refreshTokenKey:e,accessTokenKey:t}=this._cache.keys,n=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(t)+"/@@/"+n}}_onAnonymousConverted(e){const{env:t}=e.data;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}_onLoginTypeChanged(e){const{loginType:t,persistence:n,env:i}=e.data;i===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,t))}}const rn=function(e,t){t=t||vt();const n=Xt(this.config.env),{cloudPath:i,filePath:o,onUploadProgress:r,fileType:s="image"}=e;return n.send("storage.getUploadMetadata",{path:i}).then((e=>{const{data:{url:a,authorization:c,token:u,fileId:l,cosFileId:d},requestId:h}=e,p={key:i,signature:c,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":u};n.upload({url:a,data:p,file:o,name:i,fileType:s,onUploadProgress:r}).then((e=>{201===e.statusCode?t(null,{fileID:l,requestId:h}):t(new Ye({code:"STORAGE_REQUEST_FAIL",message:`STORAGE_REQUEST_FAIL: ${e.data}`}))})).catch((e=>{t(e)}))})).catch((e=>{t(e)})),t.promise},sn=function(e,t){t=t||vt();const n=Xt(this.config.env),{cloudPath:i}=e;return n.send("storage.getUploadMetadata",{path:i}).then((e=>{t(null,e)})).catch((e=>{t(e)})),t.promise},an=function({fileList:e},t){if(t=t||vt(),!e||!Array.isArray(e))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};for(let i of e)if(!i||"string"!=typeof i)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"};const n={fileid_list:e};return Xt(this.config.env).send("storage.batchDeleteFile",n).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},cn=function({fileList:e},t){t=t||vt(),e&&Array.isArray(e)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});let n=[];for(let o of e)"object"==typeof o?(o.hasOwnProperty("fileID")&&o.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),n.push({fileid:o.fileID,max_age:o.maxAge})):"string"==typeof o?n.push({fileid:o}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"});const i={file_list:n};return Xt(this.config.env).send("storage.batchGetDownloadUrl",i).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},un=async function({fileID:e},t){const n=(await cn.call(this,{fileList:[{fileID:e,maxAge:600}]})).fileList[0];if("SUCCESS"!==n.code)return t?t(n):new Promise((e=>{e(n)}));const i=Xt(this.config.env);let o=n.download_url;if(o=encodeURI(o),!t)return i.download({url:o});t(await i.download({url:o}))},ln=function({name:e,data:t,query:n,parse:i,search:o},r){const s=r||vt();let a;try{a=t?JSON.stringify(t):""}catch(u){return Promise.reject(u)}if(!e)return Promise.reject(new Ye({code:"PARAM_ERROR",message:"函数名不能为空"}));const c={inQuery:n,parse:i,search:o,function_name:e,request_data:a};return Xt(this.config.env).send("functions.invokeFunction",c).then((e=>{if(e.code)s(null,e);else{let n=e.data.response_data;if(i)s(null,{result:n,requestId:e.requestId});else try{n=JSON.parse(e.data.response_data),s(null,{result:n,requestId:e.requestId})}catch(t){s(new Ye({message:"response data must be json"}))}}return s.promise})).catch((e=>{s(e)})),s.promise},dn={timeout:15e3,persistence:"session"},hn={};class pn{constructor(e){this.config=e||this.config,this.authObj=void 0}init(e){switch(kt.adapter||(this.requestClient=new kt.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:`请求在${(e.timeout||5e3)/1e3}s内未完成,已中断`})),this.config={...dn,...e},!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new pn(this.config)}auth({persistence:e}={}){if(this.authObj)return this.authObj;const t=e||kt.adapter.primaryStorage||dn.persistence;var n;return t!==this.config.persistence&&(this.config.persistence=t),function(e){const{env:t}=e;Tt[t]=new xt(e),Bt[t]=new xt({...e,persistence:"local"})}(this.config),n=this.config,Jt[n.env]=new Wt(n),this.authObj=new on(this.config),this.authObj}on(e,t){return Nt.apply(this,[e,t])}off(e,t){return Qt.apply(this,[e,t])}callFunction(e,t){return ln.apply(this,[e,t])}deleteFile(e,t){return an.apply(this,[e,t])}getTempFileURL(e,t){return cn.apply(this,[e,t])}downloadFile(e,t){return un.apply(this,[e,t])}uploadFile(e,t){return rn.apply(this,[e,t])}getUploadMetadata(e,t){return sn.apply(this,[e,t])}registerExtension(e){hn[e.name]=e}async invokeExtension(e,t){const n=hn[e];if(!n)throw new Ye({message:`扩展${e} 必须先注册`});return await n.invoke(t,this)}useAdapters(e){const{adapter:t,runtime:n}=function(e){const t=(n=e,"[object Array]"===Object.prototype.toString.call(n)?e:[e]);var n;for(const i of t){const{isMatch:e,genAdapter:t,runtime:n}=i;if(e())return{adapter:t(),runtime:n}}}(e)||{};t&&(kt.adapter=t),n&&(kt.runtime=n)}}var fn=new pn;function gn(e,t,n){void 0===n&&(n={});var i=/\?/.test(t),o="";for(var r in n)""===o?!i&&(t+="?"):o+="&",o+=r+"="+encodeURIComponent(n[r]);return/^http(s)?:\/\//.test(t+=o)?t:""+e+t}class mn{post(e){const{url:t,data:n,headers:i}=e;return new Promise(((e,o)=>{Ge.request({url:gn("https:",t),data:n,method:"POST",header:i,success(t){e(t)},fail(e){o(e)}})}))}upload(e){return new Promise(((t,n)=>{const{url:i,file:o,data:r,headers:s,fileType:a}=e,c=Ge.uploadFile({url:gn("https:",i),name:"file",formData:Object.assign({},r),filePath:o,fileType:a,header:s,success(e){const n={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&r.success_action_status&&(n.statusCode=parseInt(r.success_action_status,10)),t(n)},fail(e){n(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((t=>{e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}const yn={setItem(e,t){Ge.setStorageSync(e,t)},getItem:e=>Ge.getStorageSync(e),removeItem(e){Ge.removeStorageSync(e)},clear(){Ge.clearStorageSync()}};var An={genAdapter:function(){return{root:{},reqClass:mn,localStorage:yn,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};fn.useAdapters(An);const vn=fn,wn=vn.init;vn.init=function(e){e.env=e.spaceId;const t=wn.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;const n=t.auth;return t.auth=function(e){const t=n.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((e=>{var n;t[e]=(n=t[e],function(e){e=e||{};const{success:t,fail:i,complete:o}=Xe(e);if(!(t||i||o))return n.call(this,e);n.call(this,e).then((e=>{t&&t(e),o&&o(e)}),(e=>{i&&i(e),o&&o(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var Sn=vn,bn=class extends lt{getAccessToken(){return new Promise(((e,t)=>{const n="Anonymous_Access_token";this.setAccessToken(n),e(n)}))}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};"auth"!==t&&(n.token=this.accessToken,i["x-basement-token"]=this.accessToken),i["x-serverless-sign"]=at(n,this.config.clientSecret);const o=st();i["x-client-info"]=encodeURIComponent(JSON.stringify(o));const{token:r}=$e();return i["x-client-token"]=r,{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:JSON.parse(JSON.stringify(i))}}uploadFileToOSS({url:e,formData:t,name:n,filePath:i,fileType:o,onUploadProgress:r}){return new Promise(((s,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:i,fileType:o,success(e){e&&e.statusCode<400?s(e):a(new Ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new Ye({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof r&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((e=>{r({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}uploadFile({filePath:e,cloudPath:t,fileType:n="image",onUploadProgress:i}){if(!t)throw new Ye({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});let o;return this.getOSSUploadOptionsFromPath({cloudPath:t}).then((t=>{const{url:r,formData:s,name:a}=t.result;o=t.result.fileUrl;const c={url:r,formData:s,name:a,filePath:e,fileType:n};return this.uploadFileToOSS(Object.assign({},c,{onUploadProgress:i}))})).then((()=>this.reportOSSUpload({cloudPath:t}))).then((t=>new Promise(((n,i)=>{t.success?n({success:!0,filePath:e,fileID:o}):i(new Ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))))}deleteFile({fileList:e}){const t={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(this.setupRequest(t)).then((e=>{if(e.success)return e.result;throw new Ye({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}getTempFileURL({fileList:e,maxAge:t}={}){if(!Array.isArray(e)||0===e.length)throw new Ye({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:t})};return this.request(this.setupRequest(n)).then((e=>{if(e.success)return{fileList:e.result.fileList.map((e=>({fileID:e.fileID,tempFileURL:e.tempFileURL})))};throw new Ye({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}},kn={init(e){const t=new bn(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},En=se((function(e,t){e.exports=ce.enc.Hex}));function In(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function Pn(e="",t={}){const{data:n,functionName:i,method:o,headers:r,signHeaderKeys:s=[],config:a}=t,c=Date.now(),u=In(),l=Object.assign({},r,{"x-from-app-id":a.spaceAppId,"x-from-env-id":a.spaceId,"x-to-env-id":a.spaceId,"x-from-instance-id":c,"x-from-function-name":i,"x-client-timestamp":c,"x-alipay-source":"client","x-request-id":u,"x-alipay-callid":u,"x-trace-id":u}),d=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(s),[h="",p=""]=e.split("?")||[],f=function(e){const t=e.signedHeaders.join(";"),n=e.signedHeaders.map((t=>`${t.toLowerCase()}:${e.headers[t]}\n`)).join(""),i=yt(e.body).toString(En),o=`${e.method.toUpperCase()}\n${e.path}\n${e.query}\n${n}\n${t}\n${i}\n`,r=yt(o).toString(En),s=`HMAC-SHA256\n${e.timestamp}\n${r}\n`,a=At(s,e.secretKey).toString(En);return`HMAC-SHA256 Credential=${e.secretId}, SignedHeaders=${t}, Signature=${a}`}({path:h,query:p,method:o,headers:l,timestamp:c,body:JSON.stringify(n),secretId:a.accessKey,secretKey:a.secretKey,signedHeaders:d.sort()});return{url:`${a.endpoint}${e}`,headers:Object.assign({},l,{Authorization:f})}}function xn({url:e,data:t,method:n="POST",headers:i={}}){return new Promise(((o,r)=>{Ge.request({url:e,method:n,data:"object"==typeof t?JSON.stringify(t):t,header:i,dataType:"json",complete:(e={})=>{const t=i["x-trace-id"]||"";if(!e.statusCode||e.statusCode>=400){const{message:n,errMsg:i,trace_id:o}=e.data||{};return r(new Ye({code:"SYS_ERR",message:n||i||"request:fail",requestId:o||t}))}o({status:e.statusCode,data:e.data,headers:e.header,requestId:t})}})}))}function Tn(e,t){const{path:n,data:i,method:o="GET"}=e,{url:r,headers:s}=Pn(n,{functionName:"",data:i,method:o,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t});return xn({url:r,data:i,method:o,headers:s}).then((e=>{const t=e.data||{};if(!t.success)throw new Ye({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((e=>{throw new Ye({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function Bn(e=""){const t=e.trim().replace(/^cloud:\/\//,""),n=t.indexOf("/");if(n<=0)throw new Ye({code:"INVALID_PARAM",message:"fileID不合法"});const i=t.substring(0,n),o=t.substring(n+1);return i!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),o}function Cn(e=""){return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}class Un{constructor(e){this.config=e}signedURL(e,t={}){const n=`/ws/function/${e}`,i=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),o=Object.assign({},t,{accessKeyId:this.config.accessKey,signatureNonce:In(),timestamp:""+Date.now()}),r=[n,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(e){return o[e]?"".concat(e,"=").concat(o[e]):null})).filter(Boolean).join("&"),`host:${i}`].join("\n"),s=["HMAC-SHA256",yt(r).toString(En)].join("\n"),a=At(s,this.config.secretKey).toString(En),c=Object.keys(o).map((e=>`${e}=${encodeURIComponent(o[e])}`)).join("&");return`${this.config.wsEndpoint}${n}?${c}&signature=${a}`}}var On={init:e=>{e.provider="alipay";const t=new class{constructor(e){if(["spaceId","spaceAppId","accessKey","secretKey"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),e.endpoint){if("string"!=typeof e.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||`https://${e.spaceId}.api-hz.cloudbasefunction.cn`,wsEndpoint:e.wsEndpoint||`wss://${e.spaceId}.api-hz.cloudbasefunction.cn`}),this._websocket=new Un(this.config)}callFunction(e){return function(e,t){const{name:n,data:i,async:o=!1}=e,r="POST",s={"x-to-function-name":n};o&&(s["x-function-invoke-type"]="async");const{url:a,headers:c}=Pn("/functions/invokeFunction",{functionName:n,data:i,method:r,headers:s,signHeaderKeys:["x-to-function-name"],config:t});return xn({url:a,data:i,method:r,headers:c}).then((e=>{let t=0;if(o){const n=e.data||{};t="200"===n.errCode?0:n.errCode,e.data=n.data||{},e.errMsg=n.errMsg}if(0!==t)throw new Ye({code:t,message:e.errMsg,requestId:e.requestId});return{errCode:t,success:0===t,requestId:e.requestId,result:e.data}})).catch((e=>{throw new Ye({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}uploadFileToOSS({url:e,filePath:t,fileType:n,formData:i,onUploadProgress:o}){return new Promise(((r,s)=>{const a=Ge.uploadFile({url:e,filePath:t,fileType:n,formData:i,name:"file",success(e){e&&e.statusCode<400?r(e):s(new Ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){s(new Ye({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof o&&a&&"function"==typeof a.onProgressUpdate&&a.onProgressUpdate((e=>{o({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}async uploadFile({filePath:e,cloudPath:t="",fileType:n="image",onUploadProgress:i}){if("string"!==ge(t))throw new Ye({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new Ye({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new Ye({code:"INVALID_PARAM",message:"cloudPath不合法"});const o=await Tn({path:"/".concat(t.replace(/^\//,""),"?post_url")},this.config),{file_id:r,upload_url:s,form_data:a}=o,c=a&&a.reduce(((e,t)=>(e[t.key]=t.value,e)),{});return this.uploadFileToOSS({url:s,filePath:e,fileType:n,formData:c,onUploadProgress:i}).then((()=>({fileID:r})))}async getTempFileURL({fileList:e}){return new Promise(((t,n)=>{(!e||e.length<0)&&n(new Ye({errCode:"INVALID_PARAM",errMsg:"fileList不能为空数组"})),e.length>50&&n(new Ye({errCode:"INVALID_PARAM",errMsg:"fileList数组长度不能超过50"}));const i=[];for(const o of e){"string"!==ge(o)&&n(new Ye({errCode:"INVALID_PARAM",errMsg:"fileList的元素必须是非空的字符串"}));const e=Bn.call(this,o);i.push({file_id:e,expire:600})}Tn({path:"/?download_url",data:{file_list:i},method:"POST"},this.config).then((e=>{const{file_list:n=[]}=e;t({fileList:n.map((e=>({fileID:Cn.call(this,e.file_id),tempFileURL:e.download_url})))})})).catch((e=>n(e)))}))}async connectWebSocket(e){const{name:t,query:n}=e;return Ge.connectSocket({url:this._websocket.signedURL(t,n),complete:()=>{}})}}(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function Ln({data:e}){let t;t=st();const n=JSON.parse(JSON.stringify(e||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){const{token:e}=$e();e&&(n.uniIdToken=e)}return n}const Nn=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var Fn=/[\\^$.*+?()[\]{}|]/g,Qn=RegExp(Fn.source);function jn(e,t,n){return e.replace(new RegExp((i=t)&&Qn.test(i)?i.replace(Fn,"\\$&"):i,"g"),n);var i}const _n=2e4,Rn={code:20101,message:"Invalid client"};function qn(e){const{errSubject:t,subject:n,errCode:i,errMsg:o,code:r,message:s,cause:a}=e||{};return new Ye({subject:t||n||"uni-secure-network",code:i||r||_n,message:o||s,cause:a})}let Dn;function Mn({secretType:e}={}){return"request"===e||"response"===e||"both"===e}function Hn({name:e,data:t={}}={}){return"DCloud-clientDB"===e&&"encryption"===t.redirectTo&&"getAppClientKey"===t.action}function zn({functionName:e,result:t,logPvd:n}){}function Kn(e){const t=e.callFunction,n=function(n){const i=n.name;n.data=Ln.call(e,{data:n.data});const o={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay"}[this.config.provider],r=Mn(n),s=Hn(n),a=r||s;return t.call(this,n).then((e=>(e.errCode=0,!a&&zn.call(this,{functionName:i,result:e,logPvd:o}),Promise.resolve(e))),(e=>(!a&&zn.call(this,{functionName:i,result:e,logPvd:o}),e&&e.message&&(e.message=function({message:e="",extraInfo:t={},formatter:n=[]}={}){for(let i=0;in.provider===e&&n.spaceId===t));return i&&i.config}({provider:e,spaceId:t});if(!a||!a.accessControl||!a.accessControl.enable)return!1;const c=a.accessControl.function||{},u=Object.keys(c);if(0===u.length)return!0;const l=function(e,t){let n,i,o;for(let r=0;re.trim())).indexOf(t)>-1&&(i=s):o=s:n=s}return n||i||o}(u,n);if(!l)return!1;if((c[l]||[]).find(((e={})=>e.appId===i&&(e.platform||"").toLowerCase()===s.toLowerCase())))return!0;throw console.error(`此应用[appId: ${i}, platform: ${s}]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client`),qn(Rn)}({provider:i,spaceId:o,functionName:r})?new Dn({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(t):s(t),Object.defineProperty(a,"result",{get:()=>(console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{})}),a.then((e=>("undefined"!=typeof UTSJSONObject&&(e.result=new UTSJSONObject(e.result)),e)))}}Dn=class{constructor(){throw qn({message:"Platform app is not enabled, please check whether secure network module is enabled in your manifest.json"})}};const Vn=Symbol("CLIENT_DB_INTERNAL");function Wn(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=Vn,e.inspect=null,e.__v_raw=void 0,new Proxy(e,{get(e,n,i){if("_uniClient"===n)return null;if("symbol"==typeof n)return e[n];if(n in e||"string"!=typeof n){const t=e[n];return"function"==typeof t?t.bind(e):t}return t.get(e,n,i)}})}function Jn(e){return{on:(t,n)=>{e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:(t,n)=>{e[t]=e[t]||[];const i=e[t].indexOf(n);-1!==i&&e[t].splice(i,1)}}}const Xn=["db.Geo","db.command","command.aggregate"];function Yn(e,t){return Xn.indexOf(`${e}.${t}`)>-1}function Gn(e){switch(ge(e=Ze(e))){case"array":return e.map((e=>Gn(e)));case"object":return e._internalType===Vn||Object.keys(e).forEach((t=>{e[t]=Gn(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function Zn(e){return e&&e.content&&e.content.$method}class $n{constructor(e,t,n){this.content=e,this.prevStage=t||null,this.udb=null,this._database=n}toJSON(){let e=this;const t=[e.content];for(;e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((e=>({$method:e.$method,$param:Gn(e.$param)})))}}toString(){return JSON.stringify(this.toJSON())}getAction(){const e=this.toJSON().$db.find((e=>"action"===e.$method));return e&&e.$param&&e.$param[0]}getCommand(){return{$db:this.toJSON().$db.filter((e=>"action"!==e.$method))}}get isAggregate(){let e=this;for(;e;){const t=Zn(e),n=Zn(e.prevStage);if("aggregate"===t&&"collection"===n||"pipeline"===t)return!0;e=e.prevStage}return!1}get isCommand(){let e=this;for(;e;){if("command"===Zn(e))return!0;e=e.prevStage}return!1}get isAggregateCommand(){let e=this;for(;e;){const t=Zn(e),n=Zn(e.prevStage);if("aggregate"===t&&"command"===n)return!0;e=e.prevStage}return!1}getNextStageFn(e){const t=this;return function(){return ei({$method:e,$param:Gn(Array.from(arguments))},t,t._database)}}get count(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}get remove(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}get(){return this._send("get",Array.from(arguments))}get add(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}update(){return this._send("update",Array.from(arguments))}end(){return this._send("end",Array.from(arguments))}get set(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}_send(e,t){const n=this.getAction(),i=this.getCommand();return i.$db.push({$method:e,$param:Gn(t)}),this._database._callCloudFunction({action:n,command:i})}}function ei(e,t,n){return Wn(new $n(e,t,n),{get(e,t){let i="db";return e&&e.content&&(i=e.content.$method),Yn(i,t)?ei({$method:t},e,n):function(){return ei({$method:t,$param:Gn(Array.from(arguments))},e,n)}}})}function ti({path:e,method:t}){return class{constructor(){this.param=Array.from(arguments)}toJSON(){return{$newDb:[...e.map((e=>({$method:e}))),{$method:t,$param:this.param}]}}toString(){return JSON.stringify(this.toJSON())}}}function ni(e,t={}){return Wn(new e(t),{get:(e,t)=>Yn("db",t)?ei({$method:t},null,e):function(){return ei({$method:t,$param:Gn(Array.from(arguments))},null,e)}})}class ii extends class{constructor({uniClient:e={},isJQL:t=!1}={}){this._uniClient=e,this._authCallBacks={},this._dbCallBacks={},e._isDefault&&(this._dbCallBacks=xe("_globalUniCloudDatabaseCallback")),t||(this.auth=Jn(this._authCallBacks)),this._isJQL=t,Object.assign(this,Jn(this._dbCallBacks)),this.env=Wn({},{get:(e,t)=>({$env:t})}),this.Geo=Wn({},{get:(e,t)=>ti({path:["Geo"],method:t})}),this.serverDate=ti({path:[],method:"serverDate"}),this.RegExp=ti({path:[],method:"RegExp"})}getCloudEnv(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}_callback(e,t){const n=this._dbCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}_callbackAuth(e,t){const n=this._authCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}multiSend(){const e=Array.from(arguments),t=e.map((e=>{const t=e.getAction(),n=e.getCommand();if("getTemp"!==n.$db[n.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:n}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}{_parseResult(e){return this._isJQL?e.result:e}_callCloudFunction({action:e,command:t,multiCommand:n,queryList:i}){function o(e,t){if(n&&i)for(let n=0;nOe(Le(s,"complete"),e))).then((()=>(o(null,e),Ke(Qe,{type:Re,content:e}),Promise.reject(e))))}const c=Oe(Le(s,"invoke")),u=this._uniClient;return c.then((()=>u.callFunction({name:"DCloud-clientDB",type:"CLIENT_DB",data:{action:e,command:t,multiCommand:n}}))).then((e=>{const{code:t,message:n,token:i,tokenExpired:c,systemInfo:u=[]}=e.result;if(u)for(let o=0;o(console.warn(n),i)})}}return d=e,Oe(Le(s,"success"),d).then((()=>Oe(Le(s,"complete"),d))).then((()=>{o(d,null);const e=r._parseResult(d);return Ke(Qe,{type:Re,content:e}),Promise.resolve(e)}));var d}),(e=>(/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"),a(new Ye({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId})))))}}const oi="token无效,跳转登录页面",ri="token过期,跳转登录页面",si={TOKEN_INVALID_TOKEN_EXPIRED:ri,TOKEN_INVALID_INVALID_CLIENTID:oi,TOKEN_INVALID:oi,TOKEN_INVALID_WRONG_TOKEN:oi,TOKEN_INVALID_ANONYMOUS_USER:oi},ai={"uni-id-token-expired":ri,"uni-id-check-token-failed":oi,"uni-id-token-not-exist":oi,"uni-id-check-device-feature-failed":oi};function ci(e,t){let n="";return n=e?`${e}/${t}`:t,n.replace(/^\//,"")}function ui(e=[],t=""){const n=[],i=[];return e.forEach((e=>{!0===e.needLogin?n.push(ci(t,e.path)):!1===e.needLogin&&i.push(ci(t,e.path))})),{needLoginPage:n,notNeedLoginPage:i}}function li(e){return e.split("?")[0].replace(/^\//,"")}function di(){return function(e){let t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){const e=getCurrentPages();return e[e.length-1]}())}function hi(){return li(di())}function pi(e="",t={}){if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;const n=t.list,i=li(e);return n.some((e=>e.pagePath===i))}const fi=!!re.uniIdRouter,{loginPage:gi,routerNeedLogin:mi,resToLogin:yi,needLoginPage:Ai,notNeedLoginPage:vi,loginPageInTabBar:wi}=function({pages:e=[],subPackages:t=[],uniIdRouter:n={},tabBar:i={}}=re){const{loginPage:o,needLogin:r=[],resToLogin:s=!0}=n,{needLoginPage:a,notNeedLoginPage:c}=ui(e),{needLoginPage:u,notNeedLoginPage:l}=function(e=[]){const t=[],n=[];return e.forEach((e=>{const{root:i,pages:o=[]}=e,{needLoginPage:r,notNeedLoginPage:s}=ui(o,i);t.push(...r),n.push(...s)})),{needLoginPage:t,notNeedLoginPage:n}}(t);return{loginPage:o,routerNeedLogin:r,resToLogin:s,needLoginPage:[...a,...u],notNeedLoginPage:[...c,...l],loginPageInTabBar:pi(o,i)}}();if(Ai.indexOf(gi)>-1)throw new Error(`Login page [${gi}] should not be "needLogin", please check your pages.json`);function Si(e){const t=hi();if("/"===e.charAt(0))return e;const[n,i]=e.split("?"),o=n.replace(/^\//,"").split("/"),r=t.split("/");r.pop();for(let s=0;s-1?i+`&uniIdRedirectUrl=${encodeURIComponent(o)}`:i+`?uniIdRedirectUrl=${encodeURIComponent(o)}`:i);var i,o;wi?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");const r={navigateTo:uni.navigateTo,redirectTo:uni.redirectTo,switchTab:uni.switchTab,reLaunch:uni.reLaunch};setTimeout((()=>{r[e]({url:n})}),0)}function Ei({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){const{token:e,tokenExpired:t}=$e();let n;if(e){if(t-1)&&(Ai.indexOf(t)>-1||mi.some((t=>{return n=e,new RegExp(t).test(n);var n})))}(e)&&n){if(n.uniIdRedirectUrl=e,Me(je).length>0)return setTimeout((()=>{Ke(je,n)}),0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function Ii(){!function(){const e=di(),{abortLoginPageJump:t,autoToLoginPage:n}=Ei({url:e});t||n&&ki({api:"redirectTo",redirect:e})}();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t{const{type:t,content:n}=e;let i=!1;switch(t){case"cloudobject":i=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in ai}(n);break;case"clientdb":i=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in si}(n)}i&&function(e={}){const t=Me(je);Je().then((()=>{const n=di();if(n&&bi({redirect:n}))return t.length>0?Ke(je,Object.assign({uniIdRedirectUrl:n},e)):void(gi&&ki({api:"navigateTo",redirect:n}))}))}(n)}))}function xi(e){var t;(t=e).onResponse=function(e){He(Qe,e)},t.offResponse=function(e){ze(Qe,e)},function(e){e.onNeedLogin=function(e){He(je,e)},e.offNeedLogin=function(e){ze(je,e)},fi&&(xe("_globalUniCloudStatus").needLoginInit||(xe("_globalUniCloudStatus").needLoginInit=!0,Je().then((()=>{Ii.call(e)})),yi&&Pi.call(e)))}(e),function(e){e.onRefreshToken=function(e){He(_e,e)},e.offRefreshToken=function(e){ze(_e,e)}}(e)}let Ti;const Bi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ci=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function Ui(){const e=$e().token||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((i=t[1],decodeURIComponent(Ti(i).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}var i;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}Ti="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!Ci.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,i,o="",r=0;r>16&255):64===i?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}:atob;var Oi=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n="chooseAndUploadFile:ok",i="chooseAndUploadFile:fail";function o(e,t){return e.tempFiles.forEach(((e,n)=>{e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+n+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((e=>e.path))),e}function r(e,t,{onChooseFile:i,onUploadProgress:o}){return t.then((e=>{if(i){const t=i(e);if(void 0!==t)return Promise.resolve(t).then((t=>void 0===t?e:t))}return e})).then((t=>!1===t?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(e,t,i=5,o){(t=Object.assign({},t)).errMsg=n;const r=t.tempFiles,s=r.length;let a=0;return new Promise((n=>{for(;a=s)return void(!r.find((e=>!e.url&&!e.errMsg))&&n(t));const u=r[i];e.uploadFile({provider:u.provider,filePath:u.path,cloudPath:u.cloudPath,fileType:u.fileType,cloudPathAsRealPath:u.cloudPathAsRealPath,onUploadProgress(e){e.index=i,e.tempFile=u,e.tempFilePath=u.path,o&&o(e)}}).then((e=>{u.url=e.fileID,i{u.errMsg=e.errMsg||e.message,i{uni.chooseImage({count:t,sizeType:n,sourceType:r,extension:s,success(t){e(o(t,"image"))},fail(e){a({errMsg:e.errMsg.replace("chooseImage:fail",i)})}})}))}(t),t):"video"===t.type?r(e,function(e){const{camera:t,compressed:n,maxDuration:r,sourceType:s=["album","camera"],extension:a}=e;return new Promise(((e,c)=>{uni.chooseVideo({camera:t,compressed:n,maxDuration:r,sourceType:s,extension:a,success(t){const{tempFilePath:n,duration:i,size:r,height:s,width:a}=t;e(o({errMsg:"chooseVideo:ok",tempFilePaths:[n],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:n,size:r,type:t.tempFile&&t.tempFile.type||"",width:a,height:s,duration:i,fileType:"video",cloudPath:""}]},"video"))},fail(e){c({errMsg:e.errMsg.replace("chooseVideo:fail",i)})}})}))}(t),t):r(e,function(e){const{count:t,extension:n}=e;return new Promise(((e,r)=>{let s=uni.chooseFile;if("undefined"!=typeof wx&&"function"==typeof wx.chooseMessageFile&&(s=wx.chooseMessageFile),"function"!=typeof s)return r({errMsg:i+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});s({type:"all",count:t,extension:n,success(t){e(o(t))},fail(e){r({errMsg:e.errMsg.replace("chooseFile:fail",i)})}})}))}(t),t)}}})));function Li(e){return{props:{localdata:{type:Array,default:()=>[]},options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:()=>({mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}),created(){this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((()=>{var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((t=>{e.push(this[t])})),e}),((e,t)=>{if("manual"===this.loadtime)return;let n=!1;const i=[];for(let o=2;o{this.mixinDatacomLoading=!1;const{data:i,count:o}=n.result;this.getcount&&(this.mixinDatacomPage.count=o),this.mixinDatacomHasMore=i.length{this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=e,this.mixinDatacomError=e,n&&n(e)})))},mixinDatacomGet(t={}){let n;t=t||{},n="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);const i=t.action||this.action;i&&(n=n.action(i));const o=t.collection||this.collection;n=Array.isArray(o)?n.collection(...o):n.collection(o);const r=t.where||this.where;r&&Object.keys(r).length&&(n=n.where(r));const s=t.field||this.field;s&&(n=n.field(s));const a=t.foreignKey||this.foreignKey;a&&(n=n.foreignKey(a));const c=t.groupby||this.groupby;c&&(n=n.groupBy(c));const u=t.groupField||this.groupField;u&&(n=n.groupField(u)),!0===(void 0!==t.distinct?t.distinct:this.distinct)&&(n=n.distinct());const l=t.orderby||this.orderby;l&&(n=n.orderBy(l));const d=void 0!==t.pageCurrent?t.pageCurrent:this.mixinDatacomPage.current,h=void 0!==t.pageSize?t.pageSize:this.mixinDatacomPage.size,p=void 0!==t.getcount?t.getcount:this.getcount,f=void 0!==t.gettree?t.gettree:this.gettree,g=void 0!==t.gettreepath?t.gettreepath:this.gettreepath,m={getCount:p},y={limitLevel:void 0!==t.limitlevel?t.limitlevel:this.limitlevel,startWith:void 0!==t.startwith?t.startwith:this.startwith};return f&&(m.getTree=y),g&&(m.getTreePath=y),n=n.skip(h*(d-1)).limit(h).get(m),n}}}}function Ni(e){return xe("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}async function Fi({openid:e,callLoginByWeixin:t=!1}={}){throw Ni(this),new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `app`")}async function Qi(e){const t=Ni(this);return t.initPromise||(t.initPromise=Fi.call(this,e).then((e=>e)).catch((e=>{throw delete t.initPromise,e}))),t.initPromise}function ji(e){rt=e}function _i(e){const t={getSystemInfo:uni.getSystemInfo,getPushClientId:uni.getPushClientId};return function(n){return new Promise(((i,o)=>{t[e]({...n,success(e){i(e)},fail(e){o(e)}})}))}}class Ri extends class{constructor(){this._callback={}}addListener(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}on(e,t){return this.addListener(e,t)}removeListener(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');const n=this._callback[e];if(!n)return;const i=function(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]===t)return n;return-1}(n,t);n.splice(i,1)}off(e,t){return this.removeListener(e,t)}removeAllListener(e){delete this._callback[e]}emit(e,...t){const n=this._callback[e];if(n)for(let i=0;i{if(!e)throw new Error("Invalid appId, please check the manifest.json file");if(!t)throw new Error("Invalid push client id");this._appId=e,this._pushClientId=t,this._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),this.emit("open"),this._initMessageListener()}),(e=>{throw this.emit("error",e),this.close(),e}))}async open(){return this.init()}_isUniCloudSSE(e){if("receive"!==e.type)return!1;const t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}_receivePushMessage(e){if(!this._isUniCloudSSE(e))return;const t=e&&e.data&&e.data.payload,{action:n,messageId:i,message:o}=t;this._payloadQueue.push({action:n,messageId:i,message:o}),this._consumMessage()}_consumMessage(){for(;;){const e=this._payloadQueue.find((e=>e.messageId===this._currentMessageId+1));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}_parseMessagePayload(e){const{action:t,messageId:n,message:i}=e;"end"===t?this._end({messageId:n,message:i}):"message"===t&&this._appendMessage({messageId:n,message:i})}_appendMessage({messageId:e,message:t}={}){this.emit("message",t)}_end({messageId:e,message:t}={}){this.emit("end",t),this.close()}_initMessageListener(){uni.onPushMessage(this._uniPushMessageCallback)}_destroy(){uni.offPushMessage(this._uniPushMessageCallback)}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}const qi={tcb:Sn,tencent:Sn,aliyun:dt,private:kn,alipay:On};let Di=new class{init(e){let t={};const n=qi[e.provider];if(!n)throw new Error("未提供正确的provider参数");var i;return t=n.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new Se({createPromise:function(){let t=Promise.resolve();t=new Promise((e=>{setTimeout((()=>{e()}),1)}));const n=e.auth();return t.then((()=>n.getLoginState())).then((e=>e?Promise.resolve():n.signInAnonymously()))}}))}(t),Kn(t),function(e){const t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),(i=t).database=function(e){if(e&&Object.keys(e).length>0)return i.init(e).database();if(this._database)return this._database;const t=ni(ii,{uniClient:i});return this._database=t,t},i.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return i.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;const t=ni(ii,{uniClient:i,isJQL:!0});return this._databaseForJQL=t,t},function(e){e.getCurrentUserInfo=Ui,e.chooseAndUploadFile=Oi.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return Li(e)}}),e.SSEChannel=Ri,e.initSecureNetworkByWeixin=function(e){return function({openid:t,callLoginByWeixin:n=!1}={}){return Qi.call(e,{openid:t,callLoginByWeixin:n})}}(e),e.setCustomClientInfo=ji,e.importObject=function(t){return function(n,i={}){i=function(e,t={}){return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==typeof t.secretMethods&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},i);const{customUI:o,loadingOptions:r,errorOptions:s,parseSystemError:a}=i,c=!o;return new Proxy({},{get(o,u){switch(u){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function({fn:e,interceptorName:t,getCallbackArgs:n}={}){return async function(...i){const o=n?n({params:i}):{};let r,s;try{return await Oe(Le(t,"invoke"),{...o}),r=await e(...i),await Oe(Le(t,"success"),{...o,result:r}),r}catch(a){throw s=a,await Oe(Le(t,"fail"),{...o,error:s}),s}finally{await Oe(Le(t,"complete"),s?{...o,error:s}:{...o,result:r})}}}({fn:async function o(...l){let d;c&&uni.showLoading({title:r.title,mask:r.mask});const h={name:n,type:"OBJECT",data:{method:u,params:l}};"object"==typeof i.secretMethods&&function(e,t){const n=t.data.method,i=e.secretMethods||{},o=i[n]||i["*"];o&&(t.secretType=o)}(i,h);let p=!1;try{d=await t.callFunction(h)}catch(e){p=!0,d={result:new Ye(e)}}const{errSubject:f,errCode:g,errMsg:m,newToken:y}=d.result||{};if(c&&uni.hideLoading(),y&&y.token&&y.tokenExpired&&(et(y),Ke(_e,{...y})),g){let e=m;if(p&&a&&(e=(await a({objectName:n,methodName:u,params:l,errSubject:f,errCode:g,errMsg:m})).errMsg||m),c)if("toast"===s.type)uni.showToast({title:e,icon:"none"});else{if("modal"!==s.type)throw new Error(`Invalid errorOptions.type: ${s.type}`);{const{confirm:t}=await async function({title:e,content:t,showCancel:n,cancelText:i,confirmText:o}={}){return new Promise(((r,s)=>{uni.showModal({title:e,content:t,showCancel:n,cancelText:i,confirmText:o,success(e){r(e)},fail(){r({confirm:!1,cancel:!0})}})}))}({title:"提示",content:e,showCancel:s.retry,cancelText:"取消",confirmText:s.retry?"重试":"确定"});if(s.retry&&t)return o(...l)}}const t=new Ye({subject:f,code:g,message:m,requestId:d.requestId});throw t.detail=d.result,Ke(Qe,{type:De,content:t}),t}return Ke(Qe,{type:De,content:d.result}),d.result},interceptorName:"callObject",getCallbackArgs:function({params:e}={}){return{objectName:n,methodName:u,params:e}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((e=>{if(!t[e])return;const n=t[e];t[e]=function(){return n.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(n){let i=!1;if("callFunction"===t){const e=n&&n.type||he;i=e!==he}const o="callFunction"===t&&!i,r=this._initPromiseHub.exec();n=n||{};const{success:s,fail:a,complete:c}=Xe(n),u=r.then((()=>i?Promise.resolve():Oe(Le(t,"invoke"),n))).then((()=>e.call(this,n))).then((e=>i?Promise.resolve(e):Oe(Le(t,"success"),e).then((()=>Oe(Le(t,"complete"),e))).then((()=>(o&&Ke(Qe,{type:qe,content:e}),Promise.resolve(e))))),(e=>i?Promise.reject(e):Oe(Le(t,"fail"),e).then((()=>Oe(Le(t,"complete"),e))).then((()=>(Ke(Qe,{type:qe,content:e}),Promise.reject(e))))));if(!(s||a||c))return u;u.then((e=>{s&&s(e),c&&c(e),o&&Ke(Qe,{type:qe,content:e})}),(e=>{a&&a(e),c&&c(e),o&&Ke(Qe,{type:qe,content:e})}))}}(t[e],e).bind(t)})),t.init=this.init,t}};(()=>{const e=Ee;let t={};if(e&&1===e.length)t=e[0],Di=Di.init(t),Di._isDefault=!0;else{const t=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"];let n;n=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",t.forEach((e=>{Di[e]=function(){return console.error(n),Promise.reject(new Ye({code:"SYS_ERR",message:n}))}}))}Object.assign(Di,{get mixinDatacom(){return Li(Di)}}),xi(Di),Di.addInterceptor=Ce,Di.removeInterceptor=Ue,Di.interceptObject=Ne})();const{app:Mi,Vuex:Hi,Pinia:zi}={app:e.createVueApp(oe)};uni.Vuex=Hi,uni.Pinia=zi,Mi.provide("__globalStyles",__uniConfig.styles),Mi._component.mpType="app",Mi._component.render=()=>{},Mi.mount("#app")}(Vue); +if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then((n=>t.resolve(e()).then((()=>n))),(n=>t.resolve(e()).then((()=>{throw n}))))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const e=uni.requireGlobal();ArrayBuffer=e.ArrayBuffer,Int8Array=e.Int8Array,Uint8Array=e.Uint8Array,Uint8ClampedArray=e.Uint8ClampedArray,Int16Array=e.Int16Array,Uint16Array=e.Uint16Array,Int32Array=e.Int32Array,Uint32Array=e.Uint32Array,Float32Array=e.Float32Array,Float64Array=e.Float64Array,BigInt64Array=e.BigInt64Array,BigUint64Array=e.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(e){"use strict";var t,n,i,o,s,r,a,c,u,l;const d={apiBaseUrl:"https://oa-a.szjixun.cn/api",h5Url:"https://oa-a.szjixun.cn/#/"};function h(e,t,...n){uni.__log__?uni.__log__(e,t,...n):console[e].apply(console,[...n,t])}function p(e,t){return"string"==typeof e?t:e}const f=(t=>(n,i=e.getCurrentInstance())=>{!e.isInSSRComponentSetup&&e.injectHook(t,n,i)})("onExit");class g{constructor(){this.webViewObj=null,this.messageHandlers={}}setWebView(e){this.webViewObj=e}sendToH5(e,t={}){if(!this.webViewObj)return void h("error","at utils/communication.js:13","webViewObj is not initialized");const n=JSON.stringify({action:e,data:t});this.webViewObj.evalJS(`window.handleMessage(${JSON.stringify(n)})`)}registerHandler(e,t){this.messageHandlers[e]=t}handleMessage(e){const{action:t,data:n={}}=e;this.messageHandlers[t]?this.messageHandlers[t](n):h("warn","at utils/communication.js:30","Unknown action:",t)}}const{registerUTSInterface:m,initUTSProxyClass:y,initUTSProxyFunction:A,initUTSPackageName:v,initUTSIndexClassName:w,initUTSClassName:S}=uni,b="uniRegisterRequestPermissionTips",k="uni-registerRequestPermissionTips",E=v(b,true),I=w(b,true),P=A(!1,{moduleName:k,moduleType:"",errMsg:"",main:!0,package:E,class:I,name:"unregisterRequestPermissionTipsListenerByJs",params:[{name:"listener",type:"UTSSDKModulesUniRegisterRequestPermissionTipsRequestPermissionTipsListenerJSONObject",default:"UTSNull"}],return:""}),T=A(!1,{moduleName:k,moduleType:"",errMsg:"",main:!0,package:E,class:I,name:"registerRequestPermissionTipsListenerByJs",params:[{name:"listener",type:"UTSSDKModulesUniRegisterRequestPermissionTipsRequestPermissionTipsListenerJSONObject",default:"UTSNull"}],return:""}),x=A(!1,{moduleName:k,moduleType:"",errMsg:"",main:!0,package:E,class:I,name:"setRequestPermissionTipsByJs",params:[{name:"tips",type:"UTSJSONObject"}],return:""}),B={__name:"index",setup(t){const n=new g,i={"android.permission.CAMERA":'

正在读取通讯录权限

通讯录权限不会获取任何信息,请注意',"android.permission.READ_PHONE_STATE":'

正在读取网络状态权限

通讯录权限不会获取任何信息,请注意通讯录权限不会获取任何信息,请注意通讯录权限不会获取任何信息,请注意'};f((()=>{P()}));const o=uni.getSystemInfoSync().deviceBrand;x(i),T({onRequest:e=>{},onConfirm:e=>{n.sendToH5("permission-application",{action:"open-permission",data:e})},onComplete:e=>{if(n.sendToH5("permission-application",{action:"close-permission",data:e}),"huawei"===o.toLowerCase()){const t={};let n=!1;for(let o in i)"denied"!==e[o]?t[o]=i[o]:n=!0;x(t),n&&uni.showModal({content:"权限已经被拒绝,请前往设置中开启"})}}}),n.registerHandler("load-complete",(()=>{!function(){const e=getCurrentPages().pop().$getAppWebview();n.setWebView(e.children()[0])}();const{statusBarHeight:e}=uni.getSystemInfoSync();n.webViewObj.setStyle({top:e,bottom:0})}));const s=e=>{var t;const i=(null==(t=e.detail.data)?void 0:t[0])||"";n.handleMessage(i)};return(t,n)=>(e.openBlock(),e.createElementBlock("web-view",{class:"webview",onMessage:s,style:{flex:"1"},src:e.unref(d).h5Url},null,40,["src"]))}},C={};function U(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function O(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(const t in e)return!1;return!0}return!1}function L(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function N(e){return"[object Object]"===Object.prototype.toString.call(e)}function F(e){return"function"==typeof e}const j=Object.freeze(Object.defineProperty({__proto__:null,amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},array:L,carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},contains:function(e,t){return e.indexOf(t)>=0},date:function(e){return!!e&&(U(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},digits:function(e){return/^\d+$/.test(e)},email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},empty:O,enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},func:F,idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(Bt){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},mobile:function(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)},number:U,object:N,promise:function(e){return N(e)&&F(e.then)&&F(e.catch)},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e},url:function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)}},Symbol.toStringTag,{value:"Module"}));function Q(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function _(e){const t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function R(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=_(e);return t>0?Q(Number(e)*Math.pow(10,t)):Number(e)}function q(e){(e>Number.MAX_SAFE_INTEGER||e{s=t(s,e)})),s}function D(...e){if(e.length>2)return M(e,D);const[t,n]=e,i=R(t),o=R(n),s=_(t)+_(n),r=i*o;return q(r),r/Math.pow(10,s)}function H(...e){if(e.length>2)return M(e,H);const[t,n]=e,i=R(t),o=R(n);return q(i),q(o),D(i/o,Q(Math.pow(10,_(n)-_(t))))}function z(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function V(e,t=new WeakMap){if(null===e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime());else if(e instanceof RegExp)n=new RegExp(e);else if(e instanceof Map)n=new Map(Array.from(e,(([e,n])=>[e,V(n,t)])));else if(e instanceof Set)n=new Set(Array.from(e,(e=>V(e,t))));else if(Array.isArray(e))n=e.map((e=>V(e,t)));else if("[object Object]"===Object.prototype.toString.call(e)){n=Object.create(Object.getPrototypeOf(e)),t.set(e,n);for(const[i,o]of Object.entries(e))n[i]=V(o,t)}else n=Object.assign({},e);return t.set(e,n),n}function K(e={},t={}){if("object"!=typeof(e=V(e))||null===e||"object"!=typeof t||null===t)return e;const n=Array.isArray(e)?e.slice():Object.assign({},e);for(const i in t){if(!t.hasOwnProperty(i))continue;const e=t[i],o=n[i];e instanceof Date?n[i]=new Date(e):e instanceof RegExp?n[i]=new RegExp(e):e instanceof Map?n[i]=new Map(e):e instanceof Set?n[i]=new Set(e):n[i]="object"==typeof e&&null!==e?K(o,e):e}return n}function W(e=null,t="yyyy-mm-dd"){let n;n=e?/^\d{10}$/.test(null==e?void 0:e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):"string"==typeof e&&e.includes("-")&&!e.includes("T")?new Date(e.replace(/-/g,"/")):new Date(e):new Date;const i={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(const o in i){const[e]=new RegExp(`${o}+`).exec(t)||[];if(e){const n="y"===o&&2===e.length?2:0;t=t.replace(e,i[o].slice(n))}}return t}function J(e,t="both"){return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}function X(e={},t=!0,n="brackets"){const i=t?"?":"",o=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(const s in e){const t=e[s];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{o.push(`${s}[]=${e}`)}));break;case"repeat":t.forEach((e=>{o.push(`${s}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),o.push(`${s}=${e}`)}else o.push(`${s}=${t}`)}return o.length?i+o.join("&"):""}function Y(){var e;const t=getCurrentPages(),n=null==(e=t[t.length-1])?void 0:e.route;return`/${n||""}`}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const n=this;if(n.length>=e)return String(n);const i=e-n.length;let o=Math.ceil(i/t.length);for(;o>>=1;)t+=t,1===o&&(t+=t);return t.slice(0,i)+n});const G=Object.freeze(Object.defineProperty({__proto__:null,$parent:z,addStyle:function(e,t="object"){if(O(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=J(e)).split(";"),n={};for(let e=0;e{return null==(e=null==(t=null==uni?void 0:uni.$uv)?void 0:t.config)?void 0:e.unit;var t})()?(e=>{return null==(e=null==(t=null==uni?void 0:uni.$uv)?void 0:t.config)?void 0:e.unit;var t})():"px")){return U(e=String(e))?`${e}${t}`:e},deepClone:V,deepMerge:K,error:function(e){},formValidate:function(e,t){const n=z.call(e,"uv-form-item"),i=z.call(e,"uv-form");n&&i&&i.validateField(n.prop,(()=>{}),t)},getDuration:function(e,t=!0){const n=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},getHistoryPage:function(e=0){const t=getCurrentPages();return t[t.length-1+e]},getProperty:function(e,t){if(e){if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const n=t.split(".");let i=e[n[0]]||{};for(let e=1;e=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},range:function(e=0,t=0,n=0){return Math.max(e,Math.min(t,Number(n)))},setConfig:function({props:e={},config:t={},color:n={},zIndex:i={}}){const{deepMerge:o}=uni.$uv;uni.$uv.config=o(uni.$uv.config,t),uni.$uv.props=o(uni.$uv.props,e),uni.$uv.color=o(uni.$uv.color,n),uni.$uv.zIndex=o(uni.$uv.zIndex,i)},setProperty:function(e,t,n){if(!e)return;const i=function(e,t,n){if(1!==t.length)for(;t.length>1;){const o=t[0];e[o]&&"object"==typeof e[o]||(e[o]={}),t.shift(),i(e[o],t,n)}else e[t[0]]=n};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const o=t.split(".");i(e,o,n)}else e[t]=n},sleep:function(e=30){return new Promise((t=>{setTimeout((()=>{t()}),e)}))},sys:function(){return uni.getSystemInfoSync()},timeFormat:W,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;n=parseInt(n/1e3);let i="";switch(!0){case n<300:i="刚刚";break;case n>=300&&n<3600:i=`${parseInt(n/60)}分钟前`;break;case n>=3600&&n<86400:i=`${parseInt(n/3600)}小时前`;break;case n>=86400&&n<2592e3:i=`${parseInt(n/86400)}天前`;break;default:i=!1===t?n>=2592e3&&n<31536e3?`${parseInt(n/2592e3)}个月前`:`${parseInt(n/31536e3)}年前`:W(e,t)}return i},toast:function(e,t=2e3){uni.showToast({title:String(e),icon:"none",duration:t})},trim:J,type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n}},Symbol.toStringTag,{value:"Module"}));const Z=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1,events:{}},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=X(t,!1),e+`&${n}`):(n=X(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=K(this.config,e),n.url=this.mixinParam(e.url,e.params)),n.url!==Y())if(t.intercept&&(n.intercept=t.intercept),n.params=t,n=K(this.config,n),"function"==typeof n.intercept){await new Promise(((e,t)=>{n.intercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:i,animationType:o,animationDuration:s,events:r}=e;"navigateTo"!=e.type&&"to"!=e.type||uni.navigateTo({url:t,animationType:o,animationDuration:s,events:r}),"redirectTo"!=e.type&&"redirect"!=e.type||uni.redirectTo({url:t}),"switchTab"!=e.type&&"tab"!=e.type||uni.switchTab({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||uni.reLaunch({url:t}),"navigateBack"!=e.type&&"back"!=e.type||uni.navigateBack({delta:i})}}).route;let $,ee=null;function te(e,t=500,n=!1){if(null!==ee&&clearTimeout(ee),n){const n=!ee;ee=setTimeout((()=>{ee=null}),t),n&&"function"==typeof e&&e()}else ee=setTimeout((()=>{"function"==typeof e&&e()}),t)}function ne(e,t=500,n=!0){n?$||($=!0,"function"==typeof e&&e(),setTimeout((()=>{$=!1}),t)):$||($=!0,setTimeout((()=>{$=!1,"function"==typeof e&&e()}),t))}const ie={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$uv.getRect=this.$uvGetRect},created(){this.$uv.getRect=this.$uvGetRect},computed:{$uv(){var e,t;return{...G,test:j,route:Z,debounce:te,throttle:ne,unit:null==(t=null==(e=null==uni?void 0:uni.$uv)?void 0:e.config)?void 0:t.unit}},bem:()=>function(e,t,n){const i=`uv-${e}--`,o={};return t&&t.map((e=>{o[i+this[e]]=!0})),n&&n.map((e=>{this[e]?o[i+e]=this[e]:delete o[i+e]})),Object.keys(o)}},methods:{openPage(e="url"){const t=this[e];t&&uni[this.linkType]({url:t})},$uvGetRect(e,t){return new Promise((n=>{uni.createSelectorQuery().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent={}),this.parent=this.$uv.$parent.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]}))},preventEvent(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()},noop(e){this.preventEvent(e)}},onReachBottom(){uni.$emit("uvOnReachBottom")},beforeDestroy(){if(this.parent&&L(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}},unmounted(){if(this.parent&&L(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}},oe={"uvicon-level":"e68f","uvicon-checkbox-mark":"e659","uvicon-folder":"e694","uvicon-movie":"e67c","uvicon-star-fill":"e61e","uvicon-star":"e618","uvicon-phone-fill":"e6ac","uvicon-phone":"e6ba","uvicon-apple-fill":"e635","uvicon-backspace":"e64d","uvicon-attach":"e640","uvicon-empty-data":"e671","uvicon-empty-address":"e68a","uvicon-empty-favor":"e662","uvicon-empty-car":"e657","uvicon-empty-order":"e66b","uvicon-empty-list":"e672","uvicon-empty-search":"e677","uvicon-empty-permission":"e67d","uvicon-empty-news":"e67e","uvicon-empty-history":"e685","uvicon-empty-coupon":"e69b","uvicon-empty-page":"e60e","uvicon-empty-wifi-off":"e6cc","uvicon-reload":"e627","uvicon-order":"e695","uvicon-server-man":"e601","uvicon-search":"e632","uvicon-more-dot-fill":"e66f","uvicon-scan":"e631","uvicon-map":"e665","uvicon-map-fill":"e6a8","uvicon-tags":"e621","uvicon-tags-fill":"e613","uvicon-eye":"e664","uvicon-eye-fill":"e697","uvicon-eye-off":"e69c","uvicon-eye-off-outline":"e688","uvicon-mic":"e66d","uvicon-mic-off":"e691","uvicon-calendar":"e65c","uvicon-trash":"e623","uvicon-trash-fill":"e6ce","uvicon-play-left":"e6bf","uvicon-play-right":"e6b3","uvicon-minus":"e614","uvicon-plus":"e625","uvicon-info-circle":"e69f","uvicon-info-circle-fill":"e6a7","uvicon-question-circle":"e622","uvicon-question-circle-fill":"e6bc","uvicon-close":"e65a","uvicon-checkmark":"e64a","uvicon-checkmark-circle":"e643","uvicon-checkmark-circle-fill":"e668","uvicon-setting":"e602","uvicon-setting-fill":"e6d0","uvicon-heart":"e6a2","uvicon-heart-fill":"e68b","uvicon-camera":"e642","uvicon-camera-fill":"e650","uvicon-more-circle":"e69e","uvicon-more-circle-fill":"e684","uvicon-chat":"e656","uvicon-chat-fill":"e63f","uvicon-bag":"e647","uvicon-error-circle":"e66e","uvicon-error-circle-fill":"e655","uvicon-close-circle":"e64e","uvicon-close-circle-fill":"e666","uvicon-share":"e629","uvicon-share-fill":"e6bb","uvicon-share-square":"e6c4","uvicon-shopping-cart":"e6cb","uvicon-shopping-cart-fill":"e630","uvicon-bell":"e651","uvicon-bell-fill":"e604","uvicon-list":"e690","uvicon-list-dot":"e6a9","uvicon-zhifubao-circle-fill":"e617","uvicon-weixin-circle-fill":"e6cd","uvicon-weixin-fill":"e620","uvicon-qq-fill":"e608","uvicon-qq-circle-fill":"e6b9","uvicon-moments-circel-fill":"e6c2","uvicon-moments":"e6a0","uvicon-car":"e64f","uvicon-car-fill":"e648","uvicon-warning-fill":"e6c7","uvicon-warning":"e6c1","uvicon-clock-fill":"e64b","uvicon-clock":"e66c","uvicon-edit-pen":"e65d","uvicon-edit-pen-fill":"e679","uvicon-email":"e673","uvicon-email-fill":"e683","uvicon-minus-circle":"e6a5","uvicon-plus-circle":"e603","uvicon-plus-circle-fill":"e611","uvicon-file-text":"e687","uvicon-file-text-fill":"e67f","uvicon-pushpin":"e6d1","uvicon-pushpin-fill":"e6b6","uvicon-grid":"e68c","uvicon-grid-fill":"e698","uvicon-play-circle":"e6af","uvicon-play-circle-fill":"e62a","uvicon-pause-circle-fill":"e60c","uvicon-pause":"e61c","uvicon-pause-circle":"e696","uvicon-gift-fill":"e6b0","uvicon-gift":"e680","uvicon-kefu-ermai":"e660","uvicon-server-fill":"e610","uvicon-coupon-fill":"e64c","uvicon-coupon":"e65f","uvicon-integral":"e693","uvicon-integral-fill":"e6b1","uvicon-home-fill":"e68e","uvicon-home":"e67b","uvicon-account":"e63a","uvicon-account-fill":"e653","uvicon-thumb-down-fill":"e628","uvicon-thumb-down":"e60a","uvicon-thumb-up":"e612","uvicon-thumb-up-fill":"e62c","uvicon-lock-fill":"e6a6","uvicon-lock-open":"e68d","uvicon-lock-opened-fill":"e6a1","uvicon-lock":"e69d","uvicon-red-packet":"e6c3","uvicon-photo-fill":"e6b4","uvicon-photo":"e60d","uvicon-volume-off-fill":"e6c8","uvicon-volume-off":"e6bd","uvicon-volume-fill":"e624","uvicon-volume":"e605","uvicon-download":"e670","uvicon-arrow-up-fill":"e636","uvicon-arrow-down-fill":"e638","uvicon-play-left-fill":"e6ae","uvicon-play-right-fill":"e6ad","uvicon-arrow-downward":"e634","uvicon-arrow-leftward":"e63b","uvicon-arrow-rightward":"e644","uvicon-arrow-upward":"e641","uvicon-arrow-down":"e63e","uvicon-arrow-right":"e63c","uvicon-arrow-left":"e646","uvicon-arrow-up":"e633","uvicon-skip-back-left":"e6c5","uvicon-skip-forward-right":"e61f","uvicon-arrow-left-double":"e637","uvicon-man":"e675","uvicon-woman":"e626","uvicon-en":"e6b8","uvicon-twitte":"e607","uvicon-twitter-circle-fill":"e6cf"},se=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n},re={name:"uv-icon",emits:["click"],mixins:[C,ie,{props:{name:{type:String,default:""},color:{type:String,default:"#606266"},size:{type:[String,Number],default:"16px"},bold:{type:Boolean,default:!1},index:{type:[String,Number],default:null},hoverClass:{type:String,default:""},customPrefix:{type:String,default:"uvicon"},label:{type:[String,Number],default:""},labelPos:{type:String,default:"right"},labelSize:{type:[String,Number],default:"15px"},labelColor:{type:String,default:"#606266"},space:{type:[String,Number],default:"3px"},imgMode:{type:String,default:"aspectFit"},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},top:{type:[String,Number],default:0},stop:{type:Boolean,default:!1},...null==(n=null==(t=uni.$uv)?void 0:t.props)?void 0:n.icon}}],data:()=>({colorType:["primary","success","info","error","warning"]}),computed:{uClasses(){let e=[];return e.push(this.customPrefix),e.push(this.customPrefix+"-"+this.name),this.color&&this.colorType.includes(this.color)&&e.push("uv-icon__icon--"+this.color),e},iconStyle(){let e={};return e={fontSize:this.$uv.addUnit(this.size),lineHeight:this.$uv.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:this.$uv.addUnit(this.top)},this.color&&!this.colorType.includes(this.color)&&(e.color=this.color),e},isImg(){const e=this.name.indexOf("data:")>-1&&this.name.indexOf("base64")>-1;return-1!==this.name.indexOf("/")||e},imgStyle(){let e={};return e.width=this.width?this.$uv.addUnit(this.width):this.$uv.addUnit(this.size),e.height=this.height?this.$uv.addUnit(this.height):this.$uv.addUnit(this.size),e},icon(){const e=oe["uvicon-"+this.name];return e?unescape(`%u${e}`):["uvicon"].indexOf(this.customPrefix)>-1?this.name:""}},methods:{clickHandler(e){this.$emit("click",this.index),this.stop&&this.preventEvent(e)}}};const ae=se(re,[["render",function(t,n,i,o,s,r){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["uv-icon",["uv-icon--"+t.labelPos]]),onClick:n[0]||(n[0]=(...e)=>r.clickHandler&&r.clickHandler(...e))},[r.isImg?(e.openBlock(),e.createElementBlock("image",{key:0,class:"uv-icon__img",src:t.name,mode:t.imgMode,style:e.normalizeStyle([r.imgStyle,t.$uv.addStyle(t.customStyle)])},null,12,["src","mode"])):(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(["uv-icon__icon",r.uClasses]),style:e.normalizeStyle([r.iconStyle,t.$uv.addStyle(t.customStyle)]),"hover-class":t.hoverClass},e.toDisplayString(r.icon),15,["hover-class"])),""!==t.label?(e.openBlock(),e.createElementBlock("text",{key:2,class:"uv-icon__label",style:e.normalizeStyle({color:t.labelColor,fontSize:t.$uv.addUnit(t.labelSize),marginLeft:"right"==t.labelPos?t.$uv.addUnit(t.space):0,marginTop:"bottom"==t.labelPos?t.$uv.addUnit(t.space):0,marginRight:"left"==t.labelPos?t.$uv.addUnit(t.space):0,marginBottom:"top"==t.labelPos?t.$uv.addUnit(t.space):0})},e.toDisplayString(t.label),5)):e.createCommentVNode("",!0)],2)}],["__scopeId","data-v-eab170a5"]]);function ce(e,t=!0){if((e=String(e).toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}const n=[];for(let t=1;t<7;t+=2)n.push(parseInt(`0x${e.slice(t,t+2)}`));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function ue(e){const t=e;if(/^(rgb|RGB)/.test(t)){const e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let n="#";for(let t=0;t({})},text:{type:[String,Number],default:""},timingFunction:{type:String,default:"linear"},duration:{type:[String,Number],default:1200},inactiveColor:{type:String,default:""},...null==(o=null==(i=uni.$uv)?void 0:i.props)?void 0:o.loadingIcon}}],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const e=function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){const i=ce(e,!1),o=i[0],s=i[1],r=i[2],a=ce(t,!1),c=(a[0]-o)/n,u=(a[1]-s)/n,l=(a[2]-r)/n,d=[];for(let h=0;h{this.show&&this.addEventListenerToWebview()}),20)},addEventListenerToWebview(){const e=getCurrentPages(),t=e[e.length-1].$getAppWebview();t.addEventListener("hide",(()=>{this.webviewHide=!0})),t.addEventListener("show",(()=>{this.webviewHide=!1}))}}},[["render",function(t,n,i,o,s,r){return t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["uv-loading-icon",[t.vertical&&"uv-loading-icon--vertical"]]),style:e.normalizeStyle([t.$uv.addStyle(t.customStyle)])},[s.webviewHide?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["uv-loading-icon__spinner",[`uv-loading-icon__spinner--${t.mode}`]]),ref:"ani",style:e.normalizeStyle({color:t.color,width:t.$uv.addUnit(t.size),height:t.$uv.addUnit(t.size),borderTopColor:t.color,borderBottomColor:r.otherBorderColor,borderLeftColor:r.otherBorderColor,borderRightColor:r.otherBorderColor,"animation-duration":`${t.duration}ms`,"animation-timing-function":"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""})},["spinner"===t.mode?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(s.array12,((t,n)=>(e.openBlock(),e.createElementBlock("view",{key:n,class:"uv-loading-icon__dot"})))),128)):e.createCommentVNode("",!0)],6)),t.text?(e.openBlock(),e.createElementBlock("text",{key:1,class:"uv-loading-icon__text",style:e.normalizeStyle([{fontSize:t.$uv.addUnit(t.textSize),color:t.textColor},t.$uv.addStyle(t.textStyle)])},e.toDisplayString(t.text),5)):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)}],["__scopeId","data-v-3eb40c0b"]]);const de=se({name:"uv-button",mixins:[C,ie,{props:{hairline:{type:Boolean,default:!0},type:{type:String,default:"info"},size:{type:String,default:"normal"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingText:{type:[String,Number],default:""},loadingMode:{type:String,default:"spinner"},loadingSize:{type:[String,Number],default:14},openType:{type:String,default:""},formType:{type:String,default:""},appParameter:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!0},lang:{type:String,default:"en"},sessionFrom:{type:String,default:""},sendMessageTitle:{type:String,default:""},sendMessagePath:{type:String,default:""},sendMessageImg:{type:String,default:""},showMessageCard:{type:Boolean,default:!0},dataName:{type:String,default:""},throttleTime:{type:[String,Number],default:0},hoverStartTime:{type:[String,Number],default:0},hoverStayTime:{type:[String,Number],default:200},text:{type:[String,Number],default:""},icon:{type:String,default:""},iconSize:{type:[String,Number],default:""},iconColor:{type:String,default:"#000000"},color:{type:String,default:""},customTextStyle:{type:[Object,String],default:""},...null==(r=null==(s=uni.$uv)?void 0:s.props)?void 0:r.button}}],emits:["click"],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:"#3c9cff":"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:t}=this;return"large"===t&&(e=16),"normal"===t&&(e=14),"small"===t&&(e=12),"mini"===t&&(e=10),e},getIconSize(){const e=this.iconSize?this.iconSize:1.35*this.textSize;return this.$uv.addUnit(e)},btnWrapperStyle(){const e={},t=this.$uv.addStyle(this.customStyle);return t.width&&(e.width=t.width),e}},methods:{clickHandler(){this.disabled||this.loading||ne((()=>{this.$emit("click")}),this.throttleTime)}}},[["render",function(t,n,i,o,s,r){const a=p(e.resolveDynamicComponent("uv-loading-icon"),le),c=p(e.resolveDynamicComponent("uv-icon"),ae);return e.openBlock(),e.createElementBlock("view",{class:"uv-button-wrapper",style:e.normalizeStyle([r.btnWrapperStyle])},[e.createElementVNode("button",{"hover-start-time":Number(t.hoverStartTime),"hover-stay-time":Number(t.hoverStayTime),"form-type":t.formType,"open-type":t.openType,"app-parameter":t.appParameter,"hover-stop-propagation":t.hoverStopPropagation,"send-message-title":t.sendMessageTitle,"send-message-path":t.sendMessagePath,lang:t.lang,"data-name":t.dataName,"session-from":t.sessionFrom,"send-message-img":t.sendMessageImg,"show-message-card":t.showMessageCard,"hover-class":t.disabled||t.loading?"":"uv-button--active",class:e.normalizeClass(["uv-button uv-reset-button",r.bemClass]),style:e.normalizeStyle([r.baseColor,t.$uv.addStyle(t.customStyle)]),onClick:n[0]||(n[0]=(...e)=>r.clickHandler&&r.clickHandler(...e))},[t.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(a,{mode:t.loadingMode,size:1.15*t.loadingSize,color:r.loadingColor},null,8,["mode","size","color"]),e.createElementVNode("text",{class:"uv-button__loading-text",style:e.normalizeStyle([{fontSize:r.textSize+"px"},t.$uv.addStyle(t.customTextStyle)])},e.toDisplayString(t.loadingText||t.text),5)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.icon?(e.openBlock(),e.createBlock(c,{key:0,name:t.icon,color:r.iconColorCom,size:r.getIconSize,customStyle:{marginRight:"2px"}},null,8,["name","color","size"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},(()=>[e.createElementVNode("text",{class:"uv-button__text",style:e.normalizeStyle([{fontSize:r.textSize+"px"},t.$uv.addStyle(t.customTextStyle)])},e.toDisplayString(t.text),5)]),!0),e.renderSlot(t.$slots,"suffix",{},void 0,!0)],64))],14,["hover-start-time","hover-stay-time","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","send-message-path","lang","data-name","session-from","send-message-img","show-message-card","hover-class"])],4)}],["__scopeId","data-v-646dddbc"]]);class he{constructor(e,t){this.options=e,this.animation=uni.createAnimation({...e}),this.currentStepAnimates={},this.next=0,this.$=t}_nvuePushAnimates(e,t){let n=this.currentStepAnimates[this.next],i={};if(i=n||{styles:{},config:{}},pe.includes(e)){i.styles.transform||(i.styles.transform="");let n="";"rotate"===e&&(n="deg"),i.styles.transform+=`${e}(${t+n}) `}else i.styles[e]=`${t}`;this.currentStepAnimates[this.next]=i}_animateRun(e={},t={}){let n=this.$.$refs.ani.ref;if(n)return new Promise(((i,o)=>{nvueAnimation.transition(n,{styles:e,...t},(e=>{i()}))}))}_nvueNextAnimate(e,t=0,n){let i=e[t];if(i){let{styles:o,config:s}=i;this._animateRun(o,s).then((()=>{t+=1,this._nvueNextAnimate(e,t,n)}))}else this.currentStepAnimates={},"function"==typeof n&&n(),this.isEnd=!0}step(e={}){return this.animation.step(e),this}run(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof e&&e()}),this.$.durationTime)}}const pe=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function fe(e,t){if(t)return clearTimeout(t.timer),new he(e,t)}pe.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((e=>{he.prototype[e]=function(...t){return this.animation[e](...t),this}}));const ge=se({name:"uv-transition",mixins:[C,ie],emits:["click","change"],props:{show:{type:Boolean,default:!1},mode:{type:[Array,String,null],default:()=>"fade"},duration:{type:[String,Number],default:300},timingFunction:{type:String,default:"ease-out"},customClass:{type:String,default:""},cellChild:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{transformStyles(){const e={transform:this.transform,opacity:this.opacity,...this.$uv.addStyle(this.customStyle),"transition-duration":this.duration/1e3+"s"};return this.$uv.addStyle(e,"string")}},created(){this.config={duration:this.duration,timingFunction:this.timingFunction,transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(e={}){e.duration&&(this.durationTime=e.duration),this.animation=fe(Object.assign(this.config,e),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(e,t={}){if(this.animation){for(let t in e)try{"object"==typeof e[t]?this.animation[t](...e[t]):this.animation[t](e[t])}catch(Bt){h("error","at uni_modules/uv-transition/components/uv-transition/uv-transition.vue:166",`方法 ${t} 不存在`)}return this.animation.step(t),this}},run(e){this.animation&&this.animation.run(e)},open(){clearTimeout(this.timer),this.transform="",this.isShow=!0;let{opacity:e,transform:t}=this.styleInit(!1);void 0!==e&&(this.opacity=e),this.transform=t,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=fe(this.config,this),this.tranfromInit(!1).step(),this.animation.run(),this.$emit("change",{detail:this.isShow})}),20)}))},close(e){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:e,transform:t}=this.styleInit(!1);this.opacity=e||1,this.transform=t,this.$emit("change",{detail:this.isShow})}))},styleInit(e){let t={transform:""},n=(e,n)=>{"fade"===n?t.opacity=this.animationType(e)[n]:t.transform+=this.animationType(e)[n]+" "};return"string"==typeof this.mode?n(e,this.mode):this.mode.forEach((t=>{n(e,t)})),t},tranfromInit(e){let t=(e,t)=>{let n=null;"fade"===t?n=e?0:1:(n=e?"-100%":"0","zoom-in"===t&&(n=e?.8:1),"zoom-out"===t&&(n=e?1.2:1),"slide-right"===t&&(n=e?"100%":"0"),"slide-bottom"===t&&(n=e?"100%":"0")),this.animation[this.animationMode()[t]](n)};return"string"==typeof this.mode?t(e,this.mode):this.mode.forEach((n=>{t(e,n)})),this.animation},animationType:e=>({fade:e?1:0,"slide-top":`translateY(${e?"0":"-100%"})`,"slide-right":`translateX(${e?"0":"100%"})`,"slide-bottom":`translateY(${e?"0":"100%"})`,"slide-left":`translateX(${e?"0":"-100%"})`,"zoom-in":`scaleX(${e?1:.8}) scaleY(${e?1:.8})`,"zoom-out":`scaleX(${e?1:1.2}) scaleY(${e?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:e=>e.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(t,n,i,o,s,r){return s.isShow?(e.openBlock(),e.createElementBlock("view",{key:0,ref:"ani",animation:s.animationData,class:e.normalizeClass(i.customClass),style:e.normalizeStyle(r.transformStyles),onClick:n[0]||(n[0]=(...e)=>r.onClick&&r.onClick(...e))},[e.renderSlot(t.$slots,"default")],14,["animation"])):e.createCommentVNode("",!0)}]]);const me=se({name:"uv-overlay",emits:["click"],mixins:[C,ie,{props:{show:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:10070},duration:{type:[String,Number],default:300},opacity:{type:[String,Number],default:.5},...null==(c=null==(a=uni.$uv)?void 0:a.props)?void 0:c.overlay}}],watch:{show(e){}},computed:{overlayStyle(){const e={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`};return this.$uv.deepMerge(e,this.$uv.addStyle(this.customStyle))}},methods:{clickHandler(){this.$emit("click")},clear(){}}},[["render",function(t,n,i,o,s,r){const a=p(e.resolveDynamicComponent("uv-transition"),ge);return e.openBlock(),e.createBlock(a,{show:t.show,mode:"fade","custom-class":"uv-overlay",duration:t.duration,"custom-style":r.overlayStyle,onClick:r.clickHandler,onTouchmove:e.withModifiers(r.clear,["stop","prevent"])},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default",{},void 0,!0)])),_:3},8,["show","duration","custom-style","onClick","onTouchmove"])}],["__scopeId","data-v-65481522"]]);const ye=se({name:"uv-no-network",mixins:[C,ie,{props:{tips:{type:String,default:"哎呀,网络信号丢失"},zIndex:{type:[String,Number],default:""},image:{type:String,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/v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FAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"},...null==(l=null==(u=uni.$uv)?void 0:u.props)?void 0:l.noNetwork}}],data:()=>({isConnected:!0,networkType:"none"}),mounted(){this.isIOS="ios"===uni.getSystemInfoSync().platform,uni.onNetworkStatusChange((e=>{this.isConnected=e.isConnected,this.networkType=e.networkType,this.emitEvent(this.networkType)})),uni.getNetworkType({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?this.isConnected=!1:this.isConnected=!0}})},methods:{retry(){uni.getNetworkType({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?(this.$uv.toast("无网络连接"),this.isConnected=!1):(this.$uv.toast("网络已连接"),this.isConnected=!0)}}),this.$emit("retry")},emitEvent(e){this.$emit("none"===e?"disconnected":"connected")},async openSettings(){"none"!=this.networkType||this.openSystemSettings()},openAppSettings(){this.gotoAppSetting()},openSystemSettings(){this.isIOS?this.gotoiOSSetting():this.gotoAndroidSetting()},network(){var e=null,t=plus.ios.newObject("CTCellularData"),n=t.plusGetAttribute("restrictedState");return 0==n?e=null:2==n?e=1:1==n&&(e=2),plus.ios.deleteObject(t),e},gotoAppSetting(){if(this.isIOS){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("app-settings:");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)}else{var i=plus.android.importClass("android.content.Intent"),o=plus.android.importClass("android.provider.Settings"),s=plus.android.importClass("android.net.Uri"),r=plus.android.runtimeMainActivity(),a=new i;a.setAction(o.ACTION_APPLICATION_DETAILS_SETTINGS);var c=s.fromParts("package",r.getPackageName(),null);a.setData(c),r.startActivity(a)}},gotoiOSSetting(){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("App-prefs:root=General");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)},gotoAndroidSetting(){var e=plus.android.importClass("android.content.Intent"),t=plus.android.importClass("android.provider.Settings"),n=plus.android.runtimeMainActivity(),i=new e(t.ACTION_SETTINGS);n.startActivity(i)}}},[["render",function(t,n,i,o,s,r){const a=p(e.resolveDynamicComponent("uv-icon"),ae),c=p(e.resolveDynamicComponent("uv-button"),de),u=p(e.resolveDynamicComponent("uv-overlay"),me);return e.openBlock(),e.createBlock(u,{show:!s.isConnected,zIndex:t.zIndex,onTouchmove:e.withModifiers(t.noop,["stop","prevent"]),customStyle:{backgroundColor:"#fff",display:"flex",justifyContent:"center"}},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"uv-no-network"},[e.createVNode(a,{name:t.image,size:"150",imgMode:"widthFit",class:"uv-no-network__error-icon"},null,8,["name"]),e.createElementVNode("text",{class:"uv-no-network__tips"},e.toDisplayString(t.tips),1),e.createElementVNode("view",{class:"uv-no-network__app"},[e.createElementVNode("text",{class:"uv-no-network__app__setting"},"请检查网络,或前往"),e.createElementVNode("text",{class:"uv-no-network__app__to-setting",onClick:n[0]||(n[0]=(...e)=>r.openSettings&&r.openSettings(...e))},"设置")]),e.createElementVNode("view",{class:"uv-no-network__retry"},[e.createVNode(c,{style:{width:"220rpx"},text:"重试",type:"primary",onClick:r.retry},null,8,["onClick"])])])])),_:1},8,["show","zIndex","onTouchmove"])}],["__scopeId","data-v-6eb2581f"]]),Ae={__name:"index",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(ye))};__definePage("pages/index/index",B),__definePage("pages/networko/index",Ae),uni.invokePushCallback({type:"enabled",offline:!0}),Promise.resolve().then((()=>{"undefined"!=typeof plus&&plus.push&&plus.globalEvent.addEventListener("newPath",(({path:e})=>{if(!e)return;const t=getCurrentPages(),n=t[t.length-1];n&&n.$page&&n.$page.fullPath===e||uni.navigateTo({url:e,fail(t){t.errMsg.indexOf("tabbar")>-1?uni.switchTab({url:e,fail(e){console.error(e.errMsg)}}):console.error(t.errMsg)}})})),plus.push.setAutoNotification&&plus.push.setAutoNotification(!1)}));const ve={methods:{networkStatusChange(e){e.isConnected?uni.redirectTo({url:"/pages/index/index"}):uni.redirectTo({url:"/pages/networko/index"})}},onLaunch:function(){},onShow:function(){uni.getNetworkType({success:e=>{"none"===e.networkType&&uni.redirectTo({url:"/pages/networko/index"})}}),uni.onNetworkStatusChange(this.networkStatusChange)},onHide:function(){uni.offNetworkStatusChange(this.networkStatusChange)}},we={pages:[{path:"pages/index/index",style:{navigationBarTitleText:"uni-app",navigationStyle:"custom"}},{path:"pages/networko/index",style:{navigationBarTitleText:"uni-app",navigationStyle:"custom"}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},uniIdRouter:{}};function Se(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var be=Se((function(e,t){var n;e.exports=(n=n||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},o=i.lib={},s=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},r=o.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,o=e.sigBytes;if(this.clamp(),i%4)for(var s=0;s>>2]>>>24-s%4*8&255;t[i+s>>>2]|=r<<24-(i+s)%4*8}else for(s=0;s>>2]=n[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],o=function(t){var n=987654321,i=4294967295;return function(){var o=((n=36969*(65535&n)+(n>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return o/=4294967296,(o+=.5)*(e.random()>.5?1:-1)}},s=0;s>>2]>>>24-o%4*8&255;i.push((s>>>4).toString(16)),i.push((15&s).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new r.init(n,t/2)}},u=a.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],o=0;o>>2]>>>24-o%4*8&255;i.push(String.fromCharCode(s))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new r.init(n,t)}},l=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},d=o.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new r.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,o=n.sigBytes,s=this.blockSize,a=o/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,u=e.min(4*c,o);if(c){for(var l=0;l>>24)|4278255360&(o<<24|o>>>8)}var s=this._hash.words,r=e[t+0],c=e[t+1],p=e[t+2],f=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],A=e[t+7],v=e[t+8],w=e[t+9],S=e[t+10],b=e[t+11],k=e[t+12],E=e[t+13],I=e[t+14],P=e[t+15],T=s[0],x=s[1],B=s[2],C=s[3];T=u(T,x,B,C,r,7,a[0]),C=u(C,T,x,B,c,12,a[1]),B=u(B,C,T,x,p,17,a[2]),x=u(x,B,C,T,f,22,a[3]),T=u(T,x,B,C,g,7,a[4]),C=u(C,T,x,B,m,12,a[5]),B=u(B,C,T,x,y,17,a[6]),x=u(x,B,C,T,A,22,a[7]),T=u(T,x,B,C,v,7,a[8]),C=u(C,T,x,B,w,12,a[9]),B=u(B,C,T,x,S,17,a[10]),x=u(x,B,C,T,b,22,a[11]),T=u(T,x,B,C,k,7,a[12]),C=u(C,T,x,B,E,12,a[13]),B=u(B,C,T,x,I,17,a[14]),T=l(T,x=u(x,B,C,T,P,22,a[15]),B,C,c,5,a[16]),C=l(C,T,x,B,y,9,a[17]),B=l(B,C,T,x,b,14,a[18]),x=l(x,B,C,T,r,20,a[19]),T=l(T,x,B,C,m,5,a[20]),C=l(C,T,x,B,S,9,a[21]),B=l(B,C,T,x,P,14,a[22]),x=l(x,B,C,T,g,20,a[23]),T=l(T,x,B,C,w,5,a[24]),C=l(C,T,x,B,I,9,a[25]),B=l(B,C,T,x,f,14,a[26]),x=l(x,B,C,T,v,20,a[27]),T=l(T,x,B,C,E,5,a[28]),C=l(C,T,x,B,p,9,a[29]),B=l(B,C,T,x,A,14,a[30]),T=d(T,x=l(x,B,C,T,k,20,a[31]),B,C,m,4,a[32]),C=d(C,T,x,B,v,11,a[33]),B=d(B,C,T,x,b,16,a[34]),x=d(x,B,C,T,I,23,a[35]),T=d(T,x,B,C,c,4,a[36]),C=d(C,T,x,B,g,11,a[37]),B=d(B,C,T,x,A,16,a[38]),x=d(x,B,C,T,S,23,a[39]),T=d(T,x,B,C,E,4,a[40]),C=d(C,T,x,B,r,11,a[41]),B=d(B,C,T,x,f,16,a[42]),x=d(x,B,C,T,y,23,a[43]),T=d(T,x,B,C,w,4,a[44]),C=d(C,T,x,B,k,11,a[45]),B=d(B,C,T,x,P,16,a[46]),T=h(T,x=d(x,B,C,T,p,23,a[47]),B,C,r,6,a[48]),C=h(C,T,x,B,A,10,a[49]),B=h(B,C,T,x,I,15,a[50]),x=h(x,B,C,T,m,21,a[51]),T=h(T,x,B,C,k,6,a[52]),C=h(C,T,x,B,f,10,a[53]),B=h(B,C,T,x,S,15,a[54]),x=h(x,B,C,T,c,21,a[55]),T=h(T,x,B,C,v,6,a[56]),C=h(C,T,x,B,P,10,a[57]),B=h(B,C,T,x,y,15,a[58]),x=h(x,B,C,T,E,21,a[59]),T=h(T,x,B,C,g,6,a[60]),C=h(C,T,x,B,b,10,a[61]),B=h(B,C,T,x,p,15,a[62]),x=h(x,B,C,T,w,21,a[63]),s[0]=s[0]+T|0,s[1]=s[1]+x|0,s[2]=s[2]+B|0,s[3]=s[3]+C|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var s=e.floor(i/4294967296),r=i;n[15+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),n[14+(o+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,i,o,s,r){var a=e+(t&n|~t&i)+o+r;return(a<>>32-s)+t}function l(e,t,n,i,o,s,r){var a=e+(t&i|n&~i)+o+r;return(a<>>32-s)+t}function d(e,t,n,i,o,s,r){var a=e+(t^n^i)+o+r;return(a<>>32-s)+t}function h(e,t,n,i,o,s,r){var a=e+(n^(t|~i))+o+r;return(a<>>32-s)+t}t.MD5=s._createHelper(c),t.HmacMD5=s._createHmacHelper(c)}(Math),n.MD5)})),Se((function(e,t){var n,i,o;e.exports=(i=(n=ke).lib.Base,o=n.enc.Utf8,void(n.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var s=this._oKey=t.clone(),r=this._iKey=t.clone(),a=s.words,c=r.words,u=0;u>>2]>>>24-s%4*8&255)<<16|(t[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|t[s+2>>>2]>>>24-(s+2)%4*8&255,a=0;a<4&&s+.75*a>>6*(3-a)&63));var c=i.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s>>6-r%4*2;i[s>>>2]|=(a|c)<<24-s%4*8,s++}return o.create(i,s)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)}));const Te="FUNCTION",xe="pending",Be="rejected";function Ce(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Ue(e){return"object"===Ce(e)}function Oe(e){return"function"==typeof e}function Le(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}const Ne="REJECTED",Fe="NOT_PENDING";class je{constructor({createPromise:e,retryRule:t=Ne}={}){this.createPromise=e,this.status=null,this.promise=null,this.retryRule=t}get needRetry(){if(!this.status)return!0;switch(this.retryRule){case Ne:return this.status===Be;case Fe:return this.status!==xe}}exec(){return this.needRetry?(this.status=xe,this.promise=this.createPromise().then((e=>(this.status="fulfilled",Promise.resolve(e))),(e=>(this.status=Be,Promise.reject(e)))),this.promise):this.promise}}function Qe(e){return e&&"string"==typeof e?JSON.parse(e):e}const _e=Qe([]);Qe("");const Re=Qe('[{"provider":"alipay","spaceName":"oaapp","spaceId":"env-00jxgxphla18","spaceAppId":"2021004145628977","accessKey":"ZALus7EgJXdovISb","secretKey":"7qzvVrPN0mAxfcLr"}]')||[];let qe="";try{qe="__UNI__4796942"}catch(Bt){}let Me={};function De(e,t={}){var n,i;return n=Me,i=e,Object.prototype.hasOwnProperty.call(n,i)||(Me[e]=t),Me[e]}Me=uni._globalUniCloudObj?uni._globalUniCloudObj:uni._globalUniCloudObj={};const He=["invoke","success","fail","complete"],ze=De("_globalUniCloudInterceptor");function Ve(e,t){ze[e]||(ze[e]={}),Ue(t)&&Object.keys(t).forEach((n=>{He.indexOf(n)>-1&&function(e,t,n){let i=ze[e][t];i||(i=ze[e][t]=[]),-1===i.indexOf(n)&&Oe(n)&&i.push(n)}(e,n,t[n])}))}function Ke(e,t){ze[e]||(ze[e]={}),Ue(t)?Object.keys(t).forEach((n=>{He.indexOf(n)>-1&&function(e,t,n){const i=ze[e][t];if(!i)return;const o=i.indexOf(n);o>-1&&i.splice(o,1)}(e,n,t[n])})):delete ze[e]}function We(e,t){return e&&0!==e.length?e.reduce(((e,n)=>e.then((()=>n(t)))),Promise.resolve()):Promise.resolve()}function Je(e,t){return ze[e]&&ze[e][t]||[]}function Xe(e){Ve("callObject",e)}const Ye=De("_globalUniCloudListener"),Ge="response",Ze="needLogin",$e="refreshToken",et="clientdb",tt="cloudfunction",nt="cloudobject";function it(e){return Ye[e]||(Ye[e]=[]),Ye[e]}function ot(e,t){const n=it(e);n.includes(t)||n.push(t)}function st(e,t){const n=it(e),i=n.indexOf(t);-1!==i&&n.splice(i,1)}function rt(e,t){const n=it(e);for(let i=0;i{ct&&e(),function t(){if("function"==typeof getCurrentPages){const t=getCurrentPages();t&&t[0]&&(ct=!0,e())}ct||setTimeout((()=>{t()}),30)}()})),at)}function lt(e){const t={};for(const n in e){const i=e[n];Oe(i)&&(t[n]=Le(i))}return t}class dt extends Error{constructor(e){super(e.message),this.errMsg=e.message||e.errMsg||"unknown system error",this.code=this.errCode=e.code||e.errCode||"SYSTEM_ERROR",this.errSubject=this.subject=e.subject||e.errSubject,this.cause=e.cause,this.requestId=e.requestId}toJson(e=0){if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}var ht={request:e=>uni.request(e),uploadFile:e=>uni.uploadFile(e),setStorageSync:(e,t)=>uni.setStorageSync(e,t),getStorageSync:e=>uni.getStorageSync(e),removeStorageSync:e=>uni.removeStorageSync(e),clearStorageSync:()=>uni.clearStorageSync(),connectSocket:e=>uni.connectSocket(e)};function pt(e){return e&&pt(e.__v_raw)||e}function ft(){return{token:ht.getStorageSync("uni_id_token")||ht.getStorageSync("uniIdToken"),tokenExpired:ht.getStorageSync("uni_id_token_expired")}}function gt({token:e,tokenExpired:t}={}){e&&ht.setStorageSync("uni_id_token",e),t&&ht.setStorageSync("uni_id_token_expired",t)}let mt,yt;function At(){return mt||(mt=uni.getSystemInfoSync()),mt}function vt(){let e,t;try{if(uni.getLaunchOptionsSync){if(uni.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;const{scene:n,channel:i}=uni.getLaunchOptionsSync();e=i,t=n}}catch(n){}return{channel:e,scene:t}}let wt={};function St(){const e=uni.getLocale&&uni.getLocale()||"en";if(yt)return{...wt,...yt,locale:e,LOCALE:e};const t=At(),{deviceId:n,osName:i,uniPlatform:o,appId:s}=t,r=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(const a in t)Object.hasOwnProperty.call(t,a)&&-1===r.indexOf(a)&&delete t[a];return yt={PLATFORM:o,OS:i,APPID:s,DEVICEID:n,...vt(),...t},{...wt,...yt,locale:e,LOCALE:e}}var bt=function(e,t){let n="";return Object.keys(e).sort().forEach((function(t){e[t]&&(n=n+"&"+t+"="+e[t])})),n=n.slice(1),Ee(n,t).toString()},kt=function(e,t){return new Promise(((n,i)=>{t(Object.assign(e,{complete(e){e||(e={});const t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){const n=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",o=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return i(new dt({code:n,message:o,requestId:t}))}const o=e.data;if(o.error)return i(new dt({code:o.error.code,message:o.error.message,requestId:t}));o.result=o.data,o.requestId=t,delete o.data,n(o)}}))}))},Et=function(e){return Pe.stringify(Ie.parse(e))},It=class{constructor(e){["spaceId","clientSecret"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=ht,this._getAccessTokenPromiseHub=new je({createPromise:()=>this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((e=>{if(!e.result||!e.result.accessToken)throw new dt({code:"AUTH_FAILED",message:"获取accessToken失败"});this.setAccessToken(e.result.accessToken)})),retryRule:Fe})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return kt(e,this.adapter.request)}requestAuth(e){return this.requestWrapped(e)}request(e,t){return Promise.resolve().then((()=>this.hasAccessToken?t?this.requestWrapped(e):this.requestWrapped(e).catch((t=>new Promise(((e,n)=>{!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?n(t):e()})).then((()=>this.getAccessToken())).then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)})))):this.getAccessToken().then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)}))))}rebuildRequest(e){const t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=bt(t.data,this.config.clientSecret),t}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};return"auth"!==t&&(n.token=this.accessToken,i["x-basement-token"]=this.accessToken),i["x-serverless-sign"]=bt(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:i}}getAccessToken(){return this._getAccessTokenPromiseHub.exec()}async authorize(){await this.getAccessToken()}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}getOSSUploadOptionsFromPath(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFileToOSS({url:e,formData:t,name:n,filePath:i,fileType:o,onUploadProgress:s}){return new Promise(((r,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:i,fileType:o,header:{"X-OSS-server-side-encrpytion":"AES256"},success(e){e&&e.statusCode<400?r(e):a(new dt({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new dt({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((e=>{s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}reportOSSUpload(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}async uploadFile({filePath:e,cloudPath:t,fileType:n="image",cloudPathAsRealPath:i=!1,onUploadProgress:o,config:s}){if("string"!==Ce(t))throw new dt({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new dt({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new dt({code:"INVALID_PARAM",message:"cloudPath不合法"});const r=s&&s.envType||this.config.envType;if(i&&("/"!==t[0]&&(t="/"+t),t.indexOf("\\")>-1))throw new dt({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});const a=(await this.getOSSUploadOptionsFromPath({env:r,filename:i?t.split("/").pop():t,fileId:i?t:void 0})).result,c="https://"+a.cdnDomain+"/"+a.ossPath,{securityToken:u,accessKeyId:l,signature:d,host:h,ossPath:p,id:f,policy:g,ossCallbackUrl:m}=a,y={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:l,Signature:d,host:h,id:f,key:p,policy:g,success_action_status:200};if(u&&(y["x-oss-security-token"]=u),m){const e=JSON.stringify({callbackUrl:m,callbackBody:JSON.stringify({fileId:f,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});y.callback=Et(e)}const A={url:"https://"+a.host,formData:y,fileName:"file",name:"file",filePath:e,fileType:n};if(await this.uploadFileToOSS(Object.assign({},A,{onUploadProgress:o})),m)return{success:!0,filePath:e,fileID:c};if((await this.reportOSSUpload({id:f})).success)return{success:!0,filePath:e,fileID:c};throw new dt({code:"UPLOAD_FAILED",message:"文件上传失败"})}getTempFileURL({fileList:e}={}){return new Promise(((t,n)=>{Array.isArray(e)&&0!==e.length||n(new dt({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),t({fileList:e.map((e=>({fileID:e,tempFileURL:e})))})}))}async getFileInfo({fileList:e}={}){if(!Array.isArray(e)||0===e.length)throw new dt({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.info",params:JSON.stringify({id:e.map((e=>e.split("?")[0])).join(",")})};return{fileList:(await this.request(this.setupRequest(t))).result}}},Pt={init(e){const t=new It(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}};const Tt="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";var xt,Bt;(Bt=xt||(xt={})).local="local",Bt.none="none",Bt.session="session";var Ct=function(){},Ut=Se((function(e,t){var n;e.exports=(n=ke,function(e){var t=n,i=t.lib,o=i.WordArray,s=i.Hasher,r=t.algo,a=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),i=2;i<=n;i++)if(!(t%i))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var i=2,o=0;o<64;)t(i)&&(o<8&&(a[o]=n(e.pow(i,.5))),c[o]=n(e.pow(i,1/3)),o++),i++}();var u=[],l=r.SHA256=s.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],o=n[1],s=n[2],r=n[3],a=n[4],l=n[5],d=n[6],h=n[7],p=0;p<64;p++){if(p<16)u[p]=0|e[t+p];else{var f=u[p-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=u[p-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;u[p]=g+u[p-7]+y+u[p-16]}var A=i&o^i&s^o&s,v=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),w=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&d)+c[p]+u[p];h=d,d=l,l=a,a=r+w|0,r=s,s=o,o=i,i=w+(v+A)|0}n[0]=n[0]+i|0,n[1]=n[1]+o|0,n[2]=n[2]+s|0,n[3]=n[3]+r|0,n[4]=n[4]+a|0,n[5]=n[5]+l|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(i/4294967296),n[15+(o+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=s._createHelper(l),t.HmacSHA256=s._createHmacHelper(l)}(Math),n.SHA256)})),Ot=Ut,Lt=Se((function(e,t){e.exports=ke.HmacSHA256}));const Nt=()=>{let e;if(!Promise){e=()=>{},e.promise={};const t=()=>{throw new dt({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}const t=new Promise(((t,n)=>{e=(e,i)=>e?n(e):t(i)}));return e.promise=t,e};function Ft(e){return void 0===e}function jt(e){return"[object Null]"===Object.prototype.toString.call(e)}var Qt;!function(e){e.WEB="web",e.WX_MP="wx_mp"}(Qt||(Qt={}));const _t={adapter:null,runtime:void 0},Rt=["anonymousUuidKey"];class qt extends Ct{constructor(){super(),_t.adapter.root.tcbObject||(_t.adapter.root.tcbObject={})}setItem(e,t){_t.adapter.root.tcbObject[e]=t}getItem(e){return _t.adapter.root.tcbObject[e]}removeItem(e){delete _t.adapter.root.tcbObject[e]}clear(){delete _t.adapter.root.tcbObject}}function Mt(e,t){switch(e){case"local":return t.localStorage||new qt;case"none":return new qt;default:return t.sessionStorage||new qt}}class Dt{constructor(e){if(!this._storage){this._persistence=_t.adapter.primaryStorage||e.persistence,this._storage=Mt(this._persistence,_t.adapter);const t=`access_token_${e.env}`,n=`access_token_expire_${e.env}`,i=`refresh_token_${e.env}`,o=`anonymous_uuid_${e.env}`,s=`login_type_${e.env}`,r=`user_info_${e.env}`;this.keys={accessTokenKey:t,accessTokenExpireKey:n,refreshTokenKey:i,anonymousUuidKey:o,loginTypeKey:s,userInfoKey:r}}}updatePersistence(e){if(e===this._persistence)return;const t="local"===this._persistence;this._persistence=e;const n=Mt(e,_t.adapter);for(const i in this.keys){const e=this.keys[i];if(t&&Rt.includes(i))continue;const o=this._storage.getItem(e);Ft(o)||jt(o)||(n.setItem(e,o),this._storage.removeItem(e))}this._storage=n}setStore(e,t,n){if(!this._storage)return;const i={version:n||"localCachev1",content:t},o=JSON.stringify(i);try{this._storage.setItem(e,o)}catch(s){throw s}}getStore(e,t){try{if(!this._storage)return}catch(i){return""}t=t||"localCachev1";const n=this._storage.getItem(e);return n&&n.indexOf(t)>=0?JSON.parse(n).content:""}removeStore(e){this._storage.removeItem(e)}}const Ht={},zt={};function Vt(e){return Ht[e]}class Kt{constructor(e,t){this.data=t||null,this.name=e}}class Wt extends Kt{constructor(e,t){super("error",{error:e,data:t}),this.error=e}}const Jt=new class{constructor(){this._listeners={}}on(e,t){return n=e,i=t,(o=this._listeners)[n]=o[n]||[],o[n].push(i),this;var n,i,o}off(e,t){return function(e,t,n){if(n&&n[e]){const i=n[e].indexOf(t);-1!==i&&n[e].splice(i,1)}}(e,t,this._listeners),this}fire(e,t){if(e instanceof Wt)return console.error(e.error),this;const n="string"==typeof e?new Kt(e,t||{}):e,i=n.name;if(this._listens(i)){n.target=this;const e=this._listeners[i]?[...this._listeners[i]]:[];for(const t of e)t.call(this,n)}return this}_listens(e){return this._listeners[e]&&this._listeners[e].length>0}};function Xt(e,t){Jt.on(e,t)}function Yt(e,t={}){Jt.fire(e,t)}function Gt(e,t){Jt.off(e,t)}const Zt="loginStateChanged",$t="loginStateExpire",en="loginTypeChanged",tn="anonymousConverted",nn="refreshAccessToken";var on;!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(on||(on={}));const sn=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],rn={"X-SDK-Version":"1.3.5"};function an(e,t,n){const i=e[t];e[t]=function(t){const o={},s={};n.forEach((n=>{const{data:i,headers:r}=n.call(e,t);Object.assign(o,i),Object.assign(s,r)}));const r=t.data;return r&&(()=>{var e;if(e=r,"[object FormData]"!==Object.prototype.toString.call(e))t.data={...r,...o};else for(const t in o)r.append(t,o[t])})(),t.headers={...t.headers||{},...s},i.call(e,t)}}function cn(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:{...rn,"x-seqid":e}}}class un{constructor(e={}){var t;this.config=e,this._reqClass=new _t.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]}),this._cache=Vt(this.config.env),this._localCache=(t=this.config.env,zt[t]),an(this._reqClass,"post",[cn]),an(this._reqClass,"upload",[cn]),an(this._reqClass,"download",[cn])}async post(e){return await this._reqClass.post(e)}async upload(e){return await this._reqClass.upload(e)}async download(e){return await this._reqClass.download(e)}async refreshAccessToken(){let e,t;this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken());try{e=await this._refreshAccessTokenPromise}catch(n){t=n}if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,t)throw t;return e}async _refreshAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n,loginTypeKey:i,anonymousUuidKey:o}=this._cache.keys;this._cache.removeStore(e),this._cache.removeStore(t);let s=this._cache.getStore(n);if(!s)throw new dt({message:"未登录CloudBase"});const r={refresh_token:s},a=await this.request("auth.fetchAccessTokenWithRefreshToken",r);if(a.data.code){const{code:e}=a.data;if("SIGN_PARAM_INVALID"===e||"REFRESH_TOKEN_EXPIRED"===e||"INVALID_REFRESH_TOKEN"===e){if(this._cache.getStore(i)===on.ANONYMOUS&&"INVALID_REFRESH_TOKEN"===e){const e=this._cache.getStore(o),t=this._cache.getStore(n),i=await this.send("auth.signInAnonymously",{anonymous_uuid:e,refresh_token:t});return this.setRefreshToken(i.refresh_token),this._refreshAccessToken()}Yt($t),this._cache.removeStore(n)}throw new dt({code:a.data.code,message:`刷新access token失败:${a.data.code}`})}if(a.data.access_token)return Yt(nn),this._cache.setStore(e,a.data.access_token),this._cache.setStore(t,a.data.access_token_expire+Date.now()),{accessToken:a.data.access_token,accessTokenExpire:a.data.access_token_expire};a.data.refresh_token&&(this._cache.removeStore(n),this._cache.setStore(n,a.data.refresh_token),this._refreshAccessToken())}async getAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n}=this._cache.keys;if(!this._cache.getStore(n))throw new dt({message:"refresh token不存在,登录状态异常"});let i=this._cache.getStore(e),o=this._cache.getStore(t),s=!0;return this._shouldRefreshAccessTokenHook&&!(await this._shouldRefreshAccessTokenHook(i,o))&&(s=!1),(!i||!o||o{e.wxOpenId&&e.wxPublicId&&(t=!0)})),{users:n,hasPrimaryUid:t}}setPrimaryUid(e){return this._request.send("auth.setPrimaryUid",{uid:e})}unlink(e){return this._request.send("auth.unlink",{platform:e})}async update(e){const{nickName:t,gender:n,avatarUrl:i,province:o,country:s,city:r}=e,{data:a}=await this._request.send("auth.updateUserInfo",{nickName:t,gender:n,avatarUrl:i,province:o,country:s,city:r});this.setLocalUserInfo(a)}async refresh(){const{data:e}=await this._request.send("auth.getUserInfo",{});return this.setLocalUserInfo(e),e}setUserInfo(){const{userInfoKey:e}=this._cache.keys,t=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((e=>{this[e]=t[e]})),this.location={country:t.country,province:t.province,city:t.city}}setLocalUserInfo(e){const{userInfoKey:t}=this._cache.keys;this._cache.setStore(t,e),this.setUserInfo()}}class fn{constructor(e){if(!e)throw new dt({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Vt(e);const{refreshTokenKey:t,accessTokenKey:n,accessTokenExpireKey:i}=this._cache.keys,o=this._cache.getStore(t),s=this._cache.getStore(n),r=this._cache.getStore(i);this.credential={refreshToken:o,accessToken:s,accessTokenExpire:r},this.user=new pn(e)}get isAnonymousAuth(){return this.loginType===on.ANONYMOUS}get isCustomAuth(){return this.loginType===on.CUSTOM}get isWeixinAuth(){return this.loginType===on.WECHAT||this.loginType===on.WECHAT_OPEN||this.loginType===on.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class gn extends hn{async signIn(){this._cache.updatePersistence("local");const{anonymousUuidKey:e,refreshTokenKey:t}=this._cache.keys,n=this._cache.getStore(e)||void 0,i=this._cache.getStore(t)||void 0,o=await this._request.send("auth.signInAnonymously",{anonymous_uuid:n,refresh_token:i});if(o.uuid&&o.refresh_token){this._setAnonymousUUID(o.uuid),this.setRefreshToken(o.refresh_token),await this._request.refreshAccessToken(),Yt(Zt),Yt(en,{env:this.config.env,loginType:on.ANONYMOUS,persistence:"local"});const e=new fn(this.config.env);return await e.user.refresh(),e}throw new dt({message:"匿名登录失败"})}async linkAndRetrieveDataWithTicket(e){const{anonymousUuidKey:t,refreshTokenKey:n}=this._cache.keys,i=this._cache.getStore(t),o=this._cache.getStore(n),s=await this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:i,refresh_token:o,ticket:e});if(s.refresh_token)return this._clearAnonymousUUID(),this.setRefreshToken(s.refresh_token),await this._request.refreshAccessToken(),Yt(tn,{env:this.config.env}),Yt(en,{loginType:on.CUSTOM,persistence:"local"}),{credential:{refreshToken:s.refresh_token}};throw new dt({message:"匿名转化失败"})}_setAnonymousUUID(e){const{anonymousUuidKey:t,loginTypeKey:n}=this._cache.keys;this._cache.removeStore(t),this._cache.setStore(t,e),this._cache.setStore(n,on.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class mn extends hn{async signIn(e){if("string"!=typeof e)throw new dt({code:"PARAM_ERROR",message:"ticket must be a string"});const{refreshTokenKey:t}=this._cache.keys,n=await this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(t)||""});if(n.refresh_token)return this.setRefreshToken(n.refresh_token),await this._request.refreshAccessToken(),Yt(Zt),Yt(en,{env:this.config.env,loginType:on.CUSTOM,persistence:this.config.persistence}),await this.refreshUserInfo(),new fn(this.config.env);throw new dt({message:"自定义登录失败"})}}class yn extends hn{async signIn(e,t){if("string"!=typeof e)throw new dt({code:"PARAM_ERROR",message:"email must be a string"});const{refreshTokenKey:n}=this._cache.keys,i=await this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:o,access_token:s,access_token_expire:r}=i;if(o)return this.setRefreshToken(o),s&&r?this.setAccessToken(s,r):await this._request.refreshAccessToken(),await this.refreshUserInfo(),Yt(Zt),Yt(en,{env:this.config.env,loginType:on.EMAIL,persistence:this.config.persistence}),new fn(this.config.env);throw i.code?new dt({code:i.code,message:`邮箱登录失败: ${i.message}`}):new dt({message:"邮箱登录失败"})}async activate(e){return this._request.send("auth.activateEndUserMail",{token:e})}async resetPasswordWithToken(e,t){return this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:t})}}class An extends hn{async signIn(e,t){if("string"!=typeof e)throw new dt({code:"PARAM_ERROR",message:"username must be a string"});"string"!=typeof t&&(t="",console.warn("password is empty"));const{refreshTokenKey:n}=this._cache.keys,i=await this._request.send("auth.signIn",{loginType:on.USERNAME,username:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:o,access_token_expire:s,access_token:r}=i;if(o)return this.setRefreshToken(o),r&&s?this.setAccessToken(r,s):await this._request.refreshAccessToken(),await this.refreshUserInfo(),Yt(Zt),Yt(en,{env:this.config.env,loginType:on.USERNAME,persistence:this.config.persistence}),new fn(this.config.env);throw i.code?new dt({code:i.code,message:`用户名密码登录失败: ${i.message}`}):new dt({message:"用户名密码登录失败"})}}class vn{constructor(e){this.config=e,this._cache=Vt(e.env),this._request=dn(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Xt(en,this._onLoginTypeChanged)}get currentUser(){const e=this.hasLoginState();return e&&e.user||null}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}anonymousAuthProvider(){return new gn(this.config)}customAuthProvider(){return new mn(this.config)}emailAuthProvider(){return new yn(this.config)}usernameAuthProvider(){return new An(this.config)}async signInAnonymously(){return new gn(this.config).signIn()}async signInWithEmailAndPassword(e,t){return new yn(this.config).signIn(e,t)}signInWithUsernameAndPassword(e,t){return new An(this.config).signIn(e,t)}async linkAndRetrieveDataWithTicket(e){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new gn(this.config)),Xt(tn,this._onAnonymousConverted),await this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e)}async signOut(){if(this.loginType===on.ANONYMOUS)throw new dt({message:"匿名用户不支持登出操作"});const{refreshTokenKey:e,accessTokenKey:t,accessTokenExpireKey:n}=this._cache.keys,i=this._cache.getStore(e);if(!i)return;const o=await this._request.send("auth.logout",{refresh_token:i});return this._cache.removeStore(e),this._cache.removeStore(t),this._cache.removeStore(n),Yt(Zt),Yt(en,{env:this.config.env,loginType:on.NULL,persistence:this.config.persistence}),o}async signUpWithEmailAndPassword(e,t){return this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:t})}async sendPasswordResetEmail(e){return this._request.send("auth.sendPasswordResetEmail",{email:e})}onLoginStateChanged(e){Xt(Zt,(()=>{const t=this.hasLoginState();e.call(this,t)}));const t=this.hasLoginState();e.call(this,t)}onLoginStateExpired(e){Xt($t,e.bind(this))}onAccessTokenRefreshed(e){Xt(nn,e.bind(this))}onAnonymousConverted(e){Xt(tn,e.bind(this))}onLoginTypeChanged(e){Xt(en,(()=>{const t=this.hasLoginState();e.call(this,t)}))}async getAccessToken(){return{accessToken:(await this._request.getAccessToken()).accessToken,env:this.config.env}}hasLoginState(){const{refreshTokenKey:e}=this._cache.keys;return this._cache.getStore(e)?new fn(this.config.env):null}async isUsernameRegistered(e){if("string"!=typeof e)throw new dt({code:"PARAM_ERROR",message:"username must be a string"});const{data:t}=await this._request.send("auth.isUsernameRegistered",{username:e});return t&&t.isRegistered}getLoginState(){return Promise.resolve(this.hasLoginState())}async signInWithTicket(e){return new mn(this.config).signIn(e)}shouldRefreshAccessToken(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}getUserInfo(){return this._request.send("auth.getUserInfo",{}).then((e=>e.code?e:{...e.data,requestId:e.seqId}))}getAuthHeader(){const{refreshTokenKey:e,accessTokenKey:t}=this._cache.keys,n=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(t)+"/@@/"+n}}_onAnonymousConverted(e){const{env:t}=e.data;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}_onLoginTypeChanged(e){const{loginType:t,persistence:n,env:i}=e.data;i===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,t))}}const wn=function(e,t){t=t||Nt();const n=dn(this.config.env),{cloudPath:i,filePath:o,onUploadProgress:s,fileType:r="image"}=e;return n.send("storage.getUploadMetadata",{path:i}).then((e=>{const{data:{url:a,authorization:c,token:u,fileId:l,cosFileId:d},requestId:h}=e,p={key:i,signature:c,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":u};n.upload({url:a,data:p,file:o,name:i,fileType:r,onUploadProgress:s}).then((e=>{201===e.statusCode?t(null,{fileID:l,requestId:h}):t(new dt({code:"STORAGE_REQUEST_FAIL",message:`STORAGE_REQUEST_FAIL: ${e.data}`}))})).catch((e=>{t(e)}))})).catch((e=>{t(e)})),t.promise},Sn=function(e,t){t=t||Nt();const n=dn(this.config.env),{cloudPath:i}=e;return n.send("storage.getUploadMetadata",{path:i}).then((e=>{t(null,e)})).catch((e=>{t(e)})),t.promise},bn=function({fileList:e},t){if(t=t||Nt(),!e||!Array.isArray(e))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};for(let i of e)if(!i||"string"!=typeof i)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"};const n={fileid_list:e};return dn(this.config.env).send("storage.batchDeleteFile",n).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},kn=function({fileList:e},t){t=t||Nt(),e&&Array.isArray(e)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});let n=[];for(let o of e)"object"==typeof o?(o.hasOwnProperty("fileID")&&o.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),n.push({fileid:o.fileID,max_age:o.maxAge})):"string"==typeof o?n.push({fileid:o}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"});const i={file_list:n};return dn(this.config.env).send("storage.batchGetDownloadUrl",i).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},En=async function({fileID:e},t){const n=(await kn.call(this,{fileList:[{fileID:e,maxAge:600}]})).fileList[0];if("SUCCESS"!==n.code)return t?t(n):new Promise((e=>{e(n)}));const i=dn(this.config.env);let o=n.download_url;if(o=encodeURI(o),!t)return i.download({url:o});t(await i.download({url:o}))},In=function({name:e,data:t,query:n,parse:i,search:o},s){const r=s||Nt();let a;try{a=t?JSON.stringify(t):""}catch(u){return Promise.reject(u)}if(!e)return Promise.reject(new dt({code:"PARAM_ERROR",message:"函数名不能为空"}));const c={inQuery:n,parse:i,search:o,function_name:e,request_data:a};return dn(this.config.env).send("functions.invokeFunction",c).then((e=>{if(e.code)r(null,e);else{let n=e.data.response_data;if(i)r(null,{result:n,requestId:e.requestId});else try{n=JSON.parse(e.data.response_data),r(null,{result:n,requestId:e.requestId})}catch(t){r(new dt({message:"response data must be json"}))}}return r.promise})).catch((e=>{r(e)})),r.promise},Pn={timeout:15e3,persistence:"session"},Tn={};class xn{constructor(e){this.config=e||this.config,this.authObj=void 0}init(e){switch(_t.adapter||(this.requestClient=new _t.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:`请求在${(e.timeout||5e3)/1e3}s内未完成,已中断`})),this.config={...Pn,...e},!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new xn(this.config)}auth({persistence:e}={}){if(this.authObj)return this.authObj;const t=e||_t.adapter.primaryStorage||Pn.persistence;var n;return t!==this.config.persistence&&(this.config.persistence=t),function(e){const{env:t}=e;Ht[t]=new Dt(e),zt[t]=new Dt({...e,persistence:"local"})}(this.config),n=this.config,ln[n.env]=new un(n),this.authObj=new vn(this.config),this.authObj}on(e,t){return Xt.apply(this,[e,t])}off(e,t){return Gt.apply(this,[e,t])}callFunction(e,t){return In.apply(this,[e,t])}deleteFile(e,t){return bn.apply(this,[e,t])}getTempFileURL(e,t){return kn.apply(this,[e,t])}downloadFile(e,t){return En.apply(this,[e,t])}uploadFile(e,t){return wn.apply(this,[e,t])}getUploadMetadata(e,t){return Sn.apply(this,[e,t])}registerExtension(e){Tn[e.name]=e}async invokeExtension(e,t){const n=Tn[e];if(!n)throw new dt({message:`扩展${e} 必须先注册`});return await n.invoke(t,this)}useAdapters(e){const{adapter:t,runtime:n}=function(e){const t=(n=e,"[object Array]"===Object.prototype.toString.call(n)?e:[e]);var n;for(const i of t){const{isMatch:e,genAdapter:t,runtime:n}=i;if(e())return{adapter:t(),runtime:n}}}(e)||{};t&&(_t.adapter=t),n&&(_t.runtime=n)}}var Bn=new xn;function Cn(e,t,n){void 0===n&&(n={});var i=/\?/.test(t),o="";for(var s in n)""===o?!i&&(t+="?"):o+="&",o+=s+"="+encodeURIComponent(n[s]);return/^http(s)?:\/\//.test(t+=o)?t:""+e+t}class Un{post(e){const{url:t,data:n,headers:i}=e;return new Promise(((e,o)=>{ht.request({url:Cn("https:",t),data:n,method:"POST",header:i,success(t){e(t)},fail(e){o(e)}})}))}upload(e){return new Promise(((t,n)=>{const{url:i,file:o,data:s,headers:r,fileType:a}=e,c=ht.uploadFile({url:Cn("https:",i),name:"file",formData:Object.assign({},s),filePath:o,fileType:a,header:r,success(e){const n={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&s.success_action_status&&(n.statusCode=parseInt(s.success_action_status,10)),t(n)},fail(e){n(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((t=>{e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}const On={setItem(e,t){ht.setStorageSync(e,t)},getItem:e=>ht.getStorageSync(e),removeItem(e){ht.removeStorageSync(e)},clear(){ht.clearStorageSync()}};var Ln={genAdapter:function(){return{root:{},reqClass:Un,localStorage:On,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Bn.useAdapters(Ln);const Nn=Bn,Fn=Nn.init;Nn.init=function(e){e.env=e.spaceId;const t=Fn.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;const n=t.auth;return t.auth=function(e){const t=n.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((e=>{var n;t[e]=(n=t[e],function(e){e=e||{};const{success:t,fail:i,complete:o}=lt(e);if(!(t||i||o))return n.call(this,e);n.call(this,e).then((e=>{t&&t(e),o&&o(e)}),(e=>{i&&i(e),o&&o(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var jn=Nn,Qn=class extends It{getAccessToken(){return new Promise(((e,t)=>{const n="Anonymous_Access_token";this.setAccessToken(n),e(n)}))}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};"auth"!==t&&(n.token=this.accessToken,i["x-basement-token"]=this.accessToken),i["x-serverless-sign"]=bt(n,this.config.clientSecret);const o=St();i["x-client-info"]=encodeURIComponent(JSON.stringify(o));const{token:s}=ft();return i["x-client-token"]=s,{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:JSON.parse(JSON.stringify(i))}}uploadFileToOSS({url:e,formData:t,name:n,filePath:i,fileType:o,onUploadProgress:s}){return new Promise(((r,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:i,fileType:o,success(e){e&&e.statusCode<400?r(e):a(new dt({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new dt({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((e=>{s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}uploadFile({filePath:e,cloudPath:t,fileType:n="image",onUploadProgress:i}){if(!t)throw new dt({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});let o;return this.getOSSUploadOptionsFromPath({cloudPath:t}).then((t=>{const{url:s,formData:r,name:a}=t.result;o=t.result.fileUrl;const c={url:s,formData:r,name:a,filePath:e,fileType:n};return this.uploadFileToOSS(Object.assign({},c,{onUploadProgress:i}))})).then((()=>this.reportOSSUpload({cloudPath:t}))).then((t=>new Promise(((n,i)=>{t.success?n({success:!0,filePath:e,fileID:o}):i(new dt({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))))}deleteFile({fileList:e}){const t={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(this.setupRequest(t)).then((e=>{if(e.success)return e.result;throw new dt({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}getTempFileURL({fileList:e,maxAge:t}={}){if(!Array.isArray(e)||0===e.length)throw new dt({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:t})};return this.request(this.setupRequest(n)).then((e=>{if(e.success)return{fileList:e.result.fileList.map((e=>({fileID:e.fileID,tempFileURL:e.tempFileURL})))};throw new dt({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}},_n={init(e){const t=new Qn(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},Rn=Se((function(e,t){e.exports=ke.enc.Hex}));function qn(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function Mn(e="",t={}){const{data:n,functionName:i,method:o,headers:s,signHeaderKeys:r=[],config:a}=t,c=Date.now(),u=qn(),l=Object.assign({},s,{"x-from-app-id":a.spaceAppId,"x-from-env-id":a.spaceId,"x-to-env-id":a.spaceId,"x-from-instance-id":c,"x-from-function-name":i,"x-client-timestamp":c,"x-alipay-source":"client","x-request-id":u,"x-alipay-callid":u,"x-trace-id":u}),d=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(r),[h="",p=""]=e.split("?")||[],f=function(e){const t=e.signedHeaders.join(";"),n=e.signedHeaders.map((t=>`${t.toLowerCase()}:${e.headers[t]}\n`)).join(""),i=Ot(e.body).toString(Rn),o=`${e.method.toUpperCase()}\n${e.path}\n${e.query}\n${n}\n${t}\n${i}\n`,s=Ot(o).toString(Rn),r=`HMAC-SHA256\n${e.timestamp}\n${s}\n`,a=Lt(r,e.secretKey).toString(Rn);return`HMAC-SHA256 Credential=${e.secretId}, SignedHeaders=${t}, Signature=${a}`}({path:h,query:p,method:o,headers:l,timestamp:c,body:JSON.stringify(n),secretId:a.accessKey,secretKey:a.secretKey,signedHeaders:d.sort()});return{url:`${a.endpoint}${e}`,headers:Object.assign({},l,{Authorization:f})}}function Dn({url:e,data:t,method:n="POST",headers:i={}}){return new Promise(((o,s)=>{ht.request({url:e,method:n,data:"object"==typeof t?JSON.stringify(t):t,header:i,dataType:"json",complete:(e={})=>{const t=i["x-trace-id"]||"";if(!e.statusCode||e.statusCode>=400){const{message:n,errMsg:i,trace_id:o}=e.data||{};return s(new dt({code:"SYS_ERR",message:n||i||"request:fail",requestId:o||t}))}o({status:e.statusCode,data:e.data,headers:e.header,requestId:t})}})}))}function Hn(e,t){const{path:n,data:i,method:o="GET"}=e,{url:s,headers:r}=Mn(n,{functionName:"",data:i,method:o,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t});return Dn({url:s,data:i,method:o,headers:r}).then((e=>{const t=e.data||{};if(!t.success)throw new dt({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((e=>{throw new dt({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function zn(e=""){const t=e.trim().replace(/^cloud:\/\//,""),n=t.indexOf("/");if(n<=0)throw new dt({code:"INVALID_PARAM",message:"fileID不合法"});const i=t.substring(0,n),o=t.substring(n+1);return i!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),o}function Vn(e=""){return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}class Kn{constructor(e){this.config=e}signedURL(e,t={}){const n=`/ws/function/${e}`,i=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),o=Object.assign({},t,{accessKeyId:this.config.accessKey,signatureNonce:qn(),timestamp:""+Date.now()}),s=[n,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(e){return o[e]?"".concat(e,"=").concat(o[e]):null})).filter(Boolean).join("&"),`host:${i}`].join("\n"),r=["HMAC-SHA256",Ot(s).toString(Rn)].join("\n"),a=Lt(r,this.config.secretKey).toString(Rn),c=Object.keys(o).map((e=>`${e}=${encodeURIComponent(o[e])}`)).join("&");return`${this.config.wsEndpoint}${n}?${c}&signature=${a}`}}var Wn={init:e=>{e.provider="alipay";const t=new class{constructor(e){if(["spaceId","spaceAppId","accessKey","secretKey"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),e.endpoint){if("string"!=typeof e.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||`https://${e.spaceId}.api-hz.cloudbasefunction.cn`,wsEndpoint:e.wsEndpoint||`wss://${e.spaceId}.api-hz.cloudbasefunction.cn`}),this._websocket=new Kn(this.config)}callFunction(e){return function(e,t){const{name:n,data:i,async:o=!1}=e,s="POST",r={"x-to-function-name":n};o&&(r["x-function-invoke-type"]="async");const{url:a,headers:c}=Mn("/functions/invokeFunction",{functionName:n,data:i,method:s,headers:r,signHeaderKeys:["x-to-function-name"],config:t});return Dn({url:a,data:i,method:s,headers:c}).then((e=>{let t=0;if(o){const n=e.data||{};t="200"===n.errCode?0:n.errCode,e.data=n.data||{},e.errMsg=n.errMsg}if(0!==t)throw new dt({code:t,message:e.errMsg,requestId:e.requestId});return{errCode:t,success:0===t,requestId:e.requestId,result:e.data}})).catch((e=>{throw new dt({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}uploadFileToOSS({url:e,filePath:t,fileType:n,formData:i,onUploadProgress:o}){return new Promise(((s,r)=>{const a=ht.uploadFile({url:e,filePath:t,fileType:n,formData:i,name:"file",success(e){e&&e.statusCode<400?s(e):r(new dt({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){r(new dt({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof o&&a&&"function"==typeof a.onProgressUpdate&&a.onProgressUpdate((e=>{o({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}async uploadFile({filePath:e,cloudPath:t="",fileType:n="image",onUploadProgress:i}){if("string"!==Ce(t))throw new dt({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new dt({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new dt({code:"INVALID_PARAM",message:"cloudPath不合法"});const o=await Hn({path:"/".concat(t.replace(/^\//,""),"?post_url")},this.config),{file_id:s,upload_url:r,form_data:a}=o,c=a&&a.reduce(((e,t)=>(e[t.key]=t.value,e)),{});return this.uploadFileToOSS({url:r,filePath:e,fileType:n,formData:c,onUploadProgress:i}).then((()=>({fileID:s})))}async getTempFileURL({fileList:e}){return new Promise(((t,n)=>{(!e||e.length<0)&&n(new dt({errCode:"INVALID_PARAM",errMsg:"fileList不能为空数组"})),e.length>50&&n(new dt({errCode:"INVALID_PARAM",errMsg:"fileList数组长度不能超过50"}));const i=[];for(const o of e){"string"!==Ce(o)&&n(new dt({errCode:"INVALID_PARAM",errMsg:"fileList的元素必须是非空的字符串"}));const e=zn.call(this,o);i.push({file_id:e,expire:600})}Hn({path:"/?download_url",data:{file_list:i},method:"POST"},this.config).then((e=>{const{file_list:n=[]}=e;t({fileList:n.map((e=>({fileID:Vn.call(this,e.file_id),tempFileURL:e.download_url})))})})).catch((e=>n(e)))}))}async connectWebSocket(e){const{name:t,query:n}=e;return ht.connectSocket({url:this._websocket.signedURL(t,n),complete:()=>{}})}}(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function Jn({data:e}){let t;t=St();const n=JSON.parse(JSON.stringify(e||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){const{token:e}=ft();e&&(n.uniIdToken=e)}return n}const Xn=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var Yn=/[\\^$.*+?()[\]{}|]/g,Gn=RegExp(Yn.source);function Zn(e,t,n){return e.replace(new RegExp((i=t)&&Gn.test(i)?i.replace(Yn,"\\$&"):i,"g"),n);var i}const $n=2e4,ei={code:20101,message:"Invalid client"};function ti(e){const{errSubject:t,subject:n,errCode:i,errMsg:o,code:s,message:r,cause:a}=e||{};return new dt({subject:t||n||"uni-secure-network",code:i||s||$n,message:o||r,cause:a})}let ni;function ii({secretType:e}={}){return"request"===e||"response"===e||"both"===e}function oi({name:e,data:t={}}={}){return"DCloud-clientDB"===e&&"encryption"===t.redirectTo&&"getAppClientKey"===t.action}function si({functionName:e,result:t,logPvd:n}){}function ri(e){const t=e.callFunction,n=function(n){const i=n.name;n.data=Jn.call(e,{data:n.data});const o={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay"}[this.config.provider],s=ii(n),r=oi(n),a=s||r;return t.call(this,n).then((e=>(e.errCode=0,!a&&si.call(this,{functionName:i,result:e,logPvd:o}),Promise.resolve(e))),(e=>(!a&&si.call(this,{functionName:i,result:e,logPvd:o}),e&&e.message&&(e.message=function({message:e="",extraInfo:t={},formatter:n=[]}={}){for(let i=0;in.provider===e&&n.spaceId===t));return i&&i.config}({provider:e,spaceId:t});if(!a||!a.accessControl||!a.accessControl.enable)return!1;const c=a.accessControl.function||{},u=Object.keys(c);if(0===u.length)return!0;const l=function(e,t){let n,i,o;for(let s=0;se.trim())).indexOf(t)>-1&&(i=r):o=r:n=r}return n||i||o}(u,n);if(!l)return!1;if((c[l]||[]).find(((e={})=>e.appId===i&&(e.platform||"").toLowerCase()===r.toLowerCase())))return!0;throw console.error(`此应用[appId: ${i}, platform: ${r}]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client`),ti(ei)}({provider:i,spaceId:o,functionName:s})?new ni({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(t):r(t),Object.defineProperty(a,"result",{get:()=>(console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{})}),a.then((e=>("undefined"!=typeof UTSJSONObject&&(e.result=new UTSJSONObject(e.result)),e)))}}ni=class{constructor(){throw ti({message:"Platform app is not enabled, please check whether secure network module is enabled in your manifest.json"})}};const ai=Symbol("CLIENT_DB_INTERNAL");function ci(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=ai,e.inspect=null,e.__v_raw=void 0,new Proxy(e,{get(e,n,i){if("_uniClient"===n)return null;if("symbol"==typeof n)return e[n];if(n in e||"string"!=typeof n){const t=e[n];return"function"==typeof t?t.bind(e):t}return t.get(e,n,i)}})}function ui(e){return{on:(t,n)=>{e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:(t,n)=>{e[t]=e[t]||[];const i=e[t].indexOf(n);-1!==i&&e[t].splice(i,1)}}}const li=["db.Geo","db.command","command.aggregate"];function di(e,t){return li.indexOf(`${e}.${t}`)>-1}function hi(e){switch(Ce(e=pt(e))){case"array":return e.map((e=>hi(e)));case"object":return e._internalType===ai||Object.keys(e).forEach((t=>{e[t]=hi(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function pi(e){return e&&e.content&&e.content.$method}class fi{constructor(e,t,n){this.content=e,this.prevStage=t||null,this.udb=null,this._database=n}toJSON(){let e=this;const t=[e.content];for(;e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((e=>({$method:e.$method,$param:hi(e.$param)})))}}toString(){return JSON.stringify(this.toJSON())}getAction(){const e=this.toJSON().$db.find((e=>"action"===e.$method));return e&&e.$param&&e.$param[0]}getCommand(){return{$db:this.toJSON().$db.filter((e=>"action"!==e.$method))}}get isAggregate(){let e=this;for(;e;){const t=pi(e),n=pi(e.prevStage);if("aggregate"===t&&"collection"===n||"pipeline"===t)return!0;e=e.prevStage}return!1}get isCommand(){let e=this;for(;e;){if("command"===pi(e))return!0;e=e.prevStage}return!1}get isAggregateCommand(){let e=this;for(;e;){const t=pi(e),n=pi(e.prevStage);if("aggregate"===t&&"command"===n)return!0;e=e.prevStage}return!1}getNextStageFn(e){const t=this;return function(){return gi({$method:e,$param:hi(Array.from(arguments))},t,t._database)}}get count(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}get remove(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}get(){return this._send("get",Array.from(arguments))}get add(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}update(){return this._send("update",Array.from(arguments))}end(){return this._send("end",Array.from(arguments))}get set(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}_send(e,t){const n=this.getAction(),i=this.getCommand();return i.$db.push({$method:e,$param:hi(t)}),this._database._callCloudFunction({action:n,command:i})}}function gi(e,t,n){return ci(new fi(e,t,n),{get(e,t){let i="db";return e&&e.content&&(i=e.content.$method),di(i,t)?gi({$method:t},e,n):function(){return gi({$method:t,$param:hi(Array.from(arguments))},e,n)}}})}function mi({path:e,method:t}){return class{constructor(){this.param=Array.from(arguments)}toJSON(){return{$newDb:[...e.map((e=>({$method:e}))),{$method:t,$param:this.param}]}}toString(){return JSON.stringify(this.toJSON())}}}function yi(e,t={}){return ci(new e(t),{get:(e,t)=>di("db",t)?gi({$method:t},null,e):function(){return gi({$method:t,$param:hi(Array.from(arguments))},null,e)}})}class Ai extends class{constructor({uniClient:e={},isJQL:t=!1}={}){this._uniClient=e,this._authCallBacks={},this._dbCallBacks={},e._isDefault&&(this._dbCallBacks=De("_globalUniCloudDatabaseCallback")),t||(this.auth=ui(this._authCallBacks)),this._isJQL=t,Object.assign(this,ui(this._dbCallBacks)),this.env=ci({},{get:(e,t)=>({$env:t})}),this.Geo=ci({},{get:(e,t)=>mi({path:["Geo"],method:t})}),this.serverDate=mi({path:[],method:"serverDate"}),this.RegExp=mi({path:[],method:"RegExp"})}getCloudEnv(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}_callback(e,t){const n=this._dbCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}_callbackAuth(e,t){const n=this._authCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}multiSend(){const e=Array.from(arguments),t=e.map((e=>{const t=e.getAction(),n=e.getCommand();if("getTemp"!==n.$db[n.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:n}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}{_parseResult(e){return this._isJQL?e.result:e}_callCloudFunction({action:e,command:t,multiCommand:n,queryList:i}){function o(e,t){if(n&&i)for(let n=0;nWe(Je(r,"complete"),e))).then((()=>(o(null,e),rt(Ge,{type:et,content:e}),Promise.reject(e))))}const c=We(Je(r,"invoke")),u=this._uniClient;return c.then((()=>u.callFunction({name:"DCloud-clientDB",type:"CLIENT_DB",data:{action:e,command:t,multiCommand:n}}))).then((e=>{const{code:t,message:n,token:i,tokenExpired:c,systemInfo:u=[]}=e.result;if(u)for(let o=0;o(console.warn(n),i)})}}return d=e,We(Je(r,"success"),d).then((()=>We(Je(r,"complete"),d))).then((()=>{o(d,null);const e=s._parseResult(d);return rt(Ge,{type:et,content:e}),Promise.resolve(e)}));var d}),(e=>(/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"),a(new dt({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId})))))}}const vi="token无效,跳转登录页面",wi="token过期,跳转登录页面",Si={TOKEN_INVALID_TOKEN_EXPIRED:wi,TOKEN_INVALID_INVALID_CLIENTID:vi,TOKEN_INVALID:vi,TOKEN_INVALID_WRONG_TOKEN:vi,TOKEN_INVALID_ANONYMOUS_USER:vi},bi={"uni-id-token-expired":wi,"uni-id-check-token-failed":vi,"uni-id-token-not-exist":vi,"uni-id-check-device-feature-failed":vi};function ki(e,t){let n="";return n=e?`${e}/${t}`:t,n.replace(/^\//,"")}function Ei(e=[],t=""){const n=[],i=[];return e.forEach((e=>{!0===e.needLogin?n.push(ki(t,e.path)):!1===e.needLogin&&i.push(ki(t,e.path))})),{needLoginPage:n,notNeedLoginPage:i}}function Ii(e){return e.split("?")[0].replace(/^\//,"")}function Pi(){return function(e){let t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){const e=getCurrentPages();return e[e.length-1]}())}function Ti(){return Ii(Pi())}function xi(e="",t={}){if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;const n=t.list,i=Ii(e);return n.some((e=>e.pagePath===i))}const Bi=!!we.uniIdRouter,{loginPage:Ci,routerNeedLogin:Ui,resToLogin:Oi,needLoginPage:Li,notNeedLoginPage:Ni,loginPageInTabBar:Fi}=function({pages:e=[],subPackages:t=[],uniIdRouter:n={},tabBar:i={}}=we){const{loginPage:o,needLogin:s=[],resToLogin:r=!0}=n,{needLoginPage:a,notNeedLoginPage:c}=Ei(e),{needLoginPage:u,notNeedLoginPage:l}=function(e=[]){const t=[],n=[];return e.forEach((e=>{const{root:i,pages:o=[]}=e,{needLoginPage:s,notNeedLoginPage:r}=Ei(o,i);t.push(...s),n.push(...r)})),{needLoginPage:t,notNeedLoginPage:n}}(t);return{loginPage:o,routerNeedLogin:s,resToLogin:r,needLoginPage:[...a,...u],notNeedLoginPage:[...c,...l],loginPageInTabBar:xi(o,i)}}();if(Li.indexOf(Ci)>-1)throw new Error(`Login page [${Ci}] should not be "needLogin", please check your pages.json`);function ji(e){const t=Ti();if("/"===e.charAt(0))return e;const[n,i]=e.split("?"),o=n.replace(/^\//,"").split("/"),s=t.split("/");s.pop();for(let r=0;r-1?i+`&uniIdRedirectUrl=${encodeURIComponent(o)}`:i+`?uniIdRedirectUrl=${encodeURIComponent(o)}`:i);var i,o;Fi?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");const s={navigateTo:uni.navigateTo,redirectTo:uni.redirectTo,switchTab:uni.switchTab,reLaunch:uni.reLaunch};setTimeout((()=>{s[e]({url:n})}),0)}function Ri({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){const{token:e,tokenExpired:t}=ft();let n;if(e){if(t-1)&&(Li.indexOf(t)>-1||Ui.some((t=>{return n=e,new RegExp(t).test(n);var n})))}(e)&&n){if(n.uniIdRedirectUrl=e,it(Ze).length>0)return setTimeout((()=>{rt(Ze,n)}),0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function qi(){!function(){const e=Pi(),{abortLoginPageJump:t,autoToLoginPage:n}=Ri({url:e});t||n&&_i({api:"redirectTo",redirect:e})}();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t{const{type:t,content:n}=e;let i=!1;switch(t){case"cloudobject":i=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in bi}(n);break;case"clientdb":i=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in Si}(n)}i&&function(e={}){const t=it(Ze);ut().then((()=>{const n=Pi();if(n&&Qi({redirect:n}))return t.length>0?rt(Ze,Object.assign({uniIdRedirectUrl:n},e)):void(Ci&&_i({api:"navigateTo",redirect:n}))}))}(n)}))}function Di(e){var t;(t=e).onResponse=function(e){ot(Ge,e)},t.offResponse=function(e){st(Ge,e)},function(e){e.onNeedLogin=function(e){ot(Ze,e)},e.offNeedLogin=function(e){st(Ze,e)},Bi&&(De("_globalUniCloudStatus").needLoginInit||(De("_globalUniCloudStatus").needLoginInit=!0,ut().then((()=>{qi.call(e)})),Oi&&Mi.call(e)))}(e),function(e){e.onRefreshToken=function(e){ot($e,e)},e.offRefreshToken=function(e){st($e,e)}}(e)}let Hi;const zi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Vi=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function Ki(){const e=ft().token||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((i=t[1],decodeURIComponent(Hi(i).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}var i;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}Hi="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!Vi.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,i,o="",s=0;s>16&255):64===i?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}:atob;var Wi=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n="chooseAndUploadFile:ok",i="chooseAndUploadFile:fail";function o(e,t){return e.tempFiles.forEach(((e,n)=>{e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+n+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((e=>e.path))),e}function s(e,t,{onChooseFile:i,onUploadProgress:o}){return t.then((e=>{if(i){const t=i(e);if(void 0!==t)return Promise.resolve(t).then((t=>void 0===t?e:t))}return e})).then((t=>!1===t?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(e,t,i=5,o){(t=Object.assign({},t)).errMsg=n;const s=t.tempFiles,r=s.length;let a=0;return new Promise((n=>{for(;a=r)return void(!s.find((e=>!e.url&&!e.errMsg))&&n(t));const u=s[i];e.uploadFile({provider:u.provider,filePath:u.path,cloudPath:u.cloudPath,fileType:u.fileType,cloudPathAsRealPath:u.cloudPathAsRealPath,onUploadProgress(e){e.index=i,e.tempFile=u,e.tempFilePath=u.path,o&&o(e)}}).then((e=>{u.url=e.fileID,i{u.errMsg=e.errMsg||e.message,i{uni.chooseImage({count:t,sizeType:n,sourceType:s,extension:r,success(t){e(o(t,"image"))},fail(e){a({errMsg:e.errMsg.replace("chooseImage:fail",i)})}})}))}(t),t):"video"===t.type?s(e,function(e){const{camera:t,compressed:n,maxDuration:s,sourceType:r=["album","camera"],extension:a}=e;return new Promise(((e,c)=>{uni.chooseVideo({camera:t,compressed:n,maxDuration:s,sourceType:r,extension:a,success(t){const{tempFilePath:n,duration:i,size:s,height:r,width:a}=t;e(o({errMsg:"chooseVideo:ok",tempFilePaths:[n],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:n,size:s,type:t.tempFile&&t.tempFile.type||"",width:a,height:r,duration:i,fileType:"video",cloudPath:""}]},"video"))},fail(e){c({errMsg:e.errMsg.replace("chooseVideo:fail",i)})}})}))}(t),t):s(e,function(e){const{count:t,extension:n}=e;return new Promise(((e,s)=>{let r=uni.chooseFile;if("undefined"!=typeof wx&&"function"==typeof wx.chooseMessageFile&&(r=wx.chooseMessageFile),"function"!=typeof r)return s({errMsg:i+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});r({type:"all",count:t,extension:n,success(t){e(o(t))},fail(e){s({errMsg:e.errMsg.replace("chooseFile:fail",i)})}})}))}(t),t)}}})));function Ji(e){return{props:{localdata:{type:Array,default:()=>[]},options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:()=>({mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}),created(){this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((()=>{var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((t=>{e.push(this[t])})),e}),((e,t)=>{if("manual"===this.loadtime)return;let n=!1;const i=[];for(let o=2;o{this.mixinDatacomLoading=!1;const{data:i,count:o}=n.result;this.getcount&&(this.mixinDatacomPage.count=o),this.mixinDatacomHasMore=i.length{this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=e,this.mixinDatacomError=e,n&&n(e)})))},mixinDatacomGet(t={}){let n;t=t||{},n="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);const i=t.action||this.action;i&&(n=n.action(i));const o=t.collection||this.collection;n=Array.isArray(o)?n.collection(...o):n.collection(o);const s=t.where||this.where;s&&Object.keys(s).length&&(n=n.where(s));const r=t.field||this.field;r&&(n=n.field(r));const a=t.foreignKey||this.foreignKey;a&&(n=n.foreignKey(a));const c=t.groupby||this.groupby;c&&(n=n.groupBy(c));const u=t.groupField||this.groupField;u&&(n=n.groupField(u)),!0===(void 0!==t.distinct?t.distinct:this.distinct)&&(n=n.distinct());const l=t.orderby||this.orderby;l&&(n=n.orderBy(l));const d=void 0!==t.pageCurrent?t.pageCurrent:this.mixinDatacomPage.current,h=void 0!==t.pageSize?t.pageSize:this.mixinDatacomPage.size,p=void 0!==t.getcount?t.getcount:this.getcount,f=void 0!==t.gettree?t.gettree:this.gettree,g=void 0!==t.gettreepath?t.gettreepath:this.gettreepath,m={getCount:p},y={limitLevel:void 0!==t.limitlevel?t.limitlevel:this.limitlevel,startWith:void 0!==t.startwith?t.startwith:this.startwith};return f&&(m.getTree=y),g&&(m.getTreePath=y),n=n.skip(h*(d-1)).limit(h).get(m),n}}}}function Xi(e){return De("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}async function Yi({openid:e,callLoginByWeixin:t=!1}={}){throw Xi(this),new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `app`")}async function Gi(e){const t=Xi(this);return t.initPromise||(t.initPromise=Yi.call(this,e).then((e=>e)).catch((e=>{throw delete t.initPromise,e}))),t.initPromise}function Zi(e){wt=e}function $i(e){const t={getSystemInfo:uni.getSystemInfo,getPushClientId:uni.getPushClientId};return function(n){return new Promise(((i,o)=>{t[e]({...n,success(e){i(e)},fail(e){o(e)}})}))}}class eo extends class{constructor(){this._callback={}}addListener(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}on(e,t){return this.addListener(e,t)}removeListener(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');const n=this._callback[e];if(!n)return;const i=function(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]===t)return n;return-1}(n,t);n.splice(i,1)}off(e,t){return this.removeListener(e,t)}removeAllListener(e){delete this._callback[e]}emit(e,...t){const n=this._callback[e];if(n)for(let i=0;i{if(!e)throw new Error("Invalid appId, please check the manifest.json file");if(!t)throw new Error("Invalid push client id");this._appId=e,this._pushClientId=t,this._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),this.emit("open"),this._initMessageListener()}),(e=>{throw this.emit("error",e),this.close(),e}))}async open(){return this.init()}_isUniCloudSSE(e){if("receive"!==e.type)return!1;const t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}_receivePushMessage(e){if(!this._isUniCloudSSE(e))return;const t=e&&e.data&&e.data.payload,{action:n,messageId:i,message:o}=t;this._payloadQueue.push({action:n,messageId:i,message:o}),this._consumMessage()}_consumMessage(){for(;;){const e=this._payloadQueue.find((e=>e.messageId===this._currentMessageId+1));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}_parseMessagePayload(e){const{action:t,messageId:n,message:i}=e;"end"===t?this._end({messageId:n,message:i}):"message"===t&&this._appendMessage({messageId:n,message:i})}_appendMessage({messageId:e,message:t}={}){this.emit("message",t)}_end({messageId:e,message:t}={}){this.emit("end",t),this.close()}_initMessageListener(){uni.onPushMessage(this._uniPushMessageCallback)}_destroy(){uni.offPushMessage(this._uniPushMessageCallback)}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}const to={tcb:jn,tencent:jn,aliyun:Pt,private:_n,alipay:Wn};let no=new class{init(e){let t={};const n=to[e.provider];if(!n)throw new Error("未提供正确的provider参数");var i;return t=n.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new je({createPromise:function(){let t=Promise.resolve();t=new Promise((e=>{setTimeout((()=>{e()}),1)}));const n=e.auth();return t.then((()=>n.getLoginState())).then((e=>e?Promise.resolve():n.signInAnonymously()))}}))}(t),ri(t),function(e){const t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),(i=t).database=function(e){if(e&&Object.keys(e).length>0)return i.init(e).database();if(this._database)return this._database;const t=yi(Ai,{uniClient:i});return this._database=t,t},i.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return i.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;const t=yi(Ai,{uniClient:i,isJQL:!0});return this._databaseForJQL=t,t},function(e){e.getCurrentUserInfo=Ki,e.chooseAndUploadFile=Wi.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return Ji(e)}}),e.SSEChannel=eo,e.initSecureNetworkByWeixin=function(e){return function({openid:t,callLoginByWeixin:n=!1}={}){return Gi.call(e,{openid:t,callLoginByWeixin:n})}}(e),e.setCustomClientInfo=Zi,e.importObject=function(t){return function(n,i={}){i=function(e,t={}){return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==typeof t.secretMethods&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},i);const{customUI:o,loadingOptions:s,errorOptions:r,parseSystemError:a}=i,c=!o;return new Proxy({},{get(o,u){switch(u){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function({fn:e,interceptorName:t,getCallbackArgs:n}={}){return async function(...i){const o=n?n({params:i}):{};let s,r;try{return await We(Je(t,"invoke"),{...o}),s=await e(...i),await We(Je(t,"success"),{...o,result:s}),s}catch(a){throw r=a,await We(Je(t,"fail"),{...o,error:r}),r}finally{await We(Je(t,"complete"),r?{...o,error:r}:{...o,result:s})}}}({fn:async function o(...l){let d;c&&uni.showLoading({title:s.title,mask:s.mask});const h={name:n,type:"OBJECT",data:{method:u,params:l}};"object"==typeof i.secretMethods&&function(e,t){const n=t.data.method,i=e.secretMethods||{},o=i[n]||i["*"];o&&(t.secretType=o)}(i,h);let p=!1;try{d=await t.callFunction(h)}catch(e){p=!0,d={result:new dt(e)}}const{errSubject:f,errCode:g,errMsg:m,newToken:y}=d.result||{};if(c&&uni.hideLoading(),y&&y.token&&y.tokenExpired&&(gt(y),rt($e,{...y})),g){let e=m;if(p&&a&&(e=(await a({objectName:n,methodName:u,params:l,errSubject:f,errCode:g,errMsg:m})).errMsg||m),c)if("toast"===r.type)uni.showToast({title:e,icon:"none"});else{if("modal"!==r.type)throw new Error(`Invalid errorOptions.type: ${r.type}`);{const{confirm:t}=await async function({title:e,content:t,showCancel:n,cancelText:i,confirmText:o}={}){return new Promise(((s,r)=>{uni.showModal({title:e,content:t,showCancel:n,cancelText:i,confirmText:o,success(e){s(e)},fail(){s({confirm:!1,cancel:!0})}})}))}({title:"提示",content:e,showCancel:r.retry,cancelText:"取消",confirmText:r.retry?"重试":"确定"});if(r.retry&&t)return o(...l)}}const t=new dt({subject:f,code:g,message:m,requestId:d.requestId});throw t.detail=d.result,rt(Ge,{type:nt,content:t}),t}return rt(Ge,{type:nt,content:d.result}),d.result},interceptorName:"callObject",getCallbackArgs:function({params:e}={}){return{objectName:n,methodName:u,params:e}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((e=>{if(!t[e])return;const n=t[e];t[e]=function(){return n.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(n){let i=!1;if("callFunction"===t){const e=n&&n.type||Te;i=e!==Te}const o="callFunction"===t&&!i,s=this._initPromiseHub.exec();n=n||{};const{success:r,fail:a,complete:c}=lt(n),u=s.then((()=>i?Promise.resolve():We(Je(t,"invoke"),n))).then((()=>e.call(this,n))).then((e=>i?Promise.resolve(e):We(Je(t,"success"),e).then((()=>We(Je(t,"complete"),e))).then((()=>(o&&rt(Ge,{type:tt,content:e}),Promise.resolve(e))))),(e=>i?Promise.reject(e):We(Je(t,"fail"),e).then((()=>We(Je(t,"complete"),e))).then((()=>(rt(Ge,{type:tt,content:e}),Promise.reject(e))))));if(!(r||a||c))return u;u.then((e=>{r&&r(e),c&&c(e),o&&rt(Ge,{type:tt,content:e})}),(e=>{a&&a(e),c&&c(e),o&&rt(Ge,{type:tt,content:e})}))}}(t[e],e).bind(t)})),t.init=this.init,t}};(()=>{const e=Re;let t={};if(e&&1===e.length)t=e[0],no=no.init(t),no._isDefault=!0;else{const t=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"];let n;n=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",t.forEach((e=>{no[e]=function(){return console.error(n),Promise.reject(new dt({code:"SYS_ERR",message:n}))}}))}Object.assign(no,{get mixinDatacom(){return Ji(no)}}),Di(no),no.addInterceptor=Ve,no.removeInterceptor=Ke,no.interceptObject=Xe})();const{app:io,Vuex:oo,Pinia:so}={app:e.createVueApp(ve)};uni.Vuex=oo,uni.Pinia=so,io.provide("__globalStyles",__uniConfig.styles),io._component.mpType="app",io._component.render=()=>{},io.mount("#app")}(Vue); diff --git a/unpackage/dist/build/app-plus/manifest.json b/unpackage/dist/build/app-plus/manifest.json index 63c44fb..0a82343 100644 --- a/unpackage/dist/build/app-plus/manifest.json +++ b/unpackage/dist/build/app-plus/manifest.json @@ -7,8 +7,8 @@ "id": "__UNI__4796942", "name": "oa考勤系统", "version": { - "name": "2.0.4", - "code": 204 + "name": "2.1.0", + "code": 210 }, "description": "", "developer": { diff --git a/unpackage/dist/build/app-plus/pages/index/index.css b/unpackage/dist/build/app-plus/pages/index/index.css index 3bfce6d..e69de29 100644 --- a/unpackage/dist/build/app-plus/pages/index/index.css +++ b/unpackage/dist/build/app-plus/pages/index/index.css @@ -1 +0,0 @@ -uni-view[data-v-eab170a5],uni-scroll-view[data-v-eab170a5],uni-swiper-item[data-v-eab170a5]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}@font-face{font-family:uvicon-iconfont;src:url(../../assets/uvicons.04d281cc.ttf) format("truetype")}.uv-icon[data-v-eab170a5]{display:flex;align-items:center}.uv-icon--left[data-v-eab170a5]{flex-direction:row-reverse;align-items:center}.uv-icon--right[data-v-eab170a5]{flex-direction:row;align-items:center}.uv-icon--top[data-v-eab170a5]{flex-direction:column-reverse;justify-content:center}.uv-icon--bottom[data-v-eab170a5]{flex-direction:column;justify-content:center}.uv-icon__icon[data-v-eab170a5]{font-family:uvicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.uv-icon__icon--primary[data-v-eab170a5]{color:#3c9cff}.uv-icon__icon--success[data-v-eab170a5]{color:#5ac725}.uv-icon__icon--error[data-v-eab170a5]{color:#f56c6c}.uv-icon__icon--warning[data-v-eab170a5]{color:#f9ae3d}.uv-icon__icon--info[data-v-eab170a5]{color:#909399}.uv-icon__img[data-v-eab170a5]{height:auto;will-change:transform}.uv-icon__label[data-v-eab170a5]{line-height:1}uni-view[data-v-3eb40c0b],uni-scroll-view[data-v-3eb40c0b],uni-swiper-item[data-v-3eb40c0b]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.uv-loading-icon[data-v-3eb40c0b]{flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.uv-loading-icon__text[data-v-3eb40c0b]{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.uv-loading-icon__spinner[data-v-3eb40c0b]{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;animation:uv-rotate-3eb40c0b 1s linear infinite}.uv-loading-icon__spinner--semicircle[data-v-3eb40c0b]{border-width:2px;border-color:transparent;border-radius:100px;border-style:solid}.uv-loading-icon__spinner--circle[data-v-3eb40c0b]{border-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.uv-loading-icon--vertical[data-v-3eb40c0b]{flex-direction:column}[data-v-3eb40c0b]:host{font-size:0px;line-height:1}.uv-loading-icon__spinner--spinner[data-v-3eb40c0b]{animation-timing-function:steps(12)}.uv-loading-icon__text[data-v-3eb40c0b]:empty{display:none}.uv-loading-icon--vertical .uv-loading-icon__text[data-v-3eb40c0b]{margin:6px 0 0;color:#606266}.uv-loading-icon__dot[data-v-3eb40c0b]{position:absolute;top:0;left:0;width:100%;height:100%}.uv-loading-icon__dot[data-v-3eb40c0b]:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(1){transform:rotate(30deg);opacity:1}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(2){transform:rotate(60deg);opacity:.9375}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(3){transform:rotate(90deg);opacity:.875}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(4){transform:rotate(120deg);opacity:.8125}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(5){transform:rotate(150deg);opacity:.75}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(6){transform:rotate(180deg);opacity:.6875}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(7){transform:rotate(210deg);opacity:.625}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(8){transform:rotate(240deg);opacity:.5625}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(9){transform:rotate(270deg);opacity:.5}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(10){transform:rotate(300deg);opacity:.4375}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(11){transform:rotate(330deg);opacity:.375}.uv-loading-icon__dot[data-v-3eb40c0b]:nth-of-type(12){transform:rotate(360deg);opacity:.3125}@keyframes uv-rotate-3eb40c0b{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.uv-reset-button[data-v-646dddbc]{padding:0;background-color:transparent}.uv-reset-button[data-v-646dddbc]:after{border:none}uni-view[data-v-646dddbc],uni-scroll-view[data-v-646dddbc],uni-swiper-item[data-v-646dddbc]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.uv-button-wrapper[data-v-646dddbc]{position:relative}.uv-button-wrapper--dis[data-v-646dddbc]{position:absolute;left:0;top:0;right:0;bottom:0;z-index:9}.uv-button[data-v-646dddbc]{width:100%}.uv-button__text[data-v-646dddbc]{white-space:nowrap;line-height:1}.uv-button[data-v-646dddbc]:before{position:absolute;top:50%;left:50%;width:100%;height:100%;border:inherit;border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" ";background-color:#000;border-color:#000}.uv-button--active[data-v-646dddbc]:before{opacity:.15}.uv-button__icon+.uv-button__text[data-v-646dddbc]:not(:empty),.uv-button__loading-text[data-v-646dddbc]{margin-left:4px}.uv-button--plain.uv-button--primary[data-v-646dddbc]{color:#3c9cff}.uv-button--plain.uv-button--info[data-v-646dddbc]{color:#909399}.uv-button--plain.uv-button--success[data-v-646dddbc]{color:#5ac725}.uv-button--plain.uv-button--error[data-v-646dddbc]{color:#f56c6c}.uv-button--plain.uv-button--warning[data-v-646dddbc]{color:#f9ae3d}.uv-button[data-v-646dddbc]{height:40px;position:relative;align-items:center;justify-content:center;display:flex;box-sizing:border-box;flex-direction:row}.uv-button__text[data-v-646dddbc]{font-size:15px}.uv-button__loading-text[data-v-646dddbc]{font-size:15px;margin-left:4px}.uv-button--large[data-v-646dddbc]{width:100%;height:50px;padding:0 15px}.uv-button--normal[data-v-646dddbc]{padding:0 12px;font-size:14px}.uv-button--small[data-v-646dddbc]{min-width:60px;height:30px;padding:0 8px;font-size:12px}.uv-button--mini[data-v-646dddbc]{height:22px;font-size:10px;min-width:50px;padding:0 8px}.uv-button--disabled[data-v-646dddbc]{opacity:.5}.uv-button--info[data-v-646dddbc]{color:#323233;background-color:#fff;border-color:#ebedf0;border-width:1px;border-style:solid}.uv-button--success[data-v-646dddbc]{color:#fff;background-color:#5ac725;border-color:#5ac725;border-width:1px;border-style:solid}.uv-button--primary[data-v-646dddbc]{color:#fff;background-color:#3c9cff;border-color:#3c9cff;border-width:1px;border-style:solid}.uv-button--error[data-v-646dddbc]{color:#fff;background-color:#f56c6c;border-color:#f56c6c;border-width:1px;border-style:solid}.uv-button--warning[data-v-646dddbc]{color:#fff;background-color:#f9ae3d;border-color:#f9ae3d;border-width:1px;border-style:solid}.uv-button--block[data-v-646dddbc]{display:flex;flex-direction:row;width:100%}.uv-button--circle[data-v-646dddbc]{border-radius:100px}.uv-button--square[data-v-646dddbc]{border-radius:3px}.uv-button__icon[data-v-646dddbc]{min-width:1em;line-height:inherit!important;vertical-align:top}.uv-button--plain[data-v-646dddbc]{background-color:#fff}.uv-button--hairline[data-v-646dddbc]{border-width:.5px!important}.uv-overlay[data-v-65481522]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7)}uni-view[data-v-6eb2581f],uni-scroll-view[data-v-6eb2581f],uni-swiper-item[data-v-6eb2581f]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.uv-no-network[data-v-6eb2581f]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:-100px}.uv-no-network__tips[data-v-6eb2581f]{color:#909193;font-size:14px;margin-top:15px}.uv-no-network__app[data-v-6eb2581f]{display:flex;flex-direction:row;margin-top:6px}.uv-no-network__app__setting[data-v-6eb2581f]{color:#c0c4cc;font-size:13px}.uv-no-network__app__to-setting[data-v-6eb2581f]{font-size:13px;color:#3c9cff;margin-left:3px}.uv-no-network__retry[data-v-6eb2581f]{display:flex;flex-direction:row;justify-content:center;margin-top:15px} diff --git a/unpackage/dist/dev/app-plus/app-service.js b/unpackage/dist/dev/app-plus/app-service.js index eacdde6..debf088 100644 --- a/unpackage/dist/dev/app-plus/app-service.js +++ b/unpackage/dist/dev/app-plus/app-service.js @@ -32,22 +32,7 @@ if (uni.restoreGlobal) { (function(vue) { "use strict"; var _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n; - const ON_EXIT = "onExit"; - function formatAppLog(type, filename, ...args) { - if (uni.__log__) { - uni.__log__(type, filename, ...args); - } else { - console[type].apply(console, [...args, filename]); - } - } - function resolveEasycom(component, easycom) { - return typeof component === "string" ? easycom : component; - } - const createHook = (lifecycle) => (hook, target = vue.getCurrentInstance()) => { - !vue.isInSSRComponentSetup && vue.injectHook(lifecycle, hook, target); - }; - const onExit = /* @__PURE__ */ createHook(ON_EXIT); - const env = "dev"; + const env = "test"; const configs = { LocalTest: { apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend", @@ -67,6 +52,16 @@ if (uni.restoreGlobal) { } }; const config = configs[env]; + function formatAppLog(type, filename, ...args) { + if (uni.__log__) { + uni.__log__(type, filename, ...args); + } else { + console[type].apply(console, [...args, filename]); + } + } + function resolveEasycom(component, easycom) { + return typeof component === "string" ? easycom : component; + } class Communication { constructor() { this.webViewObj = null; @@ -106,10 +101,6 @@ if (uni.restoreGlobal) { __name: "index", setup(__props) { const commun = new Communication(); - const permissionListener = uni.createRequestPermissionListener(); - onExit(() => { - permissionListener.stop(); - }); function initializeWebView() { const currentWebview = getCurrentPages().pop().$getAppWebview(); commun.setWebView(currentWebview.children()[0]); @@ -121,15 +112,6 @@ if (uni.restoreGlobal) { top: statusBarHeight, bottom: 0 }); - permissionListener.onRequest((e2) => { - commun.sendToH5("permission-application", e2); - }); - permissionListener.onConfirm((e2) => { - }); - permissionListener.onComplete((e2) => { - formatAppLog("log", "at pages/index/index.vue:31", "APP执行onComplete", e2); - commun.sendToH5("permission-complete", e2); - }); }); const webLoad = (e2) => { var _a; @@ -3194,7 +3176,7 @@ if (uni.restoreGlobal) { function I(e2) { return e2 && "string" == typeof e2 ? JSON.parse(e2) : e2; } - const S = true, b = "app", A = I(define_process_env_UNI_SECURE_NETWORK_CONFIG_default), C = b, P = I('{\n "address": [\n "127.0.0.1",\n "192.168.56.1",\n "192.168.88.56"\n ],\n "debugPort": 9000,\n "initialLaunchType": "local",\n "servePort": 7000,\n "skipFiles": [\n "/**",\n "C:/Users/37363/Downloads/HBuilderX.4.08.2024040127/HBuilderX/plugins/unicloud/**/*.js"\n ]\n}\n'), T = I('[{"provider":"alipay","spaceName":"oaapp","spaceId":"env-00jxgxphla18","spaceAppId":"2021004145628977","accessKey":"ZALus7EgJXdovISb","secretKey":"7qzvVrPN0mAxfcLr"}]') || []; + const S = true, b = "app", A = I(define_process_env_UNI_SECURE_NETWORK_CONFIG_default), C = b, P = I('{\n "address": [\n "127.0.0.1",\n "192.168.56.1",\n "192.168.88.53"\n ],\n "debugPort": 9000,\n "initialLaunchType": "local",\n "servePort": 7000,\n "skipFiles": [\n "/**",\n "C:/Users/37363/Downloads/HBuilderX.4.08.2024040127/HBuilderX/plugins/unicloud/**/*.js"\n ]\n}\n'), T = I('[{"provider":"alipay","spaceName":"oaapp","spaceId":"env-00jxgxphla18","spaceAppId":"2021004145628977","accessKey":"ZALus7EgJXdovISb","secretKey":"7qzvVrPN0mAxfcLr"}]') || []; let O = ""; try { O = "__UNI__4796942"; diff --git a/unpackage/dist/dev/app-plus/manifest.json b/unpackage/dist/dev/app-plus/manifest.json index 63c44fb..0a82343 100644 --- a/unpackage/dist/dev/app-plus/manifest.json +++ b/unpackage/dist/dev/app-plus/manifest.json @@ -7,8 +7,8 @@ "id": "__UNI__4796942", "name": "oa考勤系统", "version": { - "name": "2.0.4", - "code": 204 + "name": "2.1.0", + "code": 210 }, "description": "", "developer": {