PageSourceSearch

https://qalam.ai/_nuxt/d2c1d4b.js

js qalam.ai collected 2026-10-01 10:25:44 UTC 8,161 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[60],{1100:function(t,e,n){"use strict";n.r(e);var o=n(32),l=(n(41),n(65),n(25),n(16),n(13),n(37),n(272)),r=n.n(l),c=n(273),d=n(105),m=n(15),h=(n(482),{mixins:[m.a],head:function(){var t=this.$nuxtI18nHead({addSeoAttributes:!0});return{title:this.$t("metaTags.pagesTitles.contactUs"),meta:[{hid:"description",name:"description",content:this.$t("metaTags.discriptions.contactUs")}].concat(Object(o.a)(t.meta))}},scrollToTop:!0,components:{VueRecaptcha:c.a,VuePhoneNumberInput:r.a},layout:function(t){var e=t.req?t.req.headers.host:location.host;return-1!==e.indexOf("ocr")?"OcrLanding":-1!==e.indexOf("plagiarism")?"plagiarism":-1!==e.indexOf("expert")?"expert":-1!==e.indexOf("translate")?"translate":"default"},data:function(){return{loading:!1,companyName:null,email:null,name:null,formattedPhone:null,phone:null,step:1,description:null,captchaVerified:!1,captchaCode:null,error:!1,phoneValidate:!1,whatsAppMsg:this.$t("main.whatsAppMsg"),isValidPhone:!1,beErrors:{}}},validations:{name:{required:d.required},phone:{required:d.required},companyName:{required:d.required},email:{required:d.required,email:d.email},description:{required:d.required}},methods:{submitForm:function(){var t=this;if(this.error=!1,this.loading=!0,this.formattedPhone&&this.formattedPhone.length.toString()>15||this.formattedPhone&&!1===this.isValidPhone)return this.loading=!1,void(this.phoneValidate=!0);this.phoneValidate=!1;var data={name:this.name,email:this.email,companyName:this.companyName,phone:this.phone,description:this.description,captchaCode:this.captchaCode};this.callContactUsApi(data).then((function(){t.step=2,t.loading=!1})).catch((function(e){t.loading=!1,e.response&&(422==e.response.status||500!=e.response.status&&400!=e.response.status||(t.error=!0))}))},onSubmit:function(){this.captchaVerified=!1,this.captchaCode=null,this.$refs.invisibleRecaptcha.execute()},onVerify:function(t){this.captchaVerified=!0,this.captchaCode=t},onExpired:function(){this.captchaVerified=!1,this.captchaCode=null},resetRecaptcha:function(){this.captchaVerified=!1,this.response=null,this.$refs.recaptcha.reset()},handleInput:function(t){this.isValidPhone=t.isValid,this.phone=t.formattedNumber},returnToContactUSForm:function(){this.step=1,this.name=null,this.email=null,this.companyName=null,this.phone=null,this.formattedPhone=null,this.description=null,this.captchaVerified=!1,this.captchaCode=null},goToLandingPage:function(){this.$router.push(this.localePath("/"))}},computed:{langDirection:function(){return this.$dir()}}}),f=n(7),component=Object(f.a)(h,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[t.loading?o("Loader",{attrs:{loading:t.loading}}):t._e(),t._v(" "),o("section",{staticClass:"mb-10 md:mb-20"},[o("div",[o("div",{staticClass:"flex-none md:flex justify-center items-center mx-0 xl:-mx-2"},[o("div",{staticClass:"text-start w-full md:w-6/12 mx-0 xl:mx-2",class:"md:text-"+("rtl"===t.$dir()?"right":"left")},[o("h1",{class:"font-bold text-heading-mob lg:text-heading-1 w-full lg:w-10/12 "+("rtl"===t.langDirection?"text-right":"text-left")},[t._v("\n            "+t._s(t.$t("tabs.contactUs"))+"\n          ")]),t._v(" "),o("p",{class:"text-body-2-mob lg:text-body-1 mt-4 w-full lg:w-10/12 text-customGrey-500 "+("rtl"===t.langDirection?"text-right":"text-left")},[t._v("\n            "+t._s(t.$t("contactUsInfo.paragraph"))+"\n          ")]),t._v(" "),o("div",{staticClass:"w-full flex flex-col items-start mx-4 mb-4 md:mb-0 mt-8"},[o("div",{staticClass:"flex items-center justify-between -mx-4 mb-2"},[o("img",{staticClass:"mx-4 mb-8",staticStyle:{width:"24px"},attrs:{alt:"sa",src:n(212)}}),t._v(" "),o("div",{class:"flex flex-col items-start mx-4 text-customGrey-500"},[o("span",{staticClass:"mb-2"},[t._v(t._s(t.$t("locations.suadi")))]),t._v(" "),o("span",{staticClass:"mb-2"},[t._v(t._s(t.$t("locations.riyad")))])])]),t._v(" "),o("div",{staticClass:"flex items-center justify-between -mx-4 mb-2 text-customGrey-500"},[o("img",{staticClass:"mx-4 mb-8",staticStyle:{width:"24px"},attrs:{alt:"jo.svg",src:n(211)}}),t._v(" "),o("div",{class:"flex flex-col items-start "+("rtl"===t.langDirection?"pr-4":"pl-4")},[o("span",{staticClass:"mb-2"},[t._v(t._s(t.$t("locations.jordan")))]),t._v(" "),o("span",{staticClass:"mb-2"},[t._v(t._s(t.$t("locations.amman")))])])])])]),t._v(" "),o("div",{staticClass:"w-full md:w-6/12 h-full sm:bg-white flex-col items-start sm:px-8 sm:py-8 sm:rounded-2xl sm:shadow-card sm:max-w-lg relative mt-6 sm:mt-0"},[1==t.step?o("form",[t.phoneValidate?o("Alert",{staticClass:"mb-4",attrs:{msg:t.$t("phoneNum.phoneNotValid")}}):t._e(),t._v(" "),t.error?o("Alert",{staticClass:"mb-4",attrs:{msg:t.$t("errors.somethingWentWrong")}}):t._e(),t._v(" "),o("InputField",{staticClass:"mb-6",attrs:{text:t.$t("contactUsInfo.fullName")},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),o("InputField",{staticClass:"mb-6",attrs:{type:"email",text:t.$t("main.email")},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),t._v(" "),o("InputField",{staticClass:"mb-6",attrs:{text:t.$t("contactUsInfo.companyName")},model:{value:t.companyName,callback:function(e){t.companyName=e},expression:"companyName"}}),t._v(" "),o("div",{staticClass:"text-xs text-gray-400 mb-1"},[t._v("\n              "+t._s(t.$t("main.countryCodeSentense"))+"\n            ")]),t._v(" "),o("VuePhoneNumberInput",{staticClass:"mb-6 h-16 border border-gray-200 rounded-lg",staticStyle:{direction:"ltr !important"},attrs:{align:"left",color:"#008677","valid-color":"#1dd1c9","error-color":"#fd6a6a",translations:{countrySelectorError:t.$t("phoneNum.chooseCountryLabel"),phoneNumberLabel:t.$t("phoneNum.phone"),example:""},"ignored-countries":["IL"],"default-country-code":t.$store.state.ipAddressAndCountry.country||"JO"},on:{update:t.handleInput},model:{value:t.formattedPhone,callback:function(e){t.formattedPhone=e},expression:"formattedPhone"}}),t._v(" "),o("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"w-full mb-6 h-16 border border-gray-200 rounded-lg focus:outline-none focus:ring-1 focus:ring-primary-500",attrs:{maxlength:"255",type:"text",placeholder:t.$t("contactUsInfo.enter1MsgText"),rows:"5"},domProps:{value:t.description}
1,on:{input:function(e){e.target.composing||(t.description=e.target.value)}}}),t._v(" "),o("div",{staticClass:"mb-6 bg-grey-200 w-full border-none"},[o("vue-recaptcha",{ref:"recaptcha",staticClass:"flex items-center justify-center",attrs:{size:"normal",loadRecaptchaScript:!0,sitekey:t.config.captchaSiteKey[t.config.mode]},on:{verify:t.onVerify,expired:t.onExpired}})],1),t._v(" "),t.$v.$invalid||t.$v.$anyError||!t.captchaVerified?o("Button",{staticClass:"w-full",attrs:{disabled:"",text:t.$t("contactUsInfo.submitUrReq"),theme:"disabled",btnRounded:"lg","btn-padding":"xl"}}):o("Button",{staticClass:"w-full",attrs:{text:t.$t("contactUsInfo.submitUrReq"),btnRounded:"xl","btn-padding":"xl"},nativeOn:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.submitForm.apply(null,arguments)}}})],1):t._e(),t._v(" "),2==t.step?o("div",{staticClass:"flex flex-col justify-center items-center"},[o("img",{staticClass:"h-64 w-64",attrs:{alt:"congratulations",src:n(267)}}),t._v(" "),o("div",{staticClass:"text-heading-3 font-bold mb-4"}),t._v(" "),o("div",{staticClass:"w-full max-w-sm leading-relaxed text-body-3 text-customGrey-500 text-center mb-4"},[t._v("\n              "+t._s(t.$t("main.submittedSuccessfuly"))+"\n            ")]),t._v(" "),o("div",{staticClass:"mb-4 flex -mx-2 items-center"},[o("Button",{staticClass:"mx-2",attrs:{text:t.$t("main.mainPage")},nativeOn:{click:function(e){return t.goToLandingPage.apply(null,arguments)}}}),t._v(" "),o("Button",{staticClass:"mx-2",attrs:{theme:"secondary",text:t.$t("main.back")},nativeOn:{click:function(e){return t.returnToContactUSForm.apply(null,arguments)}}})],1)]):t._e()])])])])],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{Loader:n(80).default,Alert:n(474).default,InputField:n(475).default,Button:n(58).default})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.