1(this.webpackJsonpdrazbe=this.webpackJsonpdrazbe||[]).push([[27,46,141,162],{115:function(e,s,t){"use strict";t.d(s,"a",(function(){return i}));var a=t(41);const i=e=>{a.a.is_development&&console.log(e)}},116:function(e,s,t){"use strict";t.r(s);var a=t(1),i=t(128),o=t(27),l=t(15);class r extends a.Component{constructor(){super(...arguments),this.state={flags:[!1,!1,!1,!1],inputValue:"",comparison:"EQ"},this.comparisons=[{value:"EQ",label:"="},{value:"NEQ",label:"\u2260"},{value:"LT",label:"<"},{value:"LTE",label:"<="},{value:"GT",label:">"},{value:"GTE",label:">="}],this.changeComparison=e=>{this.setState({comparison:e.target.value}),this.props.change(e)},this.isNumeric=(e,s,t)=>{if(188===e.which||110===e.which)for(let a=0;a<e.target.value.length;a++)","===e.target.value[a]&&e.preventDefault();if(void 0!==t&&-1!==t.indexOf(e.key))return!0;e.shiftKey&&e.preventDefault(),e.which>=48&&e.which<=57||8===e.which||9===e.which||e.which>=37&&e.which<=40||e.which>=96&&e.which<=105||"float"===s&&(190===e.which||188===e.which||110===e.which)||e.preventDefault()},this.inputElement=null,this.arrayType="root",this.flags=[{id:"de-DE",title:"German"},{id:"it-IT",title:"Italian"},{id:"en-GB",title:"English"},{id:"hu-HU",title:"Hungarian"},{id:"hr-HR",title:"Croatian"},{id:"sr-RS",title:"Serbian"}],this.formatFloatNumber=e=>{if("float"===this.props.type&&0!==e.target.value.length){let s=e.target.value.replace(/\./g,"");s=s.replace(",","."),s=Object(o.q)(s,2,",","."),this.setState({inputValue:s})}this.props.change(e)},this.formatIntegerNumber=e=>{let s=e.target.value;for(;"0"===s.charAt(0);)s=s.substring(1);this.setState({inputValue:s}),e.target.value=s,this.props.change(e)},this.changeTextInput=(e,s)=>{this.setState({inputValue:e.target.value})},this.setValue=e=>{this.setNativeValue(this.inputElement,e),this.inputElement.dispatchEvent(new Event("input",{bubbles:!0}));const s={target:{value:e,name:this.inputElement.name}};this.props.change(s)},this.showLanguage=e=>{let s=this.state.flags;s[e]=!0,this.setState({flags:s})}}setNativeValue(e,s){const t=Object.getOwnPropertyDescriptor(e,"value").set,a=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(a,"value").set;t&&t!==i?i.call(e,s):t.call(e,s)}componentDidMount(){let e=this.props.value;this.arrayType=this.props.arrayType,"float"===this.props.type&&0!==e.length&&(e=Object(o.q)(e,2,",","."));let s={inputValue:e};if(this.props.translations){const e=JSON.parse(localStorage.getItem("E-DRAZBE.JSData"));let t=this.state.flags;for(let s=0;s<this.flags.length;s++)void 0!==this.props.index?void 0!==e.values[this.arrayType][this.props.index]&&void 0!==e.values[this.arrayType][this.props.index][this.props.name+"|"+this.flags[s].id]&&(t[s]=!0):void 0!==e.values[this.arrayType][this.props.name+"|"+this.flags[s].id]&&(t[s]=!0);s.flags=t}this.setState(s)}componentDidUpdate(e,s,t){e.value!==this.props.value&&this.state.inputValue!==this.props.value&&("float"===this.props.type?this.setState({inputValue:Object(o.q)(this.props.value,2,",",".")}):this.setState({inputValue:this.props.value}))}render(){const{t:e}=this.props;if(this.props.display||void 0===this.props.display){let s=this.props.cols;void 0!==s?(s=s.split("/"),s=["col-"+s[0],"col-"+s[1]]):s=["col-md-2","col-md-10"];let t=!1;void 0!==this.props.setDisabled&&!0===this.props.setDisabled&&(t=!0);let i=!1;void 0!==this.props.setReadOnly&&!1!==this.props.setReadOnly&&(i=!0);let r="",n="";"area"===this.props.name?n=" (m2)":Object(o.f)().indexOf(this.props.name)>-1&&(n=" (EUR)"),void 0===this.props.error||Object(o.p)(this.props.error)||this.props.error.code.length&&("FEmandatory"===this.props.error.code?0===this.state.inputValue.length&&(r=" mandatory"):r=" mandatory"),this.props.mandatory&&(n+="*");let p,d,h,c=!1;if("integer"!==this.props.type&&"float"!==this.props.type||(c=!0),"caseNumber"===this.props.name&&(c=!0,p=["-"]),"hangingBuildingNumber"!==this.props.name&&"parcelNumber"!==this.props.name||(c=!0,p=["/","*"]),"managerReference"!==this.props.name&&"payReference"!==this.props.name||(c=!0,p="payReference"===this.props.name?["-","S","I","s","i","R","F","C","N","r","f","c","n"]:["-","S","I","s","i"]),this.props.translations){const e=JSON.parse(localStorage.getItem("E-DRAZBE.JSData"));d=this.flags.map(((e,s)=>Object(l.jsx)("img",{className:"flag_button",alt:e.id,onClick:()=>this.showLanguage(s),src:"/img/flags/"+e.id+".png",loading:"lazy"},e.id))),h=this.flags.map(((t,a)=>{if(this.state.flags[a]){let a="";return void 0!==this.props.index&&(a=void 0!==e.values[this.arrayType][this.props.index][this.props.name+"|"+t.id]?e.values[this.arrayType][this.props.index][this.props.name+"|"+t.id]:e.values[this.arrayType][this.props.name+"|"+t.id]),Object(l.jsxs)("div",{className:"form-group row",children:[Object(l.jsxs)("label",{htmlFor:this.props.name+"|"+t.id,className:s[0]+" col-form-label"+(void 0!==this.props.labelRight?" text-right":""),children:[Object(l.jsx)("img",{className:"label_flag",src:"/img/flags/"+t.id+".png",alt:t.id,loading:"lazy"}),this.props.label+" ("+t.title+")"]}),Object(l.jsx)("div",{className:s[1],children:Object(l.jsx)("input",{className:this.props.type+" form-control "+this.props.name+"|"+t.id,type:"text",defaultValue:a,onChange:e=>this.props.change(e),id:this.props.name+"|"+t.id,name:this.props.name+"|"+t.id})})]},"input_"+t.id)}return null}))}let u=e("placeholders.inputData"),m=e=>this.props.change(e),b=this.state.inputValue;"float"===this.props.type?(m=this.formatFloatNumber,u=e("placeholders.inputData")):"integer"===this.props.type?(u=e("placeholders.inputNumber"),m=this.formatIntegerNumber):"phone"===this.props.name&&(u=e("placeholders.inputPhone"));let v="";void 0!==this.props.labelBold&&!0===this.props.labelBold&&(v="font-weight-bold ");let y="";void 0!==this.props.mainClass&&(y=" "+this.props.mainClass);let g="text";"password"===this.props.name&&(g="password");const j=Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("input",{className:this.props.type+" form-control"+r,type:g,disabled:t,readOnly:i,placeholder:"shareInTheBasicLegalPosition"===this.props.name?e("placeholders.inputFragment"):u,value:b,onKeyDown:c?e=>this.isNumeric(e,this.props.type,p):this.props.onkeydown,onKeyUp:this.onKeyUpHandler,onChange:i?null:e=>this.changeTextInput(e,c),ref:e=>{this.inputElement=e},onBlur:i?null:m,id:this.props.name+(void 0!==this.props.index?this.props.index:""),name:this.props.name,autoComplete:"off"}),"dynamicExtensionInterval"===this.props.name?Object(l.jsxs)("i",{children:[" (",e("auctionExtendedBeforeEnd"),")"]}):"","shareInTheBasicLegalPosition"===this.props.name?Object(l.jsxs)(a.Fragment,{children:[Object(l.jsxs)("div",{className:"mt-2",children:[e("preSelection"),":"]}),Object(l.jsxs)("div",{className:"btn-group mt-2 btn-group-sm",role:"group",children:[Object(l.jsx)("button",{type:"button",className:"edrazbe-button small",onClick:()=>this.setValue("1/1"),children:"1/1"}),Object(l.jsx)("button",{type:"button",className:"edrazbe-button small",onClick:()=>this.setValue("1/2"),children:"1/2"}),Object(l.jsx)("button",{type:"button",className:"edrazbe-button small",onClick:()=>this.setValue("1/3"),children:"1/3"}),Object(l.jsx)("button",{type:"button",className:"edrazbe-button small",onClick:()=>this.setValue("1/4"),children:"1/4"})]})]}):"",this.props.translations?Object(l.jsx)("div",{className:"translation_flags",children:d}):""]});let f=null;return this.props.comparison&&(f=this.comparisons.map(((e,s)=>Object(l.jsx)("option",{value:e.value,children:e.label},this.props.name+"_"+e.value+"_"+s)))),Object(l.jsxs)(a.Fragment,{children:[Object(l.jsxs)("div",{className:"form-group row"+y,children:[Object(l.jsx)("label",{htmlFor:this.props.name+(void 0!==this.props.index?this.props.index:""),className:v+s[0]+" col-form-label"+(void 0!==this.props.labelRight?" text-right":""),children:this.props.label+n}),Object(l.jsx)("div",{className:s[1]+(this.props.translations?" translations":""),children:this.props.comparison?Object(l.jsxs)("div",{className:"row",children:[Object(l.jsx)("div",{className:"col-3",children:Object(l.jsx)("select",{className:"custom-select "+r,value:this.state.comparison,name:this.props.name+"_comparison",onChange:e=>this.changeComparison(e),children:f})}),Object(l.jsx)("div",{className:"col-9",children:j})]}):j})]}),h]})}return""}}s.default=Object(i.a)()(r)},117:function(e,s,t){"use strict";t.r(s);var a=t(1),i=t(27),o=t(128),l=t(41),r=t(15);
1class n extends a.Component{constructor(){super(...arguments),this.state={val:null},this.cols=["col-md-2","col-md-10"],this.disabled=null,this.readOnly=null,this.options=null}change(e){this.setState({val:e.target.value}),this.props.change(e,this.props.index)}componentDidMount(){this.reloadComponent()}componentDidUpdate(e,s,t){(JSON.stringify(e.options)!==JSON.stringify(this.props.options)||e.value!==this.props.value&&this.state.val!==this.props.value)&&this.reloadComponent()}reloadComponent(){if(this.props.display||void 0===this.props.display){if(void 0===this.props.options||null===this.props.options){const{t:e}=this.props;this.options=[{value:null,label:e("placeholders.select")}].map(((e,s)=>Object(r.jsx)("option",{value:e.value,children:e.label},this.props.name+"_"+e.value+"_"+s)))}else this.options=this.props.options.map(((e,s)=>Object(r.jsx)("option",{value:e.value,"data-code":e.code,children:e.label},this.props.name+"_"+e.value+"_"+s)));void 0!==this.props.cols&&(this.cols=this.props.cols,void 0!==this.cols&&(this.cols=this.cols.split("/"),this.cols=["col-"+this.cols[0],"col-"+this.cols[1]])),this.disabled=!1,void 0!==this.props.setDisabled&&!0===this.props.setDisabled&&(this.disabled=!0),this.readOnly=!1,void 0!==this.props.setReadOnly&&!0===this.props.setReadOnly&&(this.readOnly=!0);let e=this.props.value;if(2===this.options.length&&"0"===this.props.value){let e="";void 0!==this.options[1].props.value?(void 0!==this.options[1].props.children&&(e=this.options[1].props.children),l.a.is_development&&"managerIban"===this.props.name&&(e=e.substring(1)),this.change({target:{name:this.props.name,value:this.options[1].props.value,selectedOptions:[{label:e}]}},this.props.index)):void 0!==this.options[1].value&&(void 0!==this.options[1].children&&(e=this.options[1].children),this.change({target:{name:this.props.name,value:this.options[1].value,selectedOptions:[{label:e}]}},this.props.index))}else this.setState({val:e})}}render(){if(null!==this.state.val){if(this.props.display||void 0===this.props.display){let e="",s=[];void 0===this.props.error||Object(i.p)(this.props.error)||("mandatory"===this.props.error.code||"uuid"===this.props.error.code?0!==this.state.val&&"0"!==this.state.val&&0!==this.state.val.length||s.push("mandatory"):"invalid_option"===this.props.error.code&&s.push("mandatory"));let t=["form-group","row"];return void 0!==this.props.mainClass&&(t=t.concat(this.props.mainClass)),this.props.mandatory&&(e="*"),Object(r.jsxs)("div",{className:t.join(" "),children:[Object(r.jsx)("label",{htmlFor:this.props.name,className:this.cols[0]+" col-form-label"+(void 0!==this.props.labelRight?" text-right":""),children:this.props.label+e}),Object(r.jsx)("div",{className:this.cols[1],children:Object(r.jsx)("select",{className:"custom-select "+s.join(" "),disabled:this.disabled,readOnly:this.readOnly,value:this.state.val,id:this.props.name+(void 0!==this.props.index?"_"+this.props.index:""),name:this.props.name,onChange:e=>this.change(e),children:this.options})})]})}return""}return""}}s.default=Object(o.a)()(n)},118:function(e,s,t){"use strict";t.r(s);var a=t(1),i=t(27),o=t(15);class l extends a.Component{constructor(){super(...arguments),this.state={flags:[!1,!1,!1,!1],translations:{},value:this.props.value},this.arrayType="root",this.localStorageName="E-DRAZBE.JSData",this.flags=[{id:"de-DE",title:"German"},{id:"it-IT",title:"Italian"},{id:"en-GB",title:"English"},{id:"hu-HU",title:"Hungarian"},{id:"hr-HR",title:"Croatian"},{id:"sr-RS",title:"Serbian"}],this.onChange=e=>{this.setState({value:e.target.value})},this.remount=()=>{void 0!==this.props.localData&&(this.localStorageName=this.props.localData);let e={value:this.props.value};if(this.arrayType=this.props.arrayType,this.props.translations){const s=JSON.parse(localStorage.getItem(this.localStorageName));let t=[!1,!1,!1,!1],a={};for(let e=0;e<this.flags.length;e++)void 0!==this.props.index?void 0!==s.values[this.arrayType][this.props.index]&&void 0!==s.values[this.arrayType][this.props.index][this.props.name+"|"+this.flags[e].id]&&0!==s.values[this.arrayType][this.props.index][this.props.name+"|"+this.flags[e].id].length&&(t[e]=!0):void 0!==s.values[this.arrayType][this.props.name+"|"+this.flags[e].id]&&0!==s.values[this.arrayType][this.props.name+"|"+this.flags[e].id].length&&(t[e]=!0),void 0!==this.props.index&&void 0!==this.arrayType?void 0!==s.values[this.arrayType][this.props.index]&&void 0!==s.values[this.arrayType][this.props.index][this.props.name+"|"+this.flags[e].id]&&(a[this.props.name+"|"+this.flags[e].id]=s.values[this.arrayType][this.props.index][this.props.name+"|"+this.flags[e].id]):a[this.props.name+"|"+this.flags[e].id]=s.values[this.arrayType][this.props.name+"|"+this.flags[e].id];e.translations=a,e.flags=t}this.setState(e)},this.translationFieldsChange=(e,s)=>{let t=this.state.translations;t[s]=e.target.value,this.setState({translations:t}),this.props.change(e)},this.onKeyUpHandler=e=>{void 0===this.props.error||Object(i.p)(this.props.error)||"mandatory"!==this.props.error.code||e.target.value.length&&e.target.classList.remove("mandatory")},this.showLanguage=e=>{let s=this.state.flags;s[e]=!0,this.setState({flags:s})}}componentDidMount(){this.remount()}componentDidUpdate(e,s,t){(this.props.value!==e.value&&this.props.value!==this.state.value||void 0!==this.props.secondUpdate&&this.props.secondUpdate!==e.secondUpdate)&&this.remount()}
1render(){if(this.props.display||void 0===this.props.display){let e=this.props.cols;void 0!==e?(e=e.split("/"),e=["col-"+e[0],"col-"+e[1]]):e=["col-md-2","col-md-10"];let s=!1;void 0!==this.props.setDisabled&&!0===this.props.setDisabled&&(s=!0);let t=!1;void 0!==this.props.setReadOnly&&(t=!0);let l,r,n="",p=[];void 0===this.props.error||Object(i.p)(this.props.error)||("mandatory"===this.props.error.code&&0===this.props.value.length?p.push(this.props.error.code):"error_not_right_format_semicolon_email"===this.props.error.code&&0!==this.props.value.length&&p.push("mandatory")),this.props.mandatory&&(n="*"),this.props.translations&&(l=this.flags.map(((e,s)=>Object(o.jsx)("img",{className:"flag_button",onClick:()=>this.showLanguage(s),src:"/img/flags/"+e.id+".png",alt:e.id},e.id))),r=this.flags.map(((s,t)=>this.state.flags[t]?Object(o.jsxs)("div",{className:"form-group row",children:[Object(o.jsxs)("label",{htmlFor:this.props.name+"|"+s.id,className:e[0]+" col-form-label"+(void 0!==this.props.labelRight?" text-right":""),children:[Object(o.jsx)("img",{className:"label_flag",src:"/img/flags/"+s.id+".png",alt:s.id}),this.props.label+" ("+s.title+")"]}),Object(o.jsx)("div",{className:e[1],children:Object(o.jsx)("textarea",{className:this.props.type+" form-control "+this.props.name+"|"+s.id,rows:"3",value:this.state.translations[this.props.name+"|"+s.id],onChange:e=>this.translationFieldsChange(e,this.props.name+"|"+s.id),id:this.props.name+"|"+s.id,name:this.props.name+"|"+s.id})})]},"input_"+s.id):null)));let d="";void 0!==this.props.labelBold&&!0===this.props.labelBold&&(d="font-weight-bold ");let h=3;"description"===this.props.name&&(h=6);let c=null;return"informedEmails"===this.props.name&&(c="1000"),Object(o.jsxs)(a.Fragment,{children:[Object(o.jsxs)("div",{className:"form-group row",children:[Object(o.jsx)("label",{htmlFor:this.props.name,className:d+e[0]+" col-form-label"+(void 0!==this.props.labelRight?" text-right":""),children:this.props.label+n}),Object(o.jsxs)("div",{className:e[1]+(this.props.translations?" translations":""),children:[Object(o.jsx)("textarea",{id:this.props.name,name:this.props.name,className:this.props.type+" form-control "+p.join(" "),rows:h,readOnly:t,onKeyUp:this.onKeyUpHandler,placeholder:this.props.placeholder,value:this.state.value,disabled:s,onChange:t?null:e=>this.onChange(e),onBlur:t?null:e=>this.props.change(e),maxLength:c}),this.props.translations?Object(o.jsx)("div",{className:"translation_flags",children:l}):""]})]}),r]})}return""}}s.default=l},119:function(e,s,t){},121:function(e,s,t){"use strict";t.d(s,"a",(function(){return R}));var a=t(117),i=t(1),o=t(128),l=t(15);class r extends i.Component{constructor(){super(...arguments),this.state={val:null,checkboxes:null},this.disabled=null,this.readOnly=null,this.options=null}change(e){this.setState({val:e.target.value}),this.props.change(e,this.props.index)}componentDidMount(){this.reloadComponent()}componentDidUpdate(e,s,t){this.props.values!==e.values&&this.reloadComponent()}reloadComponent(){if(this.props.display||void 0===this.props.display){let e=[];void 0===this.props.options||null===this.props.options||(e=this.props.options.map(((e,s)=>{if(0!==e.value.length){let t=!1;return-1!==this.props.values.indexOf(e.value)&&(t=!0),Object(l.jsxs)("div",{className:"custom-control custom-checkbox mb-1 d-block",children:[Object(l.jsx)("input",{type:"checkbox",className:"custom-control-input",checked:t,id:this.props.name+"_"+e.value,name:this.props.name+"_"+e.value,onChange:e=>this.change(e)}),Object(l.jsx)("label",{className:"custom-control-label",htmlFor:this.props.name+"_"+e.value,children:e.label})]},this.props.name+"_"+s+"_"+e.value)}return null}))),this.setState({checkboxes:e}),this.disabled=!1,void 0!==this.props.setDisabled&&(this.disabled=!0),this.readOnly=!1,void 0!==this.props.setReadOnly&&(this.readOnly=!0)}}render(){if(null!==this.state.checkboxes){if(this.props.display||void 0===this.props.display){let e="";return this.props.mandatory&&(e="*"),Object(l.jsxs)(i.Fragment,{children:[Object(l.jsx)("div",{className:"mb-2",children:this.props.label+e}),Object(l.jsx)("div",{className:"customScroll",children:this.state.checkboxes})]})}return""}return""}}var n=Object(o.a)()(r),p=t(27),d=t(127),h=t(125);class c extends i.Component{constructor(){super(...arguments),this.state={val:null},this.cols=["col-md-2","col-md-10"],this.disabled=null,this.readOnly=null,this.options=null}change(e){this.setState({val:e.value}),this.props.change({target:{name:this.props.name,value:e.value}},this.props.index)}componentDidMount(){"cadastralMunicipalityCode"===this.props.name?this.options=Object(d.d)():"cadastralMunicipalityName"===this.props.name&&(this.options=Object(d.c)()),this.reloadComponent()}reloadComponent(){(this.props.display||void 0===this.props.display)&&(this.cols=this.props.cols,void 0!==this.cols&&(this.cols=this.cols.split("/"),this.cols=["col-"+this.cols[0],"col-"+this.cols[1]]),this.disabled=!1,void 0!==this.props.setDisabled&&(this.disabled=!0),this.readOnly=!1,void 0!==this.props.setReadOnly&&(this.readOnly=!0),this.setState({val:this.props.value}))}componentDidUpdate(e,s,t){e.value!==this.props.value&&this.setState({val:this.props.value})}
1render(){if(null!==this.state.val){const{t:e}=this.props;if(this.props.display||void 0===this.props.display){let s,t="",a=[];void 0===this.props.error||Object(p.p)(this.props.error)||"mandatory"!==this.props.error.code&&"uuid"!==this.props.error.code||0!==this.state.val&&"0"!==this.state.val&&0!==this.state.val.length||a.push("mandatory"),this.props.mandatory&&(t="*"),s=void 0!==this.props.error&&null!==this.props.error&&"mandatory"===this.props.error.code?{placeholder:e=>({...e,color:"var(--gray500)",fontWeight:"500"}),control:e=>({...e,background:"var(--mandatory)",border:"1px solid #E7E5ED",borderRadius:"4px"})}:document.getElementsByTagName("body")[0].classList.contains("darkMode")?{placeholder:e=>({...e,color:"var(--gray500)",fontWeight:"500"}),option:e=>({...e,background:"#2b384a"}),singleValue:e=>({...e,color:"#fff"}),control:e=>({...e,background:"#2b384a",border:"1px solid #364458"})}:{placeholder:e=>({...e,color:"var(--gray500)",fontWeight:"500"}),control:e=>({...e,border:"1px solid #E7E5ED",borderRadius:"4px"}),singleValue:e=>({...e,color:"var(--slate900)",fontFamily:"Manrope",fontWeight:"600",fontSize:"14px",lineHeight:"19px"})};let i={};return-1!==["cadastralMunicipalityName","cadastralMunicipalityCode"].indexOf(this.props.name)&&(i.noOptionsMessage=()=>e("notExists")),Object(l.jsxs)("div",{className:"form-group row",children:[Object(l.jsx)("label",{htmlFor:this.props.name,className:this.cols[0]+" col-form-label"+(void 0!==this.props.labelRight?" text-right":""),children:this.props.label+t}),Object(l.jsx)("div",{className:this.cols[1],children:Object(l.jsx)(h.a,{className:a.join(" "),disabled:this.disabled,readOnly:this.readOnly,value:"0"!==this.state.val?{value:this.state.val,label:this.state.val}:"",id:this.props.name+(void 0!==this.props.index?"_"+this.props.index:""),name:this.props.name,onChange:e=>this.change(e),options:this.options,placeholder:e("placeholders.select"),noResultsText:e("search.notFound"),styles:s,...i})})]})}return""}return""}}var u=Object(o.a)()(c),m=t(116),b=t(118),v=t(122),y=t(32),g=t.n(y),j=t(120);class f extends i.Component{constructor(){super(...arguments),this.state={labelAppendix:"",inputClass:[]},this.disabledYearFuture=e=>!!(e&&e>g()().endOf("day"))||!!(e&&e<g()("01/01/1500")),this.onChange=e=>{this.props.change(e,this.props.name)}}mandatoryField(){let e="",s=[];void 0===this.props.error||Object(p.p)(this.props.error)||"mandatory"!==this.props.error.code||void 0!==this.props.value&&0!==this.props.value.length||s.push(this.props.error.code),this.props.mandatory&&(e="*"),this.setState({labelAppendix:e}),this.setState({inputClass:s})}componentDidMount(){this.mandatoryField()}componentDidUpdate(e,s,t){e.value!==this.props.value&&this.mandatoryField()}render(){if(this.props.display||void 0===this.props.display){let e=this.props.cols;void 0!==e?(e=e.split("/"),e=["col-"+e[0],"col-"+e[1]]):e=["col-md-2","col-md-10"];let s=!1;void 0!==this.props.setDisabled&&!0===this.props.setDisabled&&(s=!0);let t="";void 0!==this.props.value&&0!==this.props.value.length&&(t=g()({year:this.props.value}));const{t:a}=this.props;return Object(l.jsxs)("div",{className:"form-group row dateTimeWrapper",children:[Object(l.jsx)("label",{htmlFor:this.props.name,className:e[0]+" col-form-label"+(void 0!==this.props.labelRight?" text-right":""),children:this.props.label+this.state.labelAppendix}),Object(l.jsx)("div",{className:e[1],children:Object(l.jsx)(j.a,{picker:"year",disabled:s,placeholder:a("placeholders.selectYear"),value:t,disabledDate:this.disabledYearFuture,className:this.state.inputClass.join(" "),onChange:e=>this.onChange(e),style:{width:"100%"}})})]})}return""}}var O=Object(o.a)()(f),x=t(124),D=t(149);var N=Object(o.a)()((e=>{let[s,t]=Object(i.useState)(1);if(Object(i.useEffect)((()=>{void 0!==e.value&&t("false"===e.value||!1===e.value?0:1)}),[e.value]),e.display||void 0===e.display){let a=e.cols;void 0!==a?(a=a.split("/"),a=["col-"+a[0],"col-"+a[1]]):a=["col-md-2","col-md-10"];const i=()=>{s=0===s?1:0,e.change(e.name,s),t(s)};let o,r;return void 0!==e.options&&e.options.forEach((s=>{"0"===s.code?o=Object(l.jsx)("label",{style:{maxWidth:"min-content"},className:a[0]+" col-form-label",children:e.options[1].title}):r=Object(l.jsx)("label",{style:{maxWidth:"min-content"},className:a[0]+" col-form-label",children:e.options[0].title})})),Object(l.jsxs)("div",{className:"form-group row",children:[o,Object(l.jsx)("div",{className:a[1]+" col-form-label toggle-btn",children:Object(l.jsx)(D.a,{name:e.name,value:s,onChange:i,styles:{track:{backgroundColor:"#e83f3f"},trackChecked:{backgroundColor:"#2eb853"},button:{backgroundColor:"#f6f9ff"},buttonChecked:{backgroundColor:"#f6f9ff"}}})}),r]})}return""})),E=t(126);class S extends i.Component{constructor(){super(...arguments),this.state={address:null,componentDidMount:!1,hideAddress:!1},this.countryList=Object(E.b)(),this.zipList=Object(E.e)(),this.cityName=Object(E.a)(),this.onChange=(e,s,t)=>{let a={...this.state.address};void 0!==e.target?a[s]=e.target.value:a[s]=e.value,"zip"===s&&"Slovenija"===this.state.address.country?a.city=Object(E.c)(a[s]):"city"===s&&"Slovenija"===this.state.address.country?a.zip=Object(E.d)(a[s]):"country"===s&&(a.city="",a.zip=""),this.setState({address:a}),void 0!==t&&t&&this.props.change(a,this.props.name,this.props.index)},this.textInput=(e,s,t,a,i,o)=>{let r="settlement"!==e&&void 0!==this.props.error&&null!==this.props.error&&"mandatory"===this.props.error.code&&0===this.state.address[e].length?" "+this.props.error.code:"";return Object(l.jsxs)("div",{className:"form-group row",children:[Object(l.jsx)("label",{htmlFor:this.props.name+"_"+e,className:a[0]+" col-form-label",children:s+t}),Object(l.jsx)("div",{className:a[1],children:Object(l.jsx)("input",{readOnly:o,placeholder:i,value:"****"!==this.state.address[e]&&null!==this.state.address[e]?this.state.address[e]:"",id:this.props.name+"_"+e,name:this.props.name+"_"+e,className:"form-control"+r,type:"text",onCh
1ange:o?null:s=>this.onChange(s,e),onBlur:o?null:()=>this.props.change(this.state.address,this.props.name,this.props.index)})})]})},this.selectInput=(e,s,t,a,i,o,r)=>{let n=null;const{t:p}=this.props;let d;return 0!==this.state.address[e].length&&(n={value:this.state.address[e],label:this.state.address[e]}),d=void 0!==this.props.error&&null!==this.props.error&&"mandatory"===this.props.error.code&&0===this.state.address[e].length?document.getElementsByTagName("body")[0].classList.contains("darkMode")?{placeholder:e=>({...e,color:"#ff6969;"}),option:e=>({...e,background:"#2b384a",color:"#fff"}),control:e=>({...e,background:"#2b384a",border:"1px solid #364458"})}:{placeholder:e=>({...e,color:"var(--gray500)",fontWeight:"500"}),control:e=>({...e,background:"var(--mandatory)",border:"1px solid #E7E5ED",borderRadius:"4px"})}:document.getElementsByTagName("body")[0].classList.contains("darkMode")?{control:e=>({...e,background:"#2b384a",border:"1px solid #364458"}),option:e=>({...e,background:"#2b384a",color:"#fff"}),singleValue:e=>({...e,color:"#fff"}),placeholder:e=>({...e,color:"#fff"})}:{placeholder:e=>({...e,color:"var(--gray500)",fontWeight:"500"}),control:e=>({...e,background:"var(--paleGray)",border:"1px solid #E7E5ED",borderRadius:"4px"}),singleValue:e=>({...e,color:"var(--slate900)",fontFamily:"Manrope",fontWeight:"600",fontSize:"14px",lineHeight:"19px"})},Object(l.jsxs)("div",{className:"form-group row",children:[Object(l.jsx)("label",{htmlFor:this.props.name+"_"+e,className:a[0]+" col-form-label",children:s+t}),Object(l.jsx)("div",{className:a[1],children:Object(l.jsx)(h.a,{id:this.props.name+"_"+e,name:this.props.name+"_"+e,isDisabled:r,options:o,value:n,placeholder:i,onChange:r?null:s=>this.onChange(s,e,!0),styles:d,noOptionsMessage:()=>p("notExists")})})]})}}componentDidMount(){this.reloadAddress()}reloadAddress(){let e=!1;void 0!==this.props.hideAddress&&this.props.hideAddress.length>0&&-1!==this.props.hideAddress.indexOf(this.props.name)&&(e=!0),this.setState({hideAddress:e});const s=this.getAddress(e);this.setState({address:s})}getAddress(e){let s="";(void 0!==e&&!0===e||this.state.hideAddress)&&(s="****");let t={street:s,houseNumber:s,zip:"",city:"",settlement:"",country:"Slovenija"};if(!Object(p.p)(this.props.value)&&void 0!==this.props.value&&this.props.value.length&&!Object(p.p)(this.props.addresses))for(let a=0;a<this.props.addresses.length;a++)this.props.addresses[a].id===this.props.value&&(t=this.props.addresses[a]);return t}componentDidUpdate(e,s,t){"managerAddress"===this.props.name||"subjectStoreAddress"===this.props.name||"viewAddress"===this.props.name||"saleAddress"===this.props.name||"openBidAddress"===this.props.name?this.props.value!==e.value&&this.reloadAddress():this.props.hideAddress!==e.hideAddress&&this.reloadAddress()}render(){if(null!==this.state.address){if(this.props.display||void 0===this.props.display){const{t:e}=this.props;let s="";this.props.mandatory&&(s="*");let t,a=this.props.cols;void 0!==a?(a=a.split("/"),a=["col-"+a[0],"col-"+a[1]]):a=["col-md-2","col-md-10"],t=document.getElementsByTagName("body")[0].classList.contains("darkMode")?{control:e=>({...e,background:"#2b384a",border:"1px solid #364458"}),option:e=>({...e,background:"#2b384a",color:"#fff"}),singleValue:e=>({...e,color:"#fff"}),placeholder:e=>({...e,color:"#fff"})}:{placeholder:e=>({...e,color:"var(--gray500)"}),control:e=>({...e,background:"var(--paleGray)",border:"1px solid #E7E5ED",borderRadius:"4px"}),singleValue:e=>({...e,color:"var(--slate900)",fontFamily:"Manrope",fontWeight:"600",fontSize:"14px",lineHeight:"19px"})};let o=!1;void 0!==this.props.setReadOnly&&!1!==this.props.setReadOnly&&(o=!0);const r=void 0===this.props.hr||this.props.hr?Object(l.jsx)("hr",{}):"";return Object(l.jsxs)(i.Fragment,{children:[r,Object(l.jsx)("div",{className:"form-group row",children:Object(l.jsxs)("div",{className:"col-lg-"+(void 0!==this.props.mainCol?this.props.mainCol:"6"),children:[this.state.hideAddress?"":this.textInput("street",e("bidder.profile.input.street"),s,a,e("bidder.profile.placeholder.street"),o),this.state.hideAddress?"":this.textInput("houseNumber",e("bidder.profile.input.houseNumber"),s,a,e("bidder.profile.placeholder.houseNumber"),o),"Slovenija"!==this.state.address.country?this.textInput("zip",e("bidder.profile.input.zip"),s,a,e("bidder.profile.placeholder.zip"),o):this.selectInput("zip",e("bidder.profile.input.zip"),s,a,e("bidder.profile.placeholder.zip"),this.zipList,o),"Slovenija"!==this.state.address.country?this.textInput("city",e("bidder.profile.input.city"),s,a,e("bidder.profile.placeholder.city"),o):this.selectInput("city",e("bidder.profile.input.city"),s,a,e("bidder.profile.placeholder.city"),this.cityName,o),this.textInput("settlement",e("bidder.profile.input.settlement"),s,a,e("bidder.profile.placeholder.settlement"),o),Object(l.jsxs)("div",{className:"form-group row",children:[Object(l.jsxs)("label",{htmlFor:this.props.name+"_country",className:a[0]+" col-form-label",children:[e("bidder.profile.input.country"),s]}),Object(l.jsx)("div",{className:a[1],children:Object(l.jsx)(h.a,{id:this.props.name+"_country",name:this.props.name+"_country",isDisabled:o,options:this.countryList,styles:t,value:{value:this.state.address.country,label:this.state.address.country},placeholder:e("bidder.profile.placeholder.country"),noOptionsMessage:()=>e("notExists"),onChange:o?null:e=>this.onChange(e,"country")})})]})]})}),r]})}return""}return""}}var C=Object(o.a)()(S);class A extends i.Component{constructor(){super(...arguments),this.state={val:null},this.cols=["col-md-2","col-md-10"],this.disabled=null,this.readOnly=null,this.options=null,this.change=e=>{this.setState({val:e.target.value}),this.props.change(e,this.props.index)}}componentDidMount(){this.reloadComponent()}componentDidUpdate(e,s,t){(e.options!==this.props.options||e.value!==this.props.value&&this.state.val!==this.props.value)&&this.reloadComponent()}reloadComponent(){(this.props.display||void 0===this.props.display)&&(void 0!==this.props.options&&null!==this.props.options&&(this.radios=this.props.options.map(((e,s)=>{let t=!1;return this.props.value===e.value&&(t=!0),Object(l.jsxs)("div",{className:"custom-control custom-radio",children:[Object(l.jsx)("input",{type:"radio",id:e.value,checked:t,name:this.props.name,className:"custom-control-input z-index-10",value:e.value,onChange:this.change}),Object(l.jsx)("label",{className:"custom-control-label",htmlFor:e.value,children:e.label})]},this.props.name+"_"+e.value+"_"+s)}))),void 0!==this.props.cols&&(this.cols=this.props.cols,void 0!==this.cols&&(this.cols=this.cols.split("/"),this.cols=["col-"+this.cols[0],"col-"+this.cols[1]])),this.disabled=!1,void 0!==this.props.setDisabled&&!0===this.props.setDisabled&&(this.disabled=!0),this.readOnly=!1,void 0!==this.props.setReadOnly&&!0===this.props.setReadOnly&&(this.readOnly=!0),this.setState({val:this.props.value}))}
1render(){if(null!==this.state.val){if(this.props.display||void 0===this.props.display){let e="",s=[];return void 0===this.props.error||Object(p.p)(this.props.error)||("mandatory"===this.props.error.code||"uuid"===this.props.error.code?0!==this.state.val&&"0"!==this.state.val&&0!==this.state.val.length||s.push("mandatory"):"invalid_option"===this.props.error.code&&s.push("mandatory")),this.props.mandatory&&(e="*"),Object(l.jsxs)("div",{className:"form-group row",children:[Object(l.jsx)("label",{htmlFor:this.props.name,className:this.cols[0]+" col-form-label",children:this.props.label+e}),Object(l.jsx)("div",{className:this.cols[1],children:this.radios})]})}return""}return""}}var w=Object(o.a)()(A),M=t(115);const R=(e,s,t,i,o,r,d,h,c,y)=>{let g,j=null;"saleEndAt"===e&&(j=s.saleStartAt.value),void 0===s?(s=e.data,t=e.selectHandler,i=e.textHandler,o=e.datetimeHandler,r=e.cols,d=e.index,h=e.booleanHandler,c=e.toggleHandler,y=e.radioHandler,g=e.input):g=e;let f="root";if(void 0!==e.arrayType&&(f=e.arrayType),void 0===s[g])return Object(M.a)("LINKER undefined: "+g),null;if(!s[g].display&&void 0!==s[g].display)return null;switch(s[g].type){case"select":return Object(l.jsx)(a.default,{error:s[g].error,cols:r,name:g,index:d,label:s[g].label,options:s[g].options,display:s[g].display,value:null===s[g].value?"0":s[g].value,mandatory:s[g].mandatory,setDisabled:s[g].readOnly,change:t},g);case"multi":case"checkbox":return Object(l.jsx)(n,{error:s[g].error,cols:r,name:g,index:d,label:s[g].label,options:s[g].options,display:s[g].display,values:null===s[g].values?[]:s[g].values,mandatory:s[g].mandatory,setDisabled:s[g].readOnly,change:t},g);case"float":return Object(l.jsx)(m.default,{type:"float",error:s[g].error,cols:r,name:g,index:d,label:s[g].label,display:s[g].display,mandatory:s[g].mandatory,labelBold:e.labelBold,setDisabled:s[g].readOnly,setReadOnly:e.setReadOnly,arrayType:f,value:Object(p.p)(s[g].value)?"":s[g].value,change:i},g);case"integer":return Object(l.jsx)(m.default,{type:"integer",error:s[g].error,cols:r,name:g,index:d,label:s[g].label,display:s[g].display,comparison:s[g].comparison,mandatory:s[g].mandatory,arrayType:f,setDisabled:s[g].readOnly,value:Object(p.p)(s[g].value)?"":s[g].value,change:i},g);case"year":return Object(l.jsx)(O,{type:"integer",error:s[g].error,cols:r,name:g,index:d,label:s[g].label,display:s[g].display,mandatory:s[g].mandatory,setDisabled:s[g].readOnly,value:Object(p.p)(s[g].value)?"":s[g].value,change:i},g);case"date":return Object(l.jsx)(v.default,{showFields:["date"],error:s[g].error,cols:r,name:g,index:d,label:s[g].label,display:s[g].display,value:Object(p.p)(s[g].value)?"":Object(p.F)(s[g].value),mandatory:s[g].mandatory,setDisabled:s[g].readOnly,change:o},g);case"datetime":return Object(l.jsx)(v.default,{error:s[g].error,cols:r,name:g,index:d,label:s[g].label,display:s[g].display,comparison:s[g].comparison,value:Object(p.p)(s[g].value)?"":Object(p.F)(s[g].value),mandatory:s[g].mandatory,setDisabled:s[g].readOnly,labelBold:e.labelBold,change:o,saleStartAt:j},g);case"textarea":return Object(l.jsx)(b.default,{data:s,type:"text",error:s[g].error,translations:s[g].translation,cols:r,name:g,index:d,label:s[g].label,display:s[g].display,mandatory:s[g].mandatory,arrayType:f,labelBold:e.labelBold,setDisabled:s[g].readOnly,value:Object(p.p)(s[g].value)?"":s[g].value,change:i},g);case"boolean":return Object(l.jsx)(x.default,{name:g,cols:r,label:s[g].label,mandatory:s[g].mandatory,index:d,setDisabled:s[g].readOnly,display:s[g].display,checked:Object(p.p)(s[g].value)?null:s[g].value,change:h},g);case"toggle":return Object(l.jsx)(N,{name:g,cols:r,label:s[g].label,mandatory:s[g].mandatory,index:d,display:s[g].display,setDisabled:s[g].readOnly,value:Object(p.p)(s[g].value)?null:s[g].value,change:c,options:s[g].options},g);case"radio":return Object(l.jsx)(w,{error:s[g].error,name:g,cols:r,label:s[g].label,mandatory:s[g].mandatory,index:d,display:s[g].display,setDisabled:s[g].readOnly,value:null===s[g].value?"0":s[g].value,change:y,options:s[g].options},g);case"relation_address":return void 0===e.index?Object(l.jsx)(C,{mandatory:s[g].mandatory,addresses:e.addresses,error:s[g].error,name:g,hr:!1,label:"",cols:"4/8",display:s[g].display,value:s[g].value,mainCol:"12",change:e.addressChangeRootHandler,setReadOnly:s[g].readOnly},g):Object(l.jsx)(C,{addresses:e.addresses,mandatory:e.subjects[e.index][g].mandatory,error:e.subjects[e.index][g].error,name:g,index:e.index,hr:!1,label:"",cols:"4/8",display:e.subjects[e.index][g].display,value:e.subjects[e.index][g].value,mainCol:"12",change:e.addressChangeRootHandler,setReadOnly:s[g].readOnly},g+"_"+e.index);case"select2":return Object(l.jsx)(u,{error:s[g].error,cols:r,name:g,index:d,label:s[g].label,options:s[g].options,display:s[g].display,value:null===s[g].value?"0":s[g].value,mandatory:s[g].mandatory,setDisabled:s[g].readOnly,change:t},g);default:return Object(l.jsx)(m.default,{data:s,type:"text",error:s[g].error,translations:s[g].translation,cols:r,name:g,index:d,label:s[g].label,display:s[g].display,mandatory:s[g].mandatory,arrayType:f,setReadOnly:s[g].readOnly,setDisabled:s[g].readOnly,value:Object(p.p)(s[g].value)?"":s[g].value,change:i},g)}}},122:function(e,s,t){"use strict";t.r(s);var a=t(1),i=t(27);var o=["2000-01-01","2000-01-02","2000-02-08","2000-04-23","2000-04-24","2000-04-27","2000-05-01","2000-05-02","2000-06-11","2000-06-25","2000-08-15","2000-10-31","2000-11-01","2000-12-25","2000-12-26","2001-01-01","2001-01-02","2001-02-08","2001-04-15","2001-04-16","2001-04-27","2001-05-01","2001-05-02","2001-06-03","2001-06-25","2001-08-15","2001-10-31","2001-11-01","2001-12-25","2001-12-26","2002-01-01","2002-01-02","2002-02-08","2002-03-31","2002-04-01","2002-04-27","2002-05-01","2002-05-02","2002-05-19","2002-06-25","2002-08-15","2002-10-31","2002-11-01","2002-12-25","2002-12-26","2003-01-01","2003-01-02","2003-02-08","2003-04-20","2003-04-21","2003-04-27","2003-05-01","2003-05-02","2003-06-08","2003-06-25","2003-08-15","2003-10-31","2003-11-01","2003-12-25","2003-12-26","2004-01-01","2004-01-02","2004-02-08","2004-04-11","2004-04-12","2004-04-27","2004-05-01","2004-05-02","2004-05-30","2004-06-25","2004-08-15","2004-10-31","2004-11-01","2004-12-25","2004-12-26","2005-01-01","2005-01-02","2005-02-08","2005-03-27","2005-03-28","2005-04-27","2005-05-01","2005-05-02","2005-05-15","2005-06-25","2005-08-15","2005-10-31","2005-11-01","2005-12-25","2005-12-26","2006-01-01","2006-01-02","2006-02-08","2006-04-16","2006-04-17","2006-04-27","2006-05-01","2006-05-02","2006-06-04","2006-06-25","2006-08-15","2006-10-31","2006-11-01","2006-12-25","2006-12-26","2007-01-01","2007-01-02","2007-02-08","2007-04-08","2007-04-09","2007-04-27","2007-05-01","2007-05-02","2007-05-27","2007-06-25","2007-08-15","2007-10-31","2007-11-01","2007-12-25","2007-12-26","2008-01-01","2008-01-02","2008-02-08","2008-03-23","2008-03-24","2008-04-27","2008-05-01","2008-05-02","2008-05-11","2008-06-25","2008-08-15","2008-10-31","2008-11-01","2008-12-25","2008-12-26","2009-01-01","2009-01-02","2009-02-08","2009-04-12","2009-04-13","2009-04-27","2009-05-01","2009-05-02","2009-05-31","2009-06-25","2009-08-15","2009-10-31","2009-11-01","2009-12-25","2009-12-26","2010-01-01","2010-01-02","2010-02-08","2010-04-04","2010-04-05","2010-04-27","2010-05-01","2010-05-02","2010-05-23","2010-06-25","2010-08-15","2010-10-31","2010-11-01","2010-12-25","2010-12-26","2011-01-01","2011-01-02","2011-02-08","2011-04-24","2011-04-25","2011-04-27","2011-05-01","2011-05-02","2011-06-12","2011-06-25","2011-08-15","2011-10-31","2011-11-01","2011-12-25","2011-12-26","2012-01-01","2012-01-02","2012-02-08","2012-04-08","2012-04-09","2012-04-27","2012-05-01","2012-05-02","2012-05-27","2012-06-25","2012-08-15","2012-10-31","2012-11-01","2012-12-25","2012-12-26","2013-01-01","2013-02-08","2013-03-31","2013-04-01","2013-04-27","2013-05-01","2013-05-02","2013-05-19","2013-06-25","2013-08-15","2013-10-31","2013-11-01","2013-12-25","2013-12-26","2014-01-01","2014-02-08","2014-04-20","2014-04-21","2014-04-27","2014-05-01","2014-05-02","2014-06-08","2014-06-25","2014-08-15","2014-10-31","2014-11-01","2014-12-25","2014-12-26","2015-01-01","2015-02-08","2015-04-05","2015-04-06","2015-04-27","2015-05-01","2015-05-02","2015-05-24","2015-06-25","2015-08-15","2015-10-31","2015-11-01","2015-12-25","2015-12-26","2016-01-01","2016-02-08","2016-03-27","2016-03-28","2016-04-27","2016-05-01","2016-05-02","2016-05-15","2016-06-25","2016-08-15","2016-10-31","2016-11-01","2016-12-25","2016-12-26","2017-01-01","2017-01-02","2017-02-08","2017-04-16","2017-04-17","2017-04-27","2017-05-01","2017-05-02","2017-06-04","2017-06-25","2017-08-15","2017-10-31","2017-11-01","2017-12-25","2017-12-26","2018-01-01","2018-01-02","2018-02-08","2018-04-01","2018-04-02","2018-04-27","2018-05-01","2018-05-02","2018-05-20","2018-06-25","2018-08-15","2018-10-31","2018-11-01","2018-12-25","2018-12-26","2019
1-01-01","2019-01-02","2019-02-08","2019-04-21","2019-04-22","2019-04-27","2019-05-01","2019-05-02","2019-06-09","2019-06-25","2019-08-15","2019-10-31","2019-11-01","2019-12-25","2019-12-26","2020-01-01","2020-01-02","2020-02-08","2020-04-12","2020-04-13","2020-04-27","2020-05-01","2020-05-02","2020-05-31","2020-06-25","2020-08-15","2020-10-31","2020-11-01","2020-12-25","2020-12-26","2021-01-01","2021-01-02","2021-02-08","2021-04-04","2021-04-05","2021-04-27","2021-05-01","2021-05-02","2021-05-23","2021-06-25","2021-08-15","2021-10-31","2021-11-01","2021-12-25","2021-12-26","2022-01-01","2022-01-02","2022-02-08","2022-04-17","2022-04-18","2022-04-27","2022-05-01","2022-05-02","2022-06-05","2022-06-25","2022-08-15","2022-10-31","2022-11-01","2022-12-25","2022-12-26","2023-01-01","2023-01-02","2023-02-08","2023-04-09","2023-04-10","2023-04-27","2023-05-01","2023-05-02","2023-05-28","2023-06-25","2023-08-15","2023-10-31","2023-11-01","2023-12-25","2023-12-26","2024-01-01","2024-01-02","2024-02-08","2024-03-31","2024-04-01","2024-04-27","2024-05-01","2024-05-02","2024-05-19","2024-06-25","2024-08-15","2024-10-31","2024-11-01","2024-12-25","2024-12-26","2025-01-01","2025-01-02","2025-02-08","2025-04-20","2025-04-21","2025-04-27","2025-05-01","2025-05-02","2025-06-08","2025-06-25","2025-08-15","2025-10-31","2025-11-01","2025-12-25","2025-12-26","2026-01-01","202
16-01-02","2026-02-08","2026-04-05","2026-04-06","2026-04-27","2026-05-01","2026-05-02","2026-05-24","2026-06-25","2026-08-15","2026-10-31","2026-11-01","2026-12-25","2026-12-26","2027-01-01","2027-01-02","2027-02-08","2027-03-28","2027-03-29","2027-04-27","2027-05-01","2027-05-02","2027-05-16","2027-06-25","2027-08-15","2027-10-31","2027-11-01","2027-12-25","2027-12-26","2028-01-01","2028-01-02","2028-02-08","2028-04-16","2028-04-17","2028-04-27","2028-05-01","2028-05-02","2028-06-04","2028-06-25","2028-08-15","2028-10-31","2028-11-01","2028-12-25","2028-12-26","2029-01-01","2029-01-02","2029-02-08","2029-04-01","2029-04-02","2029-04-27","2029-05-01","2029-05-02","2029-05-20","2029-06-25","2029-08-15","2029-10-31","2029-11-01","2029-12-25","2029-12-26","2030-01-01","2030-01-02","2030-02-08","2030-04-21","2030-04-22","2030-04-27","2030-05-01","2030-05-02","2030-06-09","2030-06-25","2030-08-15","2030-10-31","2030-11-01","2030-12-25","2030-12-26"],l=t(32),r=t.n(l),n=(t(119),t(961)),p=t(128),d=t(120),h=t(42),c=(t(134),t(147)),u=(t(135),t(141)),m=(t(136),t(142)),b=(t(137),t(143)),v=(t(140),t(144)),y=(t(138),t(145)),g=(t(139),t(146)),j=t(15);class f extends a.Component{constructor(){super(...arguments),this.state={comparison:"EQ"},this.locales={slSI:c.a,huHU:u.a,deDE:m.a,itIT:b.a,enGB:v.a,hrHR:y.a,srRS:g.a},this.comparisons=[{value:"EQ",label:"="},{value:"NEQ",label:"\u2260"},{value:"LT",label:"<"},{value:"LTE",label:"<="},{value:"GT",label:">"},{value:"GTE",label:">="}],this.getDaysInc=()=>{let e=0;return void 0!==this.props.orgParamsBE&&null!==this.props.orgParamsBE&&(e=this.props.orgParamsBE.offset),e},this.disabledDatePastAndWeekends=(e,s,t)=>{if("saleEndAt"===s){const s=JSON.parse(localStorage.getItem("E-DRAZBE.JSData"));if(void 0!==s.values.root.saleStartAt){const a=Object(i.F)(s.values.root.saleStartAt).format("yyyy-MM-DD"),o=e.format("yyyy-MM-DD");return e&&(r()(a).isAfter(o)||0===r()(e).day()||6===r()(e).day()||-1!==t.indexOf(e.format("yyyy-MM-DD")))}{const s=this.getDaysInc(),a=r()().add(s,"days").format("yyyy-MM-DD"),i=e.format("yyyy-MM-DD");return e&&(r()(a).isAfter(i)||0===r()(e).day()||6===r()(e).day()||-1!==t.indexOf(e.format("yyyy-MM-DD")))}}if("notifyAt"===s){const s=JSON.parse(localStorage.getItem("E-DRAZBE.JSData"));if(void 0!==s.values.root.saleEndAt)return e&&e<Object(i.F)(s.values.root.saleEndAt);{const s=this.getDaysInc(),t=r()().add(s,"days").format("yyyy-MM-DD"),a=e.format("yyyy-MM-DD");return e&&r()(t).isAfter(a)}}if("saleStartAt"===s){const s=this.getDaysInc(),a=r()().add(s,"days").format("yyyy-MM-DD"),i=e.format("yyyy-MM-DD");return e&&(r()(a).isAfter(i)||0===r()(e).day()||6===r()(e).day()||-1!==t.indexOf(e.format("yyyy-MM-DD")))}if("openBidAt"===s){const s=JSON.parse(localStorage.getItem("E-DRAZBE.JSData"));if(void 0!==s.values.root.saleEndAt){const t=Object(i.F)(s.values.root.saleEndAt).format("yyyy-MM-DD"),a=e.format("yyyy-MM-DD");return e&&r()(t).isAfter(a)}}return e&&(e<r()().endOf("day")||0===r()(e).day()||6===r()(e).day())},this.disabledDatePastSearch=e=>e<r()().startOf("day"),this.disabledDateAllExceptOne=(e,s)=>{const t=JSON.parse(localStorage.getItem("E-DRAZBE.JSData"));if(void 0!==t.values.subjects[s.index].viewStartAt)return e&&(r()(e).startOf("day")>r()(t.values.subjects[s.index].viewStartAt)||r()(e).endOf("day")<r()(t.values.subjects[s.index].viewStartAt))},this.disabledDateFuture=e=>e&&e>r()().endOf("day"),this.disabledDateFutureAndPast=(e,s)=>{const t=JSON.parse(localStorage.getItem("E-DRAZBE.JSData"));if(void 0!==t.values.root.saleMethod&&"viewStartAt"===s.name)return"59e94998-030b-4df0-b587-93c294399f20"===t.values.root.saleMethod||"eab1f5b9-a8be-4385-a394-5e66b951686b"===t.values.root.saleMethod?e&&(e>r()(t.values.root.saleEndAt).endOf("day")||e<r()().endOf("day")||0===r()(e).day()||6===r()(e).day()):e&&(e>r()(t.values.root.saleStartAt).endOf("day")||e<r()().endOf("day")||0===r()(e).day()||6===r()(e).day())},this.changeComparison=e=>{this.setState({comparison:e.target.value}),this.props.change(this.currentDateValue,this.props.name,e.target.value)},this.currentDateValue=null,this.dateChanged=e=>{this.currentDateValue=e,this.props.change(e,this.props.name,this.state.comparison)},this.range=(e,s)=>{const t=[];for(let a=e;a<s;a++)t.push(a);return t},this.disabledTime=()=>"viewStartAt"===this.props.name||"viewEndAt"===this.props.name?{disabledHours:()=>{const e=this.range(0,8),s=this.range(19,24);return e.concat(s)}}:"saleEndAt"===this.props.name&&"fdcdd903-ef72-4318-96d8-b9563581ae22"===this.props.options.parsedToken.license?{disabledHours:()=>{const e=this.range(0,8),s=this.range(22,24);return e.concat(s)}}:{disabledHours:()=>{const e=this.range(0,8),s=this.range(17,24);return e.concat(s)}}}
1render(){if(this.props.display||void 0===this.props.display){const{t:e}=this.props,s=JSON.parse(localStorage.getItem("E-DRAZBE.JSData"));let t={};null!==this.props.orgParamsBE?t=this.props.orgParamsBE:t.offset=0;let a=this.props.cols;void 0!==a?(a=a.split("/"),a=["col-"+a[0],"col-"+a[1]]):a=["col-md-2","col-md-10"];let l,n=[],p="";void 0===this.props.error||Object(i.p)(this.props.error)||n.push("mandatory"),this.props.mandatory&&(p="*"),void 0!==this.props.value&&this.props.value instanceof r.a&&this.props.value.isValid()&&(l=this.props.value);let h=this.props.showFields;void 0===this.props.showFields&&(h=["date","time"]),"saleEndAt"===this.props.name&&null!==this.props.orgParamsBE&&this.props.orgParamsBE.saleEndAtIsDate04&&"59e94998-030b-4df0-b587-93c294399f20"===s.values.root.saleMethod&&(h=["date"]);let c={};const u=o;-1!==["saleStartAt","saleEndAt","dynamicExtensionEndAt","notifyAt","openBidAt"].indexOf(this.props.name)&&(c={disabledDate:e=>this.disabledDatePastAndWeekends(e,this.props.name,u)}),"saleEndAt_selectedFrom"!==this.props.name&&"saleEndAt_selectedTo"!==this.props.name||(c={disabledDate:e=>this.disabledDatePastSearch(e,this.props.name)});-1!==["birthDate"].indexOf(this.props.name)&&(c={disabledDate:e=>this.disabledDateFuture(e,this.props)});-1!==["viewStartAt"].indexOf(this.props.name)&&(c={disabledDate:e=>this.disabledDateFutureAndPast(e,this.props)}),"viewEndAt"===this.props.name&&(c={disabledDate:e=>this.disabledDateAllExceptOne(e,this.props)});let m=r()().add(t.offset,"day");if("saleEndAt"===this.props.name&&null!==this.props.saleStartAt){let e=0,s=0,t=Object(i.F)(this.props.saleStartAt).format("yyyy-MM-DD"),a=Object(i.F)(new Date).format("yyyy-MM-DD"),o=t.split("-"),l=a.split("-");e=parseInt(o[1])-parseInt(l[1]),s=parseInt(o[0])-parseInt(l[0]),0!==s&&(e+=12*s),m=r()().add(e+"","month")}"viewStartAt"!==this.props.name&&"viewEndAt"!==this.props.name||(m=null);const b={width:"100%"};let v="DD.MM.yyyy",y=e("date"),g={};if(-1!==h.indexOf("time")){v="DD.MM.yyyy HH:mm",y=e("datetime"),g={showTime:{defaultValue:r()("08:00","HH:mm")}};-1!==["saleStartAt","saleEndAt","viewStartAt","viewEndAt"].indexOf(this.props.name)&&(g.disabledTime=this.disabledTime)}let f="slSI";Object(i.p)(localStorage.getItem("E-DRAZBE.selectedLanguage"))||(f=localStorage.getItem("E-DRAZBE.selectedLanguage").replace("-",""));const O=Object(j.jsx)(d.a,{style:b,locale:this.locales[f],format:v,...g,defaultPickerValue:m,placeholder:y,className:n.join(" "),value:l,...c,onChange:e=>this.dateChanged(e)});let x=null;this.props.comparison&&(x=this.comparisons.map(((e,s)=>Object(j.jsx)("option",{value:e.value,children:e.label},this.props.name+"_"+e.value+"_"+s))));let D="";return void 0!==this.props.labelBold&&!0===this.props.labelBold&&(D="font-weight-bold "),Object(j.jsxs)("div",{className:"form-group row dateTimeWrapper",children:[Object(j.jsx)("label",{htmlFor:this.props.name,className:D+a[0]+" col-form-label"+(void 0!==this.props.labelRight?" text-right":""),children:this.props.label+p}),Object(j.jsx)("div",{className:a[1],children:this.props.comparison?Object(j.jsxs)("div",{className:"row",children:[Object(j.jsx)("div",{className:"col-3",children:Object(j.jsx)("select",{className:"custom-select "+n.join(" "),value:this.state.comparison,name:this.props.name+"_comparison",onChange:e=>this.changeComparison(e),children:x})}),Object(j.jsx)("div",{className:"col-9",children:O})]}):O})]})}return""}}s.default=Object(h.b)((e=>({options:e.options,orgParamsBE:e.orgParamsBE})))(Object(n.a)(Object(p.a)()(f)))},124:function(e,s,t){"use strict";t.r(s);t(1);var a=t(128),i=t(15);s.default=Object(a.a)()((e=>{const{t:s}=e;if(e.display||void 0===e.display){let t=e.cols;void 0!==t?(t=t.split("/"),t=["col-"+t[0],"col-"+t[1]]):t=["col-md-2","col-md-10"];let a=!1,o=!1;void 0!==e.checked&&("true"===e.checked?a=!0:o=!0);let l="";e.mandatory&&(l="*");const r=e.name+(void 0!==e.index?"_"+e.index:"");let n=!1;return void 0!==e.setDisabled&&!0===e.setDisabled&&(n=!0),Object(i.jsxs)("div",{className:"form-group row",children:[Object(i.jsx)("label",{htmlFor:e.name,className:t[0]+" col-form-label"+(void 0!==e.labelRight?" text-right":""),children:e.label+l}),Object(i.jsxs)("div",{className:t[1],children:[Object(i.jsxs)("div",{className:"custom-control custom-radio mb-2",children:[Object(i.jsx)("input",{type:"radio",id:r+"_boolean_true",name:r,className:"custom-control-input",value:"true",checked:a,onChange:e.change,disabled:n}),Object(i.jsx)("label",{className:"custom-control-label",htmlFor:r+"_boolean_true",children:s("yes")})]}),Object(i.jsxs)("div",{className:"custom-control custom-radio",children:[Object(i.jsx)("input",{type:"radio",id:r+"_boolean_false",name:r,className:"custom-control-input",value:"false",checked:o,onChange:e.change,disabled:n}),Object(i.jsx)("label",{className:"custom-control-label",htmlFor:r+"_boolean_false",children:s("no")})]})]})]})}return""}))},859:function(e,s,t){"use strict";t.r(s);var a=t(1),i=t(121),o=t(128),l=t(15);class r extends a.Component{render(){const{t:e}=this.props,s=["estimatedPrice","startingPrice","stepPrice"].map((e=>Object(i.a)(e,this.props.data,this.props.selectChangeRootHandler,this.props.textChangeRootHandler,null,"4/8"))),t=["securityPrice","securityIban","payReference","lowestPrice","instantBuyPrice","endInstantBuyPrice"].map((e=>Object(i.a)(e,this.props.data,this.props.selectChangeRootHandler,this.props.textChangeRootHandler,null,"4/8")));let a=null;"ef84a37f-9e36-435d-9f19-6fa12a5773c2"===this.props.data.saleType.value&&(
1a=e("MsgSaleType03"));let o=null;return"b08b092a-e35b-4d24-bced-c03f156f71e1"===this.props.data.saleForm.value&&(o=e("securityIbanForClassic")),Object(l.jsxs)("div",{className:"tab-pane",id:"bail",role:"tabpanel",children:[Object(l.jsx)("div",{className:"row",children:Object(l.jsx)("div",{className:"col-12 mb-4",children:Object(l.jsx)("b",{children:a})})}),Object(l.jsxs)("div",{className:"row",children:[Object(l.jsx)("div",{className:"col-lg-6",children:s}),Object(l.jsxs)("div",{className:"col-lg-6",children:[t,o]})]})]})}}s.default=Object(o.a)()(r)}}]); 2//# sourceMappingURL=27.88541c51.chunk.js.map
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.