"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/map.js"),r=require("./method.js"),u=require("./model.js");require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/day.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/upload.js");const l=e.defineComponent({__name:"index",setup:l=>(e.onLoad(e=>{let r=o.getMapLbs();u.useModel.source.value=(null==e?void 0:e.source)||"save",r.then(e=>{u.useModel.address.value=e,console.log(e,"地址")})}),(o,l)=>{var n,d,i,s,a,t,v,m,c,f,h,q,j,p,M,b,k;return{a:e.t(null==(d=null==(n=e.unref(u.useModel))?void 0:n.time)?void 0:d.value),b:e.t((null==(a=null==(s=null==(i=e.unref(u.useModel))?void 0:i.userInfo)?void 0:s.value)?void 0:a.name)||""),c:e.t(null==(v=null==(t=e.unref(u.useModel))?void 0:t.day)?void 0:v.value),d:e.t(null==(c=null==(m=e.unref(u.useModel))?void 0:m.weekDay)?void 0:c.value),e:e.t((null==(q=null==(h=null==(f=e.unref(u.useModel))?void 0:f.address)?void 0:h.value)?void 0:q.address)||(null==(M=null==(p=null==(j=e.unref(u.useModel))?void 0:j.address)?void 0:p.value)?void 0:M.formatted_address)||""),f:null==(k=null==(b=e.unref(u.useModel))?void 0:b.devicePosition)?void 0:k.value,g:e.o((...o)=>{var u,l;return(null==(u=e.unref(r.method))?void 0:u.takePhoto)&&(null==(l=e.unref(r.method))?void 0:l.takePhoto(...o))}),h:e.o((...o)=>{var u,l;return(null==(u=e.unref(r.method))?void 0:u.handleWatermarkCameraSwitch)&&(null==(l=e.unref(r.method))?void 0:l.handleWatermarkCameraSwitch(...o))})}})});wx.createPage(l);
