if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const n=this.constructor;return this.then((t=>n.resolve(e()).then((()=>t))),(t=>n.resolve(e()).then((()=>{throw t}))))}),"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,n){"use strict";function t(e,t){return"Function"===n.toRawType(t)?"function() { [native code] }":t}function o(e,o,r){if("string"==typeof __channelId__&&__channelId__)return r.push(o.replace("at ","uni-app:///")),console[e].apply(console,r);return r.map((function(e){const o=n.toTypeString(e).toLowerCase();if(-1!==["[object object]","[object array]","[object module]"].indexOf(o))try{e="---BEGIN:JSON---"+JSON.stringify(e,t)+"---END:JSON---"}catch(r){e=o}else if(null===e)e="---NULL---";else if(void 0===e)e="---UNDEFINED---";else{const t=n.toRawType(e).toUpperCase();e="NUMBER"===t||"BOOLEAN"===t?"---BEGIN:"+t+"---"+e+"---END:"+t+"---":String(e)}return e})).join("---COMMA---")+" "+o}function r(e,n,...t){const r=o(e,n,t);r&&console[e](r)}function a(e){return weex.requireModule(e)}var i=(e,n)=>{const t=e.__vccOpts||e;for(const[o,r]of n)t[o]=r;return t};const p=a("MopSdk");__definePage("pages/index/index",i({data:()=>({title:"Hello"}),onLoad(){},methods:{handleOpenMiniProgram(){p.openApplet("https://api.finclip.com","5eec56a41464cc0001852e9a",null,null)},handleOpenMiniProgramByQrcode(){uni.scanCode({success:e=>{r("log","at pages/index/index.vue:39",e);const n=e.result;p.openAppletByQrcode(n,(e=>{r("log","at pages/index/index.vue:43","onSuccess",e)}),(e=>{r("log","at pages/index/index.vue:46","onFail",e)}),(e=>{r("log","at pages/index/index.vue:49","onProcess",e)}))}})}}},[["render",function(n,t,o,r,a,i){return e.openBlock(),e.createElementBlock("view",{class:"content"},[e.createElementVNode("image",{class:"logo",src:"/static/logo.png"}),e.createElementVNode("button",{type:"primary",onClick:t[0]||(t[0]=(...e)=>i.handleOpenMiniProgram&&i.handleOpenMiniProgram(...e))},"打开小程序"),e.createElementVNode("view",{class:"padding-gap"}),e.createElementVNode("button",{type:"primary",onClick:t[1]||(t[1]=(...e)=>i.handleOpenMiniProgramByQrcode&&i.handleOpenMiniProgramByQrcode(...e))},"二维码打开小程序")])}]]));const l=a("MopSdk"),u={onLaunch:function(){r("log","at App.vue:6","App Launch"),l.initialize({sdkKey:"22LyZEib0gLTQdU3MUauAa2CctUv+NxTLFWyPxC28y2gA4x+JWh7hhNS5aO52BFs",sdkSecret:"65146ffa924ecfdc",apmServer:"https://api.finclip.com",uiConfig:{hideTransitionCloseButton:!0,hideForwardMenu:!1,hideSettingMenu:!1,hideBackToHome:!1,hideFeedbackMenu:!1,capsuleConfig:{capsuleWidth:88,capsuleHeight:32,capsuleRightMargin:7,capsuleCornerRadius:16,capsuleBorderWidth:.5,capsuleBgLightColor:"0x00000000",capsuleBgDarkColor:"0x80ffffff",capsuleBorderLightColor:"0x80ffffff",capsuleBorderDarkColor:"0x26000000",capsuleDividerLightColor:"0x26ffffff",capsuleDividerDarkColor:"0x26000000",moreBtnWidth:32,moreBtnLeftMargin:6,closeBtnWidth:32,closeBtnLeftMargin:6}}},(e=>{r("log","at App.vue:118","App Launch Success",e)}),(e=>{r("log","at App.vue:121","App Launch Fail",e)})),l.setAppletLifecycleCallback((e=>{r("log","at App.vue:126","onInitComplete",e)}),(e=>{r("log","at App.vue:129","onFailure",e)}),(e=>{r("log","at App.vue:132","onCreate",e)}),(e=>{r("log","at App.vue:135","onStart",e)}),(e=>{r("log","at App.vue:138","onResume",e)}),(e=>{r("log","at App.vue:141","onPause",e)}),(e=>{r("log","at App.vue:144","onStop",e)}),(e=>{r("log","at App.vue:147","onDestroy",e)})),l.registerExtensionApi("getMessage",(e=>{const{uuid:n}=e;r("log","at App.vue:155","小程序appId:",l.currentAppletId()),r("log","at App.vue:157","小程序信息:",l.currentApplet()),l.onSuccess(n,{message:"成功了,我来自于Vue"})})),l.setNavigationBarCloseButtonClicked((e=>{r("log","at App.vue:216","setNavigationBarCloseButtonClicked",e),l.finishRunningApplet(e)}))},onShow:function(){},onHide:function(){}};const{app:c,Vuex:s,Pinia:d}={app:e.createVueApp(u)};uni.Vuex=s,uni.Pinia=d,c.provide("__globalStyles",__uniConfig.styles),c._component.mpType="app",c._component.render=()=>{},c.mount("#app")}(Vue,uni.VueShared);