1var rbuild="production",basepath,trfilename,translation;(e=>{let t=new Map,i=1e5,n=0,o=0;function r(e){this.isCloseable?(this.isCloseable,"cancel"!==e.type&&"Escape"!==e.code||this.hide()):e.preventDefault()}function a(e,i){if(e.animSource){let n,o;e.animEl||(e.animEl=document.createElement("div"),e.animEl.classList.add("rg-dialog__animation"),e.animEl.addEventListener("transitionend",function(e){this.animEl&&(this.dialog.classList.remove("rg-dialog--show-animated"),this.animEl.style.display="none","close"===this.animEl.dataset.mode)&&(this.destroyOnClose?(this.dialog.close(),t.delete(this.dialog),this.dialog.parentElement&&document.body.removeChild(this.dialog)):this.dialog.close())}.bind(e)),document.body.append(e.animEl)),e.animEl.dataset.mode=i?"close":"open",e.animEl.style.display="",e.animEl.classList.add("rg-dialog--notransition"),o=(!0===i?(n=e.animSource.getBoundingClientRect(),e.dialog):(n=e.dialog.getBoundingClientRect(),e.animSource)).getBoundingClientRect(),s(e,o),e.dialog.classList.add("rg-dialog--show-animated"),setTimeout(function(){e.animEl.classList.remove("rg-dialog--notransition"),s(e,n)}.bind(e),0)}else i&&(e.destroyOnClose?(t.delete(e.dialog),e.dialog.close(),e.dialog.parentElement&&document.body.removeChild(e.dialog)):e.dialog.close())}function s(e,t){e.animEl.style.height=t.height+"px",e.animEl.style.width=t.width+"px",e.animEl.style.top=t.top+"px",e.animEl.style.left=t.left+"px"}function l(e){e.dialog.style.height="",e.dialog.style.width="",e.dialog.style.left="",e.dialog.style.right="",e.dialog.style.top="",e.dialog.style.bottom="",e.headerElement.removeEventListener("mousedown",c.bind(e),{passive:!0}),e.headerElement.removeEventListener("touchstart",c.bind(e),{passive:!0})}function c(e){this.boundingClientRect=this.dialog.getBoundingClientRect(),n=e.clientX||e.touches[0].clientX,o=e.clientY||e.touches[0].clientY,this.headerElement.onmouseup=d.bind(this),this.headerElement.ontouchend=d.bind(this),document.onmousemove=u.bind(this),document.ontouchmove=u.bind(this)}function d(){this.headerElement.onmouseup=null,this.headerElement.ontouchend=null,document.onmousemove=null,document.ontouchmove=null,this.boundingClientRect=this.dialog.getBoundingClientRect()}function u(e){var t,i,r;this.isSidebar||(t=e.clientX||(e.touches?e.touches[0].clientX:0),e=e.clientY||(e.touches?e.touches[0].clientY:0),i=n-t,r=o-e,i=this.dialog.offsetLeft-i,r=this.dialog.offsetTop-r,n=t,o=e,this.dialog.style.top=r+"px",this.dialog.style.left=i+"px",this.boundingClientRect=this.dialog.getBoundingClientRect())}function h(e){t.forEach(function(t,i){i.msgBox===e?(t.active=!0,i.msgBox.headerElement.classList.remove("inactive")):(t.active=!1,i.msgBox.headerElement.classList.add("inactive"))}.bind(this))}e.MessageBox=class{static getDialog=function(e){let i=null;return t.forEach(function(t,n){n.msgBox.id===e&&(i=n)}),i};static getMessageBox=function(e){let i=null;return t.forEach(function(t,n){n.msgBox.id===e&&(i=n.msgBox)}),i};static getActiveDialog=function(){let e=null;return t.forEach(function(t,i){t.active&&(e=i)}),e};static getActiveMessagebox=function(){let e=null;return t.forEach(function(t,i){t.active&&(e=i.msgBox)}),e};constructor({id:e=null,title:r="",msg:a="",buttons:s=null,fn:l=null,animEl:c=null,width:d=null,modal:u=!0,closeable:m=!0,sidebar:g=!1,fullscreen:p=!1,resizeable:f=!1,destroyOnClose:b=!0,addDialogCssClass:y=null,useExistingDialog:v=null,appendMessageText:E=null,fallbackMode:x=!1,floatingHeader:w=!1,inlineCloseButton:k=!1,autoShow:S=!1}={}){i++,this.id=e||"dialog "+(t.size+1),this.isModal=!1,this.isCloseable=!0,this.isSidebar=!1,this.isFullscreen=!1,this.destroyOnClose=!0,this.buttons=new Map,this.timer=null,this.animEl=null,this.animSource=null,n=null,o=null,this.dialogZIndex=i,this.boundingClientRect=null,this.isResizeable=!1,this.progressBars=new Map,v instanceof HTMLDialogElement?(this.dialog=v).getAttribute("id")&&(this.id=v.getAttribute("id")):(this.dialog=document.createElement("dialog"),this.dialog.innerHTML='\n <div class="rg-dialog__container">\n <div class="rg-dialog__header">\n <div class="rg-dialog__title"></div>\n <button class="rg-dialog__close" type="button" data-close aria-label="Close"></button>\n </div>\n <div class="rg-dialog__body"></div>\n <div class="rg-dialog__buttons"></div>\n </div>',w&&this.dialog.classList.add("rg-dialog--floating-header"),k&&this.dialog.classList.add("rg-dialog--inline-close-button"),document.body.append(this.dialog),v instanceof HTMLElement&&(e=this.dialog.querySelector(".rg-dialog__body"))&&e.append(v)),t.has(this.dialog)||(t.set(this.dialog,{modal:u,id:this.id,active:!0}
1),(this.dialog.msgBox=this).dialog.getMessageBox=function(){return this.msgBox}),this.dialog.classList.add("rg-dialog"),x?(this.dialog.classList.add("rg-fallback"),this.dialog.classList.add("x-dlg"),this.dialog.id="x-msg-box"):this.dialog.classList.remove("rg-fallback"),this.dialog.style.zIndex=String(this.dialogZIndex),this.dialog.addEventListener("focus",this.toFront.bind(this)),this.closeModal=this.dialog.querySelectorAll("[data-close]"),this.closeModal.forEach(function(e){x?e.classList.add("x-dlg-close"):e.classList.remove("x-dlg-close"),e.addEventListener("click",function(e){this.hide()}.bind(this))}.bind(this)),this.headerElement=this.dialog.querySelector(".rg-dialog__header"),x&&this.headerElement.classList.add("x-dlg-hd"),this.titleElement=this.dialog.querySelector(".rg-dialog__title"),this.contentElement=this.dialog.querySelector(".rg-dialog__body"),this.buttonElement=this.dialog.querySelector(".rg-dialog__buttons"),this.destroyOnClose=b,y&&this.dialog.classList.add(y),v instanceof HTMLDialogElement?(!0===E&&this.setContent(a,!0),this.setButtons(s).handleButtons(l)):(this.setTitle(r).setButtons(s).handleButtons(l),v instanceof HTMLElement&&!0===E?this.setContent(a,!0):this.setContent(a),k&&this.headerElement.querySelector("button")?.insertAdjacentHTML("afterbegin",'<svg width="100%" height="100%" viewBox="3 3 9 9" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule= "evenodd" d= "M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z" fill="currentColor" />\n </svg>')),this.setCloseable(m).setSidebar(g).setFullscreen(p).setWidth(d).setModal(u).setResizeable(f).setAnimTarget(c),h(this),S&&this.show(!0)}show(e=!0){var t;return document.dispatchEvent(new CustomEvent("rgdialog:beforeShow",{detail:{el:this},bubbles:!0,cancelable:!0}))&&(this.dialog.open&&this.dialog.close(),this.isFullscreen&&this.dialog.classList.add("rg-dialog--fullscreen"),this.isSidebar&&this.dialog.classList.add("rg-dialog--sidebar"),this.animSource&&this.dialog.classList.add("rg-dialog--show-animated"),this.isResizeable?this.dialog.classList.add("rg-dialog--resizeable"):this.dialog.classList.remove("rg-dialog--resizeable"),this.isModal&&(t=window.innerWidth-document.body.clientWidth+"px",document.querySelector("html").style.overflowY="hidden",document.body.style.overflowY="hidden",document.body.style.paddingRight=t),this.closeModal.forEach(function(e){e.style.display=this.isCloseable?"":"none"}.bind(this)),this.isModal?this.dialog.showModal():this.dialog.show(),this.boundingClientRect=this.dialog.getBoundingClientRect(),!this.isSidebar&&e&&this.center(),this.toFront(),a(this)),this}toFront(){i>this.dialogZIndex&&(i++,this.dialogZIndex=i,this.dialog.style.zIndex=String(this.dialogZIndex),this.headerElement.classList.add("active"),h(this))}hide(){if(document.dispatchEvent(new CustomEvent("rgdialog:beforeHide",{detail:{el:this},bubbles:!0,cancelable:!0})))return document.querySelector("html").style.overflowY="",document.body.style.overflowY="",a(this,!(document.body.style.paddingRight="")),this}destroy(){t.delete(this.dialog),document.body.removeChild(this.dialog)}setModal(e=!1){return e=Boolean(e),this.isModal=e,this}setSidebar(e=!1){return"string"==typeof e?(this.dialog.className=this.dialog.className.replace(/rg-dialog--sidebar-(.+)?/g,""),this.dialog.classList.add("rg-dialog--sidebar-"+e),e=!0):this.dialog.className=this.dialog.className.replace(/rg-dialog--sidebar-(.+)?/g,""),e=Boolean(e),this.isSidebar=e,this.headerElement&&(this.isSidebar?l(this):(this.headerElement.addEventListener("mousedown",c.bind(this),{passive:!0}),this.headerElement.addEventListener("touchstart",c.bind(this),{passive:!0}))),this}setFullscreen(e=!1){return e=Boolean(e),this.isFullscreen=e,this.headerElement&&(this.isFullscreen?l(this):(this.headerElement.addEventListener("mousedown",c.bind(this),{passive:!0}),this.headerElement.addEventListener("touchstart",c.bind(this),{passive:!0}))),this}setResizeable(e=!1){return this.isResizeable=e,this.isResizeable?this.dialog.classList.add("rg-dialog--resizeable"):(this.dialog.classList.remove("rg-dialog--resizeable"),this.dialog.style.height=""),this}setCloseable(e=!0){return this.isCloseable=e,this.isModal?(this.dialog.addEventListener("cancel",r.bind(this)),this.dialog.removeEventListener("keydown",r.bind(this))):(this.dialog.addEventListener("keydown",r.bind(this)),this.dialog.removeEventListener("cancel",r.bind(this))),this}setTitle(e=""){return this.titleElement&&(this.titleElement.innerHTML=e),this}setContent(e="",t=!1){return this.contentElement&&(e instanceof HTMLElement?t?this.contentElement.innerHTML+=e.innerHTML:this.contentElement.innerHTML=e.innerHTML:t?this.contentElement.innerHTML+=e:this.contentElement.innerHTML=e),this}setWidth(e){return Number(e)===e&&(e=String(e)+"px"),this.dialog.style.width=e,this}setHeight(e){return Number(e)===e&&(e=String(e)+"px"),this.dialog.style.height=e,this}setButtons(e){if(this.buttonElement){if(!1===e)return this;e&&isObject(e)&&(e=Object.entries(e).map(([e,t])=>({[e]:t}))),Array.isArray(e)||(e=[{ok:"OK"}]),this.buttons.forEach(function(e,t){this.buttonElement.removeChild(e),this.buttons.delete(t)}.bind(this)),e.forEach(function(t,i){var n=document.createElement("button");t=Object.keys(t)[0],i=e[i][t];this.buttons.get(t)||(n.type="button",n.classList.add("btn","x-btn"),isObject(i)?(n.innerHTML=i.text||t,i.cssClass&&n.classList.add(i.cssClass),isFunction(i.callback)&&n.addEventListener("pointerdown",i.callback.bind(n,t)),!isUndefined(i.closeDlg)&&!0!==i.closeDlg||n.addEventListener("click",function(){this.hide()}.bind(this))):isString(i)&&(n.innerHTML=i,n.addEventListener("click",function(){this.hide()}.bind(this))),this.buttonElement.append(n),this.buttons.set(t,n))}.bind(this))}return this}setAnimTarget(e){return this.animSource=e,this}center(){return this.boundingClientRect=this.dialog.getBoundingClientRect(),this.isFullscreen||(this.dialog.style.left=Math.floor(window.innerWidth/2-this.boundingClientRect.width/2)+"px",this.dialog.style.top=Math.floor(window.innerHeight/2-this.boundingClientRect.height/2)+"px",this.boundingClientRect=this.dialog.getBoundingClientRect()),this}updateProgress({progressID:e=null,progress:t,title:i="",msg:n=""}){let o=this.progressBars.get(e);o||((o=document.createElement("div")).classList.add("rg-dialog__progress"),o.innerHTML='<div class="rg-dialog__progresscontainer"><div class="rg-dialog__progressbar"></div><div class="rg-dialog__progressbartext"></div></div><div class="rg-dialog__progresstext"></div>',this.progressBars.set(e,o),this.contentElement.insertAdjacentElement("afterend",o));e=o.querySelector(".rg-dialog__progresstext");var r=o.querySelector(".rg-dialog__progressbar"),a=o.querySelector(".rg-dialog__progressbartext");return e.innerHTML=n,isUndefined(t)?(r.classList.add("unknown"),r.style.width="100%",a.innerHTML=""):(r.classList.remove("unknown"),r.style.width=String(Number(t))+"%",a.innerHTML=String(Number(t))+"%"),this.setTitle(i),this.isModal?this.dialog.showModal():this.dialog.show(),this}
1removeProgress(){return this.progressBars.forEach(e=>e.remove()),this.progressBars.clear(),this}addTimer(e,t){var i;return this.dialog.querySelector(".timerElement")||((i=this.dialog.insertAdjacentElement("beforeend",document.createElement("div"))).classList.add("timerElement"),i.style.animationDuration=e+"s",isFunction(t)&&(this.timer=setTimeout(t,1e3*e))),this}removeTimer(){return this.dialog.querySelectorAll(".timerElement").forEach(e=>{e.remove()}),clearTimeout(this.timer),this}setFormHandler(e,t){if("function"==typeof e){var i=this.dialog.querySelector("form");if(i){let n=i.cloneNode(!0);i.parentNode.replaceChild(n,i),n.onsubmit=null,n.addEventListener("submit",function(t){t.preventDefault(),e.call(n,t,this)}.bind(this)),"function"==typeof t&&t(n,this)}}return this}handleButtons(e){return isFunction(e)&&this.buttons.forEach((t,i)=>{t.addEventListener("click",e.bind(t,i))}),this}}})(window),(()=>{let e;recon.apply(recon,{MessageBox:{show:function(t="",i="",n=null,o=!1,r,a=!0,s=400,l=null,c=null){let d={};return isObject(t)?d=t:(d.title=t,d.msg=i,d.buttons=n,d.modal=o,d.closeable=a,d.width=s,d.fn=l,d.animEl=c,d.sidebar=!1,d.fallbackMode=!1,d.resizeable=!1),d.cls&&(d.addDialogCssClass=d.cls),d.destroyOnClose=!1,e&&e.dialog.parentElement||(e=new MessageBox(d)),d.fallbackMode?(e.dialog.classList.add("x-dlg"),e.headerElement.classList.add("x-dlg-hd"),e.dialog.id="x-msg-box"):(e.dialog.classList.remove("x-dlg"),e.headerElement.classList.remove("x-dlg-hd"),e.dialog.removeAttribute("id")),d.resizeable?e.dialog.classList.add("rg-dialog--resizeable"):e.dialog.classList.remove("rg-dialog--resizeable"),e.setTitle(d.title).setContent(d.msg).setButtons(d.buttons).setModal(d.modal).handleButtons(d.fn).setCloseable(d.closeable).setResizeable(d.resizeable).setSidebar(d.sidebar).setWidth(d.width).setAnimTarget(d.animEl),e.show(),e},hide:function(){e&&e.hide()},isVisible:function(){return e&&e.dialog.open},confirm:function(e,t,i){this.show({title:e,msg:t,buttons:{ok:"Ok",cancel:"Abbrechen"},modal:!0,fn:i})},removeProgress:function(){e&&e.removeProgress()},updateProgress:function({progressID:t=null,progress:i,title:n="",msg:o="",modal:r=!0,closeable:a=!0}){(e=e||this.show({title:n,msg:"",buttons:{},modal:r,closeable:a})).updateProgress({progressID:t,progress:i,title:n,msg:o,closeable:a})}},Dom:{mask:function(e,t,i){if(e){let i;return"static"!==e.style.position&&""!==e.style.position||(e.style.position="relative"),e._mask?(i=e._mask.querySelector(".mask-message"),e._mask.classList.remove("hidden"),i.innerHTML=t?`<div>${t}</div>`:""):(e._mask=document.createElement("div"),e._mask.classList.add("masked-element"),(i=document.createElement("div")).classList.add("mask-message"),e._mask.append(i),t&&(i.innerHTML=`<div>${t}</div>`),e.appendChild(e._mask)),e._mask}},unmask:function(e,t){e&&e._mask&&(!0===t?(e._mask.remove(),delete e._mask):e._mask.classList.add("hidden"))},isVisible:function(e){if(!(e instanceof Element))throw Error("DomUtil: elem is not an element.");var t=getComputedStyle(e);if(!("none"===t.display||"visible"!==t.visibility||t.opacity<.1||e.offsetWidth+e.offsetHeight+e.getBoundingClientRect().height+e.getBoundingClientRect().width===0||(t={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2}).x<0||t.x>(document.documentElement.clientWidth||window.innerWidth)||t.y<0||t.y>(document.documentElement.clientHeight||window.innerHeight))){let i=document.elementFromPoint(t.x,t.y);for(;i;){if(i===e)return!0;i=i.parentNode}}return!1}},Ajax:{request:function({url:e="",method:t="GET",mode:i="cors",headers:n={},data:o={},params:r="",success:a,form:s,failure:l}){(async()=>{var a,l,c={"X-Requested-With":"XMLHttpRequest"};for([a,l]of Object.entries(n))c[a]=l;if(t=t.toUpperCase(),s&&(o=new FormData(s)),isObject(r))for(var[d,u]of(o=new FormData,Object.entries(r)))o.append(d,u);else""!==r&&(o=new FormData,r.split("&").forEach(e=>{e=e.split("="),o.append(e[0],e[1])}));var h={method:t,mode:i,cache:"no-cache",credentials:"same-origin",redirect:"follow",referrerPolicy:"no-referrer",body:"HEAD"===t||"GET"===t?null:o instanceof FormData?o:JSON.stringify(o),headers:c};
1h=new Request(e,h);if((h=await fetch(h)).ok)return h.text();throw new Error("Network error")})().then(e=>{isFunction(a)&&a({responseText:e})}).catch(e=>{console.error("Error:",e),isFunction(l)&&l(e)})}},getKeyCode:function(e){let t;return null!=e.code?t=e.code:void 0!==e.key?t=e.key:void 0!==e.keyCode&&(t=e.keyCode),t},getViewMode:function(){let e=getComputedStyle(document.documentElement).getPropertyValue("--viewmode");if(""===e)switch(screen.availWidth){case screen.availWidth<=768:e="mobile";break;case screen.availWidth<=1024:e="tablet";break;default:e="desktop"}return e}}),recon.Msg=recon.MessageBox})(),"undefined"!=typeof Ext&&(Ext.BLANK_IMAGE_URL=basepath+"_/pics/spacer.gif"),recon.apply(Function.prototype,{executeBefore:function(e,t){if("function"!=typeof e)return this;let i=this;return function(){e.target=this,e.method=i;var n=e.apply(t||this||window,arguments);if(n){let e=arguments;n.each(function(t,i){e[i]=t}),arguments.length=n.length}return i.apply(this||window,arguments)}}}),Array.prototype._reverse||(Array.prototype._reverse=Array.prototype.reverse),recon.applyIf(Array.prototype,{each:function(e,t,i){let n=0,o=this.length;for(;n<o;n++)e.call(t||window,this[n],n,i)},clear:function(){return this.length=0,this},collect:function(e){let t=[];return this.each(function(i,n){t.push(e(i,n))}),t},first:function(){return this[0]},last:function(){return this[this.length-1]},compact:function(){return this.select(function(e){return void 0!==e||!0})},flatten:function(){return this.inject([],function(e,t){return e.concat(t&&t.constructor===Array?t.flatten():[t])})},without:function(e){return this.filter(t=>t!==e)},clone:function(){return[].concat(this)},inspect:function(){return"["+this.map(Object.inspect).join(", ")+"]"},findAll:function(e){let t=[];return this.each(function(i,n){e(i,n)&&t.push(i)}),t},uniq:function(){let e;var t=[],i=[];for(e=0;e<this.length;e++)void 0===t[this[e]]&&(t[this[e]]=!0,i[i.length]=this[e]);var n=[];for(e=0;e<i.length;e++)n[n.length]=i[e];return n},shuffle:function(){let e,t,i=this.length;for(;i;e=parseInt(String(Math.random()*i)),t=this[--i],this[i]=this[e],this[e]=t);},inject:function(e,t){return this.each(function(i,n){e=t(e,i,n)}),e},filterMatching:function(e){let t,i,n=new RegExp(e),o=[],r=this.length,a=this.clone(),s=0;for(t=0;t<r;t+=1)i=a[t],isString(i)&&i.match(n)&&(o.push(i),this.splice(t-s,1),s++);return o}}),recon.applyIf(Array.prototype,{select:Array.prototype.findAll,member:Array.prototype.includes}),recon.apply(String.prototype,{hashCode:function(){return Math.abs(this.split("").reduce(function(e,t){return(e=(e<<5)-e+t.charCodeAt(0))&e},0))},toUUID:function(){let e=this.hashCode();return e=Math.floor(e/16),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t,i){return i=(i+e/1e4*16)%16|0,("x"===t?i:3&i|8).toString(16)})},ellipse:function(e){return this.length>e?this.substr(0,e-3)+"...":this},gsub:function(e,t){let i,n="",o=this;for(;0<o.length;)i=o.match(e),o=i?(n=(n+=o.slice(0,i.index))+(t(i)||"").toString(),o.slice(i.index+i[0].length)):(n+=o,"");return n},sub:function(e,t,i){return t=this.gsub.prepareReplacement(t),i=void 0===i?1:i,this.gsub(e,function(e){return--i<0?e[0]:t(e)})},scan:function(e,t){return this.gsub(e,t),this},truncate:function(e,t){return t=void 0===t?"...":t,this.length>(e=e||30)?this.slice(0,e-t.length)+t:this},strip:function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,"")},stripScripts:function(){return this.replace(new RegExp(ScriptFragment,"img"),"")},extractScripts:function(){var e=new RegExp(ScriptFragment,"img");let t=new RegExp(ScriptFragment,"im");return(this.match(e)||[]).map(function(e){return(e.match(t)||["",""])[1]})},evalScripts:function(){return this.extractScripts().map(function(script){let data,fn;try{fn=new Function(script.trim()),data=fn()}catch(ex){try{fn=new Function(script.match(/return/)?script.trim():"return "+script.trim()),data=fn()}catch(ex){try{eval("("+script+")")}catch(e){}}}return data})},escapeHTML:function(){var e=document.createElement("div"),t=document.createTextNode(this);return e.appendChild(t),e.innerHTML},unescapeHTML:function(){var e=document.createElement("div");return e.innerHTML=this.stripTags(),e.childNodes[0]?e.childNodes[0].nodeValue:""},toQueryParams:function(){var e=this.strip().match(/[^?]*$/)[0];return e?e.split("&").inject({},function(e,t){return t=t.split("="),e[decodeURIComponent(t[0])]=t[1]?decodeURIComponent(t[1]):"",e}):{}},deparam:function(){var e=/^\d+$/,t=/([^\[\]]+)|(\[])/g,i=/\+/g;if(!/([^?#]*)(#.*)?$/.test(this))return{};let n,o,r={},a=this.split("&");for(let u=0;u<a.length;u++){o=r;let h=a[u].split("=");2!==h.length&&(h=[h[0],h.slice(1).join("=")]);var s=decodeURIComponent(h[0].replace(i," ")),l=decodeURIComponent(h[1].replace(i," ")),c=s.match(t);for(let t=0;t<c.length-1;t++){var d=c[t];o[d]||(o[d]=e.test(c[t+1])||"[]"===c[t+1]?[]:{}),o=o[d]}"[]"===(n=c[c.length-1])?o.push(l):o[n]=l}return r},toDirName:function(){let e=this;
1return funcClean(e=(e=(e=(e=(e=(e=e.toLowerCase()).trim()).replace(/\s\s+/gi,"-")).replace(/\s+-\s+/gi,"-")).replace(/_/gi,"-")).replace(/\s/gi,"-"),"dir")},toArray:function(){return this.split("")},camelize:function(){var e=this.split("-");if(1===e.length)return e[0];let t=0===this.indexOf("-")?e[0].charAt(0).toUpperCase()+e[0].substring(1):e[0],i=1,n=e.length;for(;i<n;i++){var o=e[i];t+=o.charAt(0).toUpperCase()+o.substring(1)}return t},inspect:function(e){var t=this.replace(/\\/g,"\\\\");return e?'"'+t.replace(/"/g,'\\"')+'"':"'"+t.replace(/'/g,"\\'")+"'"},findAny:function(e){if(!isArray(e))return!1;let t=!1;return e.each(function(e){e=new RegExp(e),this.match(e)&&(t=!0)}.createDelegate(this)),t},ucFirst:function(){return this.charAt(0).toUpperCase()+this.slice(1)}});let Template=function(e){let t=/(^|.|\r|\n)(#\{(.*?)\})/;return{template:e||"",pattern:"",initialize:function(e,i){this.template=e.toString(),this.pattern=i||t},evaluate:function(e){return this.template.gsub(this.pattern,function(t){var i=t[1];return"\\"===i?t[2]:i+String.interpret(e[t[3]])})}}},encode_utf8=(String.prototype.gsub.prepareReplacement=function(e){if("function"==typeof e)return e;let t=new Template(e);return function(e){return t.evaluate(e)}},String.prototype.parseQuery=String.prototype.toQueryParams,"selectedOptions"in HTMLSelectElement.prototype||Object.defineProperty(HTMLSelectElement.prototype,"selectedOptions",{get:function(){return this.querySelectorAll("option:checked")}}),function(e){e=e.replace(/\r\n/g,"\n");let t="";for(let n=0;n<e.length;n++){var i=e.charCodeAt(n);i<128?t+=String.fromCharCode(i):t=127<i&&i<2048?(t+=String.fromCharCode(i>>6|192))+String.fromCharCode(63&i|128):(t=(t+=String.fromCharCode(i>>12|224))+String.fromCharCode(i>>6&63|128))+String.fromCharCode(63&i|128)}return t}),decode_utf8=function(e){let t,i,n="",o=0,r=0;for(;o<e.length;)(t=e.charCodeAt(o))<128?(n+=String.fromCharCode(t),o++):191<t&&t<224?(r=e.charCodeAt(o+1),n+=String.fromCharCode((31&t)<<6|63&r),o+=2):(r=e.charCodeAt(o+1),i=e.charCodeAt(o+2),n+=String.fromCharCode((15&t)<<12|(63&r)<<6|63&i),o+=3);return n},utf8e=function(e){var t=e+"";let i,n,o="";var r;i=n=0,r=t.length;for(let e=0;e<r;e++){var a=t.charCodeAt(e);let r=null;a<128?n++:r=127<a&&a<2048?String.fromCharCode(a>>6|192)+String.fromCharCode(63&a|128):String.fromCharCode(a>>12|224)+String.fromCharCode(a>>6&63|128)+String.fromCharCode(63&a|128),null!==r&&(n>i&&(o+=t.substring(i,n)),o+=r,i=n=e+1)}return n>i&&(o+=t.substring(i,t.length)),o},foreach=function(e,t){if(isArray(e))e.each(t);else if(isObject(e))for(var i in e)void 0!==i&&e.hasOwnProperty(i)&&t(e[i],i)},print_r=function(e){function t(e,t){let i="";for(let n=0;n<e;n++)i+=t;return i}return function e(i,n,o,r){0<n&&n++;var a=t(o*n,r);let s=t(o*(n+1),r),l="";return isArray(i)||isObject(i)?(l+="Array\n"+a+"(\n",foreach(i,function(t,i){isArray(t)?l+=s+"["+i+"] => "+e(t,n+1,o,r):isObject(t)?l+=s+"["+i+"] => "+print_r(t)+"\n":isString(t)&&(l+=s+"["+i+"] => "+t+"\n")}),l+=a+")\n"):l=null==i?"":i.toString(),l}(e,0,4," ")},get_html_translation_table=function(e,t){var i={},n={};let o=0;var r={},a={};e=isNaN(e)?e?e.toUpperCase():"HTML_SPECIALCHARS":r[e],t=isNaN(t)?t?t.toUpperCase():"ENT_COMPAT":a[t];if(r[0]="HTML_SPECIALCHARS",r[1]="HTML_ENTITIES",a[0]="ENT_NOQUOTES",a[2]="ENT_COMPAT",a[3]="ENT_QUOTES","HTML_SPECIALCHARS"!==e&&"HTML_ENTITIES"!==e)throw new Error("Table: "+e+" not supported");for(o in i[38]="&","HTML_ENTITIES"===e&&(i[160]=" ",i[161]="¡",i[162]="¢",i[163]="£",i[164]="¤",i[165]="¥",i[166]="¦",i[167]="§",i[168]="¨",i[169]="©",i[170]="ª",i[171]="«",i[172]="¬",i[173]="­",i[174]="®",i[175]="¯",i[176]="°",i[177]="±",i[178]="²",i[179]="³",i[180]="´",i[181]="µ",i[182]="¶",i[183]="·",i[184]="¸",i[185]="¹",i[186]="º",i[187]="»",i[188]="¼",i[189]="½",i[190]="¾",i[191]="¿",i[192]="À",i[193]="Á",i[194]="Â",i[195]="Ã",i[196]="Ä",i[197]="Å
1",i[198]="Æ",i[199]="Ç",i[200]="È",i[201]="É",i[202]="Ê",i[203]="Ë",i[204]="Ì",i[205]="Í",i[206]="Î",i[207]="Ï",i[208]="Ð",i[209]="Ñ",i[210]="Ò",i[211]="Ó",i[212]="Ô",i[213]="Õ",i[214]="Ö",i[215]="×",i[216]="Ø",i[217]="Ù",i[218]="Ú",i[219]="Û",i[220]="Ü",i[221]="Ý",i[222]="Þ",i[223]="ß",i[224]="à",i[225]="á",i[226]="â",i[227]="ã",i[228]="ä",i[229]="å",i[230]="æ",i[231]="ç",i[232]="è",i[233]="é",i[234]="ê",i[235]="ë",i[236]="ì",i[237]="í",i[238]="î",i[239]="ï",i[240]="ð",i[241]="ñ",i[242]="ò",i[243]="ó",i[244]="ô",i[245]="õ",i[246]="ö",i[247]="÷",i[248]="ø",i[249]="ù",i[250]="ú",i[251]="û",i[252]="ü",i[253]="ý",i[254]="þ",i[255]="ÿ"),"ENT_NOQUOTES"!==t&&(i[34]="""),"ENT_QUOTES"===t&&(i[39]="'"),i[60]="<",i[62]=">",i)n[String.fromCharCode(o)]=i[o];return n},html_entity_decode=function(e,t){let i,n={},o="",r="";if(r=e.toString(),!1===(n=get_html_translation_table("HTML_ENTITIES",t)))return!1;for(o in delete n["&"],n["&"]="&",n)i=n[o],r=r.split(i).join(o);return(e=(r=r.split("'").join("'")).match(/&\#\d+;/g))&&e.each(function(e){var t=e.replace(/&\#/,"").replace(/;/,"");r=r.replace(e,String.fromCharCode(t))}),r},htmlentities=function(e,t,i,n){let o=get_html_translation_table("HTML_ENTITIES",t),r="";if(e=null===e?"":e+"",!o)return!1;if(t&&"ENT_QUOTES"===t&&(o["'"]="'"),n||null===n)for(r in o)o.hasOwnProperty(r)&&(e=e.split(r).join(o[r]));else e=e.replace(/([\s\S]*?)(&(?:#\d+|#x[\da-f]+|[a-zA-Z][\da-z]*);|$)/g,function(e,t,i){for(r in o)o.hasOwnProperty(r)&&(t=t.split(r).join(o[r]));return t+i});return e},getUniqueID=function(){return(new Date).getTime()+""+Math.floor(8999*Math.random()+1e3)},apply=function(e,t){if(e&&t&&"object"==typeof t)for(var i in t)e[i]=t[i];return e},openWin=function(e,t){var i={};recon.apply(i,t||{},{name:"popupwin",width:1024,height:768,scrollbars:1,resizable:1,left:0,top:0,toolbar:0,menubar:0}),t="menubar="+i.menubar+",toolbar="+i.toolbar+",left="+i.left+",top="+i.top+",width="+i.width+",height="+i.height+",scrollbars="+i.scrollbars+",resizable="+i.resizable;return window.open(e,i.name,t)},owin=openWin,setCookie=function(e,t,i,n,o,r,a,s){let l=i||"never",c=n||basepath;i=o||!1,n=isUndefined(r)?"https:"===document.location.protocol:r,o=!!s,isString(l)&&"never"===l&&(r=(l=new Date).getTime()+63072e7,l.setTime(r)),isString(l)&&"session"===l?(l=0,c="/"):l=!!l&&l.toGMTString(),document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+(l?"; expires="+l:"")+(c?"; path="+c.replace(basepath,"/"):"")+(i?"; domain="+i:"")+(n?"; secure":"")+(o?"; sameSite=Strict;":"")},clearCookie=function(e){setCookie(e,"cookieValue",new Date((new Date).getTime()-864e5))},getCookie=function(e){let t="";return document.cookie.split(";").each(function(i){i=i.split("="),e&&i[0].trim()===e&&(t=i[1].trim())}),t},setLocalStorage=function(e,t){try{localStorage.setItem(e,t)}catch(i){setCookie(e,t)}},getLocalStorage=function(e){let t="";try{null===(t=localStorage.getItem(e))&&(t="")}catch(i){t=getCookie(e)}return t},removeLocalStorage=function(e){try{localStorage.removeItem(e)}catch(t){clearCookie(e)}},decode=function(e,t){let i,n=!1,o=e;isObject(e)&&e.responseText&&(o=e.responseText);try{return o=JSON.parse(o),n=!0,o}catch(e){try{i=new Function(o.trim()),o=i(),n=!0}catch(e){try{i=new Function("return "+o.trim()),o=i(),n=!0}catch(e){var r;o=!0===t?(r=o.extractScripts().last(),decode(r)):o.evalScripts(),n=!0}}}finally{n||console.log(o)}return!(!isObject(o)&&!n)&&o};function funcClean(e,t){if(!isString(e))return"";e=(e=(e=(e=(e=(e=(e=(e="url"===(t=t||"fil")?e.replace(/\s/g,"_"):e).replace(/ü/g,"ue")).replace(/ö/g,"oe")).replace(/ä/g,"ae")).replace(/Ã/g,"Ue")).replace(/Ã/g,"Oe")).replace(/Ã/g,"Ae")).replace(/Ã/g,"ss"),"sml"===t&&(e=e.toLowerCase()),"eml"===t&&(e=e.toLowerCase()),"dir"===t&&(e=e.toLowerCase()),"big"===t&&(e=e.toUpperCase()),"f
1il"===t&&(e=(e=(e=e.replace(/\/.*\//g,"")).replace(/\.\./g,".")).replace(/\s/g,"_"));var i=new RegExp("["+{num:"0123456789",dbl:"0123456789.",idscsv:"0123456789,",numspecial:"0123456789+-,.~",sml:"abcdefghijklmnopqrstuvwxyz",big:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",ltr:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ -/",eml:"0123456789abcdefghijklmnopqrstuvwxyz._",fil:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._-",url:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-.",path:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-",anm:"@0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_ ",email:"@0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._-",input:".*0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZÃÃÃäöüÃ_-[] ",dir:"0123456789abcdefghijklmnopqrstuvwxyz-_",alnum:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"}[t].replace("-","")+"]");let n="";for(let t=0;t<e.length;t++)e.substr(t,1).match(i)&&(n+=e.substr(t,1));return n}function serialize(e){function t(e){let t,i=typeof e;if("object"===i&&!e)return"null";if("object"===i){if(!e.constructor)return"object";let r=e.constructor.toString();(t=r.match(/(\w+)\(/))&&(r=t[1].toLowerCase());var n,o=["boolean","number","string","array"];for(n in o)if(r===o[n]){i=o[n];break}}return i}var i,n=t(e);let o="";switch(n){case"function":o="";break;case"undefined":o="N";break;case"boolean":o="b:"+(e?"1":"0");break;case"number":o=(Math.round(e)===e?"i":"d")+":"+e;break;case"string":o="s:"+encodeURIComponent(e).replace(/%../g,"x").length+':"'+e+'"';break;case"array":case"object":o="a";let n=0,r="";for(i in e)"function"!==t(e[i])&&(r+=serialize(i.match(/^[0-9]+$/)?parseInt(i,10):i)+serialize(e[i]),n++);o+=":"+n+":{"+r+"}"}return"object"!==n&&"array"!==n&&(o+=";"),o}function unserialize(e){function t(e,t,n){var o=[];let r=e.slice(t,t+1),a=2;for(;r!==n;)a+t>e.length&&i("Error","Invalid"),o.push(r),r=e.slice(t+(a-1),t+a),a+=1;return[o.length,o.join("")]}let i=function(e,t,i,n){throw new this.window[e](t,i,n)};return function e(n,o){let r,a="",s=0;var l,c,d=n.slice(o=o||0,o+1).toLowerCase();let u=o+2,h=new Function("x","return x");switch(d){case"i":h=function(e){return parseInt(e,10)},r=t(n,u,";"),s=r[0],a=r[1],u+=s+1;break;case"b":h=function(e){return 1===parseInt(e,10)},r=t(n,u,";"),s=r[0],a=r[1],u+=s+1;break;case"d":h=function(e){return parseFloat(e)},r=t(n,u,";"),s=r[0],a=r[1],u+=s+1;break;case"n":a=null;break;case"s":s=(l=t(n,u,":"))[0],l=l[1],u+=s+2,r=((e,t,i)=>{var n=[];for(let r=0;r<i;r++){var o=e.slice(t+(r-1),t+r);n.push(o)}return[n.length,n.join("")]})(n,u+1,parseInt(l,10)),s=r[0],a=r[1],u+=s+2,s!==parseInt(l,10)&&s!==a.length&&i("SyntaxError","String length mismatch");break;case"a":a={},s=(l=t(n,u,":"))[0],c=l[1],u+=s+2;for(let t=0;t<parseInt(c,10);t++){var m=(g=e(n,u))[1],g=g[2];m=(u+=m,e(n,u));u+=m[1],a[g]=m[2]}u+=1;break;default:i("SyntaxError","Unknown / Unhandled data type(s): "+d)}return[d,u-o,h(a)]}(e,0)[2]}let ord=function(e){var t=(e=e+"").charCodeAt(0);return 55296<=t&&t<=56319&&1!==e.length?1024*(t-55296)+(e.charCodeAt(1)-56320)+65536:t},chr=function(e){return 65535<e?(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e))):String.fromCharCode(e)},base64_decode=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let i,n,o,r,a,s,l=0,c=0;var d=[];if(!e)return e;for(e+="";i=(s=t.indexOf(e.charAt(l++))<<18|t.indexOf(e.charAt(l++))<<12|(r=t.indexOf(e.charAt(l++)))<<6|(a=t.indexOf(e.charAt(l++))))>>16&255,n=s>>8&255,o=255&s,d[c++]=64===r?String.fromCharCode(i):64===a?String.fromCharCode(i,n):String.fromCharCode(i,n,o),l<e.length;);return d.join("")},base64_encode=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let i,n,o,r,a=0,s=0,l="";var c=[];if(!e)return e;for(;i=(r=e.charCodeAt(a++)<<16|e.charCodeAt(a++)<<8|e.charCodeAt(a++))>>12&63,n=r>>6&63,o=63&r,c[s++]=t.charAt(r>>18&63)+t.charAt(i)+t.charAt(n)+t.charAt(o),a<e.length;);l=c.join("");var d=e.length%3;return(d?l.slice(0,d-3):l)+"===".slice(d||3)},utf8_decode=function(e){var t=[];let i,n,o=0,r=0,a=0;for(e+="";o<e.length;)(i=e.charCodeAt(o))<128?(t[r++]=String.fromCharCode(i),o++):191<i&&i<224?(a=e.charCodeAt(o+1),t[r++]=String.fromCharCode((31&i)<<6|63&a),o+=2):(a=e.charCodeAt(o+1),n=e.charCodeAt(o+2),t[r++]=String.fromCharCode((1
15&i)<<12|(63&a)<<6|63&n),o+=3);return t.join("")},utf8_encode=function(e){if(null==e)return"";var t=e+"";let i,n,o,r="";i=n=0,o=t.length;for(let e=0;e<o;e++){var a=t.charCodeAt(e);let o=null;a<128?n++:o=127<a&&a<2048?String.fromCharCode(a>>6|192,63&a|128):String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128),null!==o&&(n>i&&(r+=t.slice(i,n)),r+=o,i=n=e+1)}return n>i&&(r+=t.slice(i,o)),r},Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){let t,i,n,o,r,a,s,l="",c=0;for(;c<e.length;)t=ord(e.substr(c++,1)),i=ord(e.substr(c++,1)),n=ord(e.substr(c++,1)),o=t>>2,r=(3&t)<<4|i>>4,a=(15&i)<<2|n>>6,s=63&n,isNaN(i)?a=s=64:isNaN(n)&&(s=64),l=l+Base64._keyStr.charAt(o)+Base64._keyStr.charAt(r)+Base64._keyStr.charAt(a)+Base64._keyStr.charAt(s);return l},decode:function(e){let t="";var i,n,o,r,a,s;let l=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");l<e.length;)o=Base64._keyStr.indexOf(e.charAt(l++)),i=(15&(r=Base64._keyStr.indexOf(e.charAt(l++))))<<4|(a=Base64._keyStr.indexOf(e.charAt(l++)))>>2,n=(3&a)<<6|(s=Base64._keyStr.indexOf(e.charAt(l++))),t+=String.fromCharCode(o<<2|r>>4),64!==a&&(t+=String.fromCharCode(i)),64!==s&&(t+=String.fromCharCode(n));return Base64._utf8_decode(t)},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");let t="";for(let n=0;n<e.length;n++){var i=e.charCodeAt(n);i<128?t+=String.fromCharCode(i):t=127<i&&i<2048?(t+=String.fromCharCode(i>>6|192))+String.fromCharCode(63&i|128):(t=(t+=String.fromCharCode(i>>12|224))+String.fromCharCode(i>>6&63|128))+String.fromCharCode(63&i|128)}return t},_utf8_decode:function(e){let t="",i=0;var n;let o,r=0;for(;i<e.length;)(n=e.charCodeAt(i))<128?(t+=String.fromCharCode(n),i++):191<n&&n<224?(r=e.charCodeAt(i+1),t+=String.fromCharCode((31&n)<<6|63&r),i+=2):(r=e.charCodeAt(i+1),o=e.charCodeAt(i+2),t+=String.fromCharCode((15&n)<<12|(63&r)<<6|63&o),i+=3);return t}},b64d=Base64.decode,b64e=Base64.encode,utd=Base64._utf8_decode,swapNodes=function(e,t){var i,n;e.swapNode?e.swapNode(t):(i=t.parentNode,(n=t.nextSibling)===e?i.insertBefore(e,t):t===e.nextSibling?i.insertBefore(t,e):(e.parentNode.replaceChild(t,e),i.insertBefore(e,n)))},setCursor=function(e,t,i){e.setSelectionRange?(e.focus(),e.setSelectionRange(t,i)):e.createTextRange&&((e=e.createTextRange()).collapse(!0),e.moveEnd("character",i),e.moveStart("character",t),e.select())},round=function(e,t,i){var n,o,r;if(t|=0,o=(e*=t=Math.pow(10,t))%1==.5*(r=0<e|-(e<0)),n=Math.floor(e),o)switch(i){case"PHP_ROUND_HALF_DOWN":e=n+(r<0);break;case"PHP_ROUND_HALF_EVEN":e=n+n%2*r;break;case"PHP_ROUND_HALF_ODD":e=n+!(n%2);break;default:e=n+(0<r)}return(o?e:Math.round(e))/t},stripslashes=function(e){return(e+"").replace(/\\(.?)/g,function(e,t){switch(t){case"\\":return"\\";case"0":return"\0";case"":return"";default:return t}})},switchFields=function(e){e=e||"enable";for(let n=0;n<this.elements.length;n++){var t=this.elements[n];if(isFunction(t.getAttribute)||isObject(t.getAttribute))switch(e){case"enable":t.setAttribute("mode",t.getAttribute("disabled")?"disabled":"enabled"),t.removeAttribute("disabled");break;case"reset":var i=t.getAttribute("mode");i&&"disabled"===i&&t.setAttribute("disabled","disabled")}}return!0},_encrypt=function(e,t){let i=[];for(let r=0;r<e.length;r++){var n=e.substr(r,1),o=r%t.length==0?t.substr(t.length-1,1):t.substr(r%t.length-1,1);n=chr(ord(n)+ord(o));i.push(n)}return Base64.encode(i.join(""))},_decrypt=function(e,t){let i="";var n=base64_decode(e);for(let e=0;e<n.length;e++){var o=n.substr(e,1),r=e%t.length==0?t.substr(t.length-1,1):t.substr(e%t.length-1,1);i+=o=chr(ord(o)-ord(r))}return i},loadJQueryPlugin=(window.mtdc=_decrypt,window.sfcc=function(e){let t="";return e.forEach(e=>{t+=String.fromCharCode(e)}),t},function(e,t){var i;"undefined"==typeof jQuery?LazyLoad.js([basepath+"_/scripts/extensionsmin/jquery/jquery.js"],function(){var i;isArray(e)?(i=e.filterMatching(".css$"),LazyLoad.js(e,t),i.length&&LazyLoad.css(i)):LazyLoad.js(e,t)}):(isArray(e)&&(i=e.filterMatching(".css$")).length&&LazyLoad.css(i),LazyLoad.js(e,t))});if("undefined"!=typeof Ext){if(Ext.ComponentMgr=(()=>{let e=new Ext.util.MixedCollection;return{register:function(t){e.add(t)},unregister:function(t){e.remove(t)},get:function(t){return e.get(t)},onAvailable:function(t,i,n){e.on("add",function(o,r){r.id===t&&(i.call(n||r,r),e.un("add",i,n))})},garbageCollect:function(){for(var[t,i]of Object.entries(e.map))i.el&&i.el.dom&&!i.el.dom.closest("html")&&(i=e.keys.indexOf(t),delete e.map[t],e.items.splice(i,1),e.keys.splice(i,1))},getAll:function(){return e}}}
1)(),Ext.Toolbar&&Ext.apply(Ext.Toolbar.prototype,{getButton:function(e){return isNumeric(e)?this.items.items[e]:this.items.items.find(t=>t.id&&t.id===e)},hasButton:function(e){return!!this.items.items.find(t=>t.id&&t.id===e)},replaceButton:function(e,t){let i;for(var[n,o]of(t.id||(t.id=Ext.id()),isString(e)&&(e=this.getButton(e)),Object.entries(this.items.items)))o===e&&(i=this.insertButton(n,t),o.destroy(),this.items.items.splice(n+1,1),this.items.keys.splice(n+1,1),delete this.items.map[e.id],Ext.ComponentMgr.unregister(e));return i},removeButton:function(e){for(var[t,i]of(isString(e)&&(e=this.getButton(e)),Object.entries(this.items.items)))i===e&&(i.destroy(),this.items.items.splice(t+1,1),this.items.keys.splice(t+1,1),delete this.items.map[e.id],Ext.ComponentMgr.unregister(e))}}),Ext.grid&&(Ext.grid.TableGrid=function(e,t){let i=(t=t||{}).fields||[],n=t.columns||[];var o=(e=Ext.get(e)).insertSibling();let r=[],a=[];var s=e.query("thead th");let l=0;s.each(function(e){var t=e.innerHTML,o="tcol-"+l;r.push(Ext.applyIf(i[l]||{},{name:o,mapping:"td:nth("+(l+1)+")/@innerHTML"})),a.push(Ext.applyIf(n[l]||{},{header:t,dataIndex:o,width:e.offsetWidth,tooltip:e.title,sortable:0})),l++});var c=((s=new Ext.data.Store({reader:new Ext.data.XmlReader({record:"tbody tr"},r)})).loadData(e.dom),new Ext.grid.ColumnModel(a));(t.width||t.height)&&o.setSize(t.width||"auto",t.height||"auto"),!1!==t.remove&&e.remove(),Ext.grid.TableGrid.superclass.constructor.call(this,o,Ext.applyIf(t,{ds:s,cm:c,sm:new Ext.grid.RowSelectionModel,autoHeight:!1,autoWidth:!0,enableColLock:!1}))},Ext.extend(Ext.grid.TableGrid,Ext.grid.Grid)),Ext.Element.prototype.setDisplayed&&(Ext.Element.prototype.setDisplayed=Ext.Element.prototype.setDisplayed.createSequence(function(e){var t;this.isVisible()&&this.dom.loadOnShow&&this.dom.loadTgt&&!this.dom.isLoaded&&(t=Ext.getDom(this.dom.loadTgt))&&(t.src=this.dom.loadOnShow,this.dom.isLoaded=!0)})),Ext.Element.prototype.setOpacity&&(Ext.Element.prototype.setOpacity=function(e,t){return t&&Ext.lib.Anim?this.anim({opacity:{to:e}},this.preanim(arguments,1),null,.35,"easeIn"):(t=this.dom.style,Ext.isIE7||Ext.isIE8?(t.zoom=1,t.filter=(t.filter||"").replace(/alpha\([^\)]*\)/gi,"")+(1===e?"":"alpha(opacity="+100*e+")")):t.opacity=e),this}),Ext.Msg&&Ext.Msg.show){let e=function(e){if(recon.isMobile&&!0===recon.fe&&!0===recon.fixDialogPosition){var t=window.innerWidth||Ext.lib.Dom.getViewportWidth();let n=window.innerHeight||Ext.lib.Dom.getViewportHeight();navigator.userAgent.match(/iphone os 7_0/i)&&(n-=20);var i=Ext.get(e.id);e.resizeTo(t,n),i.dom.style.position="fixed",i.dom.style.top="0px",i.dom.style.left="0px",e.body.select("div.scroll").setStyle("height",n-100+"px")}else t=document.documentElement.scrollTop,e.xy[1]<0?e.moveTo(e.xy[0],0):t>e.xy[1]?Ext.get(e.id).dom.style.position="static":t<=e.xy[1]&&(Ext.get(e.id).dom.style.position="fixed"),i=Ext.lib.Dom.getViewportHeight(),t=Ext.lib.Dom.getViewportWidth(),e.size.height>i&&(e.size.height=i,e.body.down("div").setStyle("overflow-y","auto").setStyle("height",i-100+"px")),e.size.width>t&&(e.size.width=t),e.resizeTo(e.size.width,e.size.height),e.center()};Ext.Msg.show=Ext.Msg.show.createSequence(function(){let t=Ext.Msg.getDialog();t.mask&&t.el.setStyle("zIndex",String(Number(t.mask.getStyle("zIndex"))+1)),e(t),isFunction(window.matchMedia)&&window.matchMedia("screen and (orientation: portrait)").addListener(function(i){e.defer(100,t,[t]),recon.fireEvent("orientationChange",[i])})})}Ext.form.HtmlEditor&&Ext.form.HtmlEditor.prototype.pushValue&&(Ext.form.HtmlEditor.prototype.pushValue=Ext.form.HtmlEditor.prototype.pushValue.createInterceptor(function(){return!(this.initialized&&this.el.dom.value.length<1)}),Ext.form.HtmlEditor.prototype.onRender=Ext.form.HtmlEditor.prototype.onRender=function(e,t){Ext.form.HtmlEditor.superclass.onRender.call(this,e,t),this.el.dom.style.border="0 none",this.el.dom.setAttribute("tabIndex",-1),this.el.addClass("x-hidden"),Ext.isIE&&this.el.applyStyles("margin-top:-1px;margin-bottom:-1px;"),this.wrap=this.el.wrap({cls:"x-html-editor-wrap",cn:{cls:"x-html-editor-tb"}}),this.createToolbar(this),this.tb.items.each(function(e){"sourceedit"!==e.id&&e.disable()}),(e=document.createElement("iframe")).name=Ext.id(),e.frameBorder="no",this.wrap.dom.appendChild(e),this.iframe=e;let i=null,n={run:function(){Ext.isIE?(this.doc=this.iframe.contentWindow.document,this.win=this.iframe.contentWindow):(this.doc=this.iframe.contentDocument||window.frames[this.iframe.name].document,this.win=window.frames[this.iframe.name]),!this.doc.body&&"complete"!==this.doc.readyState||(this.doc.designMode="on",this.doc.open(),this.doc.write(this.getDocMarkup()),this.doc.close(),this.doc.designMode="on",this.doc.body.style.overflowX="hidden",Ext.TaskMgr.stop(i),this.initEditor.defer(100,this))}.createDelegate(this),interval:10,duration:1e4,scope:this};i=n,Ext.TaskMgr.start(n),this.width||this.setSize(this.el.getSize())}
1),Ext.Shadow&&(Ext.Shadow.prototype.show=Ext.Shadow.prototype.show.createSequence(function(e){"undefined"!=typeof Modernizr&&Modernizr.boxshadow&&(this.hide(),e.setStyle("box-shadow","2px 2px 5px #888"))})),Ext.form.DateField&&(Ext.form.DateField.prototype.onTriggerClick=Ext.form.DateField.prototype.onTriggerClick.createSequence(function(){if("d.m.Y H:i"===this.format&&this.menu&&!this.timeField){this.menu.picker.el.child("td.x-date-bottom").dom.style.textAlign="left",this.timeField=[Ext.DomHelper.insertFirst(this.menu.picker.el.child("td.x-date-bottom"),{tag:"div",style:"width:50px; float:right;",children:[{tag:"select",id:"hours",children:[{tag:"option",value:"00",html:"00"},{tag:"option",value:"01",html:"01"},{tag:"option",value:"02",html:"02"},{tag:"option",value:"03",html:"03"},{tag:"option",value:"04",html:"04"},{tag:"option",value:"05",html:"05"},{tag:"option",value:"06",html:"06"},{tag:"option",value:"07",html:"07"},{tag:"option",value:"08",html:"08"},{tag:"option",value:"09",html:"09"},{tag:"option",value:"10",html:"10"},{tag:"option",value:"11",html:"11"},{tag:"option",value:"12",html:"12"},{tag:"option",value:"13",html:"13"},{tag:"option",value:"14",html:"14"},{tag:"option",value:"15",html:"15"},{tag:"option",value:"16",html:"16"},{tag:"option",value:"17",html:"17"},{tag:"option",value:"18",html:"18"},{tag:"option",value:"19",html:"19"},{tag:"option",value:"20",html:"20"},{tag:"option",value:"21",html:"21"},{tag:"option",value:"22",html:"22"},{tag:"option",value:"23",html:"23"}]}]}),Ext.DomHelper.insertFirst(this.menu.picker.el.child("td.x-date-bottom"),{tag:"div",style:"width:50px; float:right;",children:[{tag:"select",id:"minutes",children:[{tag:"option",value:"00",html:"00"},{tag:"option",value:"05",html:"05"},{tag:"option",value:"10",html:"10"},{tag:"option",value:"15",html:"15"},{tag:"option",value:"20",html:"20"},{tag:"option",value:"25",html:"25"},{tag:"option",value:"30",html:"30"},{tag:"option",value:"35",html:"35"},{tag:"option",value:"40",html:"40"},{tag:"option",value:"45",html:"45"},{tag:"option",value:"50",html:"50"},{tag:"option",value:"55",html:"55"}]}]})];var e=this.getValue();if(isDate(e)){let n;var t=e.format("H").toString(),i=e.format("i").toString();for(n=0;n<24;n++)this.timeField[0].firstChild.options[n].value===t&&(this.timeField[0].firstChild.options[n].selected=!0);let o=!1;for(n=0;n<12;n++)this.timeField[1].firstChild.options[n].value===i&&(this.timeField[1].firstChild.options[n].selected=!0),i<this.timeField[1].firstChild.options[n].value&&!o&&(this.timeField[1].firstChild.options[n-1].selected=!0,o=!0)}let n=new Ext.form.ComboBox({typeAhead:!1,triggerAction:"all",width:50,transform:this.timeField[0].firstChild}),o=(n.show(),n.on("expand",function(e){e.list.setZIndex(this.menu.el.getZIndex()+1)},this),new Ext.form.ComboBox({typeAhead:!1,triggerAction:"all",width:50,transform:this.timeField[1].firstChild}));o.show(),o.on("expand",function(e){e.list.setZIndex(this.menu.el.getZIndex()+1)},this),this.menu.hide=this.menu.hide.createInterceptor(function(){if(n.view.el.isVisible()||o.view.el.isVisible())return!1}),this.menu.picker.on("select",function(){let e=this.menu.picker.getValue().add(Date.HOUR,n.getValue());e=e.add(Date.MINUTE,o.getValue()),this.menu.picker.activeDate=e,this.menu.picker.value=this.menu.picker.activeDate,this.setValue(e)},this)}})),Ext.menu.BaseItem&&(Ext.menu.BaseItem.prototype.render=Ext.menu.BaseItem.prototype.render.createSequence(function(){this.el.dom.onclick||(this.el.dom.onclick=function(){return!1})}
1),Ext.menu.BaseItem.prototype.shouldDeactivate=function(e){let t=!0;return this.menu&&this.menu.items&&this.menu.items.items.forEach(i=>{i.parentMenu&&i.parentMenu.el.dom===e.browserEvent.relatedTarget&&(t=!1)}),t&&(!this.region||!this.region.contains(e.getPoint()))}),Ext.Element.prototype.isVisible||Ext.Element.addMethods({isVisible:function(e){var t=!("hidden"===this.getStyle("visibility")||"none"===this.getStyle("display"));if(!0!==e||!t)return t;let i=this.dom.parentNode;for(;i&&"body"!==i.tagName.toLowerCase();){if(!Ext.fly(i,"_isVisible").isVisible())return!1;i=i.parentNode}return!0}}),Ext.Element.prototype.load||Ext.Element.addMethods({load:function(e,t,i,n){e={url:e,method:t?"POST":"GET",success:function(e){e=e.responseText,this.unmask(!0),(this.dom.innerHTML=e).evalScripts()}.createDelegate(this)},isFunction(i)&&(e.callback=i),Ext.Ajax.request(e),this.mask('<img alt="" src="'+basepath+'_/pics/formwait.gif" style="vertical-align:middle;"> Daten werden geladen...')}}),(()=>{function e(e){return e.test(Ext.userAgent)}Ext.apply(Ext,{userAgent:navigator.userAgent.toLowerCase()});var t=document.documentMode,i=e(/opera/),n=i&&e(/version\/10\.5/),o=e(/\bchrome\b/),r=e(/webkit/),a=(l=!o&&e(/safari/))&&e(/applewebkit\/4/),s=l&&e(/version\/3/),l=l&&e(/version\/4/),c=(f=!i&&(e(/msie/)||e(/trident/)||e(/edge\/\d+/)||e(/rv:11/)))&&e(/msie 6/),d=f&&e(/msie 7/)&&(8!==t&&9!==t&&10!==t&&11!==t||7===t),u=f&&e(/msie 8/)&&(7!==t&&9!==t&&10!==t&&11!==t||8===t),h=f&&e(/msie 9/)&&(7!==t&&8!==t&&10!==t&&11!==t||9===t),m=f&&e(/msie 10/)&&(7!==t&&8!==t&&9!==t&&11!==t||10===t),g=f&&e(/rv:11/)&&(7!==t&&8!==t&&9!==t&&10!==t||11===t),p=(t=f&&e(/edge\/\d+/)&&(7!==t&&8!==t&&9!==t&&10!==t||11===t),f&&(c||d||u)),f=f&&(m||g||t),b=(y=!r&&e(/gecko/))&&e(/rv:1\.9/),y=y&&e(/rv:2\.0/),v=b&&e(/rv:1\.9\.0/),E=b&&e(/rv:1\.9\.1/),x=(b=b&&e(/rv:1\.9\.2/),e(/windows|win32/)),w=e(/macintosh|mac os x/),k=e(/linux/);Ext.apply(Ext,{isOldIE:p,isActIE:f,isIE6:c,isIE7:d,isIE8:u,isIE9:h,isIE10:m,isIE11:g,isIE12:t,isSafari4:l,isSafari3:s,isSafari2:a,isWebKit:r,isChrome:o,isMac:w,isWindows:x,isLinux:k,isOpera:i,isOpera10_5:n,isGecko4:y,isFF3_0:v,isFF3_5:E,isFF3_6:b,isMobile:!!recon.isMobile,isTablet:!!recon.isTablet})})()}else Ext={getDom:function(e){return document.getElementById(e)},get:function(e){let t=e instanceof HTMLElement?e:document.getElementById(e);return t&&((t.dom=t).getValue=function(){return this.value??null},t.mask=function(e,t){return recon.Dom.mask(this,e,t),this},t.unmask=function(){return recon.Dom.unmask(this),this},t.load=function({url:e="",callback:i=null}){fetch(e,{method:"GET",mode:"same-origin",cache:"no-cache",headers:{"X-Requested-With":"XMLHttpRequest"},redirect:"follow"}).then(function(e){return e.text()}).then(function(e){t.innerHTML=e,isFunction(i)&&i(this)}.bind(this)).catch(e=>{console.error(e)})},t.up=function(e){return(e=t.closest(e))?{dom:e}:null},t.isDisplayed=function(){return recon.Dom.isVisible(t)},t.setDisplayed=function(e){if(isBoolean(e))switch(e){case!0:t.style.display="";break;case!1:t.style.display="none"}else isString(e)&&(t.style.display=e)},t.insertHtml=function(e,i){t.insertAdjacentHTML(e.toLowerCase(),i)},t.select=Ext.select),t},select:function(e){let t=document.querySelectorAll(e);return t.each=t.forEach,t.first=function(){var e=t.item(0);return e&&(e.dom=e),e},(t.elements=t).forEach(e=>{e.addClass=function(e){this.classList.add(e)},e.dom=e}),t.getCount=function(){return this.length},t},getCmp:function(){return null},KeyMap:function(e,t){let i=document.getElementById(e);i&&t.forEach(e=>{i.addEventListener("keydown",t=>{if(e.key){let i=recon.getKeyCode(t);"Enter"===i&&(i=13),isArray(e.key)&&e.key.includes(i)&&isFunction(e.fn)&&(t.stopEvent=t.preventDefault,e.fn.call(e.fn,i,t))}})})},form:{BasicForm:function(e){let t=new Map;return{el:{dom:e},on:function(e,i){let n=t.get(e);n||(t.set(e,[]),n=t.get(e)),n.push(i)},fireEvent:function(i){let n=t.get(i),o=!0;return n&&n.forEach(t=>{o&&!1===t.call(e)&&(o=!1)}),o},purgeListeners:function(){var t=e.cloneNode(!0);e.replaceWith(t)},remove:function(){e.remove()},getAttribute:function(e){return this.el.dom.getAttribute(e)}}}},Msg:recon.MessageBox,MessageBox:recon.MessageBox};Function.prototype.createDelegate||recon.apply(Function.prototype,{createCallback:function(){let e=arguments,t=this;return function(){return t.apply(window,e)}},createDelegate:function(e,t,i){let n=this;return function(){let o=t||arguments;var r;return!0===i?o=(o=Array.prototype.slice.call(arguments,0)).concat(t):"number"==typeof i&&(o=Array.prototype.slice.call(arguments,0),r=[i,0].concat(t),Array.prototype.splice.apply(o,r)),n.apply(e||window,o)}},defer:function(e,t,i,n){return t=this.createDelegate(t,i,n),e?setTimeout(t,e):(t(),0)},createSequence:function(e,t){if("function"!=typeof e)return this;let i=this;return function(){var n=i.apply(this||window,arguments);return e.apply(t||this||window,arguments),n}},createInterceptor:function(e,t){if("function"!=typeof e)return this;let i=this;return function(){if(e.target=this,e.method=i,!1!==e.apply(t||this||window,arguments))return i.apply(this||window,arguments)}}}),Date.prototype.getElapsed||recon.apply(Date.prototype,{getElapsed:function(e){return Math.abs((e||new Date).getTime()-this.getTime())}}),Date.prototype.clearTime||recon.apply(Date.prototype,{clearTime:function(){return this.setHours(0),this.setMinutes(0),this.setSeconds(0),this.setMilliseconds(0),this}}),"undefined"==typeof Range||Range.prototype.createContextualFragment||(Range.prototype.createContextualFragment=function(e){var t=document.createDocumentFragment(),i=document.createElement("div");return t.appendChild(i),i.outerHTML=e,t});let getEl=function(e){return document.getElementById(e)}
1,msgBox=function(e,t,i,n){var o=recon.Msg,r=!1,a={ok:"OK"};switch(i=i||"ok"){case"nobuttons":a={};break;case"continuesave":a={yes:"Speichern",no:"Nicht speichern",cancel:"Abbrechen"};break;case"continue":a={yes:"Weiter",cancel:"Abbrechen"};break;case"yesno":case"yesnomodal":a={yes:"Ja",no:"Nein"},"yesnomodal"===i&&(r=!0);break;case"ok":case"okmodal":"okmodal"===i&&(r=!0),a={ok:"OK"};break;case"okcancel":case"okcancelmodal":"okcancelmodal"===i&&(r=!0),a={ok:"OK",cancel:"Abbrechen"};break;case"login":a={yes:"Login"}}return o.isVisible()&&(o.currentMessages||(o.currentMessages=[]),o.currentMessages.push(t),t=o.currentMessages.join("<hr>")),e=o.show({title:e||"Hinweis",msg:t||recon.messages.join("<hr>"),buttons:a,modal:r,progress:!1,closable:!0,fn:n||null,fallbackMode:!0}),o.currentMessages=recon.messages,recon.messages=[],e},tabs={},panels=[],ckevents=!1,addEditor=function(e,t){var i=document.getElementById(e),n=i.closest("div.tabcontent");if(n&&(n.style.position=""),"undefined"!=typeof CKEDITOR){ckevents||(CKEDITOR.on("instanceReady",function(e){if(e.editor.resetDirty(),e.editor.setReadOnly(!1),e.editor.container.$.title="Zum Bearbeiten klicken",Ext.isIE||Ext.isIE11){var t=e.editor.container.getElementsByTag("a");if(t.$.length)for(let e=0;e<t.$.length;e++)t.$[e].onclick=function(){return!1}}}),ckevents=!0);var o=CKEDITOR.inline(e,{wordcount:{maxCharCount:0<Number(t)?Number(t):-1,showParagraphs:!1,showWordCount:!1,showCharCount:!0,countSpacesAsChars:!0,countHTML:!1,maxWordCount:-1,filter:new CKEDITOR.htmlParser.filter({elements:{div:function(e){if("mediaembed"===e.attributes.class)return!1}}})}}),r=i.getAttribute("required");o.maxchars=t,o.required=!1;try{o.required="required"===r||JSON.parse(r)}catch(e){}i.removeAttribute("required"),o.on("change",function(e){e.editor.updateElement()})}else LazyLoad.js("https://cdn.regiogate.net/ckeditor/ckeditor.js",()=>{addEditor(e,t)});n&&(n.style.position="absolute")},trtpl="",trcount=0,addEvent=function(e){var t=Ext.select("tr[id^=traveldates]");0<t.getCount()&&void 0!==trtpl&&(t=Ext.DomHelper.insertHtml("afterEnd",t.first().dom,trtpl.replace(/\[0]/g,"["+trcount+"]").replace(/traveldates_0_tablerow/,"traveldates_"+trcount+"_tablerow")),Ext.get(t).select("div[class^=options_]").each(function(e,t,i){0<i&&e.remove()}),(t=convertDateBox(e+"["+String(trcount)+"]start","",e+"["+String(trcount)+"][start]","d.m.Y","")).el.dom.setAttribute("required",!0),t.el.dom.setAttribute("ptr","date"),t.el.setWidth(110),(t=convertDateBox(e+"["+String(trcount)+"]end","",e+"["+String(trcount)+"][end]","d.m.Y","")).el.dom.setAttribute("required",!0),t.el.dom.setAttribute("ptr","date"),t.el.setWidth(110),addEditor(e+"["+String(trcount)+"]editor",""),trcount++)},removeEvent=function(e){2<=(e=Ext.get(e)).up("table").select("tr[id^=traveldates]").getCount()?e.up("tr").remove():msgBox("Achtung","Es muß mindestens ein Termin vorhanden sein!","okmodal")},addOption=function(e,t){0<(t=Ext.get(t).up("td").select(".options_"+e)).getCount()&&Ext.DomHelper.insertHtml("afterEnd",t.last().dom,'<div class="options_'+e+'">'+t.first().dom.innerHTML.replace(/value=['"][^"']*["']/g,'value=""')+"</div>")},removeOption=function(e){1<(e=Ext.get(e)).up("td").select("div[class^=options_]").getCount()&&e.up("div").remove()},addTab=function(e,t,i,n,o,r){buildTab(e={tabel:e,tgtel:t,desc:i||"",url:n||"",usecookie:o,beforetabchange:r})},buildTab=function(e){var t,i,n,o;"undefined"!=typeof Ext&&(t=e.tgtel,i=""!==e.url&&e.url,n=Ext.get(t),o=Ext.get(e.tabel),n)&&o&&(o.dom.style.visibility="hidden",tabs[t]||(tabs[t]=new Ext.TabPanel(n,{resizeTabs:!0,usecookie:void 0===e.usecookie||e.usecookie}),tabs[t].on("tabchange",function(e,t){setCookie(e.el.id,t.id,!1,basepath),recon.fireEvent("tabChange",[e,t])}),isFunction(e.beforetabchange)&&tabs[t].on("beforetabchange",e.beforetabchange),panels.push(t)),runOnLoad(function(){var n=tabs[t].addTab(e.tabel,e.desc||"");n._config=e,i&&n.on("activate",function(e,t){t.loaded||(t.setContent(n.getUpdateManager().indicatorText),Ext.Ajax.request({url:i,method:"post",success:function(e){t.setContent(e.responseText),decode(e.responseText),t._setLoaded(),preparePager(t)}}))})}))},updatePanel=function(e,t){if("exit"===e)document.location.href="";else{let o=0,r={},a=0,s=(isObject(t)?(o=t.id||0,a=t.r||0,delete t.id,recon.apply(r,t)):o=t||0,document.location.pathname+"?_func="+e+(0!==o?"&_"+e+"="+o:"")+(0!==a?"&_r="+a:""));for(var[i,n]in r)s+="&_f["+k+"]="+v;let l=document.getElementById("myservices");l?("undefined"!=typeof CKEDITOR&&Object.values(CKEDITOR.instances).forEac
1h(e=>{e.destroy()}),tabs&&tabs.regformpanel&&(tabs.regformpanel.destroy(),delete tabs.regformpanel),recon.Dom.mask(l,"Loading...","x-mask-loading"),recon.Ajax.request({url:s,success:function(t){recon.Dom.unmask(l),l.innerHTML=t.responseText,Array.from(l.querySelectorAll("script")).forEach(e=>{let t=document.createElement("script");Array.from(e.attributes).forEach(e=>{t.setAttribute(e.name,e.value)});var i=document.createTextNode(e.innerHTML);t.appendChild(i),e.replaceWith(t)}),prepareForms(l.querySelectorAll("form"),!0),updatePanel.backbtn=!1,l.scrollIntoView(),"svcbtn"!==e&&(updatePanel.callStack.length&&(updatePanel.callStack.member(e)||updatePanel.callStack.push(e),updatePanel.backbtn='<div class="service_overview"><a class="cs3button" href="#" onclick="return false;">'+translate("Zur Übersicht")+"</a></div>",l.insertAdjacentHTML("afterbegin",updatePanel.backbtn),l.firstElementChild.addEventListener("click",function(e,t){updatePanel.callStack.pop();var i=updatePanel.callStack.last();isObject(tabs.mypanel)&&i?updatePanel(i):document.location.reload()})),preparePager(tabs.mypanel||l)),formGarbageCollect(),l.querySelectorAll("form").forEach(function(t){1===t.action.split("?").length&&(t.action+="?_func="+e+(0!==o?"&_"+e+"="+o:"")+(0!==a?"&_r="+a:"")),recon.forms[t.name]||prepareForms([t],!0),recon.forms[t.name].on("submit",ajaxSubmit,t)}),l.querySelectorAll("a").forEach(function(e){e.href.match(/#/)||e.href.match(/_ud=view/)&&(e.href="#",e.onclick=function(){return updatePanel("svcbtn"),!1})});try{tabs.mypanel&&tabs.mypanel.items&&tabs.mypanel.items.myservices&&tabs.mypanel.items.myservices.activate()}catch(t){}recon.fireEvent("afterUpdatePanel",[e,this,l])}})):document.location.href=document.location.pathname+"?_ud=view"}},ajaxSubmit=(updatePanel.callStack=["svcbtn"],updatePanel.backbtn=!1,function(e){if(e&&isScalar(e)&&e.match(/page/))return!0;let t=document.getElementById("myservices");e=this.getAttribute("action");return t&&(e=e&&""!==e?e:document.location.href,recon.Ajax.request({url:e,method:"POST",form:this,success:function(e){"undefined"!=typeof CKEDITOR&&Object.values(CKEDITOR.instances).forEach(e=>{e.destroy()}),recon.forms[this.name].remove(),delete recon.forms[this.name],recon.forms._count--,recon.Dom.unmask(t),t.innerHTML=e.responseText,t.querySelectorAll("form").forEach(function(e){recon.forms[e.name]||prepareForms([e],!0),recon.forms[e.name].on("submit",ajaxSubmit,e)}),updatePanel.backbtn&&(t.insertAdjacentHTML("afterbegin",updatePanel.backbtn),t.firstElementChild.addEventListener("click",function(e){updatePanel.callStack.pop(),isObject(tabs.mypanel)&&"svcbtn"!==updatePanel.callStack.last()?updatePanel(bt):document.location.reload()})),e.responseText.evalScripts()}.bind(this)}),recon.Dom.mask(t,'<img alt="" src="'+basepath+'_/pics/formwait.gif" style="vertical-align:middle;"> Daten werden gespeichert...')),!1}),formGarbageCollect=function(){let e;for(var t in tabs)(e=tabs[t].el.dom)&&e.parentNode&&(e.offsetParent||document.getElementById(t))||(tabs[t].destroy(),delete tabs[t]);for(var i in recon.forms){"_count"===i||(e=recon.forms[i].el.dom)&&e.parentNode&&(e.offsetParent||document.getElementById(i))||(recon.forms[i].purgeListeners(),recon.forms[i].remove(),delete recon.forms[i],recon.forms._count--)}},preparePager=function(e){if(e){let t=e.bodyEl||e;(t.dom||t).querySelectorAll("*.pager,*.pagination").forEach(function(i){i.querySelectorAll("a").forEach(function(i){i.href===document.location.href||i.href===document.location.href+"#"?i.onclick=function(){return!1}:i.onclick=function(){let i;return i=tabs.mypanel&&t===tabs.mypanel.bodyEl?document.getElementById("myservices"):t,recon.Ajax.request({url:this.href.replace(/&_dc=\d+/,""),success:function(t){i.innerHTML=t.responseText,"myservices"===i.id&&isObject(tabs.mypanel)&&(t='<div style="height:30px;"><a style="width:100px; position:absolute; right:5px;" class="cs3button" href="#" onclick="updatePanel(\'svcbtn\');return(false);">'+translate("Zur Übersicht")+"</a></div>",i.insertAdjacentHTML("afterbegin",t)),preparePager(e)}}),!1}})})}},tabActivate=function(e){var t,i=getCookie(e);""!==(i=""===i&&tabs[e]&&(t=tabs[e].getTab(0))?t.id:i)&&tabs[e]?!0===tabs[e].usecookie&&tabs[e].getTab(i)?tabs[e].activate(i):(t=tabs[e].getTab(0))&&tabs[e].activate(t.id):panels.each(function(e){tabActivate(e)}
1)},hide=function(e){(e=document.getElementById(e))&&(e.style.visibility="hidden")},toggleVis=function(e,t,i){var n=document.getElementById(e);if(n){let o=!1;i&&"block"===i&&(o=!0),1==!((i=null!==n.offsetParent)&&!o)?(n.style.display="tr"===n.nodeName.toLowerCase()?"table-row":"block",n.querySelectorAll("*[id^=gmap_]").forEach(function(e){gMap&&gMap.configs[e.dom.id]&&gMap.create(gMap.configs[e.dom.id])})):n.style.display="none",t&&(n=document.getElementById(e+"_pic"))&&(i&&!o?(n.src=basepath+"_/pics/bullet_arrow_right.gif",document.cookie=e+"=none;"):(n.src=basepath+"_/pics/bullet_arrow_down.gif",document.cookie=e+"=block;"))}},setblocks=function(e){let t=!(!e||"block"!==e);if(document.cookie)for(var i=decodeURI(document.cookie).split(";"),n=0;n<i.length;n++){var o=i[n].split("="),r=o[0].replace(/ /,""),a=document.getElementById(r);if(a){let e=document.getElementById(r+"_pic"),i=o[1];"block"!==i&&"none"!==i&&(i="block"),a.style.display=t?"block":i,e&&(e.src="none"===i||t?basepath+"_/pics/bullet_arrow_right.gif":basepath+"_/pics/bullet_arrow_down.gif")}}},setPointsOfVoting=function(e,t){t=document.querySelectorAll("#"+t+" a");let i=1;t.forEach(function(t){t.className=i>e?"inactivestar":"activestar",i++})},showAds=function(e){var t=document.getElementById("h"+e);(e=document.getElementById("s"+e))&&t&&(e.innerHTML=t.innerHTML,t.parentNode.removeChild(t))},initGMap=function(e){if(initGMap.maprequests++,"undefined"==typeof gMap&&1===initGMap.maprequests)LazyLoad.js(basepath+"___/googlemaps/scripts/gmapfe.js",function(){initGMap.maprequests=0,gMap.create(e)});else try{gMap.create(e)}catch(t){initGMap.maprequests<10&&window.setTimeout(function(){initGMap(e)},1e3)}},initMap=(initGMap.maprequests=0,function(e){var t;initMap.requests++,Array.isArray(initMap.configs)&&(initMap.configs=new Map),initMap.configs.has(e.el)||initMap.configs.set(e.el,e),"undefined"==typeof Maps?1===initMap.requests&&(recon.on("mapsLoaded",function(){initMap.configs.forEach(function(e){new Maps(e)}),initMap.configs=new Map}),t=recon.debugmode?"src/":"",LazyLoad.js([basepath+"___/maps/scripts/"+t+"maps.js"])):"undefined"!=typeof Maps&&(Maps.isReady?(initMap.configs.forEach(function(e){new Maps(e)}),initMap.configs=new Map):recon.on("mapsLoaded",function(){initMap.configs.forEach(function(e){new Maps(e)}),initMap.configs=new Map})),"undefined"!=typeof klaro&&!1===klaro.getManager().getConsent("maps")&&(t=document.getElementById(e.el))&&(t.dataset.name="maps",klaro.setup())}),showAdressModal=(initMap.configs=new Map,initMap.requests=0,function(e,t,i){var n=document.getElementById(e);n&&!n.hasChildNodes()&&initMap(n={el:e,mapType:"OpenStreetMap",autoZoom:!0}),$("#mapModal").modal("show")}),translate=function(e){return translation.each(function(t){t.o===e&&(e=t.t)}),e},trim=function(e,t){return console.log("Use native trim"),e.trim()},MySqlDateTimeToTimeStamp=function(e){var t=e.match(/(\d{1,2})\.(\d{1,2})\.(\d{2,4}) (\d{1,2}):(\d{1,2})/);(e=t?new Date(Number(t[3]),Number(t[2])-1,Number(t[1])).format("Y-m-d H:i:s"):e).match(/^(\d{2,4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2})$/)&&(e+=":00"),"0000-00-00 00:00:00"!==e&&""!==e&&void 0!==e||(e="1970-01-01 00:00:00"),t=Date.parseDate(e,"Y-m-d H:i:s");return Date.parse(t)},vsubmit=function(e){(!(e=isObject(e)?e:document.getElementById(e)).name||""===e.name||!recon.forms[e.name]||recon.forms[e.name]&&recon.forms[e.name].fireEvent("submit"))&&e.submit()},extLiveSearch=function(e,t,i,n,o){var r=e+"livesearch",a=(o=o||408,Ext.get(e)),s=Ext.get(e+"livesearch"),l=(s&&""!==n&&""!==a.dom.value&&"0"!==a.dom.value&&(s.dom.value=n),s.dom.value);e=new Ext.data.Store({proxy:new Ext.data.HttpProxy({url:"livesearch.js?_func=fndCnt&trcl="+i+(isNumeric(t)?"&r="+t:""),method:"GET"}),reader:new Ext.data.JsonReader({root:"contents",totalProperty:"totalCount",id:"id"},[{name:"title",mapping:"title"},{name:"id",mapping:"id"}])}),n=new Ext.Template('<div class="search-item"><span class="search-title">{title}</span></div>');new Ext.form.ComboBox({store:e,displayField:"title",typeAhead:!1,loadingText:"Suche...",queryParam:"filter",width:o,pageSize:5,hideTrigger:!0,minChars:2,tpl:n,onSelect:function(e){this.collapse(),a&&(a.dom.value=e.data.id),s&&(s.dom.value=e.data.title,l=s.dom.value,setTimeout(function(){s.dom.blur()},20))}}).applyTo(r),s.dom.onclick=function(){s.dom.value=""},s.dom.onblur=function(){""!==a.dom.value&&"0"!==a.dom.value||(l=""),s.dom.value=l}},socialBookmarks=function(e,t){var i='<DIV id="socialBookmarks">';i=(i=(i=(i=(i=i+'<UL><LI><A id="bm_facebook" href="http://www.facebook.com/sharer.php?u='+(e=isEmpty(e)?document.location.href:encodeURIComponent(document.location.protocol+"//"+document.location.host+e))+"&t="+(t=isEmpty(t)?document.title:encodeURIComponent(t))+'" target="_blank">Facebook</A></LI>')+'<LI><A id="bm_delicious" href="http://del.icio.us/post?'+e+"&title="+t+'" target="_blank">del.icio.us</A></LI><LI><A id="bm_digg" href="http://digg.com/submit?phase=2&url='+e+"&title="+t+'" target="_blank">Digg</A></LI>')+'<LI><A id="bm_google_bmarks" href="http://www.google.com/bookmarks/mark?op=edit&bkmk='+e+"&title="+t+'" target="_blank">Google Bookmarks</A></LI><LI><A id="bm_reddit" href="http://reddit.com/submit?url='+e+"&title="+t+'" target="_blank">reddit</A></LI>')+'<LI><A id="bm_twitter" href="http://www.twitter.com/home?status='+decodeURIComponent(e)+'" target="_blank">Twitter</A></LI>')+"</UL></DIV>",Ext.Msg.show({title:'<img alt="" src="'+basepath+'_/pics/bookmarks/share.gif" width="12" height="12"> Bookmark',msg:i,buttons:Ext.Msg.OK}),t=Ext.get("socialBookmarks").getBox();Ext.Msg.getDialog().resizeTo(t.width+50,t.height+60)},showNewsletter=function(e){e="index.html?_func=geNlPrv&_id="+e,Ext.Msg.maxWidth=1280,Ext.Msg.show({title:"Newsletter-Archiv",msg:'<div style="height:600px; width:1024px;"><iframe src="'+e+'" id="nlpreview" style="height:100%; width:100%;" frameborder="0"></iframe></div>',buttons:Ext.Msg.OK})},loadContent=function(e,t,i){var n=document.location.href.split("#")[0],o=(n+=(n.match(/\?/)?"&_lyb=":"?_lyb=")+t,Ext.get(e));o.dom.getAttribute("bxd")!==t&&(e={url:n,bxd:t,success:function(e){e=decode(e.responseText),isObject(e)&&e.html?(o.dom.innerHTML=e.html,o.unmask(!0)):Ext.Msg.alert("Fehler","Seite konnte nicht geladen werden.")}},isFunction(i)&&(e.callback=i),o.mask('<img alt="" src="'+basepath+'_/pics/formwait.gif" style="vertical-align:middle;"> Daten werden geladen...'),Ext.Ajax.request(e),o.dom.setAttribute("bxd",t))},getAutoTabs=function(e,t){var i;isUndefined(e)&&(e="autotabs"),document.getElementById(e)&&1<(i=document.querySelectorAll("div.tabcontent")).length&&(tabs[e]&&(tabs[e].purgeListeners(),tabs[e].destroy(),delete tabs[e]),i.each(function(t){""===t.dom.id&&(t.dom.id=Ext.id());var i=t.up(".lblock");i&&"none"===i.dom.style.display||addTab(t.dom.id,e,t.dom.getAttribute("title")||"Infos"),i&&(i.dom.style.display="none"),t.dom.setAttribute("title","")})),tabs[e]&&!tabs[e].active&&tabs[e].items.length&&tabs[e].items.first().activate(),isFunction(t)&&t()},setupEditorTabs=function(e,t){if(tabs&&tabs[e]){tabs[e].usecookie=!1;try{tabs[e].items[0].activate()}catch(i){return void setupEditorTabs.defer(100,this,[e,t])}var i,n=null;tabs[e].on("beforetabchange",function(e,i,o){var r;e.active&&"prev"!==n&&(r=document.getElementById(t),validateSite(e.active.id,o.id,r)||(i.cancel=!0))}),tabs[e].items.each(function(t,i){t.bodyEl.select("input").each(function(e){e.dom.setAttribute("page",t.id)}),t.bodyEl.select("select").each(function(e){e.dom.setAttribute("page",t.id)}),t.bodyEl.select("textarea").each(function(e){e.dom.setAttribute("page",t.id)}),tabs[e].items[i+1]?t.bodyEl.select("input[rel=next]").each(function(t){t.on("click",function(){n="next",tabs[e].items[i+1]&&tabs[e].items[i+1].activate()})}):t.bodyEl.select("input[rel=next]").each(function(e){e.dom.value="Speichern",e.on("click",function(){recon.forms[this.dom.form.name]&&recon.forms[this.dom.form.name].fireEvent("submit")})}),t.bodyEl.select("input[rel=prev]").each(function(t){t.on("click",function(){n="prev",tabs[e].items[i-1]&&tabs[e].items[i-1].activate()})})}),recon.forms[t]||(i=document.getElementById(t),prepareForms([i],!0),recon.forms[t].on("submit",ajaxSubmit,i))}},facebookConnect=function(){recon.Dom.mask(document.body,'<img alt="" src="'+basepath+'_/pics/formwait.gif" style="vertical-align:middle;"> Anmeldung...');try{FB.getLoginStatus(function(e){"connected"===e.status?FB.api("/me",function(e){facebookResponse(e)},{scope:"email"}):"not_authorized"===e.status?(Ext.get(document.body).unmask(),msgBox("Achtung","Anmeldung fehlgeschlagen","ok")):FB.login(function(e){e.authResponse?FB.api("/me",function(e){facebookResponse(e)}):(Ext.get(document.body).unmask(),msgBox("Achtung","Anmeldung fehlgeschlagen","ok"))},{scope:"email"})})}catch(e){recon.Dom.unmask(document.body)}},facebookResponse=function(e){Ext.Ajax.request({url:document.location.pathname+"?_func=fbCon",method:"post",params:e,success:function(e){"connected"===e.responseText?document.location.reload():(Ext.get(document.body).unmask(),msgBox("Achtung","Anmeldung fehlgeschlagen","ok"))},failure:function(){Ext.get(document.body).unmask()}})},setAutoHeight=function(e){console.log("use flex for this");var t,i,n=e.rootcontainer||!1,o=!1,r=!1,a=e.blockrow||0,s=e.paddingfromtop||!1,l=0;!1!==n?(t=Ext.get(n))&&(!1===t.isDisplayed()&&(t.setDisplayed("block"),o=!0),r=Ext.get(n).select("."+e.classname)):r=Ext.select("."+e.classname),!1!==r&&"object"==typeof r&&(0===a?(l=0,r.each(function(e){l=e.getHeight()>l?e.getHeight():l}),r.each(function(e){e.setHeight(l)})):(l=[],i=0,r.each(function(e,t,n){n%a==0&&0<n&&(i+=a),l["rows_"+i]=l["rows_"+i]||0,l["rows_"+i]=e.getHeight()>l["rows_"+i]?e.getHeight():l["rows_"+i]}),i=0,r.each(function(e,t,n){n%a==0&&0<n&&(i+=a),0<(n=Math.round((l["rows_"+i]-e.getHeight())/2))&&
1!0===s&&(Ext.get(e).dom.style.paddingTop=n+"px"),e.setHeight(l["rows_"+i])})),t)&&!0===o&&t.setDisplayed("none")},proofVal=function(e,t,i){var n=t.getAttribute("placeholder");i.replace?t.value=t.value===n?"":t.value:t.value=isEmpty(t.value)||t.value===n?n:t.value},playMovie=function(e){e.paused?e.play():e.pause()};if(void 0===basepath&&(basepath="/"),void 0===trfilename&&(trfilename="index.html"),void 0===translation&&(translation=[]),window.onerror=function(e,t,i,n,o){console.trace(e)},void 0===rbuild){let e=new URL(document.currentScript.src).searchParams.get("rev")??(new Date).clearTime().getTime();LazyLoad.js([basepath+"_/scripts/common/msgbox.js?rev="+e,basepath+"_/scripts/common/recon.js?rev="+e,basepath+"_/scripts/common/functions.js?rev="+e,basepath+"_/scripts/common/extend.js?rev="+e,basepath+"_/scripts/upload.js?rev="+e,basepath+"_/scripts/libs/src/history.js?rev="+e,basepath+"_/scripts/libs/src/onload.js?rev="+e,basepath+"_/scripts/libs/src/behaviour.js?rev="+e]),"undefined"!=typeof Ext&&LazyLoad.js([basepath+"_/scripts/lang/ext-lang-de.js?rev="+e,basepath+"_/scripts/extensions/secure.js?rev="+e])}window.CKEDITOR_BASEPATH="https://cdn.regiogate.net/ckeditor/","undefined"!=typeof Ext&&"de"===(recon.language||navigator.language.split("-")[0])&&(Ext.View&&(Ext.View.prototype.emptyText=""),Ext.grid&&(Ext.grid.Grid&&(Ext.grid.Grid.prototype.ddText="%0 selektierte Reihe(n)"),Ext.grid.GridView&&Ext.apply(Ext.grid.GridView.prototype,{sortAscText:"aufsteigend sortieren",sortDescText:"absteigend sortieren",lockText:"Spalte sperren",unlockText:"Spalte entsperren",columnsText:"Spalte"}),Ext.grid.PropertyColumnModel)&&Ext.apply(Ext.grid.PropertyColumnModel.prototype,{nameText:"Name",valueText:"Wert",dateFormat:"d.m.Y H:i:s"}),Ext.TabPanelItem&&(Ext.TabPanelItem.prototype.closeText="Tab schlieÃen"),Ext.form&&(Ext.form.Field&&(Ext.form.Field.prototype.invalidText="Der Wert in diesem Feld ist ungültig"),Ext.form.TextField&&Ext.apply(Ext.form.TextField.prototype,{minLengthText:"Die minimale Länge für dieses Feld ist {0}",maxLengthText:"Die maximale Länge für dieses Feld ist {0}",blankText:"Dieses Feld ist Pflicht",regexText:"",emptyText:null}),Ext.form.NumberField&&Ext.apply(Ext.form.NumberField.prototype,{minText:"Die minimale Länge für dieses Feld ist {0}",maxText:"Die maximale Länge für dieses Feld ist {0}",nanText:"{0} ist keine gültige Zahl"}),Ext.form.DateField&&Ext.apply(Ext.form.DateField.prototype,{disabledDaysText:"Deaktiviert",disabledDatesText:"Deaktiviert",minText:"Das Datum in diesem Feld muss nach {0} sein",maxText:"Das Datum in diesem Feld muss vor {0} sein",invalidText:"{0} ist kein gültiges Datum",format:"d.m.y H:i:s"}),Ext.form.ComboBox&&Ext.apply(Ext.form.ComboBox.prototype,{loadingText:"Lade...",valueNotFoundText:void 0}),Ext.form.VTypes)&&Ext.apply(Ext.form.VTypes,{emailText:'Dieses Feld darf nur eine E-Mail Addresse in dem Format "[email protected]" enthalten',urlText:'Dieses Feld darf nur eine URL in dem Format "http://www.domain.com" enthalten',alphaText:"Dieses Feld darf nur Zahlen und den Unterstrich enthalten",alphanumText:"Dieses Feld darf nur Buchstaben, Zahlen und den Unterstrich enthalten"}),Ext.UpdateManager&&(Ext.UpdateManager.defaults.indicatorText='<div class="loading-indicator">Lade...</div>'),Date.monthNames=["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],Date.dayNames=["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],Ext.Msg&&(Ext.Msg.buttonText={ok:"OK",cancel:"Abbrechen",yes:"Ja",no:"Nein"}),Ext.util&&Ext.util.Format&&(Ext.util.Format.date=function(e,t){return e?(e=e instanceof Date?e:new Date(Date.parse(e))).dateFormat(t||"d.m.Y H:i:s"):""}),Ext.DatePicker&&Ext.apply(Ext.DatePicker.prototype,{todayText:"Heute",cancelText:"Abbrechen",minText:"das Datum ist vor dem minimalen Datum",maxText:"das Datum is nach dem maximalen Datum",disabledDaysText:"",disabledDatesText:"",nextText:"nächster Monat (Strg+Pfeil rechts)",prevText:"vorheriger Monat (Strg+Pfeil links)",monthYearText:"wähle einen Monat (Strg+Pfeil oben/unten Jahr ändern)",todayTip:"{0} (Leertaste)",monthNames:Date.monthNames,format:"d.m.y H:i:s",dayNames:Date.dayNames,startDay:1}
1),Ext.PagingToolbar&&Ext.apply(Ext.PagingToolbar.prototype,{beforePageText:"Seite",afterPageText:"von {0}",firstText:"erste Seite",prevText:"vorherige Seite",nextText:"nächste Seite",lastText:"letzte Seite",refreshText:"Aktualisieren",displayMsg:"Zeige {0} - {1} von {2}",emptyMsg:"keine Daten"}),Ext.SplitLayoutRegion)&&Ext.apply(Ext.SplitLayoutRegion.prototype,{splitTip:"Ziehen um die Grösse zu ändern.",collapsibleSplitTip:"Ziehen um die Grösse zu ändern. Doppelklicken zum Schliessen."});let SWFUpload={};function createUpload(e,t,i,n,o,r){if("undefined"==typeof plupload)LazyLoad.js(basepath+"_/scripts/plupload/plupload.full.min.js",function(){createUpload(e,t,i,n,o,r)});else{var a=getUniqueID();if(e&&e.parentNode){e.insertAdjacentHTML("afterend",'<div id="'+a+'container"><a class="uploadbtn" id="'+a+'pickfiles" href="#" onclick="return false;">'+(o||"Dateien auswählen")+'</a><div id="'+a+'filelist"></div></div>');var s=n?{title:"Dateien",extensions:n}:{title:"Bilder",extensions:"jpg,gif,png"};a={runtimes:"html5,browserplus,html4",browse_button:a+"pickfiles",container:a+"container",tgtid:a,max_file_size:isNumber(r)?r+"MB":isString(r)?parseInt(r,10)+"MB":"2MB",max_files:i,num_files:0,file_data_name:"Filedata",url:basepath+"_/tools/upload.php?upluid="+getUniqueID()+"&fd="+t,filters:[s]};let l="";recon.fireEvent("beforeUpload",[a]),(s=new plupload.Uploader(a)).bind("QueueChanged",function(e){e.start()}),s.bind("UploadProgress",function(e,t){recon.Msg.updateProgress({progressID:t.name,percent:t.percent,title:"Upload...",msg:t.name+" "+t.percent+"%"})}),s.bind("FilesAdded",function(e,t){if(this.settings.num_files+t.length>this.settings.max_files)return recon.Msg.show({title:"Fehler",msg:"Es dürfen max. "+this.settings.max_files+" hochgeladen werden",width:300,progress:!1,closable:!0,buttons:{ok:"OK"}}),!1;let i=!0;return e.files.reverse(),t.forEach(function(e){e.size>this.settings.max_file_size&&(i=!1)}.bind(this)),recon.Msg.show({title:"Upload...",msg:l,closable:!1,buttons:{}}),!!i||(recon.Msg.show({title:"Fehler",msg:"Max. Dateigröße beträgt "+this.settings.max_file_size/1048576+" MB",closable:!1,buttons:{}}),!1)}),s.bind("FileUploaded",function(t,i,n){var o;n=decode(n.response);isObject(n)&&!n.error&&i&&(this.settings.num_files++,o=(i=this.settings.container.closest("form").name.replace(/frm/,"")).replace(/\d+/,""),document.getElementById(this.settings.tgtid+"container").insertAdjacentHTML("afterend",['<div id="m'+n.id+'" class="mediapreview">',"<a onclick=\"deleteMedia('m"+n.id+"', '"+this.id+'\'); return false;" href="#">','<img style="vertical-align:middle; border:none;" src="/_/pics/no.gif" alt="">',"Löschen","</a>",'<input type="hidden" value="'+n.id+'" name="'+e.name+'[]" id="medm'+n.id+'" page="page'+o+"linesdefault|"+i+'">','<input type="hidden" value="0" name="deletemedia['+n.id+']" id="delm'+n.id+'" page="page'+o+"linesdefault|"+i+'">','<br><img src="'+n.thumburl+'" alt=""></div>'].join("")))}),s.bind("UploadComplete",function(e,t){recon.Msg.removeProgress(),recon.Msg.hide(),l="",t.length&&t.each(function(e){e&&this.removeFile(e)}.bind(this))}),s.bind("Error",function(e,t){let i=t.file.name+": ";switch(t.message){case"File extension error.":i+="Nicht erlaubter Dateityp";break;case"File size error.":i+="Datei zu groß";break;default:i+=t.message}l=i,recon.Msg.show({title:"Fehler",msg:i,closable:!0,buttons:{ok:"OK"}})}),s.bind("PostInit",function(t){(t=document.querySelector("input[id^="+t.id+"]"))&&(t.name=e.name),(t=e.parentNode)&&document.querySelectorAll(".mediapreview a").forEach(function(e){e.addEventListener("click",function(t){deleteMedia(e.parentNode.id,this.id)}.bind(this)),this.settings.num_files+=1}.bind(this)),e.remove()}),s.init(),recon.registerUploader(s)}}}var deleteMedia=function(e,t){recon.Msg.confirm("Achtung","Soll die Datei entgütig gelöscht werden?",function(i){var n,o;"ok"===i&&(i=recon.getUploader(t))&&(--i.settings.num_files,i=document.getElementById(e),n=document.getElementById("del"+e),o=document.getElementById("med"+e),i)&&n&&o&&(i.style.display="none",n.value="1",o.value="",i.querySelectorAll("a").forEach(e
1=>e.remove()),i.querySelectorAll("img").forEach(e=>e.remove()),i.querySelectorAll("div").forEach(e=>e.remove()))})};"undefined"!=typeof Ext&&Ext.namespace&&(Ext.namespace("Ext.ux.form"),Ext.ux.form.SecurePass=function(e){Ext.ux.form.SecurePass.superclass.constructor.call(this,e),this.markInvalid=this.markInvalid.createSequence(function(){this.el.addClass("invalid"),this.el.removeClass("valid")}),e=recon.getPwOpts(),this.errors={PwdEmpty:"Das Passwort darf nicht leer sein.",PwdShort:translate("Das Passwort muß mindestens "+(e.length||6)+" Zeichen enthalten."),PwdLong:translate("Das Passwort darf maximal "+this.maxlength+" Zeichen enthalten."),PwdBadChar:"Das Passwort enthät ungültige Zeichen.",IDInPwd:"Das Passwort ist Teil des Logins.",FNInPwd:"Ihr Vorname darf nicht im Passwort vorkommen.",LNInPwd:"Ihr Nachname darf nicht im Passwort vorkommen."}},Ext.extend(Ext.ux.form.SecurePass,Ext.form.TextField,{maxlength:255,meterLabel:"Passwort Sicherheit",pwdStrengths:["Schwach","Mittel","Ok"],fieldsFilter:null,strength:0,_lastPwd:null,kCapitalLetter:0,kSmallLetter:1,kDigit:2,kPunctuation:3,initEvents:function(){Ext.ux.form.SecurePass.superclass.initEvents.call(this),this.el.on("keyup",this.checkStrength,this,{buffer:50}),this._lastPwd=this.el.getValue()},onRender:function(e,t){Ext.ux.form.SecurePass.superclass.onRender.call(this,e,t),this.wrap=this.el.wrap({cls:"x-form-field-wrap"}),this.trigger=this.wrap.createChild({tag:"div",cls:"StrengthMeter"}),""!=this.meterLabel&&this.trigger.createChild({tag:"label",html:this.meterLabel}),this.trigger.createChild({tag:"div",cls:"PwdMeterBase",html:'<div class="PwdBack"><div class="PwdMeter" id="PwdMeter"></div></div>'}),this.hideTrigger&&this.trigger.setDisplayed(!1),this.setSize(this.width||"",this.height||"")},onDestroy:function(){this.trigger&&(this.trigger.removeAllListeners(),this.trigger.remove()),this.wrap&&this.wrap.remove(),Ext.form.TriggerField.superclass.onDestroy.call(this)},checkStrength:function(){var e,t=this.el.getValue();t!=this._lastPwd&&(this.trigger.setDisplayed(!0),e=this.ClientSideStrongPassword(t)?3:this.ClientSideMediumPassword(t)?2:this.ClientSideWeakPassword(t)?1:0,document.getElementById("PwdMeter").style.width=82*e+"px",null!=this.pwdStrengths&&0<e?document.getElementById("PwdMeter").innerHTML=" "+this.pwdStrengths[e-1]:document.getElementById("PwdMeter").innerHTML="",this._lastPwd=t)},validateValue:function(value){var pwOpts=recon.getPwOpts();if(!Ext.form.TextField.superclass.validateValue.call(this,value))return!1;if(0==value.length)return this.markInvalid(this.errors.PwdEmpty),!1;var regex=new RegExp(value.replace(/\[/g,"\\[").replace(/\]/g,"\\]").replace(/\(/g,"\\(").replace(/\)/g,"\\)").replace(/\+/g,"\\+").replace(/\*/g,"\\*"));if("[!-~]*".match(regex))return this.markInvalid(this.errors.PwdBadChar),!1;if(value.length<(pwOpts.length||6))return this.errors.PwdShort=translate("Das Passwort muß mindestens "+(pwOpts.length||6)+" Zeichen enthalten."),this.markInvalid(this.errors.PwdShort),!1;if(value.length>this.maxlength)return this.markInvalid(this.errors.PwdLong),!1;if(this.fieldsFilter)for(var index=0;index<this.fieldsFilter.length;++index){var f=Ext.getDom(this.fieldsFilter[index][0]);if(f&&""!=f.value&&f.value.match(regex))return this.markInvalid(eval("this.errors."+this.fieldsFilter[index][1])),!1}return!0},CharacterSetChecks:function(e){this.type=e,this.fResult=!1},isctype:function(e,t){switch(t){case this.kCapitalLetter:if("A"<=e&&e<="Z")return!0;break;case this.kSmallLetter:if("a"<=e&&e<="z")return!0;break;case this.kDigit:if("0"<=e&&e<="9")return!0;break;case this.kPunctuation:if(0<="!@#$%^&*()_+-='\";:[{]}|.>,</?`~".indexOf(e))return!0;break;default:return!1}},IsLongEnough:function(e,t){return!(null==e||isNaN(t)||e.length<t)},SpansEnoughCharacterSets:function(e,t){if(!this.IsLongEnough(e,t))return!1;for(var i=[new this.CharacterSetChecks(this.kCapitalLetter),new this.CharacterSetChecks(this.kSmallLetter),new this.CharacterSetChecks(this.kDigit),new this.CharacterSetChecks(this.kPunctuation)],n=0;n<e.length;++n)for(var o=0;o<i.length;++o)if(!i[o].fResult&&this.isctype(e.charAt(n),i[o].type)){i[o].fResult=!0;break}var r=0;for(o=0;o<i.length;++o)i[o].fResult&&++r;return!(r<t)},ClientSideStrongPassword:function(e){return this.IsLongEnough(e,8)&&this.SpansEnoughCharacterSets(e,3)},ClientSideMediumPassword:function(e){return this.IsLongEnough(e,7)&&this.SpansEnoughCharacterSets(e,2)},ClientSideWeakPassword:function(e){return this.IsLongEnough(e,6)||!this.IsLongEnough(e,0)}}));let NavigatorHistory=function(e,t){let i=function(e){if(n!==window.location.hash)try{var t=JSON.parse(_decrypt(window.location.hash.replace(/^#!/,""),"navh"))[this.key],i=_encrypt(JSON.stringify(t),this.key),r=i!==this.hashes[this.key];this.hashes[this.key]=i,r&&!isEmpty(t)&&o(t,e)}catch(e){try{this.param[this.key]=null,this.hashes[this.key]=null,o(null)}catch(e){}}n=window.location.hash}.bind(this);if(!t)return{setParam:recon.emptyFn,getParam:recon.emptyFn,reset:recon.emptyFn};
1this.key=t,this.hashes[this.key]=this.param[this.key]?_encrypt(JSON.stringify(this.param[this.key]),this.key):"";let n="",o=function(){},r=function(){isFunction(window.history.pushState)&&isFunction(window.addEventListener)?window.addEventListener("popstate",i.bind(this)):window.addEventListener?window.addEventListener("hashchange",i.bind(this),!1):window.attachEvent?window.attachEvent("onhashchange",i.bind(this)):"onhashchange"in window&&(window.onhashchange=i)}.bind(this),a=function(e){isFunction(e)&&(o=e),r(),i()}.bind(this);return a(e),{reset:function(){this.hashes[this.key]=n="",this.param[this.key]={};try{window.history.pushState("",document.title,window.location.pathname+window.location.search)}catch(e){}}.bind(this),setParam:function(e,i,n){n=!1!==n,this.param[this.key]=e;e=_encrypt(JSON.stringify(e),this.key);var o=_encrypt(JSON.stringify(this.param),"navh");!i&&setCookie&&setCookie(t+"hash",e),n&&(window.location.hash="#!"+o)}.bind(this),getParam:function(){let e=window.location.hash.replace(/^#!/,""),t={};try{t=isEmpty(e)||e.match(/^#/)?this.param[this.key]?this.param:{}:JSON.parse(_decrypt(e,"navh"))}catch(e){}return t[this.key]}.bind(this)}};try{NavigatorHistory.prototype.param=isEmpty(window.location.hash)?{}:JSON.parse(_decrypt(window.location.hash.replace(/^#!/,""),"navh"))}catch(e){NavigatorHistory.prototype.param={}}NavigatorHistory.prototype.hashes={};var siteloaded=function(){};(()=>{function e(){let e=document.querySelectorAll("*.html2pdf"),t=document.querySelectorAll("*[data-respont]"),i=document.querySelectorAll("a.lightbox"),n=document.querySelectorAll("*[data-tag]"),o=document.querySelectorAll("img.zoomImg"),r=recon.getConf("shop").basketcount||0;var a,s;document.querySelector('script[src*="HtmlElements.js"]')||(a=document.createElement("script"),document.body.append(a),recon.debugmode?(a.type="module",a.src="/_/scripts/rgElements/src/HtmlElements.js?rev="+recon.revision):a.src="/_/scripts/rgElements/HtmlElements.js?rev="+recon.revision),0<o.length&&loadJQueryPlugin(basepath+"_/scripts/extensionsmin/jqueryplugins/elevatezoom/jquery.elevatezoom.js",function(){this.forEach(function(e){var t=e.src.replace(/url\(["']?/,"").replace(/["']?\)/,"").replace(/\/media\/med_/,"/org/med_"),i={zoomWindowFadeIn:500,zoomWindowFadeOut:500,lensFadeIn:0,lensFadeOut:0,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowHeight:e.getBoundingClientRect()?.height||300,cursor:"crosshair",zoomType:"window",lensShape:"square",scrollZoom:!0,loadingIcon:!1,borderSize:1,lensBorderSize:0,tint:!0,tintColour:"#000000",tintOpacity:.5,easing:!0};"undefined"!=typeof zoomConfig&&recon.apply(i,zoomConfig),!1!==recon.fireEvent("beforeElevatezoom",[i,e])&&(e.setAttribute("data-zoom-image",t),$(e).elevateZoom(i),recon.on("setFeatures",function(e){var t,i;"img"===e.tagName.toLowerCase()&&e.getAttribute("data-zoom-image")&&(t=e.src.replace(/\/media\/med_/,"/org/med_"),i=$(e).data("elevateZoom"),e.setAttribute("data-zoom-image",t),i.swaptheimage(e.src,t))}))})}.bind(o)),0<e.length&&LazyLoad.js(basepath+"_/scripts/extensionsmin/spin.js",function(){e.forEach(function(e){e.onclick=function(){return!1},e.addEventListener("click",function(){var e,t=Math.floor(10*Math.random())+1,i=Math.floor(10*Math.random())+1;msgBox("Frage","Wieviel ist "+t+" + "+i+'<br><br><input id="securitytest">',"okmodal",function(n){var o;e=Number(document.getElementById("securitytest").value),"ok"===n&&e===t+i?(o=new Spinner,Ext.get(document.body).mask(),o.spin(document.body),(Ext.get("pdfifr")||Ext.DomHelper.append(document.body,{tag:"iframe",style:"position:absolute;top:-1000px;left:-1000px;visibility:hidden;display:none;width:0;height:0;",id:"pdfifr"},!0)).dom.src=document.location.origin+document.location.pathname+"?_p="+this.dataset.param+"&_func=html2PDF&_eopb=1",window.setTimeout(function(){o.stop(),Ext.get(document.body).unmask()},3e3)):"ok"===n&&msgBox("Falsch","Die Antwort war leider falsch!","okmodal")}.bind(this))})})}),0<t.length&&(a=function(){t.forEach(function(e){for(var t=e.offsetWidth,i=50,n=[];i<=1950;)i<t&&n.push("gt"+i),t<i&&n.push("lt"+i),i===t&&n.push("lt"+i),i+=50;e.classList.forEach(function(t){t.match(/^gt\d+|lt\d+$/)&&e.classList.remove(t)}
1),n.forEach(t=>{e.classList.add(t)})})},(window.onresize=a)()),0<i.length&&"undefined"!=typeof Ext&&(recon.on("lightboxReady",function(){Ext.ux.Lightbox.register("a.lightbox",!0)}),LazyLoad.css(basepath+"_/styles/lightbox-min.css"),LazyLoad.js(basepath+"_/scripts/extensionsmin/lightbox.js")),0<n.length&&n.forEach(e=>{e.addEventListener("click",function(e){var t,i,n=this.getAttribute("data-tag"),o=document.location.pathname+"?",r=recon.parseUrl(),a=[];for([t,i]of(r.tag=encodeURIComponent(n),Object.entries(r)))a.push(t+"="+i);document.location.href=o+a.join("&")})}),document.querySelectorAll("*[rel^=ac_]").forEach(function(e){var t;"dp"===e.getAttribute("rel").split("_")[1]&&(t=e.querySelector("input"),convertDateBox(e.id,t.value,t.name,"d.m.Y"))}),Ext.select(".votingbox").each(function(e){e.on("mouseout",function(e,t){e=isFunction(e.getRelatedTarget)?e.getRelatedTarget():e.getTarget();Ext.fly(this).contains(e)||(e=t.id.split("_")[1],t=t.getAttribute("data-points"),setPointsOfVoting(Number(t),e))},e.dom),Ext.select("#"+e.dom.id+" a[class$=activestar]").each(function(e){e.on("mouseover",function(e,t){var i=(t=t.id.split("_"))[2];t=t[1];setPointsOfVoting(i,t)}),e.on("click",function(e,t){var i=Ext.fly(this.parentNode),n=i.select("a[class$=activestar]"),o=t.id.split("_")[1];o=Ext.get(o+"_result"),t=t.href+"&_func=vt";i.removeAllListeners(),n.removeAllListeners(),o.mask('<span class="loading-indicator">Lade...</span>'),o.load(t)},e.dom)})}),"undefined"!=typeof fbAppID&&"undefined"!=typeof fbchannelUrl&&"undefined"==typeof FB&&(window.fbAsyncInit=function(){FB.init({appId:fbAppID,channelUrl:fbchannelUrl,status:!0,cookie:!0,xfbml:!0})},(a=getEl("fb-root"))||((a=document.createElement("div")).id="fb-root",document.body.append(a)),LazyLoad.js("//connect.facebook.net/de_DE/all.js")),document.querySelectorAll("head").forEach(function(e){var t;e.querySelectorAll('link[href$=".ico"]').length||((t=document.createElement("link")).setAttribute("rel","icon"),t.setAttribute("href",basepath+"favicon.ico"),e.append(t))}),document.querySelectorAll("*[id=closeuserdata]").forEach(e=>{e.addEventListener("click",function(e){document.location.href=this.href})}),document.querySelectorAll(".frmelmcnt").forEach(function(e){let t,i,n=Number(e.getAttribute("data-maxchecks"));if(0<n&&(t=e.querySelector(".frmelmvalue"))){i=t.querySelectorAll("input");let e=function(){if(t.querySelectorAll("input:checked").length>n)return this.checked=!1};i.forEach(function(t){["checkbox","radio"].member(t.type)&&(t.onclick=e)})}}),document.querySelectorAll(".swiper-container").forEach(e=>{e.classList.add("swiper")}),getAutoTabs(),0<r&&(s={animation:"slide",bgColor:"#5cb85c",textColor:"#ffffff"},"undefined"==typeof Favico?LazyLoad.js(basepath+"_/scripts/extensionsmin/favico.js",function(){new Favico(s).badge(r)}):new Favico(s).badge(r)),document.querySelectorAll("*[data-onclick]").forEach(e=>{let t=new Function(e.dataset.onclick);e.addEventListener("click",i=>{var n=t.call(e);return!1===n&&(i.stopPropagation(),i.preventDefault()),n})}),document.querySelectorAll("*[data-onchange]").forEach(e=>{var t=new Function(e.dataset.onchange);e.addEventListener("change",t.bind(e))}),document.querySelectorAll("*[data-onmouseover]").forEach(e=>{var t=new Function(e.dataset.onmouseover);e.addEventListener("mouseover",t.bind(e))}),document.querySelectorAll("*[data-onmouseout]").forEach(e=>{var t=new Function(e.dataset.onmouseout);e.addEventListener("mouseout",t.bind(e))}),document.querySelectorAll("form[data-onsubmit]").forEach(e=>{var t=new Function(e.dataset.onsubmit);e.addEventListener("submit",t.bind(e))}),document.querySelectorAll('input[type="file"]').forEach(e=>{(e=e.closest("form"))&&(e.enctype="multipart/form-data")}),document.addEventListener("rgelement:initialized",e=>{if("rg-map"===e.detail?.element?.tagName.toLowerCase()&&"undefined"!=typeof klaro){let t=e.detail.element,i=(t.insertAdjacentHTML("afterEnd",'<div data-name="maps"></div>'),t.nextElementSibling);runOnLoad(()=>{var e=t.style.display;t.style.display="";let n=t.getBoundingClientRect(),o=(t.style.display=e,klaro.getManager().consents.maps||(t.style.display="none"),klaro.setup(),i.previousElementSibling),r=new MutationObserver(function(e){e.forEach(function(e){"attributes"===e.type&&"style"===e.attributeName&&(0<n.width&&0<n.height&&(o.style.height=n.height+"px",o.style.width=n.width+"px"),"none"===o.style.display?t.style.display="":t.style.display="none")})});0<n.width&&0<n.height&&(o.style.height=n.height+"px",o.style.width=n.width+"px"),t.classList.forEach(e
1=>{e.startsWith("gridcol-")&&o.classList.add(e)}),r.observe(o,{attributes:!0}),i.remove()})}}),document.querySelectorAll(sfcc([97,91,104,114,101,102,94,61,34,35,33,109,116,33,34,93])).forEach(e=>{e.addEventListener("mousedown",function(e){this.dataset.href=new URL(this.href).hash,this.href=sfcc([109,97,105,108,116,111,58])+window[sfcc([109,116,100,99])](new URL(this.href).hash.trim().replace("#!mt!",""),"mt")}),e.addEventListener("mouseup",function(e){setTimeout(()=>{this.href=this.dataset.href,this.removeAttribute("data-href")},100)})}),recon.fireEvent("scriptsLoaded")}"loading"===document.readyState?window.addEventListener("DOMContentLoaded",e):e(),runOnLoad(()=>{if("undefined"!=typeof klaro&&isFunction(klaro.getManager)){var e,t,i=klaro.getManager(),n=document.createElement("script",{is:"rg-data"});for([e,t]of(n.setAttribute("type","text/rg-data"),n.setAttribute("is","rg-data"),n.dataset.type="consent",Object.entries(i.consents))){var o=document.createElement(e);o.innerText=t,n.append(o)}document.head.appendChild(n),i.watch({update:function(e,t,i){"saveConsents"!==t&&"applyConsents"!==t||document.querySelectorAll('[is="rg-data"][data-type="consent"]').forEach(t=>{for(var[i,n]of Object.entries(e.consents))t.querySelector(i).textContent=n,document.dispatchEvent(new CustomEvent("consent:changed",{detail:{type:i,consent:n}}))})}})}}),runOnLoadFinish(tabActivate)})(),(()=>{function e(){var e=Object.fromEntries(o);sessionStorage.setItem("bh",btoa(JSON.stringify(e)))}let t=sessionStorage.getItem("bh"),i=atob(t),n=JSON.parse(t?i:"{}"),o=new Map([["c",n.c||0],["s",n.s||0],["k",n.k||0],["m",n.m||0],["u",n.u||[]]]);document.addEventListener("pointerdown",t=>{o.set("c",o.get("c")+1),e()}),document.addEventListener("keyup",t=>{o.set("k",o.get("k")+1),e()}),document.addEventListener("scroll",t=>{o.set("s",o.get("s")+1),e()}),document.addEventListener("mousemove",t=>{o.set("m",o.get("m")+1),e()}),recon.addBehaviour=function(e){e.on("submit",t=>{let i=e.el?.dom?.querySelector('input[name="_bh"]');i?i.setAttribute("value",sessionStorage.getItem("bh")):((i=document.createElement("input")).setAttribute("type","hidden"),i.setAttribute("name","_bh"),i.setAttribute("value",sessionStorage.getItem("bh")),e.el.dom.appendChild(i))})},runOnLoadFinish(()=>{var e,t,i=(e=>{let t=0,i=e.length;for(let n=0;n<i;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return t})(window.location.origin+window.location.pathname),n=o.get("u");for([e,t]of(n.includes(i)||(n.push(i),o.set("u",n)),Object.entries(recon.forms)))t.el&&t.el?.dom?.querySelector('*[rel="fcpt"]')&&recon.addBehaviour(t)})})();
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.