1export const __rspack_esm_id=6984;export const __rspack_esm_ids=[6984];export const __webpack_modules__={90192(e,t,r){r.r(t),r.d(t,{AddressDataForm:()=>y,default:()=>g});var s=r(57913),a=r(29952),o=r(53079),l=r(59306),i=r(61191),n=r(41819),u=r(94472),p=r(14874),d=r(71884),m=r(52430),c=r(46818),v=r(40191);function h(e,t,r,s){var a,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,s);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(l=(o<3?a(l):o>3?a(t,r,l):a(t,r))||l);return o>3&&l&&Object.defineProperty(t,r,l),l}class y extends s.$G{get currentLang(){return this.gTranslationService.currentLang}get disableMail(){return this.gCustomerService.isLoggedIn&&!this.gCustomerService.isOperator}get customerMail(){var e,t;return null!=(e=null==(t=this.gCustomerService.state.profile)?void 0:t.email)?e:""}get phonePrefix(){if([n.Ay.LT,n.Ay.BG,n.Ay.UA,n.Ay.HR].includes(this.currentLang)){var e,t;return null!=(e=null==(t=u.hR.find(e=>e.code===this.currentLang))?void 0:t.value)?e:""}return""}get isNipNumeric(){return this.currentLang===n.Ay.PL}get masks(){return{postcode:this.gMaskService.getMask(i.E.POSTCODE),nip:this.gMaskService.getMask(i.E.NIP),phone:this.gMaskService.getMask(i.E.PHONE)}}get messages(){return{nip:{required:this.gTranslationService.translate("Checkout.Address.Form.Register.RequiredVatID"),min:this.gTranslationService.translate("Checkout.Address.Form.Register.RequiredMinVatID"),nip:this.gTranslationService.translate("Checkout.Address.Form.Register.RequiredNipVatID")},phone:{required:this.gTranslationService.translate("Checkout.Address.Form.Register.RequiredPhone"),min:this.gTranslationService.translate("Checkout.Address.Form.Register.RequiredMinPhone"),phone:this.gTranslationService.translate("Checkout.Address.Form.Register.RequiredPhonePhone")},postcode:{required:this.gTranslationService.translate("Checkout.Address.Form.Register.RequiredPostCode"),min:this.gTranslationService.translate("Checkout.Address.Form.Register.RequiredMinPostCode"),postal:this.gTranslationService.translate("Checkout.Address.Form.Register.RequiredMinPostCode")},street:{max_digits:this.gTranslationService.translate("Checkout.Address.Form.InvalidStreet")}}}get isProcessedValue(){return this.currentLang===n.Ay.PL||this.currentLang===n.Ay.SK}phoneBlurHandler(){var e;(null==(e=this.value.phone)?void 0:e.length)&&(this.value.phone=this.value.phone.replace(/\D+/g,""),this.phoneRef.validate(this.value.phone))}nipBlurHandler(){if(this.isNipNumeric&&this.value.nip){var e;this.value.nip=null==(e=this.value.nip)?void 0:e.replace(/\D+/g,""),this.nipRef.validate(this.value.nip)}}postcodeBlurHandler(e){let{value:t}=e.target;t&&this.processPostal(t)}get showEmailTypoWarning(){return this.isProbableTypoInEmailDomain&&!this.emailError}handleEmailBlur(){var e;this.gEvents.trigger(v.A),this.value.email=this.value.email.trim().toLowerCase();let t=this.value.email.split("@")[1],r=this.rules.email&&this.rules.email.length>0&&""===this.value.email;this.isProbableTypoInEmailDomain=!r&&(0,c.XQ)(t),null==(e=this.emailRef)||e.validate(this.value.email)}async processPostal(e){let t=e.replace(/\D+/g,""),r=this.currentLang===n.Ay.PL?2:3,s=this.currentLang===n.Ay.PL?"-":" ";this.isProcessedValue&&t.length>=5&&(t=`${t.substring(0,r)}${s}${t.substring(r,5)}`),this.value.postcode=t,this.postcodeRef.validate(t),this.autoFillCity&&this.handleCityAutofill(t)}async handleCityAutofill(e){var t,r;if(!this.gPostCodeService.isPostcodeComplete(e)){this.value.city="",this.postCodeCustomErrors=[];return}let s=await this.gPostCodeService.getCitiesByPostcode(e);if(!(null==s?void 0:s.length)){this.postCodeCustomErrors=[this.gTranslationService.translate("Checkout.Address.Form.Register.RequiredMinPostCode")];return}this.value.city=null!=(t=null==(r=s[0])?void 0:r.name)?t:""}$beforeMount(){this.useEmail&&this.disableMail&&(this.value.email=this.customerMail)}$mounted(){this.value.phone&&(this.value.phone=this.gCheckoutAddressService.getPhoneWithoutPrefix(this.value.phone))}constructor(...e){super(...e),this.postCodeCustomErrors=[],this.isProbableTypoInEmailDomain=!1}}h([(0,o.y_)(l.II)],y.prototype,"gMaskService",void 0),h([(0,o.y_)(l.dS)],y.prototype,"gTranslationService",void 0),h([(0,o.y_)(p.yz)],y.prototype,"gCustomerService",void 0),h([(0,o.y_)(d.P6)],y.prototype,"gPostCodeService",void 0),h([(0,o.y_)(m.M1)],y.prototype,"gCheckoutAddressService",void 0),h([(0,o.y_)(l.yh)],y.prototype,"gEvents",void 0),h([(0,s.kv)()],y.prototype,"value",void 0),h([(0,s.kv)()],y.prototype,"rules",void 0),h([(0,s.kv)({type:Boolean})],y.prototype,"autoFillCity",void 0),h([(0,s.kv)({default:!0,type:Boolean})],y.prototype,"useEmail",void 0),h([(0,s.kv)({default:!0,type:Boolean})],y.prototype,"useNames",void 0),h([(0,s.kv)({default:!1,type:Boolean})],y.prototype,"useCompany",void 0),h([(0,s.kv)({default:!1,type:Boolean})],y.prototype,"useNip",void 0),h([(0,s.kv)({default:!1,type:Boolean})],y.prototype,"useRegon",void 0),h([(0,s.kv)({default:!1,type:Boolean})],y.prototype,"disablePostal",void 0),h([(0,s.kv)({default:!1,type:Boolean})],y.prototype,"disablePhone",void 0),h([(0,s.kv)({default:"",type:String})],y.prototype,"prefix",void 0),h([(0,s.kv)({default:null})],y.prototype,"emailError",void 0),h([(0,s.kv)({default:null})],y.prototype,"nipError",void 0),h([(0,s.oS)()],y.prototype,"formElementCity",void 0),h([(0,s.oS)()],y.prototype,"phoneRef",void 0),h([(0,s.oS)()],y.prototype,"nipRef",void 0),h([(0,s.oS)()],y.prototype,"postcodeRef",void 0),h([(0,s.oS)()],y.prototype,"emailRef",void 0),y=h([(0,s.XF)({UIFormElement:a.A})],y);let f=(0,s.P9)(y),g=(0,r(81124).A)(f,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"address-data-form"},[e.useNames?t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"firstName",expression:"'firstName'"}],staticClass:"firstName",attrs:{name:"first_name",horizontalLabel:!0,label:e.$t("Checkout.Address.Form.Register.LabelFirstName"),rules:e.rules.first_name,vid:e.prefix+".first_name"}},[t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"firstNameInput",expression:"'firstNameInput'"}],attrs:{trimOnBlur:""},model:{value:e.value.first_name,callback:function(t){e.$set(e.value,"first_name",t)},expression:"value.first_name"}}
1)],1):e._e(),e._v(" "),e.useNames?t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"lastName",expression:"'lastName'"}],staticClass:"lastName",attrs:{name:"last_name",horizontalLabel:!0,label:e.$t("Checkout.Address.Form.Register.LabelLastName"),rules:e.rules.last_name,vid:e.prefix+".last_name"}},[t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"lastNameInput",expression:"'lastNameInput'"}],attrs:{trimOnBlur:""},model:{value:e.value.last_name,callback:function(t){e.$set(e.value,"last_name",t)},expression:"value.last_name"}})],1):e._e(),e._v(" "),e.useEmail?t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"email",expression:"'email'"}],ref:"emailRef",staticClass:"email",attrs:{name:"email",horizontalLabel:!0,label:e.$t("Checkout.Address.Form.Register.LabelEmail"),rules:e.rules.email,vid:e.prefix+".email",customErrors:e.emailError?[e.emailError]:null}},[t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"emailInput",expression:"'emailInput'"}],attrs:{type:"email",disabled:e.disableMail,trimOnBlur:""},on:{blur:e.handleEmailBlur},model:{value:e.value.email,callback:function(t){e.$set(e.value,"email",t)},expression:"value.email"}}),e._v(" "),e.showEmailTypoWarning?t("span",{staticClass:"domain-warning"},[e._v("\n "+e._s(e.$t("Customer.notifications.emailDomain"))+"\n ")]):e._e()],1):e._e(),e._v(" "),e.useCompany?t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"companyName",expression:"'companyName'"}],key:"company",staticClass:"company",attrs:{name:"company",horizontalLabel:!0,label:e.$t("Checkout.Address.Form.Register.LabelCompanyName"),rules:e.rules.company,vid:e.prefix+".company"}},[t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"companyNameInput",expression:"'companyNameInput'"}],attrs:{trimOnBlur:""},model:{value:e.value.company,callback:function(t){e.$set(e.value,"company",t)},expression:"value.company"}})],1):e._e(),e._v(" "),e.useRegon?t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"companyRegon",expression:"'companyRegon'"}],staticClass:"regon is-smaller is-bigger-spacing",attrs:{name:"regon",messages:e.messages.regon,label:e.$t("Checkout.Address.Form.Register.Regon"),rules:e.rules.regon,vid:e.prefix+".regon",horizontalLabel:""}},[t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"companyRegonInput",expression:"'companyRegonInput'"}],attrs:{inputAttrs:{maxlength:30},name:"regon",trimOnBlur:""},model:{value:e.value.regon,callback:function(t){e.$set(e.value,"regon",t)},expression:"value.regon"}})],1):e._e(),e._v(" "),e.useNip?t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"companyNIP",expression:"'companyNIP'"}],key:"nip",ref:"nipRef",staticClass:"nip is-smaller is-bigger-spacing",attrs:{name:"nip",horizontalLabel:!0,messages:e.messages.nip,label:e.$t("Checkout.Address.Form.Register.LabelVatID"),rules:e.rules.nip,vid:e.prefix+".nip",customErrors:e.nipError?[e.nipError]:null}},[t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"companyNIPInput",expression:"'companyNIPInput'"}],key:"nip-input",staticClass:"nip-input",attrs:{mask:e.masks.nip,name:"nip",inputmode:e.isNipNumeric?"numeric":"text",trimOnBlur:""},on:{blur:e.nipBlurHandler},model:{value:e.value.nip,callback:function(t){e.$set(e.value,"nip",t)},expression:"value.nip"}})],1):e._e(),e._v(" "),e.disablePhone?e._e():t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"phone",expression:"'phone'"}],ref:"phoneRef",staticClass:"phone is-info is-bigger-spacing",attrs:{name:"phone",horizontalLabel:!0,label:e.$t("Checkout.Address.Form.Register.LabelPhone"),rules:e.rules.phone,messages:e.messages.phone,vid:e.prefix+".phone"}},[t("div",{staticClass:"info-wrapper"},[t("div",{staticClass:"info"},[t("UIIcon",{staticClass:"is-hint",attrs:{name:"info"}}),e._v(" "),t("span",[e._v("\n "+e._s(e.$t("Checkout.Address.Form.Phone.Info"))+"\n ")])],1),e._v(" "),t("div",{staticClass:"phone-input",class:{"has-prefix":e.phonePrefix}},[e.phonePrefix?t("div",{staticClass:"prefix"},[e._v(e._s(e.phonePrefix))]):e._e(),e._v(" "),t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"phoneInput",expression:"'phoneInput'"}],key:"phone-input",attrs:{mask:e.masks.phone,name:"phone",inputmode:"numeric"},on:{blur:e.phoneBlurHandler},model:{value:e.value.phone,callback:function(t){e.$set(e.value,"phone",t)},expression:"value.phone"}})],1)])]),e._v(" "),t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"street",expression:"'street'"}],staticClass:"street",attrs:{name:"street",horizontalLabel:!0,label:e.$t("Checkout.Address.Form.Register.LabelStreet"),rules:e.rules.street,messages:e.messages.street,vid:e.prefix+".street"}},[t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"streetInput",expression:"'streetInput'"}],attrs:{trimOnBlur:""},model:{value:e.value.street,callback:function(t){e.$set(e.value,"street",t)},expression:"value.street"}})],1),e._v(" "),t("div",{staticClass:"numbers"},[t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"houseNumber",expression:"'houseNumber'"}],staticClass:"house is-smaller",attrs:{name:"house_number",horizontalLabel:!0,label:e.$t("Checkout.Address.Form.Register.LabelHouse"),rules:e.rules.house_number,vid:e.prefix+".house_number"}},[t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"houseNumberInput",expression:"'houseNumberInput'"}],attrs:{trimOnBlur:""},model:{value:e.value.house_number,callback:function(t){e.$set(e.value,"house_number",t)},expression:"value.house_number"}})],1),e._v(" "),t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"apartmentNumber",expression:"'apartmentNumber'"}],staticClass:"apartment is-smaller",attrs:{name:"apartment_number",horizontalLabel:!0,label:e.$t("Checkout.Address.Form.Register.LabelApartament"),rules:e.rules.apartment_number,vid:e.prefix+".apartment_number"}},[t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"apartmentNumberInput",expression:"'apartmentNumberInput'"}],attrs:{trimOnBlur:""}
1,model:{value:e.value.apartment_number,callback:function(t){e.$set(e.value,"apartment_number",t)},expression:"value.apartment_number"}})],1)],1),e._v(" "),t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"postcode",expression:"'postcode'"}],ref:"postcodeRef",staticClass:"postal is-smaller is-bigger-spacing",attrs:{name:"postcode",horizontalLabel:!0,label:e.$t("Checkout.Address.Form.Register.LabelPostCode"),rules:e.rules.postcode,messages:e.messages.postcode,vid:e.prefix+".postcode",customErrors:e.postCodeCustomErrors}},[t("UIInput",{directives:[{name:"cy",rawName:"v-cy",value:"postcodeInput",expression:"'postcodeInput'"}],key:"postcode-input",attrs:{name:"postcode",disabled:e.disablePostal,mask:e.masks.postcode,vid:e.prefix+".postcode",inputmode:"numeric"},on:{input:e.processPostal,blur:e.postcodeBlurHandler},model:{value:e.value.postcode,callback:function(t){e.$set(e.value,"postcode",t)},expression:"value.postcode"}})],1),e._v(" "),t("UIFormElement",{directives:[{name:"cy",rawName:"v-cy",value:"city",expression:"'city'"}],ref:"formElementCity",staticClass:"city",attrs:{name:"city",horizontalLabel:!0,label:e.$t("Checkout.Address.Form.Register.LabelCity"),rules:e.rules.city,vid:e.prefix+".city"}},[t("UIInput",{attrs:{disabled:e.autoFillCity,trimOnBlur:""},model:{value:e.value.city,callback:function(t){e.$set(e.value,"city",t)},expression:"value.city"}})],1)],1)},[],!1,null,"21c356d4",null).exports},29952(e,t,r){r.d(t,{A:()=>n});var s=r(57913),a=r(6003);function o(e,t,r,s){var a,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,s);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(l=(o<3?a(l):o>3?a(t,r,l):a(t,r))||l);return o>3&&l&&Object.defineProperty(t,r,l),l}class l extends s.$G{reset(){this.baseFormElement.reset()}validate(e){this.baseFormElement.validate(e)}}o([(0,s.oS)()],l.prototype,"baseFormElement",void 0),l=o([(0,s.XF)({BaseFormElement:a.A})],l);let i=(0,s.P9)(l),n=(0,r(81124).A)(i,function(){var e=this._self._c;return this._self._setupProxy,e("BaseFormElement",this._g(this._b({ref:"baseFormElement"},"BaseFormElement",this.$attrs,!1),this.$listeners),[this._t("default")],2)},[],!1,null,null,null).exports},6003(e,t,r){r.d(t,{A:()=>F});var s=r(57913),a=r(24887);function o(e,t,r,s){var a,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,s);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(l=(o<3?a(l):o>3?a(t,r,l):a(t,r))||l);return o>3&&l&&Object.defineProperty(t,r,l),l}class l extends s.$G{get formErrorsUID(){return`form-errors-${this.formElementUID}`}}o([(0,s.kv)()],l.prototype,"errors",void 0),o([(0,s.Vb)("formElementUID",{default:""})],l.prototype,"formElementUID",void 0);let i=(0,s.P9)(l);var n=r(81124);let u=(0,n.A)(i,function(){var e=this,t=e._self._c;return e._self._setupProxy,e.errors?.length?t("div",{staticClass:"spark-form-errors",attrs:{id:e.formErrorsUID}},e._l(e.errors,function(r,s){return t("p",{directives:[{name:"cy",rawName:"v-cy:core",value:"validationError",expression:"'validationError'",arg:"core"}],key:s,staticClass:"is-tiny"},[e._v(e._s(r))])}),0):e._e()},[],!1,null,"4de99622",null).exports;var p=r(53079),d=r(59306);function m(e,t,r,s){var a,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,s);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(l=(o<3?a(l):o>3?a(t,r,l):a(t,r))||l);return o>3&&l&&Object.defineProperty(t,r,l),l}let c={main:"spark-label-element",horizontal:"spark-label-horizontal",standard:"spark-label",labelContent:"spark-label-content"};class v extends s.$G{get labelId(){return`label-${this.uid}`}get labelFor(){var e;return null!=(e=this.forInputId)?e:`input-${this.uid}`}get cssClass(){return{[this.fieldClassesName.main]:!0,"css-label":this.labelAsCssContent}}get horizontalLabelClasses(){return[this.fieldClassesName.horizontal,this.fieldClassesName.labelContent]}get standardLabelClasses(){return[this.fieldClassesName.standard,this.fieldClassesName.labelContent]}get floatingLabelClasses(){let e=this.fieldClassesName.standard,t=[e,`${e}-floating`,this.fieldClassesName.labelContent];return"string"==typeof this.labelFloating&&t.push(`${e}-floating-is-${this.labelFloating}`),t}get showLabel(){return!!this.labelContent}get dataLabel(){return!!this.labelAsCssContent&&this.labelContent}get defaultLabel(){let e=this.gTranslationService.translate(`Form.validation.fields.${this.name}`);return e&&"string"==typeof e._field_?e._field_:e.toString()}get useLegacyInputIdBehaviour(){return!1}get attributes(){return"label"===this.tag?this.useLegacyInputIdBehaviour?{for:this.name}:{for:this.labelFor}:{}}get labelContent(){var e;return!1===this.label?"":null!=(e=this.label)?e:this.defaultLabel}}m([(0,p.y_)(d.dS)],v.prototype,"gTranslationService",void 0),m([(0,s.kv)({default:"label",type:String})],v.prototype,"tag",void 0),m([(0,s.kv)({type:String})],v.prototype,"name",void 0),m([(0,s.kv)({type:[String,Boolean]})],v.prototype,"label",void 0),m([(0,s.kv)({type:[Boolean,String],default:!1})],v.prototype,"labelFloating",void 0),m([(0,s.kv)({default:!1,type:Boolean})],v.prototype,"horizontalLabel",void 0),m([(0,s.kv)({default:!1,type:Boolean})],v.prototype,"noLabel",void 0),m([(0,s.kv)({default:!1,type:Boolean})],v.prototype,"labelAsCssContent",void 0),m([(0,s.kv)({required:!1,type:Object,default:()=>c})],v.prototype,"fieldClassesName",void 0),m([(0,s.kv)()],v.prototype,"forInputId",void 0),m([(0,s.ku)("labelId")],v.prototype,"labelId",null),m([(0,s.ku)("labelFor")],v.prototype,"labelFor",null),m([(0,s.ku)("labelContent")],v.prototype,"labelContent",null);let h=(0,s.P9)(v),y=(0,n.A)(h,function(){var e=this._self._c;return this._self._setupProxy,e(this.tag,this._b({tag:"Component",class:this.cssClass},"Component",this.attributes,!1),[this.horizontalLabel?e("div",{class:this.horizontalLabelClasses,attrs:{id:this.labelId,"data-label":this.dataLabel}},[this.labelAsCssContent?this._e():e("span",[this._v("\n "+this._s(this.labelContent)+"\n ")])]):this.noLabel||!this.showLabel||this.labelFloating?this._e():e("div",{class:this.standardLabelClasses,attrs:{id:this.labelId,"data-label":this.dataLabel}},[this.labelAsCssContent?this._e():e("span",[this._v("\n "+this._s(this.labelContent)+"\n ")])]),this._v(" "),this._t("default"),this._v(" "),!this.noLabel&&this.showLabel&&this.labelFloating?e("div",{directives:[{name:"cy",rawName:"v-cy",value:"placeholder",expression:"'placeholder'"}],class:this.floatingLabelClasses,attrs:{id:this.labelId,"data-label":this.dataLabel}},[this.labelAsCssContent?this._e():e("span",[this._v("\n "+this._s(this.labelContent)+"\n ")])]):this._e()],2)},[],!1,null,"6862eee6",null).exports;var f=r(80691);function g(e,t,r,s){var a,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,s);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(l=(o<3?a(l):o>3?a(t,r,l):a(t,r))||l);return o>3&&l&&Object.defineProperty(t,r,l),l}class b extends s.$G{}g([(0,s.kv)({default:"",type:String})],b.prototype,"hint",void 0),b=g([(0,f.A)()],b);let C=(0,s.P9)(b),_=(0,n.A)(C,function(){var e=this._self._c;return this._self._setupProxy,e("div",{staticClass:"spark-form-hint"},[e("p",{staticClass:"form-hint is-tiny"},[this._v(this._s(this.hint))])])},[],!1,null,null,null).exports;var k=r(29293);function I(e,t,r,s){var a,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,s);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(l=(o<3?a(l):o>3?a(t,r,l):a(t,r))||l);return o>3&&l&&Object.defineProperty(t,r,l),l}class E extends s.$G{get validationProvider(){return this.sparkFormElement}get formElementUID(){let e=this.vid||this.name;return e?`${e}_${this.uid}`:this.uid}get required(){return!!this.rules&&!this.noValidate&&("string"==typeof this.rules?this.rules.includes("required"):!!this.rules.required)}get elementFlags(){return this.sparkFormElement.flags}get elementClasses(){return{[this.fieldClassName]:!0,"is-floating":!!this.labelFloating,[`is-floating-${this.labelFloating}
1`]:"string"==typeof this.labelFloating,"has-field-counter":this.showCounter&&void 0!==this.counterLimit,[`is-${this.variant}`]:!!this.variant}}get labelComponent(){return this.preventFormLabelRender?"div":"FormLabel"}counter(){var e,t,r;return`${(null!=(e=null==(r=this.sparkFormElement)?void 0:r.value)?e:"").length}/${null!=(t=this.counterLimit)?t:""}`}reset(){this.sparkFormElement.reset()}validate(...e){return this.sparkFormElement.validate(...e)}getValidatorClasses(e){var t,r,s;if(this.noValidate)return{};let a={...null!=(t=null==e?void 0:e.classes)?t:{}};return(null==(r=this.customErrors)?void 0:r.length)||this.includeErrorsInGetValidatorClasses&&(null==e||null==(s=e.errors)?void 0:s.length)?(a["is-valid"]=!1,a["has-error"]=!0):this.forceHasErrorClass&&(a["has-error"]=!0),this.shouldShowSuccess||(a["is-valid"]=!1),a}getValidationErrors(e){var t,r;return[...null!=(t=null==e?void 0:e.errors)?t:[],...null!=(r=this.customErrors)?r:[]]}getFooterSlotProps(e){return{validator:e,counter:this.counter(),errors:this.getValidationErrors(e)}}isError(e){return this.getValidationErrors(e).length>0}emitValidationEvent(e){this.$emit("invalid",this.isError(e),e.errors)}$mounted(){(0,a.jK)({classes:{invalid:"has-error",valid:"is-valid"}})}}I([(0,s.oS)()],E.prototype,"sparkFormElement",void 0),I([(0,s.ku)("formElementName"),(0,s.kv)({type:String})],E.prototype,"name",void 0),I([(0,s.kv)({type:[String,Boolean],default:null})],E.prototype,"label",void 0),I([(0,s.kv)({type:String})],E.prototype,"value",void 0),I([(0,s.kv)({default:"",type:String})],E.prototype,"hint",void 0),I([(0,s.kv)({type:[Boolean,String],default:!1})],E.prototype,"labelFloating",void 0),I([(0,s.kv)({default:!1,type:Boolean})],E.prototype,"horizontalLabel",void 0),I([(0,s.kv)({type:[Object,String]})],E.prototype,"rules",void 0),I([(0,s.kv)({type:[Object]})],E.prototype,"messages",void 0),I([(0,s.kv)({default:!1,type:Boolean})],E.prototype,"noValidate",void 0),I([(0,s.kv)({default:!1,type:Boolean})],E.prototype,"noLabel",void 0),I([(0,s.kv)({default:!1,type:Boolean})],E.prototype,"noErrorMessage",void 0),I([(0,s.ku)("customErrors"),(0,s.kv)({default:null})],E.prototype,"customErrors",void 0),I([(0,s.kv)({default:!1,type:Boolean})],E.prototype,"labelAsCssContent",void 0),I([(0,s.kv)({default:"lazy",type:String})],E.prototype,"mode",void 0),I([(0,s.kv)({type:String})],E.prototype,"vid",void 0),I([(0,s.kv)({default:!1,type:Boolean})],E.prototype,"showCounter",void 0),I([(0,s.kv)()],E.prototype,"counterLimit",void 0),I([(0,s.kv)({default:!1,type:Boolean})],E.prototype,"preventFormLabelRender",void 0),I([(0,s.kv)({default:"spark-form-element",type:String})],E.prototype,"fieldClassName",void 0),I([(0,s.kv)({default:!0,type:Boolean})],E.prototype,"shouldShowSuccess",void 0),I([(0,s.kv)({default:k.N0.LIGHT,type:String})],E.prototype,"variant",void 0),I([(0,s.kv)()],E.prototype,"forInputId",void 0),I([(0,s.kv)({default:!1,type:Boolean})],E.prototype,"forceHasErrorClass",void 0),I([(0,s.Vb)("includeErrorsInGetValidatorClasses",{default:!1})],E.prototype,"includeErrorsInGetValidatorClasses",void 0),I([(0,s.ku)("validationProvider")],E.prototype,"validationProvider",null),I([(0,s.ku)("formElementUID")],E.prototype,"formElementUID",null),I([(0,s.ku)("required")],E.prototype,"required",null),E=I([(0,s.XF)({ValidationProvider:a.LW,FormErrors:u,FormLabel:y,FormHint:_}),(0,s.q5)(["invalid"])],E);let x=(0,s.P9)(E),F=(0,n.A)(x,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("ValidationProvider",{ref:"sparkFormElement",class:e.elementClasses,attrs:{tag:"div",rules:e.rules,customMessages:e.messages,name:e.name,vid:e.vid||e.name,mode:e.mode},scopedSlots:e._u([{key:"default",fn:function(r){return[e._v("\n "+e._s(e.emitValidationEvent(r))+"\n\n "),t("div",{staticClass:"inner-wrapper",class:e.getValidatorClasses(r)},[e._t("label",function(){return[t(e.labelComponent,{tag:"Component",staticClass:"input-outer-wrapper",attrs:{name:e.name,forInputId:e.forInputId,label:e.label,labelFloating:e.labelFloating,horizontalLabel:e.horizontalLabel,noLabel:e.noLabel,labelAsCssContent:e.labelAsCssContent}}
1,[e._t("default",null,null,r)],2)]},null,r),e._v(" "),e._t("footer",function(){return[e._t("beforeErrors"),e._v(" "),e._t("errors",function(){return[e.noErrorMessage?e._e():t("FormErrors",{attrs:{errors:e.getValidationErrors(r)}})]},null,{errors:e.getValidationErrors(r),noErrorMessage:e.noErrorMessage,validator:r}),e._v(" "),e.showCounter&&e.counterLimit?t("div",{staticClass:"field-counter"},[e._v(e._s(e.counter()))]):e._e(),e._v(" "),e.hint?t("FormHint",{attrs:{hint:e.hint}}):e._e()]},null,e.getFooterSlotProps(r))],2)]}}],null,!0)})},[],!1,null,null,null).exports},40191(e,t,r){class s{}r.d(t,{A:()=>s})},46818(e,t,r){let s=["o2.pl","op.pl","abv.bg","aol.com","arcor.de","atlas.cz","azet.sk","centrum.cz","centrum.sk","citromail.hu","email.cz","email.de","ewetel.net","freemail.hu","freenet.de","gmail.com","gmail.hu","gmx.de","hotmail.com","hotmail.de","hotmail.hu","hotmail.it","hotmail.sk","icloud.com","inbox.lt","inbox.lv","interia.pl","live.com","live.de","mail.bg","mail.de","mail.lv","mail.ru","mailbox.org","me.com","msn.com","onet.pl","online.de","outlook.com","outlook.de","poczta.fm","poczta.onet.pl","pobox.sk","post.cz","post.sk","posteo.de","proton.me","protonmail.com","rocketmail.com","seznam.cz","t-online.de","t-online.hu","tlen.pl","ukr.net","vp.pl","web.de","wp.pl","yahoo.com","yahoo.de","zoznam.sk"];function a(e){return!!e&&s.some(t=>{if(s.includes(e))return!1;let r=function(e,t){if(e===t)return 0;let r=Array.from({length:e.length+1},()=>Array(t.length+1).fill(0));for(let t=1;t<=e.length;t++)r[t][0]=t;for(let e=1;e<=t.length;e++)r[0][e]=e;for(let s=1;s<=e.length;s++)for(let a=1;a<=t.length;a++)e[s-1]===t[a-1]?r[s][a]=r[s-1][a-1]:(r[s][a]=1+Math.min(r[s-1][a],r[s][a-1],r[s-1][a-1]),s>1&&a>1&&e[s-1]===t[a-2]&&e[s-2]===t[a-1]&&(r[s][a]=Math.min(r[s][a],r[s-2][a-2]+1)));return r[e.length][t.length]}(e,t);return e.length<=6?r>0&&r<=1:r>0&&r<=2})}r.d(t,{XQ:()=>a})}};
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.