"use strict"; const common_vendor = require("../../../../common/vendor.js"); require("../../../adapter-vue.js"); const TUIKit_utils_env = require("../../../utils/env.js"); const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", props: { show: { type: Boolean, default: () => false } }, emits: ["update:show"], setup(__props, { emit: __emit }) { const props = __props; const showMask = common_vendor.ref(false); common_vendor.watchEffect(() => { showMask.value = props.show; }); const emit = __emit; const toggleView = () => { showMask.value = !showMask.value; emit("update:show", showMask.value); }; return (_ctx, _cache) => { return common_vendor.e({ a: common_vendor.unref(showMask) }, common_vendor.unref(showMask) ? { b: common_vendor.o$1(($event) => !common_vendor.unref(TUIKit_utils_env.isWeChat) && toggleView) } : {}); }; } }); const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-e3dc88b0"]]); wx.createComponent(Component); //# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/common/MaskLayer/index.js.map