Files
vuefilemanager/public/chunks/oasis/invoices/profile.js
T
2021-05-19 13:35:56 +00:00

1 line
58 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{"+733":function(e,t,a){"use strict";a("B3Yb")},"/xtk":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".form[data-v-5c008239]{max-width:700px}.form.inline-form[data-v-5c008239]{display:flex;position:relative;justify-content:center;margin:0 auto}.form.inline-form .input-wrapper[data-v-5c008239]{position:relative}.form.inline-form .input-wrapper .error-message[data-v-5c008239]{position:absolute;left:0;bottom:-25px}.form.block-form .wrapper-inline[data-v-5c008239]{display:flex;margin:0 -15px}.form.block-form .wrapper-inline .block-wrapper[data-v-5c008239]{width:100%;padding:0 15px}.form.block-form .block-wrapper[data-v-5c008239]{margin-bottom:22px}.form.block-form .block-wrapper label[data-v-5c008239]{font-size:.875em;color:rgba(27,37,57,.8);font-weight:700;display:block;margin-bottom:7px;text-align:left}.form.block-form .block-wrapper[data-v-5c008239]:last-child{margin-bottom:0}.form.block-form .button[data-v-5c008239]{margin-top:50px}.form .inline-wrapper[data-v-5c008239]{display:flex;align-items:center;justify-content:space-between}.form .inline-wrapper .switch-label .input-help[data-v-5c008239]{padding-top:0}.form .inline-wrapper .switch-label .input-label[data-v-5c008239]{font-weight:700;color:#1b2539;font-size:1em;margin-bottom:5px}.form .input-help[data-v-5c008239]{font-size:.75em;color:rgba(27,37,57,.7);line-height:1.35;padding-top:10px;display:block}.single-line-form[data-v-5c008239]{display:flex}.single-line-form .submit-button[data-v-5c008239]{margin-left:20px}.error-message[data-v-5c008239]{font-size:.875em;color:#fd397a;padding-top:5px;display:block;text-align:left}textarea[data-v-5c008239]{width:100%}input[type=date][data-v-5c008239],input[type=email][data-v-5c008239],input[type=number][data-v-5c008239],input[type=password][data-v-5c008239],input[type=text][data-v-5c008239],textarea[data-v-5c008239]{border:1px solid transparent;transition:all .15s ease;font-size:1em;border-radius:8px;padding:13px 20px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-weight:700;outline:0;width:100%;box-shadow:0 1px 5px rgba(0,0,0,.12);background:#fff}input[type=date].is-error[data-v-5c008239],input[type=email].is-error[data-v-5c008239],input[type=number].is-error[data-v-5c008239],input[type=password].is-error[data-v-5c008239],input[type=text].is-error[data-v-5c008239],textarea.is-error[data-v-5c008239]{border-color:#fd397a}input[type=date][data-v-5c008239]::-moz-placeholder,input[type=email][data-v-5c008239]::-moz-placeholder,input[type=number][data-v-5c008239]::-moz-placeholder,input[type=password][data-v-5c008239]::-moz-placeholder,input[type=text][data-v-5c008239]::-moz-placeholder,textarea[data-v-5c008239]::-moz-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=date][data-v-5c008239]:-ms-input-placeholder,input[type=email][data-v-5c008239]:-ms-input-placeholder,input[type=number][data-v-5c008239]:-ms-input-placeholder,input[type=password][data-v-5c008239]:-ms-input-placeholder,input[type=text][data-v-5c008239]:-ms-input-placeholder,textarea[data-v-5c008239]:-ms-input-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=date][data-v-5c008239]::placeholder,input[type=email][data-v-5c008239]::placeholder,input[type=number][data-v-5c008239]::placeholder,input[type=password][data-v-5c008239]::placeholder,input[type=text][data-v-5c008239]::placeholder,textarea[data-v-5c008239]::placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=date][disabled][data-v-5c008239],input[type=email][disabled][data-v-5c008239],input[type=number][disabled][data-v-5c008239],input[type=password][disabled][data-v-5c008239],input[type=text][disabled][data-v-5c008239],textarea[disabled][data-v-5c008239]{background:#fff;color:rgba(27,37,57,.8);-webkit-text-fill-color:rgba(27,37,57,.8);opacity:1;cursor:not-allowed}input[type=color][data-v-5c008239]{width:38px!important;height:40px;border:none;outline:none;background:none;min-width:0!important}.additional-link[data-v-5c008239]{font-size:1em;margin-top:50px;display:block}.additional-link a[data-v-5c008239],.additional-link b[data-v-5c008239]{cursor:pointer}.additional-link a[data-v-5c008239]:hover,.additional-link b[data-v-5c008239]:hover{text-decoration:underline}@media only screen and (max-width:1024px){.form[data-v-5c008239]{max-width:100%}}@media only screen and (max-width:960px){.form .button[data-v-5c008239]{margin-top:20px;width:100%;margin-left:0;margin-right:0}.form input[data-v-5c008239],.form textarea[data-v-5c008239]{width:100%;min-width:100%}.form.block-form .block-wrapper[data-v-5c008239]{display:block}.form.block-form .block-wrapper label[data-v-5c008239]{width:100%;padding-right:0;display:block;margin-bottom:7px;text-align:left!important;font-size:.875em;padding-top:0}.form.block-form .button[data-v-5c008239]{margin-top:25px;margin-left:0;margin-right:0}.form.inline-form[data-v-5c008239]{display:block}.form.inline-form .input-wrapper .error-message[data-v-5c008239]{position:relative;bottom:0}.form .button[data-v-5c008239]{padding:14px 32px}.single-line-form[data-v-5c008239]{display:block}.single-line-form .submit-button[data-v-5c008239]{margin-left:0;margin-top:20px;width:100%}input[type=date][data-v-5c008239],input[type=email][data-v-5c008239],input[type=number][data-v-5c008239],input[type=password][data-v-5c008239],input[type=text][data-v-5c008239],textarea[data-v-5c008239]{padding:14px 20px}}@media only screen and (max-width:690px){.form.block-form .wrapper-inline[data-v-5c008239]{display:block;margin-bottom:32px}}@media (prefers-color-scheme:dark){.form .input-help[data-v-5c008239]{color:#7d858c}.form.block-form .block-wrapper label[data-v-5c008239],.form .inline-wrapper .switch-label .input-label[data-v-5c008239]{color:#bec6cf}input[type=date][data-v-5c008239],input[type=email][data-v-5c008239],input[type=number][data-v-5c008239],input[type=password][data-v-5c008239],input[type=text][data-v-5c008239],textarea[data-v-5c008239]{border-color:#1e2024;background:#1e2024;color:#bec6cf}input[type=date][data-v-5c008239]::-moz-placeholder,input[type=email][data-v-5c008239]::-moz-placeholder,input[type=number][data-v-5c008239]::-moz-placeholder,input[type=password][data-v-5c008239]::-moz-placeholder,input[type=text][data-v-5c008239]::-moz-placeholder,textarea[data-v-5c008239]::-moz-placeholder{color:#7d858c}input[type=date][data-v-5c008239]:-ms-input-placeholder,input[type=email][data-v-5c008239]:-ms-input-placeholder,input[type=number][data-v-5c008239]:-ms-input-placeholder,input[type=password][data-v-5c008239]:-ms-input-placeholder,input[type=text][data-v-5c008239]:-ms-input-placeholder,textarea[data-v-5c008239]:-ms-input-placeholder{color:#7d858c}input[type=date][data-v-5c008239]::placeholder,input[type=email][data-v-5c008239]::placeholder,input[type=number][data-v-5c008239]::placeholder,input[type=password][data-v-5c008239]::placeholder,input[type=text][data-v-5c008239]::placeholder,textarea[data-v-5c008239]::placeholder{color:#7d858c}input[type=date][disabled][data-v-5c008239],input[type=email][disabled][data-v-5c008239],input[type=number][disabled][data-v-5c008239],input[type=password][disabled][data-v-5c008239],input[type=text][disabled][data-v-5c008239],textarea[disabled][data-v-5c008239]{background:#1e2024;color:rgba(125,133,140,.8);-webkit-text-fill-color:rgba(125,133,140,.8)}.popup-wrapper input[type=date][data-v-5c008239],.popup-wrapper input[type=email][data-v-5c008239],.popup-wrapper input[type=number][data-v-5c008239],.popup-wrapper input[type=password][data-v-5c008239],.popup-wrapper input[type=text][data-v-5c008239],.popup-wrapper textarea[data-v-5c008239]{background:#25272c}}.block-form[data-v-5c008239]{max-width:100%}",""])},"0Y5R":function(e,t,a){var r=a("3CjU");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(r,o);r.locals&&(e.exports=r.locals)},"1WCK":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".page-tab[data-v-3fdf99dd]{position:relative}",""])},"2Sb1":function(e,t,a){"use strict";var r={name:"PageHeader",props:["title","canBack"],components:{ChevronLeftIcon:a("CjXH").h}},o=(a("JOXf"),a("KHd+")),i=Object(o.a)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page-header"},[e.canBack?a("div",{staticClass:"go-back",on:{click:function(t){return e.$router.back()}}},[a("chevron-left-icon",{attrs:{size:"17"}})],1):e._e(),e._v(" "),a("div",{staticClass:"content"},[a("h1",{staticClass:"title"},[e._v(e._s(e.title))])])])}),[],!1,null,"9fd0a424",null);t.a=i.exports},"3CjU":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".page-tab-group[data-v-2b2b530c]{margin-bottom:45px}",""])},"3eeM":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".page-header[data-v-9fd0a424]{display:flex;align-items:center;background:#fff;z-index:9;width:100%;position:sticky;top:0;padding-top:20px;padding-bottom:20px}.page-header .title[data-v-9fd0a424]{font-size:1.125em;font-weight:700;color:#1b2539}.page-header .go-back[data-v-9fd0a424]{margin-right:10px;cursor:pointer}.page-header .go-back svg[data-v-9fd0a424]{vertical-align:middle;margin-top:-4px}@media only screen and (max-width:960px){.page-header .title[data-v-9fd0a424]{font-size:1.125em}}@media only screen and (max-width:690px){.page-header[data-v-9fd0a424]{display:none}}@media (prefers-color-scheme:dark){.page-header[data-v-9fd0a424]{background:#141414}.page-header .title[data-v-9fd0a424]{color:#bec6cf}.page-header .icon path[data-v-9fd0a424]{fill:#00bc7e}}",""])},"7gZP":function(e,t,a){"use strict";a.r(t);var r=a("o0o1"),o=a.n(r),i=a("A5+z"),n=a("KfIT"),s=a("gahf"),l=a("4TWA"),p=a("D+dh"),d=a("eZ9V"),c=a("D62o"),u=a("Nv84"),f=a("qefO"),v=a("2Sb1"),m=a("owoR"),b=a("KnjL"),g=a("TJPC"),_=a("L2JU"),h=a("xCqy"),y=a("vDqi"),x=a.n(y);function w(e,t,a,r,o,i,n){try{var s=e[i](n),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function k(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function C(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var $={name:"BillingProfile",props:["user"],components:{ValidationProvider:i.ValidationProvider,ValidationObserver:i.ValidationObserver,EmptyPageContent:n.a,PageTabGroup:s.a,MobileHeader:c.a,SelectInput:l.a,ImageInput:p.a,PageHeader:v.a,ButtonBase:u.a,ThemeLabel:m.a,FormLabel:d.a,required:g.a,InfoBox:b.a,PageTab:f.a},computed:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?k(Object(a),!0).forEach((function(t){C(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):k(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},Object(_.b)(["countries","config"])),data:function(){return{isError:!1,isLoading:!1,profile:{logo:void 0,company:void 0,registration_notes:void 0,ico:void 0,dic:void 0,ic_dph:void 0,address:void 0,city:void 0,postal_code:void 0,country:void 0,bank:void 0,iban:void 0,swift:void 0,phone:void 0,email:void 0,author:void 0,stamp:void 0}}},methods:{createBillingProfile:function(){var e,t=this;return(e=o.a.mark((function e(){var a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.createBillingProfile.validate();case 2:if(e.sent){e.next=7;break}return t.isError=!0,t.errorMessage=t.$t("in_editor.error"),e.abrupt("return");case 7:t.isLoading=!0,a=new FormData,Object.keys(t.profile).forEach((function(e){t.profile[e]&&a.append(e,t.profile[e])})),x.a.post("/api/v1/invoicing/profile",a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){h.a.$emit("toaster",{type:"success",message:t.$t("in.toaster.success_bill_profile")}),t.$store.dispatch("getAppData"),t.$goToInvoice()})).catch((function(e){t.isError=!0,422===e.response.status?Object.keys(e.response.data.errors).forEach((function(a){var r={};r[a]=e.response.data.errors[a],t.$refs.createBillingProfile.setErrors(r)})):h.a.$emit("alert:open",{title:t.$t("popup_error.title"),message:t.$t("popup_error.message")})})).finally((function(){return t.isLoading=!1}));case 11:case"end":return e.stop()}}),e)})),function(){var t=this,a=arguments;return new Promise((function(r,o){var i=e.apply(t,a);function n(e){w(i,r,o,n,s,"next",e)}function s(e){w(i,r,o,n,s,"throw",e)}n(void 0)}))})()}}},P=(a("f/CP"),a("KHd+")),z=Object(P.a)($,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"single-page"}},[a("MobileHeader",{attrs:{title:e.$t(e.$router.currentRoute.meta.title)}}),e._v(" "),a("PageHeader",{attrs:{"can-back":!0,title:e.$t(e.$router.currentRoute.meta.title)}}),e._v(" "),a("div",{staticClass:"medium-width",attrs:{id:"page-content"}},[a("ValidationObserver",{ref:"createBillingProfile",staticClass:"content-page form block-form",attrs:{tag:"div"},on:{submit:function(t){return t.preventDefault(),e.createBillingProfile(t)}},scopedSlots:e._u([{key:"default",fn:function(t){t.invalid;return[a("FormLabel",[e._v(e._s(e.$t("in.form.company_and_logo")))]),e._v(" "),a("InfoBox",[a("p",{domProps:{innerHTML:e._s(e.$t("in.bill_profile_note"))}})]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_logo"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"logo"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("ImageInput",{attrs:{image:e.$getImage(e.profile.logo),error:r[0]},model:{value:e.profile.logo,callback:function(t){e.$set(e.profile,"logo",t)},expression:"profile.logo"}})]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.company_name"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"company",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.company,expression:"profile.company"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your company name...",type:"text"},domProps:{value:e.profile.company},on:{input:function(t){t.target.composing||e.$set(e.profile,"company",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.reg_notes"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("div",{staticClass:"input-wrapper"},[a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"registration_notes"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.profile.registration_notes,expression:"profile.registration_notes"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{rows:"2",placeholder:"Type your company registration notes..."},domProps:{value:e.profile.registration_notes},on:{input:function(t){t.target.composing||e.$set(e.profile,"registration_notes",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1)]),e._v(" "),a("FormLabel",{staticClass:"mt-70"},[e._v(e._s(e.$t("in.form.company_details")))]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.ico"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"ico",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.ico,expression:"profile.ico"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your company ICO...",type:"text"},domProps:{value:e.profile.ico},on:{input:function(t){t.target.composing||e.$set(e.profile,"ico",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.dic"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"dic",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.dic,expression:"profile.dic"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your company DIC...",type:"text"},domProps:{value:e.profile.dic},on:{input:function(t){t.target.composing||e.$set(e.profile,"dic",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.ic_dph"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"ic_dph"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.ic_dph,expression:"profile.ic_dph"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your company IC DPH...",type:"text"},domProps:{value:e.profile.ic_dph},on:{input:function(t){t.target.composing||e.$set(e.profile,"ic_dph",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("FormLabel",{staticClass:"mt-70"},[e._v(e._s(e.$t("in.form.company_address")))]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_address"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"address",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.address,expression:"profile.address"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your company address...",type:"text"},domProps:{value:e.profile.address},on:{input:function(t){t.target.composing||e.$set(e.profile,"address",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"wrapper-inline"},[a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_city"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"city",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.city,expression:"profile.city"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your company city...",type:"text"},domProps:{value:e.profile.city},on:{input:function(t){t.target.composing||e.$set(e.profile,"city",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_postal_code"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"postal_code",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.postal_code,expression:"profile.postal_code"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your company postal code...",type:"text"},domProps:{value:e.profile.postal_code},on:{input:function(t){t.target.composing||e.$set(e.profile,"postal_code",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1)]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_country"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"country",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("SelectInput",{attrs:{default:e.profile.country,options:e.countries,placeholder:"Select your company country",isError:r[0]},model:{value:e.profile.country,callback:function(t){e.$set(e.profile,"country",t)},expression:"profile.country"}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("FormLabel",{staticClass:"mt-70"},[e._v(e._s(e.$t("in.form.bank_info")))]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.bank_name"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"bank",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.bank,expression:"profile.bank"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your bank name...",type:"text"},domProps:{value:e.profile.bank},on:{input:function(t){t.target.composing||e.$set(e.profile,"bank",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.iban"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"iban",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.iban,expression:"profile.iban"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your IBAN...",type:"text"},domProps:{value:e.profile.iban},on:{input:function(t){t.target.composing||e.$set(e.profile,"iban",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.swift_code"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"swift",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.swift,expression:"profile.swift"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your swift code...",type:"text"},domProps:{value:e.profile.swift},on:{input:function(t){t.target.composing||e.$set(e.profile,"swift",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("FormLabel",{staticClass:"mt-70"},[e._v(e._s(e.$t("in.form.author")))]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_phone"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"phone"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.phone,expression:"profile.phone"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your phone number...",type:"text"},domProps:{value:e.profile.phone},on:{input:function(t){t.target.composing||e.$set(e.profile,"phone",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_email"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"email"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.email,expression:"profile.email"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type your email...",type:"email"},domProps:{value:e.profile.email},on:{input:function(t){t.target.composing||e.$set(e.profile,"email",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.author_name"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"author",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.author,expression:"profile.author"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"Type the author invoice name...",type:"text"},domProps:{value:e.profile.author},on:{input:function(t){t.target.composing||e.$set(e.profile,"author",t.target.value)}}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.stamp"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"stamp"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("ImageInput",{attrs:{error:r[0]},model:{value:e.profile.stamp,callback:function(t){e.$set(e.profile,"stamp",t)},expression:"profile.stamp"}})]}}],null,!0)})],1),e._v(" "),e.isError?a("InfoBox",{attrs:{type:"error"}},[a("p",[e._v(e._s(e.$t("in.form.some_issues")))])]):e._e(),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("ButtonBase",{staticClass:"submit-button",staticStyle:{"margin-bottom":"35px"},attrs:{disabled:e.isLoading,loading:e.isLoading,"button-style":"theme",type:"submit"},nativeOn:{click:function(t){return e.createBillingProfile(t)}}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("in.button.store_bill_profile"))+"\n\t\t\t\t")])],1)]}}])})],1)],1)}),[],!1,null,"4524f608",null);t.default=z.exports},"8V88":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".empty-page-content[data-v-985303dc]{width:100%;height:100%;display:flex;align-items:center;text-align:center}.empty-page-content .content[data-v-985303dc]{margin:-70px auto 0;max-width:360px}.empty-page-content .content[data-v-985303dc] .button-base{margin:0 auto}.empty-page-content .icon circle[data-v-985303dc],.empty-page-content .icon line[data-v-985303dc],.empty-page-content .icon path[data-v-985303dc],.empty-page-content .icon polyline[data-v-985303dc]{color:inherit}.empty-page-content .header[data-v-985303dc]{margin-top:15px;margin-bottom:25px}.empty-page-content .title[data-v-985303dc]{font-size:1.4375em;font-weight:700;padding-bottom:5px}.empty-page-content .description[data-v-985303dc]{font-size:1em;font-weight:500}",""])},B007:function(e,t,a){var r=a("J0pd");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(r,o);r.locals&&(e.exports=r.locals)},B3Yb:function(e,t,a){var r=a("/xtk");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(r,o);r.locals&&(e.exports=r.locals)},D62o:function(e,t,a){"use strict";var r=a("xCqy"),o=a("CjXH"),i={name:"MobileHeader",props:["title"],components:{ChevronLeftIcon:o.h,MenuIcon:o.P},methods:{showMobileNavigation:function(){r.a.$emit("mobile-menu:show","user-navigation")},goBack:function(){this.$router.back()}}},n=(a("R6Y3"),a("KHd+")),s=Object(n.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return t("header",{staticClass:"mobile-header"},[t("div",{staticClass:"go-back",on:{click:this.goBack}},[t("chevron-left-icon",{staticClass:"icon",attrs:{size:"17"}})],1),this._v(" "),t("div",{staticClass:"location-name"},[this._v(this._s(this.title))]),this._v(" "),t("div",{staticClass:"mobile-menu",on:{click:this.showMobileNavigation}},[t("menu-icon",{staticClass:"icon",attrs:{size:"17"}})],1)])}),[],!1,null,"699fe34a",null);t.a=s.exports},J0pd:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".form[data-v-4524f608]{max-width:700px}.form.inline-form[data-v-4524f608]{display:flex;position:relative;justify-content:center;margin:0 auto}.form.inline-form .input-wrapper[data-v-4524f608]{position:relative}.form.inline-form .input-wrapper .error-message[data-v-4524f608]{position:absolute;left:0;bottom:-25px}.form.block-form .wrapper-inline[data-v-4524f608]{display:flex;margin:0 -15px}.form.block-form .wrapper-inline .block-wrapper[data-v-4524f608]{width:100%;padding:0 15px}.form.block-form .block-wrapper[data-v-4524f608]{margin-bottom:22px}.form.block-form .block-wrapper label[data-v-4524f608]{font-size:.875em;color:rgba(27,37,57,.8);font-weight:700;display:block;margin-bottom:7px;text-align:left}.form.block-form .block-wrapper[data-v-4524f608]:last-child{margin-bottom:0}.form.block-form .button[data-v-4524f608]{margin-top:50px}.form .inline-wrapper[data-v-4524f608]{display:flex;align-items:center;justify-content:space-between}.form .inline-wrapper .switch-label .input-help[data-v-4524f608]{padding-top:0}.form .inline-wrapper .switch-label .input-label[data-v-4524f608]{font-weight:700;color:#1b2539;font-size:1em;margin-bottom:5px}.form .input-help[data-v-4524f608]{font-size:.75em;color:rgba(27,37,57,.7);line-height:1.35;padding-top:10px;display:block}.single-line-form[data-v-4524f608]{display:flex}.single-line-form .submit-button[data-v-4524f608]{margin-left:20px}.error-message[data-v-4524f608]{font-size:.875em;color:#fd397a;padding-top:5px;display:block;text-align:left}textarea[data-v-4524f608]{width:100%}input[type=date][data-v-4524f608],input[type=email][data-v-4524f608],input[type=number][data-v-4524f608],input[type=password][data-v-4524f608],input[type=text][data-v-4524f608],textarea[data-v-4524f608]{border:1px solid transparent;transition:all .15s ease;font-size:1em;border-radius:8px;padding:13px 20px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-weight:700;outline:0;width:100%;box-shadow:0 1px 5px rgba(0,0,0,.12);background:#fff}input[type=date].is-error[data-v-4524f608],input[type=email].is-error[data-v-4524f608],input[type=number].is-error[data-v-4524f608],input[type=password].is-error[data-v-4524f608],input[type=text].is-error[data-v-4524f608],textarea.is-error[data-v-4524f608]{border-color:#fd397a}input[type=date][data-v-4524f608]::-moz-placeholder,input[type=email][data-v-4524f608]::-moz-placeholder,input[type=number][data-v-4524f608]::-moz-placeholder,input[type=password][data-v-4524f608]::-moz-placeholder,input[type=text][data-v-4524f608]::-moz-placeholder,textarea[data-v-4524f608]::-moz-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=date][data-v-4524f608]:-ms-input-placeholder,input[type=email][data-v-4524f608]:-ms-input-placeholder,input[type=number][data-v-4524f608]:-ms-input-placeholder,input[type=password][data-v-4524f608]:-ms-input-placeholder,input[type=text][data-v-4524f608]:-ms-input-placeholder,textarea[data-v-4524f608]:-ms-input-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=date][data-v-4524f608]::placeholder,input[type=email][data-v-4524f608]::placeholder,input[type=number][data-v-4524f608]::placeholder,input[type=password][data-v-4524f608]::placeholder,input[type=text][data-v-4524f608]::placeholder,textarea[data-v-4524f608]::placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=date][disabled][data-v-4524f608],input[type=email][disabled][data-v-4524f608],input[type=number][disabled][data-v-4524f608],input[type=password][disabled][data-v-4524f608],input[type=text][disabled][data-v-4524f608],textarea[disabled][data-v-4524f608]{background:#fff;color:rgba(27,37,57,.8);-webkit-text-fill-color:rgba(27,37,57,.8);opacity:1;cursor:not-allowed}input[type=color][data-v-4524f608]{width:38px!important;height:40px;border:none;outline:none;background:none;min-width:0!important}.additional-link[data-v-4524f608]{font-size:1em;margin-top:50px;display:block}.additional-link a[data-v-4524f608],.additional-link b[data-v-4524f608]{cursor:pointer}.additional-link a[data-v-4524f608]:hover,.additional-link b[data-v-4524f608]:hover{text-decoration:underline}@media only screen and (max-width:1024px){.form[data-v-4524f608]{max-width:100%}}@media only screen and (max-width:960px){.form .button[data-v-4524f608]{margin-top:20px;width:100%;margin-left:0;margin-right:0}.form input[data-v-4524f608],.form textarea[data-v-4524f608]{width:100%;min-width:100%}.form.block-form .block-wrapper[data-v-4524f608]{display:block}.form.block-form .block-wrapper label[data-v-4524f608]{width:100%;padding-right:0;display:block;margin-bottom:7px;text-align:left!important;font-size:.875em;padding-top:0}.form.block-form .button[data-v-4524f608]{margin-top:25px;margin-left:0;margin-right:0}.form.inline-form[data-v-4524f608]{display:block}.form.inline-form .input-wrapper .error-message[data-v-4524f608]{position:relative;bottom:0}.form .button[data-v-4524f608]{padding:14px 32px}.single-line-form[data-v-4524f608]{display:block}.single-line-form .submit-button[data-v-4524f608]{margin-left:0;margin-top:20px;width:100%}input[type=date][data-v-4524f608],input[type=email][data-v-4524f608],input[type=number][data-v-4524f608],input[type=password][data-v-4524f608],input[type=text][data-v-4524f608],textarea[data-v-4524f608]{padding:14px 20px}}@media only screen and (max-width:690px){.form.block-form .wrapper-inline[data-v-4524f608]{display:block;margin-bottom:32px}}@media (prefers-color-scheme:dark){.form .input-help[data-v-4524f608]{color:#7d858c}.form.block-form .block-wrapper label[data-v-4524f608],.form .inline-wrapper .switch-label .input-label[data-v-4524f608]{color:#bec6cf}input[type=date][data-v-4524f608],input[type=email][data-v-4524f608],input[type=number][data-v-4524f608],input[type=password][data-v-4524f608],input[type=text][data-v-4524f608],textarea[data-v-4524f608]{border-color:#1e2024;background:#1e2024;color:#bec6cf}input[type=date][data-v-4524f608]::-moz-placeholder,input[type=email][data-v-4524f608]::-moz-placeholder,input[type=number][data-v-4524f608]::-moz-placeholder,input[type=password][data-v-4524f608]::-moz-placeholder,input[type=text][data-v-4524f608]::-moz-placeholder,textarea[data-v-4524f608]::-moz-placeholder{color:#7d858c}input[type=date][data-v-4524f608]:-ms-input-placeholder,input[type=email][data-v-4524f608]:-ms-input-placeholder,input[type=number][data-v-4524f608]:-ms-input-placeholder,input[type=password][data-v-4524f608]:-ms-input-placeholder,input[type=text][data-v-4524f608]:-ms-input-placeholder,textarea[data-v-4524f608]:-ms-input-placeholder{color:#7d858c}input[type=date][data-v-4524f608]::placeholder,input[type=email][data-v-4524f608]::placeholder,input[type=number][data-v-4524f608]::placeholder,input[type=password][data-v-4524f608]::placeholder,input[type=text][data-v-4524f608]::placeholder,textarea[data-v-4524f608]::placeholder{color:#7d858c}input[type=date][disabled][data-v-4524f608],input[type=email][disabled][data-v-4524f608],input[type=number][disabled][data-v-4524f608],input[type=password][disabled][data-v-4524f608],input[type=text][disabled][data-v-4524f608],textarea[disabled][data-v-4524f608]{background:#1e2024;color:rgba(125,133,140,.8);-webkit-text-fill-color:rgba(125,133,140,.8)}.popup-wrapper input[type=date][data-v-4524f608],.popup-wrapper input[type=email][data-v-4524f608],.popup-wrapper input[type=number][data-v-4524f608],.popup-wrapper input[type=password][data-v-4524f608],.popup-wrapper input[type=text][data-v-4524f608],.popup-wrapper textarea[data-v-4524f608]{background:#25272c}}.block-form[data-v-4524f608]{max-width:100%}@media only screen and (max-width:960px){.submit-button[data-v-4524f608]{width:100%}}",""])},JOXf:function(e,t,a){"use strict";a("nr4+")},KSns:function(e,t,a){var r=a("8V88");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(r,o);r.locals&&(e.exports=r.locals)},KfIT:function(e,t,a){"use strict";var r=a("CjXH"),o={name:"EmptyPageContent",props:["icon","title","description"],components:{SettingsIcon:r.bb,FileTextIcon:r.A,Edit2Icon:r.t,FileIcon:r.y}},i=(a("SEXA"),a("KHd+")),n=Object(i.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"empty-page-content"},[a("div",{staticClass:"content"},[a("div",{staticClass:"icon"},["file"===e.icon?a("file-icon",{staticClass:"text-theme",attrs:{size:"38"}}):e._e(),e._v(" "),"file-text"===e.icon?a("file-text-icon",{staticClass:"text-theme",attrs:{size:"38"}}):e._e(),e._v(" "),"settings"===e.icon?a("settings-icon",{staticClass:"text-theme",attrs:{size:"38"}}):e._e(),e._v(" "),"edit"===e.icon?a("edit2-icon",{staticClass:"text-theme",attrs:{size:"38"}}):e._e()],1),e._v(" "),a("div",{staticClass:"header"},[a("h1",{staticClass:"title"},[e._v(e._s(e.title))]),e._v(" "),a("h2",{staticClass:"description"},[e._v(e._s(e.description))])]),e._v(" "),e._t("default")],2)])}),[],!1,null,"985303dc",null);t.a=n.exports},KnjL:function(e,t,a){"use strict";var r={name:"InfoBox",props:["type"]},o=(a("pFam"),a("KHd+")),i=Object(o.a)(r,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"info-box",class:this.type},[this._t("default")],2)}),[],!1,null,"8e7c42f6",null);t.a=i.exports},Pq4m:function(e,t,a){"use strict";a("XM3O")},"Qqv+":function(e,t,a){var r=a("biqn");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(r,o);r.locals&&(e.exports=r.locals)},R6Y3:function(e,t,a){"use strict";a("Xm12")},RG1H:function(e,t,a){"use strict";a("0Y5R")},SEXA:function(e,t,a){"use strict";a("KSns")},XM3O:function(e,t,a){var r=a("1WCK");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(r,o);r.locals&&(e.exports=r.locals)},Xm12:function(e,t,a){var r=a("q8nf");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(r,o);r.locals&&(e.exports=r.locals)},aXwl:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".theme-label[data-v-214ff764]{font-size:.875em;color:#00bc7e;font-weight:600;display:block;margin-bottom:20px}",""])},biqn:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".info-box[data-v-8e7c42f6]{padding:20px;border-radius:8px;margin-bottom:32px;background:#f4f5f6;text-align:left}.info-box.error[data-v-8e7c42f6]{background:rgba(253,57,122,.1)}.info-box.error a[data-v-8e7c42f6],.info-box.error p[data-v-8e7c42f6]{color:#fd397a}.info-box.error a[data-v-8e7c42f6]{text-decoration:underline}.info-box p[data-v-8e7c42f6]{line-height:1.6;word-break:break-word;font-weight:600}.info-box p[data-v-8e7c42f6],.info-box p[data-v-8e7c42f6] a{font-size:15px}.info-box p[data-v-8e7c42f6] b{font-size:15px;font-weight:700}.info-box a[data-v-8e7c42f6],.info-box b[data-v-8e7c42f6]{font-weight:700}.info-box a[data-v-8e7c42f6]{font-size:.9375em;line-height:1.6}.info-box ul[data-v-8e7c42f6]{margin-top:15px}.info-box ul[data-v-8e7c42f6],.info-box ul li[data-v-8e7c42f6],.info-box ul li a[data-v-8e7c42f6]{display:block}@media only screen and (max-width:690px){.info-box[data-v-8e7c42f6]{padding:15px}}@media (prefers-color-scheme:dark){.info-box[data-v-8e7c42f6]{background:#1e2024}.info-box p[data-v-8e7c42f6],.info-box ul li[data-v-8e7c42f6]{color:#bec6cf}}",""])},coWe:function(e,t,a){var r=a("aXwl");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(r,o);r.locals&&(e.exports=r.locals)},"f/CP":function(e,t,a){"use strict";a("B007")},gahf:function(e,t,a){"use strict";var r={name:"PageTabGroup"},o=(a("RG1H"),a("KHd+")),i=Object(o.a)(r,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"page-tab-group"},[this._t("default")],2)}),[],!1,null,"2b2b530c",null);t.a=i.exports},hsl7:function(e,t,a){"use strict";a.r(t);var r=a("A5+z"),o=a("KfIT"),i=a("gahf"),n=a("4TWA"),s=a("D+dh"),l=a("eZ9V"),p=a("D62o"),d=a("Nv84"),c=a("qefO"),u=a("2Sb1"),f=a("owoR"),v=a("KnjL"),m=a("TJPC"),b=a("L2JU");function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function _(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var h={name:"BillingProfile",props:["user"],components:{ValidationProvider:r.ValidationProvider,ValidationObserver:r.ValidationObserver,EmptyPageContent:o.a,PageTabGroup:i.a,MobileHeader:p.a,SelectInput:n.a,ImageInput:s.a,PageHeader:u.a,ButtonBase:d.a,ThemeLabel:f.a,FormLabel:l.a,required:m.a,InfoBox:v.a,PageTab:c.a},computed:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(Object(a),!0).forEach((function(t){_(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},Object(b.b)(["countries","config"])),data:function(){return{isLoading:!0,profile:void 0,profileNotExist:!1}},methods:{},created:function(){var e=this;axios.get("/api/v1/invoicing/profile").then((function(t){e.profile=t.data.data.attributes})).catch((function(t){404===t.response.status&&(e.profileNotExist=!0)})).finally((function(){e.isLoading=!1}))}},y=(a("+733"),a("KHd+")),x=Object(y.a)(h,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"single-page"}},[a("MobileHeader",{attrs:{title:e.$t(e.$router.currentRoute.meta.title)}}),e._v(" "),a("PageHeader",{attrs:{title:e.$t(e.$router.currentRoute.meta.title)}}),e._v(" "),e.isLoading||e.profileNotExist?e._e():a("div",{staticClass:"medium-width",attrs:{id:"page-content"}},[a("div",{staticClass:"content-page"},[a("PageTab",[a("PageTabGroup",[a("div",{staticClass:"form block-form"},[a("FormLabel",[e._v(e._s(e.$t("in.form.company_and_logo")))]),e._v(" "),a("InfoBox",[a("p",{domProps:{innerHTML:e._s(e.$t("in.bill_profile_note"))}})]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_logo"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"logo"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("ImageInput",{attrs:{image:e.$getImage(e.profile.logo),error:r[0]},on:{input:function(t){return e.$updateImage("/v1/invoicing/profile","logo",e.profile.logo)}},model:{value:e.profile.logo,callback:function(t){e.$set(e.profile,"logo",t)},expression:"profile.logo"}})]}}],null,!1,708561436)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.company_name"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"company",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.company,expression:"profile.company"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.company},on:{input:[function(t){t.target.composing||e.$set(e.profile,"company",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","company",e.profile.company)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,602588537)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.reg_notes"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("div",{staticClass:"input-wrapper"},[a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"registration_notes",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.profile.registration_notes,expression:"profile.registration_notes"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{rows:"2",placeholder:""},domProps:{value:e.profile.registration_notes},on:{input:[function(t){t.target.composing||e.$set(e.profile,"registration_notes",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","registration_notes",e.profile.registration_notes)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,2266523179)})],1)])],1)]),e._v(" "),a("PageTabGroup",[a("div",{staticClass:"form block-form"},[a("FormLabel",[e._v(e._s(e.$t("in.form.company_details")))]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.ico"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"ico",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.ico,expression:"profile.ico"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.ico},on:{input:[function(t){t.target.composing||e.$set(e.profile,"ico",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","ico",e.profile.ico)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,1896995833)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.dic"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"dic",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.dic,expression:"profile.dic"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.dic},on:{input:[function(t){t.target.composing||e.$set(e.profile,"dic",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","dic",e.profile.dic)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,2605514233)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.ic_dph"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"ic_dph",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.ic_dph,expression:"profile.ic_dph"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.ic_dph},on:{input:[function(t){t.target.composing||e.$set(e.profile,"ic_dph",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","ic_dph",e.profile.ic_dph)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,2481781369)})],1)],1)]),e._v(" "),a("PageTabGroup",[a("div",{staticClass:"form block-form"},[a("FormLabel",[e._v(e._s(e.$t("in.form.company_address")))]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_address"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"address",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.address,expression:"profile.address"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.address},on:{input:[function(t){t.target.composing||e.$set(e.profile,"address",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","address",e.profile.address)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,2432716281)})],1),e._v(" "),a("div",{staticClass:"wrapper-inline"},[a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_city"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"city",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.city,expression:"profile.city"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.city},on:{input:[function(t){t.target.composing||e.$set(e.profile,"city",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","city",e.profile.city)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,516731641)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_postal_code"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"postal_code",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.postal_code,expression:"profile.postal_code"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.postal_code},on:{input:[function(t){t.target.composing||e.$set(e.profile,"postal_code",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","postal_code",e.profile.postal_code)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,3951043385)})],1)]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_country"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"country",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("SelectInput",{attrs:{default:e.profile.country,options:e.countries,placeholder:"",isError:r[0]},on:{input:function(t){return e.$updateText("/v1/invoicing/profile","country",e.profile.country)}},model:{value:e.profile.country,callback:function(t){e.$set(e.profile,"country",t)},expression:"profile.country"}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,3147735975)})],1)],1)]),e._v(" "),a("PageTabGroup",[a("div",{staticClass:"form block-form"},[a("FormLabel",[e._v(e._s(e.$t("in.form.bank_info")))]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.bank_name"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"bank",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.bank,expression:"profile.bank"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.bank},on:{input:[function(t){t.target.composing||e.$set(e.profile,"bank",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","bank",e.profile.bank)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,3525536665)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.iban"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"iban",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.iban,expression:"profile.iban"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.iban},on:{input:[function(t){t.target.composing||e.$set(e.profile,"iban",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","iban",e.profile.iban)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,2075810265)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.swift_code"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"swift",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.swift,expression:"profile.swift"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.swift},on:{input:[function(t){t.target.composing||e.$set(e.profile,"swift",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","swift",e.profile.swift)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,2233459065)})],1)],1)]),e._v(" "),a("PageTabGroup",[a("div",{staticClass:"form block-form"},[a("FormLabel",[e._v(e._s(e.$t("in.form.author")))]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_phone"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"phone",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.phone,expression:"profile.phone"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.phone},on:{input:[function(t){t.target.composing||e.$set(e.profile,"phone",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","phone",e.profile.phone)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,929254329)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in_editor.client_email"))+" ("+e._s(e.$t("global.optional"))+"):")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"email",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.email,expression:"profile.email"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"email"},domProps:{value:e.profile.email},on:{input:[function(t){t.target.composing||e.$set(e.profile,"email",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","email",e.profile.email)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,985804872)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.author_name"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"author",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.profile.author,expression:"profile.author"}],staticClass:"focus-border-theme",class:{"is-error":r[0]},attrs:{placeholder:"",type:"text"},domProps:{value:e.profile.author},on:{input:[function(t){t.target.composing||e.$set(e.profile,"author",t.target.value)},function(t){return e.$updateText("/v1/invoicing/profile","author",e.profile.author)}]}}),e._v(" "),r[0]?a("span",{staticClass:"error-message"},[e._v(e._s(r[0]))]):e._e()]}}],null,!1,4030519929)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("in.form.stamp"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"stamp"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("ImageInput",{attrs:{image:e.$getImage(e.profile.stamp),error:r[0]},on:{input:function(t){return e.$updateImage("/v1/invoicing/profile","stamp",e.profile.stamp)}},model:{value:e.profile.stamp,callback:function(t){e.$set(e.profile,"stamp",t)},expression:"profile.stamp"}})]}}],null,!1,1796642524)})],1)],1)])],1)],1)]),e._v(" "),!e.isLoading&&e.profileNotExist?a("EmptyPageContent",{attrs:{icon:"edit",title:e.$t("in.empty.bill_profile_title"),description:e.$t("in.empty.bill_profile_description")}},[a("router-link",{attrs:{to:{name:"BillingProfileSetUp"},tag:"p"}},[a("ButtonBase",{attrs:{"button-style":"theme"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("in.button.setup_bill_profile"))+"\n\t\t\t\t")])],1)],1):e._e()],1)}),[],!1,null,"5c008239",null);t.default=x.exports},"nr4+":function(e,t,a){var r=a("3eeM");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(r,o);r.locals&&(e.exports=r.locals)},owoR:function(e,t,a){"use strict";var r={name:"TextLabel"},o=(a("wSxI"),a("KHd+")),i=Object(o.a)(r,(function(){var e=this.$createElement;return(this._self._c||e)("b",{staticClass:"theme-label"},[this._t("default")],2)}),[],!1,null,"214ff764",null);t.a=i.exports},pFam:function(e,t,a){"use strict";a("Qqv+")},q8nf:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".mobile-header[data-v-699fe34a]{padding:10px 0;text-align:center;background:#fff;position:sticky;display:none;z-index:6;top:0}.mobile-header>div[data-v-699fe34a]{flex-grow:1;align-self:center;white-space:nowrap}.mobile-header .go-back[data-v-699fe34a]{text-align:left}.mobile-header .location-name[data-v-699fe34a]{line-height:1;text-align:center;width:100%;vertical-align:middle;font-size:.9375em;color:#1b2539;font-weight:700;max-width:220px;overflow:hidden;text-overflow:ellipsis;display:inline-block}.mobile-header .mobile-menu[data-v-699fe34a]{text-align:right}.mobile-header .icon[data-v-699fe34a]{vertical-align:middle;margin-top:-4px}@media only screen and (max-width:690px){.mobile-header[data-v-699fe34a]{display:flex;margin-bottom:15px}}@media (prefers-color-scheme:dark){.mobile-header[data-v-699fe34a]{background:#141414}.mobile-header .location-name[data-v-699fe34a]{color:#bec6cf}}",""])},qefO:function(e,t,a){"use strict";var r={name:"PageTab",props:["isLoading"],components:{Spinner:a("zTYo").a}},o=(a("Pq4m"),a("KHd+")),i=Object(o.a)(r,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-tab"},[this.isLoading?t("div",{attrs:{id:"loader"}},[t("Spinner")],1):this._e(),this._v(" "),this.isLoading?this._e():this._t("default")],2)}),[],!1,null,"3fdf99dd",null);t.a=i.exports},wSxI:function(e,t,a){"use strict";a("coWe")}}]);