try{ !function(){"use strict";var t={d:function(e,n){for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function n(t){if(this.formData={},this.tree={},!(t instanceof FormData))return this;this.formData=t;const e=()=>{const t=new Map;return t.largestIndex=0,t.set=function(e,n){""===e?e=t.largestIndex++:/^[0-9]+$/.test(e)&&(e=parseInt(e),t.largestIndex<=e&&(t.largestIndex=e+1)),Map.prototype.set.call(t,e,n)},t};this.tree=e();const n=/^(?[a-z][-a-z0-9_:]*)(?(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i;for(const[t,i]of this.formData){const s=t.match(n);if(s)if(""===s.groups.array)this.tree.set(s.groups.name,i);else{const t=[...s.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map((([t,e])=>e));t.unshift(s.groups.name);const n=t.pop();t.reduce(((t,n)=>{if(/^[0-9]+$/.test(n)&&(n=parseInt(n)),t.get(n)instanceof Map)return t.get(n);const i=e();return t.set(n,i),i}),this.tree).set(n,i)}}}t.r(e),t.d(e,{date:function(){return f},dayofweek:function(){return h},email:function(){return a},enum:function(){return u},file:function(){return m},maxdate:function(){return z},maxfilesize:function(){return I},maxitems:function(){return v},maxlength:function(){return x},maxnumber:function(){return b},mindate:function(){return A},minfilesize:function(){return $},minitems:function(){return g},minlength:function(){return w},minnumber:function(){return y},number:function(){return c},required:function(){return o},requiredfile:function(){return r},tel:function(){return l},time:function(){return d},url:function(){return p}}),n.prototype.entries=function(){return this.tree.entries()},n.prototype.get=function(t){return this.tree.get(t)},n.prototype.getAll=function(t){if(!this.has(t))return[];const e=t=>{const n=[];if(t instanceof Map)for(const[i,s]of t)n.push(...e(s));else""!==t&&n.push(t);return n};return e(this.get(t))},n.prototype.has=function(t){return this.tree.has(t)},n.prototype.keys=function(){return this.tree.keys()},n.prototype.values=function(){return this.tree.values()};var i=n;function s({rule:t,field:e,error:n,...i}){this.rule=t,this.field=e,this.error=n,this.properties=i}const o=function(t){if(0===t.getAll(this.field).length)throw new s(this)},r=function(t){if(0===t.getAll(this.field).length)throw new s(this)},a=function(t){if(!t.getAll(this.field).every((t=>{if((t=t.trim()).length<6)return!1;if(-1===t.indexOf("@",1))return!1;if(t.indexOf("@")!==t.lastIndexOf("@"))return!1;const[e,n]=t.split("@",2);if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e))return!1;if(/\.{2,}/.test(n))return!1;if(/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(n))return!1;const i=n.split(".");if(i.length<2)return!1;for(const t of i){if(/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(t))return!1;if(!/^[a-z0-9-]+$/i.test(t))return!1}return!0})))throw new s(this)},p=function(t){const e=t.getAll(this.field);if(!e.every((t=>{if(""===(t=t.trim()))return!1;try{return(t=>-1!==["http","https","ftp","ftps","mailto","news","irc","irc6","ircs","gopher","nntp","feed","telnet","mms","rtsp","sms","svn","tel","fax","xmpp","webcal","urn"].indexOf(t))(new URL(t).protocol.replace(/:$/,""))}catch{return!1}})))throw new s(this)},l=function(t){if(!t.getAll(this.field).every((t=>(t=(t=t.trim()).replaceAll(/[()/.*#\s-]+/g,""),/^[+]?[0-9]+$/.test(t)))))throw new s(this)},c=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)||!!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)))))throw new s(this)},f=function(t){if(!t.getAll(this.field).every((t=>{if(t=t.trim(),!/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t))return!1;const e=new Date(t);return!Number.isNaN(e.valueOf())})))throw new s(this)},d=function(t){if(!t.getAll(this.field).every((t=>{const e=t.trim().match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/);if(!e)return!1;const n=parseInt(e[1]),i=parseInt(e[2]),s=e[3]?parseInt(e[3]):0;return 0<=n&&n<=23&&0<=i&&i<=59&&0<=s&&s<=59})))throw new s(this)},m=function(t){if(!t.getAll(this.field).every((t=>t instanceof File&&this.accept?.some((e=>/^\.[a-z0-9]+$/i.test(e)?t.name.toLowerCase().endsWith(e.toLowerCase()):(t=>{const e=[],n=t.match(/^(?[a-z]+)\/(?[*]|[a-z0-9.+-]+)$/i);if(n){const t=n.groups.toplevel.toLowerCase(),i=n.groups.sub.toLowerCase();for(const[s,o]of(()=>{const t=new Map;return t.set("jpg|jpeg|jpe","image/jpeg"),t.set("gif","image/gif"),t.set("png","image/png"),t.set("bmp","image/bmp"),t.set("tiff|tif","image/tiff"),t.set("webp","image/webp"),t.set("ico","image/x-icon"),t.set("heic","image/heic"),t.set("asf|asx","video/x-ms-asf"),t.set("wmv","video/x-ms-wmv"),t.set("wmx","video/x-ms-wmx"),t.set("wm","video/x-ms-wm"),t.set("avi","video/avi"),t.set("divx","video/divx"),t.set("flv","video/x-flv"),t.set("mov|qt","video/quicktime"),t.set("mpeg|mpg|mpe","video/mpeg"),t.set("mp4|m4v","video/mp4"),t.set("ogv","video/ogg"),t.set("webm","video/webm"),t.set("mkv","video/x-matroska"),t.set("3gp|3gpp","video/3gpp"),t.set("3g2|3gp2","video/3gpp2"),t.set("txt|asc|c|cc|h|srt","text/plain"),t.set("csv","text/csv"),t.set("tsv","text/tab-separated-values"),t.set("ics","text/calendar"),t.set("rtx","text/richtext"),t.set("css","text/css"),t.set("htm|html","text/html"),t.set("vtt","text/vtt"),t.set("dfxp","application/ttaf+xml"),t.set("mp3|m4a|m4b","audio/mpeg"),t.set("aac","audio/aac"),t.set("ra|ram","audio/x-realaudio"),t.set("wav","audio/wav"),t.set("ogg|oga","audio/ogg"),t.set("flac","audio/flac"),t.set("mid|midi","audio/midi"),t.set("wma","audio/x-ms-wma"),t.set("wax","audio/x-ms-wax"),t.set("mka","audio/x-matroska"),t.set("rtf","application/rtf"),t.set("js","application/javascript"),t.set("pdf","application/pdf"),t.set("swf","application/x-shockwave-flash"),t.set("class","application/java"),t.set("tar","application/x-tar"),t.set("zip","application/zip"),t.set("gz|gzip","application/x-gzip"),t.set("rar","application/rar"),t.set("7z","application/x-7z-compressed"),t.set("exe","application/x-msdownload"),t.set("psd","application/octet-stream"),t.set("xcf","application/octet-stream"),t.set("doc","application/msword"),t.set("pot|pps|ppt","application/vnd.ms-powerpoint"),t.set("wri","application/vnd.ms-write"),t.set("xla|xls|xlt|xlw","application/vnd.ms-excel"),t.set("mdb","application/vnd.ms-access"),t.set("mpp","application/vnd.ms-project"),t.set("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"),t.set("docm","application/vnd.ms-word.document.macroEnabled.12"),t.set("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"),t.set("dotm","application/vnd.ms-word.template.macroEnabled.12"),t.set("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),t.set("xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"),t.set("xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"),t.set("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"),t.set("xltm","application/vnd.ms-excel.template.macroEnabled.12"),t.set("xlam","application/vnd.ms-excel.addin.macroEnabled.12"),t.set("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"),t.set("pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"),t.set("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"),t.set("ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),t.set("potx","application/vnd.openxmlformats-officedocument.presentationml.template"),t.set("potm","application/vnd.ms-powerpoint.template.macroEnabled.12"),t.set("ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"),t.set("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"),t.set("sldm","application/vnd.ms-powerpoint.slide.macroEnabled.12"),t.set("onetoc|onetoc2|onetmp|onepkg","application/onenote"),t.set("oxps","application/oxps"),t.set("xps","application/vnd.ms-xpsdocument"),t.set("odt","application/vnd.oasis.opendocument.text"),t.set("odp","application/vnd.oasis.opendocument.presentation"),t.set("ods","application/vnd.oasis.opendocument.spreadsheet"),t.set("odg","application/vnd.oasis.opendocument.graphics"),t.set("odc","application/vnd.oasis.opendocument.chart"),t.set("odb","application/vnd.oasis.opendocument.database"),t.set("odf","application/vnd.oasis.opendocument.formula"),t.set("wp|wpd","application/wordperfect"),t.set("key","application/vnd.apple.keynote"),t.set("numbers","application/vnd.apple.numbers"),t.set("pages","application/vnd.apple.pages"),t})())("*"===i&&o.startsWith(t+"/")||o===n[0])&&e.push(...s.split("|"))}return e})(e).some((e=>(e="."+e.trim(),t.name.toLowerCase().endsWith(e.toLowerCase())))))))))throw new s(this)},u=function(t){if(!t.getAll(this.field).every((t=>this.accept?.some((e=>t===String(e))))))throw new s(this)},h=function(t){if(!t.getAll(this.field).every((t=>{const e=0===(n=new Date(t).getDay())?7:n;var n;return this.accept?.some((t=>e===parseInt(t)))})))throw new s(this)},g=function(t){if(t.getAll(this.field).length{"string"==typeof t&&(n+=t.length)})),0!==n&&n{"string"==typeof t&&(n+=t.length)})),parseInt(this.threshold)!(parseFloat(t)!(parseFloat(this.threshold)(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&t(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&this.threshold{t instanceof File&&(n+=t.size)})),n{t instanceof File&&(n+=t.size)})),parseInt(this.threshold){const r=(t.rules??[]).filter((({rule:t,...n})=>"function"==typeof e[t]&&("function"!=typeof e[t].matches||e[t].matches(n,o))));if(!r.length)return new Map;const a=new i(n),p=r.reduce(((t,n)=>{const{rule:i,...o}=n;if(t.get(o.field)?.error)return t;try{e[i].call({rule:i,...o},a)}catch(e){if(e instanceof s)return t.set(o.field,e)}return t}),new Map);for(const t of a.keys())p.has(t)||p.set(t,{validInputs:a.getAll(t)});return p},...null!==(E=window.swv)&&void 0!==E?E:{}}}(); } catch(e){console.error("WP-Optimize Minify: An error has occurred in the minified code. \n\n- Original script: https://staplerschein-oesterreich.at/wp-content/plugins/contact-form-7/includes/swv/js/index.js\n- Error message: "+ e.message);} try{ !function(){"use strict";const e=e=>Math.abs(parseInt(e,10)),t=(e,t,a)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},a=(e,a)=>{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(a)&&(a=n.get(a)),Array.from(n.values()).includes(a)||(a=`custom-${a=(a=a.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=a,e.setAttribute("data-status",a),e.classList.add(a),r&&r!==a){e.classList.remove(r);const a={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,prevStatus:r};t(e,"statuschanged",a)}return a},n=e=>{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return r.reduceRight(((e,t)=>a=>t(a,e)),(e=>{let n,r,{url:o,path:c,endpoint:s,headers:i,body:l,data:d,...p}=e;"string"==typeof s&&(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),c=r?n+"/"+r:n),"string"==typeof c&&(-1!==t.indexOf("?")&&(c=c.replace("?","&")),c=c.replace(/^\//,""),o=t+c),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],d&&(l=JSON.stringify(d),i["Content-Type"]="application/json");const u={code:"fetch_error",message:"You are probably offline."},f={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(o||c||window.location.href,{...p,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw f}));throw f}))),(()=>{throw u}))}))(e)},r=[];function o(e,t={}){var n;const{target:r,scope:o=e,...l}=t;if(void 0===e.wpcf7?.schema)return;const d={...e.wpcf7.schema};if(void 0!==r){if(!e.contains(r))return;if(!r.closest(".wpcf7-form-control-wrap[data-name]"))return;if(r.closest(".novalidate"))return}const p=new FormData,u=[];for(const e of o.querySelectorAll(".wpcf7-form-control-wrap"))if(!e.closest(".novalidate")&&(e.querySelectorAll(":where(input, textarea, select):enabled").forEach((e=>{if(e.name)switch(e.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":e.checked&&p.append(e.name,e.value);break;case"select-multiple":for(const t of e.selectedOptions)p.append(e.name,t.value);break;case"file":for(const t of e.files)p.append(e.name,t);break;default:p.append(e.name,e.value)}})),e.dataset.name&&(u.push(e.dataset.name),e.setAttribute("data-under-validation","1"),e.contains(r))))break;d.rules=(null!==(n=d.rules)&&void 0!==n?n:[]).filter((({field:e})=>u.includes(e)));const f=e.getAttribute("data-status");Promise.resolve(a(e,"validating")).then((a=>{if(void 0!==swv){const a=swv.validate(d,p,t);for(const[t,{error:n,validInputs:r}]of a)s(e,t),void 0!==n&&c(e,t,n,{scope:o}),i(e,t,null!=r?r:[])}})).finally((()=>{a(e,f),e.querySelectorAll(".wpcf7-form-control-wrap[data-under-validation]").forEach((e=>{e.removeAttribute("data-under-validation")}))}))}n.use=e=>{r.unshift(e)};const c=(e,t,a,n)=>{const{scope:r=e,...o}=null!=n?n:{},c=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=>{const t=document.createElement("li");t.setAttribute("id",c),s&&s.id?t.insertAdjacentHTML("beforeend",`${a}`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((t=>{if("validating"===e.getAttribute("data-status")&&!t.dataset.underValidation)return;const n=document.createElement("span");n.classList.add("wpcf7-not-valid-tip"),n.setAttribute("aria-hidden","true"),n.insertAdjacentText("beforeend",a),t.appendChild(n),t.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),t.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",c),"function"==typeof e.setCustomValidity&&e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&&(e.addEventListener("focus",(e=>{n.setAttribute("style","display: none")})),n.addEventListener("click",(e=>{n.setAttribute("style","display: none")})))}))}))},s=(e,t)=>{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&&e.setCustomValidity("")}))}))},i=(e,t,a)=>{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=>{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&&a.push(t.dataset.default),a.slice(0,1).forEach((e=>{e instanceof File&&(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=>{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=>{a instanceof File&&(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function l(e,r={}){if(wpcf7.blocked)return d(e),void a(e,"submitting");const o=new FormData(e);r.submitter&&r.submitter.name&&o.append(r.submitter.name,r.submitter.value);const s={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(o,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:o};n({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:o,wpcf7:{endpoint:"feedback",form:e,detail:s}}).then((n=>{const r=a(e,n.status);return s.status=n.status,s.apiResponse=n,["invalid","unaccepted","spam","aborted"].includes(r)?t(e,r,s):["sent","failed"].includes(r)&&t(e,`mail${r}`,s),t(e,"submit",s),n})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach((t=>{c(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}n.use(((e,n)=>{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:n,detail:r}=e.wpcf7;d(n),t(n,"beforesubmit",r),a(n,"submitting")}return n(e)}));const d=e=>{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=>{t.dataset.name&&s(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function p(e){const r=new FormData(e),o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(r,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:r};n({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:o}}).then((n=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,a(e,"mail_sent")):a(e,"init"),o.apiResponse=n,t(e,"reset",o)})).catch((e=>console.error(e)))}n.use(((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:n}=e.wpcf7;d(t),a(t,"resetting")}return t(e)}));const u=(e,t)=>{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=>{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=>{e.value=r[1]}))}},f=(e,t)=>{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=>{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function m(t){const a=new FormData(t);t.wpcf7={id:e(a.get("_wpcf7")),status:t.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:e(a.get("_wpcf7_container_post")),parent:t.closest(".wpcf7"),schema:void 0},t.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(t),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=>{a.disabled=!n.checked,e.target===n&&n.checked&&a.focus()}))}))})(t),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let a=e.value.trim();a&&!a.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==a.indexOf(".")&&(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(t),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&a.checked||!e.classList.contains("invert")&&!a.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(t),(t=>{const a=(t,a)=>{const n=e(t.getAttribute("data-starting-value")),r=e(t.getAttribute("data-maximum-value")),o=e(t.getAttribute("data-minimum-value")),c=t.classList.contains("down")?n-a.value.length:a.value.length;t.setAttribute("data-current-value",c),t.innerText=c,r&&r{e={init:!1,...e},t.querySelectorAll(".wpcf7-character-count").forEach((n=>{const r=n.getAttribute("data-target-name"),o=t.querySelector(`[name="${r}"]`);o&&(o.value=o.defaultValue,a(n,o),e.init&&o.addEventListener("keyup",(e=>{a(n,o)})))}))};n({init:!0}),t.addEventListener("wpcf7reset",(e=>{n()}))})(t),window.addEventListener("load",(e=>{wpcf7.cached&&t.reset()})),t.addEventListener("reset",(e=>{wpcf7.reset(t)})),t.addEventListener("submit",(e=>{wpcf7.submit(t,{submitter:e.submitter}),e.preventDefault()})),t.addEventListener("wpcf7submit",(e=>{e.detail.apiResponse.captcha&&u(t,e.detail.apiResponse.captcha),e.detail.apiResponse.quiz&&f(t,e.detail.apiResponse.quiz)})),t.addEventListener("wpcf7reset",(e=>{e.detail.apiResponse.captcha&&u(t,e.detail.apiResponse.captcha),e.detail.apiResponse.quiz&&f(t,e.detail.apiResponse.quiz)})),n({endpoint:`contact-forms/${t.wpcf7.id}/feedback/schema`,method:"GET"}).then((e=>{t.wpcf7.schema=e})),t.addEventListener("change",(e=>{e.target.closest(".wpcf7-form-control")&&wpcf7.validate(t,{target:e.target})})),t.addEventListener("wpcf7statuschanged",(e=>{const a=e.detail.status;t.querySelectorAll(".active-on-any").forEach((e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),t.querySelectorAll(`.inert-on-${a}`).forEach((e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(e=>{var t;"undefined"!=typeof wpcf7?void 0!==wpcf7.api?"function"==typeof window.fetch?"function"==typeof window.FormData?"function"==typeof NodeList.prototype.forEach?"function"==typeof String.prototype.replaceAll?(wpcf7={init:m,submit:l,reset:p,validate:o,...null!==(t=wpcf7)&&void 0!==t?t:{}},document.querySelectorAll(".wpcf7 > form").forEach((e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}))):console.error("Your browser does not support String.replaceAll()."):console.error("Your browser does not support NodeList.forEach()."):console.error("Your browser does not support window.FormData()."):console.error("Your browser does not support window.fetch()."):console.error("wpcf7.api is not defined."):console.error("wpcf7 is not defined.")}))}(); } catch(e){console.error("WP-Optimize Minify: An error has occurred in the minified code. \n\n- Original script: https://staplerschein-oesterreich.at/wp-content/plugins/contact-form-7/includes/js/index.js\n- Error message: "+ e.message);} try{ var wpcf7_redirect;(function($){function Wpcf7_redirect(){this.init=function(){this.wpcf7_redirect_mailsent_handler()};this.wpcf7_redirect_mailsent_handler=function(){document.addEventListener('wpcf7mailsent',function(event){$(document.body).trigger('wpcf7r-mailsent',[event]);if(typeof event.detail.apiResponse!='undefined'&&event.detail.apiResponse){var apiResponse=event.detail.apiResponse;var actionDelay=0;if(typeof apiResponse.api_url_request!='undefined'&&apiResponse.api_url_request){wpcf7_redirect.handle_api_action(apiResponse.api_url_request)} if(typeof apiResponse.api_json_xml_request!='undefined'&&apiResponse.api_json_xml_request){wpcf7_redirect.handle_api_action(apiResponse.api_json_xml_request)} if(typeof apiResponse.FireScript!='undefined'&&apiResponse.FireScript){actionDelay=typeof apiResponse.FireScript.delay_redirect!='undefined'?apiResponse.FireScript.delay_redirect:actionDelay;window.setTimeout(function(){wpcf7_redirect.handle_javascript_action(apiResponse.FireScript)},actionDelay)} if(typeof apiResponse.popup!='undefined'&&apiResponse.popup){wpcf7_redirect.handle_popups(apiResponse.popup)} if(typeof apiResponse.redirect_to_paypal!='undefined'&&apiResponse.redirect_to_paypal){actionDelay=typeof apiResponse.redirect_to_paypal.delay_redirect!='undefined'?apiResponse.redirect_to_paypal.delay_redirect:actionDelay;window.setTimeout(function(){wpcf7_redirect.handle_redirect_action(apiResponse.redirect_to_paypal)},actionDelay)} if(typeof apiResponse.redirect!='undefined'&&apiResponse.redirect){actionDelay=typeof apiResponse.redirect.delay_redirect!='undefined'?apiResponse.redirect.delay_redirect:actionDelay;window.setTimeout(function(){wpcf7_redirect.handle_redirect_action(apiResponse.redirect)},actionDelay)}}},!1);document.addEventListener('wpcf7invalid',function(event){$(document.body).trigger('wpcf7r-invalid',[event]);if(typeof event.detail.apiResponse!='undefined'&&event.detail.apiResponse){response=event.detail.apiResponse;if(response.invalidFields){wpcf7_redirect.ninja_multistep_mov_to_invalid_tab(event,response)}}})};this.handle_popups=function(popups){$(document.body).trigger('wpcf7r-before-open-popup',[event]);$.each(popups,function(k,popup){var $new_elem=$(popup['popup-template']);$(document.body).append($new_elem);$(document.body).addClass(popup['template-name']);window.setTimeout(function(){$(document.body).addClass('modal-popup-open');$new_elem.addClass('is-open')},1000);$new_elem.find('.close-button').on('click',function(){$new_elem.removeClass('is-open').addClass('fade');$(document.body).removeClass('modal-popup-open');window.setTimeout(function(){$('.wpcf7r-modal').remove();$(document.body).trigger('wpcf7r-popup-removed',[$new_elem])},4000)});$(document.body).trigger('wpcf7r-popup-appended',[$new_elem])})} this.handle_api_action=function(send_to_api_result,request){$.each(send_to_api_result,function(k,v){if(!v.result_javascript){return} response=typeof v.api_response!='undefined'?v.api_response:'';request=typeof v.request!='undefined'?v.request:'';eval(v.result_javascript)})};this.ninja_multistep_mov_to_invalid_tab=function(event,response){if($('.fieldset-cf7mls-wrapper').length){var form=$(event.target);var first_invalid_field=response.invalidFields[0];var parent_step=$(first_invalid_field.into).parents('fieldset');form.find('.fieldset-cf7mls').removeClass('cf7mls_current_fs');parent_step.addClass('cf7mls_current_fs').removeClass('cf7mls_back_fs');if(form.find('.cf7mls_progress_bar').length){form.find('.cf7mls_progress_bar li').eq(form.find("fieldset.fieldset-cf7mls").index(previous_fs)).addClass("current");form.find('.cf7mls_progress_bar li').eq(form.find("fieldset.fieldset-cf7mls").index(current_fs)).removeClass("active current")}}} this.handle_redirect_action=function(redirect){$(document.body).trigger('wpcf7r-handle_redirect_action',[redirect]);$.each(redirect,function(k,v){var delay=typeof v.delay!='undefined'&&v.delay?v.delay:'';delay=delay*1000;window.setTimeout(function(v){var redirect_url=typeof v.redirect_url!='undefined'&&v.redirect_url?v.redirect_url:'';var type=typeof v.type!='undefined'&&v.type?v.type:'';if(typeof v.form!='undefined'&&v.form){$('body').append(v.form);$('#cf7r-result-form').submit()}else{if(redirect_url&&type=='redirect'){window.location=redirect_url}else if(redirect_url&&type=='new_tab'){window.open(redirect_url)}}},delay,v)})};this.handle_javascript_action=function(scripts){$(document.body).trigger('wpcf7r-handle_javascript_action',[scripts]);$.each(scripts,function(k,script){eval(script)})};this.htmlspecialchars_decode=function(string){var map={'&':'&','&':"&",'<':'<','>':'>','"':'"',''':"'",'’':"’",'‘':"‘",'–':"–",'—':"—",'…':"…",'”':'”'};return string.replace(/\&[\w\d\#]{2,5}\;/g,function(m){return map[m]})};this.init()} wpcf7_redirect=new Wpcf7_redirect()})(jQuery); } catch(e){console.error("WP-Optimize Minify: An error has occurred in the minified code. \n\n- Original script: https://staplerschein-oesterreich.at/wp-content/plugins/wpcf7-redirect/build/js/wpcf7r-fe.js\n- Error message: "+ e.message);} try{ "use strict";if(typeof wpcf7!=='undefined'){wpcf7.validate=(a,b)=>null} let cf7signature_resized=0;let wpcf7cf_timeout;let wpcf7cf_change_time_ms=100;if(window.wpcf7&&!wpcf7.setStatus){wpcf7.setStatus=(form,status)=>{form=form.length?form[0]:form;const defaultStatuses=new Map([['init','init'],['validation_failed','invalid'],['acceptance_missing','unaccepted'],['spam','spam'],['aborted','aborted'],['mail_sent','sent'],['mail_failed','failed'],['submitting','submitting'],['resetting','resetting'],]);if(defaultStatuses.has(status)){status=defaultStatuses.get(status)} if(!Array.from(defaultStatuses.values()).includes(status)){status=status.replace(/[^0-9a-z]+/i,' ').trim();status=status.replace(/\s+/,'-');status=`custom-${ status }`} const prevStatus=form.getAttribute('data-status');form.wpcf7.status=status;form.setAttribute('data-status',status);form.classList.add(status);if(prevStatus&&prevStatus!==status){form.classList.remove(prevStatus)} return status}} if(window.wpcf7cf_running_tests){jQuery('input[name="_wpcf7cf_options"]').each(function(e){const $input=jQuery(this);const opt=JSON.parse($input.val());opt.settings.animation_intime=0;opt.settings.animation_outtime=0;$input.val(JSON.stringify(opt))});wpcf7cf_change_time_ms=0} const wpcf7cf_show_animation={"height":"show","marginTop":"show","marginBottom":"show","paddingTop":"show","paddingBottom":"show"};const wpcf7cf_hide_animation={"height":"hide","marginTop":"hide","marginBottom":"hide","paddingTop":"hide","paddingBottom":"hide"};const wpcf7cf_show_step_animation={"opacity":"show"};const wpcf7cf_hide_step_animation={"opacity":"hide"};const wpcf7cf_change_events='input.wpcf7cf paste.wpcf7cf change.wpcf7cf click.wpcf7cf propertychange.wpcf7cf changedisabledprop.wpcf7cf';const wpcf7cf_forms=[];const Wpcf7cfForm=function($form){const options_element=$form.find('input[name="_wpcf7cf_options"]').eq(0);if(!options_element.length||!options_element.val()){return!1} const form=this;const form_options=JSON.parse(options_element.val());form.$form=$form;form.$input_hidden_group_fields=$form.find('[name="_wpcf7cf_hidden_group_fields"]');form.$input_hidden_groups=$form.find('[name="_wpcf7cf_hidden_groups"]');form.$input_visible_groups=$form.find('[name="_wpcf7cf_visible_groups"]');form.$input_repeaters=$form.find('[name="_wpcf7cf_repeaters"]');form.$input_steps=$form.find('[name="_wpcf7cf_steps"]');form.unit_tag=$form.closest('.wpcf7').attr('id');form.conditions=form_options.conditions;form.simpleDom=null;form.reloadSimpleDom=function(){form.simpleDom=wpcf7cf.get_simplified_dom_model(form.$form[0])} form.updateSimpleDom=function(){if(!form.simpleDom){form.reloadSimpleDom()} const inputs=Object.values(form.simpleDom).filter(item=>item.type==='input');const formdata=new FormData(form.$form[0]);let formdataEntries=[...formdata.entries()].map(entry=>[entry[0],entry[1].name??entry[1]]);const buttonEntries=[...jQuery('button',form.$form)].map(entry=>[entry.name,entry.value]);formdataEntries=formdataEntries.concat(buttonEntries);inputs.forEach(simpleDomItem=>{const newValue=form.getNewDomValueIfChanged(simpleDomItem,formdataEntries);if(newValue!==null){form.simpleDom[simpleDomItem.name].val=newValue}})} form.isDomMatch=function(simpleDomItem,formDataEntries){const simpleDomItemName=simpleDomItem.name;const simpleDomItemValues=simpleDomItem.val;const currentValues=formDataEntries.filter(entry=>entry[0]===simpleDomItemName).map(entry=>entry[1]);return currentValues.join('|')===simpleDomItemValues.join('|')} form.getNewDomValueIfChanged=function(simpleDomItem,formDataEntries){const simpleDomItemName=simpleDomItem.name;const simpleDomItemValues=simpleDomItem.val;const currentValues=formDataEntries.filter(entry=>entry[0]===simpleDomItemName).map(entry=>entry[1]);return currentValues.join('|')===simpleDomItemValues.join('|')?null:currentValues} form.get=function(selector){return jQuery(selector,form.$form)} form.getFieldByName=function(name){return form.simpleDom[name]||form.simpleDom[name+'[]']} for(let i=0;iitem.params.$repeater.id)));const $multistep=form.get('.wpcf7cf_multistep');if($multistep.length){form.multistep=new Wpcf7cfMultistep($multistep,form)}} Wpcf7cfForm.prototype.resetRepeaters=function(){const form=this;form.repeaters.forEach(repeater=>{repeater.updateSubs(repeater.params.$repeater.initial_subs)})} Wpcf7cfForm.prototype.displayFields=function(){const form=this;const wpcf7cf_conditions=this.conditions;const wpcf7cf_settings=this.settings;if(cf7signature_resized===0&&typeof signatures!=='undefined'&&signatures.constructor===Array&&signatures.length>0){for(let i=0;icanvas");const $sig_wrap=jQuery(".wpcf7-form-control-signature-wrap");$sig_canvas.eq(i).attr('width',$sig_wrap.width());$sig_canvas.eq(i).attr('height',$sig_wrap.height());cf7signature_resized=1}}} form.$groups.addClass('wpcf7cf-hidden');for(let i=0;ifile.name).join(', '))});jQuery.ajax({url:wpcf7cf_global_settings.ajaxurl+'?action=wpcf7cf_get_summary',type:'POST',data:fd,processData:!1,contentType:!1,dataType:'json',success:function(json){$summary.html(json.summaryHtml)}})};Wpcf7cfForm.prototype.updateHiddenFields=function(){const form=this;const hidden_fields=[];const hidden_groups=[];const visible_groups=[];form.$groups.each(function(){const $group=jQuery(this);if($group.hasClass('wpcf7cf-hidden')){hidden_groups.push($group.attr('data-id'));if($group.attr('data-disable_on_hide')!==undefined){$group.find('input,select,textarea').each(function(){const $this=jQuery(this);if(!$this.prop('disabled')){$this.prop('disabled',!0).trigger('changedisabledprop.wpcf7cf')} if(form.$form.find(`[data-class="wpcf7cf_group"]:not(.wpcf7cf-hidden) [name='${$this.attr('name')}']`).length===0){hidden_fields.push($this.attr('name'))}}) $group.find('.wpcf7-form-control-wrap').addClass('wpcf7cf-disabled')}else{$group.find('input,select,textarea').each(function(){hidden_fields.push(jQuery(this).attr('name'))})}}else{visible_groups.push($group.attr('data-id'))}});form.hidden_fields=hidden_fields;form.hidden_groups=hidden_groups;form.visible_groups=visible_groups;form.$input_hidden_group_fields.val(JSON.stringify(hidden_fields));form.$input_hidden_groups.val(JSON.stringify(hidden_groups));form.$input_visible_groups.val(JSON.stringify(visible_groups));return!0};Wpcf7cfForm.prototype.updateGroups=function(){const form=this;form.$groups=form.$form.find('[data-class="wpcf7cf_group"]');form.$groups.height('auto');form.conditions=window.wpcf7cf.get_nested_conditions(form)};Wpcf7cfForm.prototype.updateEventListeners=function(){const form=this;form.get('input, select, textarea, button').not('.wpcf7cf_add, .wpcf7cf_remove').off(wpcf7cf_change_events).on(wpcf7cf_change_events,form,function(e){const form=e.data;clearTimeout(wpcf7cf_timeout);wpcf7cf_timeout=setTimeout(function(){window.wpcf7cf.updateMultistepState(form.multistep);form.updateSimpleDom();form.displayFields()},wpcf7cf_change_time_ms)});form.get('.wpcf7cf-togglebutton').off('click.toggle_wpcf7cf').on('click.toggle_wpcf7cf',function(){const $this=jQuery(this);if($this.text()===$this.attr('data-val-1')){$this.text($this.attr('data-val-2'));$this.val($this.attr('data-val-2'))}else{$this.text($this.attr('data-val-1'));$this.val($this.attr('data-val-1'))}})};function Wpcf7cfRepeater($repeater,form){const $=jQuery;let thisRepeater=this;const wpcf7cf_settings=form.settings;thisRepeater.form=form;$repeater.parentRepeaters=Array.from($repeater.parents('.wpcf7cf_repeater').map(function(){return this.getAttribute('data-id')})).reverse();$repeater.num_subs=0;$repeater.id=$repeater.attr('data-id');$repeater.orig_id=$repeater.attr('data-orig_data_id');$repeater.min=typeof($repeater.attr('data-min'))!=='undefined'?parseInt($repeater.attr('data-min')):1;$repeater.max=typeof($repeater.attr('data-max'))!=='undefined'?parseInt($repeater.attr('data-max')):200;$repeater.initial_subs=typeof($repeater.attr('data-initial'))!=='undefined'?parseInt($repeater.attr('data-initial')):$repeater.min;if($repeater.initial_subs>$repeater.max){$repeater.initial_subs=$repeater.max} const $repeater_sub=$repeater.children('.wpcf7cf_repeater_sub').eq(0);const $repeater_controls=$repeater.children('.wpcf7cf_repeater_controls').eq(0);const $repeater_sub_clone=$repeater_sub.clone();$repeater_sub_clone.find('.wpcf7cf_repeater_sub').addBack('.wpcf7cf_repeater_sub').each(function(){const $this=jQuery(this);const prev_suffix=$this.attr('data-repeater_sub_suffix');const new_suffix=prev_suffix+'__{{repeater_sub_suffix}}';$this.attr('data-repeater_sub_suffix',new_suffix)});$repeater_sub_clone.find('[name]').each(function(){const $this=jQuery(this);const prev_name=$this.attr('name');const new_name=thisRepeater.getNewName(prev_name);const orig_name=$this.attr('data-orig_name')!=null?$this.attr('data-orig_name'):prev_name;$this.attr('name',new_name);$this.attr('data-orig_name',orig_name);$this.closest('.wpcf7-form-control-wrap').attr('data-name',new_name.replace('[]',''))});$repeater_sub_clone.find('.wpcf7cf_repeater,[data-class="wpcf7cf_group"]').each(function(){const $this=jQuery(this);const prev_data_id=$this.attr('data-id');const orig_data_id=$this.attr('data-orig_data_id')!=null?$this.attr('data-orig_data_id'):prev_data_id;let new_data_id=thisRepeater.getNewName(prev_data_id);if(prev_data_id.endsWith('_count')){new_data_id=prev_data_id.replace('_count','__{{repeater_sub_suffix}}_count')} $this.attr('data-id',new_data_id);$this.attr('data-orig_data_id',orig_data_id)});$repeater_sub_clone.find('[id]').each(function(){const $this=jQuery(this);const prev_id=$this.attr('id');const orig_id=$this.attr('data-orig_id')!=null?$this.attr('data-orig_id'):prev_id;const new_id=thisRepeater.getNewName(prev_id);$this.attr('id',new_id);$this.attr('data-orig_id',orig_id)});$repeater_sub_clone.find('[for]').each(function(){const $this=jQuery(this);const prev_for=$this.attr('for');const orig_for=$this.attr('data-orig_for')!=null?$this.attr('data-orig_for'):prev_for;const new_for=thisRepeater.getNewName(prev_for);$this.attr('for',new_for);$this.attr('data-orig_for',orig_for)});const repeater_sub_html=$repeater_sub_clone[0].outerHTML;const $repeater_count_field=$repeater.find('[name='+$repeater.id+'_count]').eq(0);const $button_add=$repeater_controls.find('.wpcf7cf_add').eq(0);const $button_remove=$repeater_controls.find('.wpcf7cf_remove').eq(0);const params={$repeater:$repeater,$repeater_count_field:$repeater_count_field,repeater_sub_html:repeater_sub_html,$repeater_controls:$repeater_controls,$button_add:$button_add,$button_remove:$button_remove,wpcf7cf_settings:wpcf7cf_settings};thisRepeater.params=params;$button_add.on('click',null,thisRepeater,function(e){thisRepeater=e.data;thisRepeater.updateSubs(params.$repeater.num_subs+1)});$button_remove.on('click',null,thisRepeater,function(e){thisRepeater=e.data;thisRepeater.updateSubs(params.$repeater.num_subs-1)});jQuery('> .wpcf7cf_repeater_sub',params.$repeater).eq(0).remove();thisRepeater.updateSubs($repeater.initial_subs);thisRepeater.updateButtons()} Wpcf7cfRepeater.prototype.getNewName=function(previousName){const prev_parts=previousName.split('[');previousName=prev_parts[0];const prev_suff=prev_parts.length>1?'['+prev_parts.splice(1).join('['):'';let newName=previousName+'__{{repeater_sub_suffix}}'+prev_suff;if(previousName.endsWith('_count')){newName=previousName.replace('_count','__{{repeater_sub_suffix}}_count')} return newName} Wpcf7cfRepeater.prototype.updateButtons=function(){const repeater=this;const params=repeater.params;const num_subs=params.$repeater.num_subs;let showButtonRemove=!1;let showButtonAdd=!1;if(params.$repeater.num_subsparams.$repeater.min){showButtonRemove=!0} if(showButtonAdd){params.$button_add.show()}else{params.$button_add.hide()} if(showButtonRemove){params.$button_remove.show()}else{params.$button_remove.hide()} params.$repeater_count_field.val(num_subs)} Wpcf7cfRepeater.prototype.updateSubs=function(subs_to_show){const repeater=this;const params=repeater.params;subs_to_show=subs_to_showparams.$repeater.max?params.$repeater.max:subs_to_show const subs_to_add=subs_to_show-params.$repeater.num_subs;if(subs_to_add<0){repeater.removeSubs(-subs_to_add)}else if(subs_to_add>0){repeater.addSubs(subs_to_add)}};Wpcf7cfRepeater.prototype.addSubs=function(subs_to_add,index=null){const $=jQuery;const params=this.params;const repeater=this;const form=repeater.form;const $repeater=params.$repeater;const $repeater_controls=params.$repeater_controls;if(subs_to_add+$repeater.num_subs>$repeater.max){subs_to_add=$repeater.max-$repeater.num_subs} let html_str='';for(let i=1;i<=subs_to_add;i++){const sub_suffix=$repeater.num_subs+i;html_str+=params.repeater_sub_html.replace(/\{\{repeater_sub_suffix\}\}/g,sub_suffix).replace(new RegExp('\{\{'+$repeater.orig_id+'_index\}\}','g'),''+sub_suffix+'')} const $html=$(html_str);$('> .wpcf7cf_repeater_sub',$repeater).finish();if(index===null){$html.hide().insertBefore($repeater_controls).animate(wpcf7cf_show_animation,params.wpcf7cf_settings.animation_intime).trigger('wpcf7cf_repeater_added')}else{$html.hide().insertBefore($('> .wpcf7cf_repeater_sub',$repeater).eq(index)).animate(wpcf7cf_show_animation,params.wpcf7cf_settings.animation_intime).trigger('wpcf7cf_repeater_added')} $html.find('.wpcf7cf-disabled :input').prop('disabled',!1).trigger('changedisabledprop.wpcf7cf');$html.find('.wpcf7-form-control-wrap').removeClass('wpcf7cf-disabled');$('.wpcf7cf_repeater',$html).each(function(){form.repeaters.push(new Wpcf7cfRepeater($(this),form))});form.$input_repeaters.val(JSON.stringify(form.repeaters.map((item)=>item.params.$repeater.id)));$repeater.num_subs+=subs_to_add;if(index!==null){repeater.updateSuffixes()} window.wpcf7cf.updateMultistepState(form.multistep);form.updateGroups();form.updateEventListeners();form.displayFields();repeater.updateButtons();$html.on('click','.wpcf7-exclusive-checkbox input:checkbox',function(){const name=$(this).attr('name');$html.find('input:checkbox[name="'+name+'"]').not(this).prop('checked',!1)});if(typeof window.cf7mdInit==="function"){window.cf7mdInit()} return!1};Wpcf7cfRepeater.prototype.updateSuffixes=function(){const $repeater=this.params.$repeater;const num_subs=this.params.$repeater.num_subs;const form=this.form;const orig_id=$repeater.attr('data-orig_data_id');const repeater_id=$repeater.attr('data-id');const repeater_suffix=repeater_id.replace(orig_id,'');let simplifiedDomArray=Object.values(wpcf7cf.get_simplified_dom_model(form.$form[0]));for(let i=0;i .wpcf7cf_repeater_sub',$repeater).eq(i);const newIndex=i+1;const currentSuffix=$sub.attr('data-repeater_sub_suffix');const newSuffix=repeater_suffix+'__'+newIndex;$sub.attr('data-repeater_sub_suffix',newSuffix);$sub.find('.wpcf7cf__'+orig_id).html(newIndex);simplifiedDomArray.forEach(function(el){if(el.suffix!==currentSuffix)return;const newName=el.name.replace(currentSuffix,newSuffix);const pureElName=el.name.replace('[]','');const pureNewName=newName.replace('[]','');jQuery('[name="'+el.name+'"]',$sub).attr('name',newName);jQuery('[id="'+el.name+'"]',$sub).attr('id',newName);jQuery('label[for="'+el.name+'"]',$sub).attr('for',newName);const $nested_repeater=jQuery('[data-id="'+el.name+'"]',$sub);$nested_repeater.attr('data-id',newName);jQuery(`.wpcf7-form-control-wrap[data-name="${pureElName}"]`,$sub).attr('data-name',pureNewName);if(el.type==='repeater'){const nested_repeater=form.repeaters.find(function(repeater){return repeater.params.$repeater.get(0)===$nested_repeater.get(0)});if(!nested_repeater)return;nested_repeater.params.repeater_sub_html=wpcf7cf.updateRepeaterSubHTML(nested_repeater.params.repeater_sub_html,currentSuffix,newSuffix,nested_repeater.params.$repeater.parentRepeaters);nested_repeater.updateSuffixes()}})}};Wpcf7cfRepeater.prototype.getParentRepeaters=function(){const simplifiedDomArray=Object.values(wpcf7cf.get_simplified_dom_model(form.$form[0]));form.repeaters.map(repeater=>{})};Wpcf7cfRepeater.prototype.removeSubs=function(subs_to_remove,index=null){const $=jQuery;const repeater=this;const params=repeater.params;const form=repeater.form;const $repeater=params.$repeater;if($repeater.num_subs-subs_to_remove<$repeater.min){subs_to_remove=$repeater.num_subs-$repeater.min} if(index===null){index=$repeater.num_subs-subs_to_remove} $repeater.num_subs-=subs_to_remove;jQuery('> .wpcf7cf_repeater_sub',$repeater).finish();jQuery('> .wpcf7cf_repeater_sub',$repeater).slice(index,index+subs_to_remove).animate(wpcf7cf_hide_animation,{duration:params.wpcf7cf_settings.animation_intime,done:function(){const $this=jQuery(this);$this.remove();params.$repeater.trigger('wpcf7cf_repeater_removed');window.wpcf7cf.updateMultistepState(form.multistep);form.updateGroups();form.updateEventListeners();form.displayFields();repeater.updateButtons();if(index!==null){repeater.updateSuffixes()}}});return!1};function Wpcf7cfMultistep($multistep,form){const multistep=this;multistep.$multistep=$multistep;multistep.form=form;multistep.$steps=$multistep.find('.wpcf7cf_step');multistep.$btn_next=$multistep.find('.wpcf7cf_next');multistep.$btn_prev=$multistep.find('.wpcf7cf_prev');multistep.$dots=$multistep.find('.wpcf7cf_steps-dots');multistep.currentStep=0;multistep.numSteps=multistep.$steps.length;multistep.$dots.html('');for(let i=1;i<=multistep.numSteps;i++){multistep.$dots.append(`
${i}
${multistep.$steps.eq(i-1).attr('data-title')}
`)} multistep.$btn_next.on('click.wpcf7cf_step',async function(){multistep.$btn_next.addClass('disabled').attr('disabled',!0);multistep.form.$form.addClass('submitting');const result=await multistep.validateStep(multistep.currentStep);multistep.form.$form.removeClass('submitting');if(result==='success'){multistep.moveToStep(multistep.currentStep+1)}});multistep.form.$form.on('submit.wpcf7cf_step',function(e){if(multistep.currentStep!==multistep.numSteps){multistep.$btn_next.trigger('click.wpcf7cf_step');e.stopImmediatePropagation();return!1}});multistep.$btn_prev.on('click',function(){multistep.moveToStep(multistep.currentStep-1)});multistep.moveToStep(1)} Wpcf7cfMultistep.prototype.validateStep=function(step_index){const multistep=this;const $multistep=multistep.$multistep;const $form=multistep.form.$form;const form=multistep.form;$form.find('.wpcf7-response-output').addClass('wpcf7-display-none');return new Promise(resolve=>{const fd=new FormData();jQuery.each($form.find('[data-id="step-'+step_index+'"] input[type="file"]'),function(index,el){if(!el.files.length)return!0;const file=el.files[0];const fieldName=el.name;fd.append(fieldName,file)});const formdata=$form.serializeArray();jQuery.each(formdata,function(key,input){fd.append(input.name,input.value)});jQuery.ajax({url:wpcf7cf_global_settings.ajaxurl+'?action=wpcf7cf_validate_step',type:'POST',data:fd,processData:!1,contentType:!1,dataType:'json',}).done(function(json){$multistep.find('.wpcf7-form-control-wrap .wpcf7-not-valid-tip').remove();$multistep.find('.wpcf7-not-valid').removeClass('wpcf7-not-valid');$multistep.find('.wpcf7-response-output').remove();$multistep.find('.wpcf7-response-output.wpcf7-validation-errors').removeClass('wpcf7-validation-errors');multistep.$btn_next.removeClass('disabled').attr('disabled',!1);if(!json.success){let checkError=0;jQuery.each(json.invalid_fields,function(index,el){if($multistep.find('input[name="'+index+'"]').length||$multistep.find('input[name="'+index+'[]"]').length||$multistep.find('select[name="'+index+'"]').length||$multistep.find('select[name="'+index+'[]"]').length||$multistep.find('textarea[name="'+index+'"]').length||$multistep.find('textarea[name="'+index+'[]"]').length){checkError=checkError+1;const controlWrap=form.get(`.wpcf7-form-control-wrap[data-name="${index}"]`);controlWrap.find('.wpcf7-form-control').addClass('wpcf7-not-valid');controlWrap.find('span.wpcf7-not-valid-tip').remove();controlWrap.append(''+el.reason+'')}});resolve('failed');$multistep.parent().find('.wpcf7-response-output').removeClass('wpcf7-display-none').html(json.message);wpcf7.setStatus($form,'invalid');multistep.$steps.trigger('wpcf7cf_step_invalid')}else if(json.success){wpcf7.setStatus($form,'init');resolve('success');return!1}}).fail(function(){resolve('error')}).always(function(){})})};Wpcf7cfMultistep.prototype.moveToStep=function(step_index,scrollToTop=!0){const multistep=this;const previousStep=multistep.currentStep;multistep.currentStep=step_index>multistep.numSteps?multistep.numSteps:step_index<1?1:step_index;multistep.$multistep.attr('data-current_step',multistep.currentStep);multistep.$steps.hide();multistep.$steps.eq(multistep.currentStep-1).show().trigger('wpcf7cf_change_step',[previousStep,multistep.currentStep]);if(scrollToTop){const formEl=multistep.form.$form[0];const topOffset=formEl.getBoundingClientRect().top;if(topOffset<0&&previousStep>0){formEl.scrollIntoView({behavior:"smooth"})}} multistep.form.updateSummaryFields();window.wpcf7cf.updateMultistepState(multistep)};Wpcf7cfMultistep.prototype.getFieldsInStep=function(step_index){this.form.reloadSimpleDom();let inStep=!1;return Object.values(this.form.simpleDom).filter(function(item,i){if(item.type=='step'){inStep=item.val==step_index+''} return inStep&&item.type=='input'}).map(function(item){return item.name})};window.wpcf7cf={hideGroup:function($group,animate){},showGroup:function($group,animate){},updateRepeaterSubHTML:function(html,oldSuffix,newSuffix,parentRepeaters){const oldIndexes=oldSuffix.split('__');oldIndexes.shift();const newIndexes=newSuffix.split('__');newIndexes.shift();let returnHtml=html;if(oldIndexes&&newIndexes&&oldIndexes.length===parentRepeaters.length&&newIndexes.length===parentRepeaters.length){const parentRepeatersInfo=parentRepeaters.map((repeaterId,i)=>{return{[repeaterId.split('__')[0]]:[oldIndexes[i],newIndexes[i]]}});const length=parentRepeatersInfo.length;let replacements=oldIndexes.map((oldIndex,i)=>{return['__'+oldIndexes.slice(0,length-i).join('__'),'__'+newIndexes.slice(0,length-i).join('__'),]});for(let i=0;i${find}<\\/span>`,`${repl}`])} replacements.forEach(([oldSuffix,newSuffix])=>{returnHtml=returnHtml.replace(new RegExp(oldSuffix,'g'),newSuffix)})} return returnHtml},initForm:function($forms){$forms.each(function(){const $form=jQuery(this);if($form.hasClass('wpcf7-form')&&!wpcf7cf_forms.some((form)=>{return form.$form.get(0)===$form.get(0)})){wpcf7cf_forms.push(new Wpcf7cfForm($form))}})},getWpcf7cfForm:function($form){const matched_forms=wpcf7cf_forms.filter((form)=>{return form.$form.get(0)===$form.get(0)});if(matched_forms.length){return matched_forms[0]} return!1},get_nested_conditions:function(form){const conditions=form.initial_conditions;form.reloadSimpleDom();const groups=Object.values(form.simpleDom).filter(function(item,i){return item.type==='group'});let sub_conditions=[];for(let i=0;io.selected).map(o=>o.value)}else{simplified_dom[name].val.push(currentNode.value)}}} const getter=Object.getOwnPropertyDescriptor(Element.prototype,"children").get;const children=getter.call(currentNode);Array.from(children).forEach(childNode=>{const dom=wpcf7cf.get_simplified_dom_model(childNode,simplified_dom,newParentGroups,newParentRepeaters);simplified_dom={...dom,...simplified_dom}});return simplified_dom},updateMultistepState:function(multistep){if(multistep==null)return;const stepsData={currentStep:multistep.currentStep,numSteps:multistep.numSteps,fieldsInCurrentStep:multistep.getFieldsInStep(multistep.currentStep)};multistep.form.$input_steps.val(JSON.stringify(stepsData));multistep.$btn_prev.removeClass('disabled').attr('disabled',!1);multistep.$btn_next.removeClass('disabled').attr('disabled',!1);if(multistep.currentStep==multistep.numSteps){multistep.$btn_next.addClass('disabled').attr('disabled',!0)} if(multistep.currentStep==1){multistep.$btn_prev.addClass('disabled').attr('disabled',!0)} const $submit_button=multistep.form.$form.find('input[type="submit"]:last').eq(0);const $ajax_loader=multistep.form.$form.find('.wpcf7-spinner').eq(0);$submit_button.detach().prependTo(multistep.$btn_next.parent());$ajax_loader.detach().prependTo(multistep.$btn_next.parent());if(multistep.currentStep==multistep.numSteps){multistep.$btn_next.hide();$submit_button.show()}else{$submit_button.hide();multistep.$btn_next.show()} const $dots=multistep.$dots.find('.dot');$dots.removeClass('active').removeClass('completed');for(let step=1;step<=multistep.numSteps;step++){if(step'?'greater than':operator;operator=operator==='<'?'less than':operator;const $field=operator==='function'&&jQuery(`[name="${inputField.name}"]`).eq(0);condition_ok=this.isConditionTrue(inputField.val,operator,if_val,$field);show_group=show_group&&condition_ok} return show_group&&atLeastOneFieldFound},isConditionTrue(values,operator,testValue='',$field=jQuery()){if(!Array.isArray(values)){values=[values]} let condition_ok=!1;const valuesAreEmpty=values.length===0||values.every((v)=>!v&&v!==0);if(operator==='equals'&&testValue===''&&valuesAreEmpty){return!0} if(operator==='not equals'&&testValue===''&&valuesAreEmpty){return!1} if(valuesAreEmpty){if(operator==='is empty'){condition_ok=!0}}else{if(operator==='not empty'){condition_ok=!0}} const testValueNumber=isFinite(parseFloat(testValue))?parseFloat(testValue):NaN;if(operator==='not equals'||operator==='not equals (regex)'){condition_ok=!0} if(operator==='function'&&typeof window[testValue]=='function'&&window[testValue]($field)){condition_ok=!0} let regex_patt=/.*/i;let isValidRegex=!0;if(operator==='equals (regex)'||operator==='not equals (regex)'){try{regex_patt=new RegExp(testValue,'i')}catch(e){isValidRegex=!1}} for(let i=0;itestValueNumber||operator==='less than'&&valsAreNumbers&&valueNumber=testValueNumber||operator==='less than or equals'&&valsAreNumbers&&valueNumber<=testValueNumber){condition_ok=!0;break}else if(operator==='not equals'&&value===testValue||operator==='not equals (regex)'&®ex_patt.test(value)){condition_ok=!1;break}} return condition_ok},getFormObj($form){if(typeof $form==='string'){$form=jQuery($form).eq(0)} return wpcf7cf.getWpcf7cfForm($form)},getRepeaterObj($form,repeaterDataId){const form=wpcf7cf.getFormObj($form);const repeater=form.repeaters.find(repeater=>repeater.params.$repeater.attr('data-id')===repeaterDataId);return repeater},getMultiStepObj($form){const form=wpcf7cf.getFormObj($form);return form.multistep},repeaterAddSub($form,repeaterDataId){const repeater=wpcf7cf.getRepeaterObj($form,repeaterDataId);repeater.updateSubs(repeater.params.$repeater.num_subs+1)},repeaterAddSubAtIndex($form,repeaterDataId,index){const repeater=wpcf7cf.getRepeaterObj($form,repeaterDataId);repeater.addSubs(1,index)},repeaterRemoveSubAtIndex($form,repeaterDataId,index){const repeater=wpcf7cf.getRepeaterObj($form,repeaterDataId);repeater.removeSubs(1,index)},repeaterRemoveSub($form,repeaterDataId){const repeater=wpcf7cf.getRepeaterObj($form,repeaterDataId);repeater.updateSubs(repeater.params.$repeater.num_subs-1)},repeaterSetNumberOfSubs($form,repeaterDataId,numberOfSubs){const repeater=wpcf7cf.getRepeaterObj($form,repeaterDataId);repeater.updateSubs(numberOfSubs)},multistepMoveToStep($form,step){const multistep=wpcf7cf.getMultiStepObj($form);multistep.moveToStep(step)},async multistepMoveToStepWithValidation($form,step){const multistep=wpcf7cf.getMultiStepObj($form);const result=await multistep.validateStep(multistep.currentStep);if(result==='success'){multistep.moveToStep(step)}},};jQuery('.wpcf7-form').each(function(){wpcf7cf_forms.push(new Wpcf7cfForm(jQuery(this)))});jQuery('document').ready(function(){wpcf7cf_forms.forEach(function(f){f.displayFields()})});const old_wpcf7ExclusiveCheckbox=jQuery.fn.wpcf7ExclusiveCheckbox;jQuery.fn.wpcf7ExclusiveCheckbox=function(){return this.find('input:checkbox').on('click',function(){const name=jQuery(this).attr('name');jQuery(this).closest('form').find('input:checkbox[name="'+name+'"]').not(this).prop('checked',!1).eq(0).change()})};} catch(e){console.error("WP-Optimize Minify: An error has occurred in the minified code. \n\n- Original script: https://staplerschein-oesterreich.at/wp-content/plugins/cf7-conditional-fields/js/scripts.js\n- Error message: "+ e.message);} try{ !function(e){window.BorlabsCookie=function(){"use strict";var o,t,n="data-cookie-accordion",i="data-cookie-accordion-parent",a="data-cookie-accordion-status",c="data-cookie-accordion-target",s="#BorlabsCookieBox input[type='checkbox']",r="#BorlabsCookieBox",l="#BorlabsCookieBoxWrap",d="data-borlabs-cookie-group",u="#BorlabsCookieBox input[type='checkbox'][name='cookieGroup[]']",b="data-cookie-accept",h="data-cookie-accept-all",k="data-cookie-back",p="data-cookie-individual",f="data-cookie-refuse",v="data-borlabs-cookie-preference",g=".borlabs-cookie-preference",m="data-borlabs-cookie-switch",x="._brlbs-btn-switch-status",y="data-borlabs-cookie-unblock",C="data-borlabs-cookie-type",w="data-borlabs-cookie-id",L="data-borlabs-script-blocker-id",_="data-borlabs-script-blocker-js-handle",B="input[type='checkbox'][name='unblockAll']",O="data-borlabs-cookie-uid",S="data-borlabs-cookie-consent-history",j=".BorlabsCookie",I={},T={},D={},A={},E={scriptBlockerId:{},jsHandle:{}},U=!1,P={consents:{},expires:null,uid:null,version:null},H={consentSaved:null,codeUnblocked:null,codeUnblockedAfterConsent:null};function N(e,o){if(o){var t=o.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),n=Array.from(t).filter((function(e){return 0!==e.offsetHeight})),i=n[0],a=n[n.length-1];("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===i&&(e.preventDefault(),a.focus()):document.activeElement===a&&(e.preventDefault(),i.focus()))}}function R(e){e.addEventListener("keydown",(function(o){return N(o,e)}),!0)}function G(e){e.removeEventListener("keydown",(function(o){return N(o,e)}),!0)}function J(){e(r).attr("aria-modal",!1)}var M=function(){e(l).length&&"SCRIPT"===e(l)[0].tagName&&e(l).after(e(l).html()),e(document).on("click","["+b+"]",(function(e){e.preventDefault(),Y(),q()})),e(document).on("click","["+h+"]",(function(e){e.preventDefault(),K()})),e(document).on("click","["+k+"]",(function(e){e.preventDefault(),W()})),e(document).on("click","["+p+"]",(function(e){e.preventDefault(),$()})),e(document).on("click","["+f+"]",(function(o){o.preventDefault();var t=[];e(u+":checked").each((function(){-1===t.indexOf(this.value)&&(e(this).trigger("click"),t.push(this.value))})),Y(),q()})),F(),Q(),Z(),!0===ee()?(re(),le(),de(),document.dispatchEvent(H.codeUnblocked),J()):o.showCookieBox?0===o.hideCookieBoxOnPages.length||-1===o.hideCookieBoxOnPages.indexOf(window.location.protocol+"//"+window.location.host+window.location.pathname)?o.cookiesForBots&&/bot|googlebot|crawler|spider|robot|crawling|lighthouse/i.test(navigator.userAgent.toLowerCase())?(te(o.cookies,!1),re(),le(),de(),J(),document.dispatchEvent(H.codeUnblocked)):o.respectDoNotTrack&&void 0!==navigator.doNotTrack&&"1"===navigator.doNotTrack?(te({essential:o.cookies.essential},!1),re(),le(),de(),J(),document.dispatchEvent(H.codeUnblocked)):z(!0):(re(),le(),de(),J(),document.dispatchEvent(H.codeUnblocked)):J()},z=function(t){e(r).attr("aria-modal",!0),e("body").addClass("borlabs-position-fix"),R(document.querySelector(".cookie-box")),void 0===t&&(t=!1);var n=e(u),i=null;return Object.keys(P.consents).length?(e("["+d+"]").each((function(){-1===Object.keys(P.consents).indexOf(this.dataset.borlabsCookieGroup)&&e(this).addClass("borlabs-hide")})),n.length&&"1"===o.boxLayoutAdvanced&&n.each((function(){i=this.value,"string"==typeof this.dataset.borlabsCookieCheckbox&&("object"==typeof P.consents[i]?e(this).prop("checked",!0):e(this).prop("checked",!1))}))):n.length&&n.each((function(){i=this.value,"1"===o.boxLayoutAdvanced&&"1"===o.ignorePreSelectStatus&&!1===U&&"essential"!==i&&(e(this).prop("checked",!1),e(s+"[name='cookies["+i+"][]']").prop("checked",!1).trigger("change"))})),o.blockContent?(e(r+" > div").addClass("_brlbs-block-content"),o.animation?(e(r+" > div").addClass("_brlbs-bg-animation"),setTimeout((function(){e(r+" > div").addClass("_brlbs-bg-dark")}),25)):e(r+" > div").addClass("_brlbs-bg-dark")):e("._brlbs-"+o.boxLayout+"-wrap").addClass("_brlbs-position-fixed"),e(r+" > div").css("display",""),e(r+" > div").addClass("show-cookie-box"),o.animation&&e(r+" ._brlbs-"+o.boxLayout).addClass("animated "+o.animationIn+(t&&o.animationDelay?" delay-1s":"")),e("#CookieBoxSaveButton")[0].focus(),!0},q=function(){return J(),G(document.querySelector(".cookie-box")),o.animation&&(e(r+" ._brlbs-"+o.boxLayout).removeClass("delay-1s "),e(r+" ._brlbs-"+o.boxLayout).removeClass(o.animationIn),e(r+" ._brlbs-"+o.boxLayout).addClass(o.animationOut)),e(r+" > div").addClass("borlabs-hide"),o.blockContent?e(r+" > div").removeClass("_brlbs-bg-dark"):e("._brlbs-"+o.boxLayout+"-wrap").addClass("_brlbs-position-fixed"),setTimeout((function(){e("._brlbs-"+o.boxLayout+"-wrap").removeAttr("style"),e("._brlbs-"+o.boxLayout+" .cookie-box .container").removeAttr("style"),e("._brlbs-"+o.boxLayout+" .cookie-preference .container").removeAttr("style"),o.animation&&(e("._brlbs-"+o.boxLayout).removeClass("animated"),e("._brlbs-"+o.boxLayout).removeClass("delay-1s"),e("._brlbs-"+o.boxLayout).removeClass(o.animationIn),e("._brlbs-"+o.boxLayout).removeClass(o.animationOut)),e(r+" > div").removeClass("show-cookie-box"),o.blockContent&&e(r+" > div").removeClass("_brlbs-block-content")}),o.animation?1e3:0),e("body").removeClass("borlabs-position-fix"),!0},$=function(){G(document.querySelector(".cookie-box")),R(document.querySelector(".cookie-preference"));var t=e(u),n=null;t.length&&t.each((function(){n=this.value,Object.keys(P.consents).length?!1===U&&(void 0!==P.consents[n]?(e(this).prop("checked",!0),e(this).trigger("change"),e(s+"[name='cookies["+n+"][]']").each((function(){-1!==P.consents[n].indexOf(this.value)?e(this).prop("checked",!0):e(this).prop("checked",!1),e(this).trigger("change")}))):(e(this).prop("checked",!1),e(this).trigger("change"),e(s+"[name='cookies["+n+"][]']").prop("checked",!1).trigger("change"))):("1"===o.ignorePreSelectStatus&&!1===U&&(e(this).prop("checked",!1),e(r+" ["+d+"='"+this.value+"']").addClass("borlabs-hide")),e(this).trigger("change"),e(s+"[name='cookies["+n+"][]']").each((function(){"1"===o.ignorePreSelectStatus&&!1===U&&e(this).prop("checked",!1),e(this).trigger("change")})))})),e("._brlbs-"+o.boxLayout+" .cookie-box .container").animate({height:0,opacity:0},(function(){e("._brlbs-"+o.boxLayout+" .cookie-box").attr("aria-hidden",!0),e("._brlbs-"+o.boxLayout+" .cookie-preference").attr("aria-hidden",!1),e("#CookiePrefSave")[0].focus(),e("._brlbs-"+o.boxLayout+"-wrap").animate({width:"100vw",maxWidth:"box"===o.boxLayout?"768px":"100%"},"box"===o.boxLayout?400:0,(function(){var t=e("._brlbs-"+o.boxLayout+" .cookie-preference .container")[0].scrollHeight;e("._brlbs-"+o.boxLayout+" .cookie-preference .container").animate({height:"80vh",maxHeight:t,opacity:1})}))}))},W=function(){G(document.querySelector(".cookie-preference")),e("._brlbs-"+o.boxLayout+" .cookie-preference .container").animate({height:0,opacity:0},(function(){e("._brlbs-"+o.boxLayout+" .cookie-box").attr("aria-hidden",!1),e("._brlbs-"+o.boxLayout+" .cookie-preference").attr("aria-hidden",!0),e("._brlbs-"+o.boxLayout+"-wrap").animate({maxWidth:"box"===o.boxLayout?"375px":"100%"},"box"===o.boxLayout?400:0,(function(){var t=e("._brlbs-"+o.boxLayout+" .cookie-box .container")[0].scrollHeight+"px";e("._brlbs-"+o.boxLayout+" .cookie-box .container").animate({height:t,opacity:1})})),e("#CookieBoxSaveButton")[0].focus()}))},V=function(t){return void 0!==t&&t.preventDefault(),e("._brlbs-"+o.boxLayout+" .cookie-preference .container a["+k+"]").css("display","none"),e("._brlbs-"+o.boxLayout+" .cookie-preference .container a["+k+"] + span._brlbs-separator").css("display","none"),e("._brlbs-"+o.boxLayout+" .cookie-box .container").css("height",0),e("._brlbs-"+o.boxLayout+" .cookie-box .container").css("opacity",0),e("._brlbs-"+o.boxLayout+"-wrap").css({width:"100vw",maxWidth:"box"===o.boxLayout?"768px":"100%"}),z(!1),setTimeout((function(){$()}),500),!0},F=function(){e("["+n+"]").on("click","["+c+"]",(function(){var o=e(this).closest("["+n+"]");o.find("["+i+"]:visible").length&&(o.find("["+a+"='hide']").addClass("borlabs-hide"),o.find("["+a+"='show']").removeClass("borlabs-hide"),o.find("["+i+"]:visible").slideUp()),o.find("["+i+"='"+this.dataset.cookieAccordionTarget+"']:hidden").length&&(e(this).children("["+a+"='show']").addClass("borlabs-hide"),e(this).children("["+a+"='hide']").removeClass("borlabs-hide"),o.find("["+i+"='"+this.dataset.cookieAccordionTarget+"']").slideDown())}))},K=function(){var o=e(u),t=null;o.length&&o.each((function(){t=this.value,e(this).prop("checked",!0),e(this).trigger("change"),e(s+"[name='cookies["+t+"][]']").each((function(){e(this).prop("checked",!0),e(this).trigger("change")}))})),Y(),q()},Q=function(){e(document).on("click",u,(function(){U=!0,this.checked?(e(s+"[name='cookies["+this.value+"][]']").prop("checked",!0).trigger("change"),e(u+"[value='"+this.value+"']").prop("checked",!0),e(r+" ["+d+"='"+this.value+"']").length&&e(r+" ["+d+"='"+this.value+"']").removeClass("borlabs-hide")):(e(s+"[name='cookies["+this.value+"][]']").prop("checked",!1).trigger("change"),e(u+"[value='"+this.value+"']").prop("checked",!1),e(r+" ["+d+"='"+this.value+"']").length&&e(r+" ["+d+"='"+this.value+"']").addClass("borlabs-hide"))}))},Z=function(){e(document).on("click",s+"[name^='cookies']",(function(){U=!0,this.checked&&(e(u+"[value='"+this.dataset.cookieGroup+"']").prop("checked",!0).trigger("change"),e(r+" ["+d+"='"+this.dataset.cookieGroup+"']").length&&e(r+" ["+d+"='"+this.dataset.cookieGroup+"']").removeClass("borlabs-hide"))}))},X=function(){!0===this.checked?(e(this).parent().parent().children(x).children().last().css("display","none"),e(this).parent().parent().children(x).children().first().css("display","inline-block")):(e(this).parent().parent().children(x).children().first().css("display","none"),e(this).parent().parent().children(x).children().last().css("display","inline-block"))},Y=function(){var t={essential:o.cookies.essential},n=e(u+":checked"),i=e(s+"[name^='cookies']:checked");if(n.length&&(n.each((function(){this.value.length&&new RegExp(/^[a-z-_]{3,}$/).test(this.value)&&"essential"!==this.value&&(t[this.value]=[])})),i.length&&i.each((function(){this.value.length&&"string"==typeof this.dataset.cookieGroup&&new RegExp(/^[a-z-_]{3,}$/).test(this.value)&&new RegExp(/^[a-z-_]{3,}$/).test(this.dataset.cookieGroup)&&t[this.dataset.cookieGroup].push(this.value)}))),Object.keys(P.consents).length)for(var a in P.consents)if(void 0!==t[a])for(var c in P.consents[a])-1===t[a].indexOf(P.consents[a][c])&&ue(a,P.consents[a][c]);else if(void 0!==I[a])for(var r in I[a])ue(a,r);te(t,!1),"1"!==o.reloadAfterConsent&&(re(),le(),de(),document.dispatchEvent(H.codeUnblockedAfterConsent),document.dispatchEvent(H.codeUnblocked))},ee=function(){var e=!1;return"string"==typeof P.version&&(P.version===o.cookieVersion?e=!0:P.consents={}),e},oe=function(){if(document.cookie.length)for(var e=document.cookie.split(";"),t=0;t0&&location.reload(!0)}))},ge=function(){e.ajax(o.ajaxURL,{type:"POST",data:{action:"borlabs_cookie_handler",type:"consent_history",language:o.language,uid:P.uid}}).done((function(o){(o=e.parseJSON(o)).length&&e.each(o,(function(o,t){e("["+S+"] table").append(""+t.stamp+""+t.version+""+t.consent+"")}))}))},me=function(){if(o.crossDomainCookie.length)for(var t in o.crossDomainCookie){var n=o.crossDomainCookie[t];e("body").append('')}},xe=function(){e(j+" [name^='borlabsCookie']").each((function(){ce(this.value)?this.checked=!0:this.checked=!1,e(this).trigger("change")})),e(document).on("change",j+" [name^='borlabsCookie']",(function(){this.checked?ie(this.dataset.cookieGroup,this.value):ae(this.dataset.cookieGroup,this.value)}))},ye=function(){if(Object.keys(I).length)for(var e in I)if(Object.keys(I[e]).length)for(var o in I[e])if(void 0!==I[e][o].settings&&void 0!==I[e][o].settings.blockCookiesBeforeConsent&&"1"===I[e][o].settings.blockCookiesBeforeConsent&&void 0!==I[e][o].cookieNameList&&!1===ce(o))for(var t in I[e][o].cookieNameList)ne(t,null,-1!==t.indexOf("*")),ne(t,"",-1!==t.indexOf("*"))};return{addConsent:ie,allocateScriptBlockerToContentBlocker:function(e,o,t){"scriptBlockerId"!==t&&"jsHandle"!==t||(void 0===A[e]&&(A[e]={scriptBlockerId:[],jsHandle:[]}),-1===A[e][t].indexOf(o)&&A[e][t].push(o))},callWhenLoaded:function(e,o){var t=function(){!0===window.hasOwnProperty(e)?o(o):window.setTimeout(t,1e3)};t()},checkCookieConsent:ce,checkCookieGroupConsent:function(e){var o=!1;return void 0!==P.consents[e]&&(o=!0),o},deleteCookie:ne,getCookie:oe,hideCookieBox:q,init:function(n,i,a,c){return"about:blank"!==window.location.href&&(o=e.extend({ajaxURL:"",language:"en",animation:"1",animationDelay:"",animationIn:"fadeIn",animationOut:"fadeOut",blockContent:"",boxLayout:"box",boxLayoutAdvanced:"0",automaticCookieDomainAndPath:"",cookieDomain:"",cookiePath:"",cookieLifetime:"365",crossDomainCookie:[],cookieBeforeConsent:"",cookiesForBots:"1",cookieVersion:"1",hideCookieBoxOnPages:[],respectDoNotTrack:"",reloadAfterConsent:"",showCookieBox:"1",cookieBoxIntegration:"javascript",ignorePreSelectStatus:"1",cookies:[]},n),t=c,I=i,T=a,H.consentSaved=document.createEvent("Event"),H.consentSaved.initEvent("borlabs-cookie-consent-saved",!0,!0),H.codeUnblocked=document.createEvent("Event"),H.codeUnblocked.initEvent("borlabs-cookie-code-unblocked",!0,!0),H.codeUnblockedAfterConsent=document.createEvent("Event"),H.codeUnblockedAfterConsent.initEvent("borlabs-cookie-code-unblocked-after-consent",!0,!0),oe(),ye(),null===P.uid&&(P.uid=se()),o.cookieBeforeConsent&&"function"==typeof Object&&(void 0===Object.entries&&(Object.entries=function(e){for(var o=Object.keys(e),t=o.length,n=new Array(t);t--;)n[t]=[o[t],e[o[t]]];return n}),0===Object.entries(P.consents).length&&ve()),M(),e(document).on("click","["+y+"]",be),e(document).on("click","["+v+"]",V),e(document).on("click",g,V),e(document).on("change","["+m+"]",X),e(document).on("keydown",(function(o){9===o.keyCode&&e(j).addClass("_brlbs-keyboard")})),e(document).on("mousedown",(function(o){e(j).is(":visible")&&e(j).removeClass("_brlbs-keyboard")})),e("body").on("focus",j+"._brlbs-keyboard input[type='checkbox']",(function(o){var t=e(o.currentTarget).closest("label");t&&e(t).addClass("_brlbs-focused")})),e(j).on("blur","input[type='checkbox']",(function(o){var t=e(o.currentTarget).closest("label");t&&e(t).removeClass("_brlbs-focused")})),e("["+S+"]").length&&ge(),xe(),e("["+O+"]").length&&e("["+O+"]").each((function(){e(this).html(P.uid)})),!0)},initConsentHistoryTable:ge,initSwitchConsentButtonStatus:xe,openCookiePreference:V,removeConsent:ae,showCookieBox:z,unblockContentId:function(o){e("["+C+"='content-blocker']["+w+"='"+o+"']").each((function(){he(e(this).parents(".BorlabsCookie"))}))},unblockScriptBlockerId:function(o){var t="["+L+"='"+o+"']";return e(t).length&&(E.scriptBlockerId[o]=e(t).length,ke(t,o,"scriptBlockerId")),!0},unblockScriptBlockerJSHandle:function(o){var t="["+_+"='"+o+"']";return e(t).length&&(E.jsHandle[o]=e(t).length,ke(t,o,"jsHandle")),!0}}}()}(jQuery); } catch(e){console.error("WP-Optimize Minify: An error has occurred in the minified code. \n\n- Original script: https://staplerschein-oesterreich.at/wp-content/plugins/borlabs-cookie/javascript/borlabs-cookie.min.js\n- Error message: "+ e.message);} try{ document.addEventListener("DOMContentLoaded", function (e){ var borlabsCookieContentBlocker={"facebook": {"id": "facebook","global": function (contentBlockerData){ },"init": function (el, contentBlockerData){ if(typeof FB==="object"){ FB.XFBML.parse(el.parentElement); }},"settings": {"executeGlobalCodeBeforeUnblocking":false}},"default": {"id": "default","global": function (contentBlockerData){ },"init": function (el, contentBlockerData){ },"settings": {"executeGlobalCodeBeforeUnblocking":false}},"googlemaps": {"id": "googlemaps","global": function (contentBlockerData){ },"init": function (el, contentBlockerData){ },"settings": {"executeGlobalCodeBeforeUnblocking":false}},"instagram": {"id": "instagram","global": function (contentBlockerData){ },"init": function (el, contentBlockerData){ if(typeof instgrm==="object"){ instgrm.Embeds.process(); }},"settings": {"executeGlobalCodeBeforeUnblocking":false}},"openstreetmap": {"id": "openstreetmap","global": function (contentBlockerData){ },"init": function (el, contentBlockerData){ },"settings": {"executeGlobalCodeBeforeUnblocking":false}},"twitter": {"id": "twitter","global": function (contentBlockerData){ },"init": function (el, contentBlockerData){ },"settings": {"executeGlobalCodeBeforeUnblocking":false}},"vimeo": {"id": "vimeo","global": function (contentBlockerData){ },"init": function (el, contentBlockerData){ },"settings": {"executeGlobalCodeBeforeUnblocking":false,"saveThumbnails":false,"autoplay":false,"videoWrapper":false}},"youtube": {"id": "youtube","global": function (contentBlockerData){ },"init": function (el, contentBlockerData){ },"settings": {"executeGlobalCodeBeforeUnblocking":false,"changeURLToNoCookie":true,"saveThumbnails":false,"autoplay":false,"thumbnailQuality":"maxresdefault","videoWrapper":false}}}; var BorlabsCookieInitCheck=function (){ if(typeof window.BorlabsCookie==="object"&&typeof window.jQuery==="function"){ if(typeof borlabsCookiePrioritized!=="object"){ borlabsCookiePrioritized={ optInJS: {}};} window.BorlabsCookie.init(borlabsCookieConfig, borlabsCookieCookies, borlabsCookieContentBlocker, borlabsCookiePrioritized.optInJS); }else{ window.setTimeout(BorlabsCookieInitCheck, 50); }}; BorlabsCookieInitCheck();}); } catch(e){console.error("WP-Optimize Minify: An error has occurred in the minified code. \n\n- Original script: https://staplerschein-oesterreich.at/wp-content/plugins/borlabs-cookie/javascript/borlabs-cookie.min.js - AFTER\n- Error message: "+ e.message);};