Current path: home/webdevt/www/demo2/wp-content/plugins/divi-contact-form-helper/d5/visual-builder/
?? Go up: /home/webdevt/www/demo2/wp-content/plugins/divi-contact-form-helper/d5
(e=>{let n={};var t=e.DiviContactFormHelperVbData||{};n.generateShortId=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),n.todayDate=new Date,n.appConfig={ajaxURL:t.ajaxURL,baseRestRoute:t.baseRestRoute,pagesOptions:t.pagesOptions,languagesOptions:t.languagesOptions,uploadSizeInfoMessage:t.uploadSizeInfoMessage,mimeTypeOptions:t.mimeTypeOptions,wpAllowedMimeTypes:t.wpAllowedMimeTypes,dateTimeFormatOptions:t.dateTimeFormatOptions,dateFormatOptions:t.dateFormatOptions,timeFormatOptions:t.timeFormatOptions,weekDaysSelectOptions:t.weekDaysSelectOptions,weekDaysCheckboxesOptions:t.weekDaysCheckboxesOptions,defaultLocale:t.defaultLocale,defaultStrings:t.defaultStrings},n.constants={KB_IN_BYTES:1024,MB_IN_BYTES:1048576,GB_IN_BYTES:1073741824,ENV_MODE:"production"};(t=e?.vendor?.wp?.hooks)&&"function"==typeof t.addFilter||console.warn("[KS_PAC_DCFH_VB] wp.hooks not available"),n.hooks={addFilter:t?.addFilter?.bind(t)||function(){console.warn("[KS_PAC_DCFH_VB] addFilter is not functional")},applyFilters:t?.applyFilters?.bind(t)||function(e,t){return console.warn(`[KS_PAC_DCFH_VB] applyFilters called on ${e}, but not available`),t}};var{__:t,_x:o,_n:i,sprintf:a}=e?.wp?.i18n||{__:e=>e,_x:e=>e,_n:(e,t,o)=>1===o?e:t,sprintf:(...e)=>e.join(" ")};n.i18n={__:t,_x:o,_n:i,sprintf:a},n.ensurePropsArray=e=>Array.isArray(e)?e:[e],n.getComponentConfig=(e="text",t={},o={})=>{var i,a,r,n,d,l,s={name:"divi/"+e,type:"field",props:{}};const p=0,c=100,m=1;return"select"===e?s.props={options:t}:"range"===e?({min:i,max:a,step:r,defaultUnit:n,allowedUnits:d,cssProperty:l}=t,s.props={min:i??p,max:a??c,step:r??m,minLimit:i??p,maxLimit:a??c,defaultUnit:n??!1},void 0!==n&&!1!==n&&(s.props.allowedUnits=d??["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"]),void 0!==l&&(s.props.cssProperty=l)):"checkboxes"===e&&(s.props={options:t.map(e=>({value:e.value,label:e.label}))}),s.props={...s.props,...o},s},n.getFeaturesConfig=(e=!1,t=!1,o=!1,i=!1,a="content")=>{t={responsive:t,hover:o,sticky:i,preset:a};return e&&(t.dynamicContent={type:e}),t},n.generateKeyFromString=t=>{let o=5381;for(let e=0;e<t.length;e++)o=33*o^t.charCodeAt(e);return(o>>>0).toString(16)},n.formatFileSize=e=>{var t=1024,o=1024*t,i=1024*o;return i<=e?(e/i).toFixed(0)+"GB":o<=e?(e/o).toFixed(0)+"MB":t<=e?(e/t).toFixed(0)+"KB":e+"B"},n.getAllowedExtensions=e=>{var t,o,i,a=n.appConfig.wpAllowedMimeTypes,r=[];for([t,o]of Object.entries(a))e.includes(o)&&(i=t.split("|")[0],r.push("."+i));return r},n.loadStyleOnce=i=>new Promise((e,t)=>{var o;document.querySelector(`link[href="${i}"]`)?e():((o=document.createElement("link")).href=i,o.rel="stylesheet",o.onload=e,o.onerror=t,document.head.appendChild(o))}),n.loadScriptOnce=i=>new Promise((e,t)=>{var o;document.querySelector(`script[src="${i}"]`)?e():((o=document.createElement("script")).src=i,o.async=!0,o.onload=e,o.onerror=t,document.head.appendChild(o))}),e.KS_PAC_DCFH_VB=n})(window);let renderCheckoutField=(e,t,o,i,a,r)=>{let{StyleContainer:n,StyleDeclarations:d,isEdited:l}=r;var r=o?.fieldItem||{},r=(r.advanced?.type?.desktop?.value,r.advanced?.id?.desktop?.value,r.innerContent?.desktop?.value,r.advanced?.required?.desktop?.value,o?.fieldCustomItem||{}),s=i?.orderClass;r?.innerContent?.placeholderText?.desktop?.value;let p=(o?.fieldCustomLayout||{})?.advanced;r=React.createElement(n,{key:"et-pb-contact-field-options-list-checkbox-design",mode:"builder",state:l?a:"",noStyleTag:!1},i.style({attrName:"fieldCustomLayout",styleProps:{advancedStyles:[{componentName:"divi/common",props:{selector:s+" .et_pb_contact_field_options_list",attr:p?.checkboxLayout,declarationFunction:({attrValue:e})=>{var t=new d({returnType:"string"});return"column"===e?(t.add("display","flex"),t.add("flex-wrap","wrap"),t.add("gap","10px")):"inline"===e&&(t.add("display","flex"),t.add("flex-direction","row"),t.add("flex-wrap","nowrap"),t.add("gap","30px")),t.value}}},{componentName:"divi/common",props:{selector:s+" .et_pb_contact_field_checkbox",attr:p?.checkboxColumns||[],declarationFunction:e=>{var t=p?.checkboxLayout?.[e.breakpoint]?.value??"default",o=new d({returnType:"string"});return"column"===t&&(t=e.attrValue,o.add("width",`calc((100% / ${t}) - 10px + (10px / ${t}))`),o.add("box-sizing","border-box")),o.value}}}]}}));return e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),r],e},renderDateTimePickerField=(e,t,o,i,a,r)=>{KS_PAC_DCFH_VB.loadScriptOnce("https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.full.min.js").then(()=>{}).catch(()=>console.error("Failed to load datetimepicker js")),KS_PAC_DCFH_VB.loadStyleOnce("https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.min.css").then(()=>{}).catch(()=>console.error("Failed to load datetimepicker css"));var{StyleContainer:r,isEdited:n}=r,{}=window.divi.moduleUtils,d=o?.fieldItem||{},l=(d.advanced?.type?.desktop?.value,d.advanced?.id?.desktop?.value),s=d.innerContent?.desktop?.value,d="off"!==d.advanced?.required?.desktop?.value,p=(o?.fieldCustomItem||{})?.innerContent?.placeholderText?.desktop?.value??s,l=`et_pb_contact_${l}_`+t;let c=i?.orderClass;t=React.createElement("input",{type:"text",name:l.toLowerCase(),id:l.toLowerCase(),className:"input datetimepicker","data-required_mark":d?"required":"not_required","data-field_type":"text","data-original_id":l.toLowerCase(),placeholder:p,title:s});let m=o?.dateTimePicker?.advanced?.pickerLocale?.desktop?.value??"en";d="on"===o?.dateTimePicker?.advanced?.disableCurrentDate?.desktop?.value;let u=getPickerOptions(o,i?.orderClass),_=()=>{var e,t,o=jQuery(c+" input.datetimepicker");o.length&&(e=u,e=JSON.stringify(e),t=o.data("picker-signature"),jQuery.datetimepicker.setLocale(m),t!==e)&&(o.data("xdsoft_datetimepicker")&&o.datetimepicker("destroy"),o.data("picker-signature",e).datetimepicker({...u,openOnFocus:!0,openOnClick:!0,closeOnBlur:!1}))};if(void 0!==jQuery.fn.datetimepicker)_();else{let e=setInterval(()=>{void 0!==jQuery.fn.datetimepicker&&(clearInterval(e),_())},100)}d&&setTimeout(function(){jQuery(`td[data-date="${KS_PAC_DCFH_VB.todayDate.getDate()}"]`).removeClass("xdsoft_current").removeClass("xdsoft_today").addClass("xdsoft_disabled")},500);l=o?.dateTimePicker?.decoration,p=React.createElement(r,{key:"datetime-picker-design",mode:"builder",state:n?a:"",noStyleTag:!1},i.style({attrName:"dateTimePicker",styleProps:{advancedStyles:[{componentName:"divi/background",props:{selector:c+" .xdsoft_datetimepicker",attr:l?.containerBackground,important:!0}},{componentName:"divi/background",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_label",attr:l?.containerBackground,important:!0}},{componentName:"divi/spacing",props:{selector:c+" .xdsoft_datetimepicker",attr:l?.containerSpacing,important:!0}},{componentName:"divi/border",props:{selector:c+" .xdsoft_datetimepicker",attr:l?.containerBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:c+" .xdsoft_datetimepicker",attr:l?.containerShadow,important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_datepicker",attr:l?.datesContainerWidth,property:"width",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_calendar table",attr:l?.datesContainerHeight,property:"height",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_timepicker",attr:l?.timesContainerWidth,property:"width",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box",attr:l?.timesContainerHeight,property:"height",important:!0}},{componentName:"divi/font",props:{selector:[".xdsoft_month",".xdsoft_year"].map(e=>c+" .xdsoft_datetimepicker "+e).join(", "),attr:l?.monthYearFont,important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_label span",attr:l?.monthYearBackground,property:"background",important:!0}},{componentName:"divi/font",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_calendar th",attr:l?.daysOfWeekFont,important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_calendar th",attr:l?.daysOfWeekBackground,property:"background",important:!0}},{componentName:"divi/font",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_date",attr:l?.calendarDatesFont,important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_date",attr:l?.calendarDatesBackground,property:"background",important:!0}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_current.xdsoft_today",attr:l?.currentDateTextColor,property:"color",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_current.xdsoft_today",attr:l?.currentDateBackground,declarationFunction:({attrValue:e})=>`background: ${e};box-shadow: ${e} 0 1px 3px 0 inset;`,important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_date.xdsoft_current:not(.xdsoft_today)",attr:l?.selectedDateTextColor,property:"color",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_date.xdsoft_current:not(.xdsoft_today)",attr:l?.selectedDateBackground,property:"background",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_date:not(.xdsoft_disabled):not(.xdsoft_current)",attr:l?.avalaibleDatesTextColor,property:"color",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_date:not(.xdsoft_disabled):not(.xdsoft_current)",attr:l?.avalaibleDatesBackground,property:"background",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_date.xdsoft_disabled",attr:l?.unAvalaibleDatesTextColor,property:"color",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_date.xdsoft_disabled",attr:l?.unAvalaibleDatesBackground,property:"background",important:!0}},{componentName:"divi/font",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div",attr:l?.timeFont,important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div",attr:l?.timeBackground,declarationFunction:({attrValue:e})=>`background: ${e}; box-shadow: ${e} 0 1px 3px 0 inset;`,important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_time.xdsoft_current",attr:l?.selectedTimeBackground,declarationFunction:({attrValue:e})=>`background: ${e}; box-shadow: ${e} 0 1px 3px 0 inset;`,important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_time.xdsoft_current",attr:l?.selectedTimeTextColor,property:"color",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_time:not(.xdsoft_disabled):not(.xdsoft_current)",attr:l?.avalaibleTimesBackground,declarationFunction:({attrValue:e})=>`background: ${e}; box-shadow: ${e} 0 1px 3px 0 inset;`,important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_time:not(.xdsoft_disabled):not(.xdsoft_current)",attr:l?.avalaibleTimesTextColor,property:"color",important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_time.xdsoft_disabled",attr:l?.unAvalaibleTimesBackground,declarationFunction:({attrValue:e})=>`background: ${e}; box-shadow: ${e} 0 1px 3px 0 inset;`,important:!0}},{componentName:"divi/common",props:{selector:c+" .xdsoft_datetimepicker .xdsoft_time.xdsoft_disabled",attr:l?.unAvalaibleTimesTextColor,property:"color",important:!0}}]}}));e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),t,p]},getPickerOptions=(e,t)=>{var{advanced:e={},innerContent:o={}}=e.dateTimePicker||{},i=e?.pickerFieldType?.desktop?.value??"both",a=e?.dateTimeFormat?.desktop?.value??"Y/m/d h:ia",r=o?.customDateFormat?.desktop?.value??e?.dateFormat?.desktop?.value??"Y-m-d",n=o?.customTimeFormat?.desktop?.value??e?.timeFormat?.desktop?.value??"h:ia",o=o?.timeSlotInterval?.desktop?.value??30,d=getDayNumber(e?.dayOfWeekStart?.desktop?.value??"sunday"),l=(e?.disabledDaysOfWeek?.desktop?.value??["sunday","saturday"]).map(e=>getDayNumber(e)),i=getPickerFormat(i,a,r,n);return{format:(i.date_format+" "+i.time_format).trim(),formatDate:i.date_format,formatTime:i.time_format,datepicker:!!i.date_format,timepicker:!!i.time_format,inline:"on"===e?.showInline?.desktop?.value,rtl:"on"===e?.enableRTL?.desktop?.value,dayOfWeekStart:d,disabledWeekDays:l,className:t,weeks:"on"!==e?.disableWeekRowNumberMarker?.desktop?.value,minDate:"on"===e?.disablePastDates?.desktop?.value&&0,step:o,yearStart:1900,validateOnBlur:!1,scrollMonth:!1,scrollTime:!1,scrollInput:!1,todayButton:!1,closeOnTimeSelect:!1,closeOnDateSelect:!1}},getPickerFormat=(e,t,o,i)=>{let a="",r="";var n;return"both"===e?(n=t.match(/([hH]:ia?)/),r=n?n[1]:"",a=t.replace(r,"").trim()):"datePicker"===e||"dateRangePicker"===e?a=o:"timePicker"===e&&(r=i),{date_format:a,time_format:r}},getDayNumber=e=>({sunday:0,monday:1,tuesday:2,wednesday:3,thursday:4,friday:5,saturday:6})[e.toLowerCase()],renderFieldDescription=(e,t,o,i,a,r)=>{var{}=r,r=o?.fieldItem||{},r=(r.advanced?.type?.desktop?.value,r.advanced?.id?.desktop?.value,r.innerContent?.desktop?.value,r.advanced?.required?.desktop?.value,o?.fieldCustomItem||{}),o=(i?.orderClass,r?.innerContent?.placeholderText?.desktop?.value,r?.innerContent?.descriptionText?.desktop?.value),i=r?.advanced?.descriptionPosition?.desktop?.value??"bottom";return o&&(r=React.createElement("span",{id:"et_pb_contact_field_desc_"+t,className:"et_pb_contact_field_desc",dangerouslySetInnerHTML:{__html:o}}),t=React.Children.toArray(e.props.children),e.props.children="above"===i?[r,...t]:[...t,r]),e},renderFileUploadField=(e,t,o,i,a,r)=>{let{StyleContainer:n,StyleDeclarations:d,isEdited:l}=r;var{}=window.divi.moduleUtils,r=o?.fieldItem||{},s=(r.advanced?.type?.desktop?.value,r.advanced?.id?.desktop?.value),p=r.innerContent?.desktop?.value,r="off"!==r.advanced?.required?.desktop?.value,c=o?.fieldCustomItem||{},s=`et_pb_contact_${s}_`+t,t=i?.orderClass,c=c?.innerContent?.placeholderText?.desktop?.value??p,o=o?.fileUpload||{},m=o?.advanced?.allowedFileTypes?.desktop?.value??["image/jpeg","image/png"],u=o?.innerContent?.maxFileSize?.desktop?.value??1024,_=o?.innerContent?.buttonText?.desktop?.value??KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_button_text,g=o?.innerContent?.acceptedFileTypesText?.desktop?.value??KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_accepted_file_types_text,v=o?.innerContent?.maxFileSizeText?.desktop?.value??KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_max_file_size_text,f=o?.innerContent?.noFilesChosenText?.desktop?.value??KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_no_files_chosen_text;let{escapeFontIcon:b,isFaIcon:h,processFontIcon:C}=window.divi.iconLibrary;r=React.createElement("input",{type:"file",name:s.toLowerCase(),id:s.toLowerCase(),className:"input et_pb_file_input","data-required_mark":r?"required":"not_required","data-field_type":"text","data-original_id":s.toLowerCase(),placeholder:c,title:p}),s=React.createElement("button",{type:"button",className:"et_pb_file_upload_button et_pb_button et_pb_icon"},_),c=React.createElement("span",{className:"et_pb_file_chosen_desc"},f),p=React.createElement("span",{className:"et_pb_accepted_files_desc"},KS_PAC_DCFH_VB.i18n.sprintf("%s %s %s %s",g,KS_PAC_DCFH_VB.getAllowedExtensions(m),v,KS_PAC_DCFH_VB.formatFileSize(parseInt(u,10)*KS_PAC_DCFH_VB.constants.KB_IN_BYTES)));let k=o?.decoration;_=React.createElement(n,{key:"et-pb-files-container-design",mode:"builder",state:l?a:"",noStyleTag:!1},i.style({attrName:"fileUpload",styleProps:{advancedStyles:[{componentName:"divi/background",props:{selector:t+" .et_pb_files_container",attr:k?.containerBackground,important:!0}},{componentName:"divi/spacing",props:{selector:t+" .et_pb_files_container",attr:k?.containerSpacing,important:!0}},{componentName:"divi/border",props:{selector:t+" .et_pb_files_container",attr:k?.containerBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:t+" .et_pb_files_container",attr:k?.containerShadow,important:!0}},{componentName:"divi/font",props:{selector:t+" .et_pb_accepted_files_desc",attr:k?.acceptedFilesTypesFont,important:!0}},{componentName:"divi/spacing",props:{selector:t+" .et_pb_accepted_files_desc",attr:k?.acceptedFilesTypesSpacing,important:!0}},{componentName:"divi/font",props:{selector:t+" .et_pb_file_chosen_desc",attr:k?.selectedFilesFont,important:!0}},{componentName:"divi/background",props:{selector:".et_pb_file_upload_button",attr:k?.uploadbuttonBackground,important:!0}},{componentName:"divi/spacing",props:{selector:t+" .et_pb_file_upload_button",attr:k?.uploadButtonSpacing,important:!0}},{componentName:"divi/border",props:{selector:t+" .et_pb_file_upload_button",attr:k?.uploadButtonBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:t+" .et_pb_file_upload_button",attr:k?.uploadButtonShadow,important:!0}},{componentName:"divi/font",props:{selector:t+" .et_pb_file_upload_button",attr:k?.uploadButtonFont,important:!0}},{componentName:"divi/common",props:{selector:t+" .et_pb_file_upload_button::after",attr:k?.uploadButtonIconColor,declarationFunction:({attrValue:e})=>"color:"+e,important:!0}},{componentName:"divi/common",props:{selector:t+" .et_pb_file_upload_button::after",attr:k?.uploadButtonIcon,declarationFunction:({attrValue:e})=>{var t=k?.uploadButtonShowIcon?.desktop?.value??"on",o=k?.uploadButtonIconPosition?.desktop?.value??"right",i=new d({returnType:"string",important:{content:!0,"font-family":!0}});return"on"===t&&"right"===o?(t=C(e),o=h(e)?"FontAwesome":"ETmodules",i.add("content",`'${b(t)}'`),i.add("font-family",`"${o}"`)):(i.add("content",'""'),i.add("font-family",'""')),i.value}}},{componentName:"divi/common",props:{selector:t+" .et_pb_file_upload_button:hover",attr:k?.uploadButtonIcon,declarationFunction:({})=>{var e=k?.uploadButtonIconPosition?.desktop?.value??"right",t=new d({returnType:"string"});return"left"===e&&(t.add("padding-right","0.7em"),t.add("padding-left","2em")),t.value}}},{componentName:"divi/common",props:{selector:t+" .et_pb_file_upload_button::before",attr:k?.uploadButtonIcon,declarationFunction:({attrValue:e})=>{var t=k?.uploadButtonShowIcon?.desktop?.value??"on",o=k?.uploadButtonIconPosition?.desktop?.value??"right",i=new d({returnType:"string",important:{content:!0,"font-family":!0}});return"on"===t&&"left"===o?(t=C(e),o=h(e)?"FontAwesome":"ETmodules",i.add("content",`'${b(t)}'`),i.add("font-family",`"${o}"`)):(i.add("content",'""'),i.add("font-family",'""')),i.value}}},{componentName:"divi/common",props:{selector:t+" .et_pb_file_upload_button:hover",attr:k?.uploadButtonIcon,declarationFunction:({})=>{var e=k?.uploadButtonShowIcon?.desktop?.value??"on",t=k?.uploadButtonIconPosition?.desktop?.value??"right",o=new d({returnType:"string",important:!0});return"on"===e&&"left"===t&&(o.add("padding-right","0.7em"),o.add("padding-left","2em")),o.value}}},{componentName:"divi/common",props:{selector:t+" .et_pb_file_upload_button:hover:before",attr:k?.uploadButtonIcon,declarationFunction:({})=>{var e=k?.uploadButtonShowIcon?.desktop?.value??"on",t=k?.uploadButtonIconPosition?.desktop?.value??"right",o=new d({returnType:"string",impport:!0});return"on"===e&&"left"===t&&(o.add("display","inline-block"),o.add("opacity","1"),o.add("margin-right","0")),o.value}}},{componentName:"divi/common",props:{selector:t+" .et_pb_file_upload_button:hover",attr:k?.uploadButtonIcon,declarationFunction:({})=>{if("off"===(k?.uploadButtonShowIcon?.desktop?.value??"on"))return"padding:0.3em 1em;"}}},{componentName:"divi/common",props:{selector:t+" .et_pb_file_upload_button",attr:k?.uploadButtonHoverIcon,declarationFunction:({})=>{var e=k?.uploadButtonHoverIcon?.desktop?.value??"on",t=k?.uploadButtonIconPosition?.desktop?.value??"right",o=new d({returnType:"string",important:!0});return"off"===e&&"right"===t&&(o.add("padding-right","2em"),o.add("padding-left","0.7em")),"off"===e&&"left"===t&&(o.add("padding-right","0.7em"),o.add("padding-left","2em")),o.value}}},{componentName:"divi/common",props:{selector:t+" .et_pb_file_upload_button:after",attr:k?.uploadButtonHoverIcon,declarationFunction:({})=>{var e=k?.uploadButtonHoverIcon?.desktop?.value??"on",t=k?.uploadButtonIconPosition?.desktop?.value??"right",o=new d({returnType:"string",important:!0});return"off"===e&&"right"===t&&(o.add("opacity","1"),o.add("margin-left","0")),o.value}}},{componentName:"divi/common",props:{selector:t+" .et_pb_file_upload_button:before",attr:k?.uploadButtonHoverIcon,declarationFunction:({})=>{var e=k?.uploadButtonHoverIcon?.desktop?.value??"on",t=k?.uploadButtonIconPosition?.desktop?.value??"right",o=new d({returnType:"string",important:!0});return"off"===e&&"left"===t&&(o.add("display","inline-block"),o.add("opacity","1"),o.add("margin-left","-1.2em")),o.value}}}]}})),f=React.createElement("span",{className:"et_pb_files_container",children:[r,s,c,p,_]});return e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),f],e},renderHTMLBlockField=(e,t,o,i,a,r)=>{var n,d,{StyleContainer:r,isEdited:l}=r,s=o?.fieldItem||{};return"html-block"===(s.advanced?.type?.desktop?.value??"input")&&(d=s.advanced?.id?.desktop?.value,s.innerContent?.desktop?.value,o?.fieldCustomItem,s=i?.orderClass,n=o?.htmlBlock?.innerContent?.htmlContent?.desktop?.value??"",o=o?.htmlBlock?.decoration,d=React.createElement("section",{id:(`et_pb_contact_${d}_`+t).toLowerCase(),className:"et_pb_html_field",dangerouslySetInnerHTML:{__html:n}}),t=React.createElement(r,{key:"et-pb-html-field-design",mode:"builder",state:l?a:"",noStyleTag:!1},i.style({attrName:"htmlBlock",styleProps:{advancedStyles:[{componentName:"divi/background",props:{selector:""+s,attr:o?.containerBackground,important:!0}},{componentName:"divi/spacing",props:{selector:""+s,attr:o?.containerSpacing,important:!0}},{componentName:"divi/border",props:{selector:""+s,attr:o?.containerBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:""+s,attr:o?.containerShadow,important:!0}},{componentName:"divi/font-header",props:{selector:""+s,attr:o?.headingFont,important:!0}},{componentName:"divi/font-body",props:{selector:""+s,attr:o?.contentFont,important:!0}},{componentName:"divi/spacing",props:{selector:s+" img",attr:o?.imageSpacing,important:!0}},{componentName:"divi/border",props:{selector:s+" img",attr:o?.imageBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:s+" img",attr:o?.imageShadow,important:!0}},{componentName:"divi/common",props:{selector:s+" img",attr:o?.imageWidth,declarationFunction:({attrValue:e})=>e?`width:${e};`:"",important:!0}},{componentName:"divi/common",props:{selector:s+" img",attr:o?.imageHeight,declarationFunction:({attrValue:e})=>e?`height:${e};`:"",important:!0}},{componentName:"divi/common",props:{selector:s+" img",attr:o?.imageFit,declarationFunction:({attrValue:e})=>e?`object-fit:${e};`:"",important:!0}}]}})),e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),d,t]),e},renderFieldIcon=(e,t,o,a,r,n)=>{let{StyleContainer:d,StyleDeclarations:l,isEdited:s}=n;var{}=window.divi.moduleUtils;let{escapeFontIcon:p,isFaIcon:c,processFontIcon:m}=window.divi.iconLibrary;n=o?.dateTimePicker?.advanced?.showInline?.desktop?.value??"off";if("on"!==n){n=o?.fieldItem||{};let i=n.advanced?.type?.desktop?.value??"input";if(!["file","signature-pad","star-rating"].includes(i)){var u=a?.orderClass,n=(n.advanced?.id?.desktop?.value,n.innerContent?.desktop?.value,n.advanced?.required?.desktop?.value,o?.fieldCustomItem,o?.fieldIcon?.advanced?.showIcon?.desktop?.value??"off");o?.fieldCustomLayout?.advanced?.showLabel?.desktop?.value;let t="on"===o?.fieldCustomLayout?.advanced?.showLabelOnLeft?.desktop?.value;"off"!==n&&(n=o?.fieldIcon?.advanced?.icon?.desktop?.value??"",n=React.createElement("span",{"data-icon":m(n),className:"et_pb_contact_field_icon"}),r=React.createElement(d,{key:"et-pb-contact-field-icon-design",mode:"builder",state:s?r:"",noStyleTag:!1},a.style({attrName:"fieldIcon",styleProps:{advancedStyles:[{componentName:"divi/common",props:{selector:u+" .et_pb_contact_field_icon:before",attr:o?.fieldIcon?.advanced?.icon??[],declarationFunction:({attrValue:e})=>{var t,o=new l({returnType:"string",important:{content:!0,"font-family":!0}});return o.add("content",`'${p(m(e))}'`),e?.type?(t="fa"===e.type?"FontAwesome":"ETmodules",o.add("font-family",t)):o.add("font-family",`"${c(e)?"FontAwesome":"ETmodules"}"`),e?.weight&&o.add("font-weight",e.weight),["input","email","select","phone-number","datetime-picker"].includes(i)?(o.add("top","50%"),o.add("transform","translate(50% , -50%)")):"text"===i?(o.add("top","calc(50% - 50px)"),o.add("transform","translate(50% , -50%)")):["checkbox","radio"].includes(i)&&(o.add("top","calc(50% + 40px)"),o.add("left","-10px"),o.add("transform","translate(0 , -50%)")),o.value}}},{componentName:"divi/common",props:{selector:u+" .input",attr:o?.fieldIcon?.advanced?.icon??[],declarationFunction:({})=>{var e=new l({returnType:"string"});return e.add("text-indent","20px"),e.value}}},{componentName:"divi/common",props:{selector:u+" .et_pb_contact_field_options_title",attr:o?.fieldIcon?.advanced?.icon??[],declarationFunction:({})=>{var e;return["checkbox","radio"].includes(i)?((e=new l({returnType:"string"})).add("margin-left","20px"),e.value):""}}},{componentName:"divi/common",props:{selector:u+` .et_pb_contact_field_icon,${u} .et_pb_contact_field_options_wrapper:before`,attr:o?.fieldIcon?.decoration?.iconColor??[],property:"color"}},{componentName:"divi/common",props:{selector:u+" .et_pb_contact_field_input_wrapper",attr:o?.fieldIcon?.advanced?.icon??[],declarationFunction:({})=>{var e=new l({returnType:"string"});return e.add("position","relative"),e.add("display","flex"),e.add("align-items","center"),e.add("width","100%"),e.value}}},{componentName:"divi/common",props:{selector:u+" .et_pb_contact_field_icon",attr:o?.fieldIcon?.advanced?.icon??[],declarationFunction:({})=>{var e=new l({returnType:"string"});return e.add("position","absolute"),e.add("left","10px"),e.add("z-index","2"),e.value}}},{componentName:"divi/common",props:{selector:u+` .et_pb_contact_field_input_wrapper .input, ${u} .et_pb_contact_field_input_wrapper select, ${u} .et_pb_contact_field_input_wrapper textarea`,attr:o?.fieldIcon?.advanced?.icon??[],declarationFunction:({})=>{}}},{componentName:"divi/common",props:{selector:u+" label",attr:o?.fieldIcon?.advanced?.icon??[],declarationFunction:({})=>{var e;return t?((e=new l({returnType:"string"})).add("order","1"),e.value):""}}},{componentName:"divi/common",props:{selector:u+" .et_pb_contact_field_input_wrapper",attr:o?.fieldIcon?.advanced?.icon??[],declarationFunction:({})=>{var e;return t?((e=new l({returnType:"string"})).add("order","2"),e.value):""}}}]}})),a=React.createElement("div",{className:"et_pb_contact_field_input_wrapper",key:"et-pb-contact-field-input-wrapper"},[n,...KS_PAC_DCFH_VB.findInputFieldFromChildren(e.props.children,i)]),e.props.children=[a,r,...KS_PAC_DCFH_VB.getOtherChildren(e.props.children,i)])}}return e},renderFieldLabel=(KS_PAC_DCFH_VB.findInputFieldFromChildren=(e,t)=>{let o=[],i=e=>{e&&(Array.isArray(e)?e.forEach(i):e.$$typeof===Symbol.for("react.element")&&(!["input","email","select","phone-number","datetime-picker","text"].includes(t)||"input"!==e.type&&"select"!==e.type&&"textarea"!==e.type?e.props&&e.props.children&&i(e.props.children):o.push(e)))};return i(e),o},KS_PAC_DCFH_VB.getOtherChildren=(e,o)=>{let i=[],a=e=>{var t;return!e||(Array.isArray(e)?(0<(t=e.filter(e=>a(e))).length&&i.push(...t),!1):e.$$typeof!==Symbol.for("react.element")||!["input","email","select","phone-number","datetime-picker","text"].includes(o)||"input"!==e.type&&"select"!==e.type&&"textarea"!==e.type)};e=Array.isArray(e)?[...e]:[e];return a(e),i},(e,t,o,i,a,r)=>{let{StyleContainer:n,StyleDeclarations:d,isEdited:l}=r;var r=o?.fieldItem||{},s=r.advanced?.type?.desktop?.value??"input",p=(r.advanced?.id?.desktop?.value,r.innerContent?.desktop?.value,r.advanced?.required?.desktop?.value,o?.fieldCustomItem||{}),c=i?.orderClass,p=(p?.innerContent?.placeholderText?.desktop?.value,o?.fieldCustomLayout||{});let m=[];var u=React.createElement("span",{className:"et_pb_input_field_wrapper"}),_="on"===o?.fieldCustomLayout?.advanced?.showLabelOnLeft?.desktop?.value;let g=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children)];return _&&(g=React.cloneElement(u,{},...React.Children.toArray(e.props.children))),["input","email","text","select","file","datetime-picker","signature-pad","star-rating","phone-number"].includes(s)&&(m=React.createElement(n,{key:"et-pb-contact-fields-input-label-design",mode:"builder",state:l?a:"",noStyleTag:!1},i.style({attrName:"fieldCustomLayout",styleProps:{advancedStyles:[{componentName:"divi/common",props:{selector:c+" .et_pb_contact_form_label",attr:p?.advanced?.showLabel,declarationFunction:({attrValue:e})=>{var t=new d({returnType:"string",important:!0});return"on"===e&&t.add("display","block"),t.value}}},{componentName:"divi/common",props:{selector:c+" .et_pb_contact_form_label:after",attr:{...r?.advanced?.required||{},fieldCustomItem:{advanced:{showAsterisk:{desktop:{value:o?.fieldCustomItem?.advanced?.showAsterisk?.desktop?.value??"on"}}}}},declarationFunction:e=>{var t="on"===e.attrValue,e="on"===e.attr?.fieldCustomItem?.advanced?.showAsterisk?.desktop?.value;return t&&e?'content: "*";':""}}},{componentName:"divi/common",props:{selector:c+" .et_pb_input_field_wrapper",attr:p?.advanced?.showLabelOnLeft,declarationFunction:({attrValue:e})=>{var t=new d({returnType:"string"});return"on"===e&&(t.add("display","flex"),t.add("align-items","center")),t.value}}},{componentName:"divi/common",props:{selector:c+" .et_pb_input_field_wrapper .et_pb_contact_form_label",attr:p?.advanced?.labelWidth??{desktop:{value:"100px"}},declarationFunction:({attrValue:e})=>{var t=new d({returnType:"string"});return t.add("width",e),t.add("flex-shrink","0"),t.value}}},{componentName:"divi/common",props:{selector:c+" .et_pb_contact_field_desc",attr:p?.advanced?.labelWidth??"",declarationFunction:({attrValue:e})=>{var t=new d({returnType:"string"});return t.add("margin-left",e),t.value}}},{componentName:"divi/common",props:{selector:c+" .input",attr:p?.advanced?.labelWidth,declarationFunction:({})=>{var e=new d({returnType:"string"});return e.add("flex-grow","1"),e.value}}}]}}))),["checkbox","radio"].includes(s)&&(m=React.createElement(n,{key:"et-pb-contact-fields-choices-label-design",mode:"builder",state:l?a:"",noStyleTag:!1},i.style({attrName:"fieldCustomLayout",styleProps:{advancedStyles:[{componentName:"divi/common",props:{selector:c+" .et_pb_contact_field_options_title:after",attr:{...r?.advanced?.required||{},fieldCustomItem:{advanced:{showAsterisk:{desktop:{value:o?.fieldCustomItem?.advanced?.showAsterisk?.desktop?.value??"on"}}}}},declarationFunction:e=>{var t="on"===e.attrValue,e="on"===e.attr?.fieldCustomItem?.advanced?.showAsterisk?.desktop?.value;return t&&e?'content: "*";':""}}}]}}))),e.props.children=[g,m,[]],e}),renderPageBreakField=(t,o,i,a,e,r)=>{var{}=r,r=i?.fieldItem||{},n=r.advanced?.type?.desktop?.value??"input";if("page-break"===n){n=`et_pb_contact_${r.advanced?.id?.desktop?.value}_`+o,o=(a?.orderClass,r.innerContent?.desktop?.value??"New Field"),a=i?.pageBreakSettings?.innerContent?.heading?.desktop?.value,r=i?.pageBreakSettings?.innerContent?.subHeading?.desktop?.value;let e;e="new field"===o.toLowerCase()?"Page Break":a||o;i=[React.createElement("div",{className:"title",key:"title"},React.createElement("span",{key:"title-start"}),e,React.createElement("span",{key:"title-end"}))],a=(r&&i.push(React.createElement("div",{className:"subtitle",key:"subtitle"},r)),React.createElement("div",{id:n.toLowerCase(),className:"et_pb_page_break_container"},...i));t.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(t.props.children),a]}return t},renderPhoneNumberField=(e,t,o,i,a,r)=>{KS_PAC_DCFH_VB.loadScriptOnce("https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.6/jquery.inputmask.min.js").then(()=>{}).catch(()=>console.error("Failed to load inputmask js"));var{}=r,r=o?.fieldItem||{},n=(r.advanced?.type?.desktop?.value,r.advanced?.id?.desktop?.value),d=r.innerContent?.desktop?.value,r="off"!==r.advanced?.required?.desktop?.value,o=o?.fieldCustomItem||{},n=`et_pb_contact_${n}_`+t,t=(i?.orderClass,o?.innerContent?.placeholderText?.desktop?.value??d),i=(o?.innerContent?.phoneNumberPattern?.desktop?.value??"").split(",").map(e=>e.trim()),o=React.createElement("input",{type:"text",name:n.toLowerCase(),id:n.toLowerCase(),className:"input tel","data-required_mark":r?"required":"not_required","data-field_type":"text","data-original_id":n.toLowerCase(),placeholder:t,title:d});return e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),o],window.Inputmask&&Inputmask({mask:i,greedy:!1,clearMaskOnLostFocus:!1,definitions:{x:{validator:"[0-9]",cardinality:1}}}).mask(".tel"),e},renderFieldPlaceholder=(e,t,o,i,a,r)=>{var{}=r,r=o?.fieldItem||{},i=(r.advanced?.type?.desktop?.value,i?.orderClass,r.advanced?.id?.desktop?.value,r.innerContent?.desktop?.value),r="on"===r.advanced?.required?.desktop?.value,n=o?.fieldCustomItem||{},d="off"!==n?.advanced?.showAsterisk?.desktop?.value;let l="on"===n?.advanced?.hidePlaceholder?.desktop?.value,s=n?.innerContent?.placeholderText?.desktop?.value??i;n="on"===o?.fieldCustomLayout?.advanced?.showLabel?.desktop?.value;let p=r&&d&&!n?" *":"";return React.cloneElement(e,{...e.props,children:React.Children.map(e.props.children,e=>{if(!e||!e.props)return e;e.props.placeholder=l?"":s+p})})},renderRadioField=(e,t,o,i,a,r)=>{let{StyleContainer:n,StyleDeclarations:d,isEdited:l}=r;var r=o?.fieldItem||{},r=(r.advanced?.type?.desktop?.value,r.advanced?.id?.desktop?.value,r.innerContent?.desktop?.value,r.advanced?.required?.desktop?.value,o?.fieldCustomItem||{}),s=i?.orderClass;r?.innerContent?.placeholderText?.desktop?.value;let p=(o?.fieldCustomLayout||{})?.advanced;r=React.createElement(n,{key:"et-pb-contact-field-options-list-radio-design",mode:"builder",state:l?a:"",noStyleTag:!1},i.style({attrName:"fieldCustomLayout",styleProps:{advancedStyles:[{componentName:"divi/common",props:{selector:s+" .et_pb_contact_field_options_list",attr:p?.radioLayout,declarationFunction:({attrValue:e})=>{var t=new d({returnType:"string"});return"column"===e?(t.add("display","flex"),t.add("flex-wrap","wrap"),t.add("gap","10px")):"inline"===e&&(t.add("display","flex"),t.add("flex-wrap","nowrap"),t.add("flex-direction","row"),t.add("gap","30px")),t.value}}},{componentName:"divi/common",props:{selector:s+" .et_pb_contact_field_radio",attr:p?.radioColumns||[],declarationFunction:e=>{var t=p?.radioLayout?.[e.breakpoint]?.value??"default",o=new d({returnType:"string"});return"column"===t&&(t=e.attrValue,o.add("box-sizing","border-box"),o.add("width",`calc((100% / ${t}) - 10px + (10px / ${t}))`)),o.value}}}]}}));return e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),r],e},renderSignaturePadField=(e,t,o,i,a,r)=>{KS_PAC_DCFH_VB.loadScriptOnce("https://cdnjs.cloudflare.com/ajax/libs/signature_pad/5.0.5/signature_pad.umd.min.js").then(()=>{}).catch(()=>console.error("Failed to load signature pad js"));var{StyleContainer:r,isEdited:n}=r,d=o?.fieldItem||{},l=(d.advanced?.type?.desktop?.value,d.advanced?.id?.desktop?.value),s=d.innerContent?.desktop?.value,d="off"!==d.advanced?.required?.desktop?.value,l=`et_pb_contact_${l}_`+t,t=i?.orderClass,p=(o?.fieldCustomItem||{})?.innerContent?.placeholderText?.desktop?.value??s,o=o?.signaturePad||{},c=o?.innerContent?.saveButtonText?.desktop?.value??KS_PAC_DCFH_VB.appConfig.defaultStrings.signature_save_button_text,m=o?.innerContent?.clearButtonText?.desktop?.value??KS_PAC_DCFH_VB.appConfig.defaultStrings.signature_clear_button_text;let u=o?.decoration;o=document.querySelector(""+t);let _=0,g=(o&&(_=.99*o.getBoundingClientRect().width+10),"sp_canvas_"+l);o=React.createElement("a",{className:"save",role:"button","aria-label":c},c),c=React.createElement("a",{className:"clear",role:"button","aria-label":m},m),m=React.createElement("span",{className:"actions",style:{display:"flex"}},[o,c]),o=React.createElement("span",{className:"message",style:{display:"block"}},"Your Message will display here."),c=React.createElement("canvas",{id:g,width:u?.canvasWidth?.desktop?.value??_,height:u?.canvasHeight?.desktop?.value??150}),c=React.createElement("span",{className:"canvas__container",style:{display:"inline-block"}},[c,o,m]),o=React.createElement("input",{type:"hidden",name:l.toLowerCase(),id:l.toLowerCase(),className:"input","data-required_mark":d?"required":"not_required","data-field_type":"text","data-original_id":l.toLowerCase(),placeholder:p,title:s}),m=React.createElement(r,{key:"et-pb-signaturepad-container-design",mode:"builder",state:n?a:"",noStyleTag:!1},i.style({attrName:"signaturePad",styleProps:{advancedStyles:[{componentName:"divi/spacing",props:{selector:t+".et_pb_signaturepad_container canvas",attr:u?.canvasSpacing,important:!0}},{componentName:"divi/border",props:{selector:t+".et_pb_signaturepad_container canvas",attr:u?.canvasBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:t+".et_pb_signaturepad_container canvas",attr:u?.canvasShadow,important:!0}},{componentName:"divi/background",props:{selector:t+".et_pb_signaturepad_container .save",attr:u?.saveButtonBackground,important:!0}},{componentName:"divi/font",props:{selector:t+".et_pb_signaturepad_container .save",attr:u?.saveButtonFont,important:!0}},{componentName:"divi/spacing",props:{selector:t+".et_pb_signaturepad_container .save",attr:u?.saveButtonSpacing,important:!0}},{componentName:"divi/border",props:{selector:t+".et_pb_signaturepad_container .save",attr:u?.saveButtonBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:t+".et_pb_signaturepad_container .save",attr:u?.saveButtonShadow,important:!0}},{componentName:"divi/background",props:{selector:t+".et_pb_signaturepad_container .clear",attr:u?.clearButtonBackground,important:!0}},{componentName:"divi/font",props:{selector:t+".et_pb_signaturepad_container .clear",attr:u?.clearButtonFont,important:!0}},{componentName:"divi/spacing",props:{selector:t+".et_pb_signaturepad_container .clear",attr:u?.clearButtonSpacing,important:!0}},{componentName:"divi/border",props:{selector:t+".et_pb_signaturepad_container .clear",attr:u?.clearButtonBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:t+".et_pb_signaturepad_container .clear",attr:u?.clearButtonShadow,important:!0}},{componentName:"divi/background",props:{selector:t+".et_pb_signaturepad_container .message",attr:u?.messageBackground,important:!0}},{componentName:"divi/font",props:{selector:t+".et_pb_signaturepad_container .message",attr:u?.messageFont,important:!0}},{componentName:"divi/spacing",props:{selector:t+".et_pb_signaturepad_container .message",attr:u?.messageSpacing,important:!0}},{componentName:"divi/border",props:{selector:t+".et_pb_signaturepad_container .message",attr:u?.messageBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:t+".et_pb_signaturepad_container .message",attr:u?.messageShadow,important:!0}}]}}));return e.props.classname=`${e.props.classname||""} et_pb_signaturepad_container`.trim(),e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),c,o,m],setTimeout(()=>{var e,t=document.getElementById(g);t&&(e=KS_PAC_DCFH_VB.getSignaturePadCanvas(t,u),t.getAttribute("data-signature")!==e)&&(t.setAttribute("data-signature",e),new SignaturePad(t,{backgroundColor:u?.canvasBackground?.desktop?.value??"#eee",penColor:u?.canvasPenColor?.desktop?.value??"#000",maxWidth:u?.canvasPenThickness?.desktop?.value??2}))},100),e},renderStarRatingField=(KS_PAC_DCFH_VB.getSignaturePadCanvas=(e,t)=>JSON.stringify({width:e.width,height:e.height,backgroundColor:t?.canvasBackground?.desktop?.value??"#eee",penColor:t?.canvasPenColor?.desktop?.value??"#000",maxWidth:t?.canvasPenThickness?.desktop?.value??2}),(e,t,o,i,a,r)=>{let{StyleDeclarations:n,isEdited:d}=r;var r=o?.fieldItem||{},l=(r.advanced?.type?.desktop?.value,r.advanced?.id?.desktop?.value),s=r.innerContent?.desktop?.value,r="off"!==r.advanced?.required?.desktop?.value,p=o?.fieldCustomItem||{},t=`et_pb_contact_${l}_`+t,c=i?.orderClass,p=(p?.innerContent?.placeholderText?.desktop?.value,React.createElement("input",{type:"text",name:t,id:t,className:"input","data-required_mark":r?"required":"not_required","data-field_type":"text","data-original_id":l,title:s})),t=createStarElements(l),r=React.createElement(window.divi.module.StyleContainer,{key:"et-pb-rating-container-design",mode:"builder",state:d?a:"",noStyleTag:!1},React.createElement(window.vendor.wp.element.Fragment,{key:"vb-styles-fragment"},i.style({attrName:"starRating",styleProps:{advancedStyles:[{componentName:"divi/common",props:{selector:[c+".et_pb_rating_container > label svg",c+".et_pb_rating_container .half svg"],attr:o?.starRating?.decoration?.color??{desktop:{value:"#d3d3d3"}},declarationFunction:({attrValue:e})=>{var t=new n({returnType:"string",important:!0});return t.add("fill",e),t.value}}},{componentName:"divi/common",props:{selector:[c+".et_pb_rating_container label:hover svg",c+".et_pb_rating_container label:hover ~ label svg"],attr:o?.starRating?.decoration?.selectedColor??{desktop:{value:"#ffa500"}},declarationFunction:({attrValue:e})=>{var t=new n({returnType:"string",important:!0});return t.add("fill",e),t.value}}},{componentName:"divi/common",props:{selector:[c+".et_pb_rating_container > label svg",c+".et_pb_rating_container .half svg"],attr:o?.starRating?.decoration?.width??{desktop:{value:"1.8rem"}},declarationFunction:({attrValue:e})=>{var t=new n({returnType:"string",important:!0});return t.add("width",e),t.value}}},{componentName:"divi/common",props:{selector:[c+".et_pb_rating_container > label svg",c+".et_pb_rating_container .half svg"],attr:o?.starRating?.decoration?.height??{desktop:{value:"1.5rem"}},declarationFunction:({attrValue:e})=>{var t=new n({returnType:"string",important:!0});return t.add("height",e),t.value}}}]}}),React.createElement(window.vendor.wp.element.Fragment,{key:"fixed-styles-fragment"},`
${c}.et_pb_rating_container {display: inline-block;border: 0;}
${c}.et_pb_rating_container > input[type="text"] {display: none;}
${c}.et_pb_rating_container > label:not(.et_pb_contact_form_label) {float: right;cursor: pointer;position: relative;}
${c}.et_pb_rating_container .half svg {position: absolute;clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);}
`)));return e.props.classname=`${e.props.classname||""} et_pb_rating_container`.trim(),e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),...t,p,r],e}),createStarElements=o=>[{value:"5.0",title:"5 Stars"},{value:"4.5",title:"4.5 Stars",className:"half"},{value:"4.0",title:"4 Stars"},{value:"3.5",title:"3.5 Stars",className:"half"},{value:"3.0",title:"3 Stars"},{value:"2.5",title:"2.5 Stars",className:"half"},{value:"2.0",title:"2 Stars"},{value:"1.5",title:"1.5 Stars",className:"half"},{value:"1.0",title:"1 Star"},{value:"0.5",title:"0.5 Stars",className:"half"}].map((e,t)=>{t=o+"_"+(10-t);return[createStarRadioInputs(t,o,e),createStarRadioLabels(t,e)]}).flat(),createStarRadioInputs=(e,t,o)=>React.createElement("input",{type:"radio",id:e,name:"rating_"+t,value:o.value}),createStarRadioLabels=(e,t)=>{var o=[createStarSVG()];return"half"===t.className&&o.push(createStarSVG()),React.createElement("label",{htmlFor:e,title:t.title,className:t.className||null},...o)},createStarSVG=()=>React.createElement("svg",{viewBox:"0 0 24 24",width:20,height:20},React.createElement("path",{d:"M12 .587l3.668 7.431L24 9.748l-6 5.84 1.421 8.287L12 18.902l-7.421 3.973L6 15.588.004 9.748 8.332 8.02z"})),renderTextAreaField=(e,t,o,i,a,r)=>{var{}=r,r=o?.fieldItem||{},r=(r.advanced?.type?.desktop?.value,r.advanced?.id?.desktop?.value,r.innerContent?.desktop?.value,r.advanced?.required?.desktop?.value,o?.fieldCustomItem||{});i?.orderClass,r?.innerContent?.placeholderText?.desktop?.value;let n=(o?.fieldCustomLayout||{})?.advanced?.textAreaHeight?.desktop?.value;return void 0===n?e:React.cloneElement(e,{...e.props,children:React.Children.map(e.props.children,e=>{if(!e||!e.props)return e;e.props.style={minHeight:n}})})},addFieldItemGeneralAttributes=(e,t)=>{setRequiredSettings(e),addCustomInputTypes(e),e.fieldCustomItem={type:"object",settings:{advanced:{hidePlaceholder:{groupType:"group-item",item:{groupSlug:"contentText",attrName:"fieldCustomItem.advanced.hidePlaceholder",label:KS_PAC_DCFH_VB.i18n.__("Hide Placeholder","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to show or hide the field placeholder text.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:11,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{e=e?.fieldItem?.advanced?.type?.desktop?.value??"input";return"html-block"!==e&&"file"!==e&&"signature-pad"!==e&&"page-break"!==e}}},placeholderText:{groupType:"group-item",item:{groupSlug:"contentText",attrName:"fieldCustomItem.innerContent.placeholderText",label:KS_PAC_DCFH_VB.i18n.__("Placeholder","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom placeholder text for the field.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:11,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldCustomItem?.advanced?.hidePlaceholder?.desktop?.value??"off",e=e?.fieldItem?.advanced?.type?.desktop?.value??"input";return"off"===t&&"html-block"!==e&&"file"!==e&&"signature-pad"!==e&&"page-break"!==e}}},descriptionText:{groupType:"group-item",item:{groupSlug:"contentText",attrName:"fieldCustomItem.innerContent.descriptionText",label:KS_PAC_DCFH_VB.i18n.__("Description","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom description text to help explain or describe the field. Allowed Tags:a,abbr,br,b,cite,del,em,img,span,strike,strong,small,svg,iframe,sub,sup,video,audio","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:12,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{e=e?.fieldItem?.advanced?.type?.desktop?.value??"input";return"html-block"!==e&&"page-break"!==e}}},descriptionPosition:{groupType:"group-item",item:{groupSlug:"contentText",attrName:"fieldCustomItem.advanced.descriptionPosition",label:KS_PAC_DCFH_VB.i18n.__("Description Location","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose field description location.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:12,component:{name:"divi/select",type:"field",props:{options:{above:{label:KS_PAC_DCFH_VB.i18n.__("Above Field","divi-contact-form-helper")},below:{label:KS_PAC_DCFH_VB.i18n.__("Below Field","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"below"}},visible:({attrs:e})=>{e=e?.fieldItem?.advanced?.type?.desktop?.value??"input";return"html-block"!==e&&"page-break"!==e}}},showAsterisk:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomItem.advanced.showAsterisk",label:KS_PAC_DCFH_VB.i18n.__("Show Asterisk On Frontend","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to show an asterisk on the frontend to indicate the required field.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"on"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.required?.desktop?.value??"on",e=e?.fieldItem?.advanced?.type?.desktop?.value??"input";return"on"===t&&"html-block"!==e&&"page-break"!==e}}},textAreaMinLength:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomItem.advanced.textAreaMinLength",label:KS_PAC_DCFH_VB.i18n.__("Textarea Minimum Length","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Leave at 0 to remove restriction","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/range",type:"field",props:{min:0,max:100,step:1,minLimit:0,maxLimit:100,defaultUnit:!1,allowedUnits:!1}},defaultAttr:{desktop:{value:"0"}},visible:({attrs:e})=>"text"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}},textAreaMaxLength:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomItem.advanced.textAreaMaxLength",label:KS_PAC_DCFH_VB.i18n.__("Textarea Maximum Length","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Leave at 0 to remove restriction","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/range",type:"field",props:{min:0,max:100,step:1,minLimit:0,maxLimit:100,defaultUnit:!1,allowedUnits:!1}},defaultAttr:{desktop:{value:"0"}},visible:({attrs:e})=>"text"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}},textAreaAllowedSymbols:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomItem.advanced.textAreaAllowedSymbols",label:KS_PAC_DCFH_VB.i18n.__("Textarea Allowed Symbols","divi-contact-form-helper"),description:"",features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/select",type:"field",props:{options:{all:{label:KS_PAC_DCFH_VB.i18n.__("All","divi-contact-form-helper")},letters:{label:KS_PAC_DCFH_VB.i18n.__("Letters Only (A-Z)","divi-contact-form-helper")},numbers:{label:KS_PAC_DCFH_VB.i18n.__("Numbers Only (0-9)","divi-contact-form-helper")},alphanumeric:{label:KS_PAC_DCFH_VB.i18n.__("Alphanumeric Only (A-Z, 0-9)","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"all"}},visible:({attrs:e})=>"text"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}},searchInDropdownEnabled:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomItem.advanced.searchInDropdownEnabled",label:KS_PAC_DCFH_VB.i18n.__("Use Dropdown Search","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to add a search bar to the dropdown items.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>"select"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}},phoneNumberPattern:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomItem.innerContent.phoneNumberPattern",label:KS_PAC_DCFH_VB.i18n.__("Phone Number Format","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the specific phone number format you want to use. Please follow a pattern such as +x-xxx-xxx-xxxx or (xxx) xxx-xxxx with each x representing a number.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>"phone-number"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}}}}}},setRequiredSettings=e=>{e.fieldItem.settings.advanced.required.item.visible=({attrs:e})=>{e=e?.fieldItem?.advanced?.type?.desktop?.value??"input";return"html-block"!==e&&"page-break"!==e}},addCustomInputTypes=t=>{t?.fieldItem?.settings?.advanced?.type?.item?.component?.props?.options&&[{key:"phone-number",label:KS_PAC_DCFH_VB.i18n.__("Phone Number","divi-contact-form-helper")},{key:"file",label:KS_PAC_DCFH_VB.i18n.__("File Upload","divi-contact-form-helper")},{key:"datetime-picker",label:KS_PAC_DCFH_VB.i18n.__("DateTime Picker","divi-contact-form-helper")},{key:"signature-pad",label:KS_PAC_DCFH_VB.i18n.__("Signature Pad","divi-contact-form-helper")},{key:"html-block",label:KS_PAC_DCFH_VB.i18n.__("HTML Block","divi-contact-form-helper")},{key:"star-rating",label:KS_PAC_DCFH_VB.i18n.__("Star Rating","divi-contact-form-helper")},..."development"===KS_PAC_DCFH_VB.constants.ENV_MODE?[{key:"page-break",label:KS_PAC_DCFH_VB.i18n.__("Page Break","divi-contact-form-helper")}]:[]].forEach(e=>{t.fieldItem.settings.advanced.type.item.component.props.options[e.key]={label:e.label}})},addDateTimePickerGroup=(e,t)=>{e.designDateTimePicker={groupName:"designDateTimePicker",panel:"design",priority:10,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("DateTime Picker","divi-contact-form-helper"),visible:({attrs:e})=>"datetime-picker"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}}}},addDateTimePickerAttributes=(e,t)=>{e.dateTimePicker={type:"object",settings:{innerContent:{groupType:"group-items",items:{tabsList:{attrName:"dateTimePicker.innerContent.tabsList",groupSlug:"contentFieldOptions",priority:10,render:!0,component:{type:"field",name:"divi/button-options",props:{name:"dateTimePickerTabs",options:{tabGeneral:{label:KS_PAC_DCFH_VB.i18n.__("General","divi-contact-form-helper")},tabDatePicker:{label:KS_PAC_DCFH_VB.i18n.__("Date","divi-contact-form-helper")},tabTimePicker:{label:KS_PAC_DCFH_VB.i18n.__("Time","divi-contact-form-helper")}},showLabel:!0,tabUi:!0,visible:({attrs:e})=>"datetime-picker"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}}},pickerFieldType:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.pickerFieldType",label:KS_PAC_DCFH_VB.i18n.__("DateTime Picker Type","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose the type of date and/or time picker field to use.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/select",type:"field",props:{options:{both:{label:KS_PAC_DCFH_VB.i18n.__("Date & Time Picker","divi-contact-form-helper")},datePicker:{label:KS_PAC_DCFH_VB.i18n.__("Date Picker","divi-contact-form-helper")},timePicker:{label:KS_PAC_DCFH_VB.i18n.__("Time Picker","divi-contact-form-helper")},dateRangePicker:{label:KS_PAC_DCFH_VB.i18n.__("Date Ranger Picker","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"both"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabGeneral"===e}},dateTimeFormat:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.dateTimeFormat",label:KS_PAC_DCFH_VB.i18n.__("DateTime Picker Format","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the date and/or time format to use.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/select",type:"field",props:{options:KS_PAC_DCFH_VB.appConfig.dateTimeFormatOptions}},defaultAttr:{desktop:{value:"Y/m/d h:ia"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.pickerFieldType?.desktop?.value??"both",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"both"===o&&"datetime-picker"===t&&"tabGeneral"===e}},dateFormat:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.dateFormat",label:KS_PAC_DCFH_VB.i18n.__("Date Picker Format","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the date format to use.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/select",type:"field",props:{options:KS_PAC_DCFH_VB.appConfig.dateFormatOptions}},defaultAttr:{desktop:{value:"Y-m-d"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.pickerFieldType?.desktop?.value??"both",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return("datePicker"===o||"dateRangePicker"===o)&&"datetime-picker"===t&&"tabGeneral"===e}},timeFormat:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.timeFormat",label:KS_PAC_DCFH_VB.i18n.__("Time Picker Format","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the time format to use.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/select",type:"field",props:{options:KS_PAC_DCFH_VB.appConfig.timeFormatOptions}},defaultAttr:{desktop:{value:"h:ia"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.pickerFieldType?.desktop?.value??"both",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"timePicker"===o&&"datetime-picker"===t&&"tabGeneral"===e}},showInline:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.showInline",label:KS_PAC_DCFH_VB.i18n.__("Show DateTime Picker Inline","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to show the date and time picker all the time by default without first clicking into the field to open it.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=(e?.dateTimePicker?.advanced?.pickerFieldType?.desktop?.value,e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral");return"datetime-picker"===t&&"tabGeneral"===e}},autoFillCurrentDateTime:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.autoFillCurrentDateTime",label:KS_PAC_DCFH_VB.i18n.__("Set Input With Current DateTime","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to set textbox with current date/time onload.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.showInline?.desktop?.value??"off",i=e?.dateTimePicker?.advanced?.pickerFieldType?.desktop?.value??"both",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"on"!==o&&"datetime-picker"===t&&"dateRangePicker"!==i&&"tabGeneral"===e}},pickerLocale:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.pickerLocale",label:KS_PAC_DCFH_VB.i18n.__("DateTime Picker Language","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose which language to use for the date and time picker text. NOTE: This automatically uses the Site Language set in WordPress General Settings, so there is usually no need to adjust this, but it can be overridden here if needed.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/select",type:"field",props:{options:KS_PAC_DCFH_VB.appConfig.languagesOptions}},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultLocale}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabGeneral"===e}},enableRTL:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.enableRTL",label:KS_PAC_DCFH_VB.i18n.__("Locale Direction RTL","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set current locale right-to-left (RTL).","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabGeneral"===e}},enableICSCalendarSync:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.enableICSCalendarSync",label:KS_PAC_DCFH_VB.i18n.__("Enable ICS Calendar Sync","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to enable the feature to sync your ICS calendar feed with the date picker field.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabGeneral"===e}},icsFeedURL:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.icsFeedURL",label:KS_PAC_DCFH_VB.i18n.__("ICS Feed URL","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the URL of your .ics calendar feed to sync your calendar with the date picker field to automatically disable dates and times by syncing with other tools using the same .ics URL.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.enableICSCalendarSync?.desktop?.value??"off",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"on"===o&&"datetime-picker"===t&&"tabGeneral"===e}},customDateFormat:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.customDateFormat",label:KS_PAC_DCFH_VB.i18n.__("Custom Date Format","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a custom time format using your preferred PHP parameters. This will override and take priority over any other time format you have selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.pickerFieldType?.desktop?.value??"both",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datePicker"===o&&"datetime-picker"===t&&"tabDatePicker"===e}},dayOfWeekStart:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.dayOfWeekStart",label:KS_PAC_DCFH_VB.i18n.__("Week Start Day","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose the first day of the week in the calendar.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/select",type:"field",props:{options:KS_PAC_DCFH_VB.appConfig.weekDaysSelectOptions}},defaultAttr:{desktop:{value:"sunday"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabDatePicker"===e}},disabledDaysOfWeek:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.disabledDaysOfWeek",label:KS_PAC_DCFH_VB.i18n.__("Disable Week Days","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Select days of the week to disable.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/checkboxes",type:"field",props:{options:KS_PAC_DCFH_VB.appConfig.weekDaysCheckboxesOptions}},defaultAttr:{desktop:{value:["sunday","saturday"]}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabDatePicker"===e}},disableWeekRowNumberMarker:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.disableWeekRowNumberMarker",label:KS_PAC_DCFH_VB.i18n.__("Disable Weeks Row Number Marker","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to hide the week number marker beside each row in the datepicker calendar.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"on"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabDatePicker"===e}},disablePastDates:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.disablePastDates",label:KS_PAC_DCFH_VB.i18n.__("Disable Past Dates","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to prevent past dates from being selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabDatePicker"===e}},disableCurrentDate:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.disableCurrentDate",label:KS_PAC_DCFH_VB.i18n.__("Disable Current Date","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to prevent the current date from being selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabDatePicker"===e}},minDateType:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.minDateType",label:KS_PAC_DCFH_VB.i18n.__("Minimum Date Type","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose whether to use a fixed or relative minimum date.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/select",type:"field",props:{options:{none:{label:KS_PAC_DCFH_VB.i18n.__("None","divi-contact-form-helper")},fixed:{label:KS_PAC_DCFH_VB.i18n.__("Fixed","divi-contact-form-helper")},relative:{label:KS_PAC_DCFH_VB.i18n.__("Relative","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"none"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabDatePicker"===e}},minFixedDate:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.minFixedDate",label:KS_PAC_DCFH_VB.i18n.__("Fixed Minimum Date","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a fixed date to set a limit for the minimum date that can be selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.minDateType?.desktop?.value??"none",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"fixed"===o&&"datetime-picker"===t&&"tabDatePicker"===e}},minRelativeDate:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.minRelativeDate",label:KS_PAC_DCFH_VB.i18n.__("Relative Minimum Date","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a negative or positive number relevant to the current date to set a limit for the minimum date that can be selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.minDateType?.desktop?.value??"none",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"relative"===o&&"datetime-picker"===t&&"tabDatePicker"===e}},maxDateType:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.maxDateType",label:KS_PAC_DCFH_VB.i18n.__("Maximum Date Type","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose whether to use a fixed or relative maximum date.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/select",type:"field",props:{options:{none:{label:KS_PAC_DCFH_VB.i18n.__("None","divi-contact-form-helper")},fixed:{label:KS_PAC_DCFH_VB.i18n.__("Fixed","divi-contact-form-helper")},relative:{label:KS_PAC_DCFH_VB.i18n.__("Relative","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"none"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabDatePicker"===e}},maxFixedDate:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.maxFixedDate",label:KS_PAC_DCFH_VB.i18n.__("Fixed Maximum Date","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a fixed date to set a limit for the maximum date that can be selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.maxDateType?.desktop?.value??"none",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"fixed"===o&&"datetime-picker"===t&&"tabDatePicker"===e}},relativeFixedDate:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.relativeFixedDate",label:KS_PAC_DCFH_VB.i18n.__("Relative Maximum Date","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a negative or positive number relevant to the current date to set a limit for the maximum date that can be selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.maxDateType?.desktop?.value??"none",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"relative"===o&&"datetime-picker"===t&&"tabDatePicker"===e}},availableDates:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.availableDates",label:KS_PAC_DCFH_VB.i18n.__("Available Dates","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter specific dates that are available to be selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabDatePicker"===e}},unAvailableDates:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.unAvailableDates",label:KS_PAC_DCFH_VB.i18n.__("Unavailable Dates","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter specific dates that are not available to be selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabDatePicker"===e}},customTimeFormat:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.customTimeFormat",label:KS_PAC_DCFH_VB.i18n.__("Custom Time Format","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a custom time format using your preferred PHP parameters. This will override and take priority over any other time format you have selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=e?.dateTimePicker?.advanced?.pickerFieldType?.desktop?.value??"both",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"timePicker"===o&&"datetime-picker"===t&&"tabTimePicker"===e}},disablePastTimes:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.advanced.disablePastTimes",label:KS_PAC_DCFH_VB.i18n.__("Disable Past Times","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to prevent past times from being selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabTimePicker"===e}},timeSlotInterval:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.timeSlotInterval",label:KS_PAC_DCFH_VB.i18n.__("Time Steps","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the number of minutes to set the interval between the available times that can be selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:"30"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabTimePicker"===e}},minSelectableTime:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.minSelectableTime",label:KS_PAC_DCFH_VB.i18n.__("Minimum Time","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the minimum time limit that can be selected. Set 0 to disabled past time.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabTimePicker"===e}},maxSelectableTime:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.maxSelectableTime",label:KS_PAC_DCFH_VB.i18n.__("Maximum Time","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the maximum time limit that can be selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabTimePicker"===e}},globalAvailableTimes:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.globalAvailableTimes",label:KS_PAC_DCFH_VB.i18n.__("Available Times (Global)","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter specific times that are available to be selected for all days.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabTimePicker"===e}},globalUnAvailableTimes:{groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.globalUnAvailableTimes",label:KS_PAC_DCFH_VB.i18n.__("Unavailable Times (Global)","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter specific times that are not available to be selected for all days.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value??"tabGeneral";return"datetime-picker"===t&&"tabTimePicker"===e}},...generateAvailableUnavailableTimeFields().reduce((e,t)=>(e[t.attrName+"."+t.subName]=t,e),{})}},decoration:{tabsList:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{type:"field",name:"divi/button-options",props:{name:"dateTimePickerTabs",options:{tabContainer:{label:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper")},tabDatePicker:{label:KS_PAC_DCFH_VB.i18n.__("Date","divi-contact-form-helper")},tabTimePicker:{label:KS_PAC_DCFH_VB.i18n.__("Time","divi-contact-form-helper")}},showLabel:!0,tabUi:!0}}}},containerBackground:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerSpacing:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerBorder:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerShadow:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},datesContainerWidth:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Dates Picker Width","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the width of the datetime picker.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1e3,step:10,minLimit:0,maxLimit:1e3,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"224px"}}}},datesContainerHeight:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Dates Picker Height","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the height of the datetime picker.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1e3,step:10,minLimit:0,maxLimit:1e3,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"150px"}}}},timesContainerWidth:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Time Picker Width","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the width of the time picker.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1e3,step:10,minLimit:0,maxLimit:1e3,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"58px"}}}},timesContainerHeight:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Time Picker Height","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the height of the time picker.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1e3,step:10,minLimit:0,maxLimit:1e3,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"151px"}}}},Divider1:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Month/Year"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},monthYearFont:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Month/Year","divi-contact-form-helper"),visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},monthYearBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Month/Year Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider2:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Days Of Week"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},daysOfWeekFont:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Days Of Week","divi-contact-form-helper"),visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},daysOfWeekBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Days Of Week Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider3:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Calendar Dates"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},calendarDatesFont:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Calendar Dates","divi-contact-form-helper"),visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},calendarDatesBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Calendar Dates Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider4:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Current Date"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},currentDateTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Current Date Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},currentDateBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Current Date Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider5:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Selected Date"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},selectedDateTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Selected Date Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},selectedDateBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Selected Date Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider6:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Available Dates"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},avalaibleDatesTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Available Dates Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},avalaibleDatesBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Available Dates Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider7:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Unavailable Dates"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},unAvalaibleDatesTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Unavailable Dates Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},unAvalaibleDatesBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Unavailable Dates Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider8:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Time Font"}},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},timeFont:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Time Text","divi-contact-form-helper"),visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},timeBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Time Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider9:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Selected Time"}},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},selectedTimeTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Selected Time Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},selectedTimeBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Selected Time Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider10:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Available Times"}},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},avalaibleTimesTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Available Times Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},avalaibleTimesBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Available Times Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider11:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Unavailable Times"}},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},unAvalaibleTimesTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Unavailable Times Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},unAvalaibleTimesBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Unavailable Times Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}}}},generateAvailableUnavailableTimeFields=()=>{var e,t=[];for(e in KS_PAC_DCFH_VB.appConfig.weekDaysSelectOptions){var o=KS_PAC_DCFH_VB.appConfig.weekDaysSelectOptions[e];t.push({groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.availableTimes"+o.label,label:KS_PAC_DCFH_VB.i18n.sprintf(KS_PAC_DCFH_VB.i18n.__("Available Times %s","divi-contact-form-helper"),o.label),description:KS_PAC_DCFH_VB.i18n.sprintf(KS_PAC_DCFH_VB.i18n.__("Enter specific times that are available to be selected on %s.","divi-contact-form-helper"),o.label),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value||"tabGeneral";return"datetime-picker"===t&&"tabTimePicker"===e}}),t.push({groupSlug:"contentFieldOptions",attrName:"dateTimePicker.innerContent.unAvailableTimes"+o.label,label:KS_PAC_DCFH_VB.i18n.sprintf(KS_PAC_DCFH_VB.i18n.__("Unavailable Times %s","divi-contact-form-helper"),o.label),description:KS_PAC_DCFH_VB.i18n.sprintf(KS_PAC_DCFH_VB.i18n.__("Enter specific times that are not available to be selected on %s.","divi-contact-form-helper"),o.label),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",e=e?.dateTimePicker?.innerContent?.tabsList?.desktop?.value||"tabGeneral";return"datetime-picker"===t&&"tabTimePicker"===e}})}return t},addFileUploadGroup=(e,t)=>{e.designFileUpload={groupName:"designFileUpload",panel:"design",priority:9,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("File Upload","divi-contact-form-helper"),visible:isFileFieldType}}}},addFileUploadAttributes=(e,t)=>{e.fileUpload={type:"object",selector:"{{selector}} .et_pb_files_container",settings:{innerContent:{groupType:"group-items",items:{maxFileSize:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.maxFileSize",label:KS_PAC_DCFH_VB.i18n.__("Maximum Upload File Size","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set an allowed maximum file size limit for the attachments uploaded to the form. The value is set in kb (kilobytes) and can be calculated easily online from megabits if needed.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:"1024"}},visible:isFileFieldType},maxFileSizeNotice:{groupSlug:"contentFieldOptions",attrName:"",label:"",features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/warning",type:"field",props:{message:KS_PAC_DCFH_VB.appConfig.uploadSizeInfoMessage}},visible:isFileFieldType},maxFileCount:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.maxFileCount",label:KS_PAC_DCFH_VB.i18n.__("Maximum Number Of Files","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set an allowed maximum number of files which can be attached to the contact form.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/range",type:"field",props:{min:1,max:20,step:10,minLimit:1,maxLimit:20,defaultUnit:!1,allowedUnits:!1}},defaultAttr:{desktop:{value:"2"}},visible:isFileFieldType},allowedFileTypes:{groupSlug:"contentFieldOptions",attrName:"fileUpload.advanced.allowedFileTypes",label:KS_PAC_DCFH_VB.i18n.__("Allowed File Types","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Select the types of files users are allowed to upload to the form.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/checkboxes",type:"field",props:{options:KS_PAC_DCFH_VB.appConfig.mimeTypeOptions}},defaultAttr:{desktop:{value:["image/jpeg","image/png"]}},visible:isFileFieldType},buttonText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.buttonText",label:KS_PAC_DCFH_VB.i18n.__("Upload Button Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for the upload file button.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_button_text}},visible:isFileFieldType},acceptedFileTypesText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.acceptedFileTypesText",label:KS_PAC_DCFH_VB.i18n.__("Accepted File Types Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text to describe the allowed file types.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_accepted_file_types_text}},visible:isFileFieldType},maxFileSizeText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.maxFileSizeText",label:KS_PAC_DCFH_VB.i18n.__("Max File Size Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text to show the maximum allowed file size.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_max_file_size_text}},visible:isFileFieldType},noFilesChosenText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.noFilesChosenText",label:KS_PAC_DCFH_VB.i18n.__("No Files Chosen Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text to display when no file has been selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_no_files_chosen_text}},visible:isFileFieldType},numberOfChosenFilesText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.numberOfChosenFilesText",label:KS_PAC_DCFH_VB.i18n.__("Number Of Chosen Files Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text to show how many files have been selected.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_number_of_chosen_files_text}},visible:isFileFieldType},uploadingFilesText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.uploadingFilesText",label:KS_PAC_DCFH_VB.i18n.__("Uploading Files Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text to display during the file upload process.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_uploading_files_text}},visible:isFileFieldType},fileAlreadyAttachedText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.fileAlreadyAttachedText",label:KS_PAC_DCFH_VB.i18n.__("File Already Attached Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text to indicate when a file has already been attached.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_already_attached_text}},visible:isFileFieldType},uploadFileSizeWarningText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.uploadFileSizeWarningText",label:KS_PAC_DCFH_VB.i18n.__("File Size Warning Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for a warning about the maximum file size.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_file_size_warning_text}},visible:isFileFieldType},numberOfAllowedFilesText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.numberOfAllowedFilesText",label:KS_PAC_DCFH_VB.i18n.__("Number Of Allowed Files Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for a message that limits the number of files that can be uploaded.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_number_of_allowed_files_text}},visible:isFileFieldType},removeFileText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.removeFileText",label:KS_PAC_DCFH_VB.i18n.__("Remove File Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for the remove file button or link.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_remove_file_text}},visible:isFileFieldType},deleteIconHoverText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.deleteIconHoverText",label:KS_PAC_DCFH_VB.i18n.__("Delete Icon Hover Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for the tooltip shown when hovering over the delete file icon.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_delete_icon_hover_text}},visible:isFileFieldType},notAllowedErrorText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.notAllowedErrorText",label:KS_PAC_DCFH_VB.i18n.__("Not Allowed Error Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom error text for when a user tries to upload a file type that is no allowed.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_not_allowed_error_text}},visible:isFileFieldType},allowedFileSizeErrorText:{groupSlug:"contentFieldOptions",attrName:"fileUpload.innerContent.allowedFileSizeErrorText",label:KS_PAC_DCFH_VB.i18n.__("Allowed File Size Error Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom error text for when a file exceeds the allowed size.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.upload_allowed_file_size_error_text}},visible:isFileFieldType}}},decoration:{tabsList:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"field",name:"divi/button-options",props:{options:{tabContainer:{label:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper")},tabFiles:{label:KS_PAC_DCFH_VB.i18n.__("Files","divi-contact-form-helper")},tabButton:{label:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper")}},showLabel:!0,tabUi:!0}}}},containerBackground:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}},defaultAttr:{desktop:{value:"#eee"}}}},containerSpacing:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),defaultGroupAttr:{desktop:{value:{padding:{top:"20px",right:"20px",bottom:"20px",left:"20px"}}}},visible:({attrs:e})=>"tabContainer"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerBorder:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerShadow:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},Divider1:{groupType:"group-item",item:{groupSlug:"designFileUpload",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Attached Files Settings"}},visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}},attachedFilesTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Attached List Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for attached files.","divi-contact-form-helper"),groupSlug:"designFileUpload",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"#808080"}}}},Divider2:{groupType:"group-item",item:{groupSlug:"designFileUpload",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Accepted File Settings"}},visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}},acceptedFilesTypesFont:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Accepted File Types","divi-contact-form-helper"),visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},acceptedFilesTypesSpacing:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Accepted File Types","divi-contact-form-helper"),visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},Divider3:{groupType:"group-item",item:{groupSlug:"designFileUpload",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Selected File Settings"}},visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}},selectedFilesFont:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Selected File Text","divi-contact-form-helper"),defaultGroupAttr:{font:{desktop:{value:{size:"16px",lineHeight:"1em"}}}},visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},uploadButtonFont:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},uploadbuttonBackground:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}},defaultAttr:{desktop:{value:"#eee"}}}},uploadButtonSpacing:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},uploadButtonBorder:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},uploadButtonShowIcon:{groupType:"group-item",item:{groupSlug:"designFileUpload",label:KS_PAC_DCFH_VB.i18n.__("Show Button Icon","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("When enabled, this will add a custom icon within the button.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/toggle",type:"field"},visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"on"}}}},uploadButtonIcon:{groupType:"group-item",item:{groupSlug:"designFileUpload",label:KS_PAC_DCFH_VB.i18n.__("Button Icon","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick an icon to be used for the button.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/icon-picker",type:"field"},visible:({attrs:e})=>{var t=e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer";return"on"===(e?.fileUpload?.decoration?.uploadButtonShowIcon?.desktop?.value??"on")&&"tabButton"===t}}},uploadButtonIconColor:{groupType:"group-item",item:{groupSlug:"designFileUpload",label:KS_PAC_DCFH_VB.i18n.__("Button Icon Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the icon.","divi-contact-form-helper"),render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>{var t=e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer";return"on"===(e?.fileUpload?.decoration?.uploadButtonShowIcon?.desktop?.value??"on")&&"tabButton"===t}}},uploadButtonIconPosition:{groupType:"group-item",item:{groupSlug:"designFileUpload",label:KS_PAC_DCFH_VB.i18n.__("Button Icon Placement","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose where the button icon should be displayed within the button.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/select",type:"field",props:{options:{left:{label:KS_PAC_DCFH_VB.i18n.__("Left","divi-contact-form-helper")},right:{label:KS_PAC_DCFH_VB.i18n.__("Right","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"right"}},visible:({attrs:e})=>{var t=e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer";return"on"===(e?.fileUpload?.decoration?.uploadButtonShowIcon?.desktop?.value??"on")&&"tabButton"===t}}},uploadButtonHoverIcon:{groupType:"group-item",item:{groupSlug:"designFileUpload",label:KS_PAC_DCFH_VB.i18n.__("Only Show Icon On Hover for Button","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("By default, button icons are displayed on hover. If you would like button icons to always be displayed, then you can enable this option.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"on"}},visible:({attrs:e})=>{var t=e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer";return"on"===(e?.fileUpload?.decoration?.uploadButtonShowIcon?.desktop?.value??"on")&&"tabButton"===t}}},uploadButtonShadow:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}}}}}},isFileFieldType=({attrs:e})=>"file"===e?.fieldItem?.advanced?.type?.desktop?.value,addFieldHTMLBlockGroup=(e,t)=>{e.designHTMLBlock={groupName:"designHTMLBlock",panel:"design",priority:10,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("HTML Block","domain"),visible:({attrs:e})=>"html-block"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}}}},addHTMLFieldAttributes=(e,t)=>{e.htmlBlock={type:"object",selector:"{{selector}}.et_pb_html_field",settings:{innerContent:{groupType:"group-items",items:{htmlContent:{groupSlug:"contentFieldOptions",attrName:"htmlBlock.innerContent.htmlContent",label:KS_PAC_DCFH_VB.i18n.__("HTML Block Content","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter any HMTL or use the rich text editor to create section headings, paragraphs, formatted text, divider lines, images, videos, links, lists, and more anywhere in your form! Contents of the HTML field will display on the frontend of the form, but will not be saved in the submission entry data.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:5,component:{name:"divi/richtext",type:"field"},visible:({attrs:e})=>{e=e.fieldItem;return"html-block"===(e?.advanced?.type?.desktop?.value??"input")}}}},decoration:{tabsList:{groupType:"group-item",item:{groupSlug:"designHTMLBlock",render:!0,component:{type:"field",name:"divi/button-options",props:{name:"htmlBlockTabs",options:{tabContainer:{label:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper")},tabHeadingsFont:{label:KS_PAC_DCFH_VB.i18n.__("Headings","divi-contact-form-helper")},tabBodyFont:{label:KS_PAC_DCFH_VB.i18n.__("Body","divi-contact-form-helper")},tabImage:{label:KS_PAC_DCFH_VB.i18n.__("Image","divi-contact-form-helper")}},showLabel:!0,tabUi:!0}}}},containerBackground:{groupType:"group-item",item:{groupSlug:"designHTMLBlock",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerSpacing:{groupType:"group-item",item:{groupSlug:"designHTMLBlock",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),defaultGroupAttr:{desktop:{value:{padding:{top:"0",right:"0",bottom:"0",left:"3%"},margin:{top:"0",right:"0",bottom:"0",left:"3%"}}}},visible:({attrs:e})=>"tabContainer"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerBorder:{groupType:"group-item",item:{groupSlug:"designHTMLBlock",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerShadow:{groupType:"group-item",item:{groupSlug:"designHTMLBlock",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},headingFont:{groupType:"group-item",item:{groupSlug:"designHTMLBlock",render:!0,component:{name:"divi/font-header",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Heading","divi-contact-form-helper"),fields:{headingLevel:{render:!0}},visible:({attrs:e})=>"tabHeadingsFont"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},contentFont:{groupType:"group-item",item:{groupSlug:"designHTMLBlock",render:!0,component:{name:"divi/font-body",type:"group",props:{grouped:!1,groups:{body:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Font","divi-contact-form-helper")},link:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Link","divi-contact-form-helper")},ul:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Unordered List","divi-contact-form-helper")},ol:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Ordered List","divi-contact-form-helper")},quote:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Blockquote","divi-contact-form-helper")}},visible:({attrs:e})=>"tabBodyFont"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},imageWidth:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Image Width","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the width of the image.","divi-contact-form-helper"),groupSlug:"designHTMLBlock",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1440,step:10,minLimit:0,maxLimit:1440,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},visible:({attrs:e})=>"tabImage"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"0px"}}}},imageHeight:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Image Height","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the height of the image.","divi-contact-form-helper"),groupSlug:"designHTMLBlock",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1440,step:10,minLimit:0,maxLimit:1440,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},visible:({attrs:e})=>"tabImage"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"0px"}}}},imageFit:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Image Fit","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose how the image should fit within its container.","divi-contact-form-helper"),groupSlug:"designHTMLBlock",render:!0,component:{name:"divi/select",type:"field",props:{options:{contain:{label:KS_PAC_DCFH_VB.i18n.__("Contain","divi-contact-form-helper")},cover:{label:KS_PAC_DCFH_VB.i18n.__("Cover","divi-contact-form-helper")}}}},visible:({attrs:e})=>"tabImage"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"contain"}}}},imageSpacing:{groupType:"group-item",item:{groupSlug:"designHTMLBlock",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Image","divi-contact-form-helper"),visible:({attrs:e})=>"tabImage"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},imageBorder:{groupType:"group-item",item:{groupSlug:"designHTMLBlock",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Image","divi-contact-form-helper"),visible:({attrs:e})=>"tabImage"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},imageShadow:{groupType:"group-item",item:{groupSlug:"designHTMLBlock",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Image","divi-contact-form-helper"),visible:({attrs:e})=>"tabImage"===(e?.htmlBlock?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}}}}}},addFieldIconGroup=(e,t)=>{e.designFieldIcon={groupName:"designFieldIcon",panel:"design",priority:8,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Field Icon","divi-contact-form-helper"),visible:({attrs:e})=>{e=e?.fieldItem?.advanced?.type?.desktop?.value??"input";return"file"!==e&&"signature-pad"!==e&&"html-block"!==e&&"star-rating"!==e}}}}},addFieldIconAttributes=(e,t)=>{e.fieldIcon={type:"object",selector:"{{selector}} .et_pb_files_container",settings:{innerContent:{groupType:"group-items",items:{showIcon:{groupSlug:"designFieldIcon",attrName:"fieldIcon.advanced.showIcon",label:KS_PAC_DCFH_VB.i18n.__("Use Icon","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enable this option to add an icon to the form field.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},icon:{groupSlug:"designFieldIcon",attrName:"fieldIcon.advanced.icon",label:KS_PAC_DCFH_VB.i18n.__("Icon","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose an icon to display inside the form field.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/icon-picker",type:"field"},visible:({attrs:e})=>"on"===(e?.fieldIcon?.advanced?.showIcon?.desktop?.value??"off")}}},decoration:{iconColor:{groupType:"group-item",item:{groupSlug:"designFieldIcon",attrName:"fieldIcon.decoration.iconColor",label:KS_PAC_DCFH_VB.i18n.__("Icon Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for icon.","divi-contact-form-helper"),render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"on"===(e?.fieldIcon?.advanced?.showIcon?.desktop?.value??"off")}}}}}},addFieldLayout=(e,t)=>{e.designFieldLayout={groupName:"designFieldLayout",panel:"design",priority:8,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Field Layout","divi-contact-form-helper")}}}},addLayoutAttributes=(e,t)=>{e.fieldCustomLayout={type:"object",settings:{advanced:{showLabel:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomLayout.advanced.showLabel",label:KS_PAC_DCFH_VB.i18n.__("Show Label On Frontend","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to show or hide the field label on the frontend.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},priority:10,render:!0,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{e=e?.fieldItem?.advanced?.type?.desktop?.value??"input";return"html-block"!==e&&"radio"!==e&&"checkbox"!==e&&"page-break"!==e}}},showLabelOnLeft:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomLayout.advanced.showLabelOnLeft",label:KS_PAC_DCFH_VB.i18n.__("Show Label On Left Side","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to show the label text on the left side of the field instead of at the top.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{var t=e?.fieldCustomLayout?.advanced?.showLabel?.desktop?.value??"off",e=e?.fieldItem?.advanced?.type?.desktop?.value??"input";return"on"===t&&"html-block"!==e&&"radio"!==e&&"checkbox"!==e}}},labelWidth:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomLayout.advanced.labelWidth",label:KS_PAC_DCFH_VB.i18n.__("Label Width","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the width of the label text on the left side of the field.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:500,step:10,minLimit:0,maxLimit:500,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},defaultAttr:{desktop:{value:"100px"}},visible:({attrs:e})=>{var t=e?.fieldCustomLayout?.advanced?.showLabel?.desktop?.value??"off",e=e?.fieldCustomLayout?.advanced?.showLabelOnLeft?.desktop?.value??"off";return"on"===t&&"on"===e}}},textAreaHeight:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomLayout.advanced.textAreaHeight",label:KS_PAC_DCFH_VB.i18n.__("Textarea Minimum Height","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to adjust the default height of the textarea box.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:500,step:10,minLimit:0,maxLimit:500,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},defaultAttr:{desktop:{value:"150px"}},visible:({attrs:e})=>"text"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}},checkboxLayout:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomLayout.advanced.checkboxLayout",label:KS_PAC_DCFH_VB.i18n.__("Checkbox Layout","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose how you want the checkboxes to display.","divi-contact-form-helper"),features:{responsive:!0,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/select",type:"field",props:{options:{default:{label:KS_PAC_DCFH_VB.i18n.__("Default","divi-contact-form-helper")},column:{label:KS_PAC_DCFH_VB.i18n.__("Columns","divi-contact-form-helper")},inline:{label:KS_PAC_DCFH_VB.i18n.__("Inline","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"default"},tablet:{value:"default"},phone:{value:"default"}},visible:({attrs:e})=>"checkbox"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}},checkboxColumns:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomLayout.advanced.checkboxColumns",label:KS_PAC_DCFH_VB.i18n.__("Number Of Checkbox Columns","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose the number of columns for the checkboxes.","divi-contact-form-helper"),features:{responsive:!0,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/range",type:"field",props:{min:1,max:12,step:1,minLimit:1,maxLimit:12,defaultUnit:!1,allowedUnits:!1}},defaultAttr:{desktop:{value:"1"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=window.divi.data.select("divi/app-ui").getView(),e=e?.fieldCustomLayout?.advanced?.checkboxLayout?.[o]?.value??"default";return"checkbox"===t&&"column"===e}}},radioLayout:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomLayout.advanced.radioLayout",label:KS_PAC_DCFH_VB.i18n.__("Radio Button Layout","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose how you want the radio buttons to display.","divi-contact-form-helper"),features:{responsive:!0,hover:!1,sticky:!1,preset:"content"},render:!0,priority:8,component:{name:"divi/select",type:"field",props:{options:{default:{label:KS_PAC_DCFH_VB.i18n.__("Default","divi-contact-form-helper")},column:{label:KS_PAC_DCFH_VB.i18n.__("Columns","divi-contact-form-helper")},inline:{label:KS_PAC_DCFH_VB.i18n.__("Inline","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"default"},tablet:{value:"default"},phone:{value:"default"}},visible:({attrs:e})=>"radio"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}},radioColumns:{groupType:"group-item",item:{groupSlug:"contentFieldOptions",attrName:"fieldCustomLayout.advanced.radioColumns",label:KS_PAC_DCFH_VB.i18n.__("Number Of Radio Button Columns","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose the number of columns for the radio buttons.","divi-contact-form-helper"),features:{responsive:!0,hover:!1,sticky:!1,preset:"content"},render:!0,priority:8,component:{name:"divi/range",type:"field",props:{min:1,max:12,step:1,minLimit:1,maxLimit:12,defaultUnit:!1,allowedUnits:!1}},defaultAttr:{desktop:{value:"1"}},visible:({attrs:e})=>{var t=e?.fieldItem?.advanced?.type?.desktop?.value??"input",o=window.divi.data.select("divi/app-ui").getView(),e=e?.fieldCustomLayout?.advanced?.radioLayout?.[o]?.value??"column";return"radio"===t&&"column"===e}}}}}}},addPageBreakAttributes=(e,t)=>{e.pageBreakSettings={type:"object",selector:"{{selector}} .et_pb_files_container",settings:{innerContent:{groupType:"group-items",items:{heading:{groupSlug:"contentFieldOptions",attrName:"pageBreakSettings.innerContent.heading",label:KS_PAC_DCFH_VB.i18n.__("Page Break Title","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the main title text to display for this page break.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},priority:10,render:!0,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>"page-break"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")},subHeading:{groupSlug:"contentFieldOptions",attrName:"pageBreakSettings.innerContent.subHeading",label:KS_PAC_DCFH_VB.i18n.__("Page Break Subtitle","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Add supporting text or instructions to display below the page break title.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},priority:10,render:!0,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>"page-break"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")},icon:{groupSlug:"contentFieldOptions",attrName:"pageBreakSettings.innerContent.icon",label:KS_PAC_DCFH_VB.i18n.__("Page Break Icon","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Select an icon to display alongside the page break title. Ignored if using an image.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},priority:10,render:!0,component:{name:"divi/icon-picker",type:"field"},visible:({attrs:e})=>{var t=e?.pageBreakSettings?.advanced?.useImage?.desktop?.value??"off";return"page-break"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")&&"off"===t}},useImage:{groupSlug:"contentFieldOptions",attrName:"pageBreakSettings.advanced.useImage",label:KS_PAC_DCFH_VB.i18n.__("Use Image Instead of Icon","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enable this option to display an image instead of an icon for the page break.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},priority:13,render:!0,component:{name:"divi/toggle",type:"field"},visible:({attrs:e})=>"page-break"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")},image:{groupSlug:"contentFieldOptions",attrName:"pageBreakSettings.advanced.image",label:KS_PAC_DCFH_VB.i18n.__("Page Break Image","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__('Upload an image to display for this page break. This replaces the icon if "Use Image Instead of Icon" is enabled.',"divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},priority:10,render:!0,component:{name:"divi/upload",type:"field"},visible:({attrs:e})=>{var t=e?.pageBreakSettings?.advanced?.useImage?.desktop?.value??"off";return"page-break"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")&&"on"===t}}}}}}},addFieldSignaturePadGroup=(e,t)=>{e.designSignaturePad={groupName:"designSignaturePad",panel:"design",priority:10,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Signature Pad","divi-contact-form-helper"),visible:({attrs:e})=>"signature-pad"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}}}},addSignaturePadAttributes=(e,t)=>{e.signaturePad={type:"object",selector:"{{selector}} .et_pb_signaturepad_container",settings:{innerContent:{groupType:"group-items",items:{emptyPadText:{groupSlug:"contentFieldOptions",attrName:"signaturePad.innerContent.emptyPadText",label:KS_PAC_DCFH_VB.i18n.__("Empty Pad Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text to display when the signature pad is empty.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.signature_empty_pad_text}},visible:isSignaturePadFieldType},saveConfirmationText:{groupSlug:"contentFieldOptions",attrName:"signaturePad.innerContent.saveConfirmationText",label:KS_PAC_DCFH_VB.i18n.__("Save Confirmation Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom confirmation text shown before saving the signature.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.signature_save_confirmation_text}},visible:isSignaturePadFieldType},saveMessageText:{groupSlug:"contentFieldOptions",attrName:"signaturePad.innerContent.saveMessageText",label:KS_PAC_DCFH_VB.i18n.__("Save Message Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for a success message after saving.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.signature_save_message_text}},visible:isSignaturePadFieldType},deleteMessageText:{groupSlug:"contentFieldOptions",attrName:"signaturePad.innerContent.deleteMessageText",label:KS_PAC_DCFH_VB.i18n.__("Delete Message Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for a message after deleting a signature.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.signature_delete_message_text}},visible:isSignaturePadFieldType},saveButtonText:{groupSlug:"contentFieldOptions",attrName:"signaturePad.innerContent.saveButtonText",label:KS_PAC_DCFH_VB.i18n.__("Save Button Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for a message after deleting a signature.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.signature_save_button_text}},visible:isSignaturePadFieldType},clearButtonText:{groupSlug:"contentFieldOptions",attrName:"signaturePad.innerContent.clearButtonText",label:KS_PAC_DCFH_VB.i18n.__("Clear Button Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for the clear button label.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:20,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.signature_clear_button_text}},visible:isSignaturePadFieldType}}},decoration:{tabsList:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"field",name:"divi/button-options",props:{name:"signaturePadTabs",options:{tabPad:{label:KS_PAC_DCFH_VB.i18n.__("Pad","divi-contact-form-helper")},tabSaveButton:{label:KS_PAC_DCFH_VB.i18n.__("Save","divi-contact-form-helper")},tabClearButton:{label:KS_PAC_DCFH_VB.i18n.__("Clear","divi-contact-form-helper")},tabMessage:{label:KS_PAC_DCFH_VB.i18n.__("Message","divi-contact-form-helper")}},showLabel:!0,tabUi:!0}}}},canvasWidth:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Signature Pad Width","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the width of the signature pad.","divi-contact-form-helper"),groupSlug:"designSignaturePad",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1080,step:1,minLimit:0,maxLimit:1080,defaultUnit:!1,allowedUnits:!1}},visible:({attrs:e})=>"tabPad"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad"),defaultAttr:{desktop:{value:""}}}},canvasHeight:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Signature Pad Height","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the height of the signature pad.","divi-contact-form-helper"),groupSlug:"designSignaturePad",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:800,step:1,minLimit:0,maxLimit:800,defaultUnit:!1,allowedUnits:!1}},visible:({attrs:e})=>"tabPad"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad"),defaultAttr:{desktop:{value:"150"}}}},canvasBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Signature Pad Background","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the signature pad background.","divi-contact-form-helper"),groupSlug:"designSignaturePad",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabPad"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad"),defaultAttr:{desktop:{value:"#eee"}}}},canvasPenColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Signature Pad Pen Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the signature pad pen color.","divi-contact-form-helper"),groupSlug:"designSignaturePad",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabPad"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad"),defaultAttr:{desktop:{value:"#000"}}}},canvasPenThickness:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Signature Pad Thickness","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set a max thickness for the signature pad pen.","divi-contact-form-helper"),groupSlug:"designSignaturePad",render:!0,component:{name:"divi/range",type:"field",props:{min:1,max:12,step:1,minLimit:1,maxLimit:12,defaultUnit:!1,allowedUnits:!1}},visible:({attrs:e})=>"tabPad"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad"),defaultAttr:{desktop:{value:2}}}},canvasSpacing:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Signature Pad","divi-contact-form-helper"),visible:({attrs:e})=>"tabPad"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},canvasBorder:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Signature Pad","divi-contact-form-helper"),visible:({attrs:e})=>"tabPad"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},canvasShadow:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Signature Pad","divi-contact-form-helper"),visible:({attrs:e})=>"tabPad"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},saveButtonBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Save Button Background","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the save button background.","divi-contact-form-helper"),groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Save Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabSaveButton"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},saveButtonFont:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Save Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabSaveButton"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad"),defaultGroupAttr:{font:{desktop:{value:{color:"#fff",size:"14px"}}}}}}}},saveButtonSpacing:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Save Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabSaveButton"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad"),defaultGroupAttr:{desktop:{value:{padding:{top:"3px",right:"10px",bottom:"3px",left:"10px"}}}}}}}},saveButtonBorder:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Save Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabSaveButton"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},saveButtonShadow:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Save Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabSaveButton"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},clearButtonBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Clear Button Background","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the clear button background.","divi-contact-form-helper"),groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Clear Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabClearButton"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}},defaultAttr:{desktop:{value:"#c00"}}}},clearButtonFont:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Clear Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabClearButton"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad"),defaultGroupAttr:{font:{desktop:{value:{color:"#fff",size:"14px"}}}}}}}},clearButtonSpacing:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Clear Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabClearButton"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad"),defaultGroupAttr:{desktop:{value:{padding:{top:"3px",right:"10px",bottom:"3px",left:"10px"}}}}}}}},clearButtonBorder:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Clear Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabClearButton"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},clearButtonShadow:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Clear Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabClearButton"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},messageBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Message Background","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the message background.","divi-contact-form-helper"),groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Message","divi-contact-form-helper"),visible:({attrs:e})=>"tabMessage"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}},defaultAttr:{desktop:{value:"#c00"}}}},messageFont:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Message","divi-contact-form-helper"),visible:({attrs:e})=>"tabMessage"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},messageSpacing:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Message","divi-contact-form-helper"),visible:({attrs:e})=>"tabMessage"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},messageBorder:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Message","divi-contact-form-helper"),visible:({attrs:e})=>"tabMessage"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}},messageShadow:{groupType:"group-item",item:{groupSlug:"designSignaturePad",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Message","divi-contact-form-helper"),visible:({attrs:e})=>"tabMessage"===(e?.signaturePad?.decoration?.tabsList?.desktop?.value??"tabPad")}}}}}}}},isSignaturePadFieldType=({attrs:e})=>"signature-pad"===e?.fieldItem?.advanced?.type?.desktop?.value,addFieldStarRatingGroup=(e,t)=>{e.designStarRating={groupName:"designStarRating",panel:"design",priority:10,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Star Rating","divi-contact-form-helper"),visible:({attrs:e})=>"star-rating"===(e?.fieldItem?.advanced?.type?.desktop?.value??"input")}}}},addStarRatingAttributes=(e,t)=>{e.starRating={type:"object",selector:"{{selector}} .et_pb_rating_container",settings:{decoration:{color:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Star Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for star color.","divi-contact-form-helper"),groupSlug:"designStarRating",features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/color-picker",type:"field"},defaultAttr:{desktop:{value:"#d3d3d3"}}}},selectedColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Selected Star Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for selected star color.","divi-contact-form-helper"),groupSlug:"designStarRating",features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/color-picker",type:"field"},defaultAttr:{desktop:{value:"#ffa500"}}}},width:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Star Width","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the width of the star.","divi-contact-form-helper"),groupSlug:"designStarRating",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:10,step:.1,minLimit:0,maxLimit:10,defaultUnit:"rem",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},defaultAttr:{desktop:{value:"1.8rem"}}}},height:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Star Height","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the height of the star.","divi-contact-form-helper"),groupSlug:"designStarRating",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:10,step:.1,minLimit:0,maxLimit:10,defaultUnit:"rem",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},defaultAttr:{desktop:{value:"1.5rem"}}}}}}}},convertFieldIcon=(KS_PAC_DCFH_VB.contactFieldConversionOutline=(e,t)=>{if("et_pb_contact_field"===t){if(e.module.field_type="fieldItem.advanced.type.*",e.module.use_file_upload="fieldItem.advanced.type.*",e.module.use_datetime="fieldItem.advanced.type.*",e.module.use_signature_pad="fieldItem.advanced.type.*",e.module.use_star_rating="fieldItem.advanced.type.*",e.module.use_field_html="fieldItem.advanced.type.*",e.module.use_custom_phone_format="fieldItem.advanced.type.*",e.module.use_field_placeholder="fieldCustomItem.advanced.hidePlaceholder.*",e.module.field_placeholder="fieldCustomItem.innerContent.placeholderText.*",e.module.field_description="fieldCustomItem.innerContent.descriptionText.*",e.module.field_description_location="fieldCustomItem.advanced.descriptionPosition.*",e.module.use_field_label="fieldCustomLayout.advanced.showLabel.*",e.module.show_field_labels_left="fieldCustomLayout.advanced.showLabelOnLeft.*",e.module.field_label_width="fieldCustomLayout.advanced.labelWidth.*",e.module.textarea_min_height="fieldCustomLayout.advanced.textAreaHeight.*",e.module.use_required_asterisk="fieldCustomItem.advanced.showAsterisk.*",e.module.custom_phone_format="fieldCustomItem.innerContent.phoneNumberPattern.*",e.valueExpansionFunctionMap={field_type:convertFieldType,use_custom_phone_format:convertFieldPhoneType},e.module.use_field_icon="fieldIcon.advanced.showIcon.*",e.module.field_icon="fieldIcon.advanced.icon.*",e.module.field_icon_color="fieldIcon.decoration.iconColor.*",e.valueExpansionFunctionMap={field_icon:convertFieldIcon},e.module.use_dropdown_search="fieldCustomItem.advanced.searchInDropdownEnabled.*",e.valueExpansionFunctionMap={select_options:convertFieldSortableListConverter,booleancheckbox_options:convertFieldSortableListConverter},e.module.checkbox_options="fieldItem.advanced.checkboxOptions.*",e.module.checkbox_layout="fieldCustomLayout.advanced.checkboxLayout.*",e.module.checkbox_columns="fieldCustomLayout.advanced.checkboxColumns.*",e.valueExpansionFunctionMap={checkbox_options:convertFieldSortableListConverter,checkbox_layout:convertFieldCheckboxRadioLayout,checkbox_columns:convertFieldCheckboxRadioColumns},e.module.radio_options="fieldItem.advanced.radioOptions.*",e.module.radio_layout="fieldCustomLayout.advanced.radioLayout.*",e.module.radio_columns="fieldCustomLayout.advanced.radioColumns.*",e.valueExpansionFunctionMap={radio_options:convertFieldSortableListConverter,radio_layout:convertFieldCheckboxRadioLayout,radio_columns:convertFieldCheckboxRadioColumns},e.module.file_size="fileUpload.innerContent.maxFileSize.*",e.module.files_limit="fileUpload.innerContent.maxFileCount.*",e.module.file_mime="fileUpload.advanced.allowedFileTypes.*",e.valueExpansionFunctionMap={use_file_upload:convertFieldFileUploadType,file_mime:convertFieldFileMime},e.module.datetime_type="dateTimePicker.advanced.pickerFieldType.*",e.module.datetime_format="dateTimePicker.advanced.dateTimeFormat.*",e.module.date_format="dateTimePicker.advanced.dateFormat.*",e.module.custom_date_format="dateTimePicker.innerContent.customDateFormat.*",e.module.time_format="dateTimePicker.advanced.timeFormat.*",e.module.custom_time_format="dateTimePicker.innerContent.customTimeFormat.*",e.module.disabled_past_times="dateTimePicker.advanced.disablePastTimes.*",e.module.datetime_week_start="dateTimePicker.advanced.dayOfWeekStart.*",e.module.datetime_disabled_week_days="dateTimePicker.advanced.disabledDaysOfWeek.*",e.module.datetime_disabled_weeks="dateTimePicker.advanced.disableWeekRowNumberMarker.*",e.module.datetime_disabled_past_days="dateTimePicker.advanced.disablePastDates.*",e.module.datetime_disabled_current_date="dateTimePicker.advanced.disableCurrentDate.*",e.module.min_date_type="dateTimePicker.advanced.minDateType.*",e.module.fixed_min_date="dateTimePicker.innerContent.minFixedDate.*",e.module.relative_min_date="dateTimePicker.innerContent.minRelativeDate.*",e.module.max_date_type="dateTimePicker.advanced.maxDateType.*",e.module.fixed_max_date="dateTimePicker.innerContent.maxFixedDate.*",e.module.relative_max_date="dateTimePicker.innerContent.relativeFixedDate.*",e.module.available_dates="dateTimePicker.innerContent.availableDates.*",e.module.unavailable_dates="dateTimePicker.innerContent.unAvailableDates.*",e.module.min_time="dateTimePicker.innerContent.minSelectableTime.*",e.module.max_time="dateTimePicker.innerContent.maxSelectableTime.*",e.module.available_times="dateTimePicker.innerContent.globalAvailableTimes.*",e.module.unavailable_times="dateTimePicker.innerContent.globalUnAvailableTimes.*",e.module.time_steps="dateTimePicker.innerContent.timeSlotInterval.*",e.module.datetime_inline="dateTimePicker.advanced.showInline.*",e.module.datetime_setcurrent_datetime="dateTimePicker.advanced.autoFillCurrentDateTime.*",e.module.datetime_locale="dateTimePicker.advanced.pickerLocale.*",e.module.datetime_locale_direction="dateTimePicker.advanced.enableRTL.*",e.module.use_datetime_icscalendar_sync="dateTimePicker.advanced.enableICSCalendarSync.*",e.module.datetime_ics_sync_url="dateTimePicker.innerContent.icsFeedURL.*",KS_PAC_DCFH_VB.appConfig.weekDaysSelectOptions)for(var o in KS_PAC_DCFH_VB.appConfig.weekDaysSelectOptions){o=KS_PAC_DCFH_VB.appConfig.weekDaysSelectOptions[o].label;e.module["available_times_"+o.toLowerCase()]=`dateTimePicker.innerContent.availableTimes${o}.*`,e.module["unavailable_times_"+o.toLowerCase()]=`dateTimePicker.innerContent.unAvailableTimes${o}.*`}e.valueExpansionFunctionMap={use_datetime:convertFieldDateTimeType,datetime_format:convertFieldDatetimeFormat,datetime_disabled_week_days:convertFieldWeekDays},e.module.sp_width="signaturePad.decoration.canvasWidth.*",e.module.sp_height="signaturePad.decoration.canvasHeight.*",e.module.sp_background_color="signaturePad.decoration.canvasBackground.*",e.module.sp_pen_color="signaturePad.decoration.canvasPenColor.*",e.module.sp_pen_thickness="signaturePad.decoration.canvasPenThickness.*",e.module.sp_margin="signaturePad.decoration.canvasSpacing.*.margin",e.module.sp_padding="signaturePad.decoration.canvasSpacing.*.padding",e.module.sp_border="signaturePad.decoration.canvasBorder.*",e.module.sp_border_color="signaturePad.decoration.canvasBorder.*.styles.all.color",e.module.sp_border_width="signaturePad.decoration.canvasBorder.*.styles.all.width",e.module.sp_border_style="signaturePad.decoration.canvasBorder.*.styles.all.style",e.module.sp_shadow="signaturePad.decoration.canvasShadow.*",e.module.sp_shadow_horizontal="signaturePad.decoration.canvasShadow.*.horizontal",e.module.sp_shadow_vertical="signaturePad.decoration.canvasShadow.*.vertical",e.module.sp_shadow_blur="signaturePad.decoration.canvasShadow.*.blur",e.module.sp_shadow_spread="signaturePad.decoration.canvasShadow.*.spread",e.module.sp_shadow_color="signaturePad.decoration.canvasShadow.*.color",e.module.sp_shadow_position="signaturePad.decoration.canvasShadow.*.position",e.module.sp_save_btn_font="signaturePad.decoration.saveButtonFont.font.*",e.module.sp_save_btn_font_size="signaturePad.decoration.saveButtonFont.font.*.size",e.module.sp_save_btn_color="signaturePad.decoration.saveButtonFont.font.*.color",e.module.sp_save_btn_background_color="signaturePad.decoration.saveButtonBackground.*.color",e.module.sp_save_btn_padding="signaturePad.decoration.saveButtonSpacing.*.padding",e.module.sp_clear_btn_font="signaturePad.decoration.clearButtonFont.font.*",e.module.sp_clear_btn_font_size="signaturePad.decoration.clearButtonFont.font.*.size",e.module.sp_clear_btn_color="signaturePad.decoration.clearButtonFont.font.*.color",e.module.sp_clear_btn_background_color="signaturePad.decoration.clearButtonBackground.*.color",e.module.sp_clear_btn_padding="signaturePad.decoration.clearButtonSpacing.*.padding",e.module.sp_message_font="signaturePad.decoration.messageFont.font.*",e.module.sp_message_font_size="signaturePad.decoration.messageFont.font.*.size",e.module.sp_message_color="signaturePad.decoration.messageFont.font.*.color",e.valueExpansionFunctionMap={use_signature_pad:convertFieldSignatureType,sp_margin:convertFieldSpacing,sp_padding:convertFieldSpacing,sp_border:convertFieldSignaturePadBorder,sp_shadow:convertFieldShadow,sp_save_btn_padding:convertFieldSpacing,sp_clear_btn_padding:convertFieldSpacing},e.module.field_htmlcontent="htmlBlock.innerContent.htmlContent.*",e.module.html_wrapper_margin="htmlBlock.decoration.containerSpacing.*.margin",e.module.html_wrapper_padding="htmlBlock.decoration.containerSpacing.*.padding",e.module.html_wrapper_background="htmlBlock.decoration.containerBackground.*.color",e.module.html_wrapper_border="htmlBlock.decoration.containerBorder.*",e.module.html_wrapper_border_color="htmlBlock.decoration.containerBorder.*.styles.all.color",e.module.html_wrapper_border_width="htmlBlock.decoration.containerBorder.*.styles.all.width",e.module.html_wrapper_border_style="htmlBlock.decoration.containerBorder.*.styles.all.style",e.module.html_wrapper_shadow="htmlBlock.decoration.containerShadow.*",e.module.html_wrapper_shadow_horizontal="htmlBlock.decoration.containerShadow.*.horizontal",e.module.html_wrapper_shadow_vertical="htmlBlock.decoration.containerShadow.*.vertical",e.module.html_wrapper_shadow_blur="htmlBlock.decoration.containerShadow.*.blur",e.module.html_wrapper_shadow_spread="htmlBlock.decoration.containerShadow.*.spread",e.module.html_wrapper_shadow_color="htmlBlock.decoration.containerShadow.*.color",e.module.html_wrapper_shadow_position="htmlBlock.decoration.containerShadow.*.position",e.module.html_heading_font="htmlBlock.decoration.headingFont.h1.font.*",e.module.html_heading_color="htmlBlock.decoration.headingFont.h1.font.*.color",e.module.html_heading_size="htmlBlock.decoration.headingFont.h1.font.*.size",e.module.html_heading_letterspace="htmlBlock.decoration.headingFont.h1.font.*.letterSpacing",e.module.html_heading_lineheight="htmlBlock.decoration.headingFont.h1.font.*.lineHeight",e.module.html_heading_alignment="htmlBlock.decoration.headingFont.h1.font.*.textAlign",e.module.html_paragraph_font="htmlBlock.decoration.contentFont.body.font.*",e.module.html_paragraph_color="htmlBlock.decoration.contentFont.body.font.*.color",e.module.html_paragraph_size="htmlBlock.decoration.contentFont.body.font.*.size",e.module.html_paragraph_letterspace="htmlBlock.decoration.contentFont.body.font.*.letterSpacing",e.module.html_paragraph_lineheight="htmlBlock.decoration.contentFont.body.font.*.lineHeight",e.module.html_paragraph_alignment="htmlBlock.decoration.contentFont.body.font.*.textAlign",e.module.html_link_font="htmlBlock.decoration.contentFont.link.font.*",e.module.html_link_color="htmlBlock.decoration.contentFont.link.font.*.color",e.module.html_link_size="htmlBlock.decoration.contentFont.link.font.*.size",e.module.html_link_letterspace="htmlBlock.decoration.contentFont.link.font.*.letterSpacing",e.module.html_link_lineheight="htmlBlock.decoration.contentFont.link.font.*.lineHeight",e.module.html_link_margin="htmlBlock.decoration.contentFont.link.font.*.textAlign",e.module.html_image_width="htmlBlock.decoration.imageWidth.*",e.module.html_image_height="htmlBlock.decoration.imageHeight.*",e.module.html_image_fit="htmlBlock.decoration.imageFit.*",e.module.html_image_margin="htmlBlock.decoration.imageSpacing.*.margin",e.module.html_image_padding="htmlBlock.decoration.imageSpacing.*.padding",e.module.html_image_border="htmlBlock.decoration.imageBorder.*",e.module.html_image_border_color="htmlBlock.decoration.imageBorder.*.styles.all.color",e.module.html_image_border_width="htmlBlock.decoration.imageBorder.*.styles.all.width",e.module.html_image_border_style="htmlBlock.decoration.imageBorder.*.styles.all.style",e.module.html_image_shadow="htmlBlock.decoration.imageShadow.*",e.module.html_image_shadow_horizontal="htmlBlock.decoration.imageShadow.*.horizontal",e.module.html_image_shadow_vertical="htmlBlock.decoration.imageShadow.*.vertical",e.module.html_image_shadow_blur="htmlBlock.decoration.imageShadow.*.blur",e.module.html_image_shadow_spread="htmlBlock.decoration.imageShadow.*.spread",e.module.html_image_shadow_color="htmlBlock.decoration.imageShadow.*.color",e.module.html_image_shadow_position="htmlBlock.decoration.imageShadow.*.position",e.valueExpansionFunctionMap={use_field_html:convertFieldHtmlType,html_wrapper_margin:convertFieldSpacing,html_wrapper_padding:convertFieldSpacing,html_wrapper_border:convertFieldBorder,html_wrapper_shadow:convertFieldShadow,html_image_margin:convertFieldSpacing,html_image_padding:convertFieldSpacing,html_image_border:convertFieldBorder,html_image_shadow:convertFieldShadow},e.module.star_color="starRating.decoration.color.*",e.module.star_checked_color="starRating.decoration.selectedColor.*",e.module.star_svg_width="starRating.decoration.width.*",e.module.star_svg_height="starRating.decoration.height.*",e.valueExpansionFunctionMap={use_star_rating:convertFieldStarRatingType}}return e},(e,t=0)=>{var o;return"string"==typeof e&&""!==e.trim()&&(o={},(e=e.split("||"))[0]&&(o.unicode=e[0]),e[1]&&(o.type=e[1]),e[2]&&(o.weight=e[2]),0<Object.keys(o).length)&&o}),convertFieldSpacing=e=>{var t,o,i,a,r;return"string"!=typeof e?{}:([e,t,o,i,a,r]=e.split("|"),{top:e||"",right:t||"",bottom:o||"",left:i||"",syncVertical:"on"===a||"true"===a?"on":"off",syncHorizontal:"on"===r||"true"===r?"on":"off"})},convertFieldBorder=(e,t={})=>"object"==typeof e&&null!==e?e:"string"==typeof e&&"on"===(e=e.split("|"))[0]&&5<=e.length?{radius:{topLeft:e[1]||"",topRight:e[2]||"",bottomLeft:e[3]||"",bottomRight:e[4]||"",sync:"on"},styles:{all:{color:t.border_color||"#000",width:t.border_width||"1px",style:t.border_style||"solid"}}}:{},convertFieldShadow=e=>{var t;return"string"==typeof e&&e.trim()?(t={none:{horizontal:"",vertical:"",blur:"",spread:"",position:"",color:"rgba(0, 0, 0, 0.3)",style:"none"},preset1:{horizontal:"0px",vertical:"2px",blur:"18px",spread:"0px",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:"preset1"},preset2:{horizontal:"6px",vertical:"6px",blur:"18px",spread:"0px",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:"preset2"},preset3:{horizontal:"0px",vertical:"12px",blur:"18px",spread:"-6px",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:"preset3"},preset4:{horizontal:"10px",vertical:"10px",blur:"0px",spread:"0px",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:"preset4"},preset5:{horizontal:"0px",vertical:"6px",blur:"0px",spread:"10px",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:"preset5"},preset6:{horizontal:"0px",vertical:"0px",blur:"18px",spread:"0px",position:"inner",color:"rgba(0, 0, 0, 0.3)",style:"preset6"},preset7:{horizontal:"10px",vertical:"10px",blur:"0px",spread:"0px",position:"inner",color:"rgba(0, 0, 0, 0.3)",style:"preset7"}})[e]?{desktop:{value:t[e]}}:{desktop:{value:{horizontal:"",vertical:"",blur:"",spread:"",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:e}}}:{}},convertFieldSortableListConverter=e=>{e=e.replace(/%91/g,"[").replace(/%93/g,"]").replace(/%92/g,"\\").replace(/%22/g,'"'),e=decodeURIComponent(e);let t;try{t=JSON.parse(e)}catch(e){return console.error("Invalid JSON:",e),[]}return t.map(e=>({...e,dragID:e.hasOwnProperty("dragID")?String(e.dragID):null,checked:e.hasOwnProperty("checked")?String(e.checked):null}))},convertFieldCheckboxRadioLayout=(e,t=0)=>{let o="column";"object"==typeof e&&null!==e?o=e?.desktop?.value||e?.value||"column":"string"==typeof e&&(o=e);e="inline"===o?"inline":"column";return{desktop:{value:e},tablet:{value:e},phone:{value:e}}},convertFieldCheckboxRadioColumns=(e,t={})=>{t.attrs||(t.attrs={}),t.attrs.checkbox_layout||(t.attrs.checkbox_layout="column");let o=4;return"object"==typeof e&&null!==e?o=parseInt(e?.desktop?.value||e?.value||4,10):isNaN(e)||(o=parseInt(e,10)),{desktop:{value:o=Math.max(1,Math.min(12,o))},tablet:{value:o},phone:{value:o}}},convertFieldFileUploadType=(e,t={})=>"on"===e?"file":t.field_type||"text",convertFieldSignatureType=(e,t={})=>"on"===e?"signature-pad":t.field_type||"text",convertFieldDateTimeType=(e,t={})=>"on"===e?"datetime-picker":t.field_type||"text",convertFieldStarRatingType=(e,t={})=>"on"===e?"star-rating":t.field_type||"text",convertFieldHtmlType=(e,t={})=>"on"===e?"html-block":t.field_type||"text",convertFieldPhoneType=(e,t={})=>"on"===e?"phone-number":t.field_type||"text",convertFieldType=(e,t={})=>"on"===t.use_field_html?"html-block":"on"===t.use_signature_pad?"signature-pad":"on"===t.use_file_upload?"file":"on"===t.use_datetime?"datetime-picker":"on"===t.use_star_rating?"star-rating":"on"===t.use_custom_phone_format?"phone-number":e||"text",convertFieldFileMime=(e,t=0)=>{if(!e)return[];e=e.split("|");let o=KS_PAC_DCFH_VB.appConfig.mimeTypeOptions||["image/jpeg","image/png","image/gif","image/bmp","application/pdf","text/plain"],i=[];return e.forEach((e,t)=>{"on"===e&&o[t]&&i.push(o[t])}),i},convertFieldDatetimeFormat=e=>"string"!=typeof e?e:e.replace("_dt_"," "),convertFieldWeekDays=(e,t=0)=>{if(!e)return[];e=e.split("|");let o=KS_PAC_DCFH_VB.appConfig.weekDaysCheckboxesOptions||["sunday","saturday"],i=[];return e.forEach((e,t)=>{"on"===e&&o[t]&&i.push(o[t])}),i},convertFieldSignaturePadBorder=(e,t={})=>{if("object"==typeof e&&null!==e&&e.radius)return e;if("string"==typeof e){e=e.split("|");if("on"===e[0]&&5<=e.length)return{radius:{topLeft:e[1]||"",topRight:e[2]||"",bottomLeft:e[3]||"",bottomRight:e[4]||"",sync:"on"},styles:{all:{color:t.sp_border_color||"#000",width:t.sp_border_width||"1px",style:t.sp_border_style||"solid"}}}}return{radius:{topLeft:"",topRight:"",bottomLeft:"",bottomRight:"",sync:"on"},styles:{all:{color:t.sp_border_color||"#000",width:t.sp_border_width||"1px",style:t.sp_border_style||"solid"}}}},renderParentDesignDateTimePicker=(KS_PAC_DCFH_VB.hooks.addFilter("divi.moduleLibrary.conversion.moduleConversionOutline","ks-pac-dcfh",KS_PAC_DCFH_VB.contactFieldConversionOutline),KS_PAC_DCFH_VB.filterContactFieldGroups=(e,t)=>(addFieldIconGroup(e,t),addFileUploadGroup(e,t),addDateTimePickerGroup(e,t),addFieldHTMLBlockGroup(e,t),addFieldSignaturePadGroup(e,t),addFieldStarRatingGroup(e,t),e),KS_PAC_DCFH_VB.hooks.addFilter("divi.moduleLibrary.moduleSettings.groups.divi.contact-field","ks-pac-dcfh",KS_PAC_DCFH_VB.filterContactFieldGroups),KS_PAC_DCFH_VB.filterContactFieldAttributes=(e,t)=>(addFieldItemGeneralAttributes(e,t),addLayoutAttributes(e,t),addFieldIconAttributes(e,t),addFileUploadAttributes(e,t),addDateTimePickerAttributes(e,t),addHTMLFieldAttributes(e,t),addSignaturePadAttributes(e,t),addStarRatingAttributes(e,t),addPageBreakAttributes(e,t),e),KS_PAC_DCFH_VB.hooks.addFilter("divi.moduleLibrary.moduleAttributes.divi.contact-field","ks-pac-dcfh",KS_PAC_DCFH_VB.filterContactFieldAttributes),KS_PAC_DCFH_VB.filterContactFieldWrapper=(e,t)=>{var o,i,a,r,{id:t,name:n,attrs:d,elements:l,state:s}=t;return"divi/contact-field"===n&&e&&e?.props&&({CommonStyle:n,StyleContainer:o}=window.divi.module,i=window.divi.styleLibrary.StyleDeclarations,a=e.props.isEdited,"page-break"===(r=(d?.fieldItem||{}).advanced?.type?.desktop?.value??"input")&&renderPageBreakField(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),"text"===r&&renderTextAreaField(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),"checkbox"===r&&renderCheckoutField(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),"radio"===r&&renderRadioField(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),"html-block"===r&&renderHTMLBlockField(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),"phone-number"===r&&renderPhoneNumberField(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),"datetime-picker"===r&&renderDateTimePickerField(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),"file"===r&&renderFileUploadField(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),"signature-pad"===r&&renderSignaturePadField(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),"star-rating"===r&&renderStarRatingField(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),renderFieldIcon(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),renderFieldLabel(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),["input","email","text","phone-number","datetime-picker"].includes(r)&&renderFieldPlaceholder(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a}),renderFieldDescription(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:i,isEdited:a})),e},KS_PAC_DCFH_VB.hooks.addFilter("divi.module.wrapper.render","ks-pac-dcfh",KS_PAC_DCFH_VB.filterContactFieldWrapper),(e,t,o,i,a,r)=>{var{StyleContainer:r,isEdited:n}=r,{}=window.divi.iconLibrary,o=(i?.orderClass,o?.dateTimePicker?.decoration),r=React.createElement(r,{key:"datetime-picker-design",mode:"builder",state:n?a:"",noStyleTag:!1},i.style({attrName:"dateTimePicker",styleProps:{advancedStyles:[{componentName:"divi/background",props:{selector:".xdsoft_datetimepicker",attr:o?.containerBackground}},{componentName:"divi/background",props:{selector:".xdsoft_datetimepicker .xdsoft_label",attr:o?.containerBackground}},{componentName:"divi/spacing",props:{selector:".xdsoft_datetimepicker",attr:o?.containerSpacing}},{componentName:"divi/border",props:{selector:".xdsoft_datetimepicker",attr:o?.containerBorder}},{componentName:"divi/box-shadow",props:{selector:".xdsoft_datetimepicker",attr:o?.containerShadow}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_datepicker",attr:o?.datesContainerWidth,property:"width"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_calendar table",attr:o?.datesContainerHeight,property:"height"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_timepicker",attr:o?.timesContainerWidth,property:"width"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box",attr:o?.timesContainerHeight,property:"height"}},{componentName:"divi/font",props:{selector:[".xdsoft_month",".xdsoft_year"].map(e=>".xdsoft_datetimepicker "+e).join(", "),attr:o?.monthYearFont}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_label span",attr:o?.monthYearBackground,property:"background"}},{componentName:"divi/font",props:{selector:".xdsoft_datetimepicker .xdsoft_calendar th",attr:o?.daysOfWeekFont}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_calendar th",attr:o?.daysOfWeekBackground,property:"background"}},{componentName:"divi/font",props:{selector:".xdsoft_datetimepicker .xdsoft_date",attr:o?.calendarDatesFont}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_date",attr:o?.calendarDatesBackground,property:"background"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_current.xdsoft_today",attr:o?.currentDateTextColor,property:"color"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_current.xdsoft_today",attr:o?.currentDateBackground,declarationFunction:({attrValue:e})=>`background: ${e};box-shadow: ${e} 0 1px 3px 0 inset;`}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_date.xdsoft_current:not(.xdsoft_today)",attr:o?.selectedDateTextColor,property:"color"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_date.xdsoft_current:not(.xdsoft_today)",attr:o?.selectedDateBackground,property:"background"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_date:not(.xdsoft_disabled):not(.xdsoft_current)",attr:o?.avalaibleDatesTextColor,property:"color"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_date:not(.xdsoft_disabled):not(.xdsoft_current)",attr:o?.avalaibleDatesBackground,property:"background"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_date.xdsoft_disabled",attr:o?.unAvalaibleDatesTextColor,property:"color"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_date.xdsoft_disabled",attr:o?.unAvalaibleDatesBackground,property:"background"}},{componentName:"divi/font",props:{selector:".xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div",attr:o?.timeFont}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div",attr:o?.timeBackground,declarationFunction:({attrValue:e})=>`background: ${e}; box-shadow: ${e} 0 1px 3px 0 inset;`}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_time.xdsoft_current",attr:o?.selectedTimeBackground,declarationFunction:({attrValue:e})=>`background: ${e}; box-shadow: ${e} 0 1px 3px 0 inset;`}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_time.xdsoft_current",attr:o?.selectedTimeTextColor,property:"color"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_time:not(.xdsoft_disabled):not(.xdsoft_current)",attr:o?.avalaibleTimesBackground,declarationFunction:({attrValue:e})=>`background: ${e}; box-shadow: ${e} 0 1px 3px 0 inset;`}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_time:not(.xdsoft_disabled):not(.xdsoft_current)",attr:o?.avalaibleTimesTextColor,property:"color"}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_time.xdsoft_disabled",attr:o?.unAvalaibleTimesBackground,declarationFunction:({attrValue:e})=>`background: ${e}; box-shadow: ${e} 0 1px 3px 0 inset;`}},{componentName:"divi/common",props:{selector:".xdsoft_datetimepicker .xdsoft_time.xdsoft_disabled",attr:o?.unAvalaibleTimesTextColor,property:"color"}}]}}));return e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),r],e}),renderParentDesignFileUpload=(e,t,o,i,a,r)=>{let{StyleContainer:n,StyleDeclarations:d,isEdited:l}=r,{escapeFontIcon:s,isFaIcon:p,processFontIcon:c}=window.divi.iconLibrary;r=i?.orderClass;let m=o?.fileUpload?.decoration;o=React.createElement(n,{key:"et-pb-files-container-design",mode:"builder",state:l?a:"",noStyleTag:!1},i.style({attrName:"fileUpload",styleProps:{advancedStyles:[{componentName:"divi/background",props:{selector:r+" .et_pb_files_container",attr:m?.containerBackground}},{componentName:"divi/spacing",props:{selector:r+" .et_pb_files_container",attr:m?.containerSpacing}},{componentName:"divi/border",props:{selector:r+" .et_pb_files_container",attr:m?.containerBorder}},{componentName:"divi/box-shadow",props:{selector:r+" .et_pb_files_container",attr:m?.containerShadow}},{componentName:"divi/font",props:{selector:r+" .et_pb_accepted_files_desc",attr:m?.acceptedFilesTypesFont}},{componentName:"divi/spacing",props:{selector:r+" .et_pb_accepted_files_desc",attr:m?.acceptedFilesTypesSpacing}},{componentName:"divi/font",props:{selector:r+" .et_pb_file_chosen_desc",attr:m?.selectedFilesFont}},{componentName:"divi/background",props:{selector:".et_pb_file_upload_button",attr:m?.uploadbuttonBackground}},{componentName:"divi/spacing",props:{selector:r+" .et_pb_file_upload_button",attr:m?.uploadButtonSpacing}},{componentName:"divi/border",props:{selector:r+" .et_pb_file_upload_button",attr:m?.uploadButtonBorder}},{componentName:"divi/box-shadow",props:{selector:r+" .et_pb_file_upload_button",attr:m?.uploadButtonShadow}},{componentName:"divi/font",props:{selector:r+" .et_pb_file_upload_button",attr:m?.uploadButtonFont}},{componentName:"divi/common",props:{selector:r+" .et_pb_file_upload_button::after",attr:m?.uploadButtonIconColor,declarationFunction:({attrValue:e})=>"color:"+e}},{componentName:"divi/common",props:{selector:r+" .et_pb_file_upload_button::after",attr:m?.uploadButtonIcon,declarationFunction:({attrValue:e})=>{var t=m?.uploadButtonShowIcon?.desktop?.value??"on",o=m?.uploadButtonIconPosition?.desktop?.value??"right",i=new d({returnType:"string",important:{content:!0,"font-family":!0}});return"on"===t&&"right"===o?(t=c(e),o=p(e)?"FontAwesome":"ETmodules",i.add("content",`'${s(t)}'`),i.add("font-family",`"${o}"`)):(i.add("content",'""'),i.add("font-family",'""')),i.value}}},{componentName:"divi/common",props:{selector:r+" .et_pb_file_upload_button:hover",attr:m?.uploadButtonIcon,declarationFunction:({})=>{var e=m?.uploadButtonIconPosition?.desktop?.value??"right",t=new d({returnType:"string"});return"left"===e&&(t.add("padding-right","0.7em"),t.add("padding-left","2em")),t.value}}},{componentName:"divi/common",props:{selector:r+" .et_pb_file_upload_button::before",attr:m?.uploadButtonIcon,declarationFunction:({attrValue:e})=>{var t=m?.uploadButtonShowIcon?.desktop?.value??"on",o=m?.uploadButtonIconPosition?.desktop?.value??"right",i=new d({returnType:"string",important:{content:!0,"font-family":!0}});return"on"===t&&"left"===o?(t=c(e),o=p(e)?"FontAwesome":"ETmodules",i.add("content",`'${s(t)}'`),i.add("font-family",`"${o}"`)):(i.add("content",'""'),i.add("font-family",'""')),i.value}}},{componentName:"divi/common",props:{selector:r+" .et_pb_file_upload_button:hover",attr:m?.uploadButtonIcon,declarationFunction:({})=>{var e=m?.uploadButtonShowIcon?.desktop?.value??"on",t=m?.uploadButtonIconPosition?.desktop?.value??"right",o=new d({returnType:"string"});return"on"===e&&"left"===t&&(o.add("padding-right","0.7em"),o.add("padding-left","2em")),o.value}}},{componentName:"divi/common",props:{selector:r+" .et_pb_file_upload_button:hover:before",attr:m?.uploadButtonIcon,declarationFunction:({})=>{var e=m?.uploadButtonShowIcon?.desktop?.value??"on",t=m?.uploadButtonIconPosition?.desktop?.value??"right",o=new d({returnType:"string",impport:!0});return"on"===e&&"left"===t&&(o.add("display","inline-block"),o.add("opacity","1"),o.add("margin-right","0")),o.value}}},{componentName:"divi/common",props:{selector:r+" .et_pb_file_upload_button:hover",attr:m?.uploadButtonIcon,declarationFunction:({})=>{if("off"===(m?.uploadButtonShowIcon?.desktop?.value??"on"))return"padding:0.3em 1em;"}}},{componentName:"divi/common",props:{selector:r+" .et_pb_file_upload_button",attr:m?.uploadButtonHoverIcon,declarationFunction:({})=>{var e=m?.uploadButtonHoverIcon?.desktop?.value??"on",t=m?.uploadButtonIconPosition?.desktop?.value??"right",o=new d({returnType:"string"});return"off"===e&&"right"===t&&(o.add("padding-right","2em"),o.add("padding-left","0.7em")),"off"===e&&"left"===t&&(o.add("padding-right","0.7em"),o.add("padding-left","2em")),o.value}}},{componentName:"divi/common",props:{selector:r+" .et_pb_file_upload_button:after",attr:m?.uploadButtonHoverIcon,declarationFunction:({})=>{var e=m?.uploadButtonHoverIcon?.desktop?.value??"on",t=m?.uploadButtonIconPosition?.desktop?.value??"right",o=new d({returnType:"string"});return"off"===e&&"right"===t&&(o.add("opacity","1"),o.add("margin-left","0")),o.value}}},{componentName:"divi/common",props:{selector:r+" .et_pb_file_upload_button:before",attr:m?.uploadButtonHoverIcon,declarationFunction:({})=>{var e=m?.uploadButtonHoverIcon?.desktop?.value??"on",t=m?.uploadButtonIconPosition?.desktop?.value??"right",o=new d({returnType:"string"});return"off"===e&&"left"===t&&(o.add("display","inline-block"),o.add("opacity","1"),o.add("margin-left","-1.2em")),o.value}}}]}}));return e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),o],e},renderErrorMessage=(e,t,o,i,a,r)=>{var{StyleContainer:r,isEdited:n}=r,d=window.divi.moduleUtils.getAttrByMode,l=i?.orderClass,s=o?.errorMessage?.advanced?.overrideEmailSendFailureMessage?.desktop?.value??"off",p=o?.errorMessage?.innerContent?.customEmailErrorMessage?.desktop?.value??"",c=o?.errorMessage?.decoration,d=d(o?.errorMessage?.advanced?.position),o="on"===s&&p?[React.createElement("h5",{className:"et_pb_error_message_heading",style:{fontWeight:"600",marginTop:"20px"}},KS_PAC_DCFH_VB.i18n.__("Email Send Failure Message","divi-contact-form-helper")),React.createElement("div",{className:"et_pb_contact_error_text",dangerouslySetInnerHTML:{__html:p}})]:[],s=null!=d?[React.createElement("h5",{className:"et_pb_error_message_heading",style:{fontWeight:"600",marginTop:"20px"}},KS_PAC_DCFH_VB.i18n.__("Error Message","divi-contact-form-helper")),React.createElement("div",{className:"et_pb_error_message"},React.createElement("p",null,"Please, fill in the following fields:"),React.createElement("ul",null,React.createElement("li",null,"Name"),React.createElement("li",null,"Email Address"),React.createElement("li",null,"Message"))),React.createElement(r,{key:"et-pb-error-message-design",mode:"builder",state:n?a:"",noStyleTag:!1},i.style({attrName:"errorMessage",styleProps:{advancedStyles:[{componentName:"divi/background",props:{selector:l+" .et_pb_error_message",attr:c?.containerBackground,important:!0}},{componentName:"divi/spacing",props:{selector:l+" .et_pb_error_message",attr:c?.containerSpacing,important:!0}},{componentName:"divi/border",props:{selector:l+" .et_pb_error_message",attr:c?.containerBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:l+" .et_pb_error_message",attr:c?.containerShadow,important:!0}},{componentName:"divi/font-body",props:{selector:l+" .et_pb_error_message",attr:c?.contentFont,important:!0}}]}}))]:[];return e.props.children=[..."top"===d?s:[],...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),..."top"!==d?s:[],...o],e},renderFormFieldDesc=(e,t,o,i,a,r)=>{var{StyleContainer:r,isEdited:n}=r,d=i?.orderClass,o=o?.fieldDescription?.decoration;return o&&(r=React.createElement(r,{key:"et-pb-contact-field-desc-design",mode:"builder",state:n?a:"",noStyleTag:!1},i.style({attrName:"fieldDescription",styleProps:{advancedStyles:[{componentName:"divi/font",props:{selector:d+" .et_pb_contact_field_desc",attr:o?.descriptionFont,important:!0}},{componentName:"divi/background",props:{selector:d+" .et_pb_contact_field_desc",attr:o?.descriptionBackground,important:!0}},{componentName:"divi/spacing",props:{selector:d+" .et_pb_contact_field_desc",attr:o?.descriptionSpacing,important:!0}},{componentName:"divi/border",props:{selector:d+" .et_pb_contact_field_desc",attr:o?.descriptionBorder,important:!0}}]}})),e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),r]),e},renderFormFieldLabel=(e,t,o,i,a,r)=>{var{StyleContainer:r,isEdited:n}=r,d=i?.orderClass,o=o?.fieldLabel?.decoration;return o&&(r=React.createElement(r,{key:"et-pb-contact-field-label-design",mode:"builder",state:n?a:"",noStyleTag:!1},i.style({attrName:"fieldLabel",styleProps:{advancedStyles:[{componentName:"divi/font",props:{selector:d+" .et_pb_contact_form_label",attr:o?.labelFont,important:!0}},{componentName:"divi/background",props:{selector:d+" .et_pb_contact_form_label",attr:o?.labelBackground,important:!0}},{componentName:"divi/spacing",props:{selector:d+" .et_pb_contact_form_label",attr:o?.labelSpacing,important:!0}},{componentName:"divi/border",props:{selector:d+" .et_pb_contact_form_label",attr:o?.labelBorder,important:!0}}]}})),e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),r]),e},renderSubmitButton=(e,t,o,i,a,r)=>{var{}=r,r=window.divi.moduleUtils.getAttrByMode,r=r(o?.button?.decoration?.button);return"on"===r?.isFullWidth?e.props.classname=`${e.props.classname||""} submit-button-fullwidth`:(o=r?.alignment,e.props.classname=`${e.props.classname||""} submit-button-`+o),e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children)],e},renderSuccessButton=(e,t,o,i,a,r)=>{var n,d,{StyleContainer:r,isEdited:l}=r,s=i?.orderClass;return"on"===o?.afterSubmission?.advanced?.successButtonEnabled?.desktop?.value&&(d=o?.afterSubmission?.innerContent?.successButtonLabel?.desktop?.value??"Go Back To Home",o=o?.successButton?.decoration,n=React.createElement("h5",{className:"et_pb_success_button_heading",style:{fontWeight:"600",marginTop:"20px"}},KS_PAC_DCFH_VB.i18n.__("Success Button","divi-contact-form-helper")),d=React.createElement("div",{className:"et_pb_success_btn_container"},React.createElement("a",{className:"et_pb_success_button",href:"#",target:"_self",style:{marginTop:"50px",fontSize:"20px",fontWeight:500,padding:"0.3em 1em",lineHeight:"1.7em",backgroundColor:"transparent",backgroundSize:"cover",backgroundPosition:"50%",backgroundRepeat:"no-repeat",border:"2px solid",borderRadius:"3px"}},d)),r=React.createElement(r,{key:"et-pb-success-button-design",mode:"builder",state:l?a:"",noStyleTag:!1},i.style({attrName:"successButton",styleProps:{advancedStyles:[{componentName:"divi/font",props:{selector:s+" .et_pb_success_button",attr:o?.buttonFont,important:!0}},{componentName:"divi/background",props:{selector:s+" .et_pb_success_button",attr:o?.buttonBackground,important:!0}},{componentName:"divi/spacing",props:{selector:s+" .et_pb_success_button",attr:o?.buttonSpacing,important:!0}},{componentName:"divi/border",props:{selector:s+" .et_pb_success_button",attr:o?.buttonBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:s+" .et_pb_success_button",attr:o?.buttonShadow,important:!0}}]}})),e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),n,d,r]),e},renderSuccessMessage=(e,t,o,i,a,r)=>{var n,d,{StyleContainer:r,isEdited:l}=r,s=i?.orderClass;return"on"===o?.afterSubmission?.advanced?.hideSuccessMessage?.desktop?.value||void 0!==(d=o?.module?.advanced?.successMessage?.desktop?.value)&&""!==d&&(o=o?.successMessage?.decoration,n=React.createElement("h5",{className:"et_pb_success_message_heading",style:{fontWeight:"600",marginTop:"20px"}},KS_PAC_DCFH_VB.i18n.__("Success Message","divi-contact-form-helper")),d=React.createElement("div",{className:"et_pb_success_message",dangerouslySetInnerHTML:{__html:d}}),r=React.createElement(r,{key:"et-pb-success-message-design",mode:"builder",state:l?a:"",noStyleTag:!1},i.style({attrName:"successMessage",styleProps:{advancedStyles:[{componentName:"divi/background",props:{selector:s+" .et_pb_success_message",attr:o?.containerBackground,important:!0}},{componentName:"divi/spacing",props:{selector:s+" .et_pb_success_message",attr:o?.containerSpacing,important:!0}},{componentName:"divi/border",props:{selector:s+" .et_pb_success_message",attr:o?.containerBorder,important:!0}},{componentName:"divi/box-shadow",props:{selector:s+" .et_pb_success_message",attr:o?.containerShadow,important:!0}},{componentName:"divi/font-header",props:{selector:s+" .et_pb_success_message",attr:o?.headingFont,important:!0}},{componentName:"divi/font-body",props:{selector:s+" .et_pb_success_message",attr:o?.contentFont,important:!0}}]}})),e.props.children=[...KS_PAC_DCFH_VB.ensurePropsArray(e.props.children),n,d,r]),e},updateAdminEmailGroup=(e,t)=>{e.contentEmail&&(e.contentEmail.priority=10,e.contentEmail.component.props.groupLabel=KS_PAC_DCFH_VB.i18n.__("Admin Email","divi-contact-form-helper"))},addAdminEmailAttributes=(e,t)=>{setGetAdminEmailAttributes(e),setGetAdminMessageAttributes(e),e.adminEmail={type:"object",settings:{innerContent:{groupType:"group-items",items:{adminEmailEnabled:{groupSlug:"contentEmail",attrName:"adminEmail.advanced.adminEmailEnabled",label:KS_PAC_DCFH_VB.i18n.__("Send Admin Email","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enable or disable the admin email message.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:1,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"on"}}},emailRoutingEnabled:{groupSlug:"contentEmail",attrName:"adminEmail.advanced.emailRoutingEnabled",label:KS_PAC_DCFH_VB.i18n.__("Use Conditional Email Address Routing","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to route the form to specific admin email addresses based on conditional logic.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:1,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:isAdminSendEmailEnabled},emailRoutingLogic:{groupSlug:"contentEmail",attrName:"adminEmail.innerContent.emailRoutingLogic",label:KS_PAC_DCFH_VB.i18n.__("Conditional Email Address Routing Logic","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.sprintf(KS_PAC_DCFH_VB.i18n.__('Set up the logic of the conditional email address routing using the field IDs and field options. Please refer to our <a href="%s" target="_blank">documentation</a> for instructions about how to set this up.',"divi-contact-form-helper"),"https://www.peeayecreative.com/docs/divi-contact-form-helper/admin-email-settings/"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:2,component:{name:"divi/textarea",type:"field"},visible:({attrs:e})=>{var t=e?.adminEmail?.advanced?.adminEmailEnabled?.desktop?.value??"on",e=e?.adminEmail?.advanced?.emailRoutingEnabled?.desktop?.value??"off";return"on"===t&&"on"===e}},emailRichTextEnabled:{groupSlug:"contentEmail",attrName:"adminEmail.advanced.emailRichTextEnabled",label:KS_PAC_DCFH_VB.i18n.__("Use Rich Text Formatting For Email Message","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enable rich text editor for admin email customization.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:2,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:isAdminSendEmailEnabled},emailRichTextMessage:{groupSlug:"contentEmail",attrName:"adminEmail.innerContent.emailRichTextMessage",label:KS_PAC_DCFH_VB.i18n.__("Email Message","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Define custom pattern for the admin email message with %%field_id%%.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:3,component:{name:"divi/richtext",type:"field"},visible:({attrs:e})=>{var t=e?.adminEmail?.advanced?.adminEmailEnabled?.desktop?.value??"on",e=e?.adminEmail?.advanced?.emailRichTextEnabled?.desktop?.value??"off";return"on"===t&&"on"===e}},emailSubject:{groupSlug:"contentEmail",attrName:"adminEmail.innerContent.emailSubject",label:KS_PAC_DCFH_VB.i18n.__("Email Subject","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a custom subject for the admin email.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:4,component:{name:"divi/text",type:"field"},visible:isAdminSendEmailEnabled},emailFromName:{groupSlug:"contentEmail",attrName:"adminEmail.innerContent.emailFromName",label:KS_PAC_DCFH_VB.i18n.__("Email From Name","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__('Enter the "From Name" for the admin email.',"divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:5,component:{name:"divi/text",type:"field"},visible:isAdminSendEmailEnabled},emailCC:{groupSlug:"contentEmail",attrName:"adminEmail.innerContent.emailCC",label:KS_PAC_DCFH_VB.i18n.__("Email Address CC","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Add a CC email address for the admin message.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:6,component:{name:"divi/text",type:"field"},visible:isAdminSendEmailEnabled},emailBCC:{groupSlug:"contentEmail",attrName:"adminEmail.innerContent.emailBCC",label:KS_PAC_DCFH_VB.i18n.__("Email Address BCC","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Add a BCC email address for the admin message.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:7,component:{name:"divi/text",type:"field"},visible:isAdminSendEmailEnabled},emailFromSubmitter:{groupSlug:"contentEmail",attrName:"adminEmail.advanced.emailFromSubmitter",label:KS_PAC_DCFH_VB.i18n.__("Use Submitter Admin From Email Address","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__('Use the submitter\'s email as the "from" address for the admin email.',"divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:8,component:{name:"divi/toggle",type:"field"},visible:isAdminSendEmailEnabled}}}}}},setGetAdminEmailAttributes=e=>{e=e.email.settings.advanced.receiver;e.item.priority=2,e.item.features={responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},e.item.label=KS_PAC_DCFH_VB.i18n.__("Email Address","divi-contact-form-helper"),e.item.visible=({attrs:e})=>{var t=e?.adminEmail?.advanced?.adminEmailEnabled?.desktop?.value??"on",e=e?.adminEmail?.advanced?.emailRoutingEnabled?.desktop?.value??"off";return"on"===t&&"off"===e}},setGetAdminMessageAttributes=e=>{e=e.email.settings.innerContent;e.item.priority=3,e.item.label=KS_PAC_DCFH_VB.i18n.__("Email Message","divi-contact-form-helper"),e.item.visible=({attrs:e})=>{var t=e?.adminEmail?.advanced?.adminEmailEnabled?.desktop?.value??"on",e=e?.adminEmail?.advanced?.emailRichTextEnabled?.desktop?.value??"off";return"on"===t&&"off"===e}},isAdminSendEmailEnabled=({attrs:e})=>"on"===(e?.adminEmail?.advanced?.adminEmailEnabled?.desktop?.value??"on"),addAfterSubmissionGroup=(e,t)=>{e.contentRedirect&&(e.contentRedirect.component.props.groupLabel=KS_PAC_DCFH_VB.i18n.__("After Submission Behavior","divi-contact-form-helper"),e.contentRedirect.priority=15)},addAfterSubmissionsAttributes=(e,t)=>{e.redirect={},setGetSuccessMessageOptions(e),e.afterSubmission={type:"object",settings:{innerContent:{groupType:"group-items",items:{hideSuccessMessage:{groupSlug:"contentRedirect",attrName:"afterSubmission.advanced.hideSuccessMessage",label:KS_PAC_DCFH_VB.i18n.__("Hide Success Message","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to hide a success message after the form is submitted.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},showLoadingIcon:{groupSlug:"contentRedirect",attrName:"afterSubmission.advanced.showLoadingIcon",label:KS_PAC_DCFH_VB.i18n.__("Show Loading Icon","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to show an animated loading icon when submitting the contact form.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"on"}}},hideFormTitle:{groupSlug:"contentRedirect",attrName:"afterSubmission.advanced.hideFormTitle",label:KS_PAC_DCFH_VB.i18n.__("Hide Form Title","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to hide the contact form title after submitting form.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},successButtonEnabled:{groupSlug:"contentRedirect",attrName:"afterSubmission.advanced.successButtonEnabled",label:KS_PAC_DCFH_VB.i18n.__("Use Success Button","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to add a button to the success message after a successful form submission.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},successButtonLabel:{groupSlug:"contentRedirect",attrName:"afterSubmission.innerContent.successButtonLabel",label:KS_PAC_DCFH_VB.i18n.__("Success Button Custom Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for the success button.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:"Go Back To Home"}},visible:({attrs:e})=>"on"===(e?.afterSubmission?.advanced?.successButtonEnabled?.desktop?.value??"off")},successButtonLinkType:{groupSlug:"contentRedirect",attrName:"afterSubmission.advanced.successButtonLinkType",label:KS_PAC_DCFH_VB.i18n.__("Success Button Link Type","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose the type of link to use for the success button.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/select",type:"field",props:{options:{customURL:{label:KS_PAC_DCFH_VB.i18n.__("Custom URL","divi-contact-form-helper")},page:{label:KS_PAC_DCFH_VB.i18n.__("Page","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"customURL"}},visible:({attrs:e})=>"on"===(e?.afterSubmission?.advanced?.successButtonEnabled?.desktop?.value??"off")},successButtonCustomURL:{groupSlug:"contentRedirect",attrName:"afterSubmission.innerContent.successButtonCustomURL",label:KS_PAC_DCFH_VB.i18n.__("Success Button Custom URL","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a custom URL to use for the success button link.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.afterSubmission?.advanced?.successButtonEnabled?.desktop?.value??"off",e=e?.afterSubmission?.advanced?.successButtonLinkType?.desktop?.value??"customURL";return"on"===t&&"customURL"===e}},successButtonPage:{groupSlug:"contentRedirect",attrName:"afterSubmission.innerContent.successButtonPage",label:KS_PAC_DCFH_VB.i18n.__("Success Button Page Link","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Select a page for the success button link.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/select",type:"field",props:{options:KS_PAC_DCFH_VB.appConfig.pagesOptions}},visible:({attrs:e})=>{var t=e?.afterSubmission?.advanced?.successButtonEnabled?.desktop?.value??"off",e=e?.afterSubmission?.advanced?.successButtonLinkType?.desktop?.value??"customURL";return"on"===t&&"page"===e},defaultAttr:{desktop:{value:"-1"}}},successButtonTarget:{groupSlug:"contentRedirect",attrName:"afterSubmission.advanced.successButtonTarget",label:KS_PAC_DCFH_VB.i18n.__("Success Button Link Target","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose whether the button link opens in the same window or new tab.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/select",type:"field",props:{options:{self:{label:KS_PAC_DCFH_VB.i18n.__("In The Same Tab","divi-contact-form-helper")},blank:{label:KS_PAC_DCFH_VB.i18n.__("In A New Tab","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"self"}},visible:({attrs:e})=>"on"===(e?.afterSubmission?.advanced?.successButtonEnabled?.desktop?.value??"off")},redirectEnabled:{groupSlug:"contentRedirect",attrName:"afterSubmission.advanced.redirectEnabled",label:KS_PAC_DCFH_VB.i18n.__("Enable Redirect URL","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Redirect users after successful form submission.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},redirectLinkType:{groupSlug:"contentRedirect",attrName:"afterSubmission.advanced.redirectLinkType",label:KS_PAC_DCFH_VB.i18n.__("Redirect To","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose the type of redirect link.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/select",type:"field",props:{options:{customURL:{label:KS_PAC_DCFH_VB.i18n.__("Custom URL","divi-contact-form-helper")},page:{label:KS_PAC_DCFH_VB.i18n.__("Page","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"customURL"}},visible:({attrs:e})=>"on"===(e?.afterSubmission?.advanced?.redirectEnabled?.desktop?.value??"off")},redirectCustomURL:{groupSlug:"contentRedirect",attrName:"afterSubmission.innerContent.redirectCustomURL",label:KS_PAC_DCFH_VB.i18n.__("Custom URL","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a custom URL to redirect to after a successful form submission.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.afterSubmission?.advanced?.redirectEnabled?.desktop?.value??"off",e=e?.afterSubmission?.advanced?.redirectLinkType?.desktop?.value??"customURL";return"on"===t&&"customURL"===e}},redirectPage:{groupSlug:"contentRedirect",attrName:"afterSubmission.innerContent.redirectPage",label:KS_PAC_DCFH_VB.i18n.__("Select Page","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Select a page for the redirect link.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/select",type:"field",props:{options:KS_PAC_DCFH_VB.appConfig.pagesOptions}},visible:({attrs:e})=>{var t=e?.afterSubmission?.advanced?.redirectEnabled?.desktop?.value??"off",e=e?.afterSubmission?.advanced?.redirectLinkType?.desktop?.value??"customURL";return"on"===t&&"page"===e},defaultAttr:{desktop:{value:"-1"}}},redirectDelay:{groupSlug:"contentRedirect",attrName:"afterSubmission.innerContent.redirectDelay",label:KS_PAC_DCFH_VB.i18n.__("Redirect Delay","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the amount of time in milliseconds for the redirect to wait after a successful form submission.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1e4,step:10,minLimit:0,maxLimit:1e4,defaultUnit:!1,allowedUnits:!1}},visible:({attrs:e})=>"on"===(e?.afterSubmission?.advanced?.redirectEnabled?.desktop?.value??"off"),defaultAttr:{desktop:{value:"3000"}}},onFormSubmitJSCode:{groupSlug:"contentRedirect",attrName:"afterSubmission.innerContent.onFormSubmitJSCode",label:KS_PAC_DCFH_VB.i18n.__("JavaScript Code To Run When Form Submitted","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to add custom JavaScript to run when the form is successfully submitted.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/code",type:"field",props:{mode:"html"}}}}}}}},setGetSuccessMessageOptions=e=>{e=e.module.settings.advanced.successMessage;e.item.groupSlug="contentRedirect",e.item.priority=10,e.item.component={name:"divi/richtext",type:"field"},e.item.visible=({attrs:e})=>"off"===(e?.afterSubmission?.advanced?.hideSuccessMessage?.desktop?.value??"off")},addConfirmationEmailGroup=(e,t)=>{e.contentConfirmationEmail={groupName:"contentConfirmationEmail",panel:"content",priority:10,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Confirmation Email","divi-contact-form-helper")}}}},addConfirmationEmailAttributes=(e,t)=>{e.confirmationEmail={type:"object",settings:{innerContent:{groupType:"group-items",items:{sendEmailToSubmitter:{groupSlug:"contentConfirmationEmail",attrName:"confirmationEmail.advanced.sendEmailToSubmitter",label:KS_PAC_DCFH_VB.i18n.__("Send A Email To Sender","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to send a confirmation email to the form submitter.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:1,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},emailAddressFieldID:{groupSlug:"contentConfirmationEmail",attrName:"confirmationEmail.innerContent.emailAddressFieldID",label:KS_PAC_DCFH_VB.i18n.__("Email Address Field ID","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the field ID of the email address field where you want to send the confirmation message.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:2,component:{name:"divi/text",type:"field"},visible:isConfirmationEmailEnabled},emailSubject:{groupSlug:"contentConfirmationEmail",attrName:"confirmationEmail.innerContent.emailSubject",label:KS_PAC_DCFH_VB.i18n.__("Email Subject","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a custom subject line for the confirmation email.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:3,component:{name:"divi/text",type:"field"},visible:isConfirmationEmailEnabled},emailFromName:{groupSlug:"contentConfirmationEmail",attrName:"confirmationEmail.innerContent.emailFromName",label:KS_PAC_DCFH_VB.i18n.__("Email From Name","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a custom from name for the confirmation email message. The default is the site name.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:4,component:{name:"divi/text",type:"field"},visible:isConfirmationEmailEnabled},emailFromEmail:{groupSlug:"contentConfirmationEmail",attrName:"confirmationEmail.innerContent.emailFromEmail",label:KS_PAC_DCFH_VB.i18n.__("Email From Email Address","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a custom from email address for the confirmation email message.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:5,component:{name:"divi/text",type:"field"},visible:isConfirmationEmailEnabled},emailReplyToAddress:{groupSlug:"contentConfirmationEmail",attrName:"confirmationEmail.innerContent.emailReplyToAddress",label:KS_PAC_DCFH_VB.i18n.__("Reply-To Address","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a custom email address to be used as the reply-to address when a recipient replies to the confirmation email in their inbox. By default, if left blank, replies will be directed to the email address specified as the admin email address.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:6,component:{name:"divi/text",type:"field"},visible:isConfirmationEmailEnabled},emailMessage:{groupSlug:"contentConfirmationEmail",attrName:"confirmationEmail.innerContent.emailMessage",label:KS_PAC_DCFH_VB.i18n.__("Email Message","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Here you can define the custom pattern for the email Message. Fields should be included in the following format - <strong>%%field_id%%</strong>. For example, if you want to include the field with id = <strong>phone</strong> and field with id = <strong>message</strong>, then you can use the following pattern: <strong>My message is %%message%% and phone number is %%phone%%</strong>","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:8,component:{name:"divi/textarea",type:"field"},visible:({attrs:e})=>{var t=e?.confirmationEmail?.advanced?.sendEmailToSubmitter?.desktop?.value??"off",e=e?.confirmationEmail?.advanced?.emailMessageRichTextEnabled?.desktop?.value??"off";return"on"===t&&"off"===e}},emailMessageRichTextEnabled:{groupSlug:"contentConfirmationEmail",attrName:"confirmationEmail.advanced.emailMessageRichTextEnabled",label:KS_PAC_DCFH_VB.i18n.__("Use Rich Text Formatting For Email Message","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to enable a rich text editor for customizing the confirmation email message with HTML.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:7,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:isConfirmationEmailEnabled},emailRichTextMessage:{groupSlug:"contentConfirmationEmail",attrName:"confirmationEmail.innerContent.emailRichTextMessage",label:KS_PAC_DCFH_VB.i18n.__("Email Message","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Here you can define the custom pattern for the email Message. Fields should be included in the following format - <strong>%%field_id%%</strong>. For example, if you want to include the field with id = <strong>phone</strong> and field with id = <strong>message</strong>, then you can use the following pattern: <strong>My message is %%message%% and phone number is %%phone%%</strong>","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:8,component:{name:"divi/richtext",type:"field"},visible:({attrs:e})=>{var t=e?.confirmationEmail?.advanced?.sendEmailToSubmitter?.desktop?.value??"off",e=e?.confirmationEmail?.advanced?.emailMessageRichTextEnabled?.desktop?.value??"off";return"on"===t&&"on"===e}}}}}}},isConfirmationEmailEnabled=({attrs:e})=>"on"===(e?.confirmationEmail?.advanced?.sendEmailToSubmitter?.desktop?.value??"off"),addParentDesignDateTimePickerGroup=(e,t)=>{e.designDateTimePicker={groupName:"designDateTimePicker",panel:"design",priority:60,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Date Time","divi-contact-form-helper")}}}},addParentDesignDateTimePickerAttributes=(e,t)=>{e.dateTimePicker={type:"object",settings:{decoration:{tabsList:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{type:"field",name:"divi/button-options",props:{name:"dateTimePickerTabs",options:{tabContainer:{label:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper")},tabDatePicker:{label:KS_PAC_DCFH_VB.i18n.__("Date","divi-contact-form-helper")},tabTimePicker:{label:KS_PAC_DCFH_VB.i18n.__("Time","divi-contact-form-helper")}},showLabel:!0,tabUi:!0}}}},containerBackground:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerSpacing:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerBorder:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerShadow:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},datesContainerWidth:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Dates Picker Width","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the width of the datetime picker.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1e3,step:10,minLimit:0,maxLimit:1e3,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"224px"}}}},datesContainerHeight:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Dates Picker Height","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the height of the datetime picker.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1e3,step:10,minLimit:0,maxLimit:1e3,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"150px"}}}},timesContainerWidth:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Time Picker Width","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the width of the time picker.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1e3,step:10,minLimit:0,maxLimit:1e3,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"58px"}}}},timesContainerHeight:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Time Picker Height","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Set the height of the time picker.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/range",type:"field",props:{min:0,max:1e3,step:10,minLimit:0,maxLimit:1e3,defaultUnit:"px",allowedUnits:["%","em","rem","px","cm","mm","in","pt","pc","ex","vh","vw"],cssProperty:"width"}},visible:({attrs:e})=>"tabContainer"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"151px"}}}},Divider1:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Month/Year"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},monthYearFont:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Month/Year","divi-contact-form-helper"),visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},monthYearBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Month/Year Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider2:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Days Of Week"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},daysOfWeekFont:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Days Of Week","divi-contact-form-helper"),visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},daysOfWeekBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Days Of Week Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider3:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Calendar Dates"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},calendarDatesFont:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Calendar Dates","divi-contact-form-helper"),visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},calendarDatesBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Calendar Dates Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider4:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Current Date"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},currentDateTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Current Date Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},currentDateBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Current Date Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider5:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Selected Date"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},selectedDateTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Selected Date Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},selectedDateBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Selected Date Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider6:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Available Dates"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},avalaibleDatesTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Available Dates Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},avalaibleDatesBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Available Dates Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider7:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Unavailable Dates"}},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},unAvalaibleDatesTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Unavailable Dates Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},unAvalaibleDatesBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Unavailable Dates Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabDatePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider8:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Time Font"}},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},timeFont:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Time Text","divi-contact-form-helper"),visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},timeBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Time Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider9:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Selected Time"}},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},selectedTimeTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Selected Time Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},selectedTimeBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Selected Time Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider10:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Available Times"}},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},avalaibleTimesTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Available Times Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},avalaibleTimesBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Available Times Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},Divider11:{groupType:"group-item",item:{groupSlug:"designDateTimePicker",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Unavailable Times"}},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},unAvalaibleTimesTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Unavailable Times Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the text.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}},unAvalaibleTimesBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Unavailable Times Background Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the background.","divi-contact-form-helper"),groupSlug:"designDateTimePicker",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabTimePicker"===(e?.dateTimePicker?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}}}},addParentDesignFileUploadGroup=(e,t)=>{e.designFileUpload={groupName:"designFileUpload",panel:"design",priority:60,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("File Upload","divi-contact-form-helper")}}}},addParentDesignFileUploadAttributes=(e,t)=>{e.fileUpload={type:"object",selector:"{{selector}} .et_pb_files_container",settings:{decoration:{tabsList:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"field",name:"divi/button-options",props:{name:"fileUploadTabs",options:{tabContainer:{label:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper")},tabFiles:{label:KS_PAC_DCFH_VB.i18n.__("Files","divi-contact-form-helper")},tabButton:{label:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper")}},showLabel:!0,tabUi:!0}}}},containerBackground:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}},defaultAttr:{desktop:{value:"#eee"}}}},containerSpacing:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),defaultGroupAttr:{desktop:{value:{padding:{top:"20px",right:"20px",bottom:"20px",left:"20px"}}}},visible:({attrs:e})=>"tabContainer"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerBorder:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerShadow:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},Divider1:{groupType:"group-item",item:{groupSlug:"designFileUpload",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Attached Files Settings"}},visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}},attachedFilesTextColor:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Attached List Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for attached files.","divi-contact-form-helper"),groupSlug:"designFileUpload",render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"#808080"}}}},Divider2:{groupType:"group-item",item:{groupSlug:"designFileUpload",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Accepted File Settings"}},visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}},acceptedFilesTypesFont:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Accepted File Types","divi-contact-form-helper"),visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},acceptedFilesTypesSpacing:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Accepted File Types","divi-contact-form-helper"),visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},Divider3:{groupType:"group-item",item:{groupSlug:"designFileUpload",attrName:"",label:"",render:!0,component:{name:"divi/warning",type:"field",props:{message:"Selected File Settings"}},visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}},selectedFilesFont:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Selected File Text","divi-contact-form-helper"),defaultGroupAttr:{font:{desktop:{value:{size:"16px",lineHeight:"1em"}}}},visible:({attrs:e})=>"tabFiles"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},uploadButtonFont:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},uploadbuttonBackground:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}},defaultAttr:{desktop:{value:"#eee"}}}},uploadButtonSpacing:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},uploadButtonBorder:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},uploadButtonShowIcon:{groupType:"group-item",item:{groupSlug:"designFileUpload",label:KS_PAC_DCFH_VB.i18n.__("Show Button Icon","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("When enabled, this will add a custom icon within the button.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/toggle",type:"field"},visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer"),defaultAttr:{desktop:{value:"on"}}}},uploadButtonIcon:{groupType:"group-item",item:{groupSlug:"designFileUpload",label:KS_PAC_DCFH_VB.i18n.__("Button Icon","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick an icon to be used for the button.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/icon-picker",type:"field"},visible:({attrs:e})=>{var t=e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer";return"on"===(e?.fileUpload?.decoration?.uploadButtonShowIcon?.desktop?.value??"on")&&"tabButton"===t}}},uploadButtonIconColor:{groupType:"group-item",item:{groupSlug:"designFileUpload",label:KS_PAC_DCFH_VB.i18n.__("Button Icon Color","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the icon.","divi-contact-form-helper"),render:!0,component:{name:"divi/color-picker",type:"field"},visible:({attrs:e})=>{var t=e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer";return"on"===(e?.fileUpload?.decoration?.uploadButtonShowIcon?.desktop?.value??"on")&&"tabButton"===t}}},uploadButtonIconPosition:{groupType:"group-item",item:{groupSlug:"designFileUpload",label:KS_PAC_DCFH_VB.i18n.__("Button Icon Placement","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose where the button icon should be displayed within the button.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/select",type:"field",props:{options:{left:{label:KS_PAC_DCFH_VB.i18n.__("Left","divi-contact-form-helper")},right:{label:KS_PAC_DCFH_VB.i18n.__("Right","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"right"}},visible:({attrs:e})=>{var t=e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer";return"on"===(e?.fileUpload?.decoration?.uploadButtonShowIcon?.desktop?.value??"on")&&"tabButton"===t}}},uploadButtonHoverIcon:{groupType:"group-item",item:{groupSlug:"designFileUpload",label:KS_PAC_DCFH_VB.i18n.__("Only Show Icon On Hover for Button","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("By default, button icons are displayed on hover. If you would like button icons to always be displayed, then you can enable this option.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"on"}},visible:({attrs:e})=>{var t=e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer";return"on"===(e?.fileUpload?.decoration?.uploadButtonShowIcon?.desktop?.value??"on")&&"tabButton"===t}}},uploadButtonShadow:{groupType:"group-item",item:{groupSlug:"designFileUpload",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper"),visible:({attrs:e})=>"tabButton"===(e?.fileUpload?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}}}}}},addEntryPreferencesGroup=(e,t)=>{e.contentEntryPreferences={groupName:"contentEntryPreferences",panel:"content",priority:10,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Entry Preferences","divi-contact-form-helper")}}}},addEntryPreferencesAttributes=(e,t)=>{e.entryPreferences={type:"object",settings:{innerContent:{groupType:"group-items",items:{saveEntriesToDB:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.advanced.saveEntriesToDB",label:KS_PAC_DCFH_VB.i18n.__("Save Entries To Database","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to save all form entries to the website database. This is helpful to retain a copy in case there are delivery problems. Entries can be viewed by going to your WordPress Dashboard to Contact Form > Entries.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"on"}}},saveFilesToDB:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.advanced.saveFilesToDB",label:KS_PAC_DCFH_VB.i18n.__("Save File Uploads To Database","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to save all file uploads with the form entry in the website database.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"on"}},visible:isSaveEntriesToDBEnabled},saveFilesToMedia:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.advanced.saveFilesToMedia",label:KS_PAC_DCFH_VB.i18n.__("Save File Uploads To Media Library","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to add all file uploads from the form submissions to the WordPress Media Library.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{var t=e?.entryPreferences?.advanced?.saveEntriesToDB?.desktop?.value??"on",e=e?.entryPreferences?.advanced?.saveFilesToDB?.desktop?.value??"on";return"on"===t&&"on"===e}},attachFilesToEmail:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.advanced.attachFilesToEmail",label:KS_PAC_DCFH_VB.i18n.__("Send File Uploads As Attachments With Emails","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to attach all file uploads to the admin email.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"on"}}},filesAttachedMessage:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.innerContent.filesAttachedMessage",label:KS_PAC_DCFH_VB.i18n.__("Change Attachments Custom Message","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to enter custom text for the message that automatically displays in the footer of any email with files added to prompt the recipient to view the attachments.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:5,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>"on"===(e?.entryPreferences?.advanced?.attachFilesToEmail?.desktop?.value??"on")},trackIPAddress:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.advanced.trackIPAddress",label:KS_PAC_DCFH_VB.i18n.__("Collect IP Address","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enable this to collect the IP address of form submissions. Note: This may be considered personal data under GDPR and other privacy laws. Please disclose this collection in your privacy policy.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:isSaveEntriesToDBEnabled},trackDeviceInfo:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.advanced.trackDeviceInfo",label:KS_PAC_DCFH_VB.i18n.__("Collect Browser and OS Details","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enable this to collect information about the browser and operating system used during form submissions. This data can be useful for debugging or analytics purposes. Note: This information may be considered personal data under some privacy laws. Ensure you disclose this collection in your privacy policy.\n","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:isSaveEntriesToDBEnabled},trackViewsWithCookies:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.advanced.trackViewsWithCookies",label:KS_PAC_DCFH_VB.i18n.__("Use Cookies For Tracking Unique Form Views","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to enable or disable cookies for tracking the number of unique form views.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:({attrs:e})=>{var t=e?.entryPreferences?.advanced?.saveEntriesToDB?.desktop?.value??"on",e=e?.entryPreferences?.advanced?.trackIPAddress?.desktop?.value??"off";return"on"===t&&"on"===e}},saveURLParamsToDB:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.advanced.saveURLParamsToDB",label:KS_PAC_DCFH_VB.i18n.__("Save URL Parameters To Database","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to save any URL parameters to the website database.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:isSaveEntriesToDBEnabled},limitMaxEntriesEnabled:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.advanced.limitMaxEntriesEnabled",label:KS_PAC_DCFH_VB.i18n.__("Limit Maximum Number Of Entries","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to set a limit for the total number of entries that can be submitted with this form.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}},visible:isSaveEntriesToDBEnabled},maxEntriesAllowed:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.innerContent.maxEntriesAllowed",label:KS_PAC_DCFH_VB.i18n.__("Maximum Number Of Entries","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the total number of entries that can be submitted with this form. If the total number is reached, the form will hide and a message will appear on the frontend.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>{var t=e?.entryPreferences?.advanced?.saveEntriesToDB?.desktop?.value??"on",e=e?.entryPreferences?.advanced?.limitMaxEntriesEnabled?.desktop?.value??"off";return"on"===t&&"on"===e}},maxEntriesReachedMessage:{groupSlug:"contentEntryPreferences",attrName:"entryPreferences.innerContent.maxEntriesReachedMessage",label:KS_PAC_DCFH_VB.i18n.__("Maximum Number Of Entries Reached Message","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter a custom message to display on the frontend in place of the form when the maximum number of entries have already been submitted for this form.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content",dynamicContent:{type:"text"}},render:!0,priority:10,component:{name:"divi/richtext",type:"field"},visible:({attrs:e})=>{var t=e?.entryPreferences?.advanced?.saveEntriesToDB?.desktop?.value??"on",e=e?.entryPreferences?.advanced?.limitMaxEntriesEnabled?.desktop?.value??"off";return"on"===t&&"on"===e}}}}}}},isSaveEntriesToDBEnabled=({attrs:e})=>"on"===(e?.entryPreferences?.advanced?.saveEntriesToDB?.desktop?.value??"on"),addErrorMessageGroup=(e,t)=>{e.contentErrorMessage={groupName:"contentErrorMessage",panel:"content",priority:10,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Error Message","divi-contact-form-helper")}}},e.designErrorMessage={groupName:"designErrorMessage",panel:"design",priority:60,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Error Message Text","divi-contact-form-helper")}}}},addErrorMessageAttributes=(e,t)=>{e.errorMessage={type:"object",selector:"{{selector}} .et_pb_error_message",settings:{innerContent:{groupType:"group-items",items:{position:{groupSlug:"contentErrorMessage",attrName:"errorMessage.advanced.position",label:KS_PAC_DCFH_VB.i18n.__("Error Message Location","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to show the error message at the top or bottom of the form.","divi-contact-form-helper"),features:{responsive:!0,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/select",type:"field",props:{options:{top:{label:KS_PAC_DCFH_VB.i18n.__("Top","divi-contact-form-helper")},bottom:{label:KS_PAC_DCFH_VB.i18n.__("Bottom","divi-contact-form-helper")}}}},defaultAttr:{desktop:{value:"top"}}},overrideEmailSendFailureMessage:{groupSlug:"contentErrorMessage",attrName:"errorMessage.advanced.overrideEmailSendFailureMessage",label:KS_PAC_DCFH_VB.i18n.__("Override Email Send Failure Message","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enable this setting to replace the default error message shown on the front end when the form fails to send due to a mail error (such as missing SMTP). This allows you to provide a custom, user-friendly message instead of the vague default.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},customEmailErrorMessage:{groupSlug:"contentErrorMessage",attrName:"errorMessage.innerContent.customEmailErrorMessage",label:KS_PAC_DCFH_VB.i18n.__("Custom Error Message (Email Send Failure)","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("If the form fails to send due to an email error (such as missing SMTP settings), this custom message will be shown to the user instead of the default error. This helps you explain the situation clearly and optionally provide an alternate contact method.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:5,component:{name:"divi/richtext",type:"field"},visible:({attrs:e})=>"on"===(e?.errorMessage?.advanced?.overrideEmailSendFailureMessage?.desktop?.value??"off")}}},decoration:{tabsList:{groupType:"group-item",item:{groupSlug:"designErrorMessage",render:!0,component:{type:"field",name:"divi/button-options",props:{name:"errorMessageTabs",options:{tabContainer:{label:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper")},tabBodyFont:{label:KS_PAC_DCFH_VB.i18n.__("Body","divi-contact-form-helper")}},showLabel:!0,tabUi:!0}}}},containerBackground:{groupType:"group-item",item:{groupSlug:"designErrorMessage",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.errorMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerSpacing:{groupType:"group-item",item:{groupSlug:"designErrorMessage",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.errorMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerBorder:{groupType:"group-item",item:{groupSlug:"designErrorMessage",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.errorMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerShadow:{groupType:"group-item",item:{groupSlug:"designErrorMessage",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.errorMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},contentFont:{groupType:"group-item",item:{groupSlug:"designErrorMessage",render:!0,component:{name:"divi/font-body",type:"group",props:{grouped:!1,groups:{body:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Font","divi-contact-form-helper")},ul:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Unordered List","divi-contact-form-helper")},link:{render:!1},ol:{render:!1},quote:{render:!1}},visible:({attrs:e})=>"tabBodyFont"===(e?.errorMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}}}}}},addFieldDescriptionGroup=(e,t)=>{e.designFieldDescription={groupName:"designFieldDescription",panel:"design",priority:5,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Field Description Text","divi-contact-form-helper")}}}},addFieldDescriptionAttributes=(e,t)=>{e.fieldDescription={type:"object",selector:"{{selector}} .et_pb_contact_field_desc",settings:{decoration:{descriptionBackground:{groupType:"group-item",item:{label:KS_PAC_DCFH_VB.i18n.__("Description Text Background","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the Description text background.","divi-contact-form-helper"),groupSlug:"designFieldDescription",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Description Text","divi-contact-form-helper")}}}},descriptionFont:{groupType:"group-item",item:{groupSlug:"designFieldDescription",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Description Text","divi-contact-form-helper")}}}},descriptionSpacing:{groupType:"group-item",item:{groupSlug:"designFieldDescription",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Description Text","divi-contact-form-helper")}}}},descriptionBorder:{groupType:"group-item",item:{groupSlug:"designFieldDescription",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Description Text","divi-contact-form-helper")}}}}}}}},addFieldLabelGroup=(e,t)=>{e.designFieldLabel={groupName:"designFieldLabel",panel:"design",priority:5,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Field Label Text","divi-contact-form-helper")}}}},addFieldLabelAttributes=(e,t)=>{e.fieldLabel={type:"object",selector:"{{selector}} .et_pb_contact_form_label,{{selector}} .et_pb_contact_field_options_title",settings:{decoration:{labelBackground:{groupType:"group-item",item:{description:KS_PAC_DCFH_VB.i18n.__("Pick a color to be used for the Label text background.","divi-contact-form-helper"),groupSlug:"designFieldLabel",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Label Text","divi-contact-form-helper")}}}},labelFont:{groupType:"group-item",item:{groupSlug:"designFieldLabel",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Label Text","divi-contact-form-helper")}}}},labelSpacing:{groupType:"group-item",item:{groupSlug:"designFieldLabel",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Label Text","divi-contact-form-helper")}}}},labelBorder:{groupType:"group-item",item:{groupSlug:"designFieldLabel",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Label Text","divi-contact-form-helper")}}}}}}}},addContactFormIdentifierGroup=(e,t)=>{e.contentContactFormIdentifier={groupName:"contentContactFormIdentifier",panel:"content",priority:20,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Contact Form Identifier","divi-contact-form-helper")}}}},addContactFormIdentifierAttributes=(e,t)=>{e.module.settings.advanced.uniqueId={groupType:"group-item",item:{groupSlug:"contentContactFormIdentifier",attrName:"module.advanced.uniqueId",label:KS_PAC_DCFH_VB.i18n.__("Contact Form Unique ID","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.sprintf(KS_PAC_DCFH_VB.i18n.__('This field can be used to give the contact form a unique identification number which will be shown in the database and other admin areas. You can generate a new ID <a href="%1$s" target="_blank">%2$s</a>',"divi-contact-form-helper"),"https://www.guidgenerator.com/online-guid-generator.aspx",KS_PAC_DCFH_VB.i18n.__("here","divi-contact-form-helper")),features:{responsive:!1,hover:!1,sticky:!1},component:{name:"divi/text",type:"field"},priority:10,render:!0}}},addIntegrationsGroup=(e,t)=>{e.contentIntegrations={groupName:"contentIntegrations",panel:"content",priority:10,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Integrations","divi-contact-form-helper")}}}},addIngerationsAttributes=(e,t)=>{e.integrations={type:"object",settings:{innerContent:{groupType:"group-items",items:{enableZapier:{groupSlug:"contentIntegrations",attrName:"integrations.advanced.enableZapier",label:KS_PAC_DCFH_VB.i18n.__("Use Zapier Email Parser","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enable the Zapier integration settings.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},zapierEmail:{groupSlug:"contentIntegrations",attrName:"integrations.innerContent.zapierEmail",label:KS_PAC_DCFH_VB.i18n.__("Zapier Email Parser Mailbox Address","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the Email Parser by Zapier mailbox email address to send emails to Zapier to be integrated with hundreds of other tools and services.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>"on"===(e?.integrations?.advanced?.enableZapier?.desktop?.value??"off")},enablePabbly:{groupSlug:"contentIntegrations",attrName:"integrations.advanced.enablePabbly",label:KS_PAC_DCFH_VB.i18n.__("Use Pabbly Email Parser","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enable the Pabbly integration settings.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},pabblyEmail:{groupSlug:"contentIntegrations",attrName:"integrations.innerContent.pabblyEmail",label:KS_PAC_DCFH_VB.i18n.__("Pabbly Email Parser Mailbox Address","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the Email Parser by Pabbly mailbox email address to send emails to Pabbly to be integrated with hundreds of other tools and services.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/text",type:"field"},visible:({attrs:e})=>"on"===(e?.integrations?.advanced?.enablePabbly?.desktop?.value??"off")},webhookURL:{groupSlug:"contentIntegrations",attrName:"integrations.innerContent.webhookURL",label:KS_PAC_DCFH_VB.i18n.__("Webhook URL (API Endpoint)","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter the webhook URL (API endpoint) where the form data will be sent via POST when a form is submitted.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,component:{name:"divi/text",type:"field"}}}}}}},updateSpamProtecttionGroup=(e,t)=>{e.contentSpamProtection&&(e.contentSpamProtection.priority=20)},addSpamProtectionAttributes=(e,t)=>{e.spamProtection={type:"object",settings:{innerContent:{groupType:"group-items",items:{honeypotEnabled:{groupSlug:"contentSpamProtection",attrName:"spamProtection.advanced.honeypotEnabled",label:KS_PAC_DCFH_VB.i18n.__("Use Honeypot","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Add an invisible honeypot field to prevent bots from completing the form.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:50,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},gRecaptchaV2Enabled:{groupSlug:"contentSpamProtection",attrName:"spamProtection.advanced.gRecaptchaV2Enabled",label:KS_PAC_DCFH_VB.i18n.__("Use Google reCAPTCHA V2","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to enable the Google reCAPTCHA V2 spam prevention service for this contact form. Be sure to add the Google reCAPTCHA Site Key and Secret Key in the Theme Options settings first.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:50,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}},cloudflareTurnstileEnabled:{groupSlug:"contentSpamProtection",attrName:"spamProtection.advanced.cloudflareTurnstileEnabled",label:KS_PAC_DCFH_VB.i18n.__("Use Cloudflare Turnstile","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Choose to enable the Cloudflare Turnstile spam prevention service for this contact form. Be sure to add the Cloudflare Site Key and Secret Key in the Theme Options settings first.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:50,component:{name:"divi/toggle",type:"field"},defaultAttr:{desktop:{value:"off"}}}}}}}},addSubmitButtonGroup=(e,t)=>{e.contentSubmitButton={groupName:"contentSubmitButton",panel:"content",priority:10,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Submit Button","divi-contact-form-helper")}}}},addSubmitButtonAttributes=(e,t)=>{var o=e.button.settings.innerContent,o=(o.item.groupSlug="contentSubmitButton",o.item.priority=1,e.submitButton={type:"object",settings:{innerContent:{groupType:"group-items",items:{waitText:{groupSlug:"contentSubmitButton",attrName:"submitButton.innerContent.waitText",label:KS_PAC_DCFH_VB.i18n.__("Submit Button Wait Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for the submit button which will show while files are being uploaded.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:2,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:"Please wait..."}}}}}}},e?.button?.settings?.decoration?.button||(e.button.settings.decoration.button={}),e.button.settings.decoration.button.component||(e.button.settings.decoration.button.component={props:{fields:{}}}),e.button.settings.decoration.button.component.props);o.groupLabel=KS_PAC_DCFH_VB.i18n.__("Submit Button","divi-contact-form-helper"),o.fields=o.fields||{},o.fields.isFullWidth={groupSlug:"button",attrName:"button.decoration.button",subName:"isFullWidth",label:KS_PAC_DCFH_VB.i18n.__("Button Full Width","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("If enabled, the field will take 100% of the width of the content area.","divi-contact-form-helper"),features:{responsive:!0,hover:!1,sticky:!1,preset:"content"},render:!0,priority:70,component:{name:"divi/toggle",type:"field"}},o.fields.alignment&&(o.fields.alignment.render=!0,o.fields.alignment.priority=80,o.fields.alignment.visible=e=>"off"===(e?.attrs?.button?.decoration?.button?.[e.breakpoint]?.value?.isFullWidth??"off"))},addSuccessButtonGroup=(e,t)=>{e.designSuccessButton={groupName:"designSuccessButton",panel:"design",priority:55,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Succes Button","divi-contact-form-helper")}}}},addSuccessButtonAttributes=(e,t)=>{e.successButton={type:"object",selector:"{{selector}} .et_pb_success_button",settings:{decoration:{buttonBackground:{groupType:"group-item",item:{groupSlug:"designSuccessButton",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper")}}}},buttonFont:{groupType:"group-item",item:{groupSlug:"designSuccessButton",render:!0,component:{name:"divi/font",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper")}}}},buttonSpacing:{groupType:"group-item",item:{groupSlug:"designSuccessButton",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper")}}}},buttonBorder:{groupType:"group-item",item:{groupSlug:"designSuccessButton",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper")}}}},buttonShadow:{groupType:"group-item",item:{groupSlug:"designSuccessButton",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Button","divi-contact-form-helper")}}}}}}}},addSuccessMessageGroup=(e,t)=>{e.designSuccessMessage={groupName:"designSuccessMessage",panel:"design",priority:60,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Succes Message Text","divi-contact-form-helper")}}}},addSuccessMessageAttributes=(e,t)=>{e.successMessage={type:"object",selector:"{{selector}} .et_pb_success_message",settings:{decoration:{tabsList:{groupType:"group-item",item:{groupSlug:"designSuccessMessage",render:!0,component:{type:"field",name:"divi/button-options",props:{name:"successMessageTabs",options:{tabContainer:{label:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper")},tabHeadingsFont:{label:KS_PAC_DCFH_VB.i18n.__("Headings","divi-contact-form-helper")},tabBodyFont:{label:KS_PAC_DCFH_VB.i18n.__("Body","divi-contact-form-helper")}},showLabel:!0,tabUi:!0}}}},containerBackground:{groupType:"group-item",item:{groupSlug:"designSuccessMessage",render:!0,component:{type:"group",name:"divi/background",props:{hidePanels:["video","image","mask","pattern"],grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.successMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerSpacing:{groupType:"group-item",item:{groupSlug:"designSuccessMessage",render:!0,component:{type:"group",name:"divi/spacing",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.successMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerBorder:{groupType:"group-item",item:{groupSlug:"designSuccessMessage",render:!0,component:{type:"group",name:"divi/border",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.successMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},containerShadow:{groupType:"group-item",item:{groupSlug:"designSuccessMessage",render:!0,component:{type:"group",name:"divi/box-shadow",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Container","divi-contact-form-helper"),visible:({attrs:e})=>"tabContainer"===(e?.successMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},headingFont:{groupType:"group-item",item:{groupSlug:"designSuccessMessage",render:!0,component:{name:"divi/font-header",type:"group",props:{grouped:!1,fieldLabel:KS_PAC_DCFH_VB.i18n.__("Heading","divi-contact-form-helper"),fields:{headingLevel:{render:!0}},visible:({attrs:e})=>"tabHeadingsFont"===(e?.successMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}},contentFont:{groupType:"group-item",item:{groupSlug:"designSuccessMessage",render:!0,component:{name:"divi/font-body",type:"group",props:{grouped:!1,groups:{body:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Font","divi-contact-form-helper")},link:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Link","divi-contact-form-helper")},ul:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Unordered List","divi-contact-form-helper")},ol:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Ordered List","divi-contact-form-helper")},quote:{fieldLabel:KS_PAC_DCFH_VB.i18n.__("Body Blockquote","divi-contact-form-helper")}},visible:({attrs:e})=>"tabBodyFont"===(e?.successMessage?.decoration?.tabsList?.desktop?.value??"tabContainer")}}}}}}}},addTitleGroup=(e,t)=>{e.contentText&&(e.contentText.component.props.groupLabel=KS_PAC_DCFH_VB.i18n.__("Title","divi-contact-form-helper"))},addValidationCustomLabelsGroup=(e,t)=>{e.contentValidationCustomLabels={groupName:"contentValidationCustomLabels",panel:"content",priority:20,multiElements:!0,component:{name:"divi/composite",props:{groupLabel:KS_PAC_DCFH_VB.i18n.__("Validation Custom Labels","divi-contact-form-helper")}}}},addValidationCustomAttributes=(e,t)=>{e.validationCustomLabels={type:"object",settings:{innerContent:{groupType:"group-items",items:{requiredFieldsText:{groupSlug:"contentValidationCustomLabels",attrName:"validationCustomLabels.innerContent.requiredFieldsText",label:KS_PAC_DCFH_VB.i18n.__("Required Fields Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for the message shown when a required field is left empty.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.form_required_fields_text??"Please fill in the following fields:"}}},fieldErrorText:{groupSlug:"contentValidationCustomLabels",attrName:"validationCustomLabels.innerContent.fieldErrorText",label:KS_PAC_DCFH_VB.i18n.__("Field Error Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for a general validation error message when the field input is invalid.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.form_field_error_text??"Please fix the following errors:"}}},invalidEmailText:{groupSlug:"contentValidationCustomLabels",attrName:"validationCustomLabels.innerContent.invalidEmailText",label:KS_PAC_DCFH_VB.i18n.__("Invalid Email Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for the validation error message when the email address is invalid.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.form_invalid_email_text??"Please enter a valid email address."}}},requiredCaptchaText:{groupSlug:"contentValidationCustomLabels",attrName:"validationCustomLabels.innerContent.requiredCaptchaText",label:KS_PAC_DCFH_VB.i18n.__("Required Captcha Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for the message shown when the captcha is required.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.form_required_captcha_text??"Please complete the CAPTCHA."}}},wrongCaptchaText:{groupSlug:"contentValidationCustomLabels",attrName:"validationCustomLabels.innerContent.wrongCaptchaText",label:KS_PAC_DCFH_VB.i18n.__("Wrong Captcha Text","divi-contact-form-helper"),description:KS_PAC_DCFH_VB.i18n.__("Enter custom text for the message shown when the captcha is wrong.","divi-contact-form-helper"),features:{responsive:!1,hover:!1,sticky:!1,preset:"content"},render:!0,priority:10,component:{name:"divi/text",type:"field"},defaultAttr:{desktop:{value:KS_PAC_DCFH_VB.appConfig.defaultStrings.form_wrong_captcha_text??"There was a problem with the captcha verification."}}}}}}}},convertFormFont=(KS_PAC_DCFH_VB.contactFormConversionOutline=(e,t)=>("et_pb_contact_form"===t&&(e.module.use_send_admin_email="adminEmail.advanced.adminEmailEnabled.*",e.module.use_custom_message_richtext="adminEmail.advanced.emailRichTextEnabled.*",e.module.custom_message_richtext="adminEmail.innerContent.emailRichTextMessage.*",e.module.use_conditional_emails="adminEmail.advanced.emailRoutingEnabled.*",e.module.conditional_email_pattern="adminEmail.innerContent.emailRoutingLogic.*",e.module.admin_email_subject="adminEmail.innerContent.emailSubject.*",e.module.admin_email_from_name="adminEmail.innerContent.emailFromName.*",e.module.admin_email_cc="adminEmail.innerContent.emailCC.*",e.module.admin_email_bcc="adminEmail.innerContent.emailBCC.*",e.module.use_admin_email_submitter_email="adminEmail.advanced.emailFromSubmitter.*",e.module.use_confirmation_email="confirmationEmail.advanced.sendEmailToSubmitter.*",e.module.confirmation_email_field_id="confirmationEmail.innerContent.emailAddressFieldID.*",e.module.confirmation_email_subject="confirmationEmail.innerContent.emailSubject.*",e.module.confirmation_email_from_name="confirmationEmail.innerContent.emailFromName.*",e.module.confirmation_email_from="confirmationEmail.innerContent.emailFromEmail.*",e.module.confirmation_replyto_address="confirmationEmail.innerContent.emailReplyToAddress.*",e.module.confirmation_email_message="confirmationEmail.innerContent.emailMessage.*",e.module.use_confirmation_message_richtext="confirmationEmail.advanced.emailMessageRichTextEnabled.*",e.module.confirmation_message_richtext="confirmationEmail.innerContent.emailRichTextMessage.*",e.module.save_entries_to_db="entryPreferences.advanced.saveEntriesToDB.*",e.module.save_files_to_media="entryPreferences.advanced.saveFilesToDB.*",e.module.send_files_as_attachment="entryPreferences.advanced.saveFilesToMedia.*",e.module.collect_ip_useragent_details="entryPreferences.advanced.attachFilesToEmail.*",e.module.unique_views_cookie="entryPreferences.advanced.trackViewsWithCookies.*",e.module.save_queryparams_to_db="entryPreferences.advanced.saveURLParamsToDB.*",e.module.entries_threshold_enabled="entryPreferences.advanced.limitMaxEntriesEnabled.*",e.module.entries_threshold="entryPreferences.innerContent.maxEntriesAllowed.*",e.module.entries_threshold_message="entryPreferences.innerContent.maxEntriesReachedMessage.*",e.module.attached_files_message="entryPreferences.innerContent.filesAttachedMessage.*",e.module.contact_message_location="errorMessage.advanced.position.*",e.module.submit_button_wait_text="submitButton.innerContent.waitText.*",e.module.use_zapier="integrations.advanced.enableZapier.*",e.module.zapier_mailbox_address="integrations.innerContent.zapierEmail.*",e.module.use_pabbly="integrations.advanced.enablePabbly.*",e.module.pabbly_mailbox_address="integrations.innerContent.pabblyEmail.*",e.module.api_endpoint_url="integrations.innerContent.webhookURL.*",e.module.hide_success_message="afterSubmission.advanced.hideSuccessMessage.*",e.module.show_loading_icon="afterSubmission.advanced.showLoadingIcon.*",e.module.hide_form_title="afterSubmission.advanced.hideFormTitle.*",e.module.use_success_button="afterSubmission.advanced.successButtonEnabled.*",e.module.success_button_text="afterSubmission.innerContent.successButtonLabel.*",e.module.success_button_type="afterSubmission.advanced.successButtonLinkType.*",e.module.success_button_url="afterSubmission.innerContent.successButtonCustomURL.*",e.module.success_button_page="afterSubmission.innerContent.successButtonPage.*",e.module.success_button_target="afterSubmission.advanced.successButtonTarget.*",e.module.custom_use_redirect="afterSubmission.advanced.redirectEnabled.*",e.module.custom_redirect_to="afterSubmission.advanced.redirectLinkType.*",e.module.custom_redirect_url="afterSubmission.innerContent.redirectCustomURL.*",e.module.custom_redirect_page="afterSubmission.innerContent.redirectPage.*",e.module.custom_redirect_delay="afterSubmission.innerContent.redirectDelay.*",e.module.custom_js_code="afterSubmission.innerContent.onFormSubmitJSCode.*",e.module.use_honeypot="spamProtection.advanced.honeypotEnabled.*",e.module.use_googlerecaptcha_v2="spamProtection.advanced.gRecaptchaV2Enabled.*",e.module.use_cloudflare_turnstile="spamProtection.advanced.cloudflareTurnstileEnabled.*",e.module.field_label_background="fieldLabel.decoration.labelBackground.*.color",e.module.field_label_font="fieldLabel.decoration.labelFont.font.*",e.module.field_label_color="fieldLabel.decoration.labelFont.font.*.color",e.module.field_label_size="fieldLabel.decoration.labelFont.font.*.size",e.module.field_label_letter_space="fieldLabel.decoration.labelFont.font.*.letterSpacing",e.module.field_label_line_height="fieldLabel.decoration.labelFont.font.*.lineHeight",e.module.field_label_alignment="fieldLabel.decoration.labelFont.font.*.textAlign",e.module.field_label_margin="fieldLabel.decoration.labelSpacing.*.margin",e.module.field_label_padding="fieldLabel.decoration.labelSpacing.*.padding",e.module.field_label_border="fieldLabel.decoration.labelBorder.*",e.module.field_label_border_color="fieldLabel.decoration.labelBorder.*.styles.all.color",e.module.field_label_border_width="fieldLabel.decoration.labelBorder.*.styles.all.width",e.module.field_label_border_style="fieldLabel.decoration.labelBorder.*.styles.all.style",e.valueExpansionFunctionMap={field_label_font:convertFormFont,field_label_margin:convertFormSpacing,field_label_padding:convertFormSpacing,field_label_border:convertFormBorder},e.module.field_desc_background="fieldDescription.decoration.descriptionBackground.*.color",e.module.field_desc_font="fieldDescription.decoration.descriptionFont.font.*",e.module.field_desc_color="fieldDescription.decoration.descriptionFont.font.*.color",e.module.field_desc_size="fieldDescription.decoration.descriptionFont.font.*.size",e.module.field_desc_letter_space="fieldDescription.decoration.descriptionFont.font.*.letterSpacing",e.module.field_desc_line_height="fieldDescription.decoration.descriptionFont.font.*.lineHeight",e.module.field_desc_alignment="fieldDescription.decoration.descriptionFont.font.*.textAlign",e.module.field_desc_margin="fieldDescription.decoration.descriptionSpacing.*.margin",e.module.field_desc_padding="fieldDescription.decoration.descriptionSpacing.*.padding",e.module.field_desc_border="fieldDescription.decoration.descriptionBorder.*",e.module.field_desc_border_color="fieldDescription.decoration.descriptionBorder.*.styles.all.color",e.module.field_desc_border_width="fieldDescription.decoration.descriptionBorder.*.styles.all.width",e.module.field_desc_border_style="fieldDescription.decoration.descriptionBorder.*.styles.all.style",e.valueExpansionFunctionMap={field_desc_font:convertFormFont,field_desc_margin:convertFormSpacing,field_desc_padding:convertFormSpacing,field_desc_border:convertFormBorder},e.module.errormessage_wrapper_background="errorMessage.decoration.containerBackground.*.color",e.module.errormessage_wrapper_margin="errorMessage.decoration.containerSpacing.*.margin",e.module.errormessage_wrapper_padding="errorMessage.decoration.containerSpacing.*.padding",e.module.errormessage_wrapper_border="errorMessage.decoration.containerBorder.*",e.module.errormessage_wrapper_border_color="errorMessage.decoration.containerBorder.*.styles.all.color",e.module.errormessage_wrapper_border_width="errorMessage.decoration.containerBorder.*.styles.all.width",e.module.errormessage_wrapper_border_style="errorMessage.decoration.containerBorder.*.styles.all.style",e.module.errormessage_wrapper_shadow="errorMessage.decoration.containerShadow.*",e.module.errormessage_wrapper_shadow_horizontal="errorMessage.decoration.containerShadow.*.horizontal",e.module.errormessage_wrapper_shadow_vertical="errorMessage.decoration.containerShadow.*.vertical",e.module.errormessage_wrapper_shadow_blur="errorMessage.decoration.containerShadow.*.blur",e.module.errormessage_wrapper_shadow_spread="errorMessage.decoration.containerShadow.*.spread",e.module.errormessage_wrapper_shadow_color="errorMessage.decoration.containerShadow.*.color",e.module.errormessage_wrapper_shadow_position="errorMessage.decoration.containerShadow.*.position",e.module.errormessage_fill_font="errorMessage.decoration.contentFont.body.font.*",e.module.errormessage_fill_fontcolor="errorMessage.decoration.contentFont.body.font.*.color",e.module.errormessage_fill_fontsize="errorMessage.decoration.contentFont.body.font.*.size",e.module.errormessage_fill_letterspace="errorMessage.decoration.contentFont.body.font.*.letterSpacing",e.module.errormessage_fill_lineheight="errorMessage.decoration.contentFont.body.font.*.lineHeight",e.module.errormessage_fill_alignment="errorMessage.decoration.contentFont.body.font.*.textAlign",e.module.errormessage_errors_font="errorMessage.decoration.contentFont.ul.font.*",e.module.errormessage_errors_fontcolor="errorMessage.decoration.contentFont.ul.font.*.color",e.module.errormessage_errors_fontsize="errorMessage.decoration.contentFont.ul.font.*.size",e.module.errormessage_errors_letterspace="errorMessage.decoration.contentFont.ul.font.*.letterSpacing",e.module.errormessage_errors_lineheight="errorMessage.decoration.contentFont.ul.font.*.lineHeight",e.module.errormessage_errors_alignment="errorMessage.decoration.contentFont.ul.font.*.textAlign",e.valueExpansionFunctionMap={errormessage_wrapper_margin:convertFormSpacing,errormessage_wrapper_padding:convertFormSpacing,errormessage_wrapper_border:convertFormBorder,errormessage_wrapper_shadow:convertFormShadow,errormessage_fill_font:convertFormFont,errormessage_errors_font:convertFormFont},e.module.success_button_background="successButton.decoration.buttonBackground.*.color",e.module.success_button_font="successButton.decoration.buttonFont.font.*",e.module.success_button_color="successButton.decoration.buttonFont.font.*.color",e.module.success_button_size="successButton.decoration.buttonFont.font.*.size",e.module.success_button_letter_space="successButton.decoration.buttonFont.font.*.letterSpacing",e.module.success_button_line_height="successButton.decoration.buttonFont.font.*.lineHeight",e.module.success_button_alignment="successButton.decoration.buttonFont.font.*.textAlign",e.module.success_button_margin="successButton.decoration.buttonSpacing.*.margin",e.module.success_button_padding="successButton.decoration.buttonSpacing.*.padding",e.module.success_button_border="successButton.decoration.buttonBorder.*",e.module.success_button_border_color="successButton.decoration.buttonBorder.*.styles.all.color",e.module.success_button_border_width="successButton.decoration.buttonBorder.*.styles.all.width",e.module.success_button_border_style="successButton.decoration.buttonBorder.*.styles.all.style",e.module.success_button_shadow="successButton.decoration.buttonShadow.*",e.module.success_button_shadow_horizontal="successButton.decoration.buttonShadow.*.horizontal",e.module.success_button_shadow_vertical="successButton.decoration.buttonShadow.*.vertical",e.module.success_button_shadow_blur="successButton.decoration.buttonShadow.*.blur",e.module.success_button_shadow_spread="successButton.decoration.buttonShadow.*.spread",e.module.success_button_shadow_color="successButton.decoration.buttonShadow.*.color",e.module.success_button_shadow_position="successButton.decoration.buttonShadow.*.position",e.valueExpansionFunctionMap={success_button_font:convertFormFont,success_button_margin:convertFormSpacing,success_button_padding:convertFormSpacing,success_button_border:convertFormBorder,success_button_shadow:convertFormShadow},e.module.success_message_background="successMessage.decoration.containerBackground.*.color",e.module.success_message_margin="successMessage.decoration.containerSpacing.*.margin",e.module.success_message_padding="successMessage.decoration.containerSpacing.*.padding",e.module.success_message_border="successMessage.decoration.containerBorder.*",e.module.success_message_border_color="successMessage.decoration.containerBorder.*.styles.all.color",e.module.success_message_border_width="successMessage.decoration.containerBorder.*.styles.all.width",e.module.success_message_border_style="successMessage.decoration.containerBorder.*.styles.all.style",e.module.success_message_shadow="successMessage.decoration.containerShadow.*",e.module.success_message_shadow_horizontal="successMessage.decoration.containerShadow.*.horizontal",e.module.success_message_shadow_vertical="successMessage.decoration.containerShadow.*.vertical",e.module.success_message_shadow_blur="successMessage.decoration.containerShadow.*.blur",e.module.success_message_shadow_spread="successMessage.decoration.containerShadow.*.spread",e.module.success_message_shadow_color="successMessage.decoration.containerShadow.*.color",e.module.success_message_shadow_position="successMessage.decoration.containerShadow.*.position",e.module.success_message_heading_font="successMessage.decoration.headingFont.h1.font.*",e.module.success_message_heading_color="successMessage.decoration.headingFont.h1.font.*.color",e.module.success_message_heading_size="successMessage.decoration.headingFont.h1.font.*.size",e.module.success_message_heading_letterspace="successMessage.decoration.headingFont.h1.font.*.letterSpacing",e.module.success_message_heading_lineheight="successMessage.decoration.headingFont.h1.font.*.lineHeight",e.module.success_message_heading_alignment="successMessage.decoration.headingFont.h1.font.*.textAlign",e.module.success_message_font="successMessage.decoration.contentFont.body.font.*",e.module.success_message_font_color="successMessage.decoration.contentFont.body.font.*.color",e.module.success_message_font_size="successMessage.decoration.contentFont.body.font.*.size",e.module.success_message_letterspace="successMessage.decoration.contentFont.body.font.*.letterSpacing",e.module.success_message_lineheight="successMessage.decoration.contentFont.body.font.*.lineHeight",e.module.success_message_alignment="successMessage.decoration.contentFont.body.font.*.textAlign",e.valueExpansionFunctionMap={success_message_margin:convertFormSpacing,success_message_padding:convertFormSpacing,success_message_border:convertFormBorder,success_message_shadow:convertFormShadow,success_message_heading_font:convertFormFont,success_message_font:convertFormFont},e.module.files_container_background="fileUpload.decoration.containerBackground.*.color",e.module.files_container_margin="fileUpload.decoration.containerSpacing.*.margin",e.module.files_container_padding="fileUpload.decoration.containerSpacing.*.padding",e.module.files_container_border="fileUpload.decoration.containerBorder.*",e.module.files_container_border_color="fileUpload.decoration.containerBorder.*.styles.all.color",e.module.files_container_border_width="fileUpload.decoration.containerBorder.*.styles.all.width",e.module.files_container_border_style="fileUpload.decoration.containerBorder.*.styles.all.style",e.module.files_container_shadow="fileUpload.decoration.containerShadow.*",e.module.files_container_shadow_horizontal="fileUpload.decoration.containerShadow.*.horizontal",e.module.files_container_shadow_vertical="fileUpload.decoration.containerShadow.*.vertical",e.module.files_container_shadow_blur="fileUpload.decoration.containerShadow.*.blur",e.module.files_container_shadow_spread="fileUpload.decoration.containerShadow.*.spread",e.module.files_container_shadow_color="fileUpload.decoration.containerShadow.*.color",e.module.files_container_shadow_position="fileUpload.decoration.containerShadow.*.position",e.module.files_container_list_color="fileUpload.decoration.attachedFilesTextColor.color.*",e.valueExpansionFunctionMap={files_container_margin:convertFormSpacing,files_container_padding:convertFormSpacing,files_container_border:convertFormBorder,files_container_shadow:convertFormShadow},e.module.accepted_file_text_font="fileUpload.decoration.acceptedFilesTypesFont.font.*",e.module.accepted_file_text_color="fileUpload.decoration.acceptedFilesTypesFont.font.*.color",e.module.accepted_file_text_size="fileUpload.decoration.acceptedFilesTypesFont.font.*.size",e.module.accepted_file_text_letterspace="fileUpload.decoration.acceptedFilesTypesFont.font.*.letterSpacing",e.module.accepted_file_text_lineheight="fileUpload.decoration.acceptedFilesTypesFont.font.*.lineHeight",e.module.accepted_file_text_alignment="fileUpload.decoration.acceptedFilesTypesFont.font.*.textAlign",e.module.accepted_file_text_margin="fileUpload.decoration.acceptedFilesTypesSpacing.*.margin",e.module.accepted_file_text_padding="fileUpload.decoration.acceptedFilesTypesSpacing.*.padding",e.valueExpansionFunctionMap={accepted_file_text_font:convertFormFont,accepted_file_text_margin:convertFormSpacing,accepted_file_text_padding:convertFormSpacing},e.module.chosen_file_text_font="fileUpload.decoration.selectedFilesFont.font.*",e.module.chosen_file_text_color="fileUpload.decoration.selectedFilesFont.font.*.color",e.module.chosen_file_text_size="fileUpload.decoration.selectedFilesFont.font.*.size",e.module.chosen_file_text_letterspace="fileUpload.decoration.selectedFilesFont.font.*.letterSpacing",e.module.chosen_file_text_lineheight="fileUpload.decoration.selectedFilesFont.font.*.lineHeight",e.valueExpansionFunctionMap={chosen_file_text_font:convertFormFont},e.module.file_button_background="fileUpload.decoration.uploadbuttonBackground.*.color",e.module.file_button_font="fileUpload.decoration.uploadButtonFont.font.*",e.module.file_button_color="fileUpload.decoration.uploadButtonFont.font.*.color",e.module.file_button_size="fileUpload.decoration.uploadButtonFont.font.*.size",e.module.file_button_letter_space="fileUpload.decoration.uploadButtonFont.font.*.letterSpacing",e.module.file_button_line_height="fileUpload.decoration.uploadButtonFont.font.*.lineHeight",e.module.file_button_margin="fileUpload.decoration.uploadButtonSpacing.*.margin",e.module.file_button_padding="fileUpload.decoration.uploadButtonSpacing.*.padding",e.module.file_button_border="fileUpload.decoration.uploadButtonBorder.*",e.module.file_button_border_color="fileUpload.decoration.uploadButtonBorder.*.styles.all.color",e.module.file_button_border_width="fileUpload.decoration.uploadButtonBorder.*.styles.all.width",e.module.file_button_border_style="fileUpload.decoration.uploadButtonBorder.*.styles.all.style",e.module.use_file_button_icon="fileUpload.decoration.uploadButtonShowIcon.*",e.module.file_button_icon="fileUpload.decoration.uploadButtonIcon.*",e.module.file_button_icon_color="fileUpload.decoration.uploadButtonIconColor.*",e.module.file_button_icon_placement="fileUpload.decoration.uploadButtonIconPosition.*",e.module.file_button_icon_on_hover="fileUpload.decoration.uploadButtonHoverIcon.*",e.module.file_button_shadow="fileUpload.decoration.uploadButtonShadow.*",e.module.file_button_shadow_horizontal="fileUpload.decoration.uploadButtonShadow.*.horizontal",e.module.file_button_shadow_vertical="fileUpload.decoration.uploadButtonShadow.*.vertical",e.module.file_button_shadow_blur="fileUpload.decoration.uploadButtonShadow.*.blur",e.module.file_button_shadow_spread="fileUpload.decoration.uploadButtonShadow.*.spread",e.module.file_button_shadow_color="fileUpload.decoration.uploadButtonShadow.*.color",e.module.file_button_shadow_position="fileUpload.decoration.uploadButtonShadow.*.position",e.valueExpansionFunctionMap={file_button_margin:convertFormSpacing,file_button_padding:convertFormSpacing,file_button_border:convertFormBorder,file_button_shadow:convertFormShadow,file_button_font:convertFormFont,file_button_icon:convertFormIcon},e.module.datetimepicker_background="dateTimePicker.decoration.containerBackground.*.color",e.module.datetimepicker_margin="dateTimePicker.decoration.containerSpacing.*.margin",e.module.datetimepicker_padding="dateTimePicker.decoration.containerSpacing.*.spacing",e.module.datetimepicker_border="dateTimePicker.decoration.containerBorder.*",e.module.datetimepicker_border_color="dateTimePicker.decoration.containerBorder.*.styles.all.color",e.module.datetimepicker_border_width="dateTimePicker.decoration.containerBorder.*.styles.all.width",e.module.datetimepicker_border_style="dateTimePicker.decoration.containerBorder.*.styles.all.style",e.module.datetimepicker_shadow="dateTimePicker.decoration.containerShadow.*",e.module.datetimepicker_shadow_horizontal="dateTimePicker.decoration.containerShadow.*.horizontal",e.module.datetimepicker_shadow_vertical="dateTimePicker.decoration.containerShadow.*.vertical",e.module.datetimepicker_shadow_blur="dateTimePicker.decoration.containerShadow.*.blur",e.module.datetimepicker_shadow_spread="dateTimePicker.decoration.containerShadow.*.spread",e.module.datetimepicker_shadow_color="dateTimePicker.decoration.containerShadow.*.color",e.module.datetimepicker_shadow_position="dateTimePicker.decoration.containerShadow.*.position",e.valueExpansionFunctionMap={datetimepicker_margin:convertFormSpacing,datetimepicker_padding:convertFormSpacing,datetimepicker_border:convertFormBorder,datetimepicker_shadow:convertFormShadow},e.module.datepicker_width="dateTimePicker.decoration.datesContainerWidth.*",e.module.datepicker_height="dateTimePicker.decoration.datesContainerHeight.*",e.module.datepicker_yearmonth_background="dateTimePicker.decoration.monthYearBackground.*",e.module.datepicker_yearmonth_alignment="dateTimePicker.decoration.monthYearFont.*.textAlign",e.module.datepicker_yearmonth_text_color="dateTimePicker.decoration.monthYearFont.*.color",e.module.datepicker_yearmonth_size="dateTimePicker.decoration.monthYearFont.*.size",e.module.datepicker_yearmonth_letter_space="dateTimePicker.decoration.monthYearFont.*.letterSpacing",e.module.datepicker_yearmonth_line_height="dateTimePicker.decoration.monthYearFont.*.textAlign",e.module.datepicker_weekdays_font="dateTimePicker.decoration.daysOfWeekFont.font.*",e.module.datepicker_weekdays_text_color="dateTimePicker.decoration.daysOfWeekFont.font.*.color",e.module.datepicker_weekdays_size="dateTimePicker.decoration.daysOfWeekFont.font.*.size",e.module.datepicker_weekdays_letter_space="dateTimePicker.decoration.daysOfWeekFont.font.*.letterSpacing",e.module.datepicker_weekdays_line_height="dateTimePicker.decoration.daysOfWeekFont.font.*.lineHeight",e.module.datepicker_weekdays_alignment="dateTimePicker.decoration.daysOfWeekFont.font.*.textAlign",e.valueExpansionFunctionMap={datepicker_weekdays_font:convertFormFont},e.module.datepicker_dates_font="dateTimePicker.decoration.daysOfWeekFont.font.*",e.module.datepicker_dates_text_color="dateTimePicker.decoration.daysOfWeekFont.font.*.color",e.module.datepicker_dates_size="dateTimePicker.decoration.daysOfWeekFont.font.*.size",e.module.datepicker_dates_letter_space="dateTimePicker.decoration.daysOfWeekFont.font.*.letterSpacing",e.module.datepicker_dates_line_height="dateTimePicker.decoration.daysOfWeekFont.font.*.lineHeight",e.module.datepicker_dates_alignment="dateTimePicker.decoration.daysOfWeekFont.font.*.textAlign",e.valueExpansionFunctionMap={datepicker_dates_font:convertFormFont},e.module.datepicker_current_date_background="dateTimePicker.decoration.currentDateBackground.*",e.module.datepicker_current_date_color="dateTimePicker.decoration.currentDateTextColor.*",e.module.datepicker_selected_date_background="dateTimePicker.decoration.selectedDateBackground.*",e.module.datepicker_selected_date_color="dateTimePicker.decoration.selectedDateTextColor.*",e.module.datepicker_available_dates_background="dateTimePicker.decoration.avalaibleDatesBackground.*",e.module.datepicker_available_dates_text_color="dateTimePicker.decoration.avalaibleDatesTextColor.*",e.module.datepicker_unavailable_dates_background="dateTimePicker.decoration.unAvalaibleDatesBackground.*",e.module.datepicker_unavailable_dates_text_color="dateTimePicker.decoration.unAvalaibleDatesTextColor.*",e.module.timepicker_width="dateTimePicker.decoration.timesContainerWidth.*",e.module.timepicker_height="dateTimePicker.decoration.timesContainerHeight.*",e.module.timepicker_time_font="dateTimePicker.decoration.timeFont.font.*",e.module.timepicker_time_text_color="dateTimePicker.decoration.timeFont.font.*.color",e.module.timepicker_time_size="dateTimePicker.decoration.timeFont.font.*.size",e.module.timepicker_time_letter_space="dateTimePicker.decoration.timeFont.font.*.letterSpacing",e.module.timepicker_time_line_height="dateTimePicker.decoration.timeFont.font.*.lineHeight",e.module.timepicker_time_alignment="dateTimePicker.decoration.timeFont.font.*.textAlign",e.module.timpicker_selected_time_background="dateTimePicker.decoration.selectedTimeBackground.*",e.module.timpicker_selected_time_color="dateTimePicker.decoration.selectedTimeTextColor.*",e.module.timpicker_available_times_background="dateTimePicker.decoration.avalaibleTimesBackground.*",e.module.timpicker_available_times_text_color="dateTimePicker.decoration.avalaibleTimesTextColor.*",e.module.timpicker_unavailable_times_background="dateTimePicker.decoration.unAvalaibleTimesBackground.*",e.module.timpicker_unavailable_times_text_color="dateTimePicker.decoration.unAvalaibleTimesTextColor.*",e.valueExpansionFunctionMap={timepicker_time_font:convertFormFont}),e),(t,e=0)=>{if("object"==typeof t&&null!==t&&!Array.isArray(t))return{family:t.family||t.fontFamily||"",weight:t.weight||t.fontWeight||"",style:t.style||t.fontStyle||"",size:t.size||t.fontSize||"",color:t.color||"",letterSpacing:t.letterSpacing||"",lineHeight:t.lineHeight||"",textAlign:t.textAlign||"",textTransform:t.textTransform||""};if("string"!=typeof t)return{};{var t=t.split("|"),o=(t[0]||"").trim();let e="";t[1]&&/^\d{3,4}$/.test(t[1])&&(e=t[1]);t=t.includes("on")?"uppercase":"";return{family:o,weight:e,style:"",textTransform:t}}}),convertFormSpacing=e=>{var t,o,i,a,r;return"string"!=typeof e?{}:([e,t,o,i,a,r]=e.split("|"),{top:e||"",right:t||"",bottom:o||"",left:i||"",syncVertical:"on"===a||"true"===a?"on":"off",syncHorizontal:"on"===r||"true"===r?"on":"off"})},convertFormBorder=(e,t={})=>"object"==typeof e&&null!==e?e:"string"==typeof e&&"on"===(e=e.split("|"))[0]&&5<=e.length?{radius:{topLeft:e[1]||"",topRight:e[2]||"",bottomLeft:e[3]||"",bottomRight:e[4]||"",sync:"on"},styles:{all:{color:t.border_color||"#000",width:t.border_width||"1px",style:t.border_style||"solid"}}}:{},convertFormShadow=e=>{var t;return"string"==typeof e&&e.trim()?(t={none:{horizontal:"",vertical:"",blur:"",spread:"",position:"",color:"rgba(0, 0, 0, 0.3)",style:"none"},preset1:{horizontal:"0px",vertical:"2px",blur:"18px",spread:"0px",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:"preset1"},preset2:{horizontal:"6px",vertical:"6px",blur:"18px",spread:"0px",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:"preset2"},preset3:{horizontal:"0px",vertical:"12px",blur:"18px",spread:"-6px",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:"preset3"},preset4:{horizontal:"10px",vertical:"10px",blur:"0px",spread:"0px",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:"preset4"},preset5:{horizontal:"0px",vertical:"6px",blur:"0px",spread:"10px",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:"preset5"},preset6:{horizontal:"0px",vertical:"0px",blur:"18px",spread:"0px",position:"inner",color:"rgba(0, 0, 0, 0.3)",style:"preset6"},preset7:{horizontal:"10px",vertical:"10px",blur:"0px",spread:"0px",position:"inner",color:"rgba(0, 0, 0, 0.3)",style:"preset7"}})[e]?{desktop:{value:t[e]}}:{desktop:{value:{horizontal:"",vertical:"",blur:"",spread:"",position:"outer",color:"rgba(0, 0, 0, 0.3)",style:e}}}:{}},convertFormIcon=(e,t=0)=>{var o;return"string"==typeof e&&""!==e.trim()&&(o={},(e=e.split("||"))[0]&&(o.unicode=e[0]),e[1]&&(o.type=e[1]),e[2]&&(o.weight=e[2]),0<Object.keys(o).length)&&o};KS_PAC_DCFH_VB.hooks.addFilter("divi.moduleLibrary.conversion.moduleConversionOutline","ks-pac-dcfh",KS_PAC_DCFH_VB.contactFormConversionOutline),KS_PAC_DCFH_VB.filterContactFormGroups=(e,t)=>(addTitleGroup(e,t),updateAdminEmailGroup(e,t),addConfirmationEmailGroup(e,t),addEntryPreferencesGroup(e,t),addErrorMessageGroup(e,t),addSuccessMessageGroup(e,t),addParentDesignFileUploadGroup(e,t),addParentDesignDateTimePickerGroup(e,t),addSubmitButtonGroup(e,t),addSuccessButtonGroup(e,t),addIntegrationsGroup(e,t),addAfterSubmissionGroup(e,t),addFieldLabelGroup(e,t),addFieldDescriptionGroup(e,t),addContactFormIdentifierGroup(e,t),addValidationCustomLabelsGroup(e,t),updateSpamProtecttionGroup(e,t),e),KS_PAC_DCFH_VB.hooks.addFilter("divi.moduleLibrary.moduleSettings.groups.divi.contact-form","ks-pac-dcfh",KS_PAC_DCFH_VB.filterContactFormGroups),KS_PAC_DCFH_VB.filterContactFormAttributes=(e,t)=>(addAdminEmailAttributes(e,t),addConfirmationEmailAttributes(e,t),addEntryPreferencesAttributes(e,t),addSubmitButtonAttributes(e,t),addSuccessButtonAttributes(e,t),addErrorMessageAttributes(e,t),addSuccessMessageAttributes(e,t),addIngerationsAttributes(e,t),addAfterSubmissionsAttributes(e,t),addSpamProtectionAttributes(e,t),addContactFormIdentifierAttributes(e,t),addValidationCustomAttributes(e,t),addFieldLabelAttributes(e,t),addFieldDescriptionAttributes(e,t),addParentDesignFileUploadAttributes(e,t),addParentDesignDateTimePickerAttributes(e,t),e),KS_PAC_DCFH_VB.hooks.addFilter("divi.moduleLibrary.moduleAttributes.divi.contact-form","ks-pac-dcfh",KS_PAC_DCFH_VB.filterContactFormAttributes),KS_PAC_DCFH_VB.filterContactFormWrapper=(e,t)=>{var o,i,a,r,{id:t,name:n,attrs:d,elements:l,state:s}=t;return"divi/contact-form"===n&&e&&e?.props&&({CommonStyle:n,StyleContainer:o,ElementStyle:i}=window.divi.module,a=window.divi.styleLibrary.StyleDeclarations,r=e.props.isEdited,renderSubmitButton(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:a,isEdited:r}),renderSuccessMessage(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:a,isEdited:r}),renderSuccessButton(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:a,isEdited:r}),renderFormFieldLabel(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:a,isEdited:r}),renderFormFieldDesc(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:a,isEdited:r}),renderErrorMessage(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:a,isEdited:r}),renderParentDesignFileUpload(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:a,isEdited:r}),renderParentDesignDateTimePicker(e,t,d,l,s,{CommonStyle:n,StyleContainer:o,StyleDeclarations:a,isEdited:r})),e},KS_PAC_DCFH_VB.hooks.addFilter("divi.module.wrapper.render","ks-pac-dcfh",KS_PAC_DCFH_VB.filterContactFormWrapper);