//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/script-min.js
(function(){var b=window.qxWeb.$$qx;b.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});b.$$packageData["0"]={locales:{},resources:{},translations:{C:{},en:{}}};(function(){b.Bootstrap.define("qx.bom.request.Script",{construct:function(){this.__AO();this.__AJ=b.Bootstrap.bind(this._onNativeLoad,this);this.__AK=b.Bootstrap.bind(this._onNativeError,this);this.__tv=b.Bootstrap.bind(this._onTimeout,this);this.__AL=document.head||document.getElementsByTagName("head")[0]||
document.documentElement;this._emitter=new b.event.Emitter;this.timeout=this.__AQ()?0:15E3},events:{readystatechange:"qx.bom.request.Script",error:"qx.bom.request.Script",loadend:"qx.bom.request.Script",timeout:"qx.bom.request.Script",abort:"qx.bom.request.Script",load:"qx.bom.request.Script"},members:{readyState:null,status:null,statusText:null,timeout:null,__AM:null,on:function(a,b,d){this._emitter.on(a,b,d);return this},open:function(a,c){this.__tq||(this.__AO(),this.__tx=null,this.__tn=c,this.__AT("qx.debug.io")&&
b.Bootstrap.debug(b.bom.request.Script,"Open native request with url: "+c),this._readyStateChange(1))},setRequestHeader:function(a,c){if(this.__tq)return null;var d={};if(1!==this.readyState)throw Error("Invalid state");d[a]=c;this.__tn=b.util.Uri.appendParamsToUrl(this.__tn,d);return this},send:function(){if(this.__tq)return null;var a=this.__AR(),c=this.__AL,d=this;0<this.timeout&&(this.__mL=window.setTimeout(this.__tv,this.timeout));this.__AT("qx.debug.io")&&b.Bootstrap.debug(b.bom.request.Script,
"Send native request");c.insertBefore(a,c.firstChild);window.setTimeout(function(){d._readyStateChange(2);d._readyStateChange(3)});return this},abort:function(){if(this.__tq)return null;this.__tx=!0;this.__AS();this._emit("abort");return this},_emit:function(a){this["on"+a]();this._emitter.emit(a,this)},onreadystatechange:function(){},onload:function(){},onloadend:function(){},onerror:function(){},onabort:function(){},ontimeout:function(){},getResponseHeader:function(a){if(this.__tq)return null;this.__AT("qx.debug")&&
b.Bootstrap.debug("Response header cannot be determined for requests made with script transport.");return"unknown"},getAllResponseHeaders:function(){if(this.__tq)return null;this.__AT("qx.debug")&&b.Bootstrap.debug("Response headers cannot be determined forrequests made with script transport.");return"Unknown response headers"},setDetermineSuccess:function(a){this.__AM=a},dispose:function(){var a=this.__AN;this.__tq||(a&&(a.onload=a.onreadystatechange=null,this.__AS()),this.__mL&&window.clearTimeout(this.__mL),
this.__tq=!0)},isDisposed:function(){return!!this.__tq},_getUrl:function(){return this.__tn},_getScriptElement:function(){return this.__AN},_onTimeout:function(){this.__AP();this.__AQ()||this._emit("error");this._emit("timeout");this.__AQ()||this._emit("loadend")},_onNativeLoad:function(){var a=this.__AN,c=this.__AM,d=this;if(!this.__tx){if("mshtml"===this.__AT("engine.name")&&9>this.__AT("browser.documentmode"))if(/loaded|complete/.test(a.readyState))this.__AT("qx.debug.io")&&b.Bootstrap.debug(b.bom.request.Script,
"Received native readyState: loaded");else return;this.__AT("qx.debug.io")&&b.Bootstrap.debug(b.bom.request.Script,"Received native load");c&&!this.status&&(this.status=c()?200:500);500===this.status&&this.__AT("qx.debug.io")&&b.Bootstrap.debug(b.bom.request.Script,"Detected error");this.__mL&&window.clearTimeout(this.__mL);window.setTimeout(function(){d._success();d._readyStateChange(4);d._emit("load");d._emit("loadend")})}},_onNativeError:function(){this.__AP();this._emit("error");this._emit("loadend")},
__AN:null,__AL:null,__tn:"",__AJ:null,__AK:null,__tv:null,__mL:null,__tx:null,__tq:null,__AO:function(){this.status=this.readyState=0;this.statusText=""},_readyStateChange:function(a){this.readyState=a;this._emit("readystatechange")},_success:function(){this.__AS();this.readyState=4;this.status||(this.status=200);this.statusText=""+this.status},__AP:function(){this.__AS();this.readyState=4;this.status=0;this.statusText=null},__AQ:function(){var a="mshtml"===this.__AT("engine.name")&&9>this.__AT("browser.documentmode"),
b="opera"===this.__AT("engine.name");return!(a||b)},__AR:function(){var a=this.__AN=document.createElement("script");a.src=this.__tn;a.onerror=this.__AK;a.onload=this.__AJ;"mshtml"===this.__AT("engine.name")&&9>this.__AT("browser.documentmode")&&(a.onreadystatechange=this.__AJ);return a},__AS:function(){var a=this.__AN;a&&a.parentNode&&this.__AL.removeChild(a)},__AT:function(a){if(b&&b.core&&b.core.Environment)return b.core.Environment.get(a);if("engine.name"===a)return b.bom.client.Engine.getName();
if("browser.documentmode"===a)return b.bom.client.Browser.getDocumentMode();if("qx.debug.io"==a)return!1;throw Error("Unknown environment key at this phase");}},defer:function(){b&&(b.core&&b.core.Environment)&&b.core.Environment.add("qx.debug.io",!1)}})})();(function(){b.Bootstrap.define("baselib.io.Script",{statics:{script:function(a){var c=new b.bom.request.Script;c.open("get",a);return c}},defer:function(a){qxWeb.$attachStatic({script:a.script})}})})()})();

//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/jsonp-min.js
(function(){var b=window.qxWeb.$$qx;b.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});b.$$packageData["0"]={locales:{},resources:{},translations:{C:{},en:{}}};(function(){b.Bootstrap.define("baselib.io.Jsonp",{statics:{jsonp:function(){return new b.bom.request.Jsonp}},defer:function(a){qxWeb.$attachStatic({jsonp:a.jsonp});window.qx=window.qx||{};window.qx.bom=window.qx.bom||{};window.qx.bom.request=window.qx.bom.request||{};window.qx.bom.request.Jsonp=window.qxWeb.$$qx.bom.request.Jsonp}})})();
(function(){b.Bootstrap.define("qx.bom.request.Jsonp",{extend:b.bom.request.Script,construct:function(){b.bom.request.Script.apply(this);this.__MG()},members:{responseJson:null,__kd:null,__Gi:null,__MA:null,__MB:null,__MC:null,__MD:null,__tq:null,__ME:"",open:function(a,c){if(!this.__tq){var d={},e,f,g=this;this.responseJson=null;this.__MB=!1;e=this.__Gi||"callback";f=this.__MA||this.__ME+"qx.bom.request.Jsonp."+this.__kd+".callback";this.__MA?window[this.__MA]||(this.__MC=!0,window[this.__MA]=function(a){g.callback(a)}):
this.constructor[this.__kd]=this;d[e]=f;this.__MD=c=b.util.Uri.appendParamsToUrl(c,d);this.__nC("open",[a,c])}},callback:function(a){this.__tq||(this.__MB=!0,this.responseJson=a,this.constructor[this.__kd]=void 0,this.__MF())},setCallbackParam:function(a){this.__Gi=a;return this},setCallbackName:function(a){this.__MA=a;return this},setPrefix:function(a){this.__ME=a},getGeneratedUrl:function(){return this.__MD},dispose:function(){this.__MF();this.__nC("dispose")},_onNativeLoad:function(){this.status=
this.__MB?200:500;this.__nC("_onNativeLoad")},__MF:function(){this.__MC&&window[this.__MA]&&(window[this.__MA]=void 0,this.__MC=!1)},__nC:function(a,c){b.bom.request.Script.prototype[a].apply(this,c||[])},__MG:function(){this.__kd="qx"+(new Date).valueOf()+(""+Math.random()).substring(2,5)}}})})()})();

//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/transition-min.js
(function(){var g=window.qxWeb.$$qx;g.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});g.$$packageData["0"]={locales:{},resources:{},translations:{}};(function(){function a(a,b,c,d){this.get=function(f){if(a==b&&c==d)return f;a:{for(var e=f,g=0;4>g;++g){var k=3*(1-3*c+3*a)*e*e+2*(3*c-6*a)*e+3*a;if(0===k){f=e;break a}e-=((((1-3*c+3*a)*e+(3*c-6*a))*e+3*a)*e-f)/k}f=e}return(((1-3*d+3*b)*f+(3*d-6*b))*f+3*b)*f}}qxWeb.define("baselib.Transition",{extend:g.event.Emitter,construct:function(a,
b,c,d){this.__vb=16;d=baselib.Transition.timing[d]||baselib.Transition.timing.linear;this.setOptions(a,b,c,d)},statics:{timing:{snap:new a(0,1,0.5,1),ease:new a(0.25,0.1,0.25,1),linear:new a(0,0,1,1),easeIn:new a(0.42,0,1,1),easeOut:new a(0,0,0.58,1),easeInOut:new a(0.42,0,0.58,1),easeInQuad:new a(0.55,0.085,0.68,0.53),easInSine:new a(0.47,0,0.745,0.715),easeInCubic:new a(0.55,0.055,0.675,0.19),easeOutCubic:new a(0.215,0.61,0.355,1),easeInOutCubic:new a(0.645,0.045,0.355,1),easeInCirc:new a(0.6,0.04,
0.98,0.335),easeOutCirc:new a(0.075,0.82,0.165,1),easeInOutCirc:new a(0.785,0.135,0.15,0.86),easeInExpo:new a(0.95,0.05,0.795,0.035),easeOutExpo:new a(0.19,1,0.22,1),easeInOutExpo:new a(1,0,0,1),easeOutQuad:new a(0.25,0.46,0.45,0.94),easeInOutQuad:new a(0.455,0.03,0.515,0.955),easeInQuart:new a(0.895,0.03,0.685,0.22),easeOutQuart:new a(0.165,0.84,0.44,1),easeInOutQuart:new a(0.77,0,0.175,1),easeInQuint:new a(0.755,0.05,0.855,0.06),easeOutQuint:new a(0.23,1,0.32,1),easeInOutQuint:new a(0.86,0,0.07,
1),easeOutSine:new a(0.39,0.575,0.565,1),easeInOutSine:new a(0.445,0.05,0.55,0.95),easeInBack:new a(0.6,-0.28,0.735,0.045),easeOutBack:new a(0.175,0.885,0.32,1.275),easeInOutBack:new a(0.68,-0.55,0.265,1.55)}},events:{progress:"qx.event.Emitter",end:"qx.event.Emitter",cancel:"qx.event.Emitter"},members:{__Se:0,__pi:0,__Sf:0,__Sg:0,__Sh:0,__Si:0,__Sj:null,__Sk:!1,__dJ:null,__rO:!1,__Sl:null,__Sm:0,__vb:0,setTiming:function(h,b){if(b){var c=h.match(/cubic-bezier\((.*?)\)/);c?(c=RegExp.$1.split(",").map(function(a){return parseFloat(a)}),
this.__Sj=new a(c[0],c[1],c[2],c[3])):this.__Sj=baselib.Transition.timing.linear}else this.__Sj=baselib.Transition.timing[h]||baselib.Transition.timing.linear},setOptions:function(a,b,c,d){d=baselib.Transition.timing[d]||baselib.Transition.timing.linear;this.__Sf=a;this.__Sg=b;this.__Sh=c;this.__Se=this.__Sg-this.__Sf;this.__Sj=d;this.__rO=!0},reset:function(){this.__Sj=this.__Se=this.__Sh=this.__Sg=this.__Sf=null;this.__rO=!1},setFrameTime:function(a){this.__vb=a},__Sn:function(a){var b=(new Date).getTime();
return this.__dJ=window.setTimeout(function(){a(b)},this.__vb)},__So:function(a){a-=this.__pi;var b=this.__Sj.get(a/this.__Sh),b=parseFloat(b.toFixed(2));this.__Sm=1<b?1:b;var c=this.__Sf+this.__Se*b;this.__Sl=parseFloat(c.toFixed(2));a<this.__Sh?(this.__Sn(this.__So.bind(this)),this.emit("progress",{progress:b,value:c})):(window.clearTimeout(this.__dJ),this.__Sk=!1,this.emit("progress",{progress:b,value:this.__Sg}),this.emit("end",{progress:b,value:this.__Sg}))},isRunning:function(){return this.__Sk},
start:function(){this.cancel();this.__rO&&(this.__pi=(new Date).getTime(),this.__Sk=!0,this.__So(this.__pi))},cancel:function(){this.isRunning()&&(window.clearTimeout(this.__dJ),this.__dJ=null,this.__Sk=!1,this.emit("cancel",{progress:this.__Sm,value:this.__Sl}),this.reset())}}})})()})();

//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/dataset-min.js
(function(){var c=window.qxWeb.$$qx;c.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});c.$$packageData["0"]={locales:{},resources:{},translations:{C:{},en:{}}};(function(){c.Bootstrap.define("qx.module.Dataset",{statics:{setData:function(a,b){this._forEachElement(function(d){c.bom.element.Dataset.set(d,a,b)});return this},getData:function(a){if(this[0]&&1===this[0].nodeType)return c.bom.element.Dataset.get(this[0],a)},getAllData:function(){return this[0]&&1===this[0].nodeType?
c.bom.element.Dataset.getAll(this[0]):{}},removeData:function(a){this[0]&&1===this[0].nodeType&&c.bom.element.Dataset.remove(this[0],a);return this}},defer:function(a){qxWeb.$attach({getData:a.getData,setData:a.setData,removeData:a.removeData,getAllData:a.getAllData})}})})();(function(){c.Bootstrap.define("qx.bom.element.Dataset",{statics:{set:function(a,b,d){a.dataset?(b=c.lang.String.camelCase(b),null==d?delete a.dataset[b]:a.dataset[b]=d):(void 0===d&&(d=null),c.bom.element.Attribute.set(a,"data-"+
c.lang.String.hyphenate(b),d))},get:function(a,b){if(a.dataset)return b=c.lang.String.camelCase(b),a.dataset[b]?a.dataset[b]:void 0;var d="data-"+c.lang.String.hyphenate(b);return a.hasAttribute(d)?c.bom.element.Attribute.get(a,d):void 0},getAll:function(a){if(a.dataset)return a.dataset;for(var b={},d=a.attributes,e=0;e<d.length;e++)d[e].name.match(/^data-(.*)/)&&(b[c.lang.String.camelCase(RegExp.$1)]=a.getAttribute(d[e].name));return b},remove:function(a,b){this.set(a,b,void 0)}}})})()})();

//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/widget-min.js
(function(){var e=window.qxWeb.$$qx;e.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});e.$$packageData["0"]={locales:{},resources:{},translations:{C:{},en:{}}};(function(){e.Bootstrap.define("qx.ui.website.Widget",{extend:qxWeb,statics:{widget:function(){var a=new e.ui.website.Widget(this);a.init();return a},create:function(a){return new e.ui.website.Widget(qxWeb.create(a))},$onFirstCollection:function(a,b,c,d){var f=this.classname.replace(/\./g,"-")+"-context";this.getProperty(f)||
this.setProperty(f,c);c=this.getProperty(f);if(!this.hasListener(a,b,c))this.on(a,b,c,d);return this},$offFirstCollection:function(a,b,c,d){var f=this.classname.replace(/\./g,"-")+"-context";this._forEachElementWrapped(function(c){var e=c.getProperty(f);c.off(a,b,e,d)});return this},initWidgets:function(a){var b=qxWeb("*[data-qx-class]");a&&(b=b.filter(a));b._forEachElementWrapped(function(a){a.init()})}},construct:function(a,b){var c=qxWeb.call(this,a,b);Array.prototype.push.apply(this,Array.prototype.slice.call(c,
0,c.length))},members:{__bY:null,init:function(){if(this.getProperty("$$qx-widget-initialized"))return!1;this.setAttribute("data-qx-class",this.classname);this.addClass("qx-widget");this.addClass(this.getCssPrefix());this.setProperty("$$qx-widget-initialized",!0);return!0},getCssPrefix:function(){if(!this.__bY){var a=this.classname.split(".");this.__bY="qx-"+a[a.length-1].toLowerCase()}return this.__bY},setEnabled:function(a){this.setAttribute("disabled",!a);this.find("*").setAttribute("disabled",
!a);return this},getEnabled:function(){return!this.getAttribute("disabled")},setTemplate:function(a,b){return this._setData("templates",a,b)},setConfig:function(a,b){return this._setData("config",a,b)},_setData:function(a,b,c){this.forEach(function(d){d[a]||(d[a]={});d[a][b]=c});return this},getTemplate:function(a){return this._getData("templates",a)},getConfig:function(a){return this._getData("config",a)},_getData:function(a,b){var c=this.getProperty(a),d;c&&(d=c[b]);if(void 0===d&&"config"==a){c=
"qx"+qxWeb.string.firstUp(a)+qxWeb.string.firstUp(b);d=this.getData(c);if(!this[0]||!this[0].dataset&&null===d)d=void 0;try{d=JSON.parse(d)}catch(e){}}return void 0===d&&this.constructor["_"+a]?this.constructor["_"+a][b]:d},render:function(){return this},dispose:function(){this.removeAttribute("data-qx-class");this.setProperty("config",void 0);this.setProperty("templates",void 0);var a=this.classname.replace(/\./g,"-")+"-context";this.setProperty(a,void 0);this.setProperty("$$qx-widget-initialized",
void 0);this.removeClass("qx-widget");this.removeClass(this.getCssPrefix());for(var b in this.constructor.$$events)this.allOff(b);return qxWeb.$init(this,qxWeb)}},defer:function(a){qxWeb.$attach({$onFirstCollection:a.$onFirstCollection,$offFirstCollection:a.$offFirstCollection,widget:a.widget});qxWeb.$attachStatic({initWidgets:a.initWidgets})}})})()})();

//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/scroller-min.js
(function(){var k=window.qxWeb.$$qx;k.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});k.$$packageData["0"]={locales:{},resources:{},translations:{}};(function(){k.Bootstrap.define("baselib.Scroller",{extend:k.ui.website.Widget,construct:function(a,b){k.ui.website.Widget.call(this,a,b)},events:{scrollstart:"qx.event.Emitter",scroll:"qx.event.Emitter",scrollend:"qx.event.Emitter",boundary:"qx.event.Emitter",bouncestart:"qx.event.Emitter",bounceend:"qx.event.Emitter"},
statics:{_config:{vScroll:!0,vScrollbar:{enabled:!0,topOffset:0,bottomOffset:0,leftPosition:"auto"},hScroll:!1,hScrollbar:{enabled:!0,leftOffset:0,rightOffset:0,topPosition:"auto"},wheelFactor:{x:60,y:60,duration:300},bounce:!0,momentum:!0,useTransform:!0,useTransition:!1,timingFunction:"cubic-bezier(0.33,0.66,0.66,1)",minX:0.25,maxX:0.25,minY:0.25,maxY:0.25,deceleration:6E-4,maxScrollFactor:1.5},__Sp:"qx-scroller-vscrollbarwrapper qxVScrollbarWrapper",__Sq:"qx-scroller-hscrollbarwrapper qxHScrollbarWrapper",
__Sr:"qx-scroller-vscrollbar qxVScrollbar",__Ss:"qx-scroller-hscrollbar qxHScrollbar",__St:"qx-scroller-element",__Su:qxWeb.env.get("event.touch"),__Sv:qxWeb.env.get("css.transition"),scroller:function(a){var b=new baselib.Scroller(this);if(a){"undefined"==typeof a.vScroll&&a.hScroll&&(a.vScroll=!1);b.setProperty("__render",!1);for(var c in a)b.setConfig(c,a[c])}b.init();b.render();return b}},members:{init:function(){if(!k.ui.website.Widget.prototype.init.call(this))return!1;this._forEachElementWrapped(function(a){a.setProperty("__render",
!0);a.setProperty("__enabled",!0);a.setProperty("__scrollbarPos",{vertical:{x:0,y:0},horizontal:{x:0,y:0}});a.setProperty("__scrollbarStartPos",{vertical:{x:0,y:0},horizontal:{x:0,y:0}});var b=qxWeb(a[0].children[0]);a.setProperty("__wrapper",a);a.setProperty("__scroller",b);a.__NR(b,baselib.Scroller.__St);a.__iL();a.__Sw()});return!0},render:function(){var a=this.__NW("useTransition"),b=!1;"undefined"!=typeof a&&(!0===a&&!1===this.getConfig("useTransition"))&&(b=!0);this.__NV();var c,d,e,f,g,h;this._forEachElementWrapped(function(a){d=
a.getProperty("__scroller");b&&this.__Rc(baselib.Scroller.__Sv.name);g=a.__NW("vScrollbar");h=a.__NW("hScrollbar");c=a.getProperty("__wrapper");f=c[0].getBoundingClientRect();e=d[0].getBoundingClientRect();a.setProperty("__wrapperRect",f);a.setProperty("__scrollerRect",e);a.setProperty("__maxScroll",{x:f.width-e.width,y:f.height-e.height});a.setProperty("__boundaries",{maxX:a.__NW("maxX")*f.width,maxY:a.__NW("maxY")*f.height,minX:-e.width+f.width*(1-a.__NW("minX")),minY:-e.height+f.height*(1-a.__NW("minY"))});
a.setProperty("__availableWrapperHeight",f.height-g.topOffset-g.bottomOffset);a.setProperty("__availableWrapperWidth",f.width-h.leftOffset-h.rightOffset);a.setProperty("__hScroll",this.__NW("hScroll")&&0>this.getProperty("__maxScroll").x);a.setProperty("__vScroll",this.__NW("vScroll")&&e.height>f.height);!1===this.__NW("useTransition")&&d.setStyle("TransitionDuration","0s");a.__SF(200);a.__SG(a.getProperty("__hScroll"),a.getProperty("__vScroll"));a.__SO();a.setProperty("__rendered",!0)});return this},
setConfig:function(a,b){"Object"===qxWeb.type.get(b)&&(b=qxWeb.object.merge(baselib.Scroller._config[a],b));k.ui.website.Widget.prototype.setConfig.call(this,a,b);return this},setOption:function(a,b){if(this.__SU(a))if(typeof b==typeof this.getConfig(a)){if("object"==typeof b){var c=baselib.Scroller._config[a],d;for(d in c)"undefined"==typeof b[d]?b[d]=c[d]:typeof b[d]!=typeof c[d]&&qxWeb.debug("Wrong option type for "+a+"["+d+"]. Expected :"+typeof b[d])}this.setConfig(a,b);this.getProperty("__render")&&
this.render()}else qxWeb.debug("Wrong option type for "+a+". Expected :"+typeof this.getConfig(a));else qxWeb.debug("Option "+a+" not found !");return this},setOptions:function(a){this.setProperty("__render",!1);for(var b in a)this.setOption(b,a[b],!1);this.setProperty("__render",!0);this.init()||this.render();return this},getPosition:function(){var a=this.__SV(this.eq(0).getProperty("__scroller"));return{x:parseFloat(a[0].toFixed(2)),y:parseFloat(a[1].toFixed(2))}},getOption:function(a){return this.__NW(a)},
scrollTo:function(a,b,c){c=c||0;this._forEachElementWrapped(function(d){var e=a,f,g;d.stop();f=d.__Tg(a,b);a=f.x;b=f.y;e.length||(e=[{x:a,y:b,time:c}]);f=0;for(g=e.length;f<g;f++)d.getProperty("__steps").push({x:e[f].x,y:e[f].y,time:e[f].time||0});0===c?this.__SW(a,b):d.__Ti()});return this},scrollToElement:function(a,b){a=qxWeb(a);var c=null;this._forEachElementWrapped(function(d){c=d.getProperty("__scroller");for(var e=0;e<a.length;e++)if(qxWeb(a[e]).isChildOf(c)){var f=d.__NW("hScroll")?d.__SD(a[e],
c[0]):d.getProperty("__x"),e=d.__NW("vScroll")?d.__SE(a[e],c[0]):d.getProperty("__y");d.scrollTo(-f,-e,b);break}});return this},refresh:function(){this.render();return this},stop:function(){this._forEachElementWrapped(function(a){this.getConfig("useTransition")?a.__SY():qxWeb.EVENT.animation.cancelFrame(a.getProperty("__aniTime"));a.setProperty("__steps",[]);a.setProperty("__scrollerMoved",!1);a.setProperty("__animating",!1);a.__dk("stop",a.getPosition())});return this},disable:function(){this._forEachElementWrapped(function(a){a.getProperty("__enabled")&&
(a.stop(),a.__SF(0),a.setProperty("__enabled",!1),a.__SB(),a.__SI())});return this},enable:function(){this._forEachElementWrapped(function(a){if(!a.getProperty("__enabled")){var b=a.__NW("vScrollbar"),c=a.getProperty("__vScrollbar"),d=a.getProperty("__hScrollbar"),e=a.__NW("hScrollbar");a.setProperty("__enabled",!0);a.__iL();b.enabled&&c&&a.__SH(c,a.getProperty("__vScrollbarWrapper"));e.enabled&&d&&a.__SH(d,a.getProperty("__hScrollbarWrapper"))}});return this},__NR:function(a,b){b.split(" ").forEach(function(b){a.addClass(b)})},
__Sw:function(){var a=qxWeb.env.get("css.transform"),b="transform";a&&(b=k.bom.Style.getCssName(a.name));this.setProperty("__x",0);this.setProperty("__y",0);a=this.getProperty("__scroller");this.getConfig("useTransition")&&(b=this.getConfig("useTransform")?b:"top left",a.setStyle("transition-property",b),a.setStyle("transition-duration","0s"),a.setStyle("transform-origin","0 0"),a.setStyle("transition-timing-function",this.getConfig("timingFunction")));this.getConfig("useTransform")?a.setStyles({transform:this.__SA(0,
0),position:"absolute"}):this.getProperty("__scroller").setStyles({position:"absolute",left:"0px",top:"0px"});this.setProperty("__boundary",!1)},__Sx:function(a){return qxWeb.env.get("event.mspointer")?["LEFT","MIDDLE","RIGHT"][a.button]:!baselib.Scroller.__Su&&a.getButton?a.getButton().toUpperCase():"LEFT"},__Sy:function(a){var b=this.getProperty("__vScrollbar"),c=this.getProperty("__hScrollbar");return b&&b[0]&&a==b[0]||c&&c[0]&&a==c[0]},__Sz:function(a){if(this.getProperty("__scrollerMoved")&&
!this.getProperty("__animating")){var b=a.getRelatedTarget();b?!this.__Sy(b)&&qxWeb(b).isChildOf(this.getProperty("__scroller"))||this.__Te(this.getProperty("__moveEventHandler"),a):this.__Te(this.getProperty("__moveEventHandler"),a)}},__SA:function(a,b){var c="translate"+(qxWeb.env.canTransform3d()?"3d(":"("),d=qxWeb.env.canTransform3d()?", 0px)":")";return c+a+"px, "+b+"px"+d+" scale(1)"},__Pa:function(a){a.touches&&1<a.touches.length&&this.setProperty("__multipleStart",!0)},__Pb:function(a){a.touches&&
1<a.touches.length?this.setProperty("__multipleMove",!0):a.preventDefault()},__Pc:function(a){0===a.touches.length&&(this.setProperty("__multipleStart",!1),this.setProperty("__multipleMove",!1))},__iL:function(){var a=this.getProperty("__scroller");baselib.Scroller.__Su&&(a.on("touchstart",this.__Pa,this),a.on("touchmove",this.__Pb,this),a.on("touchend",this.__Pc,this));qxWeb(document).on("pointerdown",this.__SC,this);qxWeb(window).on(qxWeb.EVENT.resize,this.refresh,this);a.on("pointerdown",this.__mH,
this);if(!baselib.Scroller.__Su)a.on("pointerout",this.__Sz,this);qxWeb(window).on("pointerout",this.__Sz,this)},__SB:function(){var a=this.getProperty("__scroller");qxWeb(document).off("pointerdown",this.__SC,this);qxWeb(window).off(qxWeb.EVENT.resize,this.refresh,this);a.off("pointerdown",this.__mH,this);qxWeb(window).off("pointerout",this.__Sz,this);baselib.Scroller.__Su?(a.off("touchstart",this.__Pa,this),a.off("touchmove",this.__Pb,this),a.off("touchend",this.__Pc,this)):a.off("pointerout",this.__Sz,
this)},__SC:function(){this.setProperty("__scrollbarMoved",!1)},__SD:function(a,b){var c=0;if(a.offsetParent)for(;a.offsetParent&&(c+=a.offsetLeft,a=a.offsetParent,a!=b&&!qxWeb(b).isChildOf(qxWeb(a))););else a.x&&(c+=a.x);return c},__SE:function(a,b){var c=0;if(a.offsetParent)for(;a.offsetParent&&(c+=a.offsetTop,a=a.offsetParent,a!=b&&!qxWeb(b).isChildOf(qxWeb(a))););else a.y&&(c+=a.y);return c},__dk:function(a,b){b.target=this.getProperty("__scroller")[0];this.emit(a,b)},__SF:function(a){var b=this.getProperty("__x"),
c=this.getProperty("__y"),d=this.getProperty("__maxScroll"),e=0<=b?0:b<d.x?d.x:b,d=0<=c||0<d.y?0:c<d.y?d.y:c;e==b&&d==c?this.getProperty("__scrollerMoved")&&(this.__dk("scrollend",{x:e,y:d}),this.setProperty("__scrollerMoved",!1)):this.scrollTo(e,d,a||0)},__SG:function(a,b){var c=this.__NW("hScrollbar"),d=this.__NW("vScrollbar"),e=this.getProperty("__vScrollbar"),f=this.getProperty("__hScrollbar");c.enabled?a&&!f&&(f=qxWeb.create("<div></div>"),c=qxWeb.create("<div></div>"),this.__NR(f,baselib.Scroller.__Ss),
this.__NR(c,baselib.Scroller.__Sq),f.setStyles({position:"absolute",zIndex:"1"}),f.$$type="horizontal",this.setProperty("__hScrollbarWrapper",c),this.setProperty("__hScrollbar",f),f.appendTo(c),c.appendTo(this.getProperty("__wrapper")),this.__SH(f,c)):f&&(this.__SI(f,this.getProperty("__hScrollbarWrapper")),this.getProperty("__hScrollbarWrapper").remove(),this.setProperty("__hScrollbar",null),this.setProperty("__hScrollbarWrapper",null));d.enabled?b&&!e&&(e=qxWeb.create("<div></div>"),d=qxWeb.create("<div></div>"),
this.__NR(e,baselib.Scroller.__Sr),this.__NR(d,baselib.Scroller.__Sp),e.setStyles({position:"absolute",zIndex:"1"}),e.$$type="vertical",this.setProperty("__vScrollbarWrapper",d),this.setProperty("__vScrollbar",e),e.appendTo(d),d.appendTo(this.getProperty("__wrapper")),this.__SH(e,d)):e&&(this.__SI(e,this.getProperty("__vScrollbarWrapper")),this.getProperty("__vScrollbarWrapper").remove(),this.setProperty("__vScrollbar",null),this.setProperty("__vScrollbarWrapper",null))},__SH:function(a,b){var c=
this.__SL.bind(this,a),d=this.__SK.bind(this,a),e=this.__SJ.bind(this,a);this.setProperty("__scrollbarStartHandler",c);this.setProperty("__wrapperTapHandler",d);this.setProperty("__mouseWheelHandler",e);a.on("pointerdown",c,this);this.getProperty("__wrapper").on(k.bom.client.Event.getMouseWheel().type,e,this);b.on("tap",d,this)},__SI:function(){var a=this.getProperty("__hScrollbar"),b=this.getProperty("__vScrollbar"),c=this.getProperty("__wrapper");a&&(a.off("pointerdown",this.getProperty("__scrollbarStartHandler"),
this),this.getProperty("__hScrollbarWrapper").off("tap",this.getProperty("__wrapperTapHandler"),this));b&&(b.off("pointerdown",this.getProperty("__scrollbarStartHandler"),this),this.getProperty("__vScrollbarWrapper").off("tap",this.getProperty("__wrapperTapHandler"),this));c.off(k.bom.client.Event.getMouseWheel().type,this.getProperty("__mouseWheelHandler"),this)},__SJ:function(a,b){var c=this.__NW("wheelFactor");b.preventDefault();this.stop();var d=this.getProperty("__x")-k.util.Wheel.getDelta(b,
"x")*c.x,e=this.getProperty("__y")-k.util.Wheel.getDelta(b,"y")*c.y;"vertical"==a.$$type?this.scrollTo(this.getProperty("__x"),e,c.duration):this.scrollTo(d,this.getProperty("__y"),c.duration)},__SK:function(a,b){if(!this.getProperty("__scrollbarMoved")){this.stop();var c=b.getTarget(),d=this.getProperty("__hScrollbar"),e=this.getProperty("__vScrollbar"),f=this.getProperty("__wrapper");e&&c==e[0]||d&&c==d[0]||(c=this.__SR(b.getDocumentLeft()-f.getOffset().left-this.__NW("hScrollbar").leftOffset),
f=this.__SQ(b.getDocumentTop()-f.getOffset().top-this.__NW("vScrollbar").topOffset),"vertical"==a.$$type?this.scrollTo(this.getProperty("__x"),-f*(1/this.getProperty("__vratio")),0):this.scrollTo(-c*(1/this.getProperty("__hratio")),this.getProperty("__y"),0))}},__SL:function(a,b){b.preventDefault();b.stopPropagation();this.stop();var c=baselib.Scroller.__Su?b.touches[0]:b;this.setProperty("__SL",{x:c.clientX,y:c.clientY});c=this.__SV(a);this.getProperty("__scrollbarPos")[a.$$type].x=c[0];this.getProperty("__scrollbarPos")[a.$$type].y=
c[1];c=this.__SM.bind(this,a);qxWeb(document).on("pointermove",c,this);qxWeb(document).once("pointerup",this.__SN.bind(this,c),this)},__SM:function(a,b){b.preventDefault();b.stopPropagation();this.setProperty("__scrollbarMoved",!0);var c=baselib.Scroller.__Su?b.touches[0]:b,d=c.clientX-this.getProperty("__SL").x,c=c.clientY-this.getProperty("__SL").y,d=this.getProperty("__scrollbarPos")[a.$$type].x+d,c=this.getProperty("__scrollbarPos")[a.$$type].y+c;"vertical"==a.$$type?0<c&&c<this.getProperty("__wrapperRect").height-
this.getProperty("__vheight")&&this.scrollTo(this.getProperty("__x"),-c*(1/this.getProperty("__vratio")),0):0<d&&d<this.getProperty("__wrapperRect").width-this.getProperty("__hwidth")&&this.scrollTo(-d*(1/this.getProperty("__hratio")),this.getProperty("__y"),0)},__SN:function(a,b){qxWeb(document).off("pointermove",a,this)},__SO:function(){var a=this.getProperty("__scrollerRect"),b=this.getProperty("__wrapperRect"),c=this.getProperty("__hScrollbarWrapper"),d=this.getProperty("__vScrollbarWrapper"),
e=this.getProperty("__maxScroll"),f=this.getProperty("__vScrollbar"),g=this.getProperty("__hScrollbar");if(g){var h=this.__NW("hScrollbar"),l=this.getProperty("__availableWrapperWidth")/a.width;this.setProperty("__hratio",l);1<=l?(this.setProperty("__hratio",1),c.addClass("inactive")):c.hasClass("inactive")&&c.removeClass("inactive");this.setProperty("__hwidth",Math.round(this.getProperty("__availableWrapperWidth")*l));g.setStyle("width",this.getProperty("__hwidth")+"px");c=b.width-h.rightOffset-
this.getProperty("__hwidth");this.setProperty("__hratio",(h.leftOffset-c)/e.x);this.setProperty("__hScrollbarRect",g[0].getBoundingClientRect())}f&&(g=this.__NW("vScrollbar"),this.setProperty("__vratio",this.getProperty("__availableWrapperHeight")/a.height),a=this.getProperty("__vratio"),1<=a?(this.setProperty("__vratio",1),d.addClass("inactive")):d.hasClass("inactive")&&d.removeClass("inactive"),this.setProperty("__vheight",Math.round(this.getProperty("__availableWrapperHeight")*a)),f.setStyle("height",
this.getProperty("__vheight")+"px"),b=b.height-g.bottomOffset-this.getProperty("__vheight"),this.setProperty("__vratio",(g.topOffset-b)/e.y),this.setProperty("__vScrollbarRect",f[0].getBoundingClientRect()));this.__ST()},__SP:function(a){var b=this.getProperty("__hScrollbar");a=void 0!==a?a:this.getProperty("__x");a=-Math.round(a*this.getProperty("__hratio"));var c=this.getProperty("__wrapperRect").height-this.getProperty("__hScrollbarRect").height;a=this.__SR(a);isNaN(a)||isNaN(c)||(this.__NW("useTransform")?
"custom"==this.__NW("hScrollbar").topPosition?b.setStyle("transform","translateX("+a+"px)"):b.setStyle("transform",this.__SA(a,c)):(b.setStyle("left",a+"px"),"auto"==this.__NW("hScrollbar").topPosition?b.setStyle("top",c+"px"):b.setStyle("top","")))},__SQ:function(a){var b=this.__NW("vScrollbar");a+=b.topOffset;b=b.topOffset+this.getProperty("__availableWrapperHeight")-this.getProperty("__vheight");a=0>a?0:a;return a>b?b:a},__SR:function(a){var b=this.__NW("hScrollbar");a+=b.leftOffset;b=b.leftOffset+
this.getProperty("__availableWrapperWidth")-this.getProperty("__hwidth");a=0>a?0:a;return a>b?b:a},__NV:function(){for(var a in baselib.Scroller._config)this.setProperty("__$$scroller_"+a,this.getConfig(a))},__NW:function(a){return this.getProperty("__$$scroller_"+a)},__SS:function(a){var b=this.getProperty("__vScrollbar");a=void 0!==a?a:this.getProperty("__y");a=this.__SQ(-Math.round(a*this.getProperty("__vratio")));var c=this.getProperty("__wrapperRect").width-this.getProperty("__vScrollbarRect").width;
isNaN(a)||isNaN(c)||(this.__NW("useTransform")?"custom"==this.__NW("vScrollbar").leftPosition?b.setStyle("transform","translateY("+a+"px)"):b.setStyle("transform",this.__SA(c,a)):(b.setStyle("top",a+"px"),"auto"==this.__NW("vScrollbar").leftPosition?b.setStyle("left",c+"px"):b.setStyle("left","")))},__ST:function(a,b){this.getProperty("__vScrollbar")&&this.__SS(b);this.getProperty("__hScrollbar")&&this.__SP(a)},__SU:function(a){return"undefined"!=typeof baselib.Scroller._config[a]},__SV:function(a){var b=
0,c=0;if(this.__NW("useTransform")){var d=null;if(d=a.getStyle("transform").match(/matrix\((.*?)\)/))d=RegExp.$1.split(","),b=Number(d[4]),c=Number(d[5]);else if(d=a.getStyle("transform").match(/matrix3d\((.*?)\)/))d=RegExp.$1.split(","),b=Number(d[12]),c=Number(d[13])}else b=parseInt(a.getStyle("left"),10),c=parseInt(a.getStyle("top"),10);return[b,c]},__SW:function(a,b){a=this.getProperty("__hScroll")?a:0;b=this.getProperty("__vScroll")?b:0;a=Math.floor(a);b=Math.floor(b);var c=this.getProperty("__scroller");
this.__NW("useTransform")?c.setStyle("transform",this.__SA(a,b)):c.setStyles({left:a+"px",top:b+"px"});this.__ST(a,b);this.setProperty("__x",a);this.setProperty("__y",b);this.__dk("scroll",{x:a,y:b})},__SX:function(a){this.getProperty("__scroller").setStyle("transition-duration",0.001*a+"s");this.getProperty("__vScrollbar")&&this.getProperty("__vScrollbar").setStyle("transition-duration",0.001*a+"s");this.getProperty("__hScrollbar")&&this.getProperty("__hScrollbar").setStyle("transition-duration",
0.001*a+"s");0===a&&(a=this.getPosition(),this.__SW(a.x,a.y))},__SY:function(){var a=this.getProperty("__transition");a&&a.isRunning()&&a.cancel();this.__SX(0)},__mH:function(a){if(this.getProperty("__rendered")&&"LEFT"===this.__Sx(a)&&!this.getProperty("__multipleStart")){var b=this.getProperty("__scroller");if(this.getProperty("__enabled")){this.setProperty("__startTime",(new Date).getTime());this.setProperty("__scrollingDirection",null);this.__NW("useTransition")&&this.__SY();this.setProperty("__boundary",
!1);this.setProperty("__scrollerMoved",!1);this.setProperty("__animating",!1);var c=this.__SV(b);!this.__NW("momentum")||c[0]==this.getProperty("__x")&&c[1]==this.getProperty("__y")||(this.__NW("useTransition")?b[0].removeEventListener(qxWeb.EVENT.transitionEnd,this.__cY):qxWeb.EVENT.animation.cancelFrame(this.aniTime),this.setProperty("__steps",[]),this.__SW(c[0],c[1]));var d={x:a.clientX,y:a.clientY},c={x:c[0],y:c[1]};this.setProperty("__startPosition",{x:this.getProperty("__x"),y:this.getProperty("__y")});
this.setProperty("__Tb",{x:a.clientX,y:a.clientY});this.__dk("scrollstart",c);this.setProperty("__moveEventHandler",this.__Td.bind(this,d,c));a=this.__Te.bind(this,this.getProperty("__moveEventHandler"));b.on("pointermove",this.getProperty("__moveEventHandler"),this);b.once("pointerup",a,this)}}},__Ta:function(a){var b=this.getProperty("__scrollingDirection"),c=this.getProperty("__Tb"),d=Math.abs(a.clientX-c.x),e=Math.abs(a.clientY-c.y),c={x:0>a.clientX-c.x?"left":"right",y:0>a.clientY-c.y?"up":"down"};
b&&(b.x!=c.x&&10<d||b.y!=c.y&&10<e)&&(this.setProperty("__Tb",{x:a.clientX,y:a.clientY}),this.setProperty("__startPosition",this.getPosition()),this.setProperty("__startTime",(new Date).getTime()));this.setProperty("__scrollingDirection",c)},__Tc:function(a,b){a.setStyle("transition-property","none");a.setStyle("transition-duration","0ms");a.setStyle("transition-timing-function","none");a.setStyle("transition-delay","0ms");a[0].style.removeProperty(b);a[0].style.removeProperty("transition")},__Rc:function(a){this.__Tc(this.getProperty("__scroller"),
a);var b=this.getProperty("__vScrollbar"),c=this.getProperty("__hScrollbar");b&&this.__Tc(b,a);c&&this.__Tc(c,a)},__Td:function(a,b,c){baselib.Scroller.__Su||c.preventDefault();if(!this.getProperty("__multipleMove")){a=c.clientX;b=c.clientY;this.__Ta(c);a-=this.getProperty("__Tb").x;b-=this.getProperty("__Tb").y;var d=this.getProperty("__x")+a,e=this.getProperty("__y")+b;this.setProperty("__Tb",{x:c.clientX,y:c.clientY});c=this.__NW("bounce");var f=this.getProperty("__maxScroll"),g=this.getProperty("__boundaries"),
h=this.getProperty("__x"),l=this.getProperty("__y");if(0<d||d<f.x)d=c?h+a/2:0<=d||(0<=f.x?0:f.x);if(0<e||e<f.y)e=c?l+b/2:0<=e||(0<=f.y?0:f.y);(d<g.minX||d>g.maxX||e<g.minY||e>g.maxY)&&!this.getProperty("__boundary")&&(this.__dk("boundary",{x:d,y:e}),this.setProperty("__boundary",!0));this.setProperty("__scrollerMoved",!0);this.__SW(d,e)}},__Te:function(a,b){if(!baselib.Scroller.__Su||!b.touches||0===b.touches.length){this.getProperty("__scroller").off("pointermove",a,this);var c=this.getProperty("__x"),
d=this.getProperty("__y"),e,f,g={dist:0,time:0},h={dist:0,time:0},l=(new Date).getTime()-this.getProperty("__startTime");e=c;f=d;if(this.getProperty("__scrollerMoved")){var k=this.__NW("bounce"),m=this.getProperty("__wrapperRect"),q=this.getProperty("__scrollerRect"),n=this.getProperty("__maxScroll"),r=this.getProperty("__startPosition"),p=this.getProperty("__boundaries");if(300>l&&this.__NW("momentum")){g=e?this.__Tf(e-r.x,l,-c,q.width-m.width+c,k?m.width:0,"x"):g;h=f?this.__Tf(f-r.y,l,-d,0>n.y?
q.height-m.height+d:0,k?m.height:0,"y"):h;e=c+g.dist;f=d+h.dist;if(0<c&&0<e||c<n.x&&e<n.x)g={dist:0,time:0};if(0<d&&0<f||d<n.y&&f<n.y)h={dist:0,time:0}}if(g.dist||h.dist)c=Math.max(Math.max(g.time,h.time),10),this.scrollTo(Math.floor(e),Math.floor(f),c);else{if(this.getProperty("__x")<p.minX||this.getProperty("__x")>p.maxX||this.getProperty("__y")<p.minY||this.getProperty("__y")>p.maxY)this.bouncing=!0,this.__dk("bouncestart",{x:this.getProperty("__x"),y:this.getProperty("__y")});this.__SF(200)}}else{if(baselib.Scroller.__Su){for(e=
b.getTarget();1!=e.nodeType;)e=e.parentNode;"SELECT"!=e.tagName&&("INPUT"!=e.tagName&&"TEXTAREA"!=e.tagName)&&(f=document.createEvent("MouseEvents"),f.initMouseEvent("click",!0,!0,b.view,1,b.screenX,b.screenY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,0,null),f._fake=!0,e.dispatchEvent(f))}this.__SF(200)}}},__Tf:function(a,b,c,d,e,f){var g=this.__NW("deceleration"),h=this.getProperty("__wrapperRect"),l=this.__NW("maxScrollFactor"),k=h.width*l,h=h.height*l,m=Math.abs(a)/b;b=m*m/(2*
g);l=0;0<a&&b>c?(c+=e/(6/(b/m*g)),m=m*c/b,b=c):0>a&&b>d&&(d+=e/(6/(b/m*g)),m=m*d/b,b=d);b*=0>a?-1:1;l=m/g;a=b;if(Math.abs(b)>=k||Math.abs(b)>=h)"x"==f?(a=0>b?-k:k,l=a*l/b):"y"==f&&(a=0>b?-h:h,l=a*l/b),l=1E3>l?1E3:l;return{dist:a,time:Math.floor(l)}},__Tg:function(a,b){var c=this.getProperty("__maxScroll"),d=this.getProperty("__boundaries");this.__NW("bounce")?b<d.minY?b=d.minY:b>d.maxY&&(b=d.maxY):(0<a?a=0:a<c.x&&(a=c.x),0<b?b=0:b<c.y&&(b=c.y));return{x:a,y:b}},__cY:function(a){var b=this.getProperty("__scroller");
a.target==b[0]&&(b[0].removeEventListener(qxWeb.EVENT.transitionEnd,this.__cY),this.__Ti())},__Th:function(a){var b=this.__NW("vScroll")?"y":"x",c=this.getProperty("__"+b),d=this.getProperty("__transition");d?d.setOptions(c,a[b],a.time,"easeIn"):(d=new baselib.Transition(c,a[b],a.time,"easeIn"),this.setProperty("__transition",d),d.on("progress",function(a){this.__dk("scroll",this.getPosition())}.bind(this)));d.setTiming(this.__NW("timingFunction"),!0);d.setFrameTime(100);return d},__Ti:function(){var a=
this.getProperty("__x"),b=this.getProperty("__y"),c=(new Date).getTime(),d,e,f;if(!this.getProperty("__animating"))if(this.getProperty("__steps").length)if(d=this.getProperty("__steps").shift(),d.x==a&&d.y==b&&(d.time=0),this.setProperty("__animating",!0),this.setProperty("__scrollerMoved",!0),this.__NW("useTransition")){var g=this.__Th(d);this.__SX(d.time);this.__SW(d.x,d.y);g.start();this.setProperty("__animating",!1);d.time?this.getProperty("__scroller")[0].addEventListener(qxWeb.EVENT.transitionEnd,
this.__cY.bind(this),!1):this.__SF(0)}else{var h=this;f=function(){var g=(new Date).getTime(),k;g>=c+d.time?(h.__SW(d.x,d.y),h.setProperty("__animating",!1),h.getProperty("__bouncing")&&(h.setProperty("__bouncing",!1),h.__dk("bounceend",{x:h.getProperty("__x"),y:h.getProperty("__y")})),h.__Ti()):(g=(g-c)/d.time-1,e=Math.sqrt(1-g*g),g=(d.x-a)*e+a,k=(d.y-b)*e+b,h.__SW(g,k),h.getProperty("__animating")&&h.setProperty("__aniTime",qxWeb.EVENT.animation.requestFrame(f)))};f()}else this.__SF(400)}},defer:function(a){qxWeb.$attach({scroller:a.scroller});
qxWeb.$attachStatic({scroller:function(a,c){"string"==typeof a&&"#"!=a.charAt(0)&&"."!=a.charAt(0)&&(a="#"+a);return qxWeb(a).scroller(c)}})}})})()})();

//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/accordion-min.js
(function(){var g=window.qxWeb.$$qx;g.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});g.$$packageData["0"]={locales:{},resources:{},translations:{}};(function(){g.Bootstrap.define("baselib.Accordion",{extend:g.ui.website.Widget,construct:function(a,b){g.ui.website.Widget.call(this,a,b)},events:{"switch":"qx.event.Emitter",beforehide:"qx.event.Emitter",beforeshow:"qx.event.Emitter",afterhide:"qx.event.Emitter",aftershow:"qx.event.Emitter"},statics:{_config:{labelClass:"qx-accordion-label",
contentClass:"qx-accordion-content",animationDuration:300},accordion:function(a){var b=new baselib.Accordion(this);a&&(a.label&&b.setConfig("labelClass",a.label),a.content&&b.setConfig("contentClass",a.content));b.init();return b}},members:{init:function(){if(!g.ui.website.Widget.prototype.init.call(this))return!1;this._forEachElementWrapped(function(a){0<a.find("."+this.getConfig("contentClass")).length&&(a.render(),a.collapse(!1))});return!0},render:function(){this._forEachElementWrapped(function(a){a._initItems();
a.__QY()});return this},collapse:function(a){this._forEachElementWrapped(function(b){var c=this.getProperty("__tabs"),d=b.getProperty("__canTransition");c._forEachElementWrapped(function(c){c.setProperty("__op","hide");b.setProperty("__currentIndex",null);b.__Rc(c);var f=c.getHeight();0!==f&&(a?(b.__QT(),b.__Rb(c),d?c.setStyle("height","0px"):b.__dr(c,f,0)):(c.setStyle("display","none"),c.setStyle("height","0px")))})});return this},setAnimationDuration:function(a){this.setProperty("__animationDuration",
a);this.setConfig("animationDuration",a);return this},getAnimationDuration:function(){return this.getProperty("__animationDuration")},enableAnimation:function(){this.setProperty("__animationDuration",this.getConfig("animationDuration"));return this},disableAnimation:function(){this.setProperty("__animationDuration",0);return this},isAnimated:function(){return 0<this.getProperty("__animationDuration")},getCurrentIndex:function(){return this.eq(0).getProperty("__currentIndex")},showItem:function(a,
b){this._forEachElementWrapped(function(c){if(!c.animating()){var d=c.getProperty("__tabs"),e=(b="undefined"!==typeof b?b:!0)?10:0,f=qxWeb(d[a]),g=qxWeb(d[c.getProperty("__currentIndex")]),h=0;f[0]&&(h=c.__QX(f,b));g[0]&&c.__QW(g,b);window.setTimeout(function(){b||c.setProperty("__currentIndex",a);c.__QV(f,g,0,h,b)},e)}});return this},showNext:function(){this._forEachElementWrapped(function(a){var b=a.getProperty("__currentIndex")+1;b<a.getProperty("__tabs").length&&a.showItem(b,a.isAnimated())});
return this},showPrev:function(){this._forEachElementWrapped(function(a){var b=a.getProperty("__currentIndex")-1;0<=b&&a.showItem(b,a.isAnimated())});return this},animating:function(){return 0<this.eq(0).getProperty("__running")},dispose:function(){var a=this.getProperty("__canTransition");this._forEachElementWrapped(function(b){a&&b.getProperty("__tabs").forEach(function(a,b){var e=qxWeb(a),f=e.getProperty("__transitionHandler");f&&(a.removeEventListener(qxWeb.EVENT.transitionEnd,f),e.setProperty("__transitionHandler",
null))});b.off("tap",b.__Ra,b)});return this},__QT:function(){var a=this.getProperty("__running")+1;this.setProperty("__running",a);return a},__QU:function(){var a=this.getProperty("__running")-1;this.setProperty("__running",a);return a},__dr:function(a,b,c){var d=this.getProperty("__animationDuration"),e=null,f=this.getProperty("__tabs"),g=this,h=function(m){m=(new Date).getTime();var k=b,l=0;null===e&&(e=m);l=m-e;k=b+(c-b)*(l/d);b<c&&k>c&&(k=c);a.setStyle("height",k+"px");l<d&&l<d?qxWeb.EVENT.animation.requestFrame(h):
(a.setStyle("height",c+"px"),g.__cY(a,f.indexOf(a[0])))};qxWeb.EVENT.animation.requestFrame(h)},__QV:function(a,b,c,d,e){var f=this.getProperty("__canTransition");e&&(this.__Rb(a),b[0]&&this.__Rb(b));e&&this.__QT();this.__Rd("beforeshow",a);f||!e?(a.setStyle("height",d+"px"),e||this.__Rd("aftershow",a)):this.__dr(a,a.getHeight(),d);b[0]&&(e&&this.__QT(),this.__Rd("beforehide",b),f||!e?(b.setStyle("height",c+"px"),e||this.__Rd("afterhide",b)):this.__dr(b,b.getHeight(),c))},__QW:function(a,b){this.getProperty("__canTransition")&&
this.__Rc(a);a.setProperty("__op","hide");return 0},__QX:function(a,b){this.getProperty("__canTransition")&&this.__Rc(a);a.setProperty("__op","show");a.setStyle("height","");var c=a.getProperty("__scrollerTabHeight");a.setStyle("height","0px");a.setStyle("display","block");return c},_initItems:function(){this.setProperty("__labelClass",this.getConfig("labelClass"));this.setProperty("__contentClass",this.getConfig("contentClass"));this.setProperty("__animationDuration",this.getConfig("animationDuration"));
this.setProperty("__labels",this.find("."+this.getConfig("labelClass")));var a=this.find("."+this.getConfig("contentClass")),b="block";a._forEachElementWrapped(function(a){b=a.getStyle("display");a.setStyle("height","");a.setStyle("display","block");a.setProperty("__scrollerTabHeight",a[0].offsetHeight);a.setStyle("display",b)});this.setProperty("__tabs",a)},__QY:function(){var a=this.getProperty("__tabs"),b=qxWeb.env.canTransition(),c=this.getProperty("__currentIndex");"undefined"==typeof c?this.setProperty("__currentIndex",
null):c>=a.length&&this.setProperty("__currentIndex",a.length-1);this.setProperty("__running",0);b&&(this.setProperty("__canTransition",qxWeb.env.canTransition()),a.forEach(function(a,b){if(!qxWeb(a).getProperty("__transitionHandler")){var c=this.__cY.bind(this,a,b);qxWeb(a).setProperty("__transitionHandler",c);a.addEventListener(qxWeb.EVENT.transitionEnd,c,!1)}}.bind(this)));this.$onFirstCollection("tap",this.__Ra)},__Ra:function(a){var b=this.getProperty("__labels");a=qxWeb(a.getTarget()).getClosest("."+
this.getProperty("__labelClass"));0<a.length&&(b=b.indexOf(a[0]),b==this.getCurrentIndex()?this.collapse(!0):this.showItem(b,!0))},__Rb:function(a){this.getProperty("__canTransition")&&(a.setStyle("transition-property","height"),a.setStyle("transition-duration",this.getProperty("__animationDuration")+"ms"),a.setStyle("transition-timing-function","linear"),a.setStyle("transition-delay","0ms"))},__Rc:function(a){this.getProperty("__canTransition")&&(a.setStyle("transition-property","none"),a.setStyle("transition-duration",
"0ms"),a.setStyle("transition-timing-function","none"),a.setStyle("transition-delay","0ms"),a[0].style.removeProperty(qxWeb.EVENT.transitionEnd.transitionStyleName),a[0].style.removeProperty("transition"))},__Rd:function(a,b){var c={type:a,reverse:!1};if(b){var d=this.getProperty("__tabs");c.target=b;c.index=d.indexOf(b[0])}else c.current=this.getCurrentIndex();this.emit(a,c)},__cY:function(a,b,c){c=this.__QU();a=qxWeb(a);this.__Rc(a);var d=a.getProperty("__op");"show"==d&&this.setProperty("__currentIndex",
b);this.__Rd("after"+d,a);0===c&&this.__Rd("switch")}},defer:function(a){qxWeb.$attach({accordion:a.accordion})}})})()})();

$q.define("UNOUNO.components.faqaccordion",{statics:{init:function(){if(!!$q(".accordion").length){var accordion=$q(".accordion").accordion({label:"question",content:"answer"});accordion.on("afterhide",function(e){e.getTarget().getAncestors("li").removeClass("current");e.getTarget().hide();});accordion.on("aftershow",function(e){e.getTarget().getAncestors("li").addClass("current");
});if($q(".accordion").length===1){accordion.showItem(0);}}}}});$q.ready(function(){UNOUNO.components.faqaccordion.init();});
UNOUNO.util.InfoBox=function(infolinkId,adjustment){this.init(infolinkId,adjustment);};UNOUNO.util.InfoBox.prototype={qxBom:qx.bom,qxDom:qx.dom,parent:null,initBoxToDom:false,iframeId:null,initInfoBox:function(){this.iframeId="iframe."+this.infobox.id;if(this.infobox!==null&&this.infolink!==null){this.parent=document.body;
this.qxBom.Element.addListener(this.infolink,"mouseover",this.showBox,this,true);this.qxBom.Element.addListener(this.infolink,"mouseout",this.hideBox,this,true);this.qxBom.Element.addListener(this.infobox,"mouseout",this.hideBox,this,true);}},showBox:function(e){if(this.infobox){e.preventDefault();this.infobox.style.display="block";
this.modifyInfoBox();}},hideBox:function(e){e.preventDefault();if(qx.dom.Hierarchy.isDescendantOf(e._relatedTarget,this.infobox)===false){if(e._relatedTarget!==this.infolink||e._relatedTarget!==this.infobox){this.infobox.style.display="none";this.removeIframeFix();}}},removeIframeFix:function(){if(qx.core.Environment){if(qx.core.Environment.get("engine.version")==="mshtml"&&qx.core.Environment.get("engine.version")==="6.0"){var iframeFix=document.getElementById(this.iframeId);
if(iframeFix){this.qxDom.Element.remove(iframeFix);}}}},modifyInfoBox:function(){if(this.initBoxToDom===false){this.qxDom.Element.insertBegin(this.infobox,this.parent);this.infobox.style.position="absolute";this.initBoxToDom=true;}var left=0,top=0,infolinkLeft=parseInt(qx.bom.element.Location.getLeft(this.infolink),10),infolinkRight=parseInt(qx.bom.element.Location.getRight(this.infolink),10),infolinkTop=parseInt(qx.bom.element.Location.getTop(this.infolink),10),infolinkBottom=parseInt(qx.bom.element.Location.getBottom(this.infolink),10),infoBoxWidth=parseInt(this.infobox.offsetWidth,10),infoBoxHeight=parseInt(this.infobox.offsetHeight,10),zIndexIE6,infoBoxIFrameIE6,infoBoxIFrameIE6Elem;
if(this.adjustment===null||typeof this.adjustment==="undefined"){this.qxBom.element.Style.set(this.infobox,"left",infolinkLeft+"px");this.qxBom.element.Style.set(this.infobox,"top",infolinkBottom+"px");}else{if(this.adjustment[0]==="R"){if(this.adjustment[2]===null||typeof this.adjustment[2]==="undefined"||typeof this.adjustment[2]!=="number"){left=infolinkLeft;
}else{left=infolinkLeft+this.adjustment[2];}this.qxBom.element.Style.set(this.infobox,"left",left+"px");}else{if(this.adjustment[0]==="L"){if(this.adjustment[2]===null||typeof this.adjustment[2]==="undefined"||typeof this.adjustment[2]!=="number"){left=infolinkRight-infoBoxWidth;}else{left=(infolinkRight-infoBoxWidth)-this.adjustment[2];
}this.qxBom.element.Style.set(this.infobox,"left",left+"px");}}if(this.adjustment[1]==="B"){if(this.adjustment[3]===null||typeof this.adjustment[3]==="undefined"||typeof this.adjustment[3]!=="number"){top=infolinkTop;}else{top=infolinkTop+this.adjustment[3];}this.qxBom.element.Style.set(this.infobox,"top",top+"px");
}else{if(this.adjustment[1]==="T"){if(this.adjustment[3]===null||typeof this.adjustment[3]==="undefined"||typeof this.adjustment[3]!=="number"){top=infolinkBottom-infoBoxHeight;}else{top=(infolinkBottom-infoBoxHeight)-this.adjustment[3];}this.qxBom.element.Style.set(this.infobox,"top",top+"px");}}}if(qx.core.Environment){if(qx.core.Environment.get("engine.version")==="mshtml"&&qx.core.Environment.get("engine.version")==="6.0"){zIndexIE6=qx.bom.element.Style.get(this.infobox,"zIndex","COMPUTED_MODE",true)-1;
if(!document.getElementById(this.iframeId)){infoBoxIFrameIE6=document.createElement("iframe");infoBoxIFrameIE6.setAttribute("id",this.iframeId);infoBoxIFrameIE6.setAttribute("src","/modules/frontend-elements/img/pnghack/transparent.gif");infoBoxIFrameIE6.className="infoBoxIframe";this.qxDom.Element.insertBefore(infoBoxIFrameIE6,this.infobox);
infoBoxIFrameIE6Elem=document.getElementById(this.iframeId);this.qxBom.element.Style.set(infoBoxIFrameIE6Elem,"opacity",0);this.qxBom.element.Style.set(infoBoxIFrameIE6Elem,"position","absolute");this.qxBom.element.Style.set(infoBoxIFrameIE6Elem,"zIndex",zIndexIE6);this.qxBom.element.Style.set(infoBoxIFrameIE6Elem,"left",left+"px");
this.qxBom.element.Style.set(infoBoxIFrameIE6Elem,"top",top+"px");this.qxBom.element.Style.set(infoBoxIFrameIE6Elem,"width",infoBoxWidth+"px");this.qxBom.element.Style.set(infoBoxIFrameIE6Elem,"height",infoBoxHeight+"px");this.qxBom.element.Style.set(infoBoxIFrameIE6Elem,"display","block");}}}},init:function(infolinkId,adjustment){this.infobox=document.getElementById("infobox."+infolinkId);
this.infolink=document.getElementById(infolinkId);this.adjustment=adjustment;if(this.infobox!==null){this.initInfoBox();}}};
UNOUNO.util.gfxCheckbox=function(realCheckboxId){this.init(realCheckboxId);};UNOUNO.util.gfxCheckbox.prototype={checkboxId:null,realCheckbox:null,checkboxChecked:null,checkboxUnchecked:null,uncheckedHint:null,checkedHint:null,qxBom:qx.bom,setCheckboxId:function(checkboxId){this.checkboxId=checkboxId;
},setRealCheckbox:function(checkboxId){this.realCheckbox=document.getElementById(checkboxId);},setCheckboxCheckedId:function(checkboxId){this.checkboxChecked=checkboxId+".checked";},setCheckboxUncheckedId:function(checkboxId){this.checkboxUnchecked=checkboxId+".unchecked";},setUncheckedHint:function(checkboxId){this.uncheckedHint=checkboxId+".hint.unchecked";
},setCheckedHint:function(checkboxId){this.checkedHint=checkboxId+".hint.checked";},initGfxCheckBoxes:function(realCheckboxId){this.setCheckboxId(realCheckboxId);this.setCheckboxCheckedId(realCheckboxId);this.setCheckboxUncheckedId(realCheckboxId);this.setRealCheckbox(realCheckboxId);this.setUncheckedHint(realCheckboxId);
this.setCheckedHint(realCheckboxId);if(document.getElementById(this.realCheckboxId)){this.qxBom.Element.addListener(document.getElementById(this.realCheckboxId),"change",this.toggleCheckbox,this);}if(document.getElementById(this.checkboxChecked)){this.qxBom.Element.addListener(document.getElementById(this.checkboxChecked),"click",this.uncheckCheckbox,this);
}if(document.getElementById(this.checkboxUnchecked)){this.qxBom.Element.addListener(document.getElementById(this.checkboxUnchecked),"click",this.checkCheckbox,this);}},checkCheckbox:function(){qx.bom.element.Attribute.set(this.realCheckbox,"checked","checked");qx.bom.Event.fire(this.realCheckbox,"change");
},uncheckCheckbox:function(){qx.bom.element.Attribute.set(this.realCheckbox,"checked",null);qx.bom.Event.fire(this.realCheckbox,"change");},focus:function(){this.qxBom.element.Style.set(document.getElementById(this.checkboxChecked),"outline","1px dotted #005BA7");this.qxBom.element.Style.set(document.getElementById(this.checkboxUnchecked),"outline","1px dotted #005BA7");
},blur:function(){this.qxBom.element.Style.set(document.getElementById(this.checkboxChecked),"outline","0 none transparent");this.qxBom.element.Style.set(document.getElementById(this.checkboxUnchecked),"outline","0 none transparent");},active:function(){this.qxBom.element.Style.set(document.getElementById(this.checkboxChecked),"outline","0 none transparent");
this.qxBom.element.Style.set(document.getElementById(this.checkboxUnchecked),"outline","0 none transparent");},toggleHint:function(hintShow,hintHide){if(document.getElementById(this.checkedHint)!==null&&document.getElementById(this.uncheckedHint)!==null){this.qxBom.element.Style.set(document.getElementById(hintShow),"display","block");
this.qxBom.element.Style.set(document.getElementById(hintHide),"display","none");}},toggleCheckbox:function(){if(this.realCheckbox.checked===true){this.qxBom.element.Style.set(document.getElementById(this.checkboxChecked),"display","block");this.qxBom.element.Style.set(document.getElementById(this.checkboxUnchecked),"display","none");
this.toggleHint(this.checkedHint,this.uncheckedHint);}else{this.qxBom.element.Style.set(document.getElementById(this.checkboxChecked),"display","none");this.qxBom.element.Style.set(document.getElementById(this.checkboxUnchecked),"display","block");this.toggleHint(this.uncheckedHint,this.checkedHint);
}if(document.getElementById(this.checkboxId)){this.qxBom.Element.addListener(document.getElementById(this.checkboxId),"focus",this.focus,this);this.qxBom.Element.addListener(document.getElementById(this.checkboxId),"active",this.active,this);this.qxBom.Element.addListener(document.getElementById(this.checkboxId),"blur",this.blur,this);
}},init:function(realCheckboxId){if(document.getElementById(realCheckboxId)!==null){this.realCheckboxId=realCheckboxId;this.initGfxCheckBoxes(this.realCheckboxId);this.toggleCheckbox();}}};
//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/textselection-min.js
(function(){var b=window.qxWeb.$$qx;b.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});b.$$packageData["0"]={locales:{},resources:{},translations:{C:{},en:{}}};(function(){b.Bootstrap.define("qx.module.TextSelection",{statics:{getTextSelection:function(){var a=this[0];return a?(b.module.TextSelection.__QR(a)||(a=b.module.TextSelection.__QS(a)),a?b.bom.Selection.get(a):null):null},getTextSelectionLength:function(){var a=this[0];return a?(b.module.TextSelection.__QR(a)||
(a=b.module.TextSelection.__QS(a)),a?b.bom.Selection.getLength(a):null):null},getTextSelectionStart:function(){var a=this[0];return a?(b.module.TextSelection.__QR(a)||(a=b.module.TextSelection.__QS(a)),a?b.bom.Selection.getStart(a):null):null},getTextSelectionEnd:function(){var a=this[0];return a?(b.module.TextSelection.__QR(a)||(a=b.module.TextSelection.__QS(a)),a?b.bom.Selection.getEnd(a):null):null},setTextSelection:function(a,d){var c=this[0];c&&(b.module.TextSelection.__QR(c)||(c=b.module.TextSelection.__QS(c)),
c&&b.bom.Selection.set(c,a,d));return this},clearTextSelection:function(){this._forEachElement(function(a){b.module.TextSelection.__QR(a)||(a=b.module.TextSelection.__QS(a));a&&b.bom.Selection.clear(a)});return this},__QR:function(a){a=a.tagName?a.tagName.toLowerCase():null;return"input"===a||"textarea"===a},__QS:function(a){for(var b=0,c=a.childNodes.length;b<c;b++)if(3===a.childNodes[b].nodeType)return a.childNodes[b];return null}},defer:function(a){qxWeb.$attach({getTextSelection:a.getTextSelection,
getTextSelectionLength:a.getTextSelectionLength,getTextSelectionStart:a.getTextSelectionStart,getTextSelectionEnd:a.getTextSelectionEnd,setTextSelection:a.setTextSelection,clearTextSelection:a.clearTextSelection})}})})();(function(){b.Bootstrap.define("qx.bom.Selection",{statics:{getSelectionObject:b.core.Environment.select("html.selection",{selection:function(a){return a.selection},"default":function(a){return b.dom.Node.getWindow(a).getSelection()}}),get:b.core.Environment.select("html.selection",
{selection:function(a){return b.bom.Range.get(b.dom.Node.getDocument(a)).text},"default":function(a){return this.__pd(a)?a.value.substring(a.selectionStart,a.selectionEnd):this.getSelectionObject(b.dom.Node.getDocument(a)).toString()}}),getLength:b.core.Environment.select("html.selection",{selection:function(a){a=this.get(a);var d=b.util.StringSplit.split(a,/\r\n/);return a.length-(d.length-1)},"default":function(a){if("opera"==b.core.Environment.get("engine.name")){var d;if(this.__pd(a)){d=a.selectionStart;
var c=a.selectionEnd;a=a.value.substring(d,c);d=c-d}else a=b.bom.Selection.get(a),d=a.length;a=b.util.StringSplit.split(a,/\r\n/);return d-(a.length-1)}return this.__pd(a)?a.selectionEnd-a.selectionStart:this.get(a).length}}),getStart:b.core.Environment.select("html.selection",{selection:function(a){if(this.__pd(a)){var d=b.bom.Range.get();if(!a.contains(d.parentElement()))return-1;var c=b.bom.Range.get(a);a=a.value.length;c.moveToBookmark(d.getBookmark());c.moveEnd("character",a);return a-c.text.length}var c=
b.bom.Range.get(a),e=c.parentElement(),d=b.bom.Range.get();try{d.moveToElementText(e)}catch(f){return 0}a=b.bom.Range.get(b.dom.Node.getBodyElement(a));a.setEndPoint("StartToStart",c);a.setEndPoint("EndToEnd",d);if(0==d.compareEndPoints("StartToStart",a))return 0;for(e=0;;){c=a.moveStart("character",-1);if(0==d.compareEndPoints("StartToStart",a))break;if(0==c)break;else e++}return++e},"default":function(a){if("gecko"===b.core.Environment.get("engine.name")||"webkit"===b.core.Environment.get("engine.name")){if(this.__pd(a))return a.selectionStart;
a=b.dom.Node.getDocument(a);a=this.getSelectionObject(a);return a.anchorOffset<a.focusOffset?a.anchorOffset:a.focusOffset}return this.__pd(a)?a.selectionStart:b.bom.Selection.getSelectionObject(b.dom.Node.getDocument(a)).anchorOffset}}),getEnd:b.core.Environment.select("html.selection",{selection:function(a){if(this.__pd(a)){var d=b.bom.Range.get();if(!a.contains(d.parentElement()))return-1;var c=b.bom.Range.get(a),e=a.value.length;c.moveToBookmark(d.getBookmark());c.moveStart("character",-e);return c.text.length}c=
b.bom.Range.get(a);e=c.parentElement();d=b.bom.Range.get();try{d.moveToElementText(e)}catch(f){return 0}e=d.text.length;a=b.bom.Range.get(b.dom.Node.getBodyElement(a));a.setEndPoint("EndToEnd",c);a.setEndPoint("StartToStart",d);if(0==d.compareEndPoints("EndToEnd",a))return e-1;for(var g=0;;){c=a.moveEnd("character",1);if(0==d.compareEndPoints("EndToEnd",a))break;if(0==c)break;else g++}return e-++g},"default":function(a){if("gecko"===b.core.Environment.get("engine.name")||"webkit"===b.core.Environment.get("engine.name")){if(this.__pd(a))return a.selectionEnd;
a=b.dom.Node.getDocument(a);a=this.getSelectionObject(a);return a.focusOffset>a.anchorOffset?a.focusOffset:a.anchorOffset}return this.__pd(a)?a.selectionEnd:b.bom.Selection.getSelectionObject(b.dom.Node.getDocument(a)).focusOffset}}),__pd:function(a){return b.dom.Node.isElement(a)&&("input"==a.nodeName.toLowerCase()||"textarea"==a.nodeName.toLowerCase())},set:b.core.Environment.select("html.selection",{selection:function(a,d,c){var e;b.dom.Node.isDocument(a)&&(a=a.body);if(b.dom.Node.isElement(a)||
b.dom.Node.isText(a))switch(a.nodeName.toLowerCase()){case "input":case "textarea":case "button":void 0===c&&(c=a.value.length);if(0<=d&&d<=a.value.length&&0<=c&&c<=a.value.length)return e=b.bom.Range.get(a),e.collapse(!0),e.moveStart("character",d),e.moveEnd("character",c-d),e.select(),!0;break;case "#text":void 0===c&&(c=a.nodeValue.length);if(0<=d&&d<=a.nodeValue.length&&0<=c&&c<=a.nodeValue.length)return e=b.bom.Range.get(b.dom.Node.getBodyElement(a)),e.moveToElementText(a.parentNode),e.collapse(!0),
e.moveStart("character",d),e.moveEnd("character",c-d),e.select(),!0;break;default:if(void 0===c&&(c=a.childNodes.length-1),a.childNodes[d]&&a.childNodes[c])return e=b.bom.Range.get(b.dom.Node.getBodyElement(a)),e.moveToElementText(a.childNodes[d]),e.collapse(!0),d=b.bom.Range.get(b.dom.Node.getBodyElement(a)),d.moveToElementText(a.childNodes[c]),e.setEndPoint("EndToEnd",d),e.select(),!0}return!1},"default":function(a,d,c){var e=a.nodeName.toLowerCase();if(!b.dom.Node.isElement(a)||"input"!=e&&"textarea"!=
e){var e=!1,f=b.dom.Node.getWindow(a).getSelection(),g=b.bom.Range.get(a);b.dom.Node.isText(a)?(void 0===c&&(c=a.length),0<=d&&(d<a.length&&0<=c&&c<=a.length)&&(e=!0)):b.dom.Node.isElement(a)?(void 0===c&&(c=a.childNodes.length-1),0<=d&&(a.childNodes[d]&&0<=c&&a.childNodes[c])&&(e=!0)):b.dom.Node.isDocument(a)&&(a=a.body,void 0===c&&(c=a.childNodes.length-1),0<=d&&(a.childNodes[d]&&0<=c&&a.childNodes[c])&&(e=!0));if(e)return f.isCollapsed||f.collapseToStart(),g.setStart(a,d),b.dom.Node.isText(a)?
g.setEnd(a,c):g.setEndAfter(a.childNodes[c]),0<f.rangeCount&&f.removeAllRanges(),f.addRange(g),!0}else if(void 0===c&&(c=a.value.length),0<=d&&d<=a.value.length&&0<=c&&c<=a.value.length)return a.focus(),a.select(),a.setSelectionRange(d,c),!0;return!1}}),setAll:function(a){return b.bom.Selection.set(a,0)},clear:b.core.Environment.select("html.selection",{selection:function(a){var d=b.bom.Range.get(a).parentElement(),c=b.bom.Range.get(b.dom.Node.getDocument(a));b.dom.Node.isText(a)&&(a=a.parentNode);
d==c.parentElement()&&d==a&&b.bom.Selection.getSelectionObject(b.dom.Node.getDocument(a)).empty()},"default":function(a){var d=b.bom.Selection.getSelectionObject(b.dom.Node.getDocument(a)),c=a.nodeName.toLowerCase();!b.dom.Node.isElement(a)||"input"!=c&&"textarea"!=c?b.dom.Node.isDocument(a)||"body"==c?d.collapse(a.body?a.body:a,0):(c=b.bom.Range.get(a),c.collapsed||(c=c.commonAncestorContainer,(b.dom.Node.isElement(a)&&b.dom.Node.isText(c)?c.parentNode:c)==a&&d.collapse(a,0))):(a.setSelectionRange(0,
0),b.bom.Element&&b.bom.Element.blur&&b.bom.Element.blur(a))}})}})})()})();

$q.define("UNOUNO.components.renderinclude",{construct:function(properties,callbacks,options){this.properties=properties;this.success=callbacks.success;this.error=callbacks.error;this.options=options;this.init();},statics:{cache:{},getCachedResponse:function(url){return this.cache[url];},setCachedResponse:function(url,response){this.cache[url]=response;
}},members:{properties:null,callback:null,callback:function(fnc,response){typeof (fnc)=="function"&&fnc.call(null,response);},createRenderIncludeURL:function(){var querystring={reuse:UNOUNO.params.reuseDOM};["part","href","module","search"].forEach(function(key){if(this.properties.hasOwnProperty(key)&&this.properties[key]){querystring["__render_"+key]=this.properties[key];
}},this);if(querystring.__render_href){while(!!querystring.__render_href.length&&querystring.__render_href.charAt(0)=="/"){querystring.__render_href=querystring.__render_href.substring(1);}}var url=window.location.href;["#","?"].forEach(function(token){var indexOfToken=url.indexOf(token);if(indexOfToken>-1){url=url.substring(0,indexOfToken);
}});url=$q.uri.appendParams(url,querystring);return url;},handleResponse:function(response){if(response.readyState==4){if(response.status===200&&response.responseText){this.callback(this.success,response);}else{this.callback(this.error,response);}}},init:function(){var url=this.createRenderIncludeURL();
var cachedResponse=UNOUNO.components.renderinclude.getCachedResponse(url);if(!cachedResponse){var xhr=$q.xhr(url,this.options);xhr.on("loadend",function(response){UNOUNO.components.renderinclude.setCachedResponse(url,response);this.handleResponse(response);},this);xhr.send(null);return ;}this.handleResponse(cachedResponse);
}}});$q.$attachStatic({"renderinclude":function(configuration,callbacks,options){return new UNOUNO.components.renderinclude(configuration,callbacks,options);}});
$q.define("UNOUNO.components.lazyLightbox",{construct:function(element){this.element=$q(element);if(this.element&&this.element.hasClass("lazy-lightbox")){this.properties=this.element.getAllData();this.lightboxName=$q.string.camelCase(this.properties.part);this.initializeClickEvents();if(this.properties.trigger&&this.properties.trigger==="onload"){this.openLightbox();
}return this;}return undefined;},members:{element:null,content:null,properties:{},lightboxName:null,instance:null,inspectTimer:null,firstCompleteCallback:true,getLightboxOpener:function(){return this.element;},openLightbox:function(){this.getLightboxContent();},callback:function(event){var ctx=(UNOUNO.lightbox||{})[this.lightboxName];
if(ctx&&this.lightboxName&&!!this.lightboxName.length&&typeof (ctx[event])==="function"){return ctx[event].apply(ctx,[].concat.call([].slice.call(arguments,1),this));}return undefined;},lightboxDimensions:function(){this.instance.show();var content=this.instance.getContent();var contentHeight=content.getHeight(true);
var contentWidth=content.getWidth(true);var contentMaxWidth=content.getWidthMax(true);if(contentMaxWidth>1030){contentWidth=860;}var minWidth=this.properties.minwidth;var minHeight=this.properties.minheight;if(!isNaN(minWidth)&&contentWidth<minWidth){contentWidth=minWidth;}if(!isNaN(minHeight)&&contentHeight<minHeight){contentHeight=minHeight;
}this.instance.setWidth(Number(contentWidth));this.instance.setHeight(Number(contentHeight));if(this.instance.getHeight()>$q(window).getHeight()){this.instance.setTop($q(window).getScrollTop()+40);}this.instance.close();this.instance.show();},determineContentDimensions:function(){var content=this.instance.getContent();
var currentContentHeight=content.getHeight();var minHeight=this.properties.minheight;if(!isNaN(minHeight)&&currentContentHeight<minHeight){currentContentHeight=minHeight;}if(currentContentHeight!=Number(this.instance.getHeight())){this.instance.setHeight(Number(currentContentHeight));}},initializeLightbox:function(){if(!this.instance){this.instance=$q.lightbox(this.content);
this.instance.setDefaultStyle(true);var instanceBlocker=this.instance.getBlocker();instanceBlocker.setBackgroundColor("#4d84bb");instanceBlocker.setOpacity(0.75);this.lightboxDimensions();this.instance.close();instanceBlocker.on("unblock",function(){$q(document).offMatchTarget("click",".lightbox-close",this.closeLightbox,this);
$q(document).offMatchTarget("click",".qx-blocker",this.closeLightbox,this);window.clearInterval(this.inspectInterval);window.setTimeout(function(){this.callback("onClosed",this.instance);}.bind(this),0);},this);instanceBlocker.on("block",function(){$q(document).onMatchTarget("click",".lightbox-close",this.closeLightbox,this);
$q(document).onMatchTarget("click",".qx-blocker",this.closeLightbox,this);this.inspectInterval=window.setInterval(function(){this.determineContentDimensions();}.bind(this),150);window.setTimeout(function(){this.callback("onComplete",this.instance,this.firstCompleteCallback);if(this.firstCompleteCallback){this.firstCompleteCallback=false;
}if(typeof (UNOUNO.tracking.lightboxTracking)==="function"){UNOUNO.tracking.lightboxTracking(this.lightboxName);}}.bind(this),0);},this);this.callback("onCreate",this.instance);}this.instance.show();},closeLightbox:function(target,e){e.preventDefault();this.callback("onCleanUp",this.instance);this.instance.close();
},getLightboxContent:function(){if(!this.instance){if(!this.properties.reference||!!!this.properties.reference.length){this.getContentViaXHR({success:function(response){this.prepareLightbox(response.responseText);}});return ;}var renderIncludeReference=$q(".lazy-lightbox-reference[data-renderinclude = '"+this.properties.reference+"']");
if(!!renderIncludeReference.length&&!!(renderIncludeReference.getHtml()||"").length){this.prepareLightbox(renderIncludeReference.getHtml());}return ;}this.initializeLightbox();},initializeClickEvents:function(){this.element.on("click",function(e){e.preventDefault();this.getLightboxContent();},this);},prepareLightbox:function(content){var qxHtml=$q.create(content);
if(!qxHtml.getChildren().length&&!!content.length){qxHtml=$q.create("<div />").setHtml(content);}this.content=qxHtml;this.content=this.callback("onContentLoaded",this.content)||this.content;this.content.find("img").forEach(function(image){new Image().src=$q(image).getAttribute("src");});this.content.hasClass("hidden")&&this.content.removeClass("hidden");
this.initializeLightbox();},getContentViaXHR:function(callbacks,options){$q.renderinclude({part:this.properties.part,href:this.properties.href,module:this.properties.module,search:this.properties.search},{success:(callbacks.success||new Function()).bind(this),error:(callbacks.error||new Function()).bind(this)},options);
}}});$q.$attachStatic({"lazyLightbox":function(element){return new UNOUNO.components.lazyLightbox($q(element));}});$q.ready(function(){$q(".lazy-lightbox").forEach(function(element){return $q.lazyLightbox(element);});});
$q.define("UNOUNO.lightbox.lightboxContentSitelock",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){var ctx=$q(lightbox.getContent());var tabs=ctx.find("ul.tabs > li");var tabContents=ctx.find(".tab-content");tabs.on("click",function(e){var target=$q(e.getTarget());var tabId=target.getData("tab");
tabs.removeClass("current");tabContents.removeClass("current");target.addClass("current");tabContents.filter("[id = "+tabId+"]").addClass("current");},this);}}}});$q.define("UNOUNO.lightbox.lightboxContentWebsiteBuilder",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){lightbox.getContent().find(".responsive-layout").forEach(function(container){new UNOUNO.animation.responsiveLayout($q(container),{"classes":["tablet","smartphone","desktop"],"cycletime":3500}).start();
});}}}});$q.define("UNOUNO.lightbox.lightboxFormSubscribe",{statics:{onComplete:function(lightbox,firstCall,instance){$q.placeholder.update();}}});$q.define("UNOUNO.lightbox.lightboxContentContentDeliveryNetwork",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){var ctx=$q(lightbox.getContent());
var tabs=ctx.find("ul.tabs > li");var tabContents=ctx.find(".tab-content");tabs.on("click",function(e){var target=$q(e.getTarget());var tabId=target.getData("tab");tabs.removeClass("current");tabContents.removeClass("current");target.addClass("current");tabContents.filter("[id = "+tabId+"]").addClass("current");
},this);}}}});$q.define("UNOUNO.components.vh215Lightbox",{construct:function(startHours,endHours,showContent,showAfter,excludeDays){this.startHours=startHours;this.endHours=endHours;this.showAfter=showAfter||3000;this.showContent=showContent;this.excludeDays=excludeDays||[0];if(!!$q(showContent).length){this.showLightbox();
}},members:{showAfter:0,startHours:0,endHours:0,showContent:null,excludeDays:null,showLightbox:function(){var now=new Date();var currentHour=now.getHours();var currentDay=now.getDay();if(currentHour>=this.startHours&&currentHour<this.endHours&&this.excludeDays.indexOf(currentDay)==-1){window.setTimeout(function(){var lightBox=new qui.bom.lightbox.LightBox();
lightBox.setWidth(940);lightBox.setHeight(325);lightBox.getBlocker().setBackgroundColor("#4d84bb");lightBox.getBlocker().setOpacity(0.75);lightBox.setContent($q(this.showContent).getHtml());lightBox.show();UNOUNO.tracking.lightboxTracking("tsInbound-layer");$q(".lightbox-close",$q(".lightbox_container")).on("click",function(lightBox){lightBox.close();
}.bind(this,lightBox),this);}.bind(this),this.showAfter);}}}});$q.define("UNOUNO.components.lightboxes",{statics:{init:function(){if(document.getElementById("tvspot-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("tvspot","tvspot-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);
}if(document.getElementById("webappVideo-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("webappVideo","webappVideo-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("custom-layout-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("custom-layout","custom-layout-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("custom-style-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("custom-style","custom-style-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("insert-elements-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("insert-elements","insert-elements-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("image-gallery-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("image-gallery","image-gallery-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("image-edit-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("image-edit","image-edit-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("contact-maps-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("contact-maps","contact-maps-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("diyfilmSEO-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("diyfilmSEO","diyfilmSEO-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("diyfilmSMC-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("diyfilmSMC","diyfilmSMC-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("branches-container")){UNOUNO.inline.branchesBrowser=new UNOUNO.global.LightBox("lightbox-branches","branches-container",true);
UNOUNO.inline.branchesBrowser.lightBox.setWidth(940);}}}});UNOUNO.components.lightboxes.init();
$q.define("UNOUNO.components.webfontPrice",{construct:function(price,configuration){configuration=configuration||{};this._priceConfiguration=$q.object.merge({},this._defaultConfiguration,this._configuration,configuration);this.setPrice(price);},members:{_defaultConfiguration:{currency:true,replace00With:"",thousandsSeparator:"",decimalSeparator:".",decimalLength:2},_object:undefined,_priceConfiguration:undefined,_price:undefined,setDecimalSeparator:function(decimalSeparator){this._priceConfiguration.decimalSeparator=!!decimalSeparator;
this._parse();return this;},setDecimalLength:function(decimalLength){this._priceConfiguration.decimalLength=decimalLength;this._parse();return this;},setCurrency:function(currency){this._priceConfiguration.currency=currency;this._parse();return this;},setThousandsSeparator:function(thousandsSeparator){this._priceConfiguration.thousandsSeparator=thousandsSeparator;
this._parse();return this;},setReplace00With:function(replace00With){this._priceConfiguration.replace00With=replace00With;this._parse();return this;},setCurrencyBefore:function(currencyBefore){this._priceConfiguration.currencyBefore=currencyBefore;this._parse();return this;},setCurrencyBehind:function(currencyBehind){this._priceConfiguration.currencyBehind=currencyBehind;
this._parse();return this;},setPrice:function(price){this._price=price;this._parse();return this;},getCurrency:function(){return !!this._priceConfiguration.currency;},getConfiguration:function(){return this._priceConfiguration;},getDecimalSeparator:function(){return this._priceConfiguration.decimalSeparator;
},getThousandsSeparator:function(){return this._priceConfiguration.thousandsSeparator;},getDecimalLength:function(){return this._priceConfiguration.decimalLength;},getRawPrice:function(){return Number(this._price).toFixed(Math.max(0,~~this._priceConfiguration.decimalLength));},getReplace00With:function(){return this._priceConfiguration.replace00With||undefined;
},getFormattedPrice:function(){var result=this.getRawPrice();var currencySign=this.getCurrencySign();var decimalSeparator=this.getDecimalSeparator();var thousandsSeparator=this.getThousandsSeparator();var decimalLength=this.getDecimalLength();if(decimalSeparator){result=result.replace(".",decimalSeparator);
}if(thousandsSeparator){result=result.replace(new RegExp("\\d(?=(\\d{3})+"+(decimalLength>0?"\\D":"$")+")","g"),"$&"+thousandsSeparator);}var resultSplitted=result.split(decimalSeparator);if(resultSplitted[1]==="00"){result=resultSplitted[0];if("replace00With" in this._priceConfiguration&&!!this._priceConfiguration.replace00With.length){result+=decimalSeparator+this._priceConfiguration.replace00With;
}}if(this.getCurrency()){if(this.isCurrencyBefore()){result=this.getCurrencySign()+""+result;}else{if(this.isCurrencyBehind()){result=result+" "+this.getCurrencySign();}}}return result;},isCurrencyBefore:function(){return !!this._priceConfiguration.currencyBefore;},isCurrencyBehind:function(){return !!this._priceConfiguration.currencyBehind;
},getCurrencySign:function(){return this._priceConfiguration.currencyBefore||this._priceConfiguration.currencyBehind||undefined;},parse:function(){return this._object;},format:function(){return this.getFormattedPrice();},draw:function(container){container=$q(container);if(container&&!!container.getAncestors(".webfont-price-container").length){if(container.hasClass("price-container")){return this._drawPriceContainer(container);
}else{if(container.hasClass("price-container-inline")){return this._drawInlinePriceContainer(container);}}return false;}return false;},_drawPriceContainer:function(container){var parsedObject=this._object;var priceBeforeSeparatorElement=container.getChildren(".price-before-separator");var priceSeparatorElement=container.getChildren(".price-separator");
var priceBehindSeparatorElement=container.getChildren(".price-behind-separator");var priceBehindTextElement=container.getChildren(".price-text-behind-inline");if(!!priceBeforeSeparatorElement.length){priceBeforeSeparatorElement.setTextContent(parsedObject.beforeDecimalSeparator);if(parsedObject.decimalSeparator&&parsedObject.behindDecimalSeparator){if(!!!priceSeparatorElement.length){priceSeparatorElement=$q.create("<span />").addClass("price-separator").setTextContent(parsedObject.decimalSeparator).insertAfter(priceBeforeSeparatorElement);
}if(!!!priceBehindSeparatorElement.length){priceBehindSeparatorElement=$q.create("<span />").addClass("price-behind-separator").insertAfter(priceSeparatorElement);}if(container.hasClass("price-should-be-supped")&&!priceBehindSeparatorElement.hasClass("price-sup")){priceBehindSeparatorElement.addClass("price-sup");
}if(parsedObject.behindDecimalSeparator==0||isNaN(parsedObject.behindDecimalSeparator)){priceBehindSeparatorElement.addClass("price-zero");}else{if(priceBehindSeparatorElement.hasClass("price-zero")){priceBehindSeparatorElement.removeClass("price-zero");}}var previousBehindSeparatorHtml=$q.create("<span />").append(priceBehindSeparatorElement.getChildren()).getHtml();
if(previousBehindSeparatorHtml){priceBehindSeparatorElement.setHtml(previousBehindSeparatorHtml+parsedObject.behindDecimalSeparator);}else{priceBehindSeparatorElement.setHtml(parsedObject.behindDecimalSeparator);}if(!!priceBehindTextElement.length&&container.hasClass("price-should-be-supped")&&!priceBehindTextElement.hasClass("price-behind-separator-supped")){priceBehindTextElement.addClass("price-behind-separator-supped");
}}else{priceSeparatorElement.remove();priceBehindSeparatorElement.remove();if(!!priceBehindTextElement.length&&priceBehindTextElement.hasClass("price-behind-separator-supped")){priceBehindTextElement.removeClass("price-behind-separator-supped");}}return true;}return false;},_drawInlinePriceContainer:function(container){var parsedObject=this._object;
var priceElement=container.getChildren(".price-text-inline").getChildren(".price-text");if(!!priceElement.length){priceElement.setTextContent(parsedObject.formattedPrice);return true;}return false;},_parse:function(){this._object=new Object();this._object.rawPrice=this.getRawPrice();this._object.formattedPrice=this.getFormattedPrice();
this._object.currencySign=this.getCurrencySign();this._object.decimalSeparator=this.getDecimalSeparator();this._object.thousandsSeparator=this.getThousandsSeparator();var splittedFormattedPrice=this._object.formattedPrice.split(this.getDecimalSeparator());this._object.beforeDecimalSeparator=splittedFormattedPrice[0];
this._object.behindDecimalSeparator=splittedFormattedPrice[1];}}});$q.$attachStatic({"webfontPrice":function(price,configuration){return new UNOUNO.components.webfontPrice(price,configuration);}});

$q.define("UNOUNO.components.pulseEffect",{construct:function(element){this.pulseElement=element;if(!this.pulseElement.hasClass("pulse-effect")){this.pulseEventOn();this.pulse();}},members:{pulseElement:null,pulseTimer:null,pulseRepeat:2,pulse:function(){this.pulseElement.toggleClass("highlight");this.pulseRepeat--;
},pulseTransitionEvent:function(transitionEvent){window.clearTimeout(this.pulseTimer);if(this.pulseRepeat>0){this.pulseTimer=window.setTimeout(function(){this.pulse();}.bind(this),10);}else{this.pulseEventOff();}},pulseEventOn:function(){this.pulseElement.addClass("pulse-effect");if($q.env.canTransition()){this.pulseElement.on("transitionend",this.pulseTransitionEvent,this);
}else{window.setTimeout(function(){this.pulseTransitionEvent();}.bind(this),500);}},pulseEventOff:function(){this.pulseElement.removeClass("pulse-effect");if($q.env.canTransition()){this.pulseElement.off("transitionend",this.pulseTransitionEvent,this);}}}});$q.define("UNOUNO.components.stageDomain",{statics:{stageBackgroundImages:[],domainOffers:[],currentIndex:0,retries:0,maxRetries:30,switchDelay:6000,autoRotate:true,animationTimer:null,init:function(){if($q.env.canTransition()&&$q.env.get("device.name")!="ipad"){$q(".without-transition").removeClass("without-transition");
}if(UNOUNO.params.variant.indexOf("vh427-box-b")!==-1){this.autoRotate=false;}this.initializeAsterisks();this.initializeDomainOffers();this.initializeStageBackgrounds();this.preselectedOption();},initializeAsterisks:function(){},initializeDomainOffers:function(){$q(".content-top-container .rotation > .rotation-entry").forEach(function(domainOffer){this.domainOffers.push(domainOffer);
},this);},initializeStageBackgrounds:function(){if(UNOUNO.params.siteModus!="live"){$q(document).on("keydown",function(e){var key=e.getKeyIdentifier();if(e.shiftKey){if(key=="Left"){this.stopAnimationTimer();this.showPrevItem();}else{if(key=="Right"){this.stopAnimationTimer();this.showNextItem();}}}},this);
}$q(".content-top-container .rotation-images img").forEach(function(image){this.stageBackgroundImages.push(image);},this);this.imageInspector();},imageInspector:function(){var imagesLoaded=true;this.stageBackgroundImages.forEach(function(image){var state=image.complete||false;var height=image.naturalHeight||0;
var width=image.naturalWidth||0;if(!state||height==0||width==0){imagesLoaded=false;}});if(!imagesLoaded&&this.retries<this.maxRetries){window.setTimeout(function(){this.imageInspector();}.bind(this),100);this.retries++;return ;}if(this.autoRotate){this.startAnimationTimer();}this.showItem(0);},showPrevItem:function(){var prevIndex=this.currentIndex;
prevIndex=(prevIndex==0)?this.stageBackgroundImages.length-1:prevIndex-1;this.showItem(prevIndex);},showNextItem:function(){this.showItem((++this.currentIndex%this.stageBackgroundImages.length));},showItem:function(index){this.stageBackgroundImages.forEach(function(image){image=$q(image);if(image.hasClass("active")){image.removeClass("active");
}});$q(this.stageBackgroundImages[index]).addClass("active");this.domainOffers.forEach(function(domainOffer){domainOffer=$q(domainOffer);if(domainOffer.hasClass("active")){domainOffer.removeClass("active");var additionalOfferClass=domainOffer.getData("additional-class");var rotationContainer=$q(".content-top-container .rotation");
if(!!additionalOfferClass.length&&rotationContainer.hasClass(additionalOfferClass)){rotationContainer.removeClass(additionalOfferClass);}}});var nextRotationEntry=$q(this.domainOffers[index]);var additionalOfferClass=nextRotationEntry.getData("additional-class");var rotationContainer=$q(".content-top-container .rotation");
nextRotationEntry.addClass("active");if(!!additionalOfferClass.length&&!rotationContainer.hasClass(additionalOfferClass)){rotationContainer.addClass(additionalOfferClass);}this.currentIndex=index;},stopAnimationTimer:function(){window.clearInterval(this.animationTimer);this.animationTimer=null;},startAnimationTimer:function(){if(this.animationTimer==null){this.animationTimer=window.setInterval(function(){this.showNextItem();
}.bind(this),this.switchDelay);}},preselectedOption:function(){var trackedDomain=$q("#tracked-tile-domain").getAttribute("name"),domainCheckBoxSelect=$q(".domaincheckbox-select-wrapper").find(".domaincheckbox-input");if(trackedDomain){domainCheckBoxSelect.setValue(trackedDomain);}}}});$q.ready(function(){UNOUNO.components.stageDomain.init();
});
$q.define("UNOUNO.components.catchphraseSearch",{statics:{searchButton:$q(".catchphrase-search-button"),searchField:$q(".catchphrase-search-input"),searchFieldErrorMessage:$q(".catchphrase-search-input-wrapper > .errorbox-wrapper"),searchResultErrorMessage:$q(".tlds-list-container > .catchphrase-error"),recommondationEngineResult:function(response){var catchphraseTLDs=[];
UNOUNO.components.topLevelDomainList.setNoneCategory();if(!!response.results.length){response.results.forEach(function(catchphraseSuggestion,index){catchphraseTLDs.push(catchphraseSuggestion.tld);});UNOUNO.components.topLevelDomainList.setTLDList(function(entry){entry=$q(entry);if(catchphraseTLDs.indexOf(entry.getData("tld"))>-1){return entry;
}});return ;}UNOUNO.components.topLevelDomainList.setTLDList(function(entry){entry=$q(entry);if(entry.hasClass("catchphrase-empty-result")){return entry;}});},getSearchResultErrorMessage:function(){return this.searchResultErrorMessage;},sendRequest:function(catchPhraseValue){catchPhraseValue=catchPhraseValue.trim()||"";
if(!!!catchPhraseValue.length){if(this.searchFieldErrorMessage.hasClass("hidden")){this.searchFieldErrorMessage.removeClass("hidden");}this.searchField.addClasses(["PfxError","PfxInputTextError"]);return ;}if(!this.searchFieldErrorMessage.hasClass("hidden")){this.searchFieldErrorMessage.addClass("hidden");
this.searchField.removeClasses(["PfxError","PfxInputTextError"]);}var webserviceURL="//domrec.1and1.com/domrec/"+document.documentElement.lang.split("-")[1].toLowerCase()+"/tld?q="+encodeURIComponent(catchPhraseValue);if(UNOUNO.params.ucuoId!==undefined){webserviceURL+="&v="+encodeURIComponent(UNOUNO.params.ucuoId);
}if(UNOUNO.params.siteId!==undefined){webserviceURL+="&s="+encodeURIComponent(UNOUNO.params.siteId);}var request=$q.jsonp();request.setCallbackName("UNOUNO.components.catchphraseSearch.recommondationEngineResult");request.open("GET",webserviceURL);request.send(null);},init:function(){this.searchField.on("keydown",function(e){var keyIdentifier=e.getKeyIdentifier();
if(keyIdentifier=="Enter"){this.sendRequest(this.searchField.getValue());e.preventDefault();}},this);this.searchButton.on("click",function(e){this.sendRequest(this.searchField.getValue());},this);}}});$q.define("UNOUNO.components.topLevelDomainList",{statics:{tldCategoryScrollerInstance:null,selectedTLDsScrollerInstance:null,selectedTLDsScrollerFadeout:null,tldCategoryScrollerFadeout:null,tldCategories:$q(".categories-list .category"),tldListContainer:$q(".tlds-list"),tldList:null,selectedDomainsList:$q(".selected-domains-list"),gfxInputs:$q("input[name = 'pricelist.Tlds'], input[name = 'pricelist.domainSelection']"),init:function(){this.initializeTLDScrollList();
this.initializeSelectedTLDScrollList();this.initializeAsterisks();},getTLDListContainer:function(){return this.tldListContainer;},getTLDList:function(){return this.tldList;},getCategoryScrollerInstance:function(){return this.tldCategoryScrollerInstance;},setTLDList:function(tldListFilter){this.tldList.filter(":not(.hidden)").addClass("hidden");
this.tldList.filter(".last").removeClass("last");this.tldList.filter(tldListFilter).removeClass("hidden").filter(":last").addClass("last");this.tldCategoryScrollerInstance.refresh();this.tldCategoryScrollerInstance.scrollTo(0,0,0);},setNoneCategory:function(){this.tldCategories.filter(".current").removeClass("current");
},setCategory:function(id){id=String(id);var previousCategory=this.tldCategories.filter(".current");if(!!previousCategory.length){previousCategory.removeClass("current");}this.setTLDList(function(entry){entry=$q(entry);if((entry.getData("categories")||"").split(",").indexOf(id)>-1){return entry;}});var currentCategory=this.tldCategories.filter("[data-id = "+id+"]");
currentCategory.addClass("current");$q('input[name="pricelist.filterCategory"]').setValue(id);},initializeListClickEvents:function(){var eventName="ontouchstart" in document.documentElement?"tap":"click";var onSelectedDomainsListClick=function(e){var target=$q(e.getTarget());if(target.hasClass("delete")){var input=$q($q.string.escapeRegexpChars("#"+target.getData("reference")));
this.updateGFXBoxState(input,false);}};this.selectedDomainsList.on(eventName,onSelectedDomainsListClick,this);var onTldListContainerClick=function(e){var target=$q(e.getTarget());if(target.hasClass("gfx-input-checked")||target.hasClass("gfx-input-unchecked")){var input=$q($q.string.escapeRegexpChars("#"+target.getData("reference")));
if(target.hasClass("gfx-input-unchecked")){setTimeout(function(){this.updateGFXBoxState(input,true);}.bind(this),100);}else{if(target.hasClass("gfx-input-checked")){setTimeout(function(){this.updateGFXBoxState(input,false);}.bind(this),100);}}}};this.tldListContainer.on(eventName,onTldListContainerClick,this);
var onTldCategoriesClick=function(e){var target=$q(e.getTarget());while(!target.hasClass("category")){target=target.getParents(":eq(0)");}if(!target.hasClass("current")){this.setCategory(target.getData("id"));}};this.tldCategories.on(eventName,onTldCategoriesClick,this);},initializeTLDList:function(){this.tldList=this.tldListContainer.getChildren("li");
},initializeSelectedTLDScrollList:function(){this.selectedDomainsScrollerInstance=$q.scroller("selected-domains",{bounce:false,vScrollbar:{topOffset:2,bottomOffset:4,leftPosition:"custom"}});this.selectedDomainsScrollerInstance.on("scroll",function(e){window.clearTimeout(this.selectedTLDsScrollerFadeout);
if(Math.abs(e.y)>=0){var offset=Math.abs(this.selectedDomainsScrollerInstance.getHeight()-this.selectedDomainsScrollerInstance.find(".tlds-list-container").getHeight())-Math.abs(e.y);if(offset<=10){this.selectedTLDsScrollerFadeout=window.setTimeout(function(){this.selectedDomainsScrollerInstance.removeClass("fadeout-effect");
}.bind(this),10);}else{this.selectedTLDsScrollerFadeout=window.setTimeout(function(){this.selectedDomainsScrollerInstance.addClass("fadeout-effect");}.bind(this),10);}}},this);},initializeScroller:function(){this.tldCategoryScrollerInstance=$q.scroller("tlds-list",{bounce:false,vScrollbar:{topOffset:2,bottomOffset:4,leftPosition:"custom"}});
this.tldCategoryScrollerInstance.on("scroll",function(e){window.clearTimeout(this.tldCategoryScrollerFadeout);if(Math.abs(e.y)>=0){var offset=Math.abs(this.tldCategoryScrollerInstance.getHeight()-this.tldCategoryScrollerInstance.find(".tlds-list-container").getHeight())-Math.abs(e.y);if(offset<=10){this.tldCategoryScrollerFadeout=window.setTimeout(function(){this.tldCategoryScrollerInstance.removeClass("fadeout-effect");
}.bind(this),10);}else{this.tldCategoryScrollerFadeout=window.setTimeout(function(){this.tldCategoryScrollerInstance.addClass("fadeout-effect");}.bind(this),10);}}},this);},initializeAsterisks:function(){$q(".pricelist-container .asterisk[id][data-source]").forEach(function(asterisk){asterisk=$q(asterisk);
new UNOUNO.util.infoFootnote(asterisk.getData("source"),asterisk.getAttribute("id"),"left");});},addSelectedDomain:function(tld){if(!!!this.selectedDomainsList.getChildren("li[data-tld = '"+tld+"']").length){var selectedTLD=$q.create("<li />").setData("tld",tld);selectedTLD.append($q.create("<span />").addClass("tld").setHtml(tld));
selectedTLD.append($q.create("<span />").addClass("delete").setData("reference",this.gfxInputs.getAttribute("name")+"-"+tld));if(!!!this.selectedDomainsList.getChildren("li").length){this.selectedDomainsList.append(selectedTLD);}else{selectedTLD.insertBefore(this.selectedDomainsList.getChildren("li:eq(0)"));
}}},removeSelectedDomain:function(tld){this.selectedDomainsList.getChildren("li[data-tld = '"+tld+"']").remove();},currentGFXBoxstate:function(input){if(input.getAttribute("checked")){$q($q.string.escapeRegexpChars("#"+input.getAttribute("id")+".checked")).show();$q($q.string.escapeRegexpChars("#"+input.getAttribute("id")+".unchecked")).hide();
}else{$q($q.string.escapeRegexpChars("#"+input.getAttribute("id")+".unchecked")).show();$q($q.string.escapeRegexpChars("#"+input.getAttribute("id")+".checked")).hide();}},updateSelectedDomainList:function(){this.selectedDomainsList.getChildren("li.last").removeClass("last");this.selectedDomainsList.getChildren("li:last").addClass("last");
this.selectedDomainsScrollerInstance.refresh();this.selectedDomainsScrollerInstance.scrollTo(0,0,0);if(!!this.selectedDomainsList.getChildren().length){$q(".selected-domains-container").removeClass("hidden");$q(".selected-domains-empty-list").addClass("hidden");}else{$q(".selected-domains-container").addClass("hidden");
$q(".selected-domains-empty-list").removeClass("hidden");}},updateGFXBoxState:function(input,state){input.setAttribute("checked",state);this.currentGFXBoxstate(input);var tld=input.getValue().toLowerCase();var listElement=input.getAncestors("li:eq(0)");if(state){this.addSelectedDomain(tld);listElement.addClass("selected");
}else{this.removeSelectedDomain(tld);listElement.removeClass("selected");}this.updateSelectedDomainList();},initializeGFXCheckboxes:function(){this.gfxInputs.forEach(function(input){input=$q(input);this.currentGFXBoxstate(input);},this);},initializeTLDListSort:function(){$q(".tlds-list-sort span[data-sort]").on("click",function(e){e.preventDefault();
var target=$q(e.getTarget());var sortDirection=target.getData("sort");var sortAttribute=target.getData("sort-attr");if(target.hasClass("sorted")){sortDirection=(sortDirection=="ASC")?"DESC":"ASC";}var normalizeValue=function(x){var number=parseFloat(x);return !isNaN(number)&&isFinite(x)?number:x;};this.tldList=this.tldList.sort(function(elementA,elementB){elementA=$q(elementA);
elementB=$q(elementB);var elementASort=normalizeValue(elementA.getData(sortAttribute)||"");var elementBSort=normalizeValue(elementB.getData(sortAttribute)||"");if(elementASort>elementBSort){return((sortDirection=="ASC")?1:-1);}else{if(elementASort==elementBSort){return 0;}else{return((sortDirection=="ASC")?-1:1);
}}});$q(".tlds-list-sort span.sorted").toggleClasses(["sorted","unsorted"]);$q(".tlds-list").empty().append(this.tldList);target.removeClasses(["ASC","DESC"]);if(target.hasClass("unsorted")){target.toggleClasses(["unsorted","sorted"]);}target.setData("sort",sortDirection);target.addClass(sortDirection);
this.tldList.filter(".last").removeClass("last");this.tldList.filter(":not(.hidden):last").addClass("last");this.tldCategoryScrollerInstance.refresh();this.tldCategoryScrollerInstance.scrollTo(0,0,0);},this);},initializeTLDScrollList:function(){this.initializeTLDList();this.initializeScroller();this.initializeListClickEvents();
this.initializeGFXCheckboxes();this.initializeTLDListSort();var current=this.tldCategories.filter(".current");if(current.length===0){current=this.tldCategories.eq(0);}this.setCategory(current.getData("id"));}}});
$q.define("UNOUNO.components.domaincheckbox",{construct:function(element){this.element=$q(element);this.init();},members:{element:null,init:function(){this.element.find(".errorbox-close").on("click",function(e){e.preventDefault();e.stopPropagation();var target=$q(e.getTarget());target.getAncestors("form:eq(0)").find(".PfxError").removeClasses(["PfxInputTextError","PfxError"]);
target.getAncestors(".errorbox-wrapper:eq(0)").addClass("hidden");},this);}}});$q.ready(function(){$q(".domaincheckbox").forEach(function(element){new UNOUNO.components.domaincheckbox(element);});});



$q.define("UNOUNO.components.webfontPrice",{extend:UNOUNO.components.webfontPrice,construct:function(price,configuration){this.base(arguments,price,configuration);},members:{_configuration:{currencyBefore:"£",decimalSeparator:".",decimalLength:2}}});
UNOUNO.util.infoFootnote=function(footnoteId,linkIDs,alignment,vertical){this.init(footnoteId,linkIDs,alignment,vertical);};UNOUNO.util.infoFootnote.prototype={parent:null,modifyedFootnote:false,initInfoFootnote:function(){if(document.getElementById("container")!==null){this.parent=document.getElementById("container");
}else{this.parent=document.getElementById("container-plain");}if(this.footnote){var i=0,openerLink;if(this.isArray(this.linkIDs)){for(i;i<this.linkIDs.length;i+=1){openerLink=document.getElementById(this.linkIDs[i]);if(openerLink){qx.bom.Element.addListener(openerLink,"click",this.openFootnote,this);
qx.bom.Element.addListener(openerLink,"mouseover",this.setHover,this);qx.bom.Element.addListener(openerLink,"mouseout",this.removeHover,this);}}}else{openerLink=document.getElementById(this.linkIDs);if(openerLink){qx.bom.Element.addListener(openerLink,"click",this.openFootnote,this);qx.bom.Element.addListener(openerLink,"mouseover",this.setHover,this);
qx.bom.Element.addListener(openerLink,"mouseout",this.removeHover,this);}}qx.bom.Element.addListener(this.footnote,"click",this.closeFootnote,this);}},setHover:function(e){qx.bom.element.Class.add(e._currentTarget,"asterisk-hover");},removeHover:function(e){qx.bom.element.Class.remove(e._currentTarget,"asterisk-hover");
},openFootnote:function(e){if(this.footnote){e.preventDefault();this.closeFootnote();if(UNOUNO.global.openFootnote){UNOUNO.global.openFootnote.style.display="none";}UNOUNO.global.openFootnote=this.footnote;this.footnote.style.display="block";this.modifyFootnote(e._currentTarget.id);}},closeFootnote:function(){var i,iframeFixIE6;
this.footnote.style.display="none";if(qx.core.Environment){if(qx.core.Environment.get("engine.version")==="mshtml"&&qx.core.Environment.get("engine.version")==="6.0"){iframeFixIE6=qx.bom.Collection.query(".footnoteInfoIframe")[0];if(iframeFixIE6){qx.dom.Element.remove(iframeFixIE6);}}}},modifyFootnote:function(openerLinkId){if(this.modifyedFootnote===false){if(this.footnote.parentNode!==this.parent){qx.dom.Element.insertBegin(this.footnote,this.parent);
}this.modifyedFootnote=true;}this.footnote.style.position="absolute";var openerLink=document.getElementById(openerLinkId),leftPos=typeof (q)==="object"?$q.create(openerLink).getOffset().left:qx.bom.element.Location.getLeft(openerLink),topPos=typeof (q)==="object"?$q.create(openerLink).getOffset().top:qx.bom.element.Location.getTop(openerLink)-10,width=this.footnote.offsetWidth,height=this.footnote.offsetHeight,idIE6,zIndexIE6,footnoteBoxIFrameIE6,footnoteBoxIFrameIE6Elem;
if(this.alignment==="left"||typeof this.alignment==="undefined"){leftPos=leftPos-width+25;qx.bom.element.Style.set(this.footnote,"left",leftPos+"px");}else{if(this.alignment==="right"){leftPos=leftPos-10;qx.bom.element.Style.set(this.footnote,"left",leftPos+"px");}}if(this.vertical==="down"||typeof this.vertical==="undefined"){qx.bom.element.Style.set(this.footnote,"top",topPos+"px");
}else{if(this.vertical==="up"){topPos=topPos-height+35;qx.bom.element.Style.set(this.footnote,"top",topPos+"px");}}if(qx.core.Environment){if(qx.core.Environment.get("engine.version")==="mshtml"&&qx.core.Environment.get("engine.version")==="6.0"){idIE6=this.footnote.id;zIndexIE6=qx.bom.element.Style.get(this.footnote,"zIndex","COMPUTED_MODE",true)-1;
if(!document.getElementById("iframe."+idIE6)){footnoteBoxIFrameIE6=document.createElement("iframe");footnoteBoxIFrameIE6.setAttribute("id","iframe."+idIE6);footnoteBoxIFrameIE6.setAttribute("src","/modules/frontend-ingrid/img/blank.gif");footnoteBoxIFrameIE6.className="footnoteInfoIframe";qx.dom.Element.insertBefore(footnoteBoxIFrameIE6,this.footnote);
footnoteBoxIFrameIE6Elem=document.getElementById("iframe."+idIE6);qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"opacity",0);qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"position","absolute");qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"zIndex",zIndexIE6);qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"left",leftPos+"px");
qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"top",topPos+"px");qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"width",width+"px");qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"height",height+"px");qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"display","block");}}}},isArray:function(linkIDs){return linkIDs&&typeof linkIDs==="object"&&typeof linkIDs.length==="number"&&typeof linkIDs.splice==="function"&&!(linkIDs.propertyIsEnumerable("length"));
},noTabIndex:function(){if(qx.bom.Collection.id(this.linkIDs).hasClass("no-tabindex")===true){qx.bom.Collection.id(this.linkIDs).setAttribute("tabindex","-1");}},init:function(footnoteId,linkIDs,alignment,vertical){this.footnote=document.getElementById(footnoteId);this.linkIDs=linkIDs;this.alignment=alignment;
this.vertical=vertical;this.noTabIndex();this.initInfoFootnote();}};
$q.define("UNOUNO.components.sectionNavigation",{construct:function(configuration){configuration=configuration||{};if(configuration.hasOwnProperty("trackingEnabled")){this.trackingEnabled=configuration.trackingEnabled;}this.initializeSectionNavigation();this.initializePageLeaveEvent();this.initializeWindowInspection();
this.initializeTracking();window.setTimeout(function(){this.determineCurrentSection();}.bind(this),100);},members:{firePageSectionEventDelay:0.5,pageSectionChangeEvent:null,pageSectionAnchors:$q("a.section-anchor[name]"),previousPageSection:null,pageSectionNavigation:{wrapper:$q.create("<div />").addClass("sectionnav-container"),container:$q.create("<ul />").addClass("sectionnav"),children:[]},trackingEnabled:true,initializeSectionNavigation:function(){this.pageSectionNavigation.wrapper.append(this.pageSectionNavigation.container);
$q("body").append(this.pageSectionNavigation.wrapper);this.pageSectionAnchors.forEach(function(anchor,index){anchor=$q(anchor);var sectionNavChild=$q.create("<li />");var sectionNavChildLink=$q.create("<a />").setAttribute("href","#"+anchor.getAttribute("name"));var sectionNavChildBulletOutter=$q.create("<span />").addClasses(["bullet","smallbullet"]);
var sectionNavChildBulletInner=$q.create("<span />").addClasses(["bullet","bigbullet"]);var sectionNavChildBulletLabel=$q.create("<span />").addClass("label");if(this.trackingEnabled&&typeof (UNOUNO.tracking.genericTracking)=="function"){sectionNavChild.on("click",function(e){UNOUNO.tracking.genericTracking({eVar65:"section-nav:"+anchor.getAttribute("name")});
});}if(anchor.getAttribute("title")!=null&&!!anchor.getAttribute("title").length){sectionNavChildBulletLabel.setHtml(anchor.getAttribute("title"));}sectionNavChildBulletOutter.append(sectionNavChildBulletLabel);sectionNavChildBulletOutter.append(sectionNavChildBulletInner);sectionNavChildLink.append(sectionNavChildBulletOutter);
sectionNavChild.append(sectionNavChildLink);this.pageSectionNavigation.container.append(sectionNavChild);this.pageSectionNavigation.children.push({element:sectionNavChild,name:anchor.getAttribute("name"),position:anchor.getOffset().top});},this);},initializePageLeaveEvent:function(){window.onbeforeunload=function(e){$q(window).off("scroll",this.windowOnScroll,this);
}.bind(this);},initializeWindowInspection:function(){$q(window).on("scroll",this.windowOnScroll,this);},windowOnScroll:function(){this.determineCurrentSection();},getCurrentPageSection:function(){for(var c=0;c<this.pageSectionNavigation.children.length;c++){var currentPageSection=this.pageSectionNavigation.children[c];
if(currentPageSection.element.hasClass("activated-sectionitem")){return currentPageSection.name;}}return null;},determineCurrentSection:function(){var windowScrollTop=$q(window).getScrollTop();var windowHeight=$q(window).getHeight();var currentViewPort=windowScrollTop+windowHeight/2;this.pageSectionNavigation.children.forEach(function(sectionAnchor,index){var anchorStartPosition=sectionAnchor.position;
var anchorEndPosition=$q(document).getHeight();if((index+1) in this.pageSectionNavigation.children){anchorEndPosition=this.pageSectionNavigation.children[index+1].position;}if(sectionAnchor.element.hasClass("activated-sectionitem")){sectionAnchor.element.removeClass("activated-sectionitem");}if(currentViewPort>anchorStartPosition&&currentViewPort<anchorEndPosition){if(!sectionAnchor.element.hasClass("activated-sectionitem")){sectionAnchor.element.addClass("activated-sectionitem");
}}},this);this.announceCurrentSection(this.getCurrentPageSection());},setCurrentLocationHash:function(currentPageSection){if("replaceState" in window.history){if(currentPageSection==null){if(window.location.hash!=""){window.history.replaceState(null,null,window.location.pathname);}return ;}if(window.location.hash!=="#"+currentPageSection){window.history.replaceState(null,null,"#"+currentPageSection);
}}},announceCurrentSection:function(currentPageSection){if(this.pageSectionChangeEvent!=null){window.clearTimeout(this.pageSectionChangeEvent);}this.setCurrentLocationHash(currentPageSection);this.pageSectionChangeEvent=window.setTimeout(function(){if(this.previousPageSection!=currentPageSection){$q(document).emit("pageSectionChanged",{leave:(this.previousPageSection||"none"),enter:(currentPageSection||"none")});
this.previousPageSection=currentPageSection;}}.bind(this),this.firePageSectionEventDelay*1000);},initializeTracking:function(){if(this.trackingEnabled&&typeof (UNOUNO.tracking.sectionTracking)=="function"){$q(document).on("pageSectionChanged",function(data){UNOUNO.tracking.pageSection=data.enter;UNOUNO.tracking.sectionTracking(data.enter);
},this);}}}});
$q.ready(function(){new UNOUNO.components.sectionNavigation({"trackingEnabled":false});});
try{$q.define("UNOUNO.components.contentnav",{statics:{__mainnav:$q("#content-nav"),__mainnavTopPos:$q("#content-nav").getOffset().top,__logoContainer:$q(".logo-container"),stickyNavigation:function(){if(($q(window).getScrollTop())>=(this.__mainnavTopPos+39)){this.__mainnav.addClass("sticky");this.__logoContainer.addClass("show");
}else{this.__mainnav.removeClass("sticky");this.__logoContainer.removeClass("show");this.__mainnav.hide().show();}},init:function(){var environment=window.qx&&qx.core&&qx.core.Environment&&qx.core.Environment.get("device.type");var isMobile=(environment&&(environment==="tablet"||environment==="mobile"));
var isMobileorderOrDSL=(window.UNOUNO&&UNOUNO.params&&(UNOUNO.params.project==="pweborder-de"||UNOUNO.params.project==="dslorder-de"));if(!(isMobile&&isMobileorderOrDSL)){$q(window).on("scroll",function(){this.stickyNavigation();},this);this.stickyNavigation();}}}});$q.ready(function(){UNOUNO.components.contentnav.init();
});}catch(e){}

$q.define("UNOUNO.components.contentnavDE",{statics:{init:function(){if($q("#asterisk-DIY-Business").length>0){UNOUNO.inline.footnoteDIYBASIC=new UNOUNO.util.infoFootnote("diyhomepage_fn_business","asterisk-DIY-Business","left");}}}});$q.ready(function(){UNOUNO.components.contentnavDE.init();});
$q.define("UNOUNO.components.stageDomain",{statics:{initializeAsterisks:function(){$q(".content-top .asterisk[id][data-source]").forEach(function(asterisk){asterisk=$q(asterisk);new UNOUNO.util.infoFootnote(asterisk.getData("source"),asterisk.getAttribute("id"),"left");});}}});

//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/viewportevent-min.js
(function(){var b=window.qxWeb.$$qx;b.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});b.$$packageData["0"]={locales:{},resources:{},translations:{}};(function(){b.Bootstrap.define("baselib.event.Viewport",{statics:{__LQ:!1,__EO:[],isElementInViewport:function(a){a=a.getBoundingClientRect();return(0<=a.top&&a.top<=b.bom.Viewport.getHeight()||0<=a.bottom&&a.bottom<=b.bom.Viewport.getHeight())&&(0<=a.left&&a.left<=b.bom.Viewport.getWidth()||0<=a.right&&a.right<=b.bom.Viewport.getWidth())},
viewportVisibilityChange:function(a,b){var d=baselib.event.Viewport.isElementInViewport(this);if(a.__Rg!=baselib.event.Viewport.isElementInViewport(this)){a.__Rg=baselib.event.Viewport.isElementInViewport(this);var e=b||qxWeb(this),c=this.getBoundingClientRect();a.call(e,{visible:d,viewportOffset:{top:c.top,bottom:c.bottom,left:c.left,right:c.right}})}},registerViewPortEvent:function(a,b,d,e){var c=baselib.event.Viewport;d.__Rg=c.isElementInViewport(a);d.__Rh=c.__EO.length;c.__EO.push(c.viewportVisibilityChange.bind(a,
d,e));if(!c.__LQ)qxWeb(window).on("scroll",function(){for(var b=0;b<c.__EO.length;b++)c.__EO[b]&&c.__EO[b].call(a)});c.__LQ=!0},unregisterViewPortEvent:function(a,b,d){delete baselib.event.Viewport.__EO[d.__Rh];delete d.__Rh;delete d.__Rg}},defer:function(a){qxWeb.$registerEventHook("viewportVisibilityChange",a.registerViewPortEvent,a.unregisterViewPortEvent)}})})()})();

//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/mobile-min.js
(function(){var d=window.qxWeb.$$qx;d.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});d.$$packageData["0"]={locales:{},resources:{},translations:{C:{},en:{}}};(function(){d.Bootstrap.define("qx.module.event.Orientation",{statics:{TYPES:["orientationchange"],BIND_METHODS:["getOrientation","isLandscape","isPortrait"],getOrientation:function(){return this._orientation},isLandscape:function(){return"landscape"==this._mode},isPortrait:function(){return"portrait"==this._mode},
normalize:function(a,b,c){if(!a)return a;a._type=c;b=d.module.event.Orientation.BIND_METHODS;c=0;for(var e=b.length;c<e;c++)"function"!=typeof a[b[c]]&&(a[b[c]]=d.module.event.Orientation[b[c]].bind(a));return a}},defer:function(a){qxWeb.$registerEventNormalization(a.TYPES,a.normalize)}})})();(function(){d.Bootstrap.define("qx.module.event.OrientationHandler",{statics:{TYPES:["orientationchange"],register:function(a){if(!d.dom.Node.isWindow(a))throw Error("The 'orientationchange' event is only available on window objects!");
a.__OQ||(a.$$emitter||(a.$$emitter=new d.event.Emitter),a.__OQ=new d.event.handler.OrientationCore(a,a.$$emitter))},unregister:function(a){if(a.__OQ)if(a.$$emitter){var b=!1,c=a.$$emitter.getListeners();d.module.event.OrientationHandler.TYPES.forEach(function(a){a in c&&0<c[a].length&&(b=!0)});b||(a.__OQ=null)}else a.__OQ=null}},defer:function(a){qxWeb.$registerEventHook(a.TYPES,a.register,a.unregister)}})})();(function(){d.Bootstrap.define("qx.event.handler.OrientationCore",{extend:Object,construct:function(a,
b){this._window=a||window;this.__lV=b;this._initObserver()},members:{__lV:null,_window:null,_currentOrientation:null,__po:null,__pn:null,_initObserver:function(){this.__po=d.lang.Function.listener(this._onNative,this);this.__pn=d.bom.Event.supportsEvent(this._window,"orientationchange")?"orientationchange":"resize";d.bom.Event.addNativeListener(this._window,this.__pn,this.__po)},_stopObserver:function(){d.bom.Event.removeNativeListener(this._window,this.__pn,this.__po)},_onNative:function(a){var b=
d.bom.Viewport.getOrientation();if(this._currentOrientation!=b){this._currentOrientation=b;var c=d.bom.Viewport.isLandscape()?"landscape":"portrait";a._orientation=b;a._mode=c;this.__lV&&this.__lV.emit("orientationchange",a)}}},destruct:function(){this._stopObserver();this.__mO=this.__lV=null}})})();(function(){d.Bootstrap.define("qx.module.event.Touch",{statics:{TYPES:["tap","longtap","swipe","dbltap"],normalize:function(a,b,c){if(!a)return a;a._type=c;return a}},defer:function(a){qxWeb.$registerEventNormalization(a.TYPES,
a.normalize)}})})();(function(){d.Bootstrap.define("qx.module.event.TouchHandler",{statics:{TYPES:["touchstart","touchend","touchmove","touchcancel"],register:function(a){a.__OR||(a.$$emitter||(a.$$emitter=new d.event.Emitter),a.__OR=new d.event.handler.TouchCore(a,a.$$emitter))},unregister:function(a){if(a.__OR)if(a.$$emitter){var b=!1,c=a.$$emitter.getListeners();d.module.event.TouchHandler.TYPES.forEach(function(a){a in c&&0<c[a].length&&(b=!0)});b||(a.__OR=null)}else a.__OR=null}},defer:function(a){qxWeb.$registerEventHook(a.TYPES,
a.register,a.unregister)}})})();(function(){d.Bootstrap.define("qx.event.handler.TouchCore",{extend:Object,statics:{TAP_MAX_DISTANCE:"android"!=d.core.Environment.get("os.name")?10:40,SWIPE_DIRECTION:{x:["left","right"],y:["up","down"]},SWIPE_MIN_DISTANCE:"android"!=d.core.Environment.get("os.name")?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:500},construct:function(a,b){this.__pe=a;this.__lV=b;this._initTouchObserver();this.__pf=[];this.__ci={}},members:{__pe:null,__lV:null,__pg:null,__ph:null,__ci:null,
__pi:null,__pj:null,__pk:null,__pf:null,__pl:null,_initTouchObserver:function(){this.__pg=d.lang.Function.listener(this._onTouchEvent,this);this.__pl=["touchstart","touchmove","touchend","touchcancel"];d.core.Environment.get("event.mspointer")&&(10==parseInt(d.core.Environment.get("engine.version"),10)?this.__pl=["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel"]:this.__pl=["pointerdown","pointermove","pointerup","pointercancel"]);for(var a=0;a<this.__pl.length;a++)d.bom.Event.addNativeListener(this.__pe,
this.__pl[a],this.__pg)},_stopTouchObserver:function(){for(var a=0;a<this.__pl.length;a++)d.bom.Event.removeNativeListener(this.__pe,this.__pl[a],this.__pg)},_onTouchEvent:function(a){this._commonTouchEventHandler(a)},_getScalingDistance:function(a,b){return Math.sqrt(Math.pow(a.pageX-b.pageX,2)+Math.pow(a.pageY-b.pageY,2))},_getRotationAngle:function(a,b){return 180*Math.atan2(a.pageY-b.pageY,a.pageX-b.pageX)/Math.PI},_calcTouchesDelta:function(a){for(var b=[],c=0;c<a.length;c++)b.push(this._calcSingleTouchDelta(a[c]));
return b},_calcSingleTouchDelta:function(a){if(this.__ci.hasOwnProperty(a.identifier)){var b=this.__ci[a.identifier],c=Math.floor(a.clientX-b[0]),b=Math.floor(a.clientY-b[1]),d="x";1>Math.abs(c/b)&&(d="y");return{x:c,y:b,axis:d,identifier:a.identifier}}return{x:0,y:0,axis:null,identifier:a.identifier}},_commonTouchEventHandler:function(a,b){b=b||a.type;if(d.core.Environment.get("event.mspointer")){b=this._mapPointerEvent(b);var c=this._detectTouchesByPointer(a,b);a.changedTouches=c;a.targetTouches=
c;a.touches=c}a.delta=[];if("touchstart"==b)for(this.__ph=this._getTarget(a),a.touches&&1<a.touches.length&&(this.__pj=this._getScalingDistance(a.touches[0],a.touches[1]),this.__pk=this._getRotationAngle(a.touches[0],a.touches[1])),c=0;c<a.changedTouches.length;c++){var e=a.changedTouches[c];this.__ci[e.identifier]=[e.clientX,e.clientY]}"touchmove"==b&&("undefined"==typeof a.scale&&1<a.targetTouches.length&&(c=this._getScalingDistance(a.targetTouches[0],a.targetTouches[1]),a.scale=c/this.__pj),("undefined"==
typeof a.rotation||d.core.Environment.get("event.mspointer"))&&1<a.targetTouches.length&&(c=this._getRotationAngle(a.targetTouches[0],a.targetTouches[1]),a._rotation=c-this.__pk),a.delta=this._calcTouchesDelta(a.targetTouches));this._fireEvent(a,b,this.__ph);d.core.Environment.get("event.mspointer")&&("touchend"!=b&&"touchcancel"!=b||delete this.__pf[a.pointerId]);("touchend"==b||"touchcancel"==b&&a.changedTouches[0])&&delete this.__ci[a.changedTouches[0].identifier]},_detectTouchesByPointer:function(a,
b){var c=[];"touchstart"==b?this.__pf[a.pointerId]=a:"touchmove"==b&&(this.__pf[a.pointerId]=a);for(var d in this.__pf)c.push(this.__pf[d]);return c},_mapPointerEvent:function(a){a=a.toLowerCase();return-1!==a.indexOf("pointerdown")?"touchstart":-1!==a.indexOf("pointerup")?"touchend":-1!==a.indexOf("pointermove")?"touchmove":-1!==a.indexOf("pointercancel")?"touchcancel":a},_getTarget:function(a){var b=d.bom.Event.getTarget(a);"webkit"==d.core.Environment.get("engine.name")?b&&3==b.nodeType&&(b=b.parentNode):
d.core.Environment.get("event.mspointer")&&(a=this.__pm(a))&&(b=a);return b},__pm:function(a){var b=null,c=null;a&&(a.touches&&0!==a.touches.length)&&(b=a.touches[0].clientX,c=a.touches[0].clientY);if(a=document.msElementsFromPoint(b,c))for(b=0;b<a.length;b++)if(c=a[b],"none"!=d.bom.element.Style.get(c,"pointer-events",3))return c;return null},_fireEvent:function(a,b,c){c||(c=this._getTarget(a));b=b||a.type;c&&(c.nodeType&&this.__lV)&&this.__lV.emit(b,a)},dispose:function(){this._stopTouchObserver();
this.__ph=this.__pe=this.__pl=this.__pf=this.__lV=this.__pj=this.__pk=null}}})})()})();

$q.define("UNOUNO.lightbox.domainNtldsNews",{statics:{scroller:null,onComplete:function(lightbox){if(!this.scroller){this.scroller=$q.scroller("news-list",{bounce:false,vScrollbar:{topOffset:2,bottomOffset:4,leftPosition:"custom"}});}else{this.scroller.scrollTo(0,0,0);}}}});$q.define("UNOUNO.components.thereForeCarousel",{statics:{thereForeRotateElements:null,currentIndex:0,thereForeRotateElementsSize:0,init:function(){this.thereForeRotateElements=$q(".therefore-rotate");
this.thereForeRotateLinks=$q(".therefore-buttons li");this.thereForeRotateElementsSize=this.thereForeRotateElements.getChildren("li").length/this.thereForeRotateElements.length;this.initializeClickEvents();this.initializeAsterisks();},initializeClickEvents:function(){$q(".therefore-buttons-wrapper .therefore-arrow-left").on("click",function(e){this.showPrevItem();
},this);$q(".therefore-buttons-wrapper .therefore-arrow-right").on("click",function(e){this.showNextItem();},this);this.thereForeRotateLinks.on("click",function(e){var target=$q(e.getTarget());while($q.getNodeName(target[0])!="li"){target=target.getParents(":eq(0)");}this.showItem(target.getData("id"));
},this);},initializeAsterisks:function(){$q(".asterisk[id][data-source]").forEach(function(asterisk){asterisk=$q(asterisk);new UNOUNO.util.infoFootnote(asterisk.getData("source"),asterisk.getAttribute("id"),"left");});},showPrevItem:function(){var prevIndex=this.currentIndex;prevIndex=(prevIndex==0)?this.thereForeRotateElementsSize-1:prevIndex-1;
this.showItem(prevIndex);},showNextItem:function(){this.showItem((++this.currentIndex%this.thereForeRotateElementsSize));},showItem:function(index){this.thereForeRotateLinks.filter(".current").removeClass("current");this.thereForeRotateLinks.filter("[data-id = "+index+"]").addClass("current");this.thereForeRotateElements.forEach(function(rotateElement){rotateElement=$q(rotateElement);
rotateElementChildren=rotateElement.getChildren("li");rotateElementChildren.filter(":not(.hidden)").addClass("hidden");rotateElementChildren.filter("[data-id = "+index+"]").removeClass("hidden");},this);this.currentIndex=index;}}});$q.define("UNOUNO.pages.domainNTLDS",{statics:{init:function(){$q.placeholder.update();
UNOUNO.components.topLevelDomainList.init();UNOUNO.components.catchphraseSearch.init();UNOUNO.components.thereForeCarousel.init();this.initializeErrorBoxes();this.initializeInfoLayers();this.initializeSynchronizedInputs();$q("a.smoothscroll").on("click",function(e){UNOUNO.global.smoothScroll(e);});$q(".new-domains-pricetable .tld[data-category]").on("click",function(clickEvent){var target=$q(clickEvent.getTarget());
var category=target.getData("category");var categorySelectbox=$q("#categoriescheck\\.category");if(categorySelectbox.getValue()!=category){categorySelectbox.setValue(category);$q("#categoriescheck\\.domainname").focus();new UNOUNO.components.pulseEffect(categorySelectbox);}},this);},initializeSynchronizedInputs:function(){$q("input.synchronized-input").on("focus",function(e){var context=$q(e.getTarget());
var inspectSynchronizedInput=window.setInterval(function(){$q("input.synchronized-input:not(:focus)").setValue(context.getValue());}.bind(this),50);context.on("blur",function(e){window.clearInterval(inspectSynchronizedInput);},this);},this);},initializeErrorBoxes:function(){$q(".errorbox-wrapper:not(.hidden):eq(0)").forEach(function(errorBoxWrapper){errorBoxWrapper=$q(errorBoxWrapper);
errorBoxWrapper.setAttribute("id","errorBoxWrapper"+new Date().getTime());UNOUNO.global.smoothScrollToDestination(errorBoxWrapper.getAttribute("id"),200,1);});$q(".errorbox-close").on("click",function(e){e.preventDefault();var target=$q(e.getTarget());target.getAncestors("form:eq(0)").find(".PfxError").removeClasses(["PfxInputTextError","PfxError"]);
target.getAncestors(".errorbox-wrapper:eq(0)").addClass("hidden");},this);$q("input").on("focus",function(e){var context=$q(e.getTarget());if(context.hasClass("PfxError")){e.preventDefault();var errorBoxWrapper=null;context.removeClasses(["PfxInputTextError","PfxError"]);while((errorBoxWrapper==null||!errorBoxWrapper.hasClass("errorbox-wrapper"))&&$q.getNodeName(context[0])!="form"){errorBoxWrapper=context.getPrevAll(".errorbox-wrapper");
context=context.getParents(":eq(0)");}if(errorBoxWrapper){window.setTimeout(function(){errorBoxWrapper.addClass("hidden");}.bind(this),2000);}}},this);},initializeInfoLayers:function(){$q(".content-bottom .asterisk[id][data-source]").forEach(function(asterisk){asterisk=$q(asterisk);new UNOUNO.util.infoFootnote(asterisk.getData("source"),asterisk.getAttribute("id"),"right");
});}}});$q.ready(function(){UNOUNO.pages.domainNTLDS.init();$q(".domaincheckbox-button-wrapper").on("mousedown",function(e){e.preventDefault();var kat=document.getElementById("categoriescheck.category").value;var linkID=document.getElementById("button-ct-btn-continue-opportunities").previousSibling;kat=kat.replace(/[^\u0000-\u007F]/g,"");
kat=kat.replace(/[\/,&'!]/g,"");kat=kat.replace(/\s/g,"-");kat=kat.replace(/-+/g,"-");linkID.setAttribute("value","ct.btn.continue.opportunities."+kat);},this);});

UNOUNO.params.loadStatus="complete";if(UNOUNO.init.JSLoadStack&&UNOUNO.init.JSLoadStack.length>0){for(UNOUNO.init.processStack=0;UNOUNO.init.processStack<UNOUNO.init.JSLoadStack.length;UNOUNO.init.processStack+=1){UNOUNO.init.JSLoadStack[UNOUNO.init.processStack].call();}}