1!function(){function i(e,t){if(void 0!==window.aspnetValidation){function r(e,t){if("checkbox"!==t.type.toLowerCase()&&"radio"!==t.type.toLowerCase())return Boolean(e);for(var r=t.form.querySelectorAll("input[name='"+t.name+"']"),n=0;n<r.length;n++)if(!0===r[n].checked)return!0;return!1}function n(){this.form.elements.PreviousClicked.value="clicked"}var o=new aspnetValidation.ValidationService,i=(o.addProvider("requiredcb",r),o.addProvider("required",r),o.addProvider("umbracoforms_regex",function(e,t,r){return!e||!r.pattern||new RegExp(r.pattern).test(e)}),window.addEventListener("load",function(){for(var e in o.providers)o.providers[e]=function(n){return function(e,t,r){return null===t.offsetParent||n(e,t,r)}}(o.providers[e])}),o.bootstrap(),window.umbracoFormsValidationService=o,document.querySelectorAll("[data-umb='prev-forms-form']"));0===i.length&&(i=document.getElementsByClassName("prev cancel"));for(var a=0;a<i.length;a++)i[a].form.elements.PreviousClicked.value="",i[a].addEventListener("click",n,!1)}else if("function"==typeof jQuery&&$.validator&&$.validator.unobtrusive){$.validator.setDefaults({ignore:":hidden"}),$.validator.unobtrusive.adapters.addBool("requiredcb","required"),$.validator.addMethod("umbracoforms_regex",function(e,t){var r=$(t).attr("data-regex"),t=$(t).val();return 0===t.length||t.match(r)}),$.validator.unobtrusive.adapters.addBool("regex","umbracoforms_regex");var s=document.querySelectorAll(".umbraco-forms-form input[type=submit]:not(.cancel)");for(let e=0;e<s.length;e++){var l=s[e];l.addEventListener("click",function(e){e.preventDefault();e=$(this).closest("form");c(e[0]),e.validate(),e.valid()&&(e.submit(),this.setAttribute("disabled","disabled"))}.bind(l))}}for(var d=0;d<e.length;d++)u({form:e[d]},t)}function u(e,t){for(var r,n,o,i,a=t?e.form:JSON.parse(decodeURI(e.form)),s=document.querySelectorAll(".umbraco-forms-form"),l=0;l<s.length;l++){var d=s[l];a.disableValidationDependencyCheck||(r=d,i=o=n=void 0,"undefined"!=typeof Umbraco&&void 0!==Umbraco.Sys)||"tinymce"===document.body.id||((n=document.createElement("div")).className="umbraco-forms missing-library",n.style.color="#fff",n.style.backgroundColor="#9d261d",n.style.padding="15px",n.style.margin="10px 0",o="",!r)||0<r.getElementsByClassName("umbraco-forms missing-library").length||((i=!1)===(i=window.jQuery&&$&&void 0!==$.validator||void 0!==window.aspnetValidation?!0:i)&&(o+="Umbraco Forms requires a validation framework to run, please read documentation for posible options."),""!==o&&(n.innerHTML=o+'<br/> <a href="https://docs.umbraco.com/umbraco-forms/developer/prepping-frontend" target="_blank" style="text-decoration:underline; color:#fff;">See Umbraco Forms Documentation</a>',r.insertBefore(n,r.childNodes[0]))),new f(d.querySelector(".umbraco-forms-page"),a.pageButtonConditions,a.fieldSetConditions,a.fieldConditions,a.triggerConditionsCheckOn&&0<a.triggerConditionsCheckOn.length?a.triggerConditionsCheckOn:"change",a.recordValues,a.formElementHtmlIdPrefix).watch(),function(e){var t;"MutationObserver"in window!=!1&&(void 0!==window.aspnetValidation&&(t=e.getElementsByTagName("form")[0],t.addEventListener("submit",function(){c(t)},!1)),new MutationObserver(function(e){for(var t=0;t<e.length;t++){var r=e[t];if("field-validation-error"===r.target.className){a=i=o=n=void 0;for(var n=r.target,o=n.previousElementSibling;o;){if("input"===o.tagName.toLowerCase()||"textarea"===o.tagName.toLowerCase()||"select"===o.tagName.toLowerCase()){o.focus();break}if(o.classList.contains("radiobuttonlist")||o.classList.contains("checkboxlist")){for(var i=0;i<o.children.length;i++){var a=o.children[i];if("input"===a.tagName.toLowerCase()){a.focus();break}}break}o=o.previousElementSibling}break}}}).observe(e,{attributes:!0,attributeFilter:["class"],childList:!1,characterData:!1,subtree:!0}))}(d)}}function c(e){for(var t=e.getElementsByClassName("field-validation-error"),r=0;r<t.length;r++)t[r].className="field-validation-valid"}function f(e,t,r,n,o,i,a){var p={};function s(e,t,r){var n=e.querySelectorAll("select");for(let e=0;e<n.length;e++){var o=n[e];t[o.getAttribute("id")]=o.value,r[o.getAttribute("id")]="select"}var i=e.querySelectorAll("textarea");for(let e=0;e<i.length;e++){var a=i[e];t[a.getAttribute("id")]=a.value,r[a.getAttribute("id")]="textarea"}function s(e){return(e=e.getAttribute("id").split("_")).slice(0,e.length-1).join("_")}var l=e.querySelectorAll("input[type=checkbox]");for(let e=0;e<l.length;e++){var d,u=l[e];u.getAttribute("id")!==p.formElementHtmlIdPrefix+u.getAttribute("name")?(t[d=s(u)]=null,r[d]="checkbox"):(t[u.getAttribute("id")]=null,r[u.getAttribute("id")]="checkbox")}
1var c=e.querySelectorAll("input");for(let e=0;e<c.length;e++){var f,m=c[e];"text"!==m.getAttribute("type")&&"number"!==m.getAttribute("type")&&"email"!==m.getAttribute("type")&&"url"!==m.getAttribute("type")&&"tel"!==m.getAttribute("type")&&"time"!==m.getAttribute("type")&&"date"!==m.getAttribute("type")&&"datetime-local"!==m.getAttribute("type")&&"hidden"!==m.getAttribute("type")||(t[m.getAttribute("id")]=m.value,r[m.getAttribute("id")]="text"),"radio"===m.getAttribute("type")&&m.matches(":checked")&&(t[f=s(m)]=m.value,r[f]="radio"),"checkbox"===m.getAttribute("type")&&(m.getAttribute("id")!==p.formElementHtmlIdPrefix+m.getAttribute("name")?(f=s(m),m.matches(":checked")&&(null===t[f]?t[f]=m.value:t[f]+=";;"+m.value)):t[m.getAttribute("id")]=m.matches(":checked")?"true":"false")}}return p.form=e,p.pageButtonConditions=t,p.fieldsetConditions=r,p.fieldConditions=n,p.triggerConditionsCheckOn=o,p.values=i,p.formElementHtmlIdPrefix=a,p.dataTypes={},p.operators={Is:function(e,t,r){return(e||"")===t||(null==e?t==e:("checkbox"===r&&("TRUE"===t.toUpperCase()||"ON"===t.toUpperCase()?t="true":"FALSE"!==t.toUpperCase()&&"OFF"!==t.toUpperCase()||(t="false")),0<e.split(";;").filter(function(e){return e===t}).length))},IsNot:function(e,t,r){var n;return null==e?t!=e:(n=e.split(";;").filter(function(e){return e===t}),"checkbox"===r&&("TRUE"===t.toUpperCase()||"ON"===t.toUpperCase()?t="true":"FALSE"!==t.toUpperCase()&&"OFF"!==t.toUpperCase()||(t="false")),(e||"")!==t&&0===n.length)},GreaterThen:function(e,t){return isNaN(e)||isNaN(t)?t<e:parseInt(e)>parseInt(t)},LessThen:function(e,t){return isNaN(e)||isNaN(t)?e<t:parseInt(e)<parseInt(t)},StartsWith:function(e,t){return e&&e.startsWith(t)},EndsWith:function(e,t){return e&&e.endsWith(t)},Contains:function(e,t){return e&&-1<e.indexOf(t)},ContainsIgnoreCase:function(e,t){return e&&t&&0<=e.toUpperCase().indexOf(t.toUpperCase())},StartsWithIgnoreCase:function(e,t){return e&&t&&e.toUpperCase().startsWith(t.toUpperCase())},EndsWithIgnoreCase:function(e,t){return e&&t&&e.toUpperCase().endsWith(t.toUpperCase())},NotContains:function(e,t){return!e||t&&e.indexOf(t)<0},NotStartsWith:function(e,t){return!e||t&&!e.startsWith(t)},NotEndsWith:function(e,t){return!e||t&&!e.endsWith(t)},NotContainsIgnoreCase:function(e,t){return!e||t&&e.toUpperCase().indexOf(t.toUpperCase())<0},NotStartsWithIgnoreCase:function(e,t){return!e||t&&!e.toUpperCase().startsWith(t.toUpperCase())},NotEndsWithIgnoreCase:function(e,t){return!e||t&&!e.toUpperCase().endsWith(t.toUpperCase())}},p.watch=function(){var t=p.form.querySelectorAll(".datepickerfield");for(let e=0;e<t.length;e++){var r=t[e];r.addEventListener("blur",function(){var e;""===this.value&&(e=(e=this.getAttribute("id")).substr(0,e.length-2),p.values[e]="",document.getElementById(e).value=""),s(p.form,p.values,p.dataTypes),p.run()}.bind(r))}var n=p.form.querySelectorAll("input, textarea, select");for(let e=0;e<n.length;e++){var o=n[e];o.addEventListener(p.triggerConditionsCheckOn,function(){s(p.form,p.values,p.dataTypes),p.run()}.bind(o))}s(p.form,p.values,p.dataTypes),p.run()},p.run=function(){var e,t,r,n,o,i={};function d(e){var t,r,n=!0;return!!(n=p.fieldConditions[e.field]?u(e.field,p.fieldConditions[e.field]):n)&&(e=p.values[p.formElementHtmlIdPrefix+(n=e).field],t=p.dataTypes[n.field],r=p.operators[n.operator],null!==e)&&r(e,n.value,t)}function a(e,t){var r="Show"===t.actionType,n=i[e],e=void 0===n?(i[e]=r,i[e]=function(e,t){var r,n,o="Any"===t.logicType,i="All"===t.logicType,a={},s=!1,l=!0;if(0===t.rules.length)return!1;for(n=0;n<t.rules.length;n++){if(e===(r=t.rules[n]).field||e===r.fieldsetId)throw new Error("Field or fieldset "+e+" has a condition on itself.");void 0===a[r.fieldsetId]&&(p.fieldsetConditions[r.fieldsetId]?(a[r.fieldsetId]=u(r.fieldsetId,p.fieldsetConditions[r.fieldsetId]),a[r.fieldsetId]||(s=!0)):a[r.fieldsetId]=!0)}if(i&&s)return!1;for(n=0;n<t.rules.length&&(l=!!a[(r=t.rules[n]).fieldsetId]&&d(t.rules[n]),!o||!l)&&(!i||l);n++);return l}(e,t)):n;return!(e^r)}function u(e,t){return!t||a(e,t)}function s(e,t,r){t=u(t,r);e&&(t?e.classList.remove("umbraco-forms-hidden"):e.classList.add("umbraco-forms-hidden"))}for(e in p.pageButtonConditions)Object.prototype.hasOwnProperty.call(p.pageButtonConditions,e)&&(o=document.getElementById(e))&&s(o.querySelector("input[name='__next'], button[name='__next'], input[data-form-navigate='next'], button[data-form-navigate='next']"),e,p.pageButtonConditions[e]);for(r in p.fieldsetConditions)Object.prototype.hasOwnProperty.call(p.fieldsetConditions,r)&&(t=p.formElementHtmlIdPrefix+r,s(document.getElementById(t),r,p.fieldsetConditions[r]));for(n in p.fieldConditions)Object.prototype.hasOwnProperty.call(p.fieldConditions,n)&&(t=p.formElementHtmlIdPrefix+n,document.getElementById(t))&&s(document.getElementById(t).closest(".umbraco-forms-field"),n,p.fieldConditions[n])},p}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){for(var t=this;t;){if(t.matches(e))return t;t=t.parentElement}}),document.addEventListener("DOMContentLoaded",function(){var e=document.getElementsByClassName("umbraco-forms-form-config");if(0<e.length){for(var t=[],r=0;r<e.length;r++){var n=e[r],n={formId:n.dataset.id,pageButtonConditions:JSON.parse(n.dataset.serializedPageButtonConditions),fieldSetConditions:JSON.parse(n.dataset.serializedFieldsetConditions),fieldConditions:JSON.parse(n.dataset.serializedFieldConditions),triggerConditionsCheckOn:n.dataset.triggerConditionsCheckOn,disableValidationDependencyCheck:"true"===n.dataset.disableValidationDependencyCheck,recordValues:JSON.parse(n.dataset.serializedFieldsNotDisplayed),formElementHtmlIdPrefix:n.dataset.formElementHtmlIdPrefix};t.push(n)}i(t,!0)}else"undefined"==typeof umbracoFormsCollection?document.addEventListener("umbracoFormLoaded",u):i(umbracoFormsCollection);var o=document.getElementById("umbraco-forms-form-submitted");o&&!function(o){function i(e){for(var t=0,r=0;r<e.length;r++){var n=function(e){var t=e;for(;"BODY"!==t.tagName;){if(t.classList.contains("umbraco-forms-field"))return t;t=t.parentNode}return e}(e[r]).getBoundingClientRect().top;0<n&&(n<t||0===t)&&(t=n)}0<t&&window.scrollTo(0,t)}function a(e){e.scrollIntoView({behavior:"auto",block:"start"})}document.onreadystatechange=function(){var e,t,r,n;"complete"==document.readyState&&(e=document.querySelectorAll(".field-validation-error"),t=document.querySelectorAll(".umbraco-forms-submitmessage"),r=document.querySelectorAll(".umbraco-forms-submitmessage-html"),n=document.getElementById("umbraco_form_"+o),0<e.length?
1i(e):0<t.length?a(t[0].parentElement):0<r.length?a(r[0]):n&&a(n))}}(o.dataset.formClientId)})}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.