"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./main-BB7fFseo.cjs"),u=t.defineComponent({__name:"ContactUs",setup(v){const o=t.componentConfig.contactUs,n=t.inject("editable"),e=t.inject("formBounding"),a=t.inject("isMobileSize"),i=t.computed(()=>n?!!t.contactUsWidget.value:!!t.contactUsWidget.value&&(t.contactUsWidget.value.attrs.tel||t.contactUsWidget.value.attrs.qrcode)),s=t.computed(()=>a.value?{left:`${e.left.value+e.width.value}px`,bottom:"30%",transform:"translateX(-100%)"}:{left:`${e.right.value+20}px`,top:"58%"}),r=t.computed(()=>{var c;return t.activeWidgetId.value===((c=t.contactUsWidget.value)==null?void 0:c.id)}),l=()=>{!n||!t.contactUsWidget.value||t.setActiveWidget(t.contactUsWidget.value.id)};return(c,f)=>i.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fixed-contact",style:t.normalizeStyle(s.value),onClick:l},[t.createVNode(t.unref(o),{attrs:t.unref(t.contactUsWidget).attrs,isActive:r.value},null,8,["attrs","isActive"])],4)):t.createCommentVNode("",!0)}}),d=t._export_sfc(u,[["__scopeId","data-v-1bfb89d6"]]);exports.default=d;
