',1),ne={class:"et_pb_button_wrapper"},ce=["href"],ae=Object(c["f"])("span",{class:"cta"},[Object(c["f"])("span",{class:"arrow primera next bounceAlpha"}),Object(c["f"])("span",{class:"arrow segunda next bounceAlpha"})],-1),re={key:1,class:"et_pb_pricing_table_wrap"},ie={class:"et_pb_pricing_table et_pb_pricing_table_3"},le={class:"et_pb_pricing_heading"},se={style:{"text-transform":"capitalize"},class:"et_pb_pricing_title"},oe={class:"et_pb_pricing_content_top"},pe={class:"et_pb_et_price"},be={class:"et_pb_sum"},_e={key:0,class:"et_pb_frequency"},de=Object(c["f"])("span",{class:"et_pb_frequency_slash"},"/",-1),ue=Object(c["h"])("month billed annually"),fe=[de,ue],me={key:1,class:"et_pb_frequency"},he=Object(c["f"])("span",{class:"et_pb_frequency_slash"},"/",-1),ge=Object(c["h"])("month "),Oe=[he,ge],je={class:"et_pb_pricing_content"},ye={class:"et_pb_pricing"},ve=Object(c["f"])("li",null,[Object(c["f"])("span",null,"BYOL (BRING YOUR OWN LICENCE)")],-1),we={key:0},ke=Object(c["f"])("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(c["f"])("path",{d:"M1.464 8.535L8.536 1.465M1.464 1.465L8.536 8.535",stroke:"#F24E1E","stroke-width":"1.5","stroke-linecap":"round"})],-1),Ce=Object(c["h"])(" No Web Direct "),xe=[ke,Ce],qe={key:1},Se=Object(c["f"])("svg",{width:"12",height:"9",viewBox:"0 0 12 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Object(c["f"])("path",{d:"M4 6.6L9.9 0.7C10.0833 0.516666 10.3167 0.425 10.6 0.425C10.8833 0.425 11.1167 0.516666 11.3 0.7C11.4833 0.883333 11.575 1.11667 11.575 1.4C11.575 1.68333 11.4833 1.91667 11.3 2.1L4.7 8.7C4.5 8.9 4.26667 9 4 9C3.73333 9 3.5 8.9 3.3 8.7L0.699999 6.1C0.516666 5.91667 0.424999 5.68333 0.424999 5.4C0.424999 5.11667 0.516666 4.88333 0.699999 4.7C0.883332 4.51667 1.11667 4.425 1.4 4.425C1.68333 4.425 1.91667 4.51667 2.1 4.7L4 6.6Z",fill:"#4ECB71"})],-1),Le=Object(c["h"])(" Web Direct included "),Pe=[Se,Le],Te=Object(c["f"])("div",{class:"filemaker-container"},[Object(c["f"])("span",{class:"filemaker-icon"},[Object(c["f"])("img",{src:"https://www.fmcloud.fm/wp-content/uploads/2024/05/Filemaker-icon-color-dark.png",width:"80",height:"80",alt:"Claris_Connect"}),Object(c["h"])(" FileMaker ")])],-1),Ue={class:"et_pb_button_wrapper"},Fe=["href"],De=Object(c["f"])("span",{class:"cta"},[Object(c["f"])("span",{class:"arrow primera next bounceAlpha"}),Object(c["f"])("span",{class:"arrow segunda next bounceAlpha"})],-1),Ie={key:1,class:"cl-footer"},Me=Object(c["g"])('
Awarded best FileMaker hosting service in 2021 by Claris
',2),Be=[Me];function Ae(e,t,n,a,H,W){var $=Object(c["p"])("Baseswitch");return Object(c["l"])(),Object(c["e"])(c["a"],null,[Object(c["f"])("div",r,[i,Object(c["f"])("div",l,[Object(c["f"])("div",s,[Object(c["i"])($,{firstOption:"Yearly",secondOption:"Monthly",modelValue:e.isPaymentTermChecked,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.isPaymentTermChecked=t})},null,8,["modelValue"])]),Object(c["f"])("form",{class:"et_pb_contact_form clearfix",onSubmit:t[11]||(t[11]=Object(c["v"])((function(){return W.sendData&&W.sendData.apply(W,arguments)}),["stop","prevent"]))},[Object(c["f"])("p",o,[p,b,Object(c["u"])(Object(c["f"])("select",{onChange:t[1]||(t[1]=function(){return W.changedFields&&W.changedFields.apply(W,arguments)}),id:"et_pb_contact_region_0",class:"et_pb_contact_select input_select_datacenter",name:"et_pb_contact_region_0","data-required_mark":"required","data-field_type":"select","data-original_id":"region","onUpdate:modelValue":t[2]||(t[2]=function(t){return e.form.region=t}),required:""},[_,(Object(c["l"])(!0),Object(c["e"])(c["a"],null,Object(c["o"])(e.regions,(function(e){return Object(c["l"])(),Object(c["e"])("option",{key:e.id,value:e.id},Object(c["q"])(e.name),9,d)})),128))],544),[[c["s"],e.form.region]])]),Object(c["f"])("p",u,[f,m,Object(c["u"])(Object(c["f"])("select",{onChange:t[3]||(t[3]=function(){return W.changedFields&&W.changedFields.apply(W,arguments)}),"onUpdate:modelValue":t[4]||(t[4]=function(t){return e.form.currency=t}),id:"et_pb_contact_currency_0",class:"et_pb_contact_select input",name:"et_pb_contact_currency_0","data-required_mark":"required","data-field_type":"select","data-original_id":"currency",style:{color:"black"}},[(Object(c["l"])(!0),Object(c["e"])(c["a"],null,Object(c["o"])(e.currencies,(function(e){return Object(c["l"])(),Object(c["e"])("option",{key:e,value:e},Object(c["q"])(e),9,h)})),128))],544),[[c["s"],e.form.currency]])]),Object(c["f"])("p",g,[O,j,Object(c["u"])(Object(c["f"])("input",{onChange:t[5]||(t[5]=function(){return W.changedFields&&W.changedFields.apply(W,arguments)}),onKeypress:t[6]||(t[6]=function(t){return W.allowOnlyNumbers(e.event)}),"onUpdate:modelValue":t[7]||(t[7]=function(t){return e.form.users=t}),type:"number",id:"et_pb_contact_users_0",style:{color:"black"},class:"input",name:"et_pb_contact_users_0","data-required_mark":"required","data-field_type":"input","data-original_id":"users",placeholder:"Users",title:"Only numbers allowed.Minimum length: 1 characters. Maximum length: 3 characters.",maxlength:"3"},null,544),[[c["t"],e.form.users]])]),Object(c["f"])("p",y,[v,w,Object(c["u"])(Object(c["f"])("input",{onKeyup:t[8]||(t[8]=function(){return W.changedFields&&W.changedFields.apply(W,arguments)}),"onUpdate:modelValue":t[9]||(t[9]=function(t){return e.form.email=t}),style:Object(c["k"])([W.inputInvalid,{color:"black"}]),for:"email",type:"email",id:"et_pb_contact_email",class:"input",name:"et_pb_contact_email","data-required_mark":"required","data-field_type":"input","data-original_id":"email",placeholder:"
[email protected]",pattern:"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",title:"",size:"20"},null,36),[[c["t"],e.form.email]]),e.msg.email?(Object(c["l"])(),Object(c["e"])("span",k,Object(c["q"])(e.msg.email),1)):Object(c["d"])("",!0)]),e.isChecked?(Object(c["l"])(),Object(c["e"])("p",C,[x,q,Object(c["f"])("span",S,[L,Object(c["f"])("span",P,[Object(c["f"])("span",T,[Object(c["u"])(Object(c["f"])("input",{"onUpdate:modelValue":t[10]||(t[10]=function(t){return e.form.checked=t}),type:"checkbox",id:"et_pb_contact_agreement",class:"input",value:"","data-id":"-1"},null,512),[[c["r"],e.form.checked]]),U])])])])):Object(c["d"])("",!0)],32),e.isHidden?(Object(c["l"])(),Object(c["e"])("div",F,[Object(c["f"])("button",{onClick:t[12]||(t[12]=function(){return W.sendData&&W.sendData.apply(W,arguments)}),style:Object(c["k"])([W.btnClicked,{padding:"14px !important"}]),class:"et_pb_button et_pb_button_1 et_pb_bg_layout_dark"}," Calculate price ",4)])):Object(c["d"])("",!0)])]),e.isHidden?Object(c["d"])("",!0):(Object(c["l"])(),Object(c["e"])("div",D,[(Object(c["l"])(!0),Object(c["e"])(c["a"],null,Object(c["o"])(W.prices,(function(n){return Object(c["l"])(),Object(c["e"])("div",{key:n.label,class:"et_pb_css_mix_blend_mode_passthrough"},[Object(c["f"])("div",I,["claris"===n.label?(Object(c["l"])(),Object(c["e"])("div",M,[Object(c["f"])("div",B,[Object(c["f"])("div",A,[Object(c["f"])("h3",R,Object(c["q"])(n.label)+" Platform ",1)]),Object(c["f"])("div",V,[Object(c["f"])("span",E,[Object(c["f"])("span",z,Object(c["q"])(W.formatPrice(n[e.form.currency],e.form.currency)),1),e.isPaymentTermChecked?(Object(c["l"])(),Object(c["e"])("span",Y,J)):(Object(c["l"])(),Object(c["e"])("span",N,G))])]),Object(c["f"])("div",K,[Object(c["f"])("ul",Q,[Object(c["f"])("li",null,[Object(c["f"])("span",null,"Storage: "+Object(c["q"])(W.storageIncluded(e.form.users,n.label))+" GB",1)]),Object(c["f"])("li",null,[Object(c["f"])("span",null,"RAM: "+Object(c["q"])(W.ramIncluded(e.form.users,n.label))+" GB",1)]),X,ee]),te]),Object(c["f"])("div",ne,[Object(c["f"])("a",{onClick:t[13]||(t[13]=function(e){return W.sendDataAfterOrderClicked()}),class:"et_pb_button button_table",target:"_blank",href:W.orderUrl(n.label)},[Object(c["h"])(Object(c["q"])(e.btnText)+" ",1),ae],8,ce)])])])):(Object(c["l"])(),Object(c["e"])("div",re,[Object(c["f"])("div",ie,[Object(c["f"])("div",le,[Object(c["f"])("h3",se,Object(c["q"])(n.label)+" Plan ",1)]),Object(c["f"])("div",oe,[Object(c["f"])("span",pe,[Object(c["f"])("span",be,Object(c["q"])(W.formatPrice(n[e.form.currency],e.form.currency)),1),e.isPaymentTermChecked?(Object(c["l"])(),Object(c["e"])("span",me,Oe)):(Object(c["l"])(),Object(c["e"])("span",_e,fe))])]),Object(c["f"])("div",je,[Object(c["f"])("ul",ye,[Object(c["f"])("li",null,[Object(c["f"])("span",null,"Storage: "+Object(c["q"])(W.storageIncluded(e.form.users,n.label))+" GB",1)]),Object(c["f"])("li",null,[Object(c["f"])("span",null,"RAM: "+Object(c["q"])(W.ramIncluded(e.form.users,n.label))+" GB",1)]),ve,Object(c["f"])("li",null,["starter"===n.label?(Object(c["l"])(),Object(c["e"])("span",we,xe)):"pro"===n.label?(Object(c["l"])(),Object(c["e"])("span",qe,Pe)):Object(c["d"])("",!0)])]),Te]),Object(c["f"])("div",Ue,[Object(c["f"])("a",{onClick:t[14]||(t[14]=function(e){return W.sendDataAfterOrderClicked()}),class:"et_pb_button button_table",target:"_blank",href:W.orderUrl(n.label)},[Object(c["h"])(Object(c["q"])(e.btnText)+" ",1),De],8,Fe)])])]))])])})),128))])),e.isHidden?Object(c["d"])("",!0):(Object(c["l"])(),Object(c["e"])("div",Ie,Be))],64)}n("d3b7"),n("7db0"),n("ac1f"),n("5319"),n("4de4"),n("25f0"),n("3ca3"),n("ddb0"),n("2b3d"),n("9861"),n("841c"),n("00b4"),n("1276"),n("a15b"),n("466d"),n("99af");var Re=function(e){return Object(c["n"])("data-v-bc46a9dc"),e=e(),Object(c["m"])(),e},Ve={class:"switchContainer"},Ee={class:"switchLabel"},ze=["checked"],Ne=Re((function(){return Object(c["f"])("div",{class:"slider"},null,-1)})),He={props:{firstOption:String,secondOption:String,modelValue:Boolean},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,a=e;function r(e){n("update:modelValue",e.target.checked)}return console.log(a.firstOption,a.secondOption,a.modelValue),function(e,t){return Object(c["l"])(),Object(c["e"])("div",Ve,[Object(c["f"])("span",null,Object(c["q"])(a.firstOption),1),Object(c["f"])("label",Ee,[Object(c["f"])("input",Object(c["j"])({type:"checkbox",checked:a.modelValue,onChange:r},e.$attrs,{class:"sr-only"}),null,16,ze),Ne]),Object(c["f"])("span",null,Object(c["q"])(a.secondOption),1)])}}},We=(n("d457"),n("6b0d")),Ge=n.n(We);const Ye=Ge()(He,[["__scopeId","data-v-bc46a9dc"]]);var $e=Ye,Ze={data:function(){return{navigatorLang:"",isHidden:!0,isChecked:!0,timer:0,form:{region:"",users:5,currency:"USD",email:"",agent:navigator.userAgent,session:"",checked:!1,sponsorship:"",referer:"",btnOrderClicked:"",paymentTerm:"yearly"},msg:[],reg:/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,inputReg:/[0-9]+/g,regions:[],plans:{},currencies:["EUR","USD"],btnText:"Pricing Details",isPaymentTermChecked:!1}},mounted:function(){var e=this;fetch("https://onemorequote.fmcloud.fm/api/hosting/datacenter").then((function(e){return e.json()})).then((function(t){e.regions=t.response})),fetch("https://onemorequote.fmcloud.fm/api/calculator/price").then((function(e){return e.json()})).then((function(t){e.plans=t.response})),this.form.session=this.generateSession,this.navigatorLang=navigator.language||navigator.userLanguage,this.changeBtnText()},computed:{group:function(){var e=this;if(!this.form.region)return null;var t=this.regions.find((function(t){return t.id===e.form.region}));return t.group||null},regionsWithoutNumbers:function(){return this.form.region&&this.form.region.replace(/\d+/g,"")||null},prices:function(){return this.group&&this.form.users?(e=this.form.users<5?5:this.form.users,e=this.form.users>100?100:this.form.users,this.plans[this.group][e].filter((function(e){return"claris"!==e.label})).filter((function(e){return e})).reverse()):null;var e},generateSession:function(){return"_"+(Date.now().toString(36)+Math.random().toString(36).substring(2,5)).toUpperCase()},getRefererFromLocalStorage:function(){var e=localStorage.getItem("referer");return e},getSponsorshipFromLocalStorage:function(){var e=localStorage.getItem("sponsorship");return e},getUrlParam:function(){var e=new URL("https://automation.fmcloud.fm/webhook/c20d8afc-7d41-4fd7-a8ab-4cd225402942");return e.search=new URLSearchParams(this.form).toString(),e},inputInvalid:function(){return""==this.form.email?"":this.reg.test(this.form.email)?{border:""}:{border:"solid 2px #ed4343"}},btnClicked:function(){return this.validatedFields()?"":{background:"#cecece !important",cursor:"not-allowed"}},language:function(){var e;return e=null!==/-(.*)/.exec(this.navigatorLang)?this.navigatorLang.split("-")[0]:this.navigatorLang,e},updatePaymentTerm:function(){return this.isPaymentTermChecked?"monthly":"yearly"}},methods:{sendData:function(){this.form.referer=this.getRefererFromLocalStorage,this.form.sponsorship=this.getSponsorshipFromLocalStorage,this.validatedFields()&&(fetch(this.getUrlParam),this.isHidden=!this.isHidden,this.isChecked=!1)},sendDataAfterOrderClicked:function(){this.form.btnOrderClicked=this.btnText.split(" ").join("-")},changeBtnText:function(){var e=this,t=["Pricing Details","Configure","Details"],n=1;setInterval((function(){e.btnText=t[n],n=++n%t.length}),12e3)},changedFields:function(){var e=this;this.form.referer=this.getRefererFromLocalStorage,this.form.sponsorship=this.getSponsorshipFromLocalStorage,this.validatedFields()?(clearTimeout(this.timer),this.timer=setTimeout((function(){return fetch(e.getUrlParam)}),2e3),this.isHidden=!1):this.isHidden=!0},validatedFields:function(){return!(""==this.form.email||""==this.form.region||!this.form.checked||!this.reg.test(this.form.email))},allowOnlyNumbers:function(e){e=e||window.event;var t="undefined"==typeof e.which?e.keyCode:e.which,n=String.fromCharCode(t);n.match(/^[0-9]+$/)||e.preventDefault()},formatPrice:function(e,t){var n;if(n=this.isPaymentTermChecked?Math.ceil(1.14*e):e,this.form.users>100){var c=this.form.users-100;n=e+2*c}return"EUR"===t?"".concat(n,"€"):"$".concat(n)},storageIncluded:function(e,t){var n="starter"===t?2:6,c=e<5?5:e,a=c*n>200?200:c*n;return a},ramIncluded:function(e,t){var n="starter"===t?.125:.25,c="starter"===t?4:8,a=e<5?5:e,r=a>5?Math.ceil(c+(a-5)*n):c,i=r>32?32:r;return i},orderUrl:function(e){return"https://onemorequote.fmcloud.fm?type=hosting&lang=".concat(this.language,"&users=").concat(this.form.users,"&plan=").concat(e,"®ion=").concat(this.regionsWithoutNumbers,"&session=").concat(this.form.session,"¤cy=").concat(this.form.currency,"&email=").concat(this.form.email,"&referer=").concat(this.form.referer,"&sponsorship=").concat(this.form.sponsorship,"&btnOrderText=").concat(this.form.btnOrderClicked,"&paymentTerm=").concat(this.form.paymentTerm)}},watch:{updatePaymentTerm:function(e){this.form.paymentTerm=e}},components:{Baseswitch:$e}};const Je=Ge()(Ze,[["render",Ae]]);var Ke=Je,Qe={name:"App",components:{Calculator:Ke}};const Xe=Ge()(Qe,[["render",a]]);var et=Xe;Object(c["b"])(et).mount("#app")},d457:function(e,t,n){"use strict";n("df6e")},df6e:function(e,t,n){}});
0 Comments
Recommended Comments
There are no comments to display.