try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="4384cc2d-9874-4b3c-8cf2-6b387e737b7a",e._sentryDebugIdIdentifier="sentry-dbid-4384cc2d-9874-4b3c-8cf2-6b387e737b7a")}catch(A){}import{i as e,X as s,V as a,af as t,P as n,o,E as d,K as c,Y as r,F as i,U as l,a2 as h,n as u,Q as y}from"./vendor.4f012c28.js";import{b as k,be as p,bf as H,bg as b,G as T,bh as m,b6 as W,b8 as v}from"./index.73b14df2.js";const x={name:"QAForm",components:{EmailIcon:p,CallIcon:H,LiveChatIcon:b},props:{forceTablet:{type:Boolean,default:!1},contactUsCustomLink:{type:String,default:""}},emits:[],setup(n,o){const d=e(!1),c=s(),{csMessageResponseTimeDescription:r}=T(),{chat:i}=v(c),l=m.isHoliday(),h=m.getHolidayClosureDates(),{csPhoneWeekdaysHoursStartText:u,csPhoneWeekdaysHoursEndText:y,csPhoneWeekendHoursStartText:k,csPhoneWeekendHoursEndText:p,csChatWeekdaysHoursStartText:H,csChatWeekdaysHoursEndText:b,csChatWeekendHoursStartText:x,csChatWeekendHoursEndText:C,phoneOnlyWeekdays:f,chatOnlyWeekdays:S,phoneSameHours:E,chatSameHours:g}=W();function P(){window.matchMedia("(max-width: 1200px)").matches||n.forceTablet?d.value=!0:d.value=!1}return a((()=>{P(),window.addEventListener("resize",P)})),t((()=>{window.removeEventListener("resize",P)})),{csPhoneWeekdaysHoursStartText:u,csPhoneWeekdaysHoursEndText:y,csPhoneWeekendHoursStartText:k,csPhoneWeekendHoursEndText:p,csChatWeekdaysHoursStartText:H,csChatWeekdaysHoursEndText:b,csChatWeekendHoursStartText:x,csChatWeekendHoursEndText:C,csMessageResponseTimeDescription:r,phoneOnlyWeekdays:f,phoneSameHours:E,chatOnlyWeekdays:S,chatSameHours:g,tabletContainer:d,onSendMessageClicked:function(){window.location.href=this.contactUsCustomLink||c.resolve({name:"message"}).href},setTabletQAFormContainer:P,chat:i,isHoliday:l,holidayClosures:h}}},C={key:0,class:"top-header"},f={key:1,class:"block"},S={class:"block"},E={class:"icon"},g={class:"message"},P={class:"secondary-header"},w={key:0,class:"caption"},I={key:0,class:"caption"},M={key:1,class:"caption"},D={class:"icon"},O={class:"message"},F={class:"secondary-header"},L={key:0,class:"caption"},_={key:0,class:"caption"},q={key:1,class:"caption"},Q={class:"block"},R={class:"icon"},U={class:"message"},j={class:"secondary-header"};var z=k(x,[["render",function(e,s,a,t,k,p){const H=n("CallIcon"),b=n("LiveChatIcon"),T=n("EmailIcon");return o(),d("div",{class:u(["qa-form",{desktop:!t.tabletContainer,"force-tablet":a.forceTablet}])},[t.tabletContainer?(o(),d("div",C,s[2]||(s[2]=[c("span",{class:"semibold"},"Have a question?",-1),r(" We're here to help.",-1)]))):(o(),d("div",f,s[3]||(s[3]=[c("div",{class:"main-text"},[c("span",{class:"semibold"},"Have a question?"),r(" We're here to help.")],-1)]))),c("div",S,[c("div",E,[i(H)]),c("div",g,[s[5]||(s[5]=c("div",{class:"main-header"},[c("a",{href:"tel:+1-888-746-3455"}," +1-888-746-3455 ")],-1)),c("div",P,[t.phoneOnlyWeekdays?(o(),d("p",w,"Open Mon-Fri "+l(t.csPhoneWeekdaysHoursStartText)+" - "+l(t.csPhoneWeekdaysHoursEndText),1)):(o(),d(h,{key:1},[t.phoneSameHours?(o(),d("p",I,"7 days a week, "+l(t.csPhoneWeekdaysHoursStartText)+" - "+l(t.csPhoneWeekdaysHoursEndText),1)):(o(),d("div",M,[c("span",null,"Mon-Fri "+l(t.csPhoneWeekdaysHoursStartText)+" - "+l(t.csPhoneWeekdaysHoursEndText),1),s[4]||(s[4]=c("br",null,null,-1)),c("span",null,"Sat-Sun "+l(t.csPhoneWeekendHoursStartText)+" - "+l(t.csPhoneWeekendHoursEndText),1)]))],64))])])]),c("div",{class:u(["block",{tablet:t.tabletContainer}])},[c("div",D,[i(b)]),c("div",O,[c("div",{class:"main-header",onClickPassive:s[0]||(s[0]=e=>t.chat())},"Live Chat with us",32),c("div",F,[t.chatOnlyWeekdays?(o(),d("p",L,"Open Mon-Fri "+l(t.csChatWeekdaysHoursStartText)+" - "+l(t.csChatWeekdaysHoursEndText),1)):(o(),d(h,{key:1},[t.chatSameHours?(o(),d("p",_,"7 days a week, "+l(t.csChatWeekdaysHoursStartText)+" - "+l(t.csChatWeekdaysHoursEndText),1)):(o(),d("div",q,[c("span",null,"Mon-Fri "+l(t.csChatWeekdaysHoursStartText)+" - "+l(t.csChatWeekdaysHoursEndText),1),s[6]||(s[6]=c("br",null,null,-1)),c("span",null,"Sat-Sun "+l(t.csChatWeekendHoursStartText)+" - "+l(t.csChatWeekendHoursEndText),1)]))],64))])])],2),c("div",Q,[c("div",R,[i(T)]),c("div",U,[c("div",{class:"main-header",onClickPassive:s[1]||(s[1]=e=>t.onSendMessageClicked())},"Send us a message",32),c("div",j,l(t.csMessageResponseTimeDescription),1)])]),t.isHoliday?(o(),d("div",{key:2,class:u(["holiday",{"holiday-tablet":t.tabletContainer}])},[s[7]||(s[7]=c("span",{class:"semibold"},"Holiday Closure:",-1)),r(" "+l(t.holidayClosures),1)],2)):y("",!0)],2)}]]);export{z as default}; //# sourceMappingURL=QAForm.522bf53e.js.map