dsl.onInitApp((function({inst:e,context:t,instRequireModule:r}){t.quickapp.dock.makeEvaluateBuildScript||(t.quickapp.dock.makeEvaluateBuildScript=e=>e);consto=r;!function(){"use strict";varr=["base64ToArrayBuffer","arrayBufferToBase64","addInterceptor","removeInterceptor","request","uploadFile","downloadFile","connectSocket","onSocketOpen","onSocketError","sendSocketMessage","onSocketMessage","closeSocket","onSocketClose","navigateTo","redirectTo","reLaunch","switchTab","navigateBack","setStorage","setStorageSync","getStorage","getStorageSync","getStorageInfo","getStorageInfoSync","removeStorage","removeStorageSync","clearStorage","clearStorageSync","getLocation","chooseLocation","openLocation","createMapContext","chooseImage","previewImage","getImageInfo","saveImageToPhotosAlbum","compressImage","getRecorderManager","getBackgroundAudioManager","createInnerAudioContext","chooseVideo","saveVideoToPhotosAlbum","createVideoContext","createCameraContext","createLivePlayerContext","createLivePusherContext","getSystemInfo","getSystemInfoSync","canIUse","onMemoryWarning","getNetworkType","onNetworkStatusChange","onAccelerometerChange","startAccelerometer","stopAccelerometer","onCompassChange","startCompass","stopCompass","onGyroscopeChange","startGyroscope","stopGyroscope","makePhoneCall","scanCode","setClipboardData","getClipboardData","setScreenBrightness","getScreenBrightness","setKeepScreenOn","onUserCaptureScreen","vibrateLong","vibrateShort","addPhoneContact","openBluetoothAdapter","startBluetoothDevicesDiscovery","onBluetoothDeviceFound","stopBluetoothDevicesDiscovery","onBluetoothAdapterStateChange","getConnectedBluetoothDevices","getBluetoothDevices","getBluetoothAdapterState","closeBluetoothAdapter","writeBLECharacteristicValue","readBLECharacteristicValue","onBLEConnectionStateChange","onBLECharacteristicValueChange","notifyBLECharacteristicValueChange","getBLEDeviceServices","getBLEDeviceCharacteristics","createBLEConnection","closeBLEConnection","onBeaconServiceChange","onBeaconUpdate","getBeacons","startBeaconDiscovery","stopBeaconDiscovery","checkIsSupportSoterAuthentication","checkIsSoterEnrolledInDevice","startSoterAuthentication","onUIStyleChange","hideKeyboard","onKeyboardHeightChange","showToast","hideToast","showLoading","hideLoading","showModal","showActionSheet","setNavigationBarTitle","setNavigationBarColor","showNavigationBarLoading","hideNavigationBarLoading","setTabBarItem","setTabBarStyle","hideTabBar","showTabBar","setTabBarBadge","removeTabBarBadge","showTabBarRedDot","hideTabBarRedDot","onTabBarMidButtonTap","setBackgroundColor","setBackgroundTextStyle","createAnimation","pageScrollTo","onWindowResize","offWindowResize","loadFontFace","startPullDownRefresh","stopPullDownRefresh","createSelectorQuery","createIntersectionObserver","getMenuButtonBoundingClientRect","$emit","$on","$once","$off","saveFile","getSavedFileList","getSavedFileInfo","removeSavedFile","getFileInfo","openDocument","getFileSystemManager","createOffscreenCanvas","createCanvasContext","canvasToTempFilePath","canvasPutImageData","canvasGetImageData","getProvider","login","checkSession","getUserInfo","share","shareWithSystem","showShareMenu","hideShareMenu","requestPayment","subscribePush","unsubscribePush","onPush","offPush","requireNativePlugin","upx2px","restoreGlobal","getSubNVueById","getCurrentSubNVue","setPageMeta","onNativeEventReceive","sendNativeEvent","createRewardedVideoAd"];letn=!1;try{conste={};Object.defineProperty(e,"passive",{get(){n=!0}}),window.addEventListener("test-passive",null,e)}catch(e){}consta=Object.prototype.toString,i=Object.prototype.hasOwnProperty;functions(e){return"function"==typeofe}functionc(e){return"[object Object]"===a.call(e)}functionu(e,t){returni.call(e,t)}functionl(e){returna.call(e).slice(8,-1)}constd=decodeURIComponent;functionp(e){constt={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(e=>{constr=e.replace(/\+/g,"").split("="),o=d(r.shift()),n=r.length>0?d(r.join("=")):null;void0===t[o]?t[o]=n:Array.isArray(t[o])?t[o].push(n):t[o]=[t[o],n]}),t):t}functionf(e){returnfunction(){try{returne.apply(e,arguments)}catch(e){console.error(e)}}}functiong(e){returnfunction(){try{returne.apply(e,arguments)}catch(e){console.error(e)}}}consty=["invoke","success","fail","complete","returnValue"],h={},b={};functionm(e,t){Object.keys(t).forEach(r=>{-1!==y.indexOf(r)&&s(t[r])&&(e[r]=function(e,t){constr=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;returnr?function(e){constt=[];for(letr=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);returnt}(r):r}(e[r],t[r]))})}functionv(e,t){e&&t&&Object.keys(t).forEach(r=>{-1!==y.indexOf(r)&&s(t[r])&&function(e,t){constr=e.indexOf(t);-1!==r&&e.splice(r,1)}(e[r],t[r])})}functionS(e){returnfunction(t){returne(t)||t}}functionT(e){return!!e&&("object"==typeofe||"function"==typeofe)&&"function"==typeofe.then}function_(e,t){letr=!1;for(leto=0;o<e.length;o++){constn=e[o];if(r)r=Promise.then(S(n));else{conste=n(t);if(T(e)&&(r=Promise.resolve(e)),!1===e)return{then(){}}}}returnr||{then:e=>e(t)}}functionk(e,t={}){return["success","fail","complete"].forEach(r=>{if(Array.isArray(e[r])){consto=t[r];t[r]=function(t){_(e[r],t).then(e=>s(o)&&o(e)||e)}}}),t}functionO(e,t){constr=[];Array.isArray(h.returnValue)&&r.push(...h.returnValue);consto=b[e];returno&&Array.isArray(o.returnValue)&&r.push(...o.returnValue),r.forEach(e=>{t=e(t)||t}),t}functionC(e,t,r,...o){constn=function(e){constt=Object.create(null);Object.keys(h).forEach(e=>{"returnValue"!==e&&(t[e]=h[e].slice())});constr=b[e];returnr&&Object.keys(r).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(r[e]))}),t}(e);if(n&&Object.keys(n).length){if(Array.isArray(n.invoke)){return_(n.invoke,r).then(e=>t(k(n,e),...o))}returnt(k(n,r),...o)}returnt(r,...o)}constj={returnValue:e=>T(e)?e.then(e=>e[1]).catch(e=>e[0]):e},B=/^\$|sendNativeEvent|restoreGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64/,A=/^create|Manager$/,x=["createBLEConnection"],q=["request","downloadFile","uploadFile","connectSocket"],I=["createBLEConnection"],w=/^on|^off/;functionE(e){returnB.test(e)&&-1===I.indexOf(e)}functionM(e){returnw.test(e)&&"onPush"!==e}functionN(e){return!(function(e){returnA.test(e)&&-1===x.indexOf(e)}(e)||E(e)||M(e))}Promise.prototype.finally||(Promise.prototype.finally=function(e){constt=this.constructor;returnthis.then(r=>t.resolve(e()).then(()=>r),r=>t.resolve(e()).then(()=>{throwr}))});constP=[{name:"base64",type:String,required:!0}],D=[{name:"arrayBuffer",type:[ArrayBuffer,Uint8Array],required:!0}];varL=Object.freeze({__proto__:null,base64ToArrayBuffer:P,arrayBufferToBase64:D});constz=[{name:"schema",type:String,required:!0}];varR=Object.freeze({__proto__:null,canIUse:z});constU=[{name:"event",type:[String,Array],required:!0},{name:"callback",type:Function,required:!0}],F=U,$=[{name:"event",type:[String,Array]},{name:"callback",type:Function}],V=[{name:"event",type:String,required:!0}];varG=Object.freeze({__proto__:null,$on:U,$once:F,$off:$,$emit:V});constH=[{name:"method",type:[String,Object],required:!0}],J=H;varW=Object.freeze({__proto__:null,addInterceptor:H,removeInterceptor:J});constK=[{name:"upx",type:[Number,String],required:!0}];varY=Object.freeze({__proto__:null,upx2px:K});functionX(e){returnfunction(t,r){t&&(r[e]=Math.round(t))}}constQ={canvasId:{type:String,required:!0},x:{type:Number,required:!0,validator:X("x")},y:{type:Number,required:!0,validator:X("y")},width:{type:Number,required:!0,validator:X("width")},height:{type:Number,required:!0,validator:X("height")}},Z={canvasId:{type:String,required:!0},data:{type:Uint8ClampedArray,required:!0},x:{type:Number,required:!0,validator:X("x")},y:{type:Number,required:!0,validator:X("y")},width:{type:Number,required:!0,validator:X("width")},height:{type:Number,validator:X("height")}},ee={PNG:"png",JPG:"jpg",JPEG:"jpg"},te={x:{type:Number,default:0,validator:X("x")},y:{type:Number,default:0,validator:X("y")},width:{type:Number,validator:X("width")},height:{type:Number,validator:X("height")},destWidth:{type:Number,validator:X("destWidth")},destHeight:{type:Number,validator:X("destHeight")},canvasId:{type:String,require:!0},fileType:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.fileType=einee?ee[e]:ee.PNG}},quality:{type:Number,validator(e,t){e=Math.floor(e),t.quality=e>0&&e<1?e:1}}},re={canvasId:{type:String,require:!0},actions:{type:Array,require:!0},reserve:{type:Boolean,default:!1}};varoe=Object.freeze({__proto__:null,canvasGetImageData:Q,canvasPutImageData:Z,canvasToTempFilePath:te,drawCanvas:re});constne=[{name:"id",type:String,required:!0}],ae=ne,ie=ne,se=ne,ce=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}];varue=Object.freeze({__proto__:null,createAudioContext:ae,createVideoContext:ie,createMapContext:se,createCanvasContext:ce});constle={phoneNumber:{type:String,required:!0,validator(e){if(!e)return"makePhoneCall:fail parameter error: parameter.phoneNumber should not be empty String;"}}};varde=Object.freeze({__proto__:null,makePhoneCall:le});constpe={beforeSuccess(){uni.showToast({title:"内容已复制",icon:"success",mask:!1})}};varfe=Object.freeze({__proto__:null,setClipboardData:pe});constge={filePath:{type:String,required:!0},fileType:{type:String}};varye=Object.freeze({__proto__:null,openDocument:ge});consthe={keyword:{type:String}};varbe=Object.freeze({__proto__:null,chooseLocation:he});constme={WGS84:"WGS84",GCJ02:"GCJ02"},ve={type:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.type=Object.values(me).indexOf(e)<0?me.WGS84:e},default:me.WGS84},altitude:{altitude:Boolean,default:!1}};varSe=Object.freeze({__proto__:null,getLocation:ve});constTe={latitude:{type:Number,required:!0},longitude:{type:Number,required:!0},scale:{type:Number,validator(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18},default:18},name:{type:String},address:{type:String}};var_e=Object.freeze({__proto__:null,openLocation:Te});constke=["original","compressed"],Oe=["album","camera"],Ce={count:{type:Number,required:!1,default:9,validator(e,t){e<=0&&(t.count=9)}},sizeType:{type:[Array,String],required:!1,default:ke,validator(e,t){constr=e.length;if(r){if("string"==typeofe)~ke.indexOf(e)||(t.sizeType=ke);elsefor(leto=0;o<r;o++)if("string"!=typeofe[o]||!~ke.indexOf(e[o])){t.sizeType=ke;break}}elset.sizeType=ke}},sourceType:{type:Array,required:!1,default:Oe,validator(e,t){constr=e.length;if(r){for(leto=0;o<r;o++)if("string"!=typeofe[o]||!~Oe.indexOf(e[o])){t.sourceType=Oe;break}}elset.sourceType=Oe}}};varje=Object.freeze({__proto__:null,chooseImage:Ce});constBe=["album","camera"],Ae={sourceType:{type:Array,required:!1,default:Be,validator(e,t){constr=e.length;if(r){for(leto=0;o<r;o++)if("string"!=typeofe[o]||!~Be.indexOf(e[o])){t.sourceType=Be;break}}elset.sourceType=Be}}};varxe=Object.freeze({__proto__:null,chooseVideo:Ae});functionqe(e,t){if(t){if(0===t.indexOf("/"))returnt}else{if(0===(t=e).indexOf("/"))returnt;constr=getCurrentPages();e=r.length?r[r.length-1].$page.route:""}if(0===t.indexOf("./"))returnqe(e,t.substr(2));constr=t.split("/"),o=r.length;letn=0;for(;n<o&&".."===r[n];n++);r.splice(0,n),t=r.join("/");consta=e.length>0?e.split("/"):[];returna.splice(a.length-n-1,n+1),"/"+a.concat(r).join("/")}constIe=/^([a-z-]+:)?\/\//i,we=/^data:.*,.*/;functionEe(e){constt=__uniConfig.router.base;returnt?"/"!==t&&0===("/"+e).indexOf(t)?"/"+e:t+e:e}functionMe(e){if(0===e.indexOf("/")){if(0!==e.indexOf("//"))returnEe(e.substr(1));e="https:"+e}if(Ie.test(e)||we.test(e)||0===e.indexOf("blob:"))returne;constt=getCurrentPages();returnt.length?Ee(qe(t[t.length-1].$page.route,e).substr(1)):e}constNe={src:{type:String,required:!0,validator(e,t){t.src=Me(e)}}};varPe=Object.freeze({__proto__:null,getImageInfo:Ne});constDe={urls:{type:Array,required:!0,validator(e,t){varr;if(t.urls=e.map(e=>{if("string"==typeofe)returnMe(e);r=!0}),r)return"url is not string"}},current:{type:[String,Number],validator(e,t){"number"==typeofe?t.current=e>0&&e<t.urls.length?e:0:"string"==typeofe&&e&&(t.current=Me(e))},default:0}};varLe=Object.freeze({__proto__:null,previewImage:De});constze={url:{type:String,required:!0},header:{type:Object,validator(e,t){t.header=e||{}}}};varRe=Object.freeze({__proto__:null,downloadFile:ze});constUe={OPTIONS:"OPTIONS",GET:"GET",HEAD:"HEAD",POST:"POST",PUT:"PUT",DELETE:"DELETE",TRACE:"TRACE",CONNECT:"CONNECT"},Fe="json",$e={TEXT:"text",ARRAYBUFFER:"arraybuffer"},Ve=encodeURIComponent;constGe={method:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.method=Object.values(Ue).indexOf(e)<0?Ue.GET:e}},data:{type:[Object,String,Array,ArrayBuffer],validator(e,t){t.data=e||""}},url:{type:String,required:!0,validator(e,t){t.method===Ue.GET&&c(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){letr=e.split("#");consto=r[1]||"";r=r[0].split("?");letn=r[1]||"";e=r[0];consta=n.split("&").filter(e=>e);n={},a.forEach(e=>{e=e.split("="),n[e[0]]=e[1]});for(consteint)if(u(t,e)){letr=t[e];null==r?r="":c(r)&&(r=JSON.stringify(r)),n[Ve(e)]=Ve(r)}returnn=Object.keys(n).map(e=>`${e}=${n[e]}`).join("&"),e+(n?"?"+n:"")+(o?"#"+o:"")}(e,t.data))}},header:{type:Object,validator(e,t){constr=t.header=e||{};t.method!==Ue.GET&&(Object.keys(r).find(e=>"content-type"===e.toLowerCase())||(r["Content-Type"]="application/json"))}},dataType:{type:String,validator(e,t){t.dataType=(e||Fe).toLowerCase()}},responseType:{type:String,validator(e,t){e=(e||"").toLowerCase(),t.responseType=Object.values($e).indexOf(e)<0?$e.TEXT:e}},withCredentials:{type:Boolean}};varHe=Object.freeze({__proto__:null,request:Ge});constJe={OPTIONS:"OPTIONS",GET:"GET",HEAD:"HEAD",POST:"POST",PUT:"PUT",DELETE:"DELETE",TRACE:"TRACE",CONNECT:"CONNECT"},We={url:{type:String,required:!0},header:{type:Object,validator(e,t){t.header=e||{}}},method:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.method=Object.values(Je).indexOf(e)<0?Je.GET:e}},protocols:{type:[Array,String],validator(e,t){"string"==typeofe&&(e=[e]),t.protocols=(e||[]).filter(e=>"string"==typeofe)}}},Ke={data:{type:[String,ArrayBuffer]}},Ye={code:{type:Number},reason:{type:String}};varXe=Object.freeze({__proto__:null,connectSocket:We,sendSocketMessage:Ke,closeSocket:Ye});constQe={url:{type:String,required:!0},files:{type:Array},filePath:{type:String,validator(e,t){e&&(t.type=Me(e))}},name:{type:String},header:{type:Object,validator(e,t){t.header=e||{}}},formData:{type:Object,validator(e,t){t.formData=e||{}}}};varZe=Object.freeze({__proto__:null,uploadFile:Qe});constet={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},tt={service:{type:String,required:!0,validator(e,t){if((e=(e||"").toUpperCase())&&Object.values(et).indexOf(e)<0)return"service error"}}};varrt=Object.freeze({__proto__:null,getProvider:tt});functionot(e){returnfunction(t,r){consto=(t=qe(t)).split("?")[0],n=__uniRoutes.find(({path:e,alias:t})=>e===o||t===o);if(!n)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(n.meta.isTabBar)return`can not ${e} a tabbar page`}elseif("switchTab"===e&&!n.meta.isTabBar)return"can not switch to no-tabBar page";n.meta.isTabBar&&(t=o),n.meta.isEntry&&(t=t.replace(n.alias,"/")),r.url=function(e){if("string"!=typeofe)returne;constt=e.indexOf("?");if(-1===t)returne;constr=e.substr(t+1).trim().replace(/^(\?|#|&)/,"");if(!r)returne;e=e.substr(0,t);consto=[];returnr.split("&").forEach(e=>{constt=e.replace(/\+/g,"").split("="),r=t.shift(),n=t.length>0?t.join("="):"";o.push(r+"="+encodeURIComponent(n))}),o.length?e+"?"+o.join("&"):e}(t)}}functionnt(e,t={}){returnObject.assign({url:{type:String,required:!0,validator:ot(e)}},t)}functionat(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}constit=nt("redirectTo"),st=nt("reLaunch"),ct=nt("navigateTo",at(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),ut=nt("switchTab"),lt=Object.assign({delta:{type:Number,validator(e,t){e=parseInt(e)||1,t.delta=Math.min(getCurrentPages().length-1,e)}}},at(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]));vardt=Object.freeze({__proto__:null,redirectTo:it,reLaunch:st,navigateTo:ct,switchTab:ut,navigateBack:lt});constpt={key:{type:String,required:!0}},ft=[{name:"key",type:String,required:!0}],gt={key:{type:String,required:!0},data:{required:!0}},yt=[{name:"key",type:String,required:!0},{name:"data",required:!0}],ht=pt,bt=ft;varmt=Object.freeze({__proto__:null,getStorage:pt,getStorageSync:ft,setStorage:gt,setStorageSync:yt,removeStorage:ht,removeStorageSync:bt});constvt={family:{type:String,required:!0},source:{type:String,required:!0},desc:{type:Object,required:!1},success:{type:Function,required:!1},fail:{type:Function,required:!1},complete:{type:Function,required:!1}};varSt=Object.freeze({__proto__:null,loadFontFace:vt});constTt=["#ffffff","#000000"],_t={frontColor:{type:String,required:!0,validator(e,t){if(-1===Tt.indexOf(e))return`invalid frontColor "${e}"`}},backgroundColor:{type:String,required:!0},animation:{type:Object,default:()=>({duration:0,timingFunc:"linear"}),validator(e={},t){t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},kt={title:{type:String,required:!0}};varOt=Object.freeze({__proto__:null,setNavigationBarColor:_t,setNavigationBarTitle:kt});constCt={scrollTop:{type:Number,required:!0},duration:{type:Number,default:300,validator(e,t){t.duration=Math.max(0,e)}}};varjt=Object.freeze({__proto__:null,pageScrollTo:Ct});constBt={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"取消"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"确定"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},At={title:{type:String,default:""},icon:{default:"success",validator(e,t){-1===["success","loading","none"].indexOf(e)&&(t.icon="success")}},image:{type:String,default:"",validator(e,t){e&&(t.image=Me(e))}},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},xt={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},qt={itemList:{type:Array,required:!0,validator(e,t){if(!e.length)return"parameter.itemList should have at least 1 item"}},itemColor:{type:String,default:"#000000"},visible:{type:Boolean,default:!0},popover:{type:Object}};varIt=Object.freeze({__proto__:null,showModal:Bt,showToast:At,showLoading:xt,showActionSheet:qt});constwt={type:Number,required:!0},Et={index:wt,text:{type:String},iconPath:{type:String},selectedIconPath:{type:String}},Mt={color:{type:String},selectedColor:{type:String},backgroundColor:{type:String},borderStyle:{type:String,validator(e,t){e&&(t.borderStyle="black"===e?"black":"white")}}},Nt={animation:{type:Boolean,default:!1}},Pt={animation:{type:Boolean,default:!1}},Dt={index:wt},Lt={index:wt},zt={index:wt},Rt={index:wt,text:{type:String,required:!0,validator(e,t){(function(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length})(e)>=4&&(t.text="...")}}};varUt=Object.freeze({__proto__:null,setTabBarItem:Et,setTabBarStyle:Mt,hideTabBar:Nt,showTabBar:Pt,hideTabBarRedDot:Dt,showTabBarRedDot:Lt,removeTabBarBadge:zt,setTabBarBadge:Rt});constFt=Object.create(null),$t=(Vt={"./base/base64.js":L,"./base/can-i-use.js":R,"./base/event-bus.js":G,"./base/interceptor.js":W,"./base/upx2px.js":Y,"./context/canvas.js":oe,"./context/context.js":ue,"./device/make-phone-call.js":de,"./device/set-clipboard-data.js":fe,"./file/open-document.js":ye,"./location/choose-location.js":be,"./location/get-location.js":Se,"./location/open-location.js":_e,"./media/choose-image.js":je,"./media/choose-video.js":xe,"./media/get-image-info.js":Pe,"./media/preview-image.js":Le,"./network/download-file.js":Re,"./network/request.js":He,"./network/socket.js":Xe,"./network/upload-file.js":Ze,"./plugin/get-provider.js":rt,"./route/route.js":dt,"./storage/storage.js":mt,"./ui/load-font-face.js":St,"./ui/navigation-bar.js":Ot,"./ui/page-scroll-to.js":jt,"./ui/popup.js":It,"./ui/tab-bar.js":Ut},(Gt=function(e){returnVt[e]||function(){thrownewError("Cannot find module '"+e+"'.")}()}).keys=function(){returnObject.keys(Vt)},Gt);varVt,Gt;functionHt(e,t,r){consto=t[e],n=!u(r,e);leta=r[e];if(function(e,t){if(!Array.isArray(t))returnYt(t,e)?0:-1;for(letr=0,o=t.length;r<o;r++)if(Yt(t[r],e))returnr;return-1}(Boolean,o.type)>-1&&n&&!u(o,"default")&&(a=!1),void0===a&&u(o,"default")){constt=o.default;a=s(t)?t():t,r[e]=a}returnfunction(e,t,r,o,n){if(e.required&&o)return`Missing required parameter \`${t}\``;if(null==r&&!e.required){constt=e.validator;returnt?t(r,n):void0}leta=e.type,i=!a||!0===a;consts=[];if(a){Array.isArray(a)||(a=[a]);for(lete=0;e<a.length&&!i;e++){constt=Wt(r,a[e]);s.push(t.expectedType||""),i=t.valid}}if(!i)returnfunction(e,t,r){leto=`parameter \`${e}\`. Expected `+r.join(", ");constn=r[0],a=l(t),i=Xt(t,n),s=Xt(t,a);1===r.length&&Zt(n)&&!function(...e){returne.some(e=>"boolean"===e.toLowerCase())}(n,a)&&(o+=" with value "+i);o+=`, got ${a} `,Zt(a)&&(o+=`with value ${s}.`);returno}(t,r,s);constc=e.validator;if(c)returnc(r,n)}(o,e,a,n,r)}$t.keys().forEach((function(e){Object.assign(Ft,$t(e))}));constJt=/^(String|Number|Boolean|Function|Symbol)$/;functionWt(e,t){letr;consto=Kt(t);if(Jt.test(o)){constn=typeofe;r=n===o.toLowerCase(),r||"object"!==n||(r=einstanceoft)}elser=e.byteLength>=0||("Object"===o?c(e):"Array"===o?Array.isArray(e):einstanceoft||l(e)===Kt(t));return{valid:r,expectedType:o}}functionKt(e){constt=e&&e.toString().match(/^\s*function (\w+)/);returnt?t[1]:""}functionYt(e,t){returnKt(e)===Kt(t)}functionXt(e,t){return"String"===t?`"${e}"`:"Number"===t?""+Number(e):""+e}constQt=["string","number","boolean"];functionZt(e){returnQt.some(t=>e.toLowerCase()===t)}functioner(e,t,r){consto=`${t}:fail ${e}`;if(console.error(o),-1===r)thrownewError(o);return"number"==typeofr&&ir(r,{errMsg:o}),!1}consttr=[{name:"callback",type:Function,required:!0}];functionrr(e,t,r){leto=Ft[e];if(!o&&M(e)&&(o=tr),o){if(Array.isArray(o)&&Array.isArray(t)){conste=Object.create(null),r=Object.create(null),n=t.length;o.forEach((o,a)=>{e[o.name]=o,n>a&&(r[o.name]=t[a])}),o=e,t=r}if(s(o.beforeValidate)){constn=o.beforeValidate(t);if(n)returner(n,e,r)}constn=Object.keys(o);for(leta=0;a<n.length;a++){if("beforeValidate"===n[a])continue;consti=Ht(n[a],o,t);if(i)returner(i,e,r)}}return!0}letor=1;constnr={};functionar(e,t={},r={}){const{params:o,callbackId:n}=function(e,t={},r={}){if(!c(t))return{params:t};t=Object.assign({},t);consto={};for(consteint){constr=t[e];s(r)&&(o[e]=g(r),deletet[e])}const{success:n,fail:a,cancel:i,complete:u}=o,l=s(n),d=s(a),p=s(i),y=s(u);if(!(l||d||p||y))return{params:t};consth={};for(consteinr){constt=r[e];s(t)&&(h[e]=f(t))}const{beforeSuccess:b,afterSuccess:m,beforeFail:v,afterFail:S,beforeCancel:T,afterCancel:_,afterAll:k}=h,O=or++,C="api."+e+"."+O;returnnr[O]={name:C,callback:function(t){if(t.errMsg=t.errMsg||e+":ok",-1!==t.errMsg.indexOf(":ok"))t.errMsg=e+":ok";elseif(-1!==t.errMsg.indexOf(":cancel"))t.errMsg=e+":cancel";elseif(-1!==t.errMsg.indexOf(":fail")){letr="";consto=t.errMsg.indexOf("");o>-1&&(r=t.errMsg.substr(o)),t.errMsg=e+":fail"+r}constr=t.errMsg;0===r.indexOf(e+":ok")?(s(b)&&b(t),l&&n(t),s(m)&&m(t)):0===r.indexOf(e+":cancel")?(t.errMsg=t.errMsg.replace(e+":cancel",e+":fail cancel"),d&&a(t),s(T)&&T(t),p&&i(t),s(_)&&_(t)):0===r.indexOf(e+":fail")&&(s(v)&&v(t),d&&a(t),s(S)&&S(t)),y&&u(t),s(k)&&k(t)}},{params:t,callbackId:O}}(e,t,r);returnc(o)&&!rr(e,o,n)?{params:o,callbackId:!1}:{params:o,callbackId:n}}functionir(e,t,r){if("number"==typeofe){consto=nr[e];if(o)returno.keepAlive||deletenr[e],o.callback(t,r)}returnt}functionsr(e,t,r={}){returns(t)?(function(e,t){constr=Ft[e];r&&s(r.beforeSuccess)&&(t.beforeSuccess=r.beforeSuccess)}(e,r),function(...o){if(E(e)){if(rr(e,o,-1))returnt.apply(null,o)}elseif(M(e)){if(rr(e,o,-1))returnt(function(e,t){constr=or++,o="api."+e+"."+r;returnnr[r]={name:o,keepAlive:!0,callback:function(e,r){t(e,r)}},r}(e,o[0]))}else{letn={};o.length&&(n=o[0]);const{params:a,callbackId:i}=ar(e,n,r);if(!1!==i){letr;returnr=s(a)?t(i):t(a,i),r&&!function(e){return-1!==q.indexOf(e)}(e)&&(r=ir(i,r),c(r)&&(r.errMsg=r.errMsg||e+":ok")),r}}}):t}varcr,ur=(function(e,t){!function(){for(vare="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=newUint8Array(256),o=0;o<e.length;o++)r[e.charCodeAt(o)]=o;t.encode=function(t){varr,o=newUint8Array(t),n=o.length,a="";for(r=0;r<n;r+=3)a+=e[o[r]>>2],a+=e[(3&o[r])<<4|o[r+1]>>4],a+=e[(15&o[r+1])<<2|o[r+2]>>6],a+=e[63&o[r+2]];returnn%3==2?a=a.substring(0,a.length-1)+"=":n%3==1&&(a=a.substring(0,a.length-2)+"=="),a},t.decode=function(e){vart,o,n,a,i,s=.75*e.length,c=e.length,u=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);varl=newArrayBuffer(s),d=newUint8Array(l);for(t=0;t<c;t+=4)o=r[e.charCodeAt(t)],n=r[e.charCodeAt(t+1)],a=r[e.charCodeAt(t+2)],i=r[e.charCodeAt(t+3)],d[u++]=o<<2|n>>4,d[u++]=(15&n)<<4|a>>2,d[u++]=(3&a)<<6|63&i;returnl}}()}(cr={exports:{}},cr.exports),cr.exports),lr=ur.encode,dr=ur.decode;varpr={};constfr={promiseInterceptor:j};letgr=!1,yr=0,hr=0;varbr=o("@app-module/system.router");functionmr(e){returne.substr(0,e.lastIndexOf("/"))}varvr=o("@app-module/system.router");varSr=o("@app-module/system.router");functionTr(...e){returnglobal.UniServiceJSBridge.invokeCallbackHandler(...e)}var_r=o("@app-module/system.clipboard");varkr=o("@app-module/system.fetch");letOr=0;constCr={},jr=e=>{!function(e,...t){global.UniServiceJSBridge.emit("api."+e,...t)}("onRequestTaskStateChange",e),deleteCr[Or]};functionBr(e,{url:t,data:r,header:o,method:n="GET",responseType:a,sslVerify:i=!0}={}){lets,c;s=setTimeout(()=>{c=!0,jr({requestTaskId:e,state:"fail",statusCode:0,errMsg:"timeout"})},60100);constu={method:n,url:t.trim(),header:o,type:a,timeout:6e4};"GET"!==n&&(u.data=r);try{kr.fetch({...u,success:({code:t,data:r,headers:o})=>{if(console.log(r),c)return;s&&clearTimeout(s);jr(t>0?{requestTaskId:e,state:"success",data:r,statusCode:t,header:o}:{requestTaskId:e,state:"fail",statusCode:t,errMsg:"abort statusCode:"+t})},fail:(t,r)=>{jr({requestTaskId:e,state:"fail",statusCode:r,errMsg:"abort statusCode:"+r})}}),Cr[e]={abort(){c=!0,s&&clearTimeout(s),jr({requestTaskId:e,state:"fail",statusCode:0,errMsg:"abort"})}}}catch(t){return{requestTaskId:e,errMsg:"createRequestTask:fail"}}return{requestTaskId:e,errMsg:"createRequestTask:ok"}}varAr=o("@app-module/system.storage");functionxr(e){constt=["object","string","number","boolean","undefined"];try{constr="string"==typeofe?JSON.parse(e):e,o=r.type;if(t.indexOf(o)>=0){conste=Object.keys(r);if(2===e.length&&"data"inr&&typeofr.data===o)returnr.data;if(1===e.length)return""}}catch(e){}}varqr=o("@app-module/system.prompt");varIr=Object.freeze({__proto__:null,navigateBack:function({delta:e}){returnbr.back(),{errMsg:"navigateBack:ok"}},navigateTo:function({url:e}){constt=e.split("?"),r=t[0],o=p(t[1]||"");returnvr.push({uri:mr(r),params:o}),{errMsg:"navigateTo:ok"}},redirectTo:function({url:e}){constt=e.split("?"),r=t[0],o=p(t[1]||"");returnSr.replace({uri:mr(r),params:o}),{errMsg:"redirectTo:ok"}},getClipboardData:function(e,t){_r.get({success:e=>{Tr(t,{data:e.text,errMsg:"getClipboardData:ok"})},fail:(e,r)=>{Tr(t,{data:r,errMsg:"getClipboardData:fail"})}})},setClipboardData:function({data:e}){return_r.set({text:e}),{errMsg:"setClipboardData:ok"}},createRequestTaskById:Br,createRequestTask:function(e){returnBr(++Or,e)},operateRequestTask:function({requestTaskId:e,operationType:t}={}){constr=Cr[e];returnr&&"abort"===t?(r.abort(),{errMsg:"operateRequestTask:ok"}):{errMsg:"operateRequestTask:fail"}},setStorage:function({key:e,data:t,isSync:r}={},o){constn=typeoft,a="string"===n?t:JSON.stringify({type:n,data:t});try{Ar.set({key:e,value:a,success:e=>{Tr(o,{errMsg:"setStorage:ok"})},fail:(e,t)=>{Tr(o,{errMsg:"setStorage:fail "+t})}})}catch(e){Tr(o,{errMsg:"setStorage:fail "+e})}},getStorage:function({key:e}={},t){Ar.get({key:e,success:e=>{Tr(t,{data:xr(e)||e,errMsg:"getStorage:ok"})},fail:(e,r)=>{Tr(t,{data:"",errMsg:"getStorage:fail "+r})}})},removeStorage:function({key:e}={},t){Ar.delete({key:e,success:e=>{Tr(t,{errMsg:"removeStorage:ok"})},fail:(e,r)=>{Tr(t,{errMsg:"removeStorage:fail "+r})}})},clearStorage:function(e,t){Ar.clear({success:e=>{Tr(t,{errMsg:"clearStorage:ok"})},fail:(e,r)=>{Tr(t,{errMsg:"clearStorage:fail "+r})}})},showModal:function({title:e="",content:t="",showCancel:r=!0,cancelText:o="取消",cancelColor:n="#000000",confirmText:a="确定",confirmColor:i="#3CC51F"}={},s){qr.showDialog({title:e,message:t,buttons:[{text:"确定",color:i}],success:e=>{console.log("handling callback"),Tr(s,{errMsg:"showModal:ok",confirm:!0,cancel:!1})},cancel:()=>{console.log("handling cancel")},fail:(e,t)=>{console.log("handling fail, code = "+t)}})}});functionwr(e,...t){returnIr[e].apply(null,t)}functionEr(e,t){returnUniServiceJSBridge.on("api."+e,t)}constMr=["canplay","play","pause","stop","ended","timeUpdate","error","waiting","seeking","seeked"],Nr=[{name:"src",cache:!0},{name:"startTime",default:0,cache:!0},{name:"autoplay",default:!1,cache:!0},{name:"loop",default:!1,cache:!0},{name:"obeyMuteSwitch",default:!0,readonly:!0,cache:!0},{name:"duration",readonly:!0},{name:"currentTime",readonly:!0},{name:"paused",readonly:!0},{name:"buffered",readonly:!0},{name:"volume"}];classPr{constructor(e){this.id=e,this._callbacks={},this._options={},Mr.forEach(e=>{this._callbacks[e.toLowerCase()]=[]}),Nr.forEach(e=>{constt=e.name,r={get(){constr=e.cache?this._options:wr("getAudioState",{audioId:this.id}),o=tinr?r[t]:e.default;return"number"==typeofo&&"volume"!==t?o/1e3:o}};e.readonly||(r.set=function(e){this._options[t]=e,wr("setAudioState",Object.assign({},this._options,{audioId:this.id}))}),Object.defineProperty(this,t,r)})}play(){this._operate("play")}pause(){this._operate("pause")}stop(){this._operate("stop")}seek(e){this._operate("seek",{currentTime:1e3*e})}destroy(){clearInterval(this.__timing),wr("destroyAudioInstance",{audioId:this.id}),deleteLr[this.id]}_operate(e,t){wr("operateAudio",Object.assign({},t,{audioId:this.id,operationType:e}))}}functionDr(e,t,r,o){e._callbacks[t].forEach(e=>{"function"==typeofe&&e("error"===t?{errMsg:r,errCode:o}:{})})}Mr.forEach(e=>{constt=e[0].toUpperCase()+e.substr(1);e=e.toLowerCase(),Pr.prototype["on"+t]=function(t){this._callbacks[e].push(t)},Pr.prototype["off"+t]=function(t){constr=this._callbacks[e],o=r.indexOf(t);o>=0&&r.splice(o,1)}}),Er("onAudioStateChange",({state:e,audioId:t,errMsg:r,errCode:o})=>{constn=Lr[t];if(n)if(Dr(n,e,r,o),"play"===e){conste=n.currentTime;n.__timing=setInterval(()=>{n.currentTime!==e&&Dr(n,"timeupdate")},200)}else"pause"!==e&&"stop"!==e&&"error"!==e||clearInterval(n.__timing)});constLr=Object.create(null);constzr=["canplay","play","pause","stop","ended","timeUpdate","prev","next","error","waiting"],Rr={};zr.forEach(e=>{Rr[e]=[]});constUr=[{name:"duration",readonly:!0},{name:"currentTime",readonly:!0},{name:"paused",readonly:!0},{name:"src",cache:!0},{name:"startTime",default:0,cache:!0},{name:"buffered",readonly:!0},{name:"title",cache:!0},{name:"epname",cache:!0},{name:"singer",cache:!0},{name:"coverImgUrl",cache:!0},{name:"webUrl",cache:!0},{name:"protocol",readonly:!0,default:"http"}];classFr{constructor(){this._options={},Er("onBackgroundAudioStateChange",({state:e,errMsg:t,errCode:r})=>{Rr[e].forEach(o=>{"function"==typeofo&&o("error"===e?{errMsg:t,errCode:r}:{})})}),Ur.forEach(e=>{constt=e.name,r={get(){constr=e.cache?this._options:wr("getBackgroundAudioState");returntinr?r[t]:e.default}};e.readonly||(r.set=function(e){this._options[t]=e,wr("setBackgroundAudioState",Object.assign({},this._options,{audioId:this.id}))}),Object.defineProperty(this,t,r)})}play(){this._operate("play")}pause(){this._operate("pause")}stop(){this._operate("stop")}seek(e){this._operate("seek",{currentTime:e})}_operate(e,t){wr("operateBackgroundAudio",Object.assign({},t,{operationType:e}))}}let$r;functionVr(...e){returnUniServiceJSBridge.invokeCallbackHandler(...e)}zr.forEach(e=>{constt=e[0].toUpperCase()+e.substr(1);Fr.prototype["on"+t]=function(t){Rr[e].push(t)}});constGr=Object.create(null);Er("onRequestTaskStateChange",(function({requestTaskId:e,state:t,data:r,statusCode:o,header:n,errMsg:a}){const{args:i,callbackId:s}=Gr[e]||{};if(s)switch(deleteGr[e],t){case"success":Vr(s,function(e,t){if("string"==typeofe.data&&65279===e.data.charCodeAt(0)&&(e.data=e.data.substr(1)),e.statusCode=parseInt(e.statusCode,10),c(e.header)&&(e.header=Object.keys(e.header).reduce((function(t,r){consto=e.header[r];returnArray.isArray(o)?t[r]=o.join(","):"string"==typeofo&&(t[r]=o),t}),{})),t.dataType&&"json"===t.dataType.toLowerCase())try{e.data=JSON.parse(e.data)}catch(e){}returne}({data:r,statusCode:o,header:n,errMsg:"request:ok"},i));break;case"fail":Vr(s,{errMsg:"request:fail "+a})}}));classHr{constructor(e){this.id=e}abort(){wr("operateRequestTask",{requestTaskId:this.id,operationType:"abort"})}offHeadersReceived(){}onHeadersReceived(){}}varJr={...Object.freeze({__proto__:null,base64ToArrayBuffer:function(e){returndr(e)},arrayBufferToBase64:function(e){returnlr(e)},canIUse:function(e){return!u(pr,e)||pr[e]},addInterceptor:function(e,t){"string"==typeofe&&c(t)?m(b[e]||(b[e]={}),t):c(e)&&m(h,e)},removeInterceptor:function(e,t){"string"==typeofe?c(t)?v(b[e],t):deleteb[e]:c(e)&&v(h,e)},interceptors:fr,upx2px:function(e,t){if(0===yr&&function(){const{platform:e,pixelRatio:t,windowWidth:r}=uni.getSystemInfoSync();yr=r,hr=t,gr="ios"===e}(),0===(e=Number(e)))return0;letr=e/750*(t||yr);returnr<0&&(r=-r),r=Math.floor(r+1e-4),0===r?1!==hr&&gr?.5:1:e<0?-r:r},createInnerAudioContext:function(){const{audioId:e}=wr("createAudioInstance"),t=newPr(e);returnLr[e]=t,t},getBackgroundAudioManager:function(){return$r||($r=newFr)},request:function(e,t){letr;for(consttine.header)if("content-type"===t.toLowerCase()){r=e.header[t];break}"GET"!==e.method&&0===r.indexOf("application/json")&&c(e.data)&&(e.data=JSON.stringify(e.data));const{requestTaskId:o}=wr("createRequestTask",e);returnGr[o]={args:e,callbackId:t},newHr(o)}}),...Ir};constWr=Object.create(null);letKr;r.forEach(e=>{Jr[e]?Wr[e]=function(e,t){returnN(e)?function(r={},...o){returns(r.success)||s(r.fail)||s(r.complete)?O(e,C(e,t,r,...o)):O(e,newPromise((n,a)=>{C(e,t,Object.assign({},r,{success:n,fail:a}),...o)}).then(e=>[null,e]).catch(e=>[e]))}:t}(e,sr(e,Jr[e])):Wr[e]=function(e){returnfunction(t){console.error("API `"+e+"` is not yet implemented")}}(e)});constYr=[],Xr=[],Qr=[];functionZr(e){e&&e.store&&(Kr=e.store)}Zr.prototype.$mount=function(){},Zr.config={},Zr.use=function(e){if(e.Store&&e.mapState){constr={};t.VueFactory(r,{},{}),e.install(r.Vue)}elseXr.push(e)},Zr.mixin=function(e){Yr.push(e)},Zr.component=function(e,t){Qr.push({id:e,definition:t})},(Object.getPrototypeOf(global)||global).__VuePlugin={install(e,t){Yr.forEach(t=>{e.mixin(t)}),Xr.forEach(t=>{e.use(t)}),Qr.forEach(({id:t,definition:r})=>{e.component(t,r)}),Object.keys(Zr.prototype).forEach(t=>{"$mount"!==t&&(e.prototype[t]=Zr.prototype[t])}),Kr&&(e.prototype.$store=Kr)}};consteo={globalData:{}};global.UniServiceJSBridge.invokeCallbackHandler=ir;varto={uni:Wr,Vue:Zr,getApp:function({allowDefault:t=!1}={}){returne.$def?function(e){if(e.__$processed)returne;constt=e.methods;returnt&&(Object.keys(t).forEach(r=>{e[r]=t[r]}),deletee.methods),Object.keys(eo).forEach(t=>{"globalData"!==t&&(e[t]=eo[t])}),e.globalData||(e.globalData={}),Object.assign(e.globalData,eo.globalData),e.__$processed=!0,e}(e.$def):t?eo:void0},getCurrentPages:function(){return[]}};constro=Object.getPrototypeOf(global)||global;dsl.onDefineApp(t=>{constr="function"==typeoft.onLaunch,o="function"==typeoft.onShow;(r||o)&&(e._events["applc:onCreate"]||(e._events["applc:onCreate"]=[])).push(()=>{r&&t.onLaunch(),o&&t.onShow()}),ro.__uniRoutes=function({pages:e}){constt=[];returnObject.keys(e).forEach(r=>{consto=e[r];t.push({path:"/"+r+"/"+o.component,meta:{}})}),t}(t.manifest.router)}),Object.assign(ro,to)}()}));