//# sourceMappingURL=passwordProtectedPageModule.js.map
var $jscomp={scope:{},getGlobal:function(n){return"undefined"!=typeof window&&window===n?n:"undefined"!=typeof global?global:n}};$jscomp.global=$jscomp.getGlobal(this);$jscomp.patches={};$jscomp.patch=function(n,c){($jscomp.patches[n]=$jscomp.patches[n]||[]).push(c);var b=$jscomp.global;n=n.split(".");for(var l=0;l<n.length-1&&b;l++)b=b[n[l]];n=n[n.length-1];b&&b[n]instanceof Function&&(b[n]=c(b[n]))};$jscomp.SYMBOL_PREFIX="jscomp_symbol_";
$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};if(!$jscomp.global.Symbol){$jscomp.global.Symbol=$jscomp.Symbol;var n=[],c=function(b){return function(c){n=[];c=b(c);for(var p=[],k=0,g=c.length;k<g;k++){var e;a:if(e=c[k],e.length<$jscomp.SYMBOL_PREFIX.length)e=!1;else{for(var a=0;a<$jscomp.SYMBOL_PREFIX.length;a++)if(e[a]!=$jscomp.SYMBOL_PREFIX[a]){e=!1;break a}e=!0}e?n.push(c[k]):p.push(c[k])}return p}};$jscomp.patch("Object.keys",c);$jscomp.patch("Object.getOwnPropertyNames",c);$jscomp.patch("Object.getOwnPropertySymbols",
function(b){return function(l){c.unused=Object.getOwnPropertyNames(l);n.push.apply(b(l));return n}})}};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(n){return $jscomp.SYMBOL_PREFIX+n+$jscomp.symbolCounter_++};$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();$jscomp.global.Symbol.iterator||($jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));$jscomp.initSymbolIterator=function(){}};
!function(n){function c(l){if(b[l])return b[l].exports;var p=b[l]={i:l,l:!1,exports:{}};return n[l].call(p.exports,p,p.exports,c),p.l=!0,p.exports}var b={};c.m=n;c.c=b;c.d=function(b,p,k){c.o(b,p)||Object.defineProperty(b,p,{configurable:!1,enumerable:!0,get:k})};c.n=function(b){var p=b&&b.__esModule?function(){return b.default}:function(){return b};return c.d(p,"a",p),p};c.o=function(b,c){return Object.prototype.hasOwnProperty.call(b,c)};c.p="";c(c.s=5816)}({0:function(n,c,b){c.a=function(b,c){if(!(b instanceof
c))throw new TypeError("Cannot call a class as a function");}},1:function(n,c,b){function l(b,c){for(var g=0;g<c.length;g++){var e=c[g];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(b,e.key,e)}}c.a=function(b,c,g){c&&l(b.prototype,c);g&&l(b,g);return Object.defineProperty(b,"prototype",{writable:!1}),b}},100:function(n,c,b){n={PX:"px",PERCENT:"%",VW:"vw",VH:"vh"};Object.freeze(n);c.a=n},11:function(n,c,b){c.a=function(b){if(void 0===b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return b}},110:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(100),g=function(){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,b);this.value=webwave.isNumberAndNotNaN(a.value)?a.value:0;this.unit=webwave.isValidEnumValue(a.unit,k.a)?a.unit:k.a.PX}return Object(p.a)(b,[{key:"getUnit",value:function(){return this.unit}},{key:"setUnit",value:function(a){webwave.isValidEnumValue(a,k.a)&&(this.unit=a)}},{key:"getValue",value:function(){return this.value}},
{key:"setValue",value:function(a){webwave.isNumberAndNotNaN(a)&&(this.value=a)}},{key:"serialize",value:function(){return{value:this.value,unit:this.unit}}},{key:"add",value:function(a){a instanceof b&&this.unit===a.getUnit()&&(this.value+=a.getValue())}},{key:"subtract",value:function(a){return this.unit===a.getUnit()&&(this.value-=a.getValue()),this}},{key:"multiply",value:function(a){return this.value*=a,this}},{key:"equals",value:function(a){return this.getUnit()===a.getUnit()&&this.getValue()===
a.getValue()}},{key:"toString",value:function(){return this.value+this.unit}},{key:"clone",value:function(){return new b({value:this.value,unit:this.unit})}},{key:"loadValuesFromObject",value:function(a){this.setUnit(a.getUnit());this.setValue(a.getValue())}}],[{key:"parseLengthString",value:function(a){var b=String(a);a=parseFloat(b);b=b.match(/%|em/);return isNaN(a)?"":b?a+b:"".concat(Math.round(a),"px")}},{key:"parseLengthUnitString",value:function(a){return(a=String(a).match(/%|em|vh|vw/))?a.toString():
k.a.PX}},{key:"isUnitVWorVH",value:function(a){return a===k.a.VH||a===k.a.VW}},{key:"isUnitPX",value:function(a){return a===k.a.PX}},{key:"isUnitVH",value:function(a){return a===k.a.VH}},{key:"isUnitVW",value:function(a){return a===k.a.VW}},{key:"isUnitDynamic",value:function(a){return b.isUnitVH(a)||b.isUnitVW(a)}},{key:"createLengthWithPxUnitFromValue",value:function(a){return new b({value:!1===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).withoutRounding?Math.round(a):a,unit:k.a.PX})}}]),
b}()},1109:function(n,c,b){c.a={PAGE_TOP_LEFT:"pageTopLeft",PAGE_TOP_RIGHT:"pageTopRight",SCREEN_TOP_LEFT:"screenTopLeft",SCREEN_TOP_RIGHT:"screenTopRight"}},111:function(n,c,b){b.d(c,"a",function(){return d});var l=b(0),p=b(1),k=b(81),g=b(116),e=b(810),a=b(334),d=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,null,[{key:"findWebsiteColorVariableIfValueSameAsWebsiteColor",value:function(a,d){var f=a;webwave.isDefAndNotNull(a)&&(g.a.isValueContainGradientOrIconPhrase(a)?(a=b.findWebsiteColorVariableOrReturnOriginalValue.bind(this,
d),f=f.replaceAll(/(#[a-z|A-Z|0-9]*|((rgb|rgba)\(\d+\,\s?\d+\,\s?\d+(\,\s?[0-1]{1}\.?\d*)?\)))/g,a)):f=b.findWebsiteColorVariableOrReturnOriginalValue(d,a));return f}},{key:"findWebsiteColorValueIfValueIndicateToWebsiteColor",value:function(a,d){var f=a;webwave.isDefAndNotNull(a)&&(g.a.isValueContainGradientOrIconPhrase(a)?(a=b.findWebsiteColorValueOrReturnOriginalValue.bind(this,d),f=f.replaceAll(/var\(([a-z-A-Z-0-9-_,\s]+)\)/g,a)):f=b.findWebsiteColorValueOrReturnOriginalValue(d,a));return f}},
{key:"changeObjectPropertyWithWebsiteColor",value:function(a,d){var f=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e=!1,c=f.property,g=webwave.isDefAndNotNull(c)?a[c]:void 0;webwave.isDefAndNotNull(g)&&(f=b.getValueAfterWebsiteConnectionChange(g,d,f),g!==f&&(a[c]=f,e=!0));return e}},{key:"getValueAfterWebsiteConnectionChange",value:function(d,e){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).connection===a.a.DISCONNECT?b.findWebsiteColorValueIfValueIndicateToWebsiteColor(d,
e):b.findWebsiteColorVariableIfValueSameAsWebsiteColor(d,e)}},{key:"changeObjectColorPropertyWithWebsiteColor",value:function(a,d){var f=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return f.property="color",b.changeObjectPropertyWithWebsiteColor(a,d,f)}},{key:"changeObjectBackgroundColorPropertyWithWebsiteColor",value:function(a,d){var f=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return f.property="backgroundColor",b.changeObjectPropertyWithWebsiteColor(a,d,f)}},{key:"getShadowStringAfterChangingWebsiteColorConnection",
value:function(d,c,f){var g,k=e.a.getShadowColorArrayFromString(d);d=e.a.getShadowSettingsArrayFromString(d);webwave.isArrayWithExactlyOneElement(k)&&webwave.isArrayLike(d)&&(c=f===a.a.CONNECT?b.findWebsiteColorVariableOrReturnOriginalValue(c,k[0]):b.findWebsiteColorValueOrReturnOriginalValue(c,k[0]),c!==k[0]&&(g=e.a.composeShadowValueByColorAndDirectionSettings(c,d)));return g}},{key:"findWebsiteColorVariableToApply",value:function(a,b){a=k.a.isHex(a)?k.a.hex2rgb(a):a;return g.a.checkIfColorSame(b.getColor(),
a)?b.getWebsiteColorVariable():void 0}},{key:"findWebsiteColorVariableOrReturnOriginalValue",value:function(a,d){a=b.findWebsiteColorVariableToApply(d,a);return webwave.isDefAndNotNull(a)?a:d}},{key:"findWebsiteColorValueOrReturnOriginalValue",value:function(a,b){return b===a.getWebsiteColorVariable()?a.getColor():b}},{key:"updateColorInElementAfterWebsiteColorConnectionChange",value:function(d,e){var f,c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(webwave.isDefAndNotEmpty(d.style.color)?
f=d.style.color:"FONT"===d.nodeName&&webwave.isDefAndNotEmpty(d.color)&&(f=d.color),webwave.isDef(f)){var g=c.connection===a.a.DISCONNECT?b.findWebsiteColorValueOrReturnOriginalValue(e,f):b.findWebsiteColorVariableOrReturnOriginalValue(e,f);f!==g&&(d.style.color=g)}for(f=0;f<d.children.length;f++)b.updateColorInElementAfterWebsiteColorConnectionChange(d.children[f],e,c)}}]),b}()},1120:function(n,c){!function(b){var c=["googleapis.com"];b.ajaxPrefilter(function(p,k,g){if(null===c||void 0===c||!c.find(function(a){var b;
return null===p||void 0===p?void 0:null===(b=p.url)||void 0===b?void 0:b.includes(a)})){k=b('meta[name="_csrf_header"]').attr("content");var e=b('meta[name="_csrf"]').attr("content");webwave.isStringAndNotEmpty(k)&&webwave.isStringAndNotEmpty(e)&&g.setRequestHeader(k,e)}})}(jQuery)},113:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,null,[{key:"sumArrayValues",value:function(b){return b.reduce(function(a,b){return a+
b},0)}},{key:"weightedMean",value:function(e,a){return b.sumArrayValues(e.map(function(b,e){return b*a[e]}))/b.sumArrayValues(a)}},{key:"isValueInRange",value:function(b){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return b>=a.min&&b<=a.max}},{key:"limitValue",value:function(b,a,d){return webwave.isNumberAndNotNaN(d)&&(b=Math.min(d,b)),webwave.isNumberAndNotNaN(a)&&(b=Math.max(a,b)),b}},{key:"cartesianProduct",value:function(){for(var b=arguments.length,a=Array(b),d=0;d<b;d++)a[d]=
arguments[d];return!0===webwave.isArrayLike(a)&&0===a.length?[]:a.reduce(function(a,b){return a.flatMap(function(a){return b.map(function(b){return[a,b].flat()})})}).map(function(a){return webwave.isArrayLike(a)?a:[a]})}},{key:"cartesianProductNumber",value:function(b){return!0===webwave.isArrayLike(b)&&0===b.length?0:b.map(function(a){return a.length}).reduce(function(a,b){return a*b})}},{key:"setFloatPriceToLong",value:function(b){var a=b;return webwave.isString(b)&&(a=b.replace(",",".")),Math.round(100*
parseFloat(a))}},{key:"roundValueToTwoDecimals",value:function(b){return Math.round(100*b)/100}},{key:"returnIfNumberOrParseInt",value:function(b){return webwave.isNumber(b)?b:parseInt(b,10)}},{key:"returnUndefinedIfNaN",value:function(b){return isNaN(b)?void 0:b}}]),b}()},114:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.BindingOnSyntax=void 0;var l=b(115);n=function(){function b(c){this._binding=c}return b.prototype.onActivation=function(b){return this._binding.onActivation=
b,new l.BindingWhenSyntax(this._binding)},b}();c.BindingOnSyntax=n},115:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.BindingWhenSyntax=void 0;var l=b(114),p=b(168);n=function(){function b(c){this._binding=c}return b.prototype.when=function(b){return this._binding.constraint=b,new l.BindingOnSyntax(this._binding)},b.prototype.whenTargetNamed=function(b){return this._binding.constraint=p.namedConstraint(b),new l.BindingOnSyntax(this._binding)},b.prototype.whenTargetIsDefault=function(){return this._binding.constraint=
function(b){return null!==b.target&&!b.target.isNamed()&&!b.target.isTagged()},new l.BindingOnSyntax(this._binding)},b.prototype.whenTargetTagged=function(b,e){return this._binding.constraint=p.taggedConstraint(b)(e),new l.BindingOnSyntax(this._binding)},b.prototype.whenInjectedInto=function(b){return this._binding.constraint=function(e){return p.typeConstraint(b)(e.parentRequest)},new l.BindingOnSyntax(this._binding)},b.prototype.whenParentNamed=function(b){return this._binding.constraint=function(e){return p.namedConstraint(b)(e.parentRequest)},
new l.BindingOnSyntax(this._binding)},b.prototype.whenParentTagged=function(b,e){return this._binding.constraint=function(a){return p.taggedConstraint(b)(e)(a.parentRequest)},new l.BindingOnSyntax(this._binding)},b.prototype.whenAnyAncestorIs=function(b){return this._binding.constraint=function(e){return p.traverseAncerstors(e,p.typeConstraint(b))},new l.BindingOnSyntax(this._binding)},b.prototype.whenNoAncestorIs=function(b){return this._binding.constraint=function(e){return!p.traverseAncerstors(e,
p.typeConstraint(b))},new l.BindingOnSyntax(this._binding)},b.prototype.whenAnyAncestorNamed=function(b){return this._binding.constraint=function(e){return p.traverseAncerstors(e,p.namedConstraint(b))},new l.BindingOnSyntax(this._binding)},b.prototype.whenNoAncestorNamed=function(b){return this._binding.constraint=function(e){return!p.traverseAncerstors(e,p.namedConstraint(b))},new l.BindingOnSyntax(this._binding)},b.prototype.whenAnyAncestorTagged=function(b,e){return this._binding.constraint=function(a){return p.traverseAncerstors(a,
p.taggedConstraint(b)(e))},new l.BindingOnSyntax(this._binding)},b.prototype.whenNoAncestorTagged=function(b,e){return this._binding.constraint=function(a){return!p.traverseAncerstors(a,p.taggedConstraint(b)(e))},new l.BindingOnSyntax(this._binding)},b.prototype.whenAnyAncestorMatches=function(b){return this._binding.constraint=function(e){return p.traverseAncerstors(e,b)},new l.BindingOnSyntax(this._binding)},b.prototype.whenNoAncestorMatches=function(b){return this._binding.constraint=function(e){return!p.traverseAncerstors(e,
b)},new l.BindingOnSyntax(this._binding)},b}();c.BindingWhenSyntax=n},116:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(81),g=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,null,[{key:"rgbaOrRgb2hexAndOpacity",value:function(a){var b,e,c,g={hex:"#000000",opacity:1},f=function(a){a=parseInt(a);return isNaN(a)?"00":(a=Math.max(a,0),1===(a=(a=Math.min(a,255)).toString(16)).length?"0"+a:a)};return webwave.isString(a)&&("transparent"===a&&(g.opacity=0),a.startsWith("rgba")?
(b=/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d|\d\.\d*)\)/,(e=a.match(b))&&5===e.length&&(g.hex="#"+f(e[1])+f(e[2])+f(e[3]),c=parseFloat(e[4]),c=Math.max(c,0),c=Math.min(c,1),g.opacity=c)):a.startsWith("rgb")&&(b=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,(e=a.match(b))&&4===e.length&&(g.hex="#"+f(e[1])+f(e[2])+f(e[3]),g.opacity=1))),g}},{key:"isTransparent",value:function(a){return"transparent"===a||0===b.rgbaOrRgb2hexAndOpacity(a).opacity}},{key:"isTransparentOrSomeLevelOfTransparency",
value:function(a){return"transparent"===a||1>b.rgbaOrRgb2hexAndOpacity(a).opacity}},{key:"rgbObjectAndOpacityToRgbaString",value:function(a,b){return"rgba("+a.r+","+a.g+","+a.b+","+b+")"}},{key:"rgbAndOpacityToRgba",value:function(a,d){var c,g,k;return webwave.isNotString(a)&&(a="rgb(0,0,0)"),webwave.isNumberAndNotNaN(d)||(d=1),c=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,(g=a.match(c))&&4===g.length?(k={r:parseInt(g[1],10),g:parseInt(g[2],10),b:parseInt(g[3],10)},b.rgbObjectAndOpacityToRgbaString(k,
d)):"rgba(0,0,0,1)"}},{key:"isColorStartWithRgbPhrase",value:function(a){return b.isColorStartWithAnyOfPhrase(a,["rgb"])}},{key:"isColorStartWithVarPhrase",value:function(a){return b.isColorStartWithAnyOfPhrase(a,["var"])}},{key:"isColorStartWithAnyOfPhrase",value:function(a,b){return b.some(function(b){return a.startsWith(b)})}},{key:"isValueContainGradientOrIconPhrase",value:function(a){return-1<a.indexOf("gradient")||b.isValueContainsIconPhrase(a)}},{key:"isValueContainsIconPhrase",value:function(a){return-1<
a.indexOf("ww_icon")}},{key:"checkIfColorSame",value:function(a,b){var e=!1;if(webwave.isDefAndNotNull(a)&&webwave.isDefAndNotNull(b)){var c,g;k.a.isRgba(a)||(a=a.replace(/[^\d,]/g,"").split(","),a="rgba(".concat(a[0],", ").concat(a[1],", ").concat(a[2],", 1)"));k.a.isRgba(b)||(b=b.replace(/[^\d,]/g,"").split(","),b="rgba(".concat(b[0],", ").concat(b[1],", ").concat(b[2],", 1)"));e=(null===(c=a)||void 0===c?void 0:c.replace(/\s/g,""))===(null===(g=b)||void 0===g?void 0:g.replace(/\s/g,""))}return e}},
{key:"generateRgbRandomColor",value:function(){var a="".concat(b.generateRandomColor(0,255)),d="".concat(b.generateRandomColor(0,255)),c="".concat(b.generateRandomColor(0,255));return"rgb(".concat(a,", ").concat(d,", ").concat(c,")")}},{key:"generateRandomColor",value:function(a,b){return Math.round(Math.random()*(b-a)+a)}}]),b}()},1163:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(110),g=(b(100),function(){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:
{};Object(l.a)(this,b);this._x=new k.a(a.x);this._y=new k.a(a.y)}return Object(p.a)(b,[{key:"subtract",value:function(a){this._x.subtract(a.getX());this._y.subtract(a.getY())}},{key:"add",value:function(a){this._x.add(a.getX());this._y.add(a.getY())}},{key:"serialize",value:function(){return{x:this._x.serialize(),y:this._y.serialize()}}},{key:"clone",value:function(){return new b(this.serialize())}},{key:"equals",value:function(a){return this._x.equals(a._x)&&this._y.equals(a._y)}},{key:"setX",value:function(a){this._x=
a}},{key:"setXUnit",value:function(a){this._x.setUnit(a)}},{key:"getXUnit",value:function(){return this._x.getUnit()}},{key:"setYUnit",value:function(a){this._y.setUnit(a)}},{key:"getYUnit",value:function(){return this._y.getUnit()}},{key:"getX",value:function(){return this._x}},{key:"setY",value:function(a){this._y=a}},{key:"getY",value:function(){return this._y}},{key:"getYValue",value:function(){return this.getY().getValue()}},{key:"getXValue",value:function(){return this.getX().getValue()}},{key:"setYValue",
value:function(a){this.getY().setValue(a)}},{key:"setXValue",value:function(a){this.getX().setValue(a)}},{key:"toJSON",value:function(){return this.serialize()}},{key:"isAnyUnitDynamic",value:function(){return this.isXUnitDynamic()||this.isYUnitDynamic()}},{key:"isXUnitDynamic",value:function(){return k.a.isUnitDynamic(this.getXUnit())}},{key:"isYUnitDynamic",value:function(){return k.a.isUnitDynamic(this.getYUnit())}}]),b}())},1164:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),
k=b(111),g=function(){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,b);this.gradientType=webwave.isString(a.gradientType)?a.gradientType:"linear-gradient";this.angle=webwave.isString(a.angle)?a.angle:"0deg";this.rgb1=webwave.isString(a.rgb1)?a.rgb1:"#000";this.rgb2=webwave.isString(a.rgb2)?a.rgb2:"#666";this.start1=webwave.isString(a.start1)?a.start1:"0%";this.start2=webwave.isString(a.start2)?a.start2:"100%"}return Object(p.a)(b,[{key:"toBackgroundImageString",
value:function(){return"linear-gradient"===this.gradientType?this.gradientType+"("+this.angle+", "+this.rgb1+" "+this.start1+", "+this.rgb2+" "+this.start2+")":"radial-gradient("+this.rgb1+" "+this.start1+", "+this.rgb2+" "+this.start2+")"}},{key:"serialize",value:function(){return{gradientType:this.gradientType,angle:this.angle,rgb1:this.rgb1,start1:this.start1,rgb2:this.rgb2,start2:this.start2}}},{key:"equals",value:function(a){return this.gradientType===a.gradientType&&this.angle===a.angle&&this.rgb1===
a.rgb1&&this.rgb2===a.rgb2&&this.start1===a.start1&&this.start2===a.start2}},{key:"clone",value:function(){return new b(this.serialize())}},{key:"changeWebsiteColorConnection",value:function(a,b){var c=k.a.changeObjectPropertyWithWebsiteColor(this,a,{property:"rgb1",connection:b});a=k.a.changeObjectPropertyWithWebsiteColor(this,a,{property:"rgb2",connection:b});return!0===c||!0===a}}]),b}()},1165:function(n,c,b){(function(c){var p=b(38);!function(b,g){"object"===Object(p.a)(c)&&"object"===Object(p.a)(c.exports)?
c.exports=b.document?g(b,!0):function(b){if(!b.document)throw Error("jQuery requires a window with a document");return g(b)}:g(b)}("undefined"!=typeof window?window:this,function(c,g){function e(a,b){var q=(b=b||I).createElement("script");q.text=a;b.head.appendChild(q).parentNode.removeChild(q)}function a(a){var b=!!a&&"length"in a&&a.length,q=m.type(a);return"function"!==q&&!m.isWindow(a)&&("array"===q||0===b||"number"==typeof b&&0<b&&b-1 in a)}function d(a,b,q){if(m.isFunction(b))return m.grep(a,
function(a,d){return!!b.call(a,d,a)!==q});if(b.nodeType)return m.grep(a,function(a){return a===b!==q});if("string"==typeof b){if(ob.test(b))return m.filter(b,a,q);b=m.filter(b,a)}return m.grep(a,function(a){return-1<ua.call(b,a)!==q&&1===a.nodeType})}function r(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function u(a){return a}function v(a){throw a;}function f(a,b,q){var d;try{a&&m.isFunction(d=a.promise)?d.call(a).done(b).fail(q):a&&m.isFunction(d=a.then)?d.call(a,b,q):b.call(void 0,a)}catch(c){q.call(void 0,
c)}}function w(){I.removeEventListener("DOMContentLoaded",w);c.removeEventListener("load",w);m.ready()}function l(){this.expando=m.expando+l.uid++}function z(a,b,q){var d;if(void 0===q&&1===a.nodeType)if(d="data-"+b.replace(pb,"-$&").toLowerCase(),"string"==typeof(q=a.getAttribute(d))){try{q="true"===q||"false"!==q&&("null"===q?null:+q+""===q?+q:qb.test(q)?JSON.parse(q):q)}catch(c){}V.set(a,b,q)}else q=void 0;return q}function n(a,b,q,d){var c,h=1,f=20,e=d?function(){return d.cur()}:function(){return m.css(a,
b,"")},g=e(),t=q&&q[3]||(m.cssNumber[b]?"":"px"),r=(m.cssNumber[b]||"px"!==t&&+g)&&ja.exec(m.css(a,b));if(r&&r[3]!==t){t=t||r[3];q=q||[];r=+g||1;do r/=h=h||".5",m.style(a,b,r+t);while(h!==(h=e()/g)&&1!==h&&--f)}return q&&(r=+r||+g||0,c=q[1]?r+(q[1]+1)*q[2]:+q[2],d&&(d.unit=t,d.start=r,d.end=c)),c}function A(a,b){for(var q,d,c=[],h=0,f=a.length;h<f;h++)if((d=a[h]).style)if(q=d.style.display,b){if("none"===q&&(c[h]=D.get(d,"display")||null,c[h]||(d.style.display="")),""===d.style.display&&ya(d)){q=
h;var e,g=void 0;e=d.ownerDocument;var t=d.nodeName;e=(d=Oa[t])||(g=e.body.appendChild(e.createElement(t)),d=m.css(g,"display"),g.parentNode.removeChild(g),"none"===d&&(d="block"),Oa[t]=d,d);c[q]=e}}else"none"!==q&&(c[h]="none",D.set(d,"display",q));for(h=0;h<f;h++)null!=c[h]&&(a[h].style.display=c[h]);return a}function y(a,b){var q=void 0!==a.getElementsByTagName?a.getElementsByTagName(b||"*"):void 0!==a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&m.nodeName(a,b)?m.merge([a],
q):q}function x(a,b){for(var q=0,d=a.length;q<d;q++)D.set(a[q],"globalEval",!b||D.get(b[q],"globalEval"))}function H(a,b,q,d,c){for(var h,f,e,g,t=b.createDocumentFragment(),r=[],k=0,v=a.length;k<v;k++)if((h=a[k])||0===h)if("object"===m.type(h))m.merge(r,h.nodeType?[h]:h);else if(sb.test(h)){f=f||t.appendChild(b.createElement("div"));e=(Pa.exec(h)||["",""])[1].toLowerCase();e=W[e]||W._default;f.innerHTML=e[1]+m.htmlPrefilter(h)+e[2];for(e=e[0];e--;)f=f.lastChild;m.merge(r,f.childNodes);(f=t.firstChild).textContent=
""}else r.push(b.createTextNode(h));t.textContent="";for(k=0;h=r[k++];)if(d&&-1<m.inArray(h,d))c&&c.push(h);else if(g=m.contains(h.ownerDocument,h),f=y(t.appendChild(h),"script"),g&&x(f),q)for(e=0;h=f[e++];)Qa.test(h.type||"")&&q.push(h);return t}function F(){return!0}function C(){return!1}function L(){try{return I.activeElement}catch(a){}}function M(a,b,q,d,h,c){var f,e;if("object"===Object(p.a)(b)){for(e in"string"!=typeof q&&(d=d||q,q=void 0),b)M(a,e,q,d,b[e],c);return a}if(null==d&&null==h?(h=
q,d=q=void 0):null==h&&("string"==typeof q?(h=d,d=void 0):(h=d,d=q,q=void 0)),!1===h)h=C;else if(!h)return a;return 1===c&&(f=h,(h=function(a){return m().off(a),f.apply(this,arguments)}).guid=f.guid||(f.guid=m.guid++)),a.each(function(){m.event.add(this,b,h,d,q)})}function Q(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")&&a.getElementsByTagName("tbody")[0]||a}function Y(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function h(a){var b=tb.exec(a.type);
return b?a.type=b[1]:a.removeAttribute("type"),a}function t(a,b){var q,d,h,c,f,e;if(1===b.nodeType){if(D.hasData(a)&&(q=D.access(a),d=D.set(b,q),e=q.events))for(h in delete d.handle,d.events={},e)for(q=0,d=e[h].length;q<d;q++)m.event.add(b,h,e[h][q]);V.hasData(a)&&(c=V.access(a),f=m.extend({},c),V.set(b,f))}}function O(a,b,q,d){b=Ra.apply([],b);var c,f,g,t,r=0,k=a.length,v=k-1,w=b[0],u=m.isFunction(w);if(u||1<k&&"string"==typeof w&&!J.checkClone&&ub.test(w))return a.each(function(h){var c=a.eq(h);
u&&(b[0]=w.call(this,h,c.html()));O(c,b,q,d)});if(k&&(f=(c=H(b,a[0].ownerDocument,!1,a,d)).firstChild,1===c.childNodes.length&&(c=f),f||d)){for(g=(f=m.map(y(c,"script"),Y)).length;r<k;r++)t=c,r!==v&&(t=m.clone(t,!0,!0),g&&m.merge(f,y(t,"script"))),q.call(a[r],t,r);if(g)for(c=f[f.length-1].ownerDocument,m.map(f,h),r=0;r<g;r++)t=f[r],Qa.test(t.type||"")&&!D.access(t,"globalEval")&&m.contains(c,t)&&(t.src?m._evalUrl&&m._evalUrl(t.src):e(t.textContent.replace(vb,""),c))}return a}function R(a,b,q){for(var d=
b?m.filter(b,a):a,h=0;null!=(b=d[h]);h++)q||1!==b.nodeType||m.cleanData(y(b)),b.parentNode&&(q&&m.contains(b.ownerDocument,b)&&x(y(b,"script")),b.parentNode.removeChild(b));return a}function P(a,b,q){var d,h,c,f,e=a.style;return(q=q||za(a))&&(""!==(f=q.getPropertyValue(b)||q[b])||m.contains(a.ownerDocument,a)||(f=m.style(a,b)),!J.pixelMarginRight()&&Ga.test(f)&&Sa.test(b)&&(d=e.width,h=e.minWidth,c=e.maxWidth,e.minWidth=e.maxWidth=e.width=f,f=q.width,e.width=d,e.minWidth=h,e.maxWidth=c)),void 0!==
f?f+"":f}function E(a,b){return{get:function(){if(!a())return(this.get=b).apply(this,arguments);delete this.get}}}function fa(a){if(a in Ta)return a;for(var b=a[0].toUpperCase()+a.slice(1),q=Ua.length;q--;)if((a=Ua[q]+b)in Ta)return a}function U(a,b,q){return(a=ja.exec(b))?Math.max(0,a[2]-(q||0))+(a[3]||"px"):b}function S(a,b,q,d,h){b=q===(d?"border":"content")?4:"width"===b?1:0;for(var c=0;4>b;b+=2)"margin"===q&&(c+=m.css(a,q+ka[b],!0,h)),d?("content"===q&&(c-=m.css(a,"padding"+ka[b],!0,h)),"margin"!==
q&&(c-=m.css(a,"border"+ka[b]+"Width",!0,h))):(c+=m.css(a,"padding"+ka[b],!0,h),"padding"!==q&&(c+=m.css(a,"border"+ka[b]+"Width",!0,h)));return c}function K(a,b,q){var d,h=!0,c=za(a),f="border-box"===m.css(a,"boxSizing",!1,c);if(a.getClientRects().length&&(d=a.getBoundingClientRect()[b]),0>=d||null==d){if((0>(d=P(a,b,c))||null==d)&&(d=a.style[b]),Ga.test(d))return d;h=f&&(J.boxSizingReliable()||d===a.style[b]);d=parseFloat(d)||0}return d+S(a,b,q||(f?"border":"content"),h,c)+"px"}function T(a,b,q,
d,h){return new T.prototype.init(a,b,q,d,h)}function aa(){pa&&(c.requestAnimationFrame(aa),m.fx.tick())}function N(){return c.setTimeout(function(){da=void 0}),da=m.now()}function ga(a,b){var q,d=0,h={height:a};for(b=b?1:0;4>d;d+=2-b)h["margin"+(q=ka[d])]=h["padding"+q]=a;return b&&(h.opacity=h.width=a),h}function X(a,b,q){for(var d,h=(ba.tweeners[b]||[]).concat(ba.tweeners["*"]),c=0,f=h.length;c<f;c++)if(d=h[c].call(q,b,a))return d}function ba(a,b,q){var d,h=0,c=ba.prefilters.length,f=m.Deferred().always(function(){delete e.elem}),
e=function(){if(d)return!1;for(var b=da||N(),b=Math.max(0,g.startTime+g.duration-b),q=1-(b/g.duration||0),h=0,c=g.tweens.length;h<c;h++)g.tweens[h].run(q);return f.notifyWith(a,[g,q,b]),1>q&&c?b:(f.resolveWith(a,[g]),!1)},g=f.promise({elem:a,props:m.extend({},b),opts:m.extend(!0,{specialEasing:{},easing:m.easing._default},q),originalProperties:b,originalOptions:q,startTime:da||N(),duration:q.duration,tweens:[],createTween:function(b,q){b=m.Tween(a,g.opts,b,q,g.opts.specialEasing[b]||g.opts.easing);
return g.tweens.push(b),b},stop:function(b){var q=0,h=b?g.tweens.length:0;if(d)return this;for(d=!0;q<h;q++)g.tweens[q].run(1);return b?(f.notifyWith(a,[g,1,0]),f.resolveWith(a,[g,b])):f.rejectWith(a,[g,b]),this}});q=g.props;!function(a,b){var q,d,h,c,f;for(q in a)if(h=b[d=m.camelCase(q)],c=a[q],m.isArray(c)&&(h=c[1],c=a[q]=c[0]),q!==d&&(a[d]=c,delete a[q]),(f=m.cssHooks[d])&&"expand"in f)for(q in c=f.expand(c),delete a[d],c)q in a||(a[q]=c[q],b[q]=h);else b[d]=h}(q,g.opts.specialEasing);for(;h<c;h++)if(b=
ba.prefilters[h].call(g,a,q,g.opts))return m.isFunction(b.stop)&&(m._queueHooks(g.elem,g.opts.queue).stop=m.proxy(b.stop,b)),b;return m.map(q,X,g),m.isFunction(g.opts.start)&&g.opts.start.call(a,g),m.fx.timer(m.extend(e,{elem:a,anim:g,queue:g.opts.queue})),g.progress(g.opts.progress).done(g.opts.done,g.opts.complete).fail(g.opts.fail).always(g.opts.always)}function ha(a){return a.getAttribute&&a.getAttribute("class")||""}function va(a,b,q,d){var h;if(m.isArray(b))m.each(b,function(b,h){q||wb.test(a)?
d(a,h):va(a+"["+("object"===Object(p.a)(h)&&null!=h?b:"")+"]",h,q,d)});else if(q||"object"!==m.type(b))d(a,b);else for(h in b)va(a+"["+h+"]",b[h],q,d)}function Aa(a){return function(b,q){"string"!=typeof b&&(q=b,b="*");var d=0,h=b.toLowerCase().match(ca)||[];if(m.isFunction(q))for(;b=h[d++];)"+"===b[0]?(b=b.slice(1)||"*",(a[b]=a[b]||[]).unshift(q)):(a[b]=a[b]||[]).push(q)}}function wa(a,b,q,d){function h(e){var g;return c[e]=!0,m.each(a[e]||[],function(a,e){a=e(b,q,d);return"string"!=typeof a||f||
c[a]?f?!(g=a):void 0:(b.dataTypes.unshift(a),h(a),!1)}),g}var c={},f=a===Ha;return h(b.dataTypes[0])||!c["*"]&&h("*")}function xa(a,b){var q,d,h=m.ajaxSettings.flatOptions||{};for(q in b)void 0!==b[q]&&((h[q]?a:d||(d={}))[q]=b[q]);return d&&m.extend(!0,a,d),a}function Ba(a){return m.isWindow(a)?a:9===a.nodeType&&a.defaultView}var la=[],I=c.document,xb=Object.getPrototypeOf,ea=la.slice,Ra=la.concat,Ia=la.push,ua=la.indexOf,Ca={},Va=Ca.toString,Da=Ca.hasOwnProperty,Wa=Da.toString,yb=Wa.call(Object),
J={},m=function nb(a,b){return new nb.fn.init(a,b)},zb=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Ab=/^-ms-/,Bb=/-([a-z])/g,Cb=function(a,b){return b.toUpperCase()};$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();$jscomp.initSymbol();$jscomp.initSymbolIterator();m.fn=m.prototype={jquery:"3.0.0",constructor:m,length:0,toArray:function(){return ea.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:ea.call(this)},pushStack:function(a){a=m.merge(this.constructor(),
a);return a.prevObject=this,a},each:function(a){return m.each(this,a)},map:function(a){return this.pushStack(m.map(this,function(b,d){return a.call(b,d,b)}))},slice:function(){return this.pushStack(ea.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length;a=+a+(0>a?b:0);return this.pushStack(0<=a&&a<b?[this[a]]:[])},end:function(){return this.prevObject||this.constructor()},push:Ia,sort:la.sort,splice:la.splice};m.extend=m.fn.extend=
function(){var a,b,d,h,c,f,e=arguments[0]||{},g=1,t=arguments.length,r=!1;"boolean"==typeof e&&(r=e,e=arguments[g]||{},g++);"object"===Object(p.a)(e)||m.isFunction(e)||(e={});for(g===t&&(e=this,g--);g<t;g++)if(null!=(a=arguments[g]))for(b in a)d=e[b],e!==(h=a[b])&&(r&&h&&(m.isPlainObject(h)||(c=m.isArray(h)))?(c?(c=!1,f=d&&m.isArray(d)?d:[]):f=d&&m.isPlainObject(d)?d:{},e[b]=m.extend(r,f,h)):void 0!==h&&(e[b]=h));return e};m.extend({expando:"jQuery"+("3.0.0"+Math.random()).replace(/\D/g,""),isReady:!0,
error:function(a){throw Error(a);},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=m.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))},isPlainObject:function(a){var b,d;return!(!a||"[object Object]"!==Va.call(a))&&(!(b=xb(a))||"function"==typeof(d=Da.call(b,"constructor")&&b.constructor)&&Wa.call(d)===yb)},isEmptyObject:function(a){for(var b in a)return!1;
return!0},type:function(a){return null==a?a+"":"object"===Object(p.a)(a)||"function"==typeof a?Ca[Va.call(a)]||"object":Object(p.a)(a)},globalEval:function(a){e(a)},camelCase:function(a){return a.replace(Ab,"ms-").replace(Bb,Cb)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(b,q){var d,h=0;if(a(b))for(d=b.length;h<d&&!1!==q.call(b[h],h,b[h]);h++);else for(h in b)if(!1===q.call(b[h],h,b[h]))break;return b},trim:function(a){return null==a?"":(a+
"").replace(zb,"")},makeArray:function(b,q){q=q||[];return null!=b&&(a(Object(b))?m.merge(q,"string"==typeof b?[b]:b):Ia.call(q,b)),q},inArray:function(a,b,d){return null==b?-1:ua.call(b,a,d)},merge:function(a,b){for(var d=+b.length,h=0,c=a.length;h<d;h++)a[c++]=b[h];return a.length=c,a},grep:function(a,b,d){var h=[],c=0,f=a.length;for(d=!d;c<f;c++)!b(a[c],c)!==d&&h.push(a[c]);return h},map:function(b,q,d){var h,c,f=0,e=[];if(a(b))for(h=b.length;f<h;f++)null!=(c=q(b[f],f,d))&&e.push(c);else for(f in b)null!=
(c=q(b[f],f,d))&&e.push(c);return Ra.apply([],e)},guid:1,proxy:function(a,b){var d,h,c;if("string"==typeof b&&(d=a[b],b=a,a=d),m.isFunction(a))return h=ea.call(arguments,2),c=function(){return a.apply(b||this,h.concat(ea.call(arguments)))},c.guid=a.guid=a.guid||m.guid++,c},now:Date.now,support:J});"function"==typeof Symbol&&(m.fn[Symbol.iterator]=la[Symbol.iterator]);m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){Ca["[object "+b+"]"]=b.toLowerCase()});
var oa=function(a){function b(a,q,d,h){var c,f,e,g,t,r=q&&q.ownerDocument,k=q?q.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!h&&((q?q.ownerDocument||q:X)!==K&&O(q),q=q||K,M)){if(11!==k&&(g=qa.exec(a)))if(c=g[1])if(9===k){if(!(f=q.getElementById(c)))return d;if(f.id===c)return d.push(f),d}else{if(r&&(f=r.getElementById(c))&&aa(q,f)&&f.id===c)return d.push(f),d}else{if(g[2])return J.apply(d,q.getElementsByTagName(a)),d;if((c=g[3])&&E.getElementsByClassName&&q.getElementsByClassName)return J.apply(d,
q.getElementsByClassName(c)),d}if(!(!E.qsa||F[a+" "]||U&&U.test(a))){if(1!==k)r=q,t=a;else if("object"!==q.nodeName.toLowerCase()){(e=q.getAttribute("id"))?e=e.replace(ra,sa):q.setAttribute("id",e=N);for(c=(f=P(a)).length;c--;)f[c]="#"+e+" "+w(f[c]);t=f.join(",");r=ja.test(a)&&m(q.parentNode)||q}if(t)try{return J.apply(d,r.querySelectorAll(t)),d}catch(Z){}finally{e===N&&q.removeAttribute("id")}}}return fa(a.replace(W,"$1"),q,d,h)}function d(){var a=[];return function Xa(b,q){return a.push(b+" ")>
y.cacheLength&&delete Xa[a.shift()],Xa[b+" "]=q}}function h(a){return a[N]=!0,a}function c(a){var b=K.createElement("fieldset");try{return!!a(b)}catch(q){return!1}finally{b.parentNode&&b.parentNode.removeChild(b)}}function f(a,b){a=a.split("|");for(var q=a.length;q--;)y.attrHandle[a[q]]=b}function e(a,b){var q=b&&a,d=q&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(q)for(;q=q.nextSibling;)if(q===b)return-1;return a?1:-1}function g(a){return function(b){return"input"===
b.nodeName.toLowerCase()&&b.type===a}}function t(a){return function(b){var q=b.nodeName.toLowerCase();return("input"===q||"button"===q)&&b.type===a}}function r(a){return function(b){return"label"in b&&b.disabled===a||"form"in b&&b.disabled===a||"form"in b&&!1===b.disabled&&(b.isDisabled===a||b.isDisabled!==!a&&("label"in b||!ua(b))!==a)}}function k(a){return h(function(b){return b=+b,h(function(q,d){for(var h,c=a([],q.length,b),f=c.length;f--;)q[h=c[f]]&&(q[h]=!(d[h]=q[h]))})})}function m(a){return a&&
void 0!==a.getElementsByTagName&&a}function v(){}function w(a){for(var b=0,q=a.length,d="";b<q;b++)d+=a[b].value;return d}function u(a,b,q){var d=b.dir,h=b.next,c=h||d,f=q&&"parentNode"===c,e=H++;return b.first?function(b,q,h){for(;b=b[d];)if(1===b.nodeType||f)return a(b,q,h)}:function(b,q,g){var t,r,k,m=[R,e];if(g)for(;b=b[d];){if((1===b.nodeType||f)&&a(b,q,g))return!0}else for(;b=b[d];)if(1===b.nodeType||f)if(r=(k=b[N]||(b[N]={}))[b.uniqueID]||(k[b.uniqueID]={}),h&&h===b.nodeName.toLowerCase())b=
b[d]||b;else{if((t=r[c])&&t[0]===R&&t[1]===e)return m[2]=t[2];if(r[c]=m,m[2]=a(b,q,g))return!0}}}function p(a){return 1<a.length?function(b,q,d){for(var h=a.length;h--;)if(!a[h](b,q,d))return!1;return!0}:a[0]}function l(a,b,q,d,h){for(var c,f=[],e=0,g=a.length,t=null!=b;e<g;e++)(c=a[e])&&(q&&!q(c,d,h)||(f.push(c),t&&b.push(e)));return f}function C(a,d,c,f,e,g){return f&&!f[N]&&(f=C(f)),e&&!e[N]&&(e=C(e,g)),h(function(h,g,t,r){var k,m,Z=[],v=[],w=g.length,u;if(!(u=h)){u=d||"*";for(var p=t.nodeType?
[t]:t,C=[],B=0,E=p.length;B<E;B++)b(u,p[B],C);u=C}u=!a||!h&&d?u:l(u,Z,a,t,r);p=c?e||(h?a:w||f)?[]:g:u;if(c&&c(u,p,t,r),f)for(k=l(p,v),f(k,[],t,r),t=k.length;t--;)(m=k[t])&&(p[v[t]]=!(u[v[t]]=m));if(h){if(e||a){if(e){k=[];for(t=p.length;t--;)(m=p[t])&&k.push(u[t]=m);e(null,p=[],k,r)}for(t=p.length;t--;)(m=p[t])&&-1<(k=e?V(h,m):Z[t])&&(h[k]=!(g[k]=m))}}else p=l(p===g?p.splice(w,p.length):p),e?e(null,g,p,r):J.apply(g,p)})}function B(a){var b,q,d,h=a.length,c=y.relative[a[0].type];q=c||y.relative[" "];
for(var f=c?1:0,e=u(function(a){return a===b},q,!0),g=u(function(a){return-1<V(b,a)},q,!0),t=[function(a,q,d){a=!c&&(d||q!==Y)||((b=q).nodeType?e(a,q,d):g(a,q,d));return b=null,a}];f<h;f++)if(q=y.relative[a[f].type])t=[u(p(t),q)];else{if((q=y.filter[a[f].type].apply(null,a[f].matches))[N]){for(d=++f;d<h&&!y.relative[a[d].type];d++);return C(1<f&&p(t),1<f&&w(a.slice(0,f-1).concat({value:" "===a[f-2].type?"*":""})).replace(W,"$1"),q,f<d&&B(a.slice(f,d)),d<h&&B(a=a.slice(d)),d<h&&w(a))}t.push(q)}return p(t)}
var S,E,y,z,n,P,A,fa,Y,G,x,O,K,T,M,U,L,Q,aa,N="sizzle"+1*new Date,X=a.document,R=0,H=0,ga=d(),ba=d(),F=d(),ha=function(a,b){return a===b&&(x=!0),0},va={}.hasOwnProperty,D=[],Aa=D.pop,I=D.push,J=D.push,wa=D.slice,V=function(a,b){for(var q=0,d=a.length;q<d;q++)if(a[q]===b)return q;return-1},la=/[\x20\t\r\n\f]+/g,W=/^[\x20\t\r\n\f]+|((?:^|[^\\])(?:\\.)*)[\x20\t\r\n\f]+$/g,ca=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,xa=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,Ba=/=[\x20\t\r\n\f]*([^\]'"]*?)[\x20\t\r\n\f]*\]/g,
ia=/:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,ka=/^(?:\\.|[\w-]|[^\x00-\xa0])+$/,ea={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:/^((?:\\.|[\w-]|[^\x00-\xa0])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\]/,
PSEUDO:/^:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,
needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},oa=/^(?:input|select|textarea|button)$/i,pa=/^h\d$/i,da=/^[^{]+\{\s*\[native \w/,qa=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ja=/[+~]/,ma=/\\([\da-f]{1,6}[\x20\t\r\n\f]?|([\x20\t\r\n\f])|.)/ig,na=function(a,b,q){a="0x"+b-65536;return a!=a||q?b:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,1023&a|56320)},ra=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,
sa=function(a,b){return b?"\x00"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},ta=function(){O()},ua=u(function(a){return!0===a.disabled},{dir:"parentNode",next:"legend"});try{J.apply(D=wa.call(X.childNodes),X.childNodes),D[X.childNodes.length].nodeType}catch(dc){J={apply:D.length?function(a,b){I.apply(a,wa.call(b))}:function(a,b){for(var q=a.length,d=0;a[q++]=b[d++];);a.length=q-1}}}for(S in E=b.support={},n=b.isXML=function(a){a=a&&(a.ownerDocument||a).documentElement;
return!!a&&"HTML"!==a.nodeName},O=b.setDocument=function(a){var b,q;a=a?a.ownerDocument||a:X;return a!==K&&9===a.nodeType&&a.documentElement?(T=(K=a).documentElement,M=!n(K),X!==K&&(q=K.defaultView)&&q.top!==q&&(q.addEventListener?q.addEventListener("unload",ta,!1):q.attachEvent&&q.attachEvent("onunload",ta)),E.attributes=c(function(a){return a.className="i",!a.getAttribute("className")}),E.getElementsByTagName=c(function(a){return a.appendChild(K.createComment("")),!a.getElementsByTagName("*").length}),
E.getElementsByClassName=da.test(K.getElementsByClassName),E.getById=c(function(a){return T.appendChild(a).id=N,!K.getElementsByName||!K.getElementsByName(N).length}),E.getById?(y.find.ID=function(a,b){if(void 0!==b.getElementById&&M)return(a=b.getElementById(a))?[a]:[]},y.filter.ID=function(a){var b=a.replace(ma,na);return function(a){return a.getAttribute("id")===b}}):(delete y.find.ID,y.filter.ID=function(a){var b=a.replace(ma,na);return function(a){return(a=void 0!==a.getAttributeNode&&a.getAttributeNode("id"))&&
a.value===b}}),y.find.TAG=E.getElementsByTagName?function(a,b){return void 0!==b.getElementsByTagName?b.getElementsByTagName(a):E.qsa?b.querySelectorAll(a):void 0}:function(a,b){var q=[],d=0;b=b.getElementsByTagName(a);if("*"===a){for(;a=b[d++];)1===a.nodeType&&q.push(a);return q}return b},y.find.CLASS=E.getElementsByClassName&&function(a,b){if(void 0!==b.getElementsByClassName&&M)return b.getElementsByClassName(a)},L=[],U=[],(E.qsa=da.test(K.querySelectorAll))&&(c(function(a){T.appendChild(a).innerHTML=
"<a id='"+N+"'></a><select id='"+N+"-\r\\' msallowcapture=''><option selected=''></option></select>";a.querySelectorAll("[msallowcapture^='']").length&&U.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||U.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");a.querySelectorAll("[id~="+N+"-]").length||U.push("~=");a.querySelectorAll(":checked").length||
U.push(":checked");a.querySelectorAll("a#"+N+"+*").length||U.push(".#.+[+~]")}),c(function(a){a.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=K.createElement("input");b.setAttribute("type","hidden");a.appendChild(b).setAttribute("name","D");a.querySelectorAll("[name=d]").length&&U.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");2!==a.querySelectorAll(":enabled").length&&U.push(":enabled",":disabled");T.appendChild(a).disabled=!0;2!==a.querySelectorAll(":disabled").length&&
U.push(":enabled",":disabled");a.querySelectorAll("*,:x");U.push(",.*:")})),(E.matchesSelector=da.test(Q=T.matches||T.webkitMatchesSelector||T.mozMatchesSelector||T.oMatchesSelector||T.msMatchesSelector))&&c(function(a){E.disconnectedMatch=Q.call(a,"*");Q.call(a,"[s!='']:x");L.push("!=",":((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\.|[\\w-]|[^\x00-\\xa0])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")}),
U=U.length&&new RegExp(U.join("|")),L=L.length&&new RegExp(L.join("|")),b=da.test(T.compareDocumentPosition),aa=b||da.test(T.contains)?function(a,b){var q=9===a.nodeType?a.documentElement:a;b=b&&b.parentNode;return a===b||!(!b||1!==b.nodeType||!(q.contains?q.contains(b):a.compareDocumentPosition&&16&a.compareDocumentPosition(b)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},ha=b?function(a,b){if(a===b)return x=!0,0;var q=!a.compareDocumentPosition-!b.compareDocumentPosition;
return q||(1&(q=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1)||!E.sortDetached&&b.compareDocumentPosition(a)===q?a===K||a.ownerDocument===X&&aa(X,a)?-1:b===K||b.ownerDocument===X&&aa(X,b)?1:G?V(G,a)-V(G,b):0:4&q?-1:1)}:function(a,b){if(a===b)return x=!0,0;var q=0,d=a.parentNode,h=b.parentNode,c=[a],f=[b];if(!d||!h)return a===K?-1:b===K?1:d?-1:h?1:G?V(G,a)-V(G,b):0;if(d===h)return e(a,b);for(;a=a.parentNode;)c.unshift(a);for(a=b;a=a.parentNode;)f.unshift(a);for(;c[q]===
f[q];)q++;return q?e(c[q],f[q]):c[q]===X?-1:f[q]===X?1:0},K):K},b.matches=function(a,d){return b(a,null,null,d)},b.matchesSelector=function(a,d){if((a.ownerDocument||a)!==K&&O(a),d=d.replace(Ba,"='$1']"),!(!E.matchesSelector||!M||F[d+" "]||L&&L.test(d)||U&&U.test(d)))try{var h=Q.call(a,d);if(h||E.disconnectedMatch||a.document&&11!==a.document.nodeType)return h}catch(c){}return 0<b(d,K,null,[a]).length},b.contains=function(a,b){return(a.ownerDocument||a)!==K&&O(a),aa(a,b)},b.attr=function(a,b){(a.ownerDocument||
a)!==K&&O(a);var q=y.attrHandle[b.toLowerCase()],q=q&&va.call(y.attrHandle,b.toLowerCase())?q(a,b,!M):void 0;return void 0!==q?q:E.attributes||!M?a.getAttribute(b):(q=a.getAttributeNode(b))&&q.specified?q.value:null},b.escape=function(a){return(a+"").replace(ra,sa)},b.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);},b.uniqueSort=function(a){var b,q=[],d=0,h=0;if(x=!E.detectDuplicates,G=!E.sortStable&&a.slice(0),a.sort(ha),x){for(;b=a[h++];)b===a[h]&&(d=q.push(h));for(;d--;)a.splice(q[d],
1)}return G=null,a},z=b.getText=function(a){var b,q="",d=0;if(b=a.nodeType)if(1===b||9===b||11===b){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)q+=z(a)}else{if(3===b||4===b)return a.nodeValue}else for(;b=a[d++];)q+=z(b);return q},(y=b.selectors={cacheLength:50,createPseudo:h,match:ea,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=
a[1].replace(ma,na),a[3]=(a[3]||a[4]||a[5]||"").replace(ma,na),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||b.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&b.error(a[0]),a},PSEUDO:function(a){var b,q=!a[6]&&a[2];return ea.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":q&&ia.test(q)&&(b=P(q,!0))&&(b=q.indexOf(")",q.length-b)-q.length)&&(a[0]=a[0].slice(0,
b),a[2]=q.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ma,na).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=ga[a+" "];return b||(b=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"),ga(a,function(a){return b.test("string"==typeof a.className&&a.className||void 0!==a.getAttribute&&a.getAttribute("class")||"")}))},ATTR:function(a,d,h){return function(c){c=b.attr(c,a);return null==
c?"!="===d:!d||(c+="","="===d?c===h:"!="===d?c!==h:"^="===d?h&&0===c.indexOf(h):"*="===d?h&&-1<c.indexOf(h):"$="===d?h&&c.slice(-h.length)===h:"~="===d?-1<(" "+c.replace(la," ")+" ").indexOf(h):"|="===d&&(c===h||c.slice(0,h.length+1)===h+"-"))}},CHILD:function(a,b,q,d,h){var c="nth"!==a.slice(0,3),f="last"!==a.slice(-4),e="of-type"===b;return 1===d&&0===h?function(a){return!!a.parentNode}:function(b,q,g){var t,r,k,m,Z;q=c!==f?"nextSibling":"previousSibling";var v=b.parentNode,w=e&&b.nodeName.toLowerCase(),
u=!g&&!e,p=!1;if(v){if(c){for(;q;){for(k=b;k=k[q];)if(e?k.nodeName.toLowerCase()===w:1===k.nodeType)return!1;Z=q="only"===a&&!Z&&"nextSibling"}return!0}if(Z=[f?v.firstChild:v.lastChild],f&&u)for(p=(m=(t=(g=(r=(k=v)[N]||(k[N]={}))[k.uniqueID]||(r[k.uniqueID]={}))[a]||[])[0]===R&&t[1])&&t[2],k=m&&v.childNodes[m];k=++m&&k&&k[q]||(p=m=0)||Z.pop();){if(1===k.nodeType&&++p&&k===b){g[a]=[R,m,p];break}}else if(u&&(p=m=(t=((r=(k=b)[N]||(k[N]={}))[k.uniqueID]||(r[k.uniqueID]={}))[a]||[])[0]===R&&t[1]),!1===
p)for(;(k=++m&&k&&k[q]||(p=m=0)||Z.pop())&&((e?k.nodeName.toLowerCase()!==w:1!==k.nodeType)||!++p||(u&&((g=(r=k[N]||(k[N]={}))[k.uniqueID]||(r[k.uniqueID]={}))[a]=[R,p]),k!==b)););return(p-=h)===d||0==p%d&&0<=p/d}}},PSEUDO:function(a,d){var c,f=y.pseudos[a]||y.setFilters[a.toLowerCase()]||b.error("unsupported pseudo: "+a);return f[N]?f(d):1<f.length?(c=[a,a,"",d],y.setFilters.hasOwnProperty(a.toLowerCase())?h(function(a,b){for(var q,h=f(a,d),c=h.length;c--;)a[q=V(a,h[c])]=!(b[q]=h[c])}):function(a){return f(a,
0,c)}):f}},pseudos:{not:h(function(a){var b=[],q=[],d=A(a.replace(W,"$1"));return d[N]?h(function(a,b,q,h){var c;q=d(a,null,h,[]);for(h=a.length;h--;)(c=q[h])&&(a[h]=!(b[h]=c))}):function(a,h,c){return b[0]=a,d(b,null,c,q),b[0]=null,!q.pop()}}),has:h(function(a){return function(d){return 0<b(a,d).length}}),contains:h(function(a){return a=a.replace(ma,na),function(b){return-1<(b.textContent||b.innerText||z(b)).indexOf(a)}}),lang:h(function(a){return ka.test(a||"")||b.error("unsupported lang: "+a),
a=a.replace(ma,na).toLowerCase(),function(b){var q;do if(q=M?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return(q=q.toLowerCase())===a||0===q.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var q=a.location&&a.location.hash;return q&&q.slice(1)===b.id},root:function(a){return a===T},focus:function(a){return a===K.activeElement&&(!K.hasFocus||K.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:r(!1),disabled:r(!0),checked:function(a){var b=a.nodeName.toLowerCase();
return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(6>a.nodeType)return!1;return!0},parent:function(a){return!y.pseudos.empty(a)},header:function(a){return pa.test(a.nodeName)},input:function(a){return oa.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===
a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:k(function(){return[0]}),last:k(function(a,b){return[b-1]}),eq:k(function(a,b,q){return[0>q?q+b:q]}),even:k(function(a,b){for(var q=0;q<b;q+=2)a.push(q);return a}),odd:k(function(a,b){for(var q=1;q<b;q+=2)a.push(q);return a}),lt:k(function(a,b,q){for(b=0>q?q+b:q;0<=--b;)a.push(b);return a}),gt:k(function(a,b,q){for(q=0>q?q+b:q;++q<b;)a.push(q);return a})}}).pseudos.nth=y.pseudos.eq,{radio:!0,
checkbox:!0,file:!0,password:!0,image:!0})y.pseudos[S]=g(S);for(S in{submit:!0,reset:!0})y.pseudos[S]=t(S);return v.prototype=y.filters=y.pseudos,y.setFilters=new v,P=b.tokenize=function(a,d){var h,c,f,e,g,t,r;if(g=ba[a+" "])return d?0:g.slice(0);g=a;t=[];for(r=y.preFilter;g;){for(e in h&&!(c=ca.exec(g))||(c&&(g=g.slice(c[0].length)||g),t.push(f=[])),h=!1,(c=xa.exec(g))&&(h=c.shift(),f.push({value:h,type:c[0].replace(W," ")}),g=g.slice(h.length)),y.filter)!(c=ea[e].exec(g))||r[e]&&!(c=r[e](c))||(h=
c.shift(),f.push({value:h,type:e,matches:c}),g=g.slice(h.length));if(!h)break}return d?g.length:g?b.error(a):ba(a,t).slice(0)},A=b.compile=function(a,d){var c,f=[],e=[],g=F[a+" "];if(!g){d||(d=P(a));for(c=d.length;c--;)(g=B(d[c]))[N]?f.push(g):e.push(g);(g=F(a,function(a,d){var c=0<d.length,f=0<a.length,e=function(h,e,g,t,r){var k,m,Z,v=0,w="0",p=h&&[],u=[],C=Y,B=h||f&&y.find.TAG("*",r),E=R+=null==C?1:Math.random()||.1,S=B.length;for(r&&(Y=e===K||e||r);w!==S&&null!=(k=B[w]);w++){if(f&&k){m=0;for(e||
k.ownerDocument===K||(O(k),g=!M);Z=a[m++];)if(Z(k,e||K,g)){t.push(k);break}r&&(R=E)}c&&((k=!Z&&k)&&v--,h&&p.push(k))}if(v+=w,c&&w!==v){for(m=0;Z=d[m++];)Z(p,u,e,g);if(h){if(0<v)for(;w--;)p[w]||u[w]||(u[w]=Aa.call(t));u=l(u)}J.apply(t,u);r&&!h&&0<u.length&&1<v+d.length&&b.uniqueSort(t)}return r&&(R=E,Y=C),p};return c?h(e):e}(e,f))).selector=a}return g},fa=b.select=function(a,b,q,d){var h,c,f,e,g,t="function"==typeof a&&a,r=!d&&P(a=t.selector||a);if(q=q||[],1===r.length){if(2<(c=r[0]=r[0].slice(0)).length&&
"ID"===(f=c[0]).type&&E.getById&&9===b.nodeType&&M&&y.relative[c[1].type]){if(!(b=(y.find.ID(f.matches[0].replace(ma,na),b)||[])[0]))return q;t&&(b=b.parentNode);a=a.slice(c.shift().value.length)}for(h=ea.needsContext.test(a)?0:c.length;h--&&(f=c[h],!y.relative[e=f.type]);)if((g=y.find[e])&&(d=g(f.matches[0].replace(ma,na),ja.test(c[0].type)&&m(b.parentNode)||b))){if(c.splice(h,1),!(a=d.length&&w(c)))return J.apply(q,d),q;break}}return(t||A(a,r))(d,b,!M,q,!b||ja.test(a)&&m(b.parentNode)||b),q},E.sortStable=
N.split("").sort(ha).join("")===N,E.detectDuplicates=!!x,O(),E.sortDetached=c(function(a){return 1&a.compareDocumentPosition(K.createElement("fieldset"))}),c(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||f("type|href|height|width",function(a,b,q){if(!q)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),E.attributes&&c(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||f("value",
function(a,b,q){if(!q&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),c(function(a){return null==a.getAttribute("disabled")})||f("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(a,b,q){var d;if(!q)return!0===a[b]?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),b}(c);m.find=oa;m.expr=oa.selectors;m.expr[":"]=m.expr.pseudos;m.uniqueSort=m.unique=oa.uniqueSort;m.text=oa.getText;m.isXMLDoc=
oa.isXML;m.contains=oa.contains;m.escapeSelector=oa.escape;var qa=function(a,b,d){for(var h=[],c=void 0!==d;(a=a[b])&&9!==a.nodeType;)if(1===a.nodeType){if(c&&m(a).is(d))break;h.push(a)}return h},Ya=function(a,b){for(var d=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&d.push(a);return d},Za=m.expr.match.needsContext,$a=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,ob=/^.[^:#\[\.,]*$/;m.filter=function(a,b,d){var h=b[0];return d&&(a=":not("+a+")"),1===b.length&&1===h.nodeType?m.find.matchesSelector(h,
a)?[h]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))};m.fn.extend({find:function(a){var b,d,h=this.length,c=this;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;b<h;b++)if(m.contains(c[b],this))return!0}));d=this.pushStack([]);for(b=0;b<h;b++)m.find(a,c[b],d);return 1<h?m.uniqueSort(d):d},filter:function(a){return this.pushStack(d(this,a||[],!1))},not:function(a){return this.pushStack(d(this,a||[],!0))},is:function(a){return!!d(this,"string"==typeof a&&
Za.test(a)?m(a):a||[],!1).length}});var ab,Db=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(m.fn.init=function(a,b,d){var h,c;if(!a)return this;if(d=d||ab,"string"==typeof a){if(!(h="<"===a[0]&&">"===a[a.length-1]&&3<=a.length?[null,a,null]:Db.exec(a))||!h[1]&&b)return!b||b.jquery?(b||d).find(a):this.constructor(b).find(a);if(h[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(h[1],b&&b.nodeType?b.ownerDocument||b:I,!0)),$a.test(h[1])&&m.isPlainObject(b))for(h in b)m.isFunction(this[h])?this[h](b[h]):
this.attr(h,b[h]);return this}return(c=I.getElementById(h[2]))&&(this[0]=c,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):m.isFunction(a)?void 0!==d.ready?d.ready(a):a(m):m.makeArray(a,this)}).prototype=m.fn;ab=m(I);var Eb=/^(?:parents|prev(?:Until|All))/,Fb={children:!0,contents:!0,next:!0,prev:!0};m.fn.extend({has:function(a){var b=m(a,this),d=b.length;return this.filter(function(){for(var a=0;a<d;a++)if(m.contains(this,b[a]))return!0})},closest:function(a,b){var d,h=0,c=this.length,
f=[],e="string"!=typeof a&&m(a);if(!Za.test(a))for(;h<c;h++)for(d=this[h];d&&d!==b;d=d.parentNode)if(11>d.nodeType&&(e?-1<e.index(d):1===d.nodeType&&m.find.matchesSelector(d,a))){f.push(d);break}return this.pushStack(1<f.length?m.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?ua.call(m(a),this[0]):ua.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==
a?this.prevObject:this.prevObject.filter(a))}});m.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},parents:function(a){return qa(a,"parentNode")},parentsUntil:function(a,b,d){return qa(a,"parentNode",d)},next:function(a){return r(a,"nextSibling")},prev:function(a){return r(a,"previousSibling")},nextAll:function(a){return qa(a,"nextSibling")},prevAll:function(a){return qa(a,"previousSibling")},nextUntil:function(a,b,d){return qa(a,"nextSibling",d)},prevUntil:function(a,b,d){return qa(a,
"previousSibling",d)},siblings:function(a){return Ya((a.parentNode||{}).firstChild,a)},children:function(a){return Ya(a.firstChild)},contents:function(a){return a.contentDocument||m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(d,h){var c=m.map(this,b,d);return"Until"!==a.slice(-5)&&(h=d),h&&"string"==typeof h&&(c=m.filter(h,c)),1<this.length&&(Fb[a]||m.uniqueSort(c),Eb.test(a)&&c.reverse()),this.pushStack(c)}});var ca=/\S+/g;m.Callbacks=function(a){a="string"==typeof a?function(a){var b=
{};return m.each(a.match(ca)||[],function(a,d){b[d]=!0}),b}(a):m.extend({},a);var b,d,h,c,f=[],e=[],g=-1,t=function(){c=a.once;for(h=b=!0;e.length;g=-1)for(d=e.shift();++g<f.length;)!1===f[g].apply(d[0],d[1])&&a.stopOnFalse&&(g=f.length,d=!1);a.memory||(d=!1);b=!1;c&&(f=d?[]:"")},r={add:function(){return f&&(d&&!b&&(g=f.length-1,e.push(d)),function rb(b){m.each(b,function(b,d){m.isFunction(d)?a.unique&&r.has(d)||f.push(d):d&&d.length&&"string"!==m.type(d)&&rb(d)})}(arguments),d&&!b&&t()),this},remove:function(){return m.each(arguments,
function(a,b){for(var d;-1<(d=m.inArray(b,f,d));)f.splice(d,1),d<=g&&g--}),this},has:function(a){return a?-1<m.inArray(a,f):0<f.length},empty:function(){return f&&(f=[]),this},disable:function(){return c=e=[],f=d="",this},disabled:function(){return!f},lock:function(){return c=e=[],d||b||(f=d=""),this},locked:function(){return!!c},fireWith:function(a,d){return c||(d=[a,(d=d||[]).slice?d.slice():d],e.push(d),b||t()),this},fire:function(){return r.fireWith(this,arguments),this},fired:function(){return!!h}};
return r};m.extend({Deferred:function(a){var b=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],d="pending",h={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},catch:function(a){return h.then(null,a)},pipe:function(){var a=arguments;return m.Deferred(function(d){m.each(b,
function(b,q){var h=m.isFunction(a[q[4]])&&a[q[4]];f[q[1]](function(){var a=h&&h.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().progress(d.notify).done(d.resolve).fail(d.reject):d[q[0]+"With"](this,h?[a]:arguments)})});a=null}).promise()},then:function(a,d,h){function f(a,b,d,q){return function(){var h=this,g=arguments,t=function(){var c,t;if(!(a<e)){if((c=d.apply(h,g))===b.promise())throw new TypeError("Thenable self-resolution");t=c&&("object"===Object(p.a)(c)||"function"==typeof c)&&
c.then;m.isFunction(t)?q?t.call(c,f(e,b,u,q),f(e,b,v,q)):(e++,t.call(c,f(e,b,u,q),f(e,b,v,q),f(e,b,u,b.notifyWith))):(d!==u&&(h=void 0,g=[c]),(q||b.resolveWith)(h,g))}},r=q?t:function(){try{t()}catch(q){m.Deferred.exceptionHook&&m.Deferred.exceptionHook(q,r.stackTrace),a+1>=e&&(d!==v&&(h=void 0,g=[q]),b.rejectWith(h,g))}};a?r():(m.Deferred.getStackHook&&(r.stackTrace=m.Deferred.getStackHook()),c.setTimeout(r))}}var e=0;return m.Deferred(function(c){b[0][3].add(f(0,c,m.isFunction(h)?h:u,c.notifyWith));
b[1][3].add(f(0,c,m.isFunction(a)?a:u));b[2][3].add(f(0,c,m.isFunction(d)?d:v))}).promise()},promise:function(a){return null!=a?m.extend(a,h):h}},f={};return m.each(b,function(a,c){var e=c[2],g=c[5];h[c[1]]=e.add;g&&e.add(function(){d=g},b[3-a][2].disable,b[0][2].lock);e.add(c[3].fire);f[c[0]]=function(){return f[c[0]+"With"](this===f?void 0:this,arguments),this};f[c[0]+"With"]=e.fireWith}),h.promise(f),a&&a.call(f,f),f},when:function(a){var b=arguments.length,d=b,h=Array(d),c=ea.call(arguments),
e=m.Deferred(),g=function(a){return function(d){h[a]=this;c[a]=1<arguments.length?ea.call(arguments):d;--b||e.resolveWith(h,c)}};if(1>=b&&(f(a,e.done(g(d)).resolve,e.reject),"pending"===e.state()||m.isFunction(c[d]&&c[d].then)))return e.then();for(;d--;)f(c[d],g(d),e.reject);return e.promise()}});var Gb=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(a,b){c.console&&c.console.warn&&a&&Gb.test(a.name)&&c.console.warn("jQuery.Deferred exception: "+a.message,
a.stack,b)};var Ja=m.Deferred();m.fn.ready=function(a){return Ja.then(a),this};m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){(!0===a?--m.readyWait:m.isReady)||(m.isReady=!0,!0!==a&&0<--m.readyWait||Ja.resolveWith(I,[m]))}});m.ready.then=Ja.then;"complete"===I.readyState||"loading"!==I.readyState&&!I.documentElement.doScroll?c.setTimeout(m.ready):(I.addEventListener("DOMContentLoaded",w),c.addEventListener("load",w));var ia=function q(a,b,d,h,
c,f,e){var g=0,t=a.length,r=null==d;if("object"===m.type(d))for(g in c=!0,d)q(a,b,g,d[g],!0,f,e);else if(void 0!==h&&(c=!0,m.isFunction(h)||(e=!0),r&&(e?(b.call(a,h),b=null):(r=b,b=function(a,b,d){return r.call(m(a),d)})),b))for(;g<t;g++)b(a[g],d,e?h:h.call(a[g],g,b(a[g],d)));return c?a:r?b.call(a):t?b(a[0],d):f},Ea=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};l.uid=1;l.prototype={cache:function(a){var b=a[this.expando];return b||(b={},Ea(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,
this.expando,{value:b,configurable:!0}))),b},set:function(a,b,d){var h;a=this.cache(a);if("string"==typeof b)a[m.camelCase(b)]=d;else for(h in b)a[m.camelCase(h)]=b[h];return a},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][m.camelCase(b)]},access:function(a,b,d){return void 0===b||b&&"string"==typeof b&&void 0===d?this.get(a,b):(this.set(a,b,d),void 0!==d?d:b)},remove:function(a,b){var d,h=a[this.expando];if(void 0!==h){if(void 0!==b)for(d=(b=m.isArray(b)?b.map(m.camelCase):
(b=m.camelCase(b))in h?[b]:b.match(ca)||[]).length;d--;)delete h[b[d]];(void 0===b||m.isEmptyObject(h))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){a=a[this.expando];return void 0!==a&&!m.isEmptyObject(a)}};var D=new l,V=new l,qb=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,pb=/[A-Z]/g;m.extend({hasData:function(a){return V.hasData(a)||D.hasData(a)},data:function(a,b,d){return V.access(a,b,d)},removeData:function(a,b){V.remove(a,b)},_data:function(a,b,d){return D.access(a,
b,d)},_removeData:function(a,b){D.remove(a,b)}});m.fn.extend({data:function(a,b){var d,h,c,f=this[0],e=f&&f.attributes;if(void 0===a){if(this.length&&(c=V.get(f),1===f.nodeType&&!D.get(f,"hasDataAttrs"))){for(d=e.length;d--;)e[d]&&0===(h=e[d].name).indexOf("data-")&&(h=m.camelCase(h.slice(5)),z(f,h,c[h]));D.set(f,"hasDataAttrs",!0)}return c}return"object"===Object(p.a)(a)?this.each(function(){V.set(this,a)}):ia(this,function(b){var d;if(f&&void 0===b)return void 0!==(d=V.get(f,a))?d:void 0!==(d=z(f,
a))?d:void 0;this.each(function(){V.set(this,a,b)})},null,b,1<arguments.length,null,!0)},removeData:function(a){return this.each(function(){V.remove(this,a)})}});m.extend({queue:function(a,b,d){var h;if(a)return b=(b||"fx")+"queue",h=D.get(a,b),d&&(!h||m.isArray(d)?h=D.access(a,b,m.makeArray(d)):h.push(d)),h||[]},dequeue:function(a,b){b=b||"fx";var d=m.queue(a,b),h=d.length,c=d.shift(),f=m._queueHooks(a,b);"inprogress"===c&&(c=d.shift(),h--);c&&("fx"===b&&d.unshift("inprogress"),delete f.stop,c.call(a,
function(){m.dequeue(a,b)},f));!h&&f&&f.empty.fire()},_queueHooks:function(a,b){var d=b+"queueHooks";return D.get(a,d)||D.access(a,d,{empty:m.Callbacks("once memory").add(function(){D.remove(a,[b+"queue",d])})})}});m.fn.extend({queue:function(a,b){var d=2;return"string"!=typeof a&&(b=a,a="fx",d--),arguments.length<d?m.queue(this[0],a):void 0===b?this:this.each(function(){var d=m.queue(this,a,b);m._queueHooks(this,a);"fx"===a&&"inprogress"!==d[0]&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,
a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var d,h=1,c=m.Deferred(),f=this,e=this.length,g=function(){--h||c.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0);for(a=a||"fx";e--;)(d=D.get(f[e],a+"queueHooks"))&&d.empty&&(h++,d.empty.add(g));return g(),c.promise(b)}});var bb=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ja=new RegExp("^(?:([+-])=|)("+bb+")([a-z%]*)$","i"),ka=["Top","Right","Bottom","Left"],ya=function(a,b){return"none"===(a=b||a).style.display||
""===a.style.display&&m.contains(a.ownerDocument,a)&&"none"===m.css(a,"display")},cb=function(a,b,d,h){var c,f={};for(c in b)f[c]=a.style[c],a.style[c]=b[c];for(c in d=d.apply(a,h||[]),b)a.style[c]=f[c];return d},Oa={};m.fn.extend({show:function(){return A(this,!0)},hide:function(){return A(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){ya(this)?m(this).show():m(this).hide()})}});var db=/^(?:checkbox|radio)$/i,Pa=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,
Qa=/^$|\/(?:java|ecma)script/i,W={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};W.optgroup=W.option;W.tbody=W.tfoot=W.colgroup=W.caption=W.thead;W.th=W.td;var sb=/<|&#?\w+;/;!function(){var a=I.createDocumentFragment().appendChild(I.createElement("div")),b=I.createElement("input");b.setAttribute("type",
"radio");b.setAttribute("checked","checked");b.setAttribute("name","t");a.appendChild(b);J.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="<textarea>x</textarea>";J.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue}();var Fa=I.documentElement,Hb=/^key/,Ib=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,eb=/^([^.]*)(?:\.(.+)|)/;m.event={global:{},add:function(a,b,d,h,c){var f,e,g,t,r,k,v,w,p,u;if(r=D.get(a))for(d.handler&&(d=(f=d).handler,c=f.selector),c&&m.find.matchesSelector(Fa,
c),d.guid||(d.guid=m.guid++),(t=r.events)||(t=r.events={}),(e=r.handle)||(e=r.handle=function(b){return void 0!==m&&m.event.triggered!==b.type?m.event.dispatch.apply(a,arguments):void 0}),r=(b=(b||"").match(ca)||[""]).length;r--;)p=u=(g=eb.exec(b[r])||[])[1],g=(g[2]||"").split(".").sort(),p&&(v=m.event.special[p]||{},p=(c?v.delegateType:v.bindType)||p,v=m.event.special[p]||{},k=m.extend({type:p,origType:u,data:h,handler:d,guid:d.guid,selector:c,needsContext:c&&m.expr.match.needsContext.test(c),namespace:g.join(".")},
f),(w=t[p])||((w=t[p]=[]).delegateCount=0,v.setup&&!1!==v.setup.call(a,h,g,e)||a.addEventListener&&a.addEventListener(p,e)),v.add&&(v.add.call(a,k),k.handler.guid||(k.handler.guid=d.guid)),c?w.splice(w.delegateCount++,0,k):w.push(k),m.event.global[p]=!0)},remove:function(a,b,d,h,c){var f,e,g,t,r,k,v,w,p,u,l,C=D.hasData(a)&&D.get(a);if(C&&(t=C.events)){for(r=(b=(b||"").match(ca)||[""]).length;r--;)if(p=l=(g=eb.exec(b[r])||[])[1],u=(g[2]||"").split(".").sort(),p){v=m.event.special[p]||{};w=t[p=(h?v.delegateType:
v.bindType)||p]||[];g=g[2]&&new RegExp("(^|\\.)"+u.join("\\.(?:.*\\.|)")+"(\\.|$)");for(e=f=w.length;f--;)k=w[f],!c&&l!==k.origType||d&&d.guid!==k.guid||g&&!g.test(k.namespace)||h&&h!==k.selector&&("**"!==h||!k.selector)||(w.splice(f,1),k.selector&&w.delegateCount--,v.remove&&v.remove.call(a,k));e&&!w.length&&(v.teardown&&!1!==v.teardown.call(a,u,C.handle)||m.removeEvent(a,p,C.handle),delete t[p])}else for(p in t)m.event.remove(a,p+b[r],d,h,!0);m.isEmptyObject(t)&&D.remove(a,"handle events")}},dispatch:function(a){var b,
d,h,c,f,e,g=m.event.fix(a),t=Array(arguments.length);d=(D.get(this,"events")||{})[g.type]||[];var r=m.event.special[g.type]||{};t[0]=g;for(b=1;b<arguments.length;b++)t[b]=arguments[b];if(g.delegateTarget=this,!r.preDispatch||!1!==r.preDispatch.call(this,g)){e=m.event.handlers.call(this,g,d);for(b=0;(c=e[b++])&&!g.isPropagationStopped();)for(g.currentTarget=c.elem,d=0;(f=c.handlers[d++])&&!g.isImmediatePropagationStopped();)g.rnamespace&&!g.rnamespace.test(f.namespace)||(g.handleObj=f,g.data=f.data,
void 0!==(h=((m.event.special[f.origType]||{}).handle||f.handler).apply(c.elem,t))&&!1===(g.result=h)&&(g.preventDefault(),g.stopPropagation()));return r.postDispatch&&r.postDispatch.call(this,g),g.result}},handlers:function(a,b){var d,h,c,f,e=[],g=b.delegateCount,t=a.target;if(g&&t.nodeType&&("click"!==a.type||isNaN(a.button)||1>a.button))for(;t!==this;t=t.parentNode||this)if(1===t.nodeType&&(!0!==t.disabled||"click"!==a.type)){h=[];for(d=0;d<g;d++)void 0===h[c=(f=b[d]).selector+" "]&&(h[c]=f.needsContext?
-1<m(c,this).index(t):m.find(c,this,null,[t]).length),h[c]&&h.push(f);h.length&&e.push({elem:t,handlers:h})}return g<b.length&&e.push({elem:this,handlers:b.slice(g)}),e},addProp:function(a,b){Object.defineProperty(m.Event.prototype,a,{enumerable:!0,configurable:!0,get:m.isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},
fix:function(a){return a[m.expando]?a:new m.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==L()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===L()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&m.nodeName(this,"input"))return this.click(),!1},_default:function(a){return m.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&
a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}};m.removeEvent=function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d)};m.Event=function(a,b){if(!(this instanceof m.Event))return new m.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&!1===a.returnValue?F:C,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):
this.type=a;b&&m.extend(this,b);this.timeStamp=a&&a.timeStamp||m.now();this[m.expando]=!0};m.Event.prototype={constructor:m.Event,isDefaultPrevented:C,isPropagationStopped:C,isImmediatePropagationStopped:C,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=F;a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=F;a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=
this.originalEvent;this.isImmediatePropagationStopped=F;a&&!this.isSimulated&&a.stopImmediatePropagation();this.stopPropagation()}};m.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;
return null==a.which&&Hb.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&Ib.test(a.type)?1&b?1:2&b?3:4&b?2:0:a.which}},m.event.addProp);m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){m.event.special[a]={delegateType:b,bindType:b,handle:function(a){var d,h=a.relatedTarget,c=a.handleObj;return h&&(h===this||m.contains(this,h))||(a.type=c.origType,d=c.handler.apply(this,arguments),a.type=b),d}}});m.fn.extend({on:function(a,
b,d,h){return M(this,a,b,d,h)},one:function(a,b,d,h){return M(this,a,b,d,h,1)},off:function(a,b,d){var h,c;if(a&&a.preventDefault&&a.handleObj)return h=a.handleObj,m(a.delegateTarget).off(h.namespace?h.origType+"."+h.namespace:h.origType,h.selector,h.handler),this;if("object"===Object(p.a)(a)){for(c in a)this.off(c,b,a[c]);return this}return!1!==b&&"function"!=typeof b||(d=b,b=void 0),!1===d&&(d=C),this.each(function(){m.event.remove(this,a,d,b)})}});var Jb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,
Kb=/<script|<style|<link/i,ub=/checked\s*(?:[^=]|=\s*.checked.)/i,tb=/^true\/(.*)/,vb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;m.extend({htmlPrefilter:function(a){return a.replace(Jb,"<$1></$2>")},clone:function(a,b,d){var h,c,f,e,g=a.cloneNode(!0),r=m.contains(a.ownerDocument,a);if(!(J.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(e=y(g),h=0,c=(f=y(a)).length;h<c;h++){var k=f[h],v=e[h],w=v.nodeName.toLowerCase();"input"===w&&db.test(k.type)?v.checked=k.checked:"input"!==w&&
"textarea"!==w||(v.defaultValue=k.defaultValue)}if(b)if(d)for(f=f||y(a),e=e||y(g),h=0,c=f.length;h<c;h++)t(f[h],e[h]);else t(a,g);return 0<(e=y(g,"script")).length&&x(e,!r&&y(a,"script")),g},cleanData:function(a){for(var b,d,h,c=m.event.special,f=0;void 0!==(d=a[f]);f++)if(Ea(d)){if(b=d[D.expando]){if(b.events)for(h in b.events)c[h]?m.event.remove(d,h):m.removeEvent(d,h,b.handle);d[D.expando]=void 0}d[V.expando]&&(d[V.expando]=void 0)}}});m.fn.extend({detach:function(a){return R(this,a,!0)},remove:function(a){return R(this,
a)},text:function(a){return ia(this,function(a){return void 0===a?m.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return O(this,arguments,function(a){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Q(this,a).appendChild(a)})},prepend:function(){return O(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Q(this,a);b.insertBefore(a,
b.firstChild)}})},before:function(){return O(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return O(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(m.cleanData(y(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return ia(this,
function(a){var b=this[0]||{},d=0,h=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!Kb.test(a)&&!W[(Pa.exec(a)||["",""])[1].toLowerCase()]){a=m.htmlPrefilter(a);try{for(;d<h;d++)1===(b=this[d]||{}).nodeType&&(m.cleanData(y(b,!1)),b.innerHTML=a);b=0}catch(c){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return O(this,arguments,function(b){var d=this.parentNode;0>m.inArray(this,a)&&(m.cleanData(y(this)),d&&d.replaceChild(b,
this))},a)}});m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var d=[],h=m(a),c=h.length-1,f=0;f<=c;f++)a=f===c?this:this.clone(!0),m(h[f])[b](a),Ia.apply(d,a.get());return this.pushStack(d)}});var Sa=/^margin/,Ga=new RegExp("^("+bb+")(?!px)[a-z%]+$","i"),za=function(a){var b=a.ownerDocument.defaultView;return b&&b.opener||(b=c),b.getComputedStyle(a)};!function(){function a(){if(g){g.style.cssText=
"box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";g.innerHTML="";Fa.appendChild(e);var q=c.getComputedStyle(g);b="1%"!==q.top;f="2px"===q.marginLeft;d="4px"===q.width;g.style.marginRight="50%";h="4px"===q.marginRight;Fa.removeChild(e);g=null}}var b,d,h,f,e=I.createElement("div"),g=I.createElement("div");g.style&&(g.style.backgroundClip="content-box",g.cloneNode(!0).style.backgroundClip="",J.clearCloneStyle="content-box"===g.style.backgroundClip,
e.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",e.appendChild(g),m.extend(J,{pixelPosition:function(){return a(),b},boxSizingReliable:function(){return a(),d},pixelMarginRight:function(){return a(),h},reliableMarginLeft:function(){return a(),f}}))}();var Lb=/^(none|table(?!-c[ea]).+)/,Mb={position:"absolute",visibility:"hidden",display:"block"},fb={letterSpacing:"0",fontWeight:"400"},Ua=["Webkit","Moz","ms"],Ta=I.createElement("div").style;
m.extend({cssHooks:{opacity:{get:function(a,b){if(b)return a=P(a,"opacity"),""===a?"1":a}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(a,b,d,h){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var c,f,e,g=m.camelCase(b),t=a.style;if(b=m.cssProps[g]||(m.cssProps[g]=fa(g)||g),e=m.cssHooks[b]||m.cssHooks[g],void 0===d)return e&&
"get"in e&&void 0!==(c=e.get(a,!1,h))?c:t[b];"string"===(f=Object(p.a)(d))&&(c=ja.exec(d))&&c[1]&&(d=n(a,b,c),f="number");null!=d&&d==d&&("number"===f&&(d+=c&&c[3]||(m.cssNumber[g]?"":"px")),J.clearCloneStyle||""!==d||0!==b.indexOf("background")||(t[b]="inherit"),e&&"set"in e&&void 0===(d=e.set(a,d,h))||(t[b]=d))}},css:function(a,b,d,h){var c,f,e,g=m.camelCase(b);return b=m.cssProps[g]||(m.cssProps[g]=fa(g)||g),(e=m.cssHooks[b]||m.cssHooks[g])&&"get"in e&&(c=e.get(a,!0,d)),void 0===c&&(c=P(a,b,h)),
"normal"===c&&b in fb&&(c=fb[b]),""===d||d?(f=parseFloat(c),!0===d||isFinite(f)?f||0:c):c}});m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,d,h){if(d)return!Lb.test(m.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?K(a,b,h):cb(a,Mb,function(){return K(a,b,h)})},set:function(a,d,h){var c,f=h&&za(a);h=h&&S(a,b,h,"border-box"===m.css(a,"boxSizing",!1,f),f);return h&&(c=ja.exec(d))&&"px"!==(c[3]||"px")&&(a.style[b]=d,d=m.css(a,b)),U(0,d,h)}}});m.cssHooks.marginLeft=
E(J.reliableMarginLeft,function(a,b){if(b)return(parseFloat(P(a,"marginLeft"))||a.getBoundingClientRect().left-cb(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"});m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(d){var h=0,c={};for(d="string"==typeof d?d.split(" "):[d];4>h;h++)c[a+ka[h]+b]=d[h]||d[h-2]||d[0];return c}};Sa.test(a)||(m.cssHooks[a+b].set=U)});m.fn.extend({css:function(a,b){return ia(this,function(a,b,d){var h,c={},
f=0;if(m.isArray(b)){d=za(a);for(h=b.length;f<h;f++)c[b[f]]=m.css(a,b[f],!1,d);return c}return void 0!==d?m.style(a,b,d):m.css(a,b)},a,b,1<arguments.length)}});m.Tween=T;T.prototype={constructor:T,init:function(a,b,d,h,c,f){this.elem=a;this.prop=d;this.easing=c||m.easing._default;this.options=b;this.start=this.now=this.cur();this.end=h;this.unit=f||(m.cssNumber[d]?"":"px")},cur:function(){var a=T.propHooks[this.prop];return a&&a.get?a.get(this):T.propHooks._default.get(this)},run:function(a){var b,
d=T.propHooks[this.prop];return this.options.duration?this.pos=b=m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),d&&d.set?d.set(this):T.propHooks._default.set(this),this}};T.prototype.init.prototype=T.prototype;T.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=
m.css(a.elem,a.prop,""))&&"auto"!==b?b:0},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[m.cssProps[a.prop]]&&!m.cssHooks[a.prop]?a.elem[a.prop]=a.now:m.style(a.elem,a.prop,a.now+a.unit)}}};T.propHooks.scrollTop=T.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}};m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"};m.fx=T.prototype.init;m.fx.step={};
var da,pa,Nb=/^(?:toggle|show|hide)$/,Ob=/queueHooks$/;m.Animation=m.extend(ba,{tweeners:{"*":[function(a,b){var d=this.createTween(a,b);return n(d.elem,a,ja.exec(b),d),d}]},tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.match(ca);for(var d,h=0,c=a.length;h<c;h++)d=a[h],ba.tweeners[d]=ba.tweeners[d]||[],ba.tweeners[d].unshift(b)},prefilters:[function(a,b,d){var h,c,f,e,g,t,r,k="width"in b||"height"in b,v=this,w={},p=a.style,u=a.nodeType&&ya(a),l=D.get(a,"fxshow");for(h in d.queue||(null==
(e=m._queueHooks(a,"fx")).unqueued&&(e.unqueued=0,g=e.empty.fire,e.empty.fire=function(){e.unqueued||g()}),e.unqueued++,v.always(function(){v.always(function(){e.unqueued--;m.queue(a,"fx").length||e.empty.fire()})})),b)if(c=b[h],Nb.test(c)){if(delete b[h],f=f||"toggle"===c,c===(u?"hide":"show")){if("show"!==c||!l||void 0===l[h])continue;u=!0}w[h]=l&&l[h]||m.style(a,h)}if((b=!m.isEmptyObject(b))||!m.isEmptyObject(w))for(h in k&&1===a.nodeType&&(d.overflow=[p.overflow,p.overflowX,p.overflowY],null==
(t=l&&l.display)&&(t=D.get(a,"display")),"none"===(r=m.css(a,"display"))&&(t?r=t:(A([a],!0),t=a.style.display||t,r=m.css(a,"display"),A([a]))),("inline"===r||"inline-block"===r&&null!=t)&&"none"===m.css(a,"float")&&(b||(v.done(function(){p.display=t}),null==t&&(r=p.display,t="none"===r?"":r)),p.display="inline-block")),d.overflow&&(p.overflow="hidden",v.always(function(){p.overflow=d.overflow[0];p.overflowX=d.overflow[1];p.overflowY=d.overflow[2]})),b=!1,w)b||(l?"hidden"in l&&(u=l.hidden):l=D.access(a,
"fxshow",{display:t}),f&&(l.hidden=!u),u&&A([a],!0),v.done(function(){for(h in u||A([a]),D.remove(a,"fxshow"),w)m.style(a,h,w[h])})),b=X(u?l[h]:0,h,v),h in l||(l[h]=b.start,u&&(b.end=b.start,b.start=0))}],prefilter:function(a,b){b?ba.prefilters.unshift(a):ba.prefilters.push(a)}});m.speed=function(a,b,d){var h=a&&"object"===Object(p.a)(a)?m.extend({},a):{complete:d||!d&&b||m.isFunction(a)&&a,duration:a,easing:d&&b||b&&!m.isFunction(b)&&b};return m.fx.off||I.hidden?h.duration=0:h.duration="number"==
typeof h.duration?h.duration:h.duration in m.fx.speeds?m.fx.speeds[h.duration]:m.fx.speeds._default,null!=h.queue&&!0!==h.queue||(h.queue="fx"),h.old=h.complete,h.complete=function(){m.isFunction(h.old)&&h.old.call(this);h.queue&&m.dequeue(this,h.queue)},h};m.fn.extend({fadeTo:function(a,b,d,h){return this.filter(ya).css("opacity",0).show().end().animate({opacity:b},a,d,h)},animate:function(a,b,d,h){var c=m.isEmptyObject(a),f=m.speed(b,d,h);b=function(){var b=ba(this,m.extend({},a),f);(c||D.get(this,
"finish"))&&b.stop(!0)};return b.finish=b,c||!1===f.queue?this.each(b):this.queue(f.queue,b)},stop:function(a,b,d){var h=function(a){var b=a.stop;delete a.stop;b(d)};return"string"!=typeof a&&(d=b,b=a,a=void 0),b&&!1!==a&&this.queue(a||"fx",[]),this.each(function(){var b=!0,c=null!=a&&a+"queueHooks",f=m.timers,e=D.get(this);if(c)e[c]&&e[c].stop&&h(e[c]);else for(c in e)e[c]&&e[c].stop&&Ob.test(c)&&h(e[c]);for(c=f.length;c--;)f[c].elem!==this||null!=a&&f[c].queue!==a||(f[c].anim.stop(d),b=!1,f.splice(c,
1));!b&&d||m.dequeue(this,a)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var b,d=D.get(this),h=d[a+"queue"];b=d[a+"queueHooks"];var c=m.timers,f=h?h.length:0;d.finish=!0;m.queue(this,a,[]);b&&b.stop&&b.stop.call(this,!0);for(b=c.length;b--;)c[b].elem===this&&c[b].queue===a&&(c[b].anim.stop(!0),c.splice(b,1));for(b=0;b<f;b++)h[b]&&h[b].finish&&h[b].finish.call(this);delete d.finish})}});m.each(["toggle","show","hide"],function(a,b){var d=m.fn[b];m.fn[b]=function(a,h,c){return null==
a||"boolean"==typeof a?d.apply(this,arguments):this.animate(ga(b,!0),a,h,c)}});m.each({slideDown:ga("show"),slideUp:ga("hide"),slideToggle:ga("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,d,h){return this.animate(b,a,d,h)}});m.timers=[];m.fx.tick=function(){var a,b=0,d=m.timers;for(da=m.now();b<d.length;b++)(a=d[b])()||d[b]!==a||d.splice(b--,1);d.length||m.fx.stop();da=void 0};m.fx.timer=function(a){m.timers.push(a);a()?
m.fx.start():m.timers.pop()};m.fx.interval=13;m.fx.start=function(){pa||(pa=c.requestAnimationFrame?c.requestAnimationFrame(aa):c.setInterval(m.fx.tick,m.fx.interval))};m.fx.stop=function(){c.cancelAnimationFrame?c.cancelAnimationFrame(pa):c.clearInterval(pa);pa=null};m.fx.speeds={slow:600,fast:200,_default:400};m.fn.delay=function(a,b){return a=m.fx&&m.fx.speeds[a]||a,b=b||"fx",this.queue(b,function(b,d){var h=c.setTimeout(b,a);d.stop=function(){c.clearTimeout(h)}})};(function(){var a=I.createElement("input"),
b=I.createElement("select").appendChild(I.createElement("option"));a.type="checkbox";J.checkOn=""!==a.value;J.optSelected=b.selected;(a=I.createElement("input")).value="t";a.type="radio";J.radioValue="t"===a.value})();var gb,ra=m.expr.attrHandle;m.fn.extend({attr:function(a,b){return ia(this,m.attr,a,b,1<arguments.length)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}});m.extend({attr:function(a,b,d){var h,c,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return void 0===a.getAttribute?
m.prop(a,b,d):(1===f&&m.isXMLDoc(a)||(c=m.attrHooks[b.toLowerCase()]||(m.expr.match.bool.test(b)?gb:void 0)),void 0!==d?null===d?void m.removeAttr(a,b):c&&"set"in c&&void 0!==(h=c.set(a,d,b))?h:(a.setAttribute(b,d+""),d):c&&"get"in c&&null!==(h=c.get(a,b))?h:null==(h=m.find.attr(a,b))?void 0:h)},attrHooks:{type:{set:function(a,b){if(!J.radioValue&&"radio"===b&&m.nodeName(a,"input")){var d=a.value;return a.setAttribute("type",b),d&&(a.value=d),b}}}},removeAttr:function(a,b){var d=0,h=b&&b.match(ca);
if(h&&1===a.nodeType)for(;b=h[d++];)a.removeAttribute(b)}});gb={set:function(a,b,d){return!1===b?m.removeAttr(a,d):a.setAttribute(d,d),d}};m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var d=ra[b]||m.find.attr;ra[b]=function(a,b,h){var c,f,e=b.toLowerCase();return h||(f=ra[e],ra[e]=c,c=null!=d(a,b,h)?e:null,ra[e]=f),c}});var Pb=/^(?:input|select|textarea|button)$/i,Qb=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return ia(this,m.prop,a,b,1<arguments.length)},removeProp:function(a){return this.each(function(){delete this[m.propFix[a]||
a]})}});m.extend({prop:function(a,b,d){var h,c,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&m.isXMLDoc(a)||(b=m.propFix[b]||b,c=m.propHooks[b]),void 0!==d?c&&"set"in c&&void 0!==(h=c.set(a,d,b))?h:a[b]=d:c&&"get"in c&&null!==(h=c.get(a,b))?h:a[b]},propHooks:{tabIndex:{get:function(a){var b=m.find.attr(a,"tabindex");return b?parseInt(b,10):Pb.test(a.nodeName)||Qb.test(a.nodeName)&&a.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}});J.optSelected||(m.propHooks.selected={get:function(a){a=
a.parentNode;return a&&a.parentNode&&a.parentNode.selectedIndex,null},set:function(a){a=a.parentNode;a&&(a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex)}});m.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){m.propFix[this.toLowerCase()]=this});var Ka=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,d,h,c,f,e,g,t=0;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,ha(this)))});
if("string"==typeof a&&a)for(b=a.match(ca)||[];d=this[t++];)if(c=ha(d),h=1===d.nodeType&&(" "+c+" ").replace(Ka," ")){for(e=0;f=b[e++];)0>h.indexOf(" "+f+" ")&&(h+=f+" ");c!==(g=m.trim(h))&&d.setAttribute("class",g)}return this},removeClass:function(a){var b,d,h,c,f,e,g,t=0;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,ha(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a)for(b=a.match(ca)||[];d=this[t++];)if(c=ha(d),h=1===d.nodeType&&
(" "+c+" ").replace(Ka," ")){for(e=0;f=b[e++];)for(;-1<h.indexOf(" "+f+" ");)h=h.replace(" "+f+" "," ");c!==(g=m.trim(h))&&d.setAttribute("class",g)}return this},toggleClass:function(a,b){var d=Object(p.a)(a);return"boolean"==typeof b&&"string"===d?b?this.addClass(a):this.removeClass(a):m.isFunction(a)?this.each(function(d){m(this).toggleClass(a.call(this,d,ha(this),b),b)}):this.each(function(){var b,h,c,f;if("string"===d)for(h=0,c=m(this),f=a.match(ca)||[];b=f[h++];)c.hasClass(b)?c.removeClass(b):
c.addClass(b);else void 0!==a&&"boolean"!==d||((b=ha(this))&&D.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||!1===a?"":D.get(this,"__className__")||""))})},hasClass:function(a){var b,d=0;for(a=" "+a+" ";b=this[d++];)if(1===b.nodeType&&-1<(" "+ha(b)+" ").replace(Ka," ").indexOf(a))return!0;return!1}});var Rb=/\r/g,Sb=/[\x20\t\r\n\f]+/g;m.fn.extend({val:function(a){var b,d,h,c=this[0];return arguments.length?(h=m.isFunction(a),this.each(function(d){var c;1===this.nodeType&&
(null==(c=h?a.call(this,d,m(this).val()):a)?c="":"number"==typeof c?c+="":m.isArray(c)&&(c=m.map(c,function(a){return null==a?"":a+""})),(b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()])&&"set"in b&&void 0!==b.set(this,c,"value")||(this.value=c))})):c?(b=m.valHooks[c.type]||m.valHooks[c.nodeName.toLowerCase()])&&"get"in b&&void 0!==(d=b.get(c,"value"))?d:"string"==typeof(d=c.value)?d.replace(Rb,""):null==d?"":d:void 0}});m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,
"value");return null!=b?b:m.trim(m.text(a)).replace(Sb," ")}},select:{get:function(a){for(var b,d=a.options,h=a.selectedIndex,c="select-one"===a.type,f=c?null:[],e=c?h+1:d.length,g=0>h?e:c?h:0;g<e;g++)if(!(!(b=d[g]).selected&&g!==h||b.disabled||b.parentNode.disabled&&m.nodeName(b.parentNode,"optgroup"))){if(a=m(b).val(),c)return a;f.push(a)}return f},set:function(a,b){var d,h,c=a.options;b=m.makeArray(b);for(var f=c.length;f--;)((h=c[f]).selected=-1<m.inArray(m.valHooks.option.get(h),b))&&(d=!0);
return d||(a.selectedIndex=-1),b}}}});m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){if(m.isArray(b))return a.checked=-1<m.inArray(m(a).val(),b)}};J.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var hb=/^(?:focusinfocus|focusoutblur)$/;m.extend(m.event,{trigger:function(a,b,d,h){var f,e,g,t,r,v,w,u=[d||I],l=Da.call(a,"type")?a.type:a;f=Da.call(a,"namespace")?a.namespace.split("."):[];if(e=g=d=d||I,3!==d.nodeType&&8!==
d.nodeType&&!hb.test(l+m.event.triggered)&&(-1<l.indexOf(".")&&(l=(f=l.split(".")).shift(),f.sort()),r=0>l.indexOf(":")&&"on"+l,(a=a[m.expando]?a:new m.Event(l,"object"===Object(p.a)(a)&&a)).isTrigger=h?2:3,a.namespace=f.join("."),a.rnamespace=a.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=d),b=null==b?[a]:m.makeArray(b,[a]),w=m.event.special[l]||{},h||!w.trigger||!1!==w.trigger.apply(d,b))){if(!h&&!w.noBubble&&!m.isWindow(d)){t=w.delegateType||
l;for(hb.test(t+l)||(e=e.parentNode);e;e=e.parentNode)u.push(e),g=e;g===(d.ownerDocument||I)&&u.push(g.defaultView||g.parentWindow||c)}for(f=0;(e=u[f++])&&!a.isPropagationStopped();)a.type=1<f?t:w.bindType||l,(v=(D.get(e,"events")||{})[a.type]&&D.get(e,"handle"))&&v.apply(e,b),(v=r&&e[r])&&v.apply&&Ea(e)&&(a.result=v.apply(e,b),!1===a.result&&a.preventDefault());return a.type=l,h||a.isDefaultPrevented()||w._default&&!1!==w._default.apply(u.pop(),b)||!Ea(d)||r&&m.isFunction(d[l])&&!m.isWindow(d)&&
((g=d[r])&&(d[r]=null),m.event.triggered=l,d[l](),m.event.triggered=void 0,g&&(d[r]=g)),a.result}},simulate:function(a,b,d){a=m.extend(new m.Event,d,{type:a,isSimulated:!0});m.event.trigger(a,null,b)}});m.fn.extend({trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var d=this[0];if(d)return m.event.trigger(a,b,d,!0)}});m.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),
function(a,b){m.fn[b]=function(a,d){return 0<arguments.length?this.on(b,null,a,d):this.trigger(b)}});m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});J.focusin="onfocusin"in c;J.focusin||m.each({focus:"focusin",blur:"focusout"},function(a,b){var d=function(a){m.event.simulate(b,a.target,m.event.fix(a))};m.event.special[b]={setup:function(){var h=this.ownerDocument||this,c=D.access(h,b);c||h.addEventListener(a,d,!0);D.access(h,b,(c||0)+1)},teardown:function(){var h=this.ownerDocument||
this,c=D.access(h,b)-1;c?D.access(h,b,c):(h.removeEventListener(a,d,!0),D.remove(h,b))}}});var sa=c.location,ib=m.now(),La=/\?/;m.parseXML=function(a){var b;if(!a||"string"!=typeof a)return null;try{b=(new c.DOMParser).parseFromString(a,"text/xml")}catch(d){b=void 0}return b&&!b.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+a),b};var wb=/\[\]$/,jb=/\r?\n/g,Tb=/^(?:submit|button|image|reset|file)$/i,Ub=/^(?:input|select|textarea|keygen)/i;m.param=function(a,b){var d,h=[],c=function(a,
b){b=m.isFunction(b)?b():b;h[h.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==b?"":b)};if(m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){c(this.name,this.value)});else for(d in a)va(d,a[d],b,c);return h.join("&")};m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&
Ub.test(this.nodeName)&&!Tb.test(a)&&(this.checked||!db.test(a))}).map(function(a,b){a=m(this).val();return null==a?null:m.isArray(a)?m.map(a,function(a){return{name:b.name,value:a.replace(jb,"\r\n")}}):{name:b.name,value:a.replace(jb,"\r\n")}}).get()}});var Vb=/%20/g,Wb=/#.*$/,Xb=/([?&])_=[^&]*/,Yb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Zb=/^(?:GET|HEAD)$/,$b=/^\/\//,kb={},Ha={},lb="*/".concat("*"),Ma=I.createElement("a");Ma.href=sa.href;m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:sa.href,
type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(sa.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":lb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,
"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?xa(xa(a,m.ajaxSettings),b):xa(m.ajaxSettings,a)},ajaxPrefilter:Aa(kb),ajaxTransport:Aa(Ha),ajax:function(a,b){function d(a,b,g,w){var p,u,q,z,n,P=b;r||(r=!0,t&&c.clearTimeout(t),h=void 0,e=w||"",A.readyState=0<a?4:0,p=200<=a&&300>a||304===a,g&&(z=function(a,b,d){for(var h,c,f,e,g=a.contents,t=a.dataTypes;"*"===t[0];)t.shift(),void 0===h&&(h=a.mimeType||b.getResponseHeader("Content-Type"));if(h)for(c in g)if(g[c]&&
g[c].test(h)){t.unshift(c);break}if(t[0]in d)f=t[0];else{for(c in d){if(!t[0]||a.converters[c+" "+t[0]]){f=c;break}e||(e=c)}f=f||e}if(f)return f!==t[0]&&t.unshift(f),d[f]}(l,A,g)),z=function(a,b,d,h){var c,f,e,g,t,r={},k=a.dataTypes.slice();if(k[1])for(e in a.converters)r[e.toLowerCase()]=a.converters[e];for(f=k.shift();f;)if(a.responseFields[f]&&(d[a.responseFields[f]]=b),!t&&h&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),t=f,f=k.shift())if("*"===f)f=t;else if("*"!==t&&t!==f){if(!(e=r[t+" "+f]||
r["* "+f]))for(c in r)if((g=c.split(" "))[1]===f&&(e=r[t+" "+g[0]]||r["* "+g[0]])){!0===e?e=r[c]:!0!==r[c]&&(f=g[0],k.unshift(g[1]));break}if(!0!==e)if(e&&a.throws)b=e(b);else try{b=e(b)}catch(v){return{state:"parsererror",error:e?v:"No conversion from "+t+" to "+f}}}return{state:"success",data:b}}(l,z,A,p),p?(l.ifModified&&((n=A.getResponseHeader("Last-Modified"))&&(m.lastModified[f]=n),(n=A.getResponseHeader("etag"))&&(m.etag[f]=n)),204===a||"HEAD"===l.type?P="nocontent":304===a?P="notmodified":
(P=z.state,u=z.data,p=!(q=z.error))):(q=P,!a&&P||(P="error",0>a&&(a=0))),A.status=a,A.statusText=(b||P)+"",p?E.resolveWith(C,[u,P,A]):E.rejectWith(C,[A,P,q]),A.statusCode(y),y=void 0,v&&B.trigger(p?"ajaxSuccess":"ajaxError",[A,l,p?u:q]),S.fireWith(C,[A,P]),v&&(B.trigger("ajaxComplete",[A,l]),--m.active||m.event.trigger("ajaxStop")))}"object"===Object(p.a)(a)&&(b=a,a=void 0);b=b||{};var h,f,e,g,t,r,v,w,u,l=m.ajaxSetup({},b),C=l.context||l,B=l.context&&(C.nodeType||C.jquery)?m(C):m.event,E=m.Deferred(),
S=m.Callbacks("once memory"),y=l.statusCode||{},z={},n={},P="canceled",A={readyState:0,getResponseHeader:function(a){var b;if(r){if(!g)for(g={};b=Yb.exec(e);)g[b[1].toLowerCase()]=b[2];b=g[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return r?e:null},setRequestHeader:function(a,b){return null==r&&(a=n[a.toLowerCase()]=n[a.toLowerCase()]||a,z[a]=b),this},overrideMimeType:function(a){return null==r&&(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(r)A.always(a[A.status]);
else for(b in a)y[b]=[y[b],a[b]];return this},abort:function(a){a=a||P;return h&&h.abort(a),d(0,a),this}};if(E.promise(A),l.url=((a||l.url||sa.href)+"").replace($b,sa.protocol+"//"),l.type=b.method||b.type||l.method||l.type,l.dataTypes=(l.dataType||"*").toLowerCase().match(ca)||[""],null==l.crossDomain){a=I.createElement("a");try{a.href=l.url,a.href=a.href,l.crossDomain=Ma.protocol+"//"+Ma.host!=a.protocol+"//"+a.host}catch(fa){l.crossDomain=!0}}if(l.data&&l.processData&&"string"!=typeof l.data&&
(l.data=m.param(l.data,l.traditional)),wa(kb,l,b,A),r)return A;for(w in(v=m.event&&l.global)&&0==m.active++&&m.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Zb.test(l.type),f=l.url.replace(Wb,""),l.hasContent?l.data&&l.processData&&0===(l.contentType||"").indexOf("application/x-www-form-urlencoded")&&(l.data=l.data.replace(Vb,"+")):(u=l.url.slice(f.length),l.data&&(f+=(La.test(f)?"&":"?")+l.data,delete l.data),!1===l.cache&&(f=f.replace(Xb,""),u=(La.test(f)?"&":"?")+"_="+ib++ +
u),l.url=f+u),l.ifModified&&(m.lastModified[f]&&A.setRequestHeader("If-Modified-Since",m.lastModified[f]),m.etag[f]&&A.setRequestHeader("If-None-Match",m.etag[f])),(l.data&&l.hasContent&&!1!==l.contentType||b.contentType)&&A.setRequestHeader("Content-Type",l.contentType),A.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+lb+"; q=0.01":""):l.accepts["*"]),l.headers)A.setRequestHeader(w,l.headers[w]);if(l.beforeSend&&(!1===l.beforeSend.call(C,
A,l)||r))return A.abort();if(P="abort",S.add(l.complete),A.done(l.success),A.fail(l.error),h=wa(Ha,l,b,A)){if(A.readyState=1,v&&B.trigger("ajaxSend",[A,l]),r)return A;l.async&&0<l.timeout&&(t=c.setTimeout(function(){A.abort("timeout")},l.timeout));try{r=!1,h.send(z,d)}catch(fa){if(r)throw fa;d(-1,fa)}}else d(-1,"No Transport");return A},getJSON:function(a,b,d){return m.get(a,b,d,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}});m.each(["get","post"],function(a,b){m[b]=function(a,
d,h,c){return m.isFunction(d)&&(c=c||h,h=d,d=void 0),m.ajax(m.extend({url:a,type:b,dataType:c,data:d,success:h},m.isPlainObject(a)&&a))}});m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})};m.fn.extend({wrapAll:function(a){var b;return this[0]&&(m.isFunction(a)&&(a=a.call(this[0])),b=m(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var a=this;a.firstElementChild;)a=a.firstElementChild;
return a}).append(this)),this},wrapInner:function(a){return m.isFunction(a)?this.each(function(b){m(this).wrapInner(a.call(this,b))}):this.each(function(){var b=m(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(d){m(this).wrapAll(b?a.call(this,d):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){m(this).replaceWith(this.childNodes)}),this}});m.expr.pseudos.hidden=function(a){return!m.expr.pseudos.visible(a)};
m.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)};m.ajaxSettings.xhr=function(){try{return new c.XMLHttpRequest}catch(a){}};var ac={0:200,1223:204},ta=m.ajaxSettings.xhr();J.cors=!!ta&&"withCredentials"in ta;J.ajax=ta=!!ta;m.ajaxTransport(function(a){var b,d;if(J.cors||ta&&!a.crossDomain)return{send:function(h,f){var e,g=a.xhr();if(g.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)g[e]=a.xhrFields[e];for(e in a.mimeType&&
g.overrideMimeType&&g.overrideMimeType(a.mimeType),a.crossDomain||h["X-Requested-With"]||(h["X-Requested-With"]="XMLHttpRequest"),h)g.setRequestHeader(e,h[e]);b=function(a){return function(){b&&(b=d=g.onload=g.onerror=g.onabort=g.onreadystatechange=null,"abort"===a?g.abort():"error"===a?"number"!=typeof g.status?f(0,"error"):f(g.status,g.statusText):f(ac[g.status]||g.status,g.statusText,"text"!==(g.responseType||"text")||"string"!=typeof g.responseText?{binary:g.response}:{text:g.responseText},g.getAllResponseHeaders()))}};
g.onload=b();d=g.onerror=b("error");void 0!==g.onabort?g.onabort=d:g.onreadystatechange=function(){4===g.readyState&&c.setTimeout(function(){b&&d()})};b=b("abort");try{g.send(a.hasContent&&a.data||null)}catch(t){if(b)throw t;}},abort:function(){b&&b()}}});m.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)});m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return m.globalEval(a),
a}}});m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1);a.crossDomain&&(a.type="GET")});m.ajaxTransport("script",function(a){var b,d;if(a.crossDomain)return{send:function(h,c){b=m("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",d=function(a){b.remove();d=null;a&&c("error"===a.type?404:200,a.type)});I.head.appendChild(b[0])},abort:function(){d&&d()}}});var mb=[],Na=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=mb.pop()||m.expando+
"_"+ib++;return this[a]=!0,a}});m.ajaxPrefilter("json jsonp",function(a,b,d){var h,f,e,g=!1!==a.jsonp&&(Na.test(a.url)?"url":"string"==typeof a.data&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&Na.test(a.data)&&"data");if(g||"jsonp"===a.dataTypes[0])return h=a.jsonpCallback=m.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,g?a[g]=a[g].replace(Na,"$1"+h):!1!==a.jsonp&&(a.url+=(La.test(a.url)?"&":"?")+a.jsonp+"="+h),a.converters["script json"]=function(){return e||
m.error(h+" was not called"),e[0]},a.dataTypes[0]="json",f=c[h],c[h]=function(){e=arguments},d.always(function(){void 0===f?m(c).removeProp(h):c[h]=f;a[h]&&(a.jsonpCallback=b.jsonpCallback,mb.push(h));e&&m.isFunction(f)&&f(e[0]);e=f=void 0}),"script"});J.createHTMLDocument=function(){var a=I.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}();m.parseHTML=function(a,b,d){return"string"!=typeof a?[]:("boolean"==typeof b&&(d=b,b=!1),b||
(J.createHTMLDocument?((h=(b=I.implementation.createHTMLDocument("")).createElement("base")).href=I.location.href,b.head.appendChild(h)):b=I),c=$a.exec(a),f=!d&&[],c?[b.createElement(c[1])]:(c=H([a],b,f),f&&f.length&&m(f).remove(),m.merge([],c.childNodes)));var h,c,f};m.fn.load=function(a,b,d){var h,c,f,e=this,g=a.indexOf(" ");return-1<g&&(h=m.trim(a.slice(g)),a=a.slice(0,g)),m.isFunction(b)?(d=b,b=void 0):b&&"object"===Object(p.a)(b)&&(c="POST"),0<e.length&&m.ajax({url:a,type:c||"GET",dataType:"html",
data:b}).done(function(a){f=arguments;e.html(h?m("<div>").append(m.parseHTML(a)).find(h):a)}).always(d&&function(a,b){e.each(function(){d.apply(this,f||[a.responseText,b,a])})}),this};m.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){m.fn[b]=function(a){return this.on(b,a)}});m.expr.pseudos.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};m.offset={setOffset:function(a,b,d){var h,c,f,e,g,t,r=m.css(a,"position"),k=m(a),
v={};"static"===r&&(a.style.position="relative");g=k.offset();f=m.css(a,"top");t=m.css(a,"left");("absolute"===r||"fixed"===r)&&-1<(f+t).indexOf("auto")?(e=(h=k.position()).top,c=h.left):(e=parseFloat(f)||0,c=parseFloat(t)||0);m.isFunction(b)&&(b=b.call(a,d,m.extend({},g)));null!=b.top&&(v.top=b.top-g.top+e);null!=b.left&&(v.left=b.left-g.left+c);"using"in b?b.using.call(a,v):k.css(v)}};m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,
a,b)});var b,d,h,c,f=this[0];return f?f.getClientRects().length?(h=f.getBoundingClientRect()).width||h.height?(d=Ba(c=f.ownerDocument),b=c.documentElement,{top:h.top+d.pageYOffset-b.clientTop,left:h.left+d.pageXOffset-b.clientLeft}):h:{top:0,left:0}:void 0},position:function(){if(this[0]){var a,b,d=this[0],h={top:0,left:0};return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(h=a.offset()),h={top:h.top+m.css(a[0],"borderTopWidth",
!0),left:h.left+m.css(a[0],"borderLeftWidth",!0)}),{top:b.top-h.top-m.css(d,"marginTop",!0),left:b.left-h.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&"static"===m.css(a,"position");)a=a.offsetParent;return a||Fa})}});m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var d="pageYOffset"===b;m.fn[a]=function(h){return ia(this,function(a,h,c){var f=Ba(a);if(void 0===c)return f?f[b]:a[h];f?f.scrollTo(d?f.pageXOffset:
c,d?c:f.pageYOffset):a[h]=c},a,h,arguments.length)}});m.each(["top","left"],function(a,b){m.cssHooks[b]=E(J.pixelPosition,function(a,d){if(d)return d=P(a,b),Ga.test(d)?m(a).position()[b]+"px":d})});m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(d,h){m.fn[h]=function(c,f){var e=arguments.length&&(d||"boolean"!=typeof c),g=d||(!0===c||!0===f?"margin":"border");return ia(this,function(b,d,c){var f;return m.isWindow(b)?0===h.indexOf("outer")?
b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===c?m.css(b,d,g):m.style(b,d,c,g)},b,e?c:void 0,e)}})});m.fn.extend({bind:function(a,b,d){return this.on(a,null,b,d)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,d,h){return this.on(b,a,d,h)},undelegate:function(a,b,d){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",d)}});
m.parseJSON=JSON.parse;"function"==typeof define&&b(172)&&define("jquery",[],function(){return m});var bc=c.jQuery,cc=c.$;return m.noConflict=function(a){return c.$===m&&(c.$=cc),a&&c.jQuery===m&&(c.jQuery=bc),m},c.jQuery=c.$=m,m})}).call(c,b(1166)(n))},1166:function(n,c){n.exports=function(b){if(!b.webpackPolyfill){var c=Object.create(b);c.children||(c.children=[]);Object.defineProperty(c,"loaded",{enumerable:!0,get:function(){return c.l}});Object.defineProperty(c,"id",{enumerable:!0,get:function(){return c.i}});
Object.defineProperty(c,"exports",{enumerable:!0});c.webpackPolyfill=1}return c}},1167:function(n,c,b){n=b(1120);b.n(n);!function(b){b.fn.reverse=[].reverse;b.fn.toJSON=function(){return"$("+this.selector+")"};b.fn.insertAt=function(b,c){var g=this.children().length;return 0>b&&(b=Math.max(0,g+1+b)),this.append(c),b<g&&this.children().eq(b).before(this.children().last()),this};b.fn.deepest=function(c){var k,g,e=0;return this.each(function(){var a=b(this);a.find(c||"*").each(function(){if(!this.firstChild||
1!==this.firstChild.nodeType){var d=b(this).parentsUntil(a).length;d>e?(e=d,k=b(this)):d===e&&(k=k?k.add(this):b(this))}});g=g?g.add(k):k}),this.pushStack(g||[],"deepest",c||"")}}(jQuery)},1168:function(n,c,b){var l=b(38);!function(){if(!window.webwave){var b=function(){function c(a,b){return b.every(function(b){return a.includes(b)})}function g(a){if(0===arguments.length)return!1;for(var b=0;b<arguments.length;b++)if("undefined"===Object(l.a)(arguments[b]))return!1;return!0}function e(a){return g(a)&&
null!==a}function a(a){return Object(l.a)(a)===f}function d(a){return Object(l.a)(a)===w}function r(a){return Object(l.a)(a)===n}function u(a){return Object(l.a)(a)===A}function v(a){return Object(l.a)(a)===B&&!1===isNaN(a)}$jscomp.initSymbol();var f=Object(l.a)(function(){}),w=Object(l.a)(""),B=Object(l.a)(666),z=Object(l.a)(!0),n=Object(l.a)({}),A=Object(l.a)(Symbol("test")),y=0,x=[],H=[],F=window,C=function(a){return!L[a]&&!!M(a)},L={},M=function(a,d){a=a.split(".");for(var h=d||F;d=a.shift();){if(!b.isDefAndNotNull(h[d]))return null;
h=h[d]}return h},Q=function(){for(var d,h=0;h<x.length;h++)a(d=x[h])&&d.call(b)},Y=function(){for(var d,h=0;h<H.length;h++)a(d=H[h])&&d.call(b)},h=function(a,b){return(a=a.match(new RegExp(".*[?&]"+b+"=([^&'\"]+)(&|$|'|\")")))?a[1]:""};return"loading"!==document.readyState?Q():document.addEventListener("DOMContentLoaded",Q),"complete"===document.readyState?Y():window.addEventListener("load",Y),{provide:function(a){C(a)&&window.config&&"test"!==window.config.environment&&console.warn('Namespace "'+
a+'" already declared.');delete L[a];for(var d=a;(d=d.substring(0,d.lastIndexOf(".")))&&!M(d);)L[d]=!0;var h;a=a.split(".");d=F;a[0]in d||!d.execScript||d.execScript("var "+a[0]);for(;a.length&&(h=a.shift());)!a.length&&b.isDef(void 0)?d[h]=void 0:d=d[h]?d[h]:d[h]={}},file:{},log:function(){console&&console.log.apply(console,Array.prototype.slice.apply(arguments))},isArraysEqual:function(a,b){return a.length===b.length&&a.every(function(a,d){return a===b[d]})},arrayIncludeArray:c,arrayHasSameItems:function(a,
d){return!(!b.isArrayLike(a)||!b.isArrayLike(d)||d.length!==a.length)&&c(a,d)},debug:function(){!0===window.DEBUG&&console.error.apply(console,Array.prototype.slice.apply(arguments))},error:function(){console&&console.error.apply(console,Array.prototype.slice.apply(arguments))},isDef:g,isDefAndNotEmpty:function(a){return e(a)&&0<a.length},isDefAndNotNull:e,isNotDef:function(a){return"undefined"===Object(l.a)(a)},isNotDefOrNull:function(a){return"undefined"===Object(l.a)(a)||null===a},isNestedObjectExist:function(a,
d){var h=2<arguments.length&&void 0!==arguments[2]?arguments[2]:".";if(b.isNotDef(a))return!1;for(var h=d.split(h),c=a,f=0;f<h.length;f++)if(c=c[h[f]],b.isNotDef(c))return!1;return!0},isFunction:a,isString:d,isStringAndNotEmpty:function(a){return d(a)&&""!==a},isNotString:function(a){return Object(l.a)(a)!==w},isStringOrSymbol:function(a){return d(a)||u(a)},isSymbol:u,isNumber:function(a){return Object(l.a)(a)===B},isNumberAndNotNaN:v,isBoolean:function(a){return Object(l.a)(a)===z},isNotBoolean:function(a){return Object(l.a)(a)!==
z},isArrayLike:function(a){return"object"===Object(l.a)(a)&&null!==a&&"number"==typeof a.length},isArrayWithExactlyOneElement:function(a){return b.isArrayWithExactlyNElements(a,1)},isArrayWithExactlyNElements:function(a,d){return b.isArrayLike(a)&&a.length===d},isArrayWithMinimumNElements:function(a,d){return b.isArrayLike(a)&&a.length>=d},isNonEmptyArray:function(a){return b.isArrayWithMinimumNElements(a,1)},isDate:function(a){return a instanceof Date},isObject:r,getAppVersion:function(){return g(config)&&
g(config.app)?config.app.version:void 0},isValidEnumValue:function(a,b){if(g(a)&&g(b))for(var d in b)if(b.hasOwnProperty(d)&&b[d]===a)return!0;return!1},getEnumValues:function(a){var b=[],d;for(d in a)a.hasOwnProperty(d)&&b.push(a[d]);return b},getEnumKeys:function(a){var b=[],d;for(d in a)a.hasOwnProperty(d)&&b.push(d);return b},addReadyListener:function(a){"loading"!==document.readyState?a():x.push(a)},addLoadListener:function(a){"complete"===document.readyState?a():H.push(a)},decodeEntities:function(a){var b=
document.createElement("textarea");return b.innerHTML=a,b.value},getParamFromLocation:function(a){return h(window.location.href,a)},getParamFromUrl:h,getParamsFromUrl:function(a,b){for(var d,h=[],c=/[?&]+?([^=]+)=([^&]*)/g;d=c.exec(a);)decodeURIComponent(d[1])==b&&h.push(decodeURIComponent(d[2]));return h},uniqueId:function(a){var b=++y;return"".concat(a+b)},parseNumber:function(a){return v(a=parseInt(a,10))?a:0},getLanguagesAvailableForPage:function(){return g(config)&&g(config.languagesAvailableForPage)?
config.languagesAvailableForPage:[]},isNamespaceProvided:C,getConfigValue:function(a,b){a=a.split(".");for(var d=window.config,h=0;h<a.length;h++){if(!g(d[a[h]]))return b;d=d[a[h]]}return d},isValidJSON:function(a){try{return JSON.parse(a),!0}catch(b){return!1}},requestAnimationFrame:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(a){setTimeout(a,1E3/60)},clone:function(a){return b.isDefAndNotNull(a)?
JSON.parse(JSON.stringify(a)):a},isDomElement:function(a){return a instanceof Element},isObjectAndNotNull:function(a){return r(a)&&null!==a},isNotNull:function(a){return null!==a},getOptNumber:function(a){var d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;return!1===b.isNumberAndNotNaN(a)?d:a}}}();b.provide("webwave");window.webwave=b}}()},1173:function(n,c,b){function l(b){var d=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==
typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var c;c=Object(a.a)(b);if(d){var f=Object(a.a)(this).constructor;c=Reflect.construct(c,arguments,f)}else c=c.apply(this,arguments);return Object(e.a)(this,c)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2);b(32);var d=function(a){function b(a){var c;return Object(p.a)(this,b),(c=d.call(this,a))._panel=a.panel,c._nextPanel=a.nextPanel,
c._direction=a.direction,c._panelSize=a.panelSize,c._$panelParent=a.panelParent,c}Object(g.a)(b,a);var d=l(b);return Object(k.a)(b,[{key:"setDirection",value:function(a){this._direction=a}},{key:"setNextPanel",value:function(a){this._nextPanel=a}},{key:"getNextPanel",value:function(){return this._nextPanel}}]),b}(b(1716).a)},1177:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=(b(100),b(110)),g=function(){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:
{};Object(l.a)(this,b);this._width=new k.a(a.width);this._height=new k.a(a.height)}return Object(p.a)(b,[{key:"subtract",value:function(a){this._width.subtract(point.getWidth());this._height.subtract(point.getHeight())}},{key:"add",value:function(a){this._width.add(a.getWidth());this._height.add(a.getHeight())}},{key:"serialize",value:function(){return{width:this._width.serialize(),height:this._height.serialize()}}},{key:"clone",value:function(){return new b(this.serialize())}},{key:"equals",value:function(a){return this._width.equals(a._width)&&
this._height.equals(a._height)}},{key:"setWidth",value:function(a){this._width=a}},{key:"setWidthValue",value:function(a){this._width.setValue(a)}},{key:"setWidthUnit",value:function(a){this._width.setUnit(a)}},{key:"getWidthUnit",value:function(){return this._width.getUnit()}},{key:"getWidthValue",value:function(){return this._width.getValue()}},{key:"setHeightUnit",value:function(a){this._height.setUnit(a)}},{key:"getHeightUnit",value:function(){return this._height.getUnit()}},{key:"getWidth",value:function(){return this._width}},
{key:"setHeight",value:function(a){this._height=a}},{key:"setHeightValue",value:function(a){this._height.setValue(a)}},{key:"getHeight",value:function(){return this._height}},{key:"getHeightValue",value:function(){return this._height.getValue()}},{key:"toJSON",value:function(){return this.serialize()}},{key:"isAnyUnitDynamic",value:function(){return this.isWidthUnitDynamic()||this.isHeightUnitDynamic()}},{key:"isHeightUnitDynamic",value:function(){return k.a.isUnitDynamic(this.getHeightUnit())}},
{key:"isWidthUnitDynamic",value:function(){return k.a.isUnitDynamic(this.getWidthUnit())}}]),b}()},1186:function(n,c,b){c.a={LEFT:"left",CENTER:"center",RIGHT:"right"}},1196:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=[{name:"blur",defaultValue:0,regex:/blur\(([+-]?([0-9]*[.])?[0-9]+)px\)/},{name:"brightness",defaultValue:1,regex:/brightness\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"contrast",defaultValue:1,regex:/contrast\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"greyscale",defaultValue:0,
regex:/grayscale\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"hueRotate",defaultValue:0,regex:/hue-rotate\(([+-]?([0-9]*[.])?[0-9]+)deg\)/},{name:"saturate",defaultValue:1,regex:/saturate\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"sepia",defaultValue:0,regex:/sepia\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"invert",defaultValue:0,regex:/invert\(([+-]?([0-9]*[.])?[0-9]+)\)/}],g=function(){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,b);this.invert=this.sepia=this.saturate=
this.hueRotate=this.greyscale=this.contrast=this.brightness=this.blur=void 0;this.enabled=!0===a.enabled;this.blur=webwave.isNumberAndNotNaN(a.blur)?a.blur:void 0;this.brightness=webwave.isNumberAndNotNaN(a.brightness)?a.brightness:void 0;this.contrast=webwave.isNumberAndNotNaN(a.contrast)?a.contrast:void 0;this.greyscale=webwave.isNumberAndNotNaN(a.greyscale)?a.greyscale:void 0;this.hueRotate=webwave.isNumberAndNotNaN(a.hueRotate)?a.hueRotate:void 0;this.saturate=webwave.isNumberAndNotNaN(a.saturate)?
a.saturate:void 0;this.sepia=webwave.isNumberAndNotNaN(a.sepia)?a.sepia:void 0;this.invert=webwave.isNumberAndNotNaN(a.invert)?a.invert:void 0}return Object(p.a)(b,[{key:"setBlur",value:function(a){this.blur=a}},{key:"setBrightness",value:function(a){this.brightness=a}},{key:"setContrast",value:function(a){this.contrast=a}},{key:"setGreyscale",value:function(a){this.greyscale=a}},{key:"setHueRotate",value:function(a){this.hueRotate=a}},{key:"setSaturate",value:function(a){this.saturate=a}},{key:"setSepia",
value:function(a){this.sepia=a}},{key:"setInvert",value:function(a){this.invert=a}},{key:"isEnabled",value:function(){return this.enabled}},{key:"setEnabled",value:function(a){return this.enabled=a}},{key:"toCssString",value:function(){var a="";return this.isEnabled()?(webwave.isDef(this.blur)&&(a+="blur(".concat(Math.abs(this.blur),"px)")),webwave.isDef(this.brightness)&&(a+=" brightness(".concat(Math.abs(this.brightness),")")),webwave.isDef(this.contrast)&&(a+=" contrast(".concat(Math.abs(this.contrast),
")")),webwave.isDef(this.greyscale)&&(a+=" grayscale(".concat(Math.abs(this.greyscale),")")),webwave.isDef(this.hueRotate)&&(a+=" hue-rotate(".concat(Math.abs(this.hueRotate),"deg)")),webwave.isDef(this.saturate)&&(a+=" saturate(".concat(Math.abs(this.saturate),")")),webwave.isDef(this.sepia)&&(a+=" sepia(".concat(Math.abs(this.sepia),")")),webwave.isDef(this.invert)&&(a+=" invert(".concat(Math.abs(this.invert),")"))):a="none",a}},{key:"toCss2Map",value:function(){return{filter:this.toCssString()}}},
{key:"serialize",value:function(){return{enabled:this.enabled,blur:this.blur,brightness:this.brightness,contrast:this.contrast,greyscale:this.greyscale,hueRotate:this.hueRotate,saturate:this.saturate,sepia:this.sepia,invert:this.invert}}},{key:"clone",value:function(){return new b(this.serialize())}},{key:"multiply",value:function(a){for(var b=0;b<k.length;b++){var c=k[b].name;webwave.isDef(this[c])&&(this[c]*=a)}}},{key:"add",value:function(a){for(var b=0;b<k.length;b++){var c=k[b].name;webwave.isDef(this[c])&&
webwave.isDef(a[c])&&(this[c]+=a[c])}}},{key:"subtract",value:function(a){for(var b=0;b<k.length;b++){var c=k[b].name;webwave.isDef(this[c])&&webwave.isDef(a[c])&&(this[c]-=a[c])}}},{key:"fillDefaultMissingValues",value:function(a){for(var b=0;b<k.length;b++){var c=k[b],e=k[b].name;webwave.isDef(a[e])&&webwave.isNotDef(this[e])&&(this[e]=c.defaultValue)}}},{key:"mergeStyle",value:function(a){if(webwave.isDef(a.enabled)&&(this.enabled=a.enabled),!0===a.enabled)for(var b=0;b<k.length;b++){var c=k[b].name;
webwave.isDef(a[c])&&(this[c]=a[c])}}}],[{key:"deserialize",value:function(a){return new b(a)}},{key:"readFromString",value:function(a){for(var d=new b({enabled:webwave.isStringAndNotEmpty(a)}),c=0;c<k.length;c++){var g=k[c],v=a.match(g.regex);null!==v&&(v=parseFloat(v[1]),!1===isNaN(v)&&(d[g.name]=v))}return d}},{key:"createDefaultFilterData",value:function(){return new b({blur:this.DEFAULT_BLUR_VALUE})}}]),b}();g.DEFAULT_BLUR_VALUE=4.8},121:function(n,c){function b(){throw Error("setTimeout has not been defined");
}function l(){throw Error("clearTimeout has not been defined");}function p(a){if(d===setTimeout)return setTimeout(a,0);if((d===b||!d)&&setTimeout)return d=setTimeout,setTimeout(a,0);try{return d(a,0)}catch(c){try{return d.call(null,a,0)}catch(f){return d.call(this,a,0)}}}function k(){f&&u&&(f=!1,u.length?v=u.concat(v):w=-1,v.length&&g())}function g(){if(!f){var a=p(k);f=!0;for(var b=v.length;b;){u=v;for(v=[];++w<b;)u&&u[w].run();w=-1;b=v.length}u=null;f=!1;(function(a){if(r===clearTimeout)return clearTimeout(a);
if((r===l||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(a);try{r(a)}catch(b){try{return r.call(null,a)}catch(d){return r.call(this,a)}}})(a)}}function e(a,b){this.fun=a;this.array=b}function a(){}var d,r;n=n.exports={};try{d="function"==typeof setTimeout?setTimeout:b}catch(B){d=b}try{r="function"==typeof clearTimeout?clearTimeout:l}catch(B){r=l}!0;var u,v=[],f=!1,w=-1;n.nextTick=function(a){var b=Array(arguments.length-1);if(1<arguments.length)for(var d=1;d<arguments.length;d++)b[d-1]=arguments[d];
v.push(new e(a,b));1!==v.length||f||p(g)};e.prototype.run=function(){this.fun.apply(null,this.array)};n.title="browser";n.browser=!0;n.env={};n.argv=[];n.version="";n.versions={};n.on=a;n.addListener=a;n.once=a;n.off=a;n.removeListener=a;n.removeAllListeners=a;n.emit=a;n.prependListener=a;n.prependOnceListener=a;n.listeners=function(a){return[]};n.binding=function(a){throw Error("process.binding is not supported");};n.cwd=function(){return"/"};n.chdir=function(a){throw Error("process.chdir is not supported");
};n.umask=function(){return 0}},1210:function(n,c,b){b.d(c,"a",function(){return p});var l=b(0),p=function g(){Object(l.a)(this,g)}},1244:function(n,c,b){c.a={COLOR:"color",GRADIENT:"gradient"}},1245:function(n,c,b){n=b(1297);b=b(1578);c.a={BRAND:n.a.createVariableById(b.a.BRAND),SECONDARY:n.a.createVariableById(b.a.SECONDARY),COMPLEMENTARY:n.a.createVariableById(b.a.COMPLEMENTARY),FIRST_NEUTRAL:n.a.createVariableById(b.a.FIRST_NEUTRAL),SECOND_NEUTRAL:n.a.createVariableById(b.a.SECOND_NEUTRAL)}},
1257:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var e;e=Object(d.a)(b);if(c){var g=Object(d.a)(this).constructor;e=Reflect.construct(e,arguments,g)}else e=e.apply(this,arguments);return Object(a.a)(this,e)}}b.d(c,"a",function(){return v});var p=b(0),
k=b(1),g=b(15),e=b(3),a=b(4),d=b(2),r=b(331);n=b(1959);var u=b(100),v=function(a){function b(a){var d;return Object(p.a)(this,b),(d=c.call(this,a))._cropType=webwave.isValidEnumValue(a.cropType,r.a)?a.cropType:null,d}Object(e.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"serialize",value:function(){return Object.assign(Object(g.a)(Object(d.a)(b.prototype),"serialize",this).call(this),{cropType:this.getCropType()})}},{key:"loadValueFromObject",value:function(a){Object(g.a)(Object(d.a)(b.prototype),
"loadValueFromObject",this).call(this,a);this.setCropType(a.getCropType())}},{key:"getCropType",value:function(){return this._cropType}},{key:"setCropType",value:function(a){this._cropType=a}},{key:"isCropTypeValidToCropping",value:function(){return b.isCropTypeValidToCropping(this.getCropType())}}],[{key:"deserialize",value:function(a){return new b(a)}},{key:"createDefaultWithCropType",value:function(a){return new b({cropType:a,x:{value:50,unit:u.a.PERCENT},y:{value:50,unit:u.a.PERCENT}})}},{key:"isCropTypeValidToCropping",
value:function(a){return a!==r.a.FULL_WIDTH}}]),b}(n.a)},1267:function(n,c,b){function l(b){var d=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var c;c=Object(a.a)(b);if(d){var f=Object(a.a)(this).constructor;c=Reflect.construct(c,arguments,f)}else c=c.apply(this,arguments);return Object(e.a)(this,
c)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(a){return Object(p.a)(this,b),d.call(this,a)}Object(g.a)(b,a);var d=l(b);return Object(k.a)(b,[{key:"enteredViewportHandler",value:function(){var a=$(this.getDomObject()),d=a.attr(b.LAZY_LOAD_ATTR_NAME);a.attr("src",this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(d,this.getDomObject()))}}]),b}(b(1517).a);d.LAZY_LOAD_ATTR_NAME="data-lazy-load-src";webwave.provide("com.webwave.publication.intersectionObserver.object.WIntersectionObservedImg");
com.webwave.publication.intersectionObserver.object.WIntersectionObservedImg=d},1268:function(n,c,b){n=b(175);c.a={DEFAULT_ANIMATION_TIME:300,DEFAULT_DIRECTION:n.a.TOP}},128:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(378),g=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,null,[{key:"_normalizeTable",value:function(a){a.replaceWith("<div>".concat(a.text().replace(/\s+/g," ").trim(),"</div>"))}},{key:"htmlElementToText",value:function(a){var d;d=1<arguments.length&&
void 0!==arguments[1]?arguments[1]:{};if(!0===d.preserveWhiteSpaces){var c=webwave.isDefAndNotNull(d.replaceValue)?d.replaceValue:"\n";d=d.property===k.a.INNER_TEXT?a[0].innerText.replace(b.multipleNewLineCharRegex,c):a[0].textContent.replace(b.multipleNewLineCharRegex,c)}else d=a.text();return d}},{key:"html2Text",value:function(a){var d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},c=$('<div style="white-space: pre;"/>').html(a);!0===d.stripTables&&c.find("table").each(function(a,d){b._normalizeTable($(d))});
c=b.htmlElementToText(c,d);return!1===webwave.isDefAndNotEmpty(c)&&webwave.isStringAndNotEmpty(d.optionalValueOnEmpty)&&(c=d.optionalValueOnEmpty),c}},{key:"changeCssPropertyForEachChildrenElementInTextElement",value:function(a,b){a=a.find('*[style*="'.concat(b.cssProperty,'"]'));for(var c=0;c<a.length;c++)a[c].style[b.cssProperty]=b.newCssValue;return a}},{key:"decodeHtml",value:function(a){var b=document.createElement("textarea");b.innerHTML=a;a=b.value;return b.remove(),a}},{key:"getTextContentWithoutRedundantNewLines",
value:function(a){for(var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},c="",e=a[0].childNodes,g=0;g<e.length;g++)c+=e[g].textContent,g!==e.length-1&&(!0===b.withSpace?c+=" ":c+="\n");return c}},{key:"getTextContentWithoutRedundantNewLinesFromElementHtml",value:function(a){var d=document.createElement("div");return $(d).html(a.html()),b.getTextContentWithoutRedundantNewLines($(d))}},{key:"textToHTMLWithDivs",value:function(a){return webwave.isStringAndNotEmpty(a)?(a=a.split(/\n/g),(a=
a.map(function(a){return""===a?"<div>&nbsp;</div>":"<div>".concat(a,"</div>")})).join("")):a}}]),b}();g.htmlToElements=function(b){var a=document.createElement("template");return a.innerHTML=b.trim(),a.content.childNodes};g.multipleNewLineCharRegex=/(\n)((\s)*(\n))+/g},1288:function(n,c,b){b.d(c,"a",function(){return e});var l=b(0),p=b(1),k=b(1268),g=0,e=function(){function a(b){Object(l.a)(this,a);webwave.isNotDef(b)&&(b={});this._id=g++;this._duration=webwave.isDef(b.duration)&&webwave.isNumber(b.duration)?
b.duration:k.a.DEFAULT_ANIMATION_TIME;this._progress=this._currentTime=this._startTime=0;this._finished=this._running=this._started=!1}return Object(p.a)(a,[{key:"setStartTime",value:function(a){this._startTime=a}},{key:"setCurrentTime",value:function(a){this._currentTime=Math.min(a,this._duration);this._progress=Math.min(this._currentTime/this._duration,1)}},{key:"getProgress",value:function(){return this._progress}},{key:"getCurrentTime",value:function(){return this._currentTime}},{key:"getCurrentProgress",
value:function(){return this._progress}},{key:"getStartTime",value:function(){return this._startTime}},{key:"getDuration",value:function(){return this._duration}},{key:"start",value:function(a){!1===this._started&&(this.setStartTime(a),this._started=!0,this._running=!0)}},{key:"isStarted",value:function(){return this._started}},{key:"isRunning",value:function(){return this._running}},{key:"isFinished",value:function(){return this._finished}},{key:"stop",value:function(a){!1===this._finished&&(this._running=
!1,this._finished=!0,!0===a&&this.finish())}},{key:"finish",value:function(){}},{key:"tick",value:function(a){}}]),a}()},1297:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,null,[{key:"createVariableById",value:function(b){return"var(--".concat(b,")")}},{key:"findVariablesValuesInString",value:function(b){return webwave.isDefAndNotNull(b)?b.match(/--[a-zA-Z_0-9]*/g):null}},{key:"isVariableExistInString",value:function(c){c=
b.findVariablesValuesInString(c);return webwave.isArrayLike(c)&&0<c.length}}]),b}()},1298:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(175),g=function(){function b(a){Object(l.a)(this,b);void 0===a&&(a={});this.top=webwave.parseNumber(a.top);this.right=webwave.parseNumber(a.right);this.bottom=webwave.parseNumber(a.bottom);this.left=webwave.parseNumber(a.left);webwave.isDef(a.enabled)?this.enabled=a.enabled:this.enabled=this._computeEnabledValue()}return Object(p.a)(b,[{key:"serialize",
value:function(){return{top:this.top,right:this.right,bottom:this.bottom,left:this.left,enabled:this.enabled}}},{key:"_computeEnabledValue",value:function(){for(var a=!1,b=Object.values(k.a),c=0;c<b.length;c++)if(0<this[b[c]]){a=!0;break}return a}},{key:"toCss2Map",value:function(){return{paddingTop:"".concat(this.enabled?this.top:0,"px"),paddingRight:"".concat(this.enabled?this.right:0,"px"),paddingBottom:"".concat(this.enabled?this.bottom:0,"px"),paddingLeft:"".concat(this.enabled?this.left:0,"px")}}},
{key:"clone",value:function(){return new b({left:this.left,top:this.top,right:this.right,bottom:this.bottom,enabled:this.enabled})}},{key:"applyPartialPaddingMap",value:function(a){webwave.isDef(a)&&(webwave.isNumberAndNotNaN(a.top)&&(this.top=a.top),webwave.isNumberAndNotNaN(a.right)&&(this.right=a.right),webwave.isNumberAndNotNaN(a.bottom)&&(this.bottom=a.bottom),webwave.isNumberAndNotNaN(a.left)&&(this.left=a.left),webwave.isDef(a.enabled)&&(this.enabled=a.enabled))}},{key:"getComputedTop",value:function(){return this.enabled?
this.top:0}},{key:"getComputedRight",value:function(){return this.enabled?this.right:0}},{key:"getComputedLeft",value:function(){return this.enabled?this.left:0}},{key:"getComputedBottom",value:function(){return this.enabled?this.bottom:0}}],[{key:"deserialize",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new b({top:a.top,right:a.right,bottom:a.bottom,left:a.left,enabled:a.enabled})}}]),b}()},14:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});
c.multiBindToService=c.getServiceIdentifierAsString=c.typeConstraint=c.namedConstraint=c.taggedConstraint=c.traverseAncerstors=c.decorate=c.id=c.MetadataReader=c.postConstruct=c.targetName=c.multiInject=c.unmanaged=c.optional=c.LazyServiceIdentifer=c.inject=c.named=c.tagged=c.injectable=c.ContainerModule=c.AsyncContainerModule=c.TargetTypeEnum=c.BindingTypeEnum=c.BindingScopeEnum=c.Container=c.METADATA_KEY=void 0;n=b(20);c.METADATA_KEY=n;var l=b(784);Object.defineProperty(c,"Container",{enumerable:!0,
get:function(){return l.Container}});var p=b(39);Object.defineProperty(c,"BindingScopeEnum",{enumerable:!0,get:function(){return p.BindingScopeEnum}});Object.defineProperty(c,"BindingTypeEnum",{enumerable:!0,get:function(){return p.BindingTypeEnum}});Object.defineProperty(c,"TargetTypeEnum",{enumerable:!0,get:function(){return p.TargetTypeEnum}});var k=b(800);Object.defineProperty(c,"AsyncContainerModule",{enumerable:!0,get:function(){return k.AsyncContainerModule}});Object.defineProperty(c,"ContainerModule",
{enumerable:!0,get:function(){return k.ContainerModule}});var g=b(801);Object.defineProperty(c,"injectable",{enumerable:!0,get:function(){return g.injectable}});var e=b(802);Object.defineProperty(c,"tagged",{enumerable:!0,get:function(){return e.tagged}});var a=b(803);Object.defineProperty(c,"named",{enumerable:!0,get:function(){return a.named}});var d=b(165);Object.defineProperty(c,"inject",{enumerable:!0,get:function(){return d.inject}});Object.defineProperty(c,"LazyServiceIdentifer",{enumerable:!0,
get:function(){return d.LazyServiceIdentifer}});var r=b(804);Object.defineProperty(c,"optional",{enumerable:!0,get:function(){return r.optional}});var u=b(805);Object.defineProperty(c,"unmanaged",{enumerable:!0,get:function(){return u.unmanaged}});var v=b(806);Object.defineProperty(c,"multiInject",{enumerable:!0,get:function(){return v.multiInject}});var f=b(807);Object.defineProperty(c,"targetName",{enumerable:!0,get:function(){return f.targetName}});var w=b(808);Object.defineProperty(c,"postConstruct",
{enumerable:!0,get:function(){return w.postConstruct}});var B=b(163);Object.defineProperty(c,"MetadataReader",{enumerable:!0,get:function(){return B.MetadataReader}});var z=b(51);Object.defineProperty(c,"id",{enumerable:!0,get:function(){return z.id}});var G=b(46);Object.defineProperty(c,"decorate",{enumerable:!0,get:function(){return G.decorate}});var A=b(168);Object.defineProperty(c,"traverseAncerstors",{enumerable:!0,get:function(){return A.traverseAncerstors}});Object.defineProperty(c,"taggedConstraint",
{enumerable:!0,get:function(){return A.taggedConstraint}});Object.defineProperty(c,"namedConstraint",{enumerable:!0,get:function(){return A.namedConstraint}});Object.defineProperty(c,"typeConstraint",{enumerable:!0,get:function(){return A.typeConstraint}});var y=b(63);Object.defineProperty(c,"getServiceIdentifierAsString",{enumerable:!0,get:function(){return y.getServiceIdentifierAsString}});var x=b(809);Object.defineProperty(c,"multiBindToService",{enumerable:!0,get:function(){return x.multiBindToService}})},
15:function(n,c,b){function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(b,c,e){var a=Object(p.a)(b,c);if(a)return a=Object.getOwnPropertyDescriptor(a,c),a.get?a.get.call(3>arguments.length?b:e):a.value}).apply(this,arguments)}c.a=l;var p=b(401)},150:function(n,c,b){b.d(c,"a",function(){return a});var l=b(0),p=b(1),k=b(78),g=b(42),e=b(32),a=function(){function a(b){Object(l.a)(this,a);webwave.isNotDef(b)&&(b={});this._position=new g.a(b.position);this._size=new e.a(b.size)}
return Object(p.a)(a,[{key:"getSize",value:function(){return this._size}},{key:"setSize",value:function(a){this._size=a}},{key:"getPosition",value:function(){return this._position}},{key:"setPosition",value:function(a){this._position=a}},{key:"equals",value:function(a){return this.getPosition().equals(a.getPosition())&&this.getSize().equals(a.getSize())}},{key:"clone",value:function(){return new a({size:this.getSize().clone(),position:this.getPosition().clone()})}},{key:"moveBy",value:function(a){this.getPosition().add(a)}},
{key:"getX1",value:function(){return this.getPosition().getX()}},{key:"setX1",value:function(a){var b=a-this.getPosition().getX();this.getSize().setWidth(this.getSize().getWidth()-b);this.getPosition().setX(a)}},{key:"getX2",value:function(){return this.getPosition().getX()+this.getSize().getWidth()}},{key:"setX2",value:function(a){this.getSize().setWidth(a-this.getPosition().getX())}},{key:"getY1",value:function(){return this.getPosition().getY()}},{key:"setY1",value:function(a){var b=a-this.getPosition().getY();
this.getSize().setHeight(this.getSize().getHeight()-b);this.getPosition().setY(a)}},{key:"getY2",value:function(){return this.getPosition().getY()+this.getSize().getHeight()}},{key:"setY2",value:function(a){this.getSize().setHeight(a-this.getPosition().getY())}},{key:"getWidth",value:function(){return this.getSize().getWidth()}},{key:"setWidth",value:function(a){this.getSize().setWidth(a)}},{key:"getHeight",value:function(){return this.getSize().getHeight()}},{key:"setHeight",value:function(a){this.getSize().setHeight(a)}},
{key:"intersects",value:function(a){return this.getX1()<=a.getX2()&&this.getX2()>=a.getX1()&&this.getY1()<=a.getY2()&&this.getY2()>=a.getY1()}},{key:"getCenterX",value:function(){return this.getPosition().getX()+this.getSize().getWidth()/2}},{key:"getCenterY",value:function(){return this.getPosition().getY()+this.getSize().getHeight()/2}},{key:"getCenter",value:function(){return new g.a({x:this.getCenterX(),y:this.getCenterY()})}},{key:"containsMoreThanHalf",value:function(a){var b=a.getCenterX();
a=a.getCenterY();return a>=this.getPosition().getY()&&a<=this.getY2()&&b>=this.getPosition().getX()&&b<=this.getX2()}},{key:"join",value:function(a){return this.setX1(Math.min(this.getX1(),a.getX1())),this.setY1(Math.min(this.getY1(),a.getY1())),this.setX2(Math.max(this.getX2(),a.getX2())),this.setY2(Math.max(this.getY2(),a.getY2())),this}},{key:"collidesXByHalf",value:function(a){var b=this.getCenterX(),d=a.getCenterX();return b>=a.getX1()&&b<=a.getX2()||d>=this.getX1()&&d<=this.getX2()}},{key:"collidesYByHalf",
value:function(a){var b=this.getCenterY(),d=a.getCenterY();return b>=a.getY1()&&b<=a.getY2()||d>=this.getY1()&&d<=this.getY2()}},{key:"crossCollidesByHalf",value:function(a){return this.collidesXByHalf(a)||this.collidesYByHalf(a)}},{key:"crossCollidesY",value:function(a){return this.getY1()<=a.getY2()&&this.getY2()>=a.getY1()}},{key:"crossCollidesX",value:function(a){return this.getX1()<=a.getX2()&&this.getX2()>=a.getX1()}},{key:"contains",value:function(a){return this.getX1()<=a.getX1()&&this.getX2()>=
a.getX2()&&this.getY1()<=a.getY1()&&this.getY2()>=a.getY2()}},{key:"getDistance2D",value:function(a){a=this.getDistance2DWithAvailableNegativeValue(a);return new g.a({x:Math.max(a.x,0),y:Math.max(a.y,0)})}},{key:"getDistance2DWithAvailableNegativeValue",value:function(a){var b=this.getX1()<a.getX1()?a.getX1()-this.getX2():this.getX1()-a.getX2();a=this.getY1()<a.getY1()?a.getY1()-this.getY2():this.getY1()-a.getY2();return new g.a({x:b,y:a})}},{key:"getRectBetweenY",value:function(b){var c={x:Math.min(this.getX1(),
b.getX1()),y:Math.min(this.getY2(),b.getY2())};return new a({position:c,size:{height:Math.max(0,Math.max(this.getY1(),b.getY1())-c.y),width:Math.max(this.getX2(),b.getX2())-c.x}})}},{key:"getRectBetweenX",value:function(b){var c={x:Math.min(this.getX2(),b.getX2()),y:Math.min(this.getY1(),b.getY1())};return new a({position:c,size:{height:Math.max(this.getY2(),b.getY2())-c.y,width:Math.max(0,Math.max(this.getX1(),b.getX1())-c.x)}})}},{key:"moveTo",value:function(a){a=a.clone();a.subtract(this.getPosition());
this.moveBy(a)}},{key:"isPointAbove",value:function(a){return a.getY()<this.getY1()}},{key:"isPointBelow",value:function(a){return a.getY()>this.getY2()}},{key:"isPointOnTheLeft",value:function(a){return a.getX()<this.getX1()}},{key:"isPointOnTheRight",value:function(a){return a.getX()>this.getX2()}},{key:"isRectangleAbove",value:function(a){return this.getY1()>a.getY2()}},{key:"isRectangleBelow",value:function(a){return this.getY2()<a.getY1()}},{key:"containsPoint",value:function(a){var b=1<arguments.length&&
void 0!==arguments[1]?arguments[1]:{};return(this.isPointBetweenX(a)||!0===b.checkIsBetweenY)&&(this.isPointBetweenY(a)||!0===b.checkIsBetweenX)}},{key:"isPointBetweenX",value:function(a){return this.getX1()<=a.getX()&&this.getX2()>=a.getX()}},{key:"isPointBetweenY",value:function(a){return this.getY1()<=a.getY()&&this.getY2()>=a.getY()}},{key:"countYDistanceToPoint",value:function(a){return Math.min(Math.abs(this.getY1()-a.getY()),Math.abs(this.getY2()-a.getY()))}},{key:"addSize",value:function(a){this._size.add(a)}},
{key:"addSizeValueByOrientation",value:function(a,b){switch(b){case k.a.HORIZONTAL:this._size.addWidth(a);break;case k.a.VERTICAL:this._size.addHeight(a)}}},{key:"getTopCenterPoint",value:function(){return new g.a({x:this.getCenterX(),y:this.getY1()})}},{key:"getTopRightPoint",value:function(){return new g.a({x:this.getX2(),y:this.getY1()})}}]),a}()},1515:function(n,c,b){b.d(c,"a",function(){return u});var l=b(0),p=b(1),k=b(1516),g=b(2071),e=b(2072),a=b(1736),d=b(2074),r=b(1196),u=function(){function b(){var c=
0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,b);this.background=webwave.isDef(c.background)?new g.a(c.background):void 0;this.padding=webwave.isDef(c.padding)?new a.a(c.padding):void 0;this.border=webwave.isDef(c.border)?new e.a(c.border):void 0;this.shadow=webwave.isDef(c.shadow)?new d.a(c.shadow):void 0;this.filter=webwave.isDef(c.filter)?new r.a(c.filter):void 0;this.opacity=webwave.isNumberAndNotNaN(c.opacity)?c.opacity:void 0;this.opacityEnabled=webwave.isBoolean(c.opacityEnabled)?
c.opacityEnabled:void 0;this.backgroundOverlay=webwave.isDef(c.backgroundOverlay)?new k.a(c.backgroundOverlay):void 0;this.verticalAlign=webwave.isString(c.verticalAlign)?c.verticalAlign:void 0;this.horizontalAlign=webwave.isString(c.horizontalAlign)?c.horizontalAlign:void 0}return Object(p.a)(b,[{key:"serialize",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return{background:webwave.isDef(this.background)?this.background.serialize(a):void 0,padding:webwave.isDef(this.padding)?
this.padding.serialize():void 0,border:webwave.isDef(this.border)?this.border.serialize():void 0,shadow:webwave.isDef(this.shadow)?this.shadow.serialize():void 0,filter:webwave.isDef(this.filter)?this.filter.serialize():void 0,backgroundOverlay:webwave.isDef(this.backgroundOverlay)?this.backgroundOverlay.serialize():void 0,opacity:this.opacity,opacityEnabled:this.opacityEnabled,verticalAlign:this.verticalAlign,horizontalAlign:this.horizontalAlign}}},{key:"getCssOpacity",value:function(){return this.getComputedOpacity()/
100}},{key:"getComputedOpacity",value:function(){return this.opacityEnabled?this.opacity:100}},{key:"toCss2Map",value:function(){var a={};return webwave.isDef(this.opacity)&&(a.opacity=this.getCssOpacity()),webwave.isDef(this.padding)&&$.extend(a,this.padding.toCss2Map()),webwave.isDef(this.border)&&$.extend(a,this.border.toCss2Map()),webwave.isDef(this.shadow)&&$.extend(a,this.shadow.toCss2Map()),webwave.isDef(this.background)&&$.extend(a,this.background.toCss2Map()),webwave.isDef(this.filter)&&
$.extend(a,this.filter.toCss2Map()),webwave.isDef(this.backgroundOverlay)&&$.extend(a,this.backgroundOverlay.toCss2Map()),a}},{key:"applyPartialObjectStyle",value:function(b){webwave.isDef(b)&&(webwave.isDef(b.background)&&(webwave.isDef(this.background)?this.background.applyPartialBackgroundMap(b.background):this.background=new g.a(b.background)),webwave.isDef(b.border)&&(webwave.isDef(this.border)?this.border.applyPartialBorderMap(b.border):this.border=new e.a(b.border)),webwave.isDef(b.padding)&&
(webwave.isDef(this.padding)?this.padding.applyPartialPaddingMap(b.padding):this.padding=new a.a(b.padding)),webwave.isDef(b.shadow)&&(webwave.isDef(this.shadow)?this.shadow.applyPartialShadowMap(b.shadow):this.shadow=new d.a(b.shadow)),webwave.isDef(b.filter)&&(this.filter=new r.a(b.filter)),webwave.isDef(b.backgroundOverlay)&&(webwave.isDef(this.backgroundOverlay)?this.backgroundOverlay.mergeStyle(b.backgroundOverlay):this.backgroundOverlay=new k.a(b.backgroundOverlay)),webwave.isDef(b.opacityEnabled)&&
(this.opacityEnabled=!0===b.opacityEnabled),webwave.isNumberAndNotNaN(b.opacity)&&!0===this.opacityEnabled&&(this.opacity=b.opacity),webwave.isString(b.verticalAlign)&&(this.verticalAlign=b.verticalAlign),webwave.isString(b.horizontalAlign)&&(this.horizontalAlign=b.horizontalAlign))}},{key:"removePadding",value:function(){this.padding=void 0}},{key:"removeFilter",value:function(){this.filter=void 0}},{key:"setFilter",value:function(a){this.filter=a}},{key:"getFilter",value:function(){return this.filter}},
{key:"setBackgroundOverlay",value:function(a){this.backgroundOverlay=a}},{key:"getBackgroundOverlay",value:function(){return this.backgroundOverlay}},{key:"getBackground",value:function(){return this.background}},{key:"createDefaultFilterData",value:function(){this.setFilter(r.a.createDefaultFilterData())}},{key:"createDefaultBackgroundOverlay",value:function(){this.setBackgroundOverlay(new k.a({}))}},{key:"clone",value:function(){return new b(this.serialize())}},{key:"changeWebsiteColorConnection",
value:function(a,b){var d,c,e,g,k=null===(d=this.background)||void 0===d?void 0:d.changeWebsiteColorConnection(a,b);d=null===(c=this.backgroundOverlay)||void 0===c?void 0:c.changeWebsiteColorConnection(a,b);c=null===(e=this.border)||void 0===e?void 0:e.changeWebsiteColorConnection(a,b);a=null===(g=this.shadow)||void 0===g?void 0:g.changeWebsiteColorConnection(a,b);return!0===k||!0===d||!0===c||!0===a}}]),b}()},1516:function(n,c,b){b.d(c,"a",function(){return e});var l=b(0),p=b(1),k=b(893),g=b(1765),
e=function(){function a(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,a);this.enabled=!0===b.enabled;this.background=webwave.isDef(b.background)?new k.a(b.background):new k.a({backgroundColor:a.DEFAULT_BACKGROUND_COLOR});this.mixBlendMode=webwave.isDef(b.mixBlendMode)?b.mixBlendMode:g.a.NORMAL}return Object(p.a)(a,[{key:"isEnabled",value:function(){return this.enabled}},{key:"setEnabled",value:function(a){this.enabled=a}},{key:"toCss2Map",value:function(){var a=
this.isEnabled()?this.mixBlendMode:g.a.NORMAL,b=this.isEnabled()?this.background.toCss2Map():(new k.a({enabled:!1})).toCss2Map(),a={mixBlendMode:a};return Object.assign(a,b),a}},{key:"toCssString",value:function(){if(this.enabled){var a=$("<div />");return a.css(this.toCss2Map()),a.attr("style")}return"background:none"}},{key:"serialize",value:function(){return{enabled:this.enabled,background:this.background.serialize(),mixBlendMode:this.mixBlendMode}}},{key:"mergeStyle",value:function(a){webwave.isDef(a)&&
(webwave.isDef(a.enabled)&&(this.enabled=a.enabled),!0===a.enabled&&(webwave.isDef(a.background)&&this.background.applyPartialBackgroundMap(a.background),webwave.isDef(a.mixBlendMode)&&(this.mixBlendMode=a.mixBlendMode)))}},{key:"clone",value:function(){return new a(this.serialize())}},{key:"changeWebsiteColorConnection",value:function(a,b){var c;return null===(c=this.background)||void 0===c?void 0:c.changeWebsiteColorConnection(a,b)}}],[{key:"deserialize",value:function(b){return new a(b)}}]),a}();
e.DEFAULT_BACKGROUND_COLOR="rgba(200, 99, 99, 0.5)"},1517:function(n,c,b){function l(b){var d=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var c;c=Object(a.a)(b);if(d){var f=Object(a.a)(this).constructor;c=Reflect.construct(c,arguments,f)}else c=c.apply(this,arguments);return Object(e.a)(this,
c)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(a){var c;return Object(p.a)(this,b),(c=d.call(this))._domObject=a,c.browserWebPSupportUtils=null,c}Object(g.a)(b,a);var d=l(b);return Object(k.a)(b,[{key:"getDomObject",value:function(){return this._domObject}},{key:"setBrowserWebPSupportUtils",value:function(a){this.browserWebPSupportUtils=a}}]),b}(b(1657).a)},1519:function(n,c,b){var l={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",getOppositeDirection:function(b){switch(b){case l.TOP:return l.BOTTOM;
case l.RIGHT:return l.LEFT;case l.BOTTOM:return l.TOP;case l.LEFT:return l.RIGHT}return b}};c.a=l},1523:function(n,c,b){c.a={FIXED:"fixed",SCROLL:"scroll"}},1547:function(n,c,b){c.a={OWN_SIZE:0,CHILDREN_SIZE:1}},1556:function(n,c,b){function l(a,b){var d=Object.keys(a);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(a);b&&(c=c.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable}));d.push.apply(d,c)}return d}function p(a){for(var b=1;b<arguments.length;b++){var d=
null!=arguments[b]?arguments[b]:{};b%2?l(Object(d),!0).forEach(function(b){Object(k.a)(a,b,d[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(d)):l(Object(d)).forEach(function(b){Object.defineProperty(a,b,Object.getOwnPropertyDescriptor(d,b))})}return a}b.d(c,"a",function(){return w});var k=b(18),g=b(0),e=b(1),a=b(893),d=b(1516),r=b(1686),u=b(1298),v=b(1712),f=b(1196),w=function(){function b(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:
{};Object(g.a)(this,b);this.background=c.background instanceof a.a?c.background:new a.a;this.padding=c.padding instanceof u.a?c.padding:new u.a;this.border=c.border instanceof r.a?c.border:new r.a;this.shadow=c.shadow instanceof v.a?c.shadow:new v.a;this.opacity=webwave.isDef(c.opacity)?c.opacity:100;this.opacityEnabled=webwave.isDef(c.opacityEnabled)?c.opacityEnabled:100>this.opacity;this.filter=webwave.isDef(c.filter)?c.filter:new f.a;this.backgroundOverlay=webwave.isDef(c.backgroundOverlay)?c.backgroundOverlay:
new d.a}return Object(e.a)(b,[{key:"serialize",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=webwave.isDefAndNotNull(this.background)?this.background.serialize(a):void 0,b=webwave.isDefAndNotNull(this.padding)?this.padding.serialize():void 0,d=webwave.isDefAndNotNull(this.border)?this.border.serialize():void 0,c=webwave.isDefAndNotNull(this.shadow)?this.shadow.serialize():void 0,f=webwave.isDefAndNotNull(this.filter)?this.filter.serialize():void 0,e=webwave.isDefAndNotNull(this.backgroundOverlay)?
this.backgroundOverlay.serialize():void 0;return{background:a,padding:b,border:d,shadow:c,opacity:this.opacity,opacityEnabled:this.opacityEnabled,filter:f,backgroundOverlay:e}}},{key:"getCssOpacity",value:function(){return this.getComputedOpacity()/100}},{key:"getComputedOpacity",value:function(){return this.opacityEnabled?this.opacity:100}},{key:"isFullyVisible",value:function(){return 100===this.getComputedOpacity()&&this.background.isNonTransparentBackgroundAvailable()}},{key:"getOpacityEnabled",
value:function(){return this.opacityEnabled}},{key:"toCss2Map",value:function(){return p(p(p(p(p({opacity:this.getCssOpacity()},this.padding.toCss2Map()),this.border.toCss2Map()),this.shadow.toCss2Map()),this.background.toCss2Map()),this.filter.toCss2Map())}},{key:"toContentStyleString",value:function(){var a=$("<div />");return a.css(this.toCss2Map()),a.attr("style")}},{key:"toBackgroundOverlayStyleString",value:function(){return"border-radius: ".concat(this.border.getComputedRadius(),"px;").concat(this.backgroundOverlay.toCssString())}},
{key:"applyPartialObjectStyle",value:function(a){webwave.isDef(a)&&(webwave.isDef(a.background)&&this.background.applyPartialBackgroundMap(a.background),webwave.isDef(a.border)&&this.border.applyPartialBorderMap(a.border),webwave.isDef(a.padding)&&this.padding.applyPartialPaddingMap(a.padding),webwave.isDef(a.backgroundOverlay)&&this.getBackgroundOverlay().mergeStyle(a.backgroundOverlay),webwave.isDef(a.shadow)&&this.shadow.applyPartialShadowMap(a.shadow),webwave.isNumberAndNotNaN(a.opacity)&&(this.opacity=
a.opacity),webwave.isBoolean(a.opacityEnabled)&&(this.opacityEnabled=a.opacityEnabled),webwave.isDef(a.filter)&&this.setFilter(a.filter.clone()))}},{key:"setFilter",value:function(a){this.filter=a}},{key:"getFilter",value:function(){return this.filter}},{key:"setBackgroundOverlay",value:function(a){this.backgroundOverlay=a}},{key:"getBackgroundOverlay",value:function(){return this.backgroundOverlay}},{key:"clone",value:function(){return b.deserialize(this.serialize())}},{key:"changeWebsiteColorConnection",
value:function(a,b){var d,c,f,e,g=null===(d=this.background)||void 0===d?void 0:d.changeWebsiteColorConnection(a,b);d=null===(c=this.backgroundOverlay)||void 0===c?void 0:c.changeWebsiteColorConnection(a,b);c=null===(f=this.border)||void 0===f?void 0:f.changeWebsiteColorConnection(a,b);a=null===(e=this.shadow)||void 0===e?void 0:e.changeWebsiteColorConnection(a,b);return!0===g||!0===d||!0===c||!0===a}},{key:"isParallaxActive",value:function(){var a;return null===(a=this.background)||void 0===a?void 0:
a.isParallaxActive()}}],[{key:"deserialize",value:function(c){return void 0===c&&(c={}),new b({background:new a.a(c.background),padding:u.a.deserialize(c.padding),border:r.a.deserialize(c.border),shadow:v.a.deserialize(c.shadow),opacity:c.opacity,opacityEnabled:c.opacityEnabled,filter:f.a.deserialize(c.filter),backgroundOverlay:new d.a(c.backgroundOverlay)})}}]),b}()},1578:function(n,c,b){c.a={BRAND:"brand",SECONDARY:"secondary",COMPLEMENTARY:"complementary",FIRST_NEUTRAL:"neutral1",SECOND_NEUTRAL:"neutral2"}},
1579:function(n,c,b){function l(b){var d=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var c;c=Object(a.a)(b);if(d){var f=Object(a.a)(this).constructor;c=Reflect.construct(c,arguments,f)}else c=c.apply(this,arguments);return Object(e.a)(this,c)}}var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=
b(1614);!function(a){webwave.provide("com.webwave.publication.object.WElement");a=function(a){function b(a){return Object(p.a)(this,b),d.call(this,a)}Object(g.a)(b,a);var d=l(b);return Object(k.a)(b,[{key:"recreateContent",value:function(){}},{key:"recreate",value:function(){this.recreateContent()}},{key:"getGroup",value:function(){return com.webwave.publication.object.ObjectService.getInstance().getWObjectById(this.getDomObject().attr("groupid"))}},{key:"getAnimatingContent",value:function(){return this.getContent()}},
{key:"canBeRotated",value:function(){return!0}}]),b}(d.a);com.webwave.publication.object.WElement=a}(window);c.a=com.webwave.publication.object.WElement},1598:function(n,c,b){c.a={TOP:"top",CENTER:"center",BOTTOM:"bottom"}},1599:function(n,c,b){b.d(c,"a",function(){return e});var l=b(0),p=b(1),k=b(338),g=b(1515),e=function(){function a(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,a);this._states={};this._states[k.a.NORMAL]=b[k.a.NORMAL];this._states[k.a.HOVER]=
b[k.a.HOVER];this._states[k.a.DISABLED]=b[k.a.DISABLED]}return Object(p.a)(a,[{key:"getStates",value:function(){return this._states}},{key:"getState",value:function(a){return this.getStates()[a]}},{key:"setStyle",value:function(a,b){this.getStates()[a]=b}},{key:"getStyle",value:function(a){return this.getState(a)}},{key:"serialize",value:function(){return{normal:this.getState(k.a.NORMAL).serialize(),hover:this.getState(k.a.HOVER).serialize(),disabled:this.getState(k.a.DISABLED).serialize()}}},{key:"clone",
value:function(){return a.deserialize(this.serialize())}}],[{key:"deserialize",value:function(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new a({normal:new g.a(b[k.a.NORMAL]),hover:new g.a(b[k.a.HOVER]),disabled:new g.a(b[k.a.DISABLED])})}}]),a}()},16:function(n,c,b){b.d(c,"a",function(){return l});$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();var l={AdditionalEventService:Symbol.for("AdditionalEventService"),AILanguageService:Symbol.for("AILanguageService"),
AINewsGenerationService:Symbol.for("AINewsGenerationService"),AISectionGenerationService:Symbol.for("AISectionGenerationService"),AIWebsiteColorsService:Symbol.for("AIWebsiteColorsService"),AIWebsiteCookiesService:Symbol.for("AIWebsiteCookiesService"),AIWebsiteFontsService:Symbol.for("AIWebsiteFontsService"),AIWebsiteTranslationService:Symbol.for("AIWebsiteTranslationService"),AIWebsiteService:Symbol.for("AIWebsiteService"),AIWebsiteWObjectManager:Symbol.for("AIWebsiteWObjectManager"),AIWebsiteWPagesService:Symbol.for("AIWebsiteWPagesService"),
AlignElementsService:Symbol.for("AlignElementsService"),AnimationOnScrollService:Symbol.for("AnimationOnScrollService"),Animator:Symbol.for("Animator"),WebsiteDataStoreService:Symbol.for("WebsiteDataStoreService"),AutoSaveService:Symbol.for("AutoSaveService"),AutomaticImportService:Symbol.for("AutomaticImportService"),BackgroundMapCreatorService:Symbol.for("BackgroundMapCreatorService"),BackgroundParallaxService:Symbol.for("BackgroundParallaxService"),BackupService:Symbol.for("BackupService"),BasicFontService:Symbol.for("BasicFontService"),
BrowserDetectService:Symbol.for("BrowserDetectService"),ButtonService:Symbol.for("ButtonService"),CKEditorOpenAI:Symbol.for("CKEditorOpenAI"),CarouselService:Symbol.for("CarouselService"),ClipboardService:Symbol.for("ClipboardService"),CommandService:Symbol.for("CommandService"),CommentAuthenticationService:Symbol.for("CommentAuthenticationService"),CommentLinkService:Symbol.for("CommentLinkService"),CommentService:Symbol.for("CommentService"),ContextMenuService:Symbol.for("ContextMenuService"),CookieBarService:Symbol.for("CookieBarService"),
CookiePopupSettingsService:Symbol.for("CookiePopupSettingsService"),CookiePopupIconService:Symbol.for("CookiePopupIconService"),CookieShowSettingsService:Symbol.for("CookieShowSettingsService"),CoreService:Symbol.for("CoreService"),DatePickerService:Symbol.for("DatePickerService"),DispatchActionIcon:Symbol.for("DispatchActionIcon"),DownloadProtectionService:Symbol.for("DownloadProtectionService"),DropImageUpload:Symbol.for("DropImageUpload"),DuplicateService:Symbol.for("DuplicateService"),DynamicMenuService:Symbol.for("DynamicMenuService"),
DropdownMenuItemFactory:Symbol.for("DropdownMenuItemFactory"),EditorControlsOverlayService:Symbol.for("EditorControlsOverlayService"),EditorRoleService:Symbol.for("EditorRoleService"),EditorSelectionManager:Symbol.for("EditorSelectionManager"),EditorSettingsService:Symbol.for("EditorSettingsService"),ElementRotationService:Symbol.for("ElementRotationService"),EmbeddedElementService:Symbol.for("EmbeddedElementService"),ElementService:Symbol.for("ElementService"),FileManagerService:Symbol.for("FileManagerService"),
FontManagerService:Symbol.for("FontManagerService"),FontService:Symbol.for("FontService"),FooterService:Symbol.for("FooterService"),FormService:Symbol.for("FormService"),GalleryService:Symbol.for("GalleryService"),GeneralSettingsService:Symbol.for("GeneralSettingsService"),GoogleFontService:Symbol.for("GoogleFontService"),GoogleMapsService:Symbol.for("GoogleMapsService"),GradientService:Symbol.for("GradientService"),GroupService:Symbol.for("GroupService"),GuiEditorBaseShortcuts:Symbol.for("GuiEditorBaseShortcuts"),
GuiModeService:Symbol.for("GuiModeService"),GuideService:Symbol.for("GuideService"),GuideStoreService:Symbol.for("GuideStoreService"),HeadCodeService:Symbol.for("HeadCodeService"),HeaderBoxService:Symbol.for("HeaderBoxService"),HtmlEditorService:Symbol.for("HtmlEditorService"),IdGeneratorService:Symbol.for("IdGeneratorService"),ImageBankService:Symbol.for("ImageBankService"),ImageEditorService:Symbol.for("ImageEditorService"),ImgService:Symbol.for("ImgService"),InfoboxService:Symbol.for("InfoboxService"),
InitGUIService:Symbol.for("InitGUIService"),InnerElementControlsVisualiser:Symbol.for("InnerElementControlsVisualiser"),InnerElementService:Symbol.for("InnerElementService"),InpostEasyPackService:Symbol.for("InpostEasyPackService"),InteractionsService:Symbol.for("InteractionsService"),JsonUpgradeService:Symbol.for("JsonUpgradeService"),KenBurnsService:Symbol.for("KenBurnsService"),KeyboardService:Symbol.for("KeyboardService"),LanguageService:Symbol.for("LanguageService"),LayerFooterButtonService:Symbol.for("LayerFooterButtonService"),
LayerManager:Symbol.for("LayerManager"),LayerNodeFactory:Symbol.for("LayerNodeFactory"),LayerNodeService:Symbol.for("LayerNodeService"),LayerNodeStore:Symbol.for("LayerNodeStore"),LayerService:Symbol.for("LayerService"),LayerStackFactory:Symbol.for("LayerStackFactory"),LayoutService:Symbol.for("LayoutService"),LinkElementService:Symbol.for("LinkElementService"),LocalStorageService:Symbol.for("LocalStorageService"),LocationService:Symbol.for("LocationService"),MarketingService:Symbol.for("MarketingService"),
MediaPlayerService:Symbol.for("MediaPlayerService"),MediaService:Symbol.for("MediaService"),MenuItemService:Symbol.for("MenuItemService"),MenuManagerService:Symbol.for("MenuManagerService"),MenuToolService:Symbol.for("MenuToolService"),MouseDragSelectionService:Symbol.for("MouseDragSelectionService"),MultiSectionElementsLockService:Symbol.for("MultiSectionElementsLockService"),NavigationService:Symbol.for("NavigationService"),NavigationTopService:Symbol.for("NavigationTopService"),NavigationTopView:Symbol.for("NavigationTopView"),
NewLanguageService:Symbol.for("NewLanguageService"),NewsCategoryManagerService:Symbol.for("NewsCategoryManagerService"),NewsManagerService:Symbol.for("NewsManagerService"),NewsCategoryService:Symbol.for("NewsCategoryService"),NewsLayoutManagerService:Symbol.for("NewsLayoutManagerService"),NewsLayoutService:Symbol.for("NewsLayoutService"),NewsService:Symbol.for("NewsService"),NewsfeedService:Symbol.for("NewsfeedService"),ObjectAnimationService:Symbol.for("ObjectAnimationService"),ObjectDistanceService:Symbol.for("ObjectDistanceService"),
ObjectEdgeService:Symbol.for("ObjectEdgeService"),ObjectFixService:Symbol.for("ObjectFixService"),ObjectImportHelper:Symbol.for("ObjectImportHelper"),ObjectLibraryService:Symbol.for("ObjectLibraryService"),ObjectLibraryToolWindow:Symbol.for("ObjectLibraryToolWindow"),ObjectRelationService:Symbol.for("ObjectRelationService"),ObjectService:Symbol.for("ObjectService"),OnboardingService:Symbol.for("OnboardingService"),OnlineStoreService:Symbol.for("OnlineStoreService"),OrderHistoryPopupService:Symbol.for("OrderHistoryPopupService"),
OrderHistoryService:Symbol.for("OrderHistoryService"),OrderPopupService:Symbol.for("OrderPopupService"),PageAreaBackgroundService:Symbol.for("PageAreaBackgroundService"),PageCanvasService:Symbol.for("PageCanvasService"),PageManagerService:Symbol.for("PageManagerService"),PageService:Symbol.for("PageService"),PaletteService:Symbol.for("PaletteService"),PhotoswipeService:Symbol.for("PhotoswipeService"),PopupManager:Symbol.for("PopupManager"),PopupPageManagerService:Symbol.for("PopupPageMangerService"),
NewsManagementService:Symbol.for("NewsManagementService"),PositionService:Symbol.for("PositionService"),ProductCategoryService:Symbol.for("ProductCategoryService"),ProductLayoutService:Symbol.for("ProductLayoutService"),ProductListPopupService:Symbol.for("ProductListPopupService"),ProductMapGenerator:Symbol.for("ProductMapGenerator"),ProductPageService:Symbol.for("ProductPageService"),ProfileService:Symbol.for("ProfileService"),ProjectService:Symbol.for("ProjectService"),PublicationRestrictionService:Symbol.for("PublicationRestrictionService"),
PublishService:Symbol.for("PublishService"),RelationManagerService:Symbol.for("RelationManagerService"),RwdPropertiesService:Symbol.for("RwdPropertiesService"),RwdService:Symbol.for("RwdService"),RwdSizeTransformerFactory:Symbol.for("RwdSizeTransformerFactory"),SalesmanagoEventService:Symbol.for("SalesmanagoEventService"),ScreenshotService:Symbol.for("ScreenshotService"),ScrollService:Symbol.for("ScrollService"),SectionIcons:Symbol.for("SectionIcons"),SectionModeService:Symbol.for("SectionModeService"),
SeoAutomatonManagerService:Symbol.for("SeoAutomatonManagerService"),SeoAutomatonService:Symbol.for("SeoAutomatonService"),SeoCriterionFactory:Symbol.for("SeoCriterionFactory"),SeoElementFinder:Symbol.for("SeoElementFinder"),SeoSettingsPopupService:Symbol.for("SeoSettingsPopupService"),SimpleTextEditorService:Symbol.for("SimpleTextEditorService"),SnipcartService:Symbol.for("SnipcartService"),SnipcartStoreService:Symbol.for("SnipcartStoreService"),StorageService:Symbol.for("StorageService"),StoreAnalyticsManager:Symbol.for("StoreAnalyticsManager"),
StoreDotPayPaymentProvider:Symbol.for("StoreDotPayPaymentProvider"),StoreP24PaymentProvider:Symbol.for("StoreP24PaymentProvider"),StorePayPalPaymentProvider:Symbol.for("StorePayPalPaymentProvider"),StorePaymentProvider:Symbol.for("StorePaymentProvider"),StorePaymentProviderFactory:Symbol.for("StorePaymentProviderFactory"),StoreService:Symbol.for("StoreService"),StoreSettingsMapGenerator:Symbol.for("StoreSettingsMapGenerator"),StoreSettingsService:Symbol.for("StoreSettingsService"),StoreStripePaymentProvider:Symbol.for("StoreStripePaymentProvider"),
StyleService:Symbol.for("StyleService"),TemplateStore:Symbol.for("TemplateStore"),TextEditorService:Symbol.for("TextEditorService"),TextElementService:Symbol.for("TextElementService"),TextStyleService:Symbol.for("TextStyleService"),ToolWindowService:Symbol.for("ToolWindowService"),TooltipCommentService:Symbol.for("TooltipCommentService"),TutorialService:Symbol.for("TutorialService"),UndoButtonService:Symbol.for("UndoButtonService"),UndoService:Symbol.for("UndoService"),UpgradeService:Symbol.for("UpgradeService"),
UploadFileService:Symbol.for("UploadFileService"),UserChatService:Symbol.for("UserChatService"),UserFlowService:Symbol.for("UserFlowService"),UserFontService:Symbol.for("UserFontService"),UsersPopupService:Symbol.for("UsersPopupService"),VisibilityKnowledgeService:Symbol.for("VisibilityKnowledgeService"),WElementFactory:Symbol.for("WElementFactory"),WElementImageCropperFactory:Symbol.for("WElementImageCropperFactory"),WFooterFactory:Symbol.for("WFooterFactory"),WGroupFactory:Symbol.for("WGroupFactory"),
WLayoutGroupFactory:Symbol.for("WLayoutGroupFactory"),WObjectComponentSelectorService:Symbol.for("WObjectComponentSelectorService"),WObjectControlsVisualiser:Symbol.for("WObjectControlsVisualiser"),WObjectEditIcons:Symbol.for("WObjectEditIcons"),WObjectFactory:Symbol.for("WObjectFactory"),WObjectLockService:Symbol.for("WObjectLockService"),WObjectMoveLimitService:Symbol.for("WObjectMoveLimitService"),WObjectMoveService:Symbol.for("WObjectMoveService"),WObjectRwdMathService:Symbol.for("WObjectRwdMathService"),
WObjectSnapService:Symbol.for("WObjectSnapService"),WPageDuplicateService:Symbol.for("WPageDuplicateService"),WPageFactory:Symbol.for("WPageFactory"),WPageStore:Symbol.for("WPageStore"),WSectionFactory:Symbol.for("WSectionFactory"),WSectionService:Symbol.for("WSectionService"),WebmasterObjectLibraryService:Symbol.for("WebmasterObjectLibraryService"),WebmasterObjectService:Symbol.for("WebmasterObjectService"),WebpageBackgroundService:Symbol.for("WebpageBackgroundService"),WebpageService:Symbol.for("WebpageService"),
WebsiteAccessPopupService:Symbol.for("WebsiteAccessPopupService"),WebsiteColorPropertyFactory:Symbol.for("WebsiteColorPropertyFactory"),WebsiteColorService:Symbol.for("WebsiteColorService"),WebsiteColorStyleManager:Symbol.for("WebsiteColorStyleManager"),WebsiteItemListService:Symbol.for("WebsiteItemListService"),WebsitePropertiesService:Symbol.for("WebsitePropertiesService"),WebwaveTemplateJsonUpgradeService:Symbol.for("WebwaveTemplateJsonUpgradeService"),ZoomService:Symbol.for("ZoomService")}},1614:function(n,
c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var f;f=Object(d.a)(b);if(c){var e=Object(d.a)(this).constructor;f=Reflect.construct(f,arguments,e)}else f=f.apply(this,arguments);return Object(a.a)(this,f)}}b.d(c,"a",function(){return C});var p=b(0),k=b(1),g=b(15),
e=b(3),a=b(4),d=b(2);n=b(2070);var r=b(100),u=b(1556),v=b(42),f=b(1109),w=b(379),B=b(364),z=b(2241),G=b(32);c=(b(338),b(2242),b(98));var A=b(1636),y=b(1267),x=b(1697),H=b(1599),F=[c.a.BUTTON,c.a.IMG,c.a.STORE_CART,c.a.STORE_PRODUCT];webwave.provide("com.webwave.publication.object.WObject");var C=function(a){function b(a){var d;return Object(p.a)(this,b),(d=c.call(this,a)).backgroundParallaxService=a.backgroundParallaxService,d.objectService=a.objectService,d._rwdService=a.rwdService,d._pageaAreaService=
null,d.$domObject=a.domObject,!1===d.hasBackgroundOverlayDom()&&d._renderBackgroundOverlayDom(),d.cachedDom=d.cacheDom(d.$domObject[0]),d.$content=void 0,d._type=d.$domObject[0].getAttribute("data-element-type"),d.objectStyle={},d.fixed=null,d.objectStyle=webwave.isDefAndNotNull(a.objectStyle)?u.a.deserialize(a.objectStyle):new u.a,d._positionOrigin=f.a.PAGE_TOP_LEFT,d._rwdProperties=d._deserializeRwdPropertiesMap(a.rwdProperties),d.rotationDegree=b.DEFAULT_ROTATION_DEGREE,d._hooverAnimatorData=a.hoverAnimator,
d._hoverAnimator=void 0,d._propertyChangeDispatcher=new w.a,d._domElementPositionUpdateEnabled=!1,d._visibilityRequiresAnimation=!1,d._animationsInitialized=!1,d}Object(e.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"cacheDom",value:function(a){return{content:a.children[0],backgroundOverlay:a.children[1]}}},{key:"isHoverAnimatorEnabled",value:function(){return-1!==F.indexOf(this.getType())&&webwave.isDef(this.getHoverAnimator())}},{key:"_updateHoverAnimationDisabled",value:function(){this.getHoverAnimator().setDisabled(!1===
this.isHoverEventsEnabled())}},{key:"setHoverAnimator",value:function(a){this._hoverAnimator=a}},{key:"getHoverAnimatorData",value:function(){return this._hooverAnimatorData}},{key:"enableHoverEvents",value:function(){this.hoverEventsEnabled=!0;this._updateHoverAnimationDisabled();this.getState().setLocked(!1)}},{key:"disableHoverEvents",value:function(){this.hoverEventsEnabled=!1;this._updateHoverAnimationDisabled();this.getState().setLocked(!0)}},{key:"init",value:function(){var a;this.isParallaxActive()&&
this.backgroundParallaxService.addParallaxListener(this);this.setRwdMode(null===(a=this._rwdService)||void 0===a?void 0:a.getCurrentRwdMode());this.isFullWidth()&&this.updateDomSizeAndPosition();this.initHoverEvents()}},{key:"createStatesStyles",value:function(a){return H.a.deserialize(a)}},{key:"afterDomSizeChange",value:function(){Object(g.a)(Object(d.a)(b.prototype),"afterDomSizeChange",this).call(this);this.canBeRotated()&&this.updateDomSizeForRotatedObject();this.triggerPropertyChange(x.a.DOM_SIZE,
this.getComputedSize())}},{key:"isFixed",value:function(){return!0===this.fixed}},{key:"setFixed",value:function(a){var b=this.fixed!==a;this.fixed=a;b&&this.setFixedAttribute(a)}},{key:"setFixedAttribute",value:function(a){this.$domObject[0].setAttribute("fixed",a)}},{key:"getContent",value:function(){return webwave.isNotDef(this.$content)&&(this.$content=$(this.cachedDom.content)),this.$content}},{key:"getContentEl",value:function(){return this.cachedDom.content}},{key:"getDomObject",value:function(){return webwave.isDef(this.$domObject)?
this.$domObject:$()}},{key:"getY",value:function(){return this.getComputedPosition().getY()}},{key:"getHeight",value:function(){return this.getComputedSize().getHeight()}},{key:"getWidth",value:function(){return this.getComputedSize().getWidth()}},{key:"getBackgroundParallax",value:function(){return this.objectStyle.background.parallax}},{key:"getShadowSizeCorrection",value:function(){var a={top:0,right:0,bottom:0,left:0};if(!0===this.objectStyle.shadow.enabled){var b=this.objectStyle.shadow,d=Math.ceil(b.blur);
a.left=0>b.x?-b.x+d:d;a.right=0<b.x?b.x+d:d;a.top=0>b.y?-b.y+d:d;a.bottom=0<b.y?b.y+d:d}return a}},{key:"isRotated",value:function(){var a=!1;return this.canBeRotated()&&this.isRotationEnabled()&&this.rotationDegree!==b.DEFAULT_ROTATION_DEGREE&&(a=!0),a}},{key:"getRotationTransformCss",value:function(){return this.isRotated()?"rotate(".concat(this.rotationDegree,"deg)"):""}},{key:"updateBackgroundParallaxPosition",value:function(a){webwave.isNotDef(a)&&(a=pageService.getWindowScroll());var b=this.objectStyle.background.parallax;
webwave.isNumberAndNotNaN(a)&&100!==b&&(a-=this.getY(),b=parseInt(a-b/100*a),b=0>b?" - ".concat(Math.abs(b),"px"):" + ".concat(b,"px"),this.setVerticalBackgroundPositionForParallax(b))}},{key:"setVerticalBackgroundPositionForParallax",value:function(a){a="calc(".concat(this.objectStyle.background.verticalPosition).concat(a,")");this.getContentEl().style.backgroundPosition="".concat(this.objectStyle.background.horizontalPosition," ").concat(a)}},{key:"isParallaxActive",value:function(){return this.objectStyle.isParallaxActive()}},
{key:"setVisibilityRequiresAnimation",value:function(a){this._visibilityRequiresAnimation=a}},{key:"setAnimationsInitliazed",value:function(a){var b=this._animationsInitialized!==a;this._animationsInitialized=a;b&&this.updateBaseVisibility()}},{key:"isVisiblilityRequiresAnimation",value:function(){return this._visibilityRequiresAnimation}},{key:"isAnimationInitialized",value:function(){return this._animationsInitialized}},{key:"_loadRwdProperties",value:function(a){this.setVisibilityRequiresAnimation(a.animationOnScrollEnabled||
a.animationEnabled);this.updateBaseVisibility();this.setAllPadding(a.style.padding);this.setRotationEnabled(a.rotationEnabled);this.setRotation(a.rotation);this.setSize(a.size,{noDomElementUpdate:!0});this.setFullWidth(a.fullWidth,{noDomUpdate:!0});this.setPositionOrigin(a.positionOrigin,{noDomUpdate:!0});this.setPosition(a.position,{noDomElementUpdate:!0});this.applyBindsRwd(a.binds);this.setFixed(!0===a.fixed);this.setSticky(!0===a.sticky);this.setStickyStartDistance(a.stickyStartDistance);this.setStickyEndDistance(a.stickyEndDistance);
this.setStickyEndDistanceEnabled(a.stickyEndDistanceEnabled);this.loadAdditionalData(a.additionalProperties);this.updateDomSizeAndPosition();this.updateMinSize();this.updateContentDomStyle()}},{key:"loadAdditionalData",value:function(a){}},{key:"setRwdMode",value:function(a){webwave.isDefAndNotNull(this._rwdService)&&(this._rwdService.changeElementsAttributes(this.getDomObject()[0],a),(a=this._rwdService.searchForClosestObjectByRwdMode(this._rwdProperties,a))&&this._loadRwdProperties(a))}},{key:"updateObjectForRwdChange",
value:function(a){this.setRwdMode(a)}},{key:"getRotation",value:function(){return this.rotationDegree}},{key:"getOpacity",value:function(){return this.objectStyle.opacity}},{key:"getComputedOpacity",value:function(){return this.objectStyle.getComputedOpacity()}},{key:"isFullWidth",value:function(){return"true"===this.getDomObject()[0].getAttribute("fullWidth")}},{key:"triggerAnimationChanged",value:function(){}},{key:"canChangeAnimationEnabled",value:function(){}},{key:"_deserializeRwdPropertiesMap",
value:function(a){var b={};try{if(webwave.isDefAndNotNull(a))for(var d in a)a.hasOwnProperty(d)&&(b[d]=new z.a(a[d]))}catch(c){console.log(c),b={}}return b}},{key:"setAllPadding",value:function(a){this.objectStyle.padding=a}},{key:"canBeRotated",value:function(){return!1}},{key:"isRotationEnabled",value:function(){return this.rotationEnabled}},{key:"setRotationEnabled",value:function(a){this.rotationEnabled=!0===a}},{key:"setRotation",value:function(a){this.rotationDegree=webwave.isNumberAndNotNaN(a)?
a:0}},{key:"setFullWidth",value:function(a,b){this.fullWidth=a;this.$domObject[0].setAttribute("fullWidth",!0===a);(webwave.isNotDef(b)||!0!==b.noDomUpdate)&&this.updateDomSizeAndPosition()}},{key:"setPositionOrigin",value:function(a,b){this._positionOrigin=a;this.$domObject[0].setAttribute("data-positionOrigin",a);(webwave.isNotDef(b)||!0!==b.noDomUpdate)&&this.updateDomPosition()}},{key:"getInnerWidth",value:function(){return this.computeSize({noRotation:!0}).getWidth()-this.getPaddingAndBorderSizes().horizontal}},
{key:"getInnerHeight",value:function(){return this.computeSize({noRotation:!0}).getHeight()-this.getPaddingAndBorderSizes().vertical}},{key:"calculateMinContentSize",value:function(){return new G.a({width:0,height:0})}},{key:"calculateMinSize",value:function(){var a=this.calculateMinContentSize(),b=this.getPaddingAndBorderSizes();return new G.a({width:a.getWidth()+b.horizontal,height:a.getHeight()+b.vertical})}},{key:"getPadding",value:function(a){var b,d=1<arguments.length&&void 0!==arguments[1]&&
arguments[1];if(!0===this.getObjectStyle().padding.enabled||d)switch(a){case "left":b=parseInt(this.objectStyle.padding.left);break;case "right":b=parseInt(this.objectStyle.padding.right);break;case "top":b=parseInt(this.objectStyle.padding.top);break;case "bottom":b=parseInt(this.objectStyle.padding.bottom)}return isNaN(b)?0:b}},{key:"getBorderWidth",value:function(a,b){var d;switch(a){case "left":d=!0===b?this.objectStyle.border.getComputedLeftWidth():this.objectStyle.border.left.width;break;case "top":d=
!0===b?this.objectStyle.border.getComputedTopWidth():this.objectStyle.border.top.width;break;case "right":d=!0===b?this.objectStyle.border.getComputedRightWidth():this.objectStyle.border.right.width;break;case "bottom":d=!0===b?this.objectStyle.border.getComputedBottomWidth():this.objectStyle.border.bottom.width}return d=parseInt(d),isNaN(d)?0:d}},{key:"getBorderEnabled",value:function(){return this.getObjectStyle().border.enabled}},{key:"getPaddingAndBorderSizes",value:function(){var a=(this.objectStyle.border.enabled?
this.objectStyle.border.top.width:0)+(this.objectStyle.padding.enabled?this.objectStyle.padding.top:0),b=(this.objectStyle.border.enabled?this.objectStyle.border.right.width:0)+(this.objectStyle.padding.enabled?this.objectStyle.padding.right:0),d=(this.objectStyle.border.enabled?this.objectStyle.border.bottom.width:0)+(this.objectStyle.padding.enabled?this.objectStyle.padding.bottom:0),c=(this.objectStyle.border.enabled?this.objectStyle.border.left.width:0)+(this.objectStyle.padding.enabled?this.objectStyle.padding.left:
0);return{top:a=webwave.isNumberAndNotNaN(a)?a:0,right:b=webwave.isNumberAndNotNaN(b)?b:0,bottom:d=webwave.isNumberAndNotNaN(d)?d:0,left:c=webwave.isNumberAndNotNaN(c)?c:0,horizontal:c+b,vertical:a+d}}},{key:"transformSizesToRotation",value:function(a,b,d){var c=Math.PI/180*d;d=Math.abs(Math.sin(c));c=Math.abs(Math.cos(c));return new G.a({width:Math.round(c*a+d*b),height:Math.round(d*a+c*b)})}},{key:"setPageAreaService",value:function(a){this._pageaAreaService=a}},{key:"getPageAreaService",value:function(){return this._pageaAreaService}},
{key:"isObjectSizeAndPositionShouldBeConvertedToPX",value:function(){return this.isUnitShouldBeConvertedToPX(this.getPosition().getXUnit())||this.isUnitShouldBeConvertedToPX(this.getPosition().getYUnit())||this.isUnitShouldBeConvertedToPX(this.getSize().getWidthUnit())||this.isUnitShouldBeConvertedToPX(this.getSize().getHeightUnit())}},{key:"isUnitShouldBeConvertedToPX",value:function(a){return a!==r.a.PX}},{key:"hasAnyAncestorObjectAnimationQueueItem",value:function(){var a=!1;return this.forEachAncestor(function(b){a=
a||b.hasObjectAnimationQueueItem()}),a}},{key:"computeBaseVisibility",value:function(){var a;return(!this.isVisiblilityRequiresAnimation()||!1!==this.isAnimationInitialized()&&(!1!==this.hasObjectAnimationQueueItem()||!1!==this.hasAnyAncestorObjectAnimationQueueItem()))&&this.getRwdModeVisibility(null===(a=this.getRwdService())||void 0===a?void 0:a.getCurrentRwdMode())}},{key:"getRwdModeVisibility",value:function(a){var b=!0;if(webwave.isDefAndNotNull(a)){var d=this.getLayoutVisibility();webwave.isDefAndNotNull(d)?
b=d:(a=this._rwdService.searchForClosestObjectByRwdMode(this._rwdProperties,a),webwave.isDef(a)&&(b=a.visibility))}return b}},{key:"getLayoutVisibility",value:function(){var a=null,b=this.objectService.getLayoutObjectVisibility(this.id);webwave.isDefAndNotNull(b)&&(b=b[this._rwdService.getCurrentRwdMode().getId()],webwave.isDef(b)&&(a=b));return a}},{key:"onVisibilityChange",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(g.a)(Object(d.a)(b.prototype),"onVisibilityChange",
this).call(this,a);this.isHoverAnimatorEnabled()&&(this.isVisible()?this.getHoverAnimator().setDisabled(!1):this.getHoverAnimator().setDisabled(!0))}},{key:"getContentSize",value:function(){return new G.a({width:this.getContentEl().offsetWidth,height:this.getContentEl().offsetHeight})}},{key:"setMinSize",value:function(a,b){b=!1===this._minSize.equals(a);this._minSize=a.clone();b&&this.updateDomSizeAndPosition()}},{key:"updateMinSize",value:function(){this.setMinSize(this.calculateMinSize())}},{key:"updateDomSizeForRotatedObject",
value:function(){if(this.getRotation()!==b.DEFAULT_ROTATION_DEGREE){var a=this.computeSize({noRotation:!0}),d=this.getContentEl(),c=a.getWidth();d.style.width="".concat(a.getWidth(),"px");a=a.getHeight();d.style.height="".concat(a,"px");c=this.calcRotatedContentPosition(c,a,this.getRotation());d.style.left="".concat(c.x,"px");d.style.top="".concat(c.y,"px")}else this._resetSizeAndPositionForContent()}},{key:"calcRotatedContentPosition",value:function(a,b,d){var c=Math.PI/180*d;d=Math.cos(c);var c=
Math.sin(c),f=0,e=0;return 0>d&&(f+=-d*a,e+=-d*b),0<c?f+=c*b:0>c&&(e+=-c*a),new v.a({x:f,y:e})}},{key:"useAdvancedTextEditor",value:function(){return!1}},{key:"addImgLazyLoad",value:function(){this._addBackgroundImageLazyLoad();this.useAdvancedTextEditor()&&this._addAdvancedTextImagesLazyLoad()}},{key:"addObjectInViewPortListener",value:function(){}},{key:"_addBackgroundImageLazyLoad",value:function(){if(webwave.isDef(this.getContentEl())&&this.getContentEl().hasAttribute(A.a.LAZY_LOAD_ATTR_NAME)){var a=
new A.a(this.getContentEl());this.createDomWIntersectionObserved(a)}}},{key:"_addAdvancedTextImagesLazyLoad",value:function(){var a=this;this.getContentEl().querySelectorAll("img[".concat(y.a.LAZY_LOAD_ATTR_NAME,"]")).forEach(function(b){b=new y.a(b);a.createDomWIntersectionObserved(b)})}},{key:"createDomWIntersectionObserved",value:function(a){webwave.isDef(a)&&(a.setBrowserWebPSupportUtils(this.browserWebPSupportUtils),this.addObjectToIntersectionObserver(a))}},{key:"addObjectToIntersectionObserver",
value:function(a){this.wIntersectionObserver.addObject(a)}},{key:"setBrowserWebPSupportUtils",value:function(a){this.browserWebPSupportUtils=a}},{key:"setWIntersectionObserver",value:function(a){this.wIntersectionObserver=a}},{key:"setRwdService",value:function(a){this._rwdService=a}},{key:"getRwdService",value:function(){return this._rwdService}},{key:"canChangeStateStyle",value:function(){return-1!==F.indexOf(this.getType())}},{key:"updateBackgroundOverlayDomStyle",value:function(){var a=this.getBackgroundOverlayEl();
webwave.isDefAndNotNull(a)&&(a.style.cssText=this.objectStyle.backgroundOverlay.toCssString(),a.style.borderRadius="".concat(this.objectStyle.border.getComputedRadius(),"px"))}},{key:"applyPartialObjectStyle",value:function(a){this.objectStyle.applyPartialObjectStyle(a);(this.isInitialized()||this.isBeingInitialized())&&(this.updateContentDomStyle(),this.updateBackgroundOverlayDomStyle(),this.isParallaxActive()&&this.updateBackgroundParallaxPosition())}},{key:"applyStateStyle",value:function(a){this.applyPartialObjectStyle(this.getStateStyle(a))}},
{key:"updateStateStyle",value:function(){this.applyStateStyle(this.getState().getName())}},{key:"getObjectStyle",value:function(){return this.objectStyle}},{key:"updateContentDomStyle",value:function(){this.getContent().css(this.getObjectStyle().toCss2Map())}},{key:"getType",value:function(){return this._type}},{key:"getHoverAnimator",value:function(){return this._hoverAnimator}},{key:"setStyleVersion",value:function(a){this.applyStateStyle(a)}},{key:"onOwnMouseOverChange",value:function(){Object(g.a)(Object(d.a)(b.prototype),
"onOwnMouseOverChange",this).call(this);this.isHoverAnimatorEnabled()&&this.getHoverAnimator().getAnimationData().isEnabled()&&(this.getOwnMouseOver()?this.getHoverAnimator().onMouseEnter():this.getHoverAnimator().onMouseLeave())}},{key:"getBackgroundOverlayDom",value:function(){return $(this.cachedDom.backgroundOverlay)}},{key:"getBackgroundOverlayEl",value:function(){return this.cachedDom.backgroundOverlay}},{key:"hasBackgroundOverlayDom",value:function(){return 2<=this.$domObject[0].children.length}},
{key:"_renderBackgroundOverlayDom",value:function(){var a=document.createElement("DIV");a.classList.add("backgroundOverlay");this.$domObject[0].appendChild(a)}},{key:"applyBindsRwd",value:function(a){this.objectService.removeAllRelationsByWObject(this);this.objectService.detachBinds(this);this.objectService.restoreBindsFromJSON(this,a);this.objectService.loadWObjectRelations(this)}},{key:"isInGroup",value:function(){return this.getParentWNode()instanceof com.webwave.publication.object.WGroup&&this.getParentWNode().isUserGroup()}},
{key:"getPageCanvas",value:function(){return this.pageCanvas}},{key:"isToAnimate",value:function(){return webwave.isDef(this.getAnimation())&&!1===this.isScrollAnimationEnabled()}},{key:"addPropertyChangeListener",value:function(a,b){this._propertyChangeDispatcher.addPropertyChangeListener(a,b)}},{key:"removePropertyChangeListener",value:function(a,b){this._propertyChangeDispatcher.removePropertyChangeListener(a,b)}},{key:"notifyPropertyChangeListeners",value:function(a){this._propertyChangeDispatcher.dispatch(a)}},
{key:"triggerPropertyChange",value:function(a,b,d){this.notifyPropertyChangeListeners(new B.a({propertyName:a,previousValue:d,newValue:b}))}},{key:"afterDomPositionChange",value:function(){Object(g.a)(Object(d.a)(b.prototype),"afterDomPositionChange",this).call(this);this.triggerPropertyChange(x.a.DOM_POSITION,this.getComputedPosition())}},{key:"_resetSizeAndPositionForContent",value:function(){var a=this.getContentEl();a.style.width="";a.style.height="";a.style.left="";a.style.top=""}},{key:"canBeTargetScroll",
value:function(){return!1===this.isSticked()&&!1===this.isFixed()}},{key:"getInnerElements",value:function(){return[]}},{key:"getRwdProperties",value:function(){return this._rwdProperties}},{key:"getAnimatableElements",value:function(){return[this.getContent()[0],this.getBackgroundOverlayEl()]}},{key:"cloneComputedStyleToInlineInContent",value:function(){for(var a=this.getContentEl(),d=0;d<b.PROPERTIES_TO_COPY.length;d++)a.style[b.PROPERTIES_TO_COPY[d]]="";for(var d=window.getComputedStyle(a),c=0;c<
b.PROPERTIES_TO_COPY.length;c++)a.style[b.PROPERTIES_TO_COPY[c]]=d[b.PROPERTIES_TO_COPY[c]]}},{key:"getContentComputedProperty",value:function(a){return window.getComputedStyle(this.getContentEl()).getPropertyValue(a)}}]),b}(n.a);C.DEFAULT_ROTATION_DEGREE=0;C.DEFAULT_PARALLAX_VALUE=100;C.PROPERTIES_TO_COPY=["filter","transform","transformOrigin"];com.webwave.publication.object.WObject=C},1615:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1);n=b(1598);b=b(1186);var k=function(){function b(){var c=
0<arguments.length&&void 0!==arguments[0]?arguments[0]:b.DEFAULT_POSITION;Object(l.a)(this,b);this.positionOrigin=c instanceof b?c.serialize():c}return Object(p.a)(b,[{key:"setPositionOrigin",value:function(b){this.positionOrigin=b}},{key:"getPositionOrigin",value:function(){return this.positionOrigin}},{key:"getHorizontalPosition",value:function(){return this.positionOrigin[0]}},{key:"getVerticalPosition",value:function(){return this.positionOrigin[1]}},{key:"serialize",value:function(){return this.positionOrigin}}]),
b}();k.DEFAULT_POSITION=[b.a.LEFT,n.a.TOP]},163:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.MetadataReader=void 0;var l=b(20);n=function(){function b(){}return b.prototype.getConstructorMetadata=function(b){return{compilerGeneratedMetadata:Reflect.getMetadata(l.PARAM_TYPES,b),userGeneratedMetadata:Reflect.getMetadata(l.TAGGED,b)||{}}},b.prototype.getPropertiesMetadata=function(b){return Reflect.getMetadata(l.TAGGED_PROP,b)||[]},b}();c.MetadataReader=n},1636:function(n,c,b){function l(b){var d=
function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var c;c=Object(a.a)(b);if(d){var f=Object(a.a)(this).constructor;c=Reflect.construct(c,arguments,f)}else c=c.apply(this,arguments);return Object(e.a)(this,c)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2);n=b(1517);
b(1267);var d=function(a){function b(a){return Object(p.a)(this,b),d.call(this,a)}Object(g.a)(b,a);var d=l(b);return Object(k.a)(b,[{key:"enteredViewportHandler",value:function(){var a=$(this.getDomObject()).attr(b.LAZY_LOAD_ATTR_NAME),a=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(a,this.getDomObject());this.getDomObject().style.backgroundImage='url("'.concat(a,'")')}}]),b}(n.a);d.LAZY_LOAD_ATTR_NAME="data-lazy-background-image";webwave.provide("com.webwave.publication.intersectionObserver.object.WIntersectionObservedBackgroundImgObject");
com.webwave.publication.intersectionObserver.object.WIntersectionObservedBackgroundImgObject=d},164:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.isStackOverflowExeption=void 0;var l=b(26);c.isStackOverflowExeption=function(b){return b instanceof RangeError||b.message===l.STACK_OVERFLOW}},1643:function(n,c,b){function l(a){var b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(y.a)(a);if(b){var c=Object(y.a)(this).constructor;d=Reflect.construct(d,arguments,c)}else d=d.apply(this,arguments);return Object(A.a)(this,d)}}b.d(c,"a",function(){return L});var p,k,g,e,a,d,r,u,v=b(33),f=b(8),w=b(0),B=b(1),z=b(11),G=b(3),A=b(4),y=b(2);n=b(7);var x=(b(9),b(38));c=b(31);var H=b.n(c);c=b(25);var F=b(17),C=b(14);b.n(C);var L=(p=Object(C.injectable)(),k=Object(C.inject)(F.a.EnvironmentUtils),g=Object(C.inject)(F.a.FrontendTranslation),
e=Object(C.inject)(F.a.LocationService),p((a=function(a){function b(){var a;Object(w.a)(this,b);for(var e=arguments.length,g=Array(e),k=0;k<e;k++)g[k]=arguments[k];return a=c.call.apply(c,[this].concat(g)),Object(f.a)(a,"environmentUtils",d,Object(z.a)(a)),Object(f.a)(a,"frontendTranslation",r,Object(z.a)(a)),Object(f.a)(a,"locationService",u,Object(z.a)(a)),a.parseUriOptions={strictMode:!1,key:"source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),
q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},a}Object(G.a)(b,a);var c=l(b);return Object(B.a)(b,[{key:"getWebsiteId",value:function(){return $("#websiteId").val()}},
{key:"getLanguageCode",value:function(){return $("#ww_language_code").val()}},{key:"getParentBaseElementId",value:function(a){return this.getParentBaseElement(a).attr("id")}},{key:"getParentBaseElement",value:function(a){return a.parents(".ww_element")}},{key:"changeLink",value:function(a,b){var d=b;!1===this.isLinkAbsolute(b)&&(!0===this.startsWith(b,"/")?(a=utilService.parseUri(a),d=a.protocol+"://"+a.authority+b):d=a+"/"+b);return d}},{key:"reloadPage",value:function(){window.location.reload()}},
{key:"isLinkAbsolute",value:function(a){var b=!1;return void 0===a||0!==a.indexOf("http://")&&0!==a.indexOf("https://")||(b=!0),b}},{key:"getDynamicallyJSFile",value:function(a,b){jQuery.ajax({type:"GET",url:a,success:b,dataType:"script",cache:!0})}},{key:"getDynamicallyCSSFile",value:function(a){$("head").append('<link rel="stylesheet" href="'+a+'" type="text/css" />')}},{key:"insertCss",value:function(a){var b=document.createElement("style");b.type="text/css";b.styleSheet?b.styleSheet.cssText=a:
b.innerHTML=a;document.getElementsByTagName("head")[0].appendChild(b)}},{key:"startsWith",value:function(a,b){return a.slice(0,b.length)==b}},{key:"parseUri",value:function(a){var b=this.parseUriOptions;a=b.parser[b.strictMode?"strict":"loose"].exec(a);for(var d={},c=14;c--;)d[b.key[c]]=a[c]||"";return d[b.q.name]={},d[b.key[12]].replace(b.q.parser,function(a,c,h){c&&(d[b.q.name][c]=h)}),d}},{key:"extractGETParameter",value:function(a,b){return this.locationService.getParameterByName(a,b)}},{key:"makeAjaxCall",
value:function(a,b,d){return $.ajax({url:this.environmentUtils.getPathForAjax()+a.url,type:"post",data:a.dataParams}).fail(function(a){"function"==typeof d&&d(a)}).done(function(a){1==a.failure?"function"==typeof d&&d(a):"function"==typeof b&&b(a)})}},{key:"loadTranslations",value:function(a){this.frontendTranslation.loadTranslations(a)}},{key:"_initDefaultLanguage",value:function(a){window.i18n.init({fallbackLng:[a]})}},{key:"isDef",value:function(a){return"undefined"!==Object(x.a)(a)}},{key:"isNotDef",
value:function(a){return"undefined"===Object(x.a)(a)}},{key:"removeGetParamsFromUrl",value:function(){var a=window.location.toString();0<a.indexOf("?")&&(a=a.substring(0,a.indexOf("?")),window.history.replaceState({},document.title,a))}},{key:"getViewerCountryCode",value:function(){var a=Object(v.a)(H.a.mark(function O(){var a=this;return H.a.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",new Promise(function(b){var d;d=a.locationService.addForceCountryParamIfSetInPath("/publishedWebsite/getViewerCountryCode");
a.makeAjaxCall({url:d},function(a){b(a.data.countryCode)})}));case 1:case "end":return b.stop()}},O)}));return function(){return a.apply(this,arguments)}}()}],[{key:"generateRandomID",value:function(){return Math.floor(4294967296*(1+Math.random())).toString(16).substring(1)}}]),b}(c.a),d=Object(n.a)(a.prototype,"environmentUtils",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r=Object(n.a)(a.prototype,"frontendTranslation",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),
u=Object(n.a)(a.prototype,"locationService",[e],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a))||a)},165:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.inject=c.LazyServiceIdentifer=void 0;var l=b(26),p=b(20),k=b(29),g=b(46);n=function(){function b(a){this._cb=a}return b.prototype.unwrap=function(){return this._cb()},b}();c.LazyServiceIdentifer=n;c.inject=function(b){return function(a,d,c){if(void 0===b)throw Error(l.UNDEFINED_INJECT_ANNOTATION(a.name));var u=
new k.Metadata(p.INJECT_TAG,b);"number"==typeof c?g.tagParameter(a,d,c,u):g.tagProperty(a,d,u)}}},1657:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,[{key:"enteredViewportHandler",value:function(){throw Error("Not supported for abstract class");}},{key:"getDomObject",value:function(){throw Error("Not supported for abstract class");}},{key:"isSingleHandler",value:function(){return!0}}]),b}()},166:function(n,c,b){Object.defineProperty(c,
"__esModule",{value:!0});c.Target=void 0;var l=b(20),p=b(51),k=b(29),g=b(791);n=function(){function b(a,d,c,e){this.id=p.id();this.type=a;this.serviceIdentifier=c;this.name=new g.QueryableString(d||"");this.metadata=[];a=null;"string"==typeof e?a=new k.Metadata(l.NAMED_TAG,e):e instanceof k.Metadata&&(a=e);null!==a&&this.metadata.push(a)}return b.prototype.hasTag=function(a){for(var b=0,c=this.metadata;b<c.length;b++)if(c[b].key===a)return!0;return!1},b.prototype.isArray=function(){return this.hasTag(l.MULTI_INJECT_TAG)},
b.prototype.matchesArray=function(a){return this.matchesTag(l.MULTI_INJECT_TAG)(a)},b.prototype.isNamed=function(){return this.hasTag(l.NAMED_TAG)},b.prototype.isTagged=function(){return this.metadata.some(function(a){return l.NON_CUSTOM_TAG_KEYS.every(function(b){return a.key!==b})})},b.prototype.isOptional=function(){return this.matchesTag(l.OPTIONAL_TAG)(!0)},b.prototype.getNamedTag=function(){return this.isNamed()?this.metadata.filter(function(a){return a.key===l.NAMED_TAG})[0]:null},b.prototype.getCustomTags=
function(){return this.isTagged()?this.metadata.filter(function(a){return l.NON_CUSTOM_TAG_KEYS.every(function(b){return a.key!==b})}):null},b.prototype.matchesNamedTag=function(a){return this.matchesTag(l.NAMED_TAG)(a)},b.prototype.matchesTag=function(a){var b=this;return function(c){for(var e=0,g=b.metadata;e<g.length;e++){var f=g[e];if(f.key===a&&f.value===c)return!0}return!1}},b}();c.Target=n},1662:function(n,c,b){c.a={SWING:"swing",LINEAR:"linear",EASE_IN:"ease-in",EASE_OUT:"ease-out",EASE_IN_OUT:"ease-in-out",
BOUNCE_IN:"bounce-in",BOUNCE_OUT:"bounce-out",BOUNCE_IN_OUT:"bounce-in-out"}},167:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.BindingWhenOnSyntax=void 0;var l=b(114),p=b(115);n=function(){function b(c){this._binding=c;this._bindingWhenSyntax=new p.BindingWhenSyntax(this._binding);this._bindingOnSyntax=new l.BindingOnSyntax(this._binding)}return b.prototype.when=function(b){return this._bindingWhenSyntax.when(b)},b.prototype.whenTargetNamed=function(b){return this._bindingWhenSyntax.whenTargetNamed(b)},
b.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},b.prototype.whenTargetTagged=function(b,c){return this._bindingWhenSyntax.whenTargetTagged(b,c)},b.prototype.whenInjectedInto=function(b){return this._bindingWhenSyntax.whenInjectedInto(b)},b.prototype.whenParentNamed=function(b){return this._bindingWhenSyntax.whenParentNamed(b)},b.prototype.whenParentTagged=function(b,c){return this._bindingWhenSyntax.whenParentTagged(b,c)},b.prototype.whenAnyAncestorIs=
function(b){return this._bindingWhenSyntax.whenAnyAncestorIs(b)},b.prototype.whenNoAncestorIs=function(b){return this._bindingWhenSyntax.whenNoAncestorIs(b)},b.prototype.whenAnyAncestorNamed=function(b){return this._bindingWhenSyntax.whenAnyAncestorNamed(b)},b.prototype.whenAnyAncestorTagged=function(b,c){return this._bindingWhenSyntax.whenAnyAncestorTagged(b,c)},b.prototype.whenNoAncestorNamed=function(b){return this._bindingWhenSyntax.whenNoAncestorNamed(b)},b.prototype.whenNoAncestorTagged=function(b,
c){return this._bindingWhenSyntax.whenNoAncestorTagged(b,c)},b.prototype.whenAnyAncestorMatches=function(b){return this._bindingWhenSyntax.whenAnyAncestorMatches(b)},b.prototype.whenNoAncestorMatches=function(b){return this._bindingWhenSyntax.whenNoAncestorMatches(b)},b.prototype.onActivation=function(b){return this._bindingOnSyntax.onActivation(b)},b}();c.BindingWhenOnSyntax=n},168:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.typeConstraint=c.namedConstraint=c.taggedConstraint=
c.traverseAncerstors=void 0;n=b(20);var l=b(29),p=function(b,c){b=b.parentRequest;return null!==b&&(!!c(b)||p(b,c))};c.traverseAncerstors=p;b=function(b){return function(c){var e=function(a){return null!==a&&null!==a.target&&a.target.matchesTag(b)(c)};return e.metaData=new l.Metadata(b,c),e}};c.taggedConstraint=b;b=b(n.NAMED_TAG);c.namedConstraint=b;c.typeConstraint=function(b){return function(c){var e;return null!==c?(e=c.bindings[0],"string"==typeof b)?e.serviceIdentifier===b:b===c.bindings[0].implementationType:
!1}}},1686:function(n,c,b){b.d(c,"a",function(){return e});var l=b(0),p=b(1),k=b(1711),g=b(175),e=function(){function a(b){Object(l.a)(this,a);void 0===b&&(b={});this.top=b.top instanceof k.a?b.top:new k.a;this.right=b.right instanceof k.a?b.right:new k.a;this.bottom=b.bottom instanceof k.a?b.bottom:new k.a;this.left=b.left instanceof k.a?b.left:new k.a;this.radius="number"==typeof b.radius?b.radius:0;webwave.isDef(b.enabled)?this.enabled=b.enabled:this.enabled=this._computeEnabledValue();this.roundingEnabled=
webwave.isBoolean(b.roundingEnabled)?b.roundingEnabled:0<this.radius}return Object(p.a)(a,[{key:"serialize",value:function(){return{top:this.top.serialize(),right:this.right.serialize(),bottom:this.bottom.serialize(),left:this.left.serialize(),radius:this.radius,enabled:this.enabled,roundingEnabled:this.roundingEnabled}}},{key:"_computeEnabledValue",value:function(){var a=this,b=!1;return Object.values(g.a).forEach(function(c){0<a[c].width&&(b=!0)}),b}},{key:"toCss2Map",value:function(){return{borderTopWidth:"".concat(this.getComputedTopWidth(),
"px"),borderTopStyle:this.top.style,borderTopColor:this.top.color,borderRightWidth:"".concat(this.getComputedRightWidth(),"px"),borderRightStyle:this.right.style,borderRightColor:this.right.color,borderBottomWidth:"".concat(this.getComputedBottomWidth(),"px"),borderBottomStyle:this.bottom.style,borderBottomColor:this.bottom.color,borderLeftWidth:"".concat(this.getComputedLeftWidth(),"px"),borderLeftStyle:this.left.style,borderLeftColor:this.left.color,borderRadius:"".concat(this.roundingEnabled?this.radius:
0,"px")}}},{key:"getComputedRadius",value:function(){return this.roundingEnabled?this.radius:0}},{key:"applyPartialBorderMap",value:function(a){webwave.isDef(a)&&(webwave.isDef(a.top)&&this.top.applyPartialSingleBorderMap(a.top),webwave.isDef(a.right)&&this.right.applyPartialSingleBorderMap(a.right),webwave.isDef(a.bottom)&&this.bottom.applyPartialSingleBorderMap(a.bottom),webwave.isDef(a.left)&&this.left.applyPartialSingleBorderMap(a.left),webwave.isNumberAndNotNaN(a.radius)&&(this.radius=a.radius),
webwave.isDef(a.enabled)&&(this.enabled=a.enabled),webwave.isDef(a.roundingEnabled)&&(this.roundingEnabled=a.roundingEnabled))}},{key:"getComputedTopWidth",value:function(){return this.enabled?this.top.width:0}},{key:"getComputedRightWidth",value:function(){return this.enabled?this.right.width:0}},{key:"getComputedBottomWidth",value:function(){return this.enabled?this.bottom.width:0}},{key:"getComputedLeftWidth",value:function(){return this.enabled?this.left.width:0}},{key:"changeWebsiteColorConnection",
value:function(a,b){var c,e,f,g,k=!0===(null===(c=this.left)||void 0===c?void 0:c.changeWebsiteColorConnection(a,b));c=!0===(null===(e=this.right)||void 0===e?void 0:e.changeWebsiteColorConnection(a,b));e=!0===(null===(f=this.top)||void 0===f?void 0:f.changeWebsiteColorConnection(a,b));a=!0===(null===(g=this.bottom)||void 0===g?void 0:g.changeWebsiteColorConnection(a,b));return k||c||e||a}},{key:"clone",value:function(){return a.deserialize(this.serialize())}}],[{key:"deserialize",value:function(){var b=
0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new a({top:k.a.deserialize(b.top),right:k.a.deserialize(b.right),bottom:k.a.deserialize(b.bottom),left:k.a.deserialize(b.left),radius:b.radius,enabled:b.enabled,roundingEnabled:b.roundingEnabled})}},{key:"isNonZeroBorderWidth",value:function(a){return webwave.isDefAndNotNull(a)&&"0px"!==a}}]),a}()},1697:function(n,c,b){c.a={DOM_POSITION:"domPosition",DOM_SIZE:"domSize"}},17:function(n,c,b){b.d(c,"a",function(){return l});$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();var l={ActivationAccountService:Symbol.for("ActivationAccountService"),AddNewAIWebsiteService:Symbol.for("AddNewAIWebsiteService"),AddNewWebsiteService:Symbol.for("AddNewWebsiteService"),AIWebsiteDeductionService:Symbol.for("AIWebsiteDeductionService"),AIWebsiteTemplatePreviewService:Symbol.for("AIWebsiteTemplatePreviewService"),AmplitudeEventsService:Symbol.for("AmplitudeEventsService"),AmplitudeService:Symbol.for("AmplitudeService"),AnalyticsService:Symbol.for("AnalyticsService"),
BackupService:Symbol.for("BackupService"),BeaconUtils:Symbol.for("BeaconUtils"),BingAdsService:Symbol.for("BingAdsService"),BrandColorService:Symbol.for("BrandColorService"),BrowserDetectService:Symbol.for("BrowserDetectService"),BrowserFingerPrintService:Symbol.for("BrowserFingerPrintService"),CardOperationErrorMessageService:Symbol.for("CardOperationErrorMessageService"),ColorPickerService:Symbol.for("ColorPickerService"),Container:Symbol.for("container"),CookieAcceptedSettingsService:Symbol.for("CookieAcceptedSettingsService"),
CookieService:Symbol.for("CookieService"),CreateNewWebsiteService:Symbol.for("CreateNewWebsiteService"),DateUtils:Symbol.for("DateUtils"),DiscountCodeUtils:Symbol.for("DiscountCodeUtils"),DomainsListPopupService:Symbol.for("DomainsListPopupService"),EnvironmentUtils:Symbol.for("EnvironmentUtils"),FbPixelService:Symbol.for("FbPixelService"),FrontendTranslation:Symbol.for("FrontendTranslation"),GTAGManagerService:Symbol.for("GTAGManagerService"),HostingManagerService:Symbol.for("HostingManagerService"),
IconsService:Symbol.for("IconsService"),KeyboardService:Symbol.for("KeyboardService"),LanguageUtils:Symbol.for("LanguageUtils"),LegalApprovalDetailsPopupService:Symbol.for("LegalApprovalDetailsPopupService"),LoadingBoxService:Symbol.for("LoadingBoxService"),LocalStorageService:Symbol.for("LocalStorageService"),LocationService:Symbol.for("LocationService"),MailPaymentPopup:Symbol.for("MailPaymentPopup"),MenuItemFactory:Symbol.for("MenuItemFactory"),MenuItemService:Symbol.for("MenuItemService"),OpenAIService:Symbol.for("OpenAIService"),
PaymentAwaitingSubscriptionService:Symbol.for("PaymentAwaitingSubscriptionService"),Panda2TrackingService:Symbol.for("Panda2TrackingService"),PaymentOrderDataFactory:Symbol.for("PaymentOrderDataFactory"),PaymentProviderCardOperationStatisticService:Symbol.for("PaymentProviderCardOperationStatisticService"),PhoneNumberUtils:Symbol.for("PhoneNumberUtils"),PopupService:Symbol.for("PopupService"),PositionService:Symbol.for("PositionService"),PremiumLinkService:Symbol.for("PremiumLinkService"),PromotionBannerService:Symbol.for("PromotionBannerService"),
PublicatedScrollService:Symbol.for("PublicatedScrollService"),RequestRestrictionService:Symbol.for("RequestRestrictionService"),SalesmanagoEventService:Symbol.for("SalesmanagoEventService"),ServiceModeLanguageService:Symbol.for("ServiceModeLanguageService"),SideMenuService:Symbol.for("SideMenuService"),Store:Symbol.for("Store"),StoreStorage:Symbol.for("StoreStorage"),StoreCartsProductCounterService:Symbol.for("StoreCartsProductCounterService"),StripeProvider:Symbol.for("StripeProvider"),TestAbService:Symbol.for("TestAbService"),
TranslationUtils:Symbol.for("TranslationUtils"),UserChatService:Symbol.for("UserChatService"),UserService:Symbol.for("UserService"),Utils:Symbol.for("Utils"),WebmasterAccountTypeService:Symbol.for("WebmasterAccountTypeService"),WebmasterDomainInfoPopupService:Symbol.for("WebmasterDomainInfoPopupService"),WebmasterObjectService:Symbol.for("WebmasterObjectService"),WebmasterPanelCoreService:Symbol.for("WebmasterPanelCoreService"),WebsiteAccessPopupService:Symbol.for("WebsiteAccessPopupService"),WebsiteEmailService:Symbol.for("WebsiteEmailService"),
WebsiteItemListService:Symbol.for("WebsiteItemListService"),WebsitePlanOfferBoxService:Symbol.for("WebsitePlanOfferBoxService"),WebsitePlanService:Symbol.for("WebsitePlanService"),WebsiteStatisticsManagerService:Symbol.for("WebsiteStatisticsManagerService"),WebsiteSubscriptionManagementService:Symbol.for("WebsiteSubscriptionManagementService"),WebwaveApp:Symbol.for("WebwaveApp"),WindowService:Symbol.for("WindowService")}},1709:function(n,c,b){b.d(c,"a",function(){return Q});var l=b(0),p=b(1),k=b(92),
g=b(1547),e=b(110),a=b(1762),d=b(100),r=b(113),u=b(78),v=b(42),f=b(1615),w=b(1109),B=b(150),z=b(32),G=b(338),A=b(1763),y=b(2103),x=b(2105),H=b(1764),F=b(1163),C=b(1177),L=b(1921),M=b(1599),Q=function(){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,b);this._customVisibilityParent=null;this.elementRotationService=a.elementRotationService;this.id=a.id;this.$domObject=a.domObject;this._wNodeSettings=new x.a(a.wNodeSettings);this._position=new F.a(a.position);
this._offset=new v.a;this._size=new C.a(a.size);Object.defineProperty(this,"pageCanvas",{value:a.pageCanvas,configurable:!1,writable:!0});this.objectService=null;this._renderedRect=new B.a({position:this.recalcToRenderedPosition(this._position),size:this.recalcToRenderedSize(this._size)});this.computedSize=new z.a;this.computedPosition=new v.a;this.fullWidth=!0===a.fullWidth;this.computedFullWidth=!1;this._computedFixed=this.fixed=!0===a.fixed;this._fixParent=null;this._positionOrigin=webwave.isValidEnumValue(a.positionOrigin,
w.a)?a.positionOrigin:w.a.PAGE_TOP_LEFT;this.visible=!1!==a.visible;this.visibilities=new H.a;this.visibilities.setBaseVisibility(this.visible);this.visibilities.addPropertyChangeListener("computedVisibility",this);this.visibilities.addPropertyChangeListener("computedVisibilityForChildren",this);this.visibilities.addPropertyChangeListener("computedVisibilityForInFlow",this);this._minSize=new z.a({width:0,height:0});this._boundHeightModifier=this._pushedDown=0;this._parentWNode=this._relationNode=
null;this._bulkMode=!0;this.children=[];this._childrenRect=new B.a;this._childrenOuterRect=new B.a;this._visibilityNeedsRecalc=this._domNeedsRecalc=this._attached=this._inFlow=!1;this._wObjectEventListeners=[];this.binds={};this._halfBinds={};this._domSizeMode=webwave.isValidEnumValue(a.domSizeMode,g.a)?a.domSizeMode:g.a.OWN_SIZE;this._ownMouseOver=this._mouseOver=this._autoHeight=this._noUpdateOnChildPositionChange=this._noPushing=!1;this._state=new L.a;this._statesStyles=this.createStatesStyles(a.statesStyles);
this.sticky=!0===a.sticky;this._stickyEnded=this._sticked=!1;this._stickyStartDistance=new e.a;this._stickyEndDistance=new e.a;this._stickyEndDistanceEnabled=!1;this._settedRwdModeId=this.stuffedPosition=this.stuffedSize=void 0;this._domElementPositionUpdateEnabled=!0;this._alwaysPushing=!1;this._mostBottomFromOtherPushes=-1/0;this._uiEventsLock=new A.a;this._computedSticky=this._uncopyable=!1;this._stickyParent=null}return Object(p.a)(b,[{key:"createStatesStyles",value:function(a){return M.a.deserialize(a)}},
{key:"getId",value:function(){return this.id}},{key:"_groupPushCondition",value:function(){return!0}},{key:"getComputedPosition",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},b=!0===a.convertOrigin?this.convertPointToOrigin(this._renderedRect.getPosition(),this.getPositionOrigin()):this._renderedRect.getPosition().clone();return!0===a.includeScrollIfFixed&&this.isFixed()&&(b.y+=this.pageCanvas.getCurrentPageAreaScrollY()),b}},{key:"getComputedSize",value:function(){return this._renderedRect.getSize()}},
{key:"getOffset",value:function(){return this._offset}},{key:"computeOffset",value:function(){var a=new v.a;a.setY(a.getY()+this.getPushedDownAttr());var b=this.getParentWNode();return webwave.isDefAndNotNull(b)&&!1===this.isFixed()&&a.add(b.getOffset()),a}},{key:"isNoPushing",value:function(){return this._noPushing}},{key:"setNoPushing",value:function(a){this._noPushing=a}},{key:"onParentOffsetChange",value:function(){this.setNoPushing(!0);this.updateOffset();this.setNoPushing(!1)}},{key:"isNoUpdateOnChildPositionChange",
value:function(){return this._noUpdateOnChildPositionChange}},{key:"setNoUpdateOnChildPositionChange",value:function(a){this._noUpdateOnChildPositionChange=a}},{key:"onOffsetChange",value:function(){var a=this.getChildren();this.setNoUpdateOnChildPositionChange(!0);for(var b=0;b<a.length;b++)a[b].onParentOffsetChange();this.setNoUpdateOnChildPositionChange(!1);this.updateDomPosition()}},{key:"setOffset",value:function(a){var b=!1===this._offset.equals(a);this._offset=a;b&&this.onOffsetChange()}},
{key:"updateOffset",value:function(){this.setOffset(this.computeOffset())}},{key:"onPushedDownAttrChange",value:function(){this.updateOffset()}},{key:"setPushedDownAttr",value:function(a){var b=a!==this._pushedDown;this._pushedDown=a;b&&this.onPushedDownAttrChange()}},{key:"countPushDownAttr",value:function(a,b){if(!1===isFinite(a))return 0;var d=null!==this.getParentWNode()?this.getParentWNode().getOffset().getY():0;a-=this.getComputedPosition().getY()-d-this.getPushedDownAttr();return!0===b?Math.max(a,
0):a}},{key:"updateBoundHeightModifiers",value:function(){this.isVisibleForInFlow()&&null!==this.getRelationNode()&&this.getRelationNode().updateBoundHeightModifiers()}},{key:"setBoundHeightModifier",value:function(a){var b=this._boundHeightModifier!==a;this._boundHeightModifier=a;b&&this.updateDomSize()}},{key:"getBoundHeightModifier",value:function(){return this._boundHeightModifier}},{key:"setBinds",value:function(a){this.binds=a}},{key:"getBinds",value:function(){return this.binds}},{key:"getTopBinds",
value:function(){var a={},b=this.getBinds(),d;for(d in b)if(b.hasOwnProperty(d)){var c=b[d];c.getTopGroup()!==this.getId()&&(a[d]=c)}return a}},{key:"getChildren",value:function(a){var b=[],d=this.children;if(!0===a){for(a=0;a<d.length;a++){var c=d[a];(b=b.concat(c.getChildren(!0))).push(c)}d=b}return d}},{key:"updateAllChildrenParentVisibility",value:function(){for(var a=this.getChildren(),b=0;b<a.length;b++)a[b].updateVisibilityFromParent()}},{key:"onVisibilityChange",value:function(){0<arguments.length&&
void 0!==arguments[0]&&arguments[0];var a=this.getChildren();if(this.updateAllChildrenParentVisibility(),(0<a.length||!0===this.hasEnableVisibilityWithoutChildren())&&(this.updateChildRect(),this.isSticky()&&this.isVisibleForInFlow()))for(var b=0;b<a.length;b++)a[b].updateDomPosition({noUpdates:!0});this.getDomSizeMode()===g.a.CHILDREN_SIZE&&this.updateInFlow();this.isVisibleForInFlow()&&this.updateDomPosition();this.nofityParentOfVisibilityChange();null!==this._relationNode&&this._relationNode.onWObjectVisibilityChange();
this._triggerVisibilityChangeEvent()}},{key:"invalidateVisibility",value:function(){this._visibilityNeedsRecalc=!0}},{key:"_setVisibility",value:function(a){1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!1!==webwave.isBoolean(a)){var b=this.visible!==a;return this.visible=a,!0===this.hasDomRepresentation()&&(this.getDomObject()[0].style.visibility=!0===this.visible?"visible":"hidden"),b&&this.onVisibilityChange(),b}}},{key:"updateWNodeVisibility",value:function(){if(!1===this.isInitialized()||
this.isBulkMode())this.invalidateVisibility();else{var a=this.visibilities.getComputedVisibility();this._setVisibility(a)}}},{key:"onParentWNodeChange",value:function(a,b){webwave.isDefAndNotNull(this.objectService)&&this.objectService.updateRelationsByWObject(this);webwave.isDefAndNotNull(b)&&b.onChildrenChange();webwave.isDefAndNotNull(a)&&a.onChildrenChange();this.updateOffset();null!==a&&this.updateVisibilityFromParent()}},{key:"computeBaseVisibility",value:function(){return!0}},{key:"updateBaseVisibility",
value:function(){this.visibilities.setBaseVisibility(this.computeBaseVisibility())}},{key:"updateVisibilityFromParent",value:function(){this.visibilities.setParentVisibility(this.computeParentVisibility())}},{key:"computeParentVisibility",value:function(){var a=webwave.isDefAndNotNull(this.getCustomVisibilityParent())?this.getCustomVisibilityParent():this.getParentWNode();return!webwave.isDefAndNotNull(a)||a.visibilities.getComputedVisibilityForChildren()}},{key:"getComputedVisibility",value:function(){return this.visibilities.getComputedVisibility()}},
{key:"setParentWNode",value:function(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},d=this._parentWNode!==a,c=this._parentWNode;this._parentWNode=a;d&&(this.onParentWNodeChange(this._parentWNode,c),!0!==b.doNotTriggerAscendantTreeChangeOnChildren&&(this.onAncestorTreeChange(),this.getChildren(!0).forEach(function(a){a.onAncestorTreeChange()})))}},{key:"getParentWNode",value:function(){return this._parentWNode}},{key:"getPushedDownAttr",value:function(){var a=parseInt(this._pushedDown);
return isNaN(a)?0:a}},{key:"isAttached",value:function(){return this._attached}},{key:"setAttached",value:function(a){var b=this._attached!==a;this._attached=a;b&&this.onAttachedChange(this._attached,!this._attached)}},{key:"updatePushedDownAttr",value:function(){this.isVisibleForInFlow()&&(null!==this.getRelationNode()?this.getRelationNode().updatePushedDown():this._wNodeSettings.hasCountPushDownAttrOnUpdate()?this.setPushedDownAttr(this.countPushDownAttr(0,!0)):this.setPushedDownAttr(0))}},{key:"addBind",
value:function(a){}},{key:"removeBind",value:function(a){}},{key:"setBulkOperationsMode",value:function(a){this._bulkOpertionsMode;this._bulkOpertionsMode=a}},{key:"performDomRevalidation",value:function(){this.updateChildRect();this.updateOuterChildRect();this.updatePushedDownAttr();this.updateBoundHeightModifiers()}},{key:"invalidateDom",value:function(){this._domNeedsRecalc=!0}},{key:"performVisibilityRevalidation",value:function(){this.updateVisibilityFromParent();this.updateInFlow();this.updateAnyChildVisibility();
this.updateWNodeVisibility()}},{key:"revalidateDom",value:function(){!0===this._domNeedsRecalc&&this.performDomRevalidation();this._domNeedsRecalc=!1}},{key:"revalidateVisibility",value:function(){!0===this._visibilityNeedsRecalc&&this.performVisibilityRevalidation();this._visibilityNeedsRecalc=!1}},{key:"isBulkMode",value:function(){return this._bulkMode}},{key:"setBulkMode",value:function(a){var b=a!==this._bulkMode;this._bulkMode=!0===a;var d=this.getChildren();this.setNoUpdateOnChildPositionChange(!0);
for(var c=0;c<d.length;c++)d[c].setBulkMode(a);this.setNoUpdateOnChildPositionChange(!1);b&&!1===this._bulkMode&&(this.revalidateDom(),this.revalidateVisibility(),null!==this._relationNode&&this._relationNode.onWObjectPositionChange())}},{key:"onChildSizeChange",value:function(a,b,d){this.updateSizeAndPosition()}},{key:"updateSizeAndPosition",value:function(){this.isBulkMode()?this.invalidateDom():this.performDomRevalidation()}},{key:"onChildPositionChange",value:function(a,b,d){this.isNoUpdateOnChildPositionChange()?
this.invalidateDom():this.updateSizeAndPosition()}},{key:"notifyParentOfSizeChange",value:function(a,b){if(!0!==this._noNotifyParentOfSizeChange){var d=this.getParentWNode();webwave.isDefAndNotNull(d)&&d.onChildSizeChange(this,a,b)}}},{key:"notifyParentOfPositionChange",value:function(a,b){if(!0!==this._noNotifyParentOfPositionChange){var d=this.getParentWNode();webwave.isDefAndNotNull(d)&&d.onChildPositionChange(this,a,b)}}},{key:"onChildVisibilityChange",value:function(a,b,d){a=this.isInFlow();
this._noNotifyParentOfInflowChange=!0;this.updateInFlow();this._noNotifyParentOfInflowChange=!1;a=this.isInFlow()!==a;b=this.visibilities.computeVisibility();this._noNotifyParentOfVisibilityChange=!0;this.updateAnyChildVisibility();this._noNotifyParentOfVisibilityChange=!1;b=this.visibilities.computeVisibility()!==b;d=this.getOuterChildRect().clone();this._noNotifyParentOfPositionChange=this._noNotifyParentOfSizeChange=!0;this.updateChildRect();this._noNotifyParentOfPositionChange=this._noNotifyParentOfSizeChange=
!1;d=!1===this.getOuterChildRect().clone().equals(d);a&&this.notifyParentOfInFlowChange();b&&this.nofityParentOfVisibilityChange();d&&(this.notifyParentOfSizeChange(),this.notifyParentOfPositionChange())}},{key:"nofityParentOfVisibilityChange",value:function(){if(!0!==this._noNotifyParentOfVisibilityChange){var a=this.getParentWNode();webwave.isDefAndNotNull(a)&&a.onChildVisibilityChange(this,this.isVisible(),!this.isVisible())}}},{key:"onChildInFlowChange",value:function(a,b,d){this.updateInFlow();
this.updateChildRect()}},{key:"notifyParentOfInFlowChange",value:function(){if(!0!==this._noNotifyParentOfInflowChange){var a=this.getParentWNode();webwave.isDefAndNotNull(a)&&a.onChildInFlowChange(this,this.isInFlow(),!this.isInFlow())}}},{key:"onInFlowChange",value:function(){this.notifyParentOfInFlowChange()}},{key:"setInFlow",value:function(a){var b=a!==this._inFlow;this._inFlow=a;b&&this.onInFlowChange()}},{key:"isInFlow",value:function(){return this._inFlow}},{key:"onChildrenChange",value:function(){this.updateInFlow();
this.updateAnyChildVisibility();this.updateSizeAndPosition()}},{key:"onChildFixedChange",value:function(){this.updateSizeAndPosition()}},{key:"notifyParentOfFixedChange",value:function(){var a=this.getParentWNode();webwave.isDefAndNotNull(a)&&a.onChildFixedChange()}},{key:"onFixedChange",value:function(a,b){this.notifyParentOfFixedChange();this.getDomSizeMode()===g.a.CHILDREN_SIZE&&this.updateChildRect()}},{key:"onChildAttachedChange",value:function(){this.updateInFlow()}},{key:"notifyParentOfAttachedChange",
value:function(){var a=this.getParentWNode();webwave.isDefAndNotNull(a)&&a.onChildAttachedChange()}},{key:"onAttachedChange",value:function(a,b){this.isFixed()&&this.isAttached()&&this.updateDomPosition();this.notifyParentOfAttachedChange();this.updateAnyChildVisibility()}},{key:"setRelationNode",value:function(a){this._relationNode=a}},{key:"getRelationNode",value:function(){return this._relationNode}},{key:"updateAnyChildVisibility",value:function(){this.getDomSizeMode()===g.a.CHILDREN_SIZE&&(this.isBulkMode()?
this.invalidateVisibility():!1===this.hasEnableVisibilityWithoutChildren()&&0===this.getAllChildrenForSizeComputation().length?this.visibilities.setAnyChildVisibility(!1):this.visibilities.setAnyChildVisibility(void 0))}},{key:"onChildAdded",value:function(a){this.updateInFlow();this.updateAnyChildVisibility();this.updateSizeAndPosition()}},{key:"onChildRemoved",value:function(){this.updateInFlow();this.updateAnyChildVisibility();this.updateSizeAndPosition()}},{key:"forEachAncestor",value:function(a){if(!1!==
webwave.isFunction(a))for(var b=this.getParentWNode();null!==b;)a(b),b=b.getParentWNode()}},{key:"onDescendantTreeChange",value:function(){}},{key:"_updateComputedFixed",value:function(){var a=this._computeFixed();this._computedFixed!==a&&this._setComputedFixed(a)}},{key:"_computeFixParent",value:function(){var a,b;return null!==(a=this.getParentWNode())&&void 0!==a&&a.canBeFixedParent()?this.getParentWNode():null===(b=this.getParentWNode())||void 0===b?void 0:b._computeFixParent()}},{key:"canBeFixedParent",
value:function(){return!1===this.allowAlternateFixedChildren()&&(null===this.getParentWNode()||this.getParentWNode().allowAlternateFixedChildren())}},{key:"_setFixParent",value:function(a){var b=this._fixParent!==a;this._fixParent=a;b&&this._updateComputedFixed()}},{key:"getFixParent",value:function(){return this._fixParent}},{key:"_updateFixParent",value:function(){this._setFixParent(this._computeFixParent())}},{key:"onAncestorTreeChange",value:function(){this._updateStickyParent();this._updateFixParent()}},
{key:"addChild",value:function(a,b){webwave.isDefAndNotNull(a._parentWNode)&&a._parentWNode.removeChild(a,{doNotTriggerAscendantTreeChangeOnChildren:!0});var d=this.children.indexOf(a);-1!==d&&this.children.splice(d,1);webwave.isNumberAndNotNaN(b)?this.children.splice(r.a.limitValue(b,0,this.children.length),0,a):this.children.push(a);a.setParentWNode(this);this.onChildAdded(a);this.onDescendantTreeChange();this.forEachAncestor(function(a){a.onDescendantTreeChange()})}},{key:"removeChild",value:function(a){var b=
1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},d=this.children.indexOf(a);-1!==d&&(this.children.splice(d,1),a.getParentWNode()===this&&a.setParentWNode(null,{doNotTriggerAscendantTreeChangeOnChildren:b.doNotTriggerAscendantTreeChangeOnChildren}),this.onChildRemoved(),this.onDescendantTreeChange(),this.forEachAncestor(function(a){a.onDescendantTreeChange()}))}},{key:"getChildWNodeIndex",value:function(a){return this.children.indexOf(a)}},{key:"swapChildren",value:function(a){for(var b=
this.getChildren().slice(),d=0;d<b.length;d++)b[d].setParentWNode(null,{doNotTriggerAscendantTreeChangeOnChildren:!0});this.children=a;for(b=0;b<a.length;b++)a[b].setParentWNode(this);this.onChildrenChange()}},{key:"bulkAddChildren",value:function(a){var b=this;a=a.filter(function(a){return-1===b.children.indexOf(a)});this.swapChildren(this.children.concat(a))}},{key:"bulkRemoveChildren",value:function(a){var b=this.children.filter(function(b){return-1===a.indexOf(b)});this.swapChildren(b)}},{key:"hasChildren",
value:function(){return 0<this.children.length}},{key:"onOuterChildRectChange",value:function(a,b){this.getDomSizeMode()===g.a.CHILDREN_SIZE&&(this.updateDomSizeAndPosition(),a.getPosition().getY()!==b.getPosition().getY()&&this.updatePushedDownAttr(),a.getPosition().getY()+a.getSize().getHeight()!==b.getPosition().getY()+b.getSize().getHeight()&&this.updateBoundHeightModifiers())}},{key:"getOuterChildRect",value:function(){return this._childrenOuterRect}},{key:"setOuterChildRect",value:function(a){var b=
this.getOuterChildRect(),d=!1===b.equals(a);this._childrenOuterRect=a;d&&this.onOuterChildRectChange(a,b)}},{key:"getPadding",value:function(){return 0}},{key:"getBorderWidth",value:function(){return 0}},{key:"updateOuterChildRect",value:function(){if(this.getDomSizeMode()!==g.a.OWN_SIZE)if(this.isBulkMode())this.invalidateDom();else{var a=this.getPaddingAndBorderSizes(),b=this.getChildRect().clone();b.getPosition().setX(b.getPosition().getX()-a.left);b.getPosition().setY(b.getPosition().getY()-a.top);
b.getSize().setWidth(b.getSize().getWidth()+a.horizontal);b.getSize().setHeight(b.getSize().getHeight()+a.vertical);this.setOuterChildRect(b)}}},{key:"getChildRect",value:function(){return this._childrenRect}},{key:"onChildRectChange",value:function(a,b){this.updateOuterChildRect()}},{key:"setChildrenRect",value:function(a){var b=this._childrenRect,d=!1===this._childrenRect.equals(a);this._childrenRect=a;d&&this.onChildRectChange(this._childrenRect,b)}},{key:"getAllChildrenForSizeComputation",value:function(){var a=
this;return this.getDomSizeMode()===g.a.OWN_SIZE?this.getChildren().filter(function(a){return!0===a._shouldBeConsiderInParentSizeComputation()}):this.getChildren().filter(function(b){return!0===b._shouldBeConsiderInParentSizeComputation()&&(!0===a.isFixed()||!1===b.isFixed())})}},{key:"countEdgePosition",value:function(a){var b=this.getAllChildrenForSizeComputation();if(0===b.length)return a!==k.a.TOP&&a!==k.a.BOTTOM||!Number.isFinite(this.getMostBottomFromOtherPushes())?0:this.getMostBottomFromOtherPushes()+
this.getPaddingAndBorderSizes().top;switch(a){case k.a.LEFT:return b.reduce(function(a,b){return Math.min(a,b.getRenderedRectangle().getX1())},1/0);case k.a.TOP:return b.reduce(function(a,b){return Math.min(a,b.getRenderedRectangle().getY1())},1/0);case k.a.BOTTOM:return b.reduce(function(a,b){return Math.max(a,b.getRenderedRectangle().getY2())},-1/0);case k.a.RIGHT:return b.reduce(function(a,b){return Math.max(a,b.getRenderedRectangle().getX2())},-1/0)}return null}},{key:"calcChildrenRect",value:function(){var a=
this.countEdgePosition("top")-this.getOffset().getY(),b=this.countEdgePosition("left"),d=this.countEdgePosition("bottom")-this.getOffset().getY(),c=this.countEdgePosition("right");return new B.a({position:{x:b,y:a},size:{width:c-b,height:d-a}})}},{key:"updateChildRect",value:function(){this.getDomSizeMode()===g.a.CHILDREN_SIZE&&this.setChildrenRect(this.calcChildrenRect())}},{key:"convertHorizontalLengthToUnit",value:function(a,b){return webwave.isDef(this.pageCanvas)?this.pageCanvas.convertHorizontalLengthToUnit(a,
b):(0==a instanceof e.a&&(a=e.a.createLengthWithPxUnitFromValue(a)),a)}},{key:"convertVerticalLengthToUnit",value:function(a,b){return webwave.isDef(this.pageCanvas)?this.pageCanvas.convertVerticalLengthToUnit(a,b):(0==a instanceof e.a&&(a=e.a.createLengthWithPxUnitFromValue(a)),a)}},{key:"convertVerticalLengthFromUnit",value:function(b){if(webwave.isDef(this.pageCanvas)){var d=this.pageCanvas.createPageDimensionObject();return a.a.convertVerticalLengthToPx(b,d)}return 0==b instanceof e.a&&(b=e.a.createLengthWithPxUnitFromValue(b)),
b}},{key:"recalcToRenderedPosition",value:function(a){var b=a.getX();a=a.getY();var c=new v.a({x:b.getValue(),y:a.getValue()});return webwave.isNotDefOrNull(this.pageCanvas)?c:(c.setX(this.convertHorizontalLengthToUnit(b,d.a.PX).getValue()),c.setY(this.convertVerticalLengthToUnit(a,d.a.PX).getValue()),c)}},{key:"initialize",value:function(){this._initialized=!0}},{key:"isInitialized",value:function(){return!0}},{key:"isBeingInitialized",value:function(){return!1}},{key:"isNodeAtBottomInRelation",
value:function(a){var b;return(null===(b=this.getBinds()[a.getId()])||void 0===b?void 0:b.getBottomGroup())===a.getId()}},{key:"applySizeModifiers",value:function(a){a.height+=this.getBoundHeightModifier()}},{key:"addWObjectEventListener",value:function(a){this._wObjectEventListeners.push(a)}},{key:"removeWObjectEventListener",value:function(a){a=this._wObjectEventListeners.indexOf(a);-1!==a&&this._wObjectEventListeners.splice(a,1)}},{key:"_triggerSizeChangeEvent",value:function(){if(0<this._wObjectEventListeners.length)for(var a=
new y.a(this),b=0;b<this._wObjectEventListeners.length;b++)this._wObjectEventListeners[b].wObjectSizeChanged(a)}},{key:"_triggerPositionChangeEvent",value:function(){if(0<this._wObjectEventListeners.length)for(var a=new y.a(this),b=0;b<this._wObjectEventListeners.length;b++)this._wObjectEventListeners[b].wObjectPositionChanged(a)}},{key:"_triggerVisibilityChangeEvent",value:function(){if(0<this._wObjectEventListeners.length)for(var a=new y.a(this),b=0;b<this._wObjectEventListeners.length;b++)this._wObjectEventListeners[b].wObjectVisibilityChanged(a)}},
{key:"_triggerStickyChangeEvent",value:function(){if(0<this._wObjectEventListeners.length)for(var a=new y.a(this),b=0;b<this._wObjectEventListeners.length;b++)webwave.isFunction(this._wObjectEventListeners[b].wObjectStickyChanged)&&this._wObjectEventListeners[b].wObjectStickyChanged(a)}},{key:"_convertPositionOriginEnumToClass",value:function(a){switch(a){case w.a.PAGE_TOP_RIGHT:case w.a.SCREEN_TOP_RIGHT:a=k.a.RIGHT;break;default:a=k.a.LEFT}return new f.a([a,k.a.TOP])}},{key:"getPositionOrigin",value:function(){return!0===
(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).asClass?this._convertPositionOriginEnumToClass(this._positionOrigin):this._positionOrigin}},{key:"_convertPositionOriginClassToEnum",value:function(a){a=new f.a(a);w.a.PAGE_TOP_LEFT;return this.isDynamicPositioning()?"left"===a.getHorizontalPosition()?w.a.SCREEN_TOP_LEFT:w.a.SCREEN_TOP_RIGHT:"left"===a.getHorizontalPosition()?w.a.PAGE_TOP_LEFT:w.a.PAGE_TOP_RIGHT}},{key:"convertPointFromOrigin",value:function(a,b){a=a.clone();return b!==w.a.SCREEN_TOP_RIGHT&&
b!==w.a.PAGE_TOP_RIGHT||a.setX(a.getX()+this.getComputedSize().getWidth()),webwave.isDefAndNotNull(this.pageCanvas)?this.pageCanvas.convertPointFromOrigin(a,b):a}},{key:"applyPositionModifiers",value:function(a){a.add(this.getOffset())}},{key:"_applyFixedModifications",value:function(a){return webwave.isDef(this.objectService)&&(this.getDomObject()[0].style.position="fixed",a=this.objectService.normal2FixedCoords(a)),a}},{key:"computeStickyStartDistanceValue",value:function(){return this.convertVerticalLengthToUnit(this.getStickyStartDistance()).getValue()}},
{key:"_applyStickyModifications",value:function(a){if(webwave.isDef(this.pageCanvas)){var b=this.computeStickyEndDistanceValue(),d=this.computeStickyStartDistanceValue(),c=this.pageCanvas.getViewPort().getY1(),f=c>a.y-d&&c<b,c=c>=b;this.getDomObject()[0].style.position=f?"fixed":"absolute";f&&(a=this.objectService.normal2FixedCoords(new v.a({x:a.x,y:d})));c?(a.y=b+d,this.setStickyEnded(!0)):this.setStickyEnded(!1);this.getDomObject().toggleClass("sticked",f);this.setSticked(f)}return a}},{key:"computeStickyEndDistanceValue",
value:function(){var a=1/0,b=this.getParentWNode();return webwave.isDefAndNotNull(b)&&!1===b.allowAlternateFixedChildren()?a=this.getParentWNode().computeStickyEndDistanceValue():this.isStickyEndDistanceEnabled()&&(a=this.convertVerticalLengthToUnit(this.getStickyEndDistance()).getValue()),a}},{key:"_triggerPostPositionChangeEvents",value:function(a,b){this.onDomPositionChange();this.isAttached()&&this.isVisibleForInFlow()&&this.notifyParentOfPositionChange(a,b);null!==this._relationNode&&this._relationNode.onWObjectPositionChange(a,
b);this.afterDomPositionChange();this._triggerPositionChangeEvent()}},{key:"updateDomPosition",value:function(a){if((!1!==this.isInitialized()||!1!==this.isBeingInitialized())&&!1!==this.hasDomRepresentation()){webwave.isNotDef(a)&&(a={});var b,d=this.getComputedPosition().clone();this.getDomSizeMode()===g.a.OWN_SIZE?(b=this.recalcToRenderedPosition(this._position),b=this.convertPointFromOrigin(b,this.getPositionOrigin())):b=this.getOuterChildRect().getPosition().clone();this.isFullWidth()&&(b.x=
this.computeFullWidthParams().x);this.applyPositionModifiers(b);webwave.isDef(this.stuffedPosition)&&(b=this.stuffedPosition);var c=!1===d.equals(b);return this._renderedRect.setPosition(b.clone()),this.isDomElementPositionUpdateEnabled()&&this.updateDomElementPosition(),c&&!0!==a.noUpdates&&this._triggerPostPositionChangeEvents(b,d),c}}},{key:"afterDomSizeChange",value:function(){}},{key:"onDomPositionChange",value:function(){}},{key:"afterDomPositionChange",value:function(){}},{key:"updateSizesAfterRotate",
value:function(){}},{key:"recalcToRenderedSize",value:function(a){var b=a.getWidth();a=a.getHeight();var c=new z.a({width:b.getValue(),height:a.getValue()});return webwave.isNotDefOrNull(this.pageCanvas)?c:(c.setWidth(this.convertHorizontalLengthToUnit(b,d.a.PX).getValue()),c.setHeight(this.convertVerticalLengthToUnit(a,d.a.PX).getValue()),c)}},{key:"getSize",value:function(){return this._size}},{key:"getPosition",value:function(){return this._position}},{key:"isFullWidth",value:function(){return this.fullWidth}},
{key:"isFixed",value:function(){return!0===(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).ownValue?this.fixed:this._computedFixed}},{key:"setFixed",value:function(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},d=this.fixed!==a;this.fixed=!0===a;this._updateComputedFixed();!0===b.userInteraction&&this.saveCurrentRwdProperties();d&&this.notifyDescendantsOfFixedParentChange()}},{key:"_computeFixed",value:function(){var a=this.getFixParent();return webwave.isDefAndNotNull(a)?
a.isFixed({ownValue:!0}):this.isFixed({ownValue:!0})}},{key:"_setComputedFixed",value:function(a){var b=a!==this._computedFixed;this._computedFixed=!0===a;b&&(this.updateOffset(),this.updateDomPosition(),this.onFixedChange())}},{key:"notifyDescendantsOfFixedParentChange",value:function(){for(var a=this.getChildren(!0),b=0;b<a.length;b++)a[b].onParentFixedChange()}},{key:"onParentFixedChange",value:function(){this._updateComputedFixed()}},{key:"getOriginSize",value:function(){return this.recalcToRenderedSize(this.getSize())}},
{key:"getMinSize",value:function(){return this._minSize}},{key:"getRotation",value:function(){return 0}},{key:"applyComputedSizeModifiers",value:function(a){this.isAutoHeight()&&a.setHeight(0)}},{key:"getDomSizeMode",value:function(){return this._domSizeMode}},{key:"computeFullWidthParams",value:function(){var a,b=null===(a=this.rwdService)||void 0===a?void 0:a.getCurrentMode();if(webwave.isDef(this.pageCanvas)&&this._settedRwdModeId===(null===b||void 0===b?void 0:b.getId()))return this.pageCanvas.getFullWidthObjectParams();
var d,c,f,e;a=null===(d=com)||void 0===d?void 0:null===(c=d.webwave)||void 0===c?void 0:null===(f=c.gui)||void 0===f?void 0:null===(e=f.rwd)||void 0===e?void 0:e.rwdService.getRwdModeById(this._settedRwdModeId);return{x:0,width:(null===a||void 0===a?void 0:a.width)||0}}},{key:"computeSize",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(webwave.isDef(this.stuffedSize))return this.stuffedSize;var b=this.getMinSize(),d=this.getDomSizeMode()===g.a.OWN_SIZE?this.recalcToRenderedSize(this.getSize()):
this._childrenOuterRect.getSize().clone();this.applyComputedSizeModifiers(d);var c=Math.max(d.getHeight(),b.getHeight()),b=Math.max(d.getWidth(),b.getWidth());!0!==a.noRotation&&this.isRotated()&&(a=this.elementRotationService.transformSizesToRotation(b,c,this.getRotation()),b=a.getWidth(),c=a.getHeight());return this.isFullWidth()&&(b=this.computeFullWidthParams().width),new z.a({width:b,height:c})}},{key:"isVisible",value:function(){return this.visible}},{key:"isVisibleForInFlow",value:function(){return this.visibilities.getComputedVisibilityForInFlow()}},
{key:"isVisibleForChildren",value:function(){return this.visibilities.getComputedVisibilityForChildren()}},{key:"isRotated",value:function(){return!1}},{key:"_setWObjectPosition",value:function(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!1===this._position.equals(a)&&(this._position=a,this.updateInFlow(),!0!==b.noDomElementUpdate&&this.isInitialized()&&this.updateDomPosition())}},{key:"getDomObject",value:function(){return webwave.isDef(this.$domObject)?this.$domObject:$()}},
{key:"hasDomRepresentation",value:function(){return 0!==this.getDomObject().length}},{key:"_setPositionOld",value:function(a,b,d){void 0===d&&(d={});var c=!1;null!==a&&(this.getPosition().setXValue(a),!1===this.noHorizontalDrag&&(c=!0));null!==b&&(this.isFooterElement()&&0>b&&(b=Math.max(0,b)),this.getPosition().setYValue(b),c=!0);c&&!0!==d.noDomElementUpdate&&this.isInitialized()&&this.updateDomPosition()}},{key:"setPosition",value:function(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:
{};a instanceof F.a?(this._setWObjectPosition(a,b),webwave.isDef(b)&&(d=b)):this._setPositionOld(a,b,d);!0===d.userInteraction&&this.saveCurrentRwdProperties()}},{key:"_computeInFlow",value:function(a){return this.getDomSizeMode()===g.a.CHILDREN_SIZE&&!1===this.hasEnableFlowWithoutChildren()?0<this.getAllChildrenForSizeComputation().length:this.getSize().getWidth().getUnit()!==d.a.PERCENT&&this.getSize().getHeight().getUnit()!==d.a.PERCENT&&this.getPosition().getX().getUnit()!==d.a.PERCENT&&this.getPosition().getY().getUnit()!==
d.a.PERCENT}},{key:"updateInFlow",value:function(){this.setInFlow(this._computeInFlow())}},{key:"_oldSetSize",value:function(a,d){2<arguments.length&&void 0!==arguments[2]&&arguments[2];var c=!1;return null!==a&&(a=Math.min(a,b.maxSize.WIDTH),this._size.getWidth().getValue()!==a&&(c=!0),this._size.getWidth().setValue(a)),null!==d&&(d=Math.min(d,b.maxSize.HEIGHT),this._size.getHeight().getValue()!==d&&(c=!0),this._size.getHeight().setValue(d)),this.updateDomSize(),c}},{key:"_newSetSize",value:function(a){var b=
1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return!1===this._size.equals(a)&&(this._size=a,this.updateInFlow(),!0!==b.noDomElementUpdate&&this.isInitialized()&&this.updateDomSizeAndPosition(),!0)}},{key:"setSize",value:function(a,b,d){var c=!1;return a instanceof C.a?(c=this._newSetSize(a,b),webwave.isDef(b)&&(d=b)):c=this._oldSetSize(a,b,d),webwave.isNotDef(d),c}},{key:"_triggerPostSizeChangeEvents",value:function(a,b){webwave.isFunction(this.updateSizesAfterRotate)&&this.updateSizesAfterRotate();
this.isAttached()&&this.isVisibleForInFlow()&&this.notifyParentOfSizeChange(a,b);null!==this._relationNode&&this._relationNode.onWObjectSizeChange(a,b);this.afterDomSizeChange();this._triggerSizeChangeEvent()}},{key:"updateDomSize",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if((!1!==this.isInitialized()||!1!==this.isBeingInitialized())&&!1!==this.hasDomRepresentation()){var b=this.getComputedSize().clone(),d=this.computeSize();this.applySizeModifiers(d);var c=
!1===this._renderedRect.getSize().equals(d);return this._renderedRect.setSize(d),!0===this.hasDomRepresentation()&&(this.$domObject[0].style.width=d.getWidth()+"px",this.$domObject[0].style.height=d.getHeight()+"px"),!0===c&&!0!==a.noUpdates&&this._triggerPostSizeChangeEvents(d,b),c}}},{key:"updateDomSizeAndPosition",value:function(){var a=this.updateDomSize({noUpdates:!0}),b=this.updateDomPosition({noUpdates:!0});!0===a&&this._triggerPostSizeChangeEvents();!0===b&&this._triggerPostPositionChangeEvents()}},
{key:"setObjectService",value:function(a){Object.defineProperty(this,"objectService",{value:a,configurable:!1})}},{key:"getSiblings",value:function(){var a=this;return null!==this.getParentWNode()?this.getParentWNode().getChildren().filter(function(b){return b!==a}):[]}},{key:"isAutoHeight",value:function(){return this._autoHeight}},{key:"isEveryChildrenHasAutoHeight",value:function(){var a=this.getChildren(!0);return 0<a.length&&a.every(function(a){return!0===a.isAutoHeight()})}},{key:"onAutoHeightChange",
value:function(){}},{key:"setAutoHeight",value:function(a){var b=this.autoHeight!==a;this._autoHeight=a;b&&this.onAutoHeightChange()}},{key:"computeAutoHeight",value:function(){return!1}},{key:"updateAutoHeight",value:function(){this.setAutoHeight(this.computeAutoHeight())}},{key:"isMouseOver",value:function(){return this._mouseOver}},{key:"onChildMouseOverChange",value:function(){this.updateMouseOver()}},{key:"onMouseOverChange",value:function(){var a=this.getParentWNode();webwave.isDefAndNotNull(a)&&
a.onChildMouseOverChange()}},{key:"setMouseOver",value:function(a){var b=this._mouseOver!==a;this._mouseOver=a;b&&this.onMouseOverChange()}},{key:"computeMouseOver",value:function(){return this.getOwnMouseOver()||this.getChildren().some(function(a){return a.isMouseOver()})}},{key:"updateMouseOver",value:function(){this.setMouseOver(this.computeMouseOver())}},{key:"getOwnMouseOver",value:function(){return this._ownMouseOver}},{key:"onOwnMouseOverChange",value:function(){this.updateMouseOver();this.updateState()}},
{key:"setOwnMouseOver",value:function(a){var b=this._ownMouseOver!==a;this._ownMouseOver=a;b&&this.onOwnMouseOverChange()}},{key:"domMouseEnterHandler",value:function(){this.setOwnMouseOver(!0)}},{key:"domMouseLeaveHandler",value:function(){this.setOwnMouseOver(!1)}},{key:"initHoverEvents",value:function(){var a=this,b=this.getDomObject();b.on("mouseenter",function(){!1===a._uiEventsLock.isLocked()?a.domMouseEnterHandler():a.customMouseEnterHandler()});b.on("mouseleave",function(){!1===a._uiEventsLock.isLocked()&&
a.domMouseLeaveHandler()})}},{key:"customMouseEnterHandler",value:function(){}},{key:"hasTopBinds",value:function(){var a=this.getBinds(),b;for(b in a)if(a.hasOwnProperty(b)&&a[b].getTopGroup()!==this.getId())return!0;return!1}},{key:"hasBinds",value:function(){return 0<Object.keys(this.getBinds()).length}},{key:"setStatesStyles",value:function(a){this._statesStyles=a}},{key:"getStatesStyles",value:function(){return this._statesStyles}},{key:"applyStateStyle",value:function(a){var b;if((1<arguments.length&&
void 0!==arguments[1]?arguments[1]:{}).mergeStyles){b=this.getStateStyle(G.a.NORMAL).clone();var d=this.getStateStyle(G.a.HOVER).clone();b.applyPartialObjectStyle(d)}else b=this.getStateStyle(a);this.applyPartialObjectStyle(b)}},{key:"applyPartialObjectStyle",value:function(a){}},{key:"updateStateStyle",value:function(){if(this.canChangeStateStyle()){var a=this.getState().getName();this.applyStateStyle(a,{mergeStyles:this.shouldMergeStateStyles(a)})}else webwave.error("object not support changeStates")}},
{key:"shouldMergeStateStyles",value:function(a){return a===G.a.HOVER}},{key:"onSStateChange",value:function(){this.canChangeStateStyle()&&this.updateStateStyle()}},{key:"setState",value:function(a){var b=this.getState().getName()!==a;this.getState().setStateByName(a);b&&this.onSStateChange()}},{key:"getState",value:function(){return this._state}},{key:"updateState",value:function(){this.canChangeState()&&this.setState(this.computeState())}},{key:"temporaryChangeState",value:function(a){this.setState(a)}},
{key:"setStyleVersion",value:function(a){this.applyStateStyle(a)}},{key:"computeState",value:function(){return this.computeMouseOver()?G.a.HOVER:G.a.NORMAL}},{key:"canChangeState",value:function(){return!1===this.getState().isLocked()}},{key:"canChangeStateStyle",value:function(){return!1}},{key:"canChangeStateByStyleableComponent",value:function(){return!1}},{key:"getStateStyle",value:function(a){return this.getStatesStyles().getState(a)}},{key:"canChangePositionOrigin",value:function(){return!0}},
{key:"setDynamicPositioning",value:function(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!0===a?this.setPositionOrigin(w.a.SCREEN_TOP_LEFT,{userInteraction:b.userInteraction,isActionUndoable:b.isActionUndoable,recalcPosition:!0,deep:b.deep}):this.setPositionOrigin(w.a.PAGE_TOP_LEFT,{userInteraction:b.userInteraction,isActionUndoable:b.isActionUndoable,recalcPosition:!0,deep:b.deep})}},{key:"setPreviousPosition",value:function(){}},{key:"isDynamicPositioning",value:function(){return this.getPositionOrigin()===
w.a.SCREEN_TOP_LEFT||this.getPositionOrigin()===w.a.SCREEN_TOP_RIGHT}},{key:"canChangeDynamicPositioning",value:function(){return!0}},{key:"setSticky",value:function(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},d=this.sticky!==a;return this.sticky=a,d&&this.notifyDescendantsOfStickyParentChange(),this._updateComputedSticky(b)}},{key:"notifyDescendantsOfStickyParentChange",value:function(){for(var a=this.getChildren(!0),b=0;b<a.length;b++)a[b].onParentStickyChange()}},{key:"onParentStickyChange",
value:function(){this._updateComputedSticky()}},{key:"_updateComputedSticky",value:function(a){var b=this._computeSticky();return this._computedSticky!==b&&this._setComputedSticky(b,a)}},{key:"_computeSticky",value:function(){var a=this._stickyParent;return webwave.isDefAndNotNull(a)?a.isOwnedSticky():this.isOwnedSticky()}},{key:"isOwnedSticky",value:function(){return this.sticky}},{key:"_setComputedSticky",value:function(a){1<arguments.length&&void 0!==arguments[1]&&arguments[1];var b=this._computedSticky!==
a;if(this._computedSticky=a,b){if(this.isInitialized()){this.updateDomPosition();for(var d=this.getChildren({deep:!0}),c=0;c<d.length;c++)d[c].isInitialized()&&d[c].updateDomPosition()}!1===this._computedSticky&&(this.setSticked(!1),this.setStickyEnded(!1))}return b}},{key:"_computeStickyParent",value:function(){var a,b;return null!==(a=this.getParentWNode())&&void 0!==a&&a.canBeStickyParent()?this.getParentWNode():null===(b=this.getParentWNode())||void 0===b?void 0:b._computeStickyParent()}},{key:"canBeStickyParent",
value:function(){return!1===this.allowAlternateStickyChildren()&&(null===this.getParentWNode()||this.getParentWNode().allowAlternateStickyChildren())}},{key:"_setStickyParent",value:function(a){var b=this._stickyParent!==a;this._stickyParent=a;b&&this._updateComputedSticky()}},{key:"getStickyParent",value:function(){return this._stickyParent}},{key:"_updateStickyParent",value:function(){this._setStickyParent(this._computeStickyParent())}},{key:"setSticked",value:function(a){var b=this._sticked!==
a;this._sticked=!0===a;b&&this._triggerStickyChangeEvent()}},{key:"setStickyEnded",value:function(a){var b=this._stickyEnded!==a;this._stickyEnded=a;b&&this._triggerStickyChangeEvent()}},{key:"isStickyEnded",value:function(){return this._stickyEnded}},{key:"isSticked",value:function(){return this._sticked}},{key:"isSticky",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return webwave.isDefAndNotNull(this._stickyParent)&&this._stickyParent.isSticky()?!0!==a.falseIfAncestorIsSticky:
!0===this._computedSticky}},{key:"setStickyStartDistance",value:function(a){1<arguments.length&&void 0!==arguments[1]&&arguments[1];var b;b=webwave.isNotDefOrNull(a)?webwave.isDefAndNotNull(this._stickyStartDistance):webwave.isNotDefOrNull(this._stickyStartDistance)||!1===this._stickyStartDistance.equals(a);this._stickyStartDistance=a;this.updateDomPosition();for(var d=this.getChildren(),c=0;c<d.length;c++)d[c].updateDomPosition();return b}},{key:"setStickyEndDistanceEnabled",value:function(a){var b=
a!==this._stickyEndDistanceEnabled;return this._stickyEndDistanceEnabled=a,b}},{key:"isStickyEndDistanceEnabled",value:function(){return!0===this._stickyEndDistanceEnabled}},{key:"isNewStickyEndDistanceValid",value:function(a){a=this.convertVerticalLengthToUnit(a,d.a.PX);return this.convertVerticalLengthToUnit(this.getStickyStartDistance(),d.a.PX).getValue()+this.getComputedPosition().getY()<a.getValue()}},{key:"setStickyEndDistance",value:function(a){var b=webwave.isNotDefOrNull(this._stickyEndDistance)||
!1===this._stickyEndDistance.equals(a);return this._stickyEndDistance=a,b}},{key:"getStickyEndDistance",value:function(){return this._stickyEndDistance}},{key:"getStickyStartDistance",value:function(){var a=webwave.isDefAndNotNull(this._stickyStartDistance)?this._stickyStartDistance.clone():e.a.createLengthWithPxUnitFromValue(0),b=this.getParentWNode();null!==b&&b.isSticky()&&(a=b.getStickyStartDistance().clone(),b=this.getComputedPosition().getY()-b.getComputedPosition().getY(),a.add(this.convertVerticalLengthToUnit(b,
a.getUnit())));return a}},{key:"equalsParentWNode",value:function(a){return 0!=a instanceof b&&this.getParentWNode()===a.getParentWNode()}},{key:"setStuffedSizeAndPosition",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.stuffedSize=a.size;this.stuffedPosition=a.position;this.updateDomSizeAndPosition()}},{key:"getRenderedRectangle",value:function(){return this._renderedRect}},{key:"getRenderedRectangleDimensionValueByOrientation",value:function(a){var b;switch(a){case u.a.HORIZONTAL:b=
this.getRenderedRectangle().getWidth();break;case u.a.VERTICAL:b=this.getRenderedRectangle().getHeight()}return b}},{key:"isDomElementPositionUpdateEnabled",value:function(){return this._domElementPositionUpdateEnabled}},{key:"setDomElementPositionUpdateEnabled",value:function(a){this._domElementPositionUpdateEnabled=a}},{key:"updateDomElementPosition",value:function(){var a=this._renderedRect.getPosition().clone();this.isFixed()?a=this._applyFixedModifications(a):this.isSticky()?a=this._applyStickyModifications(a):
this.getDomObject()[0].style.position="absolute";this.$domObject[0].style.left="".concat(a.x,"px");this.$domObject[0].style.top="".concat(a.y,"px")}},{key:"isAlwaysPushing",value:function(){return this._alwaysPushing}},{key:"getMinimalTopDistance",value:function(){return 0}},{key:"dumpTree",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",b;b=""+(a+this.toString());var d=this.getChildren();if(0<this.getChildren().length){b+="".concat(a,"{\n");for(var c=0;c<d.length;c++)b+=
d[c].dumpTree("".concat(a,"    "));b+="".concat(a,"}")}return b+"".concat(a,"\n")}},{key:"hasEnableFlowWithoutChildren",value:function(){return!0===this._wNodeSettings.enableFlowWithoutChildren}},{key:"hasEnableVisibilityWithoutChildren",value:function(){return!0===this._wNodeSettings.enableVisibilityWithoutChildren}},{key:"setCustomVisibilityParent",value:function(a){var b=this._customVisibilityParent!==a;this._customVisibilityParent=a;b&&this.updateVisibilityFromParent()}},{key:"getCustomVisibilityParent",
value:function(){return this._customVisibilityParent}},{key:"getBorderEnabled",value:function(){return!1}},{key:"allowAlternateFixedChildren",value:function(){return!0!==this._wNodeSettings.disableAlternateFixedChildren}},{key:"allowAlternateStickyChildren",value:function(){return!0!==this._wNodeSettings.disableAlternateStickyChildren}},{key:"getChildrenSize",value:function(){return this.getChildren(!1).length}},{key:"getElementsForAnimation",value:function(){for(var a=this.getAnimatableElements(),
b=a.length-1;0<=b;b--)webwave.isNotDefOrNull(a[b])&&a.splice(b,1);return a}},{key:"getAnimatableElements",value:function(){return[]}},{key:"canDisplayBindLineEdge",value:function(){return this.isVisible()}},{key:"setMostBottomFromOtherPushes",value:function(a){this._mostBottomFromOtherPushes=a}},{key:"getMostBottomFromOtherPushes",value:function(){return this._mostBottomFromOtherPushes}},{key:"getPaddingAndBorderSizes",value:function(){return{top:0,right:0,bottom:0,left:0,horizontal:0,vertical:0}}},
{key:"canRenderRandomBackgroundColor",value:function(){return!0}},{key:"isSupportingColorVariables",value:function(){return!1}},{key:"onPropertyChange",value:function(a){switch(a.propertyName){case "computedVisibility":this.updateWNodeVisibility();break;case "computedVisibilityForInFlow":this.nofityParentOfVisibilityChange();break;case "computedVisibilityForChildren":this.updateAllChildrenParentVisibility()}}},{key:"isExcludedFromSizeComputation",value:function(){return this._wNodeSettings.isExcludedFromSizeComputation()}},
{key:"isShadowStyleDisabled",value:function(){return!0===this._wNodeSettings.isShadowStyleDisabled()}},{key:"isEnableInvokeAutoRwdPopup",value:function(){return this._wNodeSettings.isEnableInvokeAutoRwdPopup()}},{key:"isUncopyable",value:function(){return this._uncopyable}},{key:"_shouldBeConsiderInParentSizeComputation",value:function(){return this.isVisibleForInFlow()&&this.isInFlow()&&!0!==this.isExcludedFromSizeComputation()}},{key:"setPointerEventOnDomObject",value:function(a){var b=this.getDomObject();
webwave.isDefAndNotNull(b[0])&&(b[0].style.pointerEvents=a)}},{key:"setUncopyable",value:function(a){this._uncopyable=a}},{key:"triggerBorderRadiusObjectChange",value:function(){this.getDomObject().trigger("borderRadiusChange.cssSettings");this.getDomObject().trigger("cssPropertyChange",{propertiesList:["borderRadius"]})}},{key:"triggerShadowObjectChange",value:function(){this.getDomObject().trigger("shadowChange.cssSettings");this.getDomObject().trigger("cssPropertyChange",{propertiesList:["boxShadow"]})}},
{key:"triggerOpacityObjectChange",value:function(){this.getDomObject().trigger("opacityChange.cssSettings");this.getDomObject().trigger("cssPropertyChange",{propertiesList:["opacity"]})}}]),b}();Q.maxSize={WIDTH:99999,HEIGHT:99999}},171:function(n,c,b){(function(b,c){var k;!function(g){!function(e){function a(a,b){return function(d,c){"function"!=typeof a[d]&&Object.defineProperty(a,d,{configurable:!0,writable:!0,value:c});b&&b(d,c)}}e="object"==typeof c?c:"object"==typeof self?self:"object"==typeof this?
this:Function("return this;")();var d=a(g);void 0===e.Reflect?e.Reflect=g:d=a(e.Reflect,d);(function(a){function d(a,b,c){var f=U.get(a);if(k(f)){if(!c)return;f=new E;U.set(a,f)}a=f.get(b);if(k(a)){if(!c)return;a=new E;f.set(b,a)}return a}function c(a,b,f){b=d(b,f,!1);return!k(b)&&!!b.has(a)}function f(a,b,c){b=d(b,c,!1);if(!k(b))return b.get(a)}function e(a,b){var c=[];a=d(a,b,!1);if(k(a))return c;a=a.keys();b=F(a,h);if(!H(b))throw new TypeError;a=b.call(a);if(!p(a))throw new TypeError;for(b=0;;){var f;
f=a.next();f=!f.done&&f;if(!f)return c.length=b,c;f=f.value;try{c[b]=f}catch(g){try{var l=a.return;l&&l.call(a)}finally{throw g;}}b++}}function g(a){if(null===a)return 1;switch(typeof a){case "undefined":return 0;case "boolean":return 2;case "string":return 3;case "symbol":return 4;case "number":return 5;case "object":return null===a?1:6;default:return 6}}function k(a){return void 0===a}function p(a){return"object"==typeof a?null!==a:"function"==typeof a}function n(a,b){switch(g(a)){case 0:case 1:case 2:case 3:case 4:case 5:return a}b=
3===b?"string":5===b?"number":"default";var d=F(a,Y);if(void 0!==d){a=d.call(a,b);if(p(a))throw new TypeError;return a}return function(a,b){if("string"===b){b=a.toString;if(H(b)&&(b=b.call(a),!p(b)))return b;b=a.valueOf}else{b=a.valueOf;if(H(b)&&(b=b.call(a),!p(b)))return b;b=a.toString}if(H(b)&&(b=b.call(a),!p(b)))return b;throw new TypeError;}(a,"default"===b?"number":b)}function y(a){a=n(a,3);return"symbol"==typeof a?a:""+a}function x(a){return Array.isArray?Array.isArray(a):a instanceof Object?
a instanceof Array:"[object Array]"===Object.prototype.toString.call(a)}function H(a){return"function"==typeof a}function F(a,b){a=a[b];if(void 0!==a&&null!==a){if(!H(a))throw new TypeError;return a}}function C(a){var b=Object.getPrototypeOf(a);if("function"!=typeof a||a===P||b!==P)return b;var d=a.prototype,d=d&&Object.getPrototypeOf(d);if(null==d||d===Object.prototype)return b;d=d.constructor;return"function"!=typeof d?b:d===a?b:d}function L(a){return a.__=void 0,delete a.__,a}$jscomp.initSymbol();
$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();$jscomp.initSymbol();$jscomp.initSymbolIterator();var M=Object.prototype.hasOwnProperty,Q="function"==typeof Symbol,Y=Q&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",h=Q&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",Q="function"==typeof Object.create,t={__proto__:[]}instanceof Array,O=!Q&&!t,R={create:Q?function(){return L(Object.create(null))}:t?function(){return L({__proto__:null})}:
function(){return L({})},has:O?function(a,b){return M.call(a,b)}:function(a,b){return b in a},get:O?function(a,b){return M.call(a,b)?a[b]:void 0}:function(a,b){return a[b]}},P=Object.getPrototypeOf(Function),E=(Q="object"==typeof b&&Object({NODE_ENV:"production"})&&"true"===Object({NODE_ENV:"production"}).REFLECT_METADATA_USE_MAP_POLYFILL)||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){function a(b,d){return b}function b(a,d){return d}function d(a,b){return[a,b]}var c=
{},f=[],e=function(){function a(b,d,c){this._index=0;this._keys=b;this._values=d;this._selector=c}return a.prototype["@@iterator"]=function(){return this},a.prototype[h]=function(){return this},a.prototype.next=function(){var a=this._index;if(0<=a&&a<this._keys.length){var b=this._selector(this._keys[a],this._values[a]);return a+1>=this._keys.length?(this._index=-1,this._keys=f,this._values=f):this._index++,{value:b,done:!1}}return{value:void 0,done:!0}},a.prototype.throw=function(a){throw 0<=this._index&&
(this._index=-1,this._keys=f,this._values=f),a;},a.prototype.return=function(a){return 0<=this._index&&(this._index=-1,this._keys=f,this._values=f),{value:a,done:!0}},a}();return function(){function f(){this._keys=[];this._values=[];this._cacheKey=c;this._cacheIndex=-2}return Object.defineProperty(f.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),f.prototype.has=function(a){return 0<=this._find(a,!1)},f.prototype.get=function(a){a=this._find(a,!1);return 0<=
a?this._values[a]:void 0},f.prototype.set=function(a,b){a=this._find(a,!0);return this._values[a]=b,this},f.prototype.delete=function(a){var b=this._find(a,!1);if(0<=b){for(var d=this._keys.length,b=b+1;b<d;b++)this._keys[b-1]=this._keys[b],this._values[b-1]=this._values[b];return this._keys.length--,this._values.length--,a===this._cacheKey&&(this._cacheKey=c,this._cacheIndex=-2),!0}return!1},f.prototype.clear=function(){this._keys.length=0;this._values.length=0;this._cacheKey=c;this._cacheIndex=
-2},f.prototype.keys=function(){return new e(this._keys,this._values,a)},f.prototype.values=function(){return new e(this._keys,this._values,b)},f.prototype.entries=function(){return new e(this._keys,this._values,d)},f.prototype["@@iterator"]=function(){return this.entries()},f.prototype[h]=function(){return this.entries()},f.prototype._find=function(a,b){return this._cacheKey!==a&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=a)),0>this._cacheIndex&&b&&(this._cacheIndex=this._keys.length,this._keys.push(a),
this._values.push(void 0)),this._cacheIndex},f}()}():Map,fa=Q||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function a(){this._map=new E}return Object.defineProperty(a.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),a.prototype.has=function(a){return this._map.has(a)},a.prototype.add=function(a){return this._map.set(a,a),this},a.prototype.delete=function(a){return this._map.delete(a)},a.prototype.clear=function(){this._map.clear()},
a.prototype.keys=function(){return this._map.keys()},a.prototype.values=function(){return this._map.values()},a.prototype.entries=function(){return this._map.entries()},a.prototype["@@iterator"]=function(){return this.keys()},a.prototype[h]=function(){return this.keys()},a}():Set,U=new (Q||"function"!=typeof WeakMap?function(){function a(){var b;do{b="function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(16)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(16)):
d(new Uint8Array(16),16):d(Array(16),16);b[6]=79&b[6]|64;b[8]=191&b[8]|128;for(var f="",e=0;16>e;++e){var g=b[e];4!==e&&6!==e&&8!==e||(f+="-");16>g&&(f+="0");f+=g.toString(16).toLowerCase()}b="@@WeakMap@@"+f}while(R.has(c,b));return c[b]=!0,b}function b(a,d){if(!M.call(a,f)){if(!d)return;Object.defineProperty(a,f,{value:R.create()})}return a[f]}function d(a,b){for(var c=0;c<b;++c)a[c]=255*Math.random()|0;return a}var c=R.create(),f=a();return function(){function d(){this._key=a()}return d.prototype.has=
function(a){a=b(a,!1);return void 0!==a&&R.has(a,this._key)},d.prototype.get=function(a){a=b(a,!1);return void 0!==a?R.get(a,this._key):void 0},d.prototype.set=function(a,d){return b(a,!0)[this._key]=d,this},d.prototype.delete=function(a){a=b(a,!1);return void 0!==a&&delete a[this._key]},d.prototype.clear=function(){this._key=a()},d}()}():WeakMap);a("decorate",function(a,b,d,c){if(k(d)){if(!x(a))throw new TypeError;if("function"!=typeof b)throw new TypeError;return function(a,b){for(var d=a.length-
1;0<=d;--d){var c=(0,a[d])(b);if(!k(c)&&null!==c){if("function"!=typeof c)throw new TypeError;b=c}}return b}(a,b)}if(!x(a))throw new TypeError;if(!p(b))throw new TypeError;if(!p(c)&&!k(c)&&null!==c)throw new TypeError;return null===c&&(c=void 0),d=y(d),function(a,b,d,c){for(var f=a.length-1;0<=f;--f){var e=(0,a[f])(b,d,c);if(!k(e)&&null!==e){if(!p(e))throw new TypeError;c=e}}return c}(a,b,d,c)});a("metadata",function(a,b){return function(c,f){if(!p(c))throw new TypeError;var e;if(e=!k(f)){a:switch(g(f)){case 3:case 4:e=
!0;break a;default:e=!1}e=!e}if(e)throw new TypeError;d(c,f,!0).set(a,b)}});a("defineMetadata",function(a,b,c,f){if(!p(c))throw new TypeError;k(f)||(f=y(f));d(c,f,!0).set(a,b)});a("hasMetadata",function(a,b,d){if(!p(b))throw new TypeError;k(d)||(d=y(d));return function N(a,b,d){if(c(a,b,d))return!0;b=C(b);return null!==b?N(a,b,d):!1}(a,b,d)});a("hasOwnMetadata",function(a,b,d){if(!p(b))throw new TypeError;k(d)||(d=y(d));return c(a,b,d)});a("getMetadata",function(a,b,d){if(!p(b))throw new TypeError;
k(d)||(d=y(d));return function N(a,b,d){if(c(a,b,d))return f(a,b,d);b=C(b);if(null!==b)return N(a,b,d)}(a,b,d)});a("getOwnMetadata",function(a,b,d){if(!p(b))throw new TypeError;k(d)||(d=y(d));return f(a,b,d)});a("getMetadataKeys",function(a,b){if(!p(a))throw new TypeError;k(b)||(b=y(b));return function aa(a,b){var d=e(a,b);a=C(a);if(null===a)return d;b=aa(a,b);if(0>=b.length)return d;if(0>=d.length)return b;a=new fa;for(var c=[],f=0;f<d.length;f++){var g=d[f],h=a.has(g);h||(a.add(g),c.push(g))}for(d=
0;d<b.length;d++)g=b[d],(h=a.has(g))||(a.add(g),c.push(g));return c}(a,b)});a("getOwnMetadataKeys",function(a,b){if(!p(a))throw new TypeError;k(b)||(b=y(b));return e(a,b)});a("deleteMetadata",function(a,b,c){if(!p(b))throw new TypeError;k(c)||(c=y(c));var f=d(b,c,!1);if(k(f)||!f.delete(a))return!1;if(0<f.size)return!0;a=U.get(b);return a.delete(c),0<a.size||(U.delete(b),!0)})})(d)}()}(k||(k={}))}).call(c,b(121),b(45))},1710:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(1922),
g=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,null,[{key:"generateBackgroundRepeatString",value:function(a,b){if(!webwave.isNotDef(a)||!webwave.isNotDef(b))return!0===a&&!0===b?k.a.REPEAT:!0===a?k.a.REPEAT_X:!0===b?k.a.REPEAT_Y:k.a.NO_REPEAT}}]),b}()},1711:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1);n=b(1245);var k=b(111),g=function(){function b(a){Object(l.a)(this,b);void 0===a&&(a={});this.width="number"==typeof a.width?a.width:0;this.color="string"==typeof a.color?
a.color:b.DEFAULT_COLOR;this.style=void 0===a.style?b.Styles.SOLID:a.style;this.disabled=!0===a.disabled}return Object(p.a)(b,[{key:"serialize",value:function(){return{width:this.width,color:this.color,style:this.style,disabled:this.disabled}}},{key:"toSingleBorderString",value:function(){return this.width+"px "+this.style+" "+this.color}},{key:"applyPartialSingleBorderMap",value:function(a){webwave.isDef(a)&&(webwave.isNumberAndNotNaN(a.width)&&(this.width=a.width),webwave.isDef(a.style)&&(this.style=
a.style),webwave.isDef(a.color)&&(this.color=a.color))}},{key:"changeWebsiteColorConnection",value:function(a,b){return k.a.changeObjectColorPropertyWithWebsiteColor(this,a,{connection:b})}},{key:"clone",value:function(){return b.deserialize(this.serialize())}}],[{key:"deserialize",value:function(a){return void 0===a&&(a={}),new b({width:a.width,color:a.color,style:a.style,disabled:a.disabled})}}]),b}();g.DEFAULT_COLOR=n.a.FIRST_NEUTRAL;g.Styles={SOLID:"solid",DASHED:"dashed",DOTTED:"dotted",DOUBLE:"double"}},
1712:function(n,c,b){b.d(c,"a",function(){return e});var l=b(0),p=b(1),k=b(116),g=b(111),e=function(){function a(b){if(Object(l.a)(this,a),void 0===b&&(b={}),this.enabled=!0===b.enabled,this.color="rgba(156,156,156,1)",webwave.isString(b.color))if(k.a.isColorStartWithAnyOfPhrase(b.color,["rgba","var"]))this.color=b.color;else if("transparent"===b.color)this.color="rgba(0,0,0,0)";else if(k.a.isColorStartWithRgbPhrase(b.color)){var c=webwave.isDef(b.opacity)?b.opacity/100:1;this.color=k.a.rgbAndOpacityToRgba(b.color,
c)}this.x="number"==typeof b.x?b.x:3;this.y="number"==typeof b.y?b.y:3;this.blur="number"==typeof b.blur?b.blur:10}return Object(p.a)(a,[{key:"serialize",value:function(){return{enabled:this.enabled,color:this.color,x:this.x,y:this.y,blur:this.blur}}},{key:"toBoxShadowString",value:function(){var a="none";return!0===this.enabled&&(a="".concat(this.x,"px ").concat(this.y,"px ").concat(this.blur,"px"),webwave.isString(this.color)&&(a=a+" "+this.color)),a}},{key:"toCss2Map",value:function(){return{boxShadow:this.toBoxShadowString()}}},
{key:"applyPartialShadowMap",value:function(a){webwave.isDef(a)&&(webwave.isDef(a.enabled)&&(this.enabled=a.enabled),webwave.isDef(a.color)&&(this.color=a.color),webwave.isDef(a.x)&&(this.x=a.x),webwave.isDef(a.y)&&(this.y=a.y),webwave.isDef(a.blur)&&(this.blur=a.blur))}},{key:"changeWebsiteColorConnection",value:function(a,b){return g.a.changeObjectColorPropertyWithWebsiteColor(this,a,{connection:b})}}],[{key:"deserialize",value:function(b){return new a(b)}}]),a}()},1716:function(n,c,b){function l(b){var d=
function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var c;c=Object(a.a)(b);if(d){var f=Object(a.a)(this).constructor;c=Reflect.construct(c,arguments,f)}else c=c.apply(this,arguments);return Object(e.a)(this,c)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2);n=b(1288);
b=b(1662);var d=function(a){function b(a){var c;return Object(p.a)(this,b),(c=d.call(this,a))._easing=webwave.isDef(a.easing)?a.easing:b.DEFAULT_EASING_FUNCTION,webwave.isString(c._easing)&&(c._easing=jQuery.easing[c._easing]),c._onComplete=a.onComplete,c._stepCallback=a.step,c}Object(g.a)(b,a);var d=l(b);return Object(k.a)(b,[{key:"finish",value:function(){this._running=!1;this._finished=!0;this.setCurrentTime(this.getDuration());this.render();this.clean();webwave.isFunction(this._onComplete)&&this._onComplete()}},
{key:"reset",value:function(){this._running=!1;this._finished=!0;this.setCurrentTime(0);this.render();this.clean();webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"clean",value:function(){}},{key:"dispose",value:function(){}},{key:"render",value:function(){throw Error("renderer not implemented!");}},{key:"updateValues",value:function(){throw Error("update values not implemented!");}},{key:"tick",value:function(){this.updateValues();this.render();webwave.isFunction(this._stepCallback)&&
this._stepCallback()}}]),b}(n.a);d.DEFAULT_EASING_FUNCTION=b.a.SWING},172:function(n,c){(function(b){n.exports=b}).call(c,{})},1736:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(c){Object(l.a)(this,b);void 0===c&&(c={});this.top="number"==typeof c.top?c.top:void 0;this.right="number"==typeof c.right?c.right:void 0;this.bottom="number"==typeof c.bottom?c.bottom:void 0;this.left="number"==typeof c.left?c.left:void 0;this.enabled=webwave.isBoolean(c.enabled)?
c.enabled:void 0}return Object(p.a)(b,[{key:"serialize",value:function(){return{top:this.top,right:this.right,bottom:this.bottom,left:this.left,enabled:this.enabled}}},{key:"toCss2Map",value:function(){var b={};return webwave.isDef(this.top)&&(b.paddingTop=(this.enabled?this.top:0)+"px"),webwave.isDef(this.right)&&(b.paddingRight=(this.enabled?this.right:0)+"px"),webwave.isDef(this.bottom)&&(b.paddingBottom=(this.enabled?this.bottom:0)+"px"),webwave.isDef(this.left)&&(b.paddingLeft=(this.enabled?
this.left:0)+"px"),b}},{key:"clone",value:function(){return new b({left:this.left,top:this.top,right:this.right,bottom:this.bottom,enabled:this.enabled})}},{key:"applyPartialPaddingMap",value:function(b){webwave.isDef(b)&&(webwave.isNumberAndNotNaN(b.top)&&(this.top=b.top),webwave.isNumberAndNotNaN(b.right)&&(this.right=b.right),webwave.isNumberAndNotNaN(b.bottom)&&(this.bottom=b.bottom),webwave.isNumberAndNotNaN(b.left)&&(this.left=b.left),webwave.isDef(b.enabled)&&(this.enabled=b.enabled))}}],[{key:"deserialize",
value:function(c){return void 0===c&&(c={}),new b({top:c.top,right:c.right,bottom:c.bottom,left:c.left,enabled:c.enabled})}}]),b}()},175:function(n,c,b){c.a={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}},1762:function(n,c,b){b.d(c,"a",function(){return a});var l=b(0),p=b(1),k=b(100),g=b(110),e=b(78),a=function(){function a(){Object(l.a)(this,a)}return Object(p.a)(a,null,[{key:"convertLengthToUnit",value:function(b,c,e,f){if(c.getUnit()===b)return c;c.getUnit()!==k.a.PX&&(c=a.convertLengthToPxUnit(c,
e,f));var g=c;switch(b){case k.a.PERCENT:g=a.convertToLengthWithPercentUnit(c,e,f);break;case k.a.VW:g=a.convertToLengthWithVWUnit(c,f);break;case k.a.VH:g=a.convertToLengthWithVHUnit(c,f)}return g}},{key:"convertToLengthWithPercentUnit",value:function(a,b,d){b=b===e.a.HORIZONTAL?d.pageAreaRenderedWidth:d.pageAreaRenderedHeight;return new g.a({value:a.getValue()/b*100,unit:k.a.PERCENT})}},{key:"convertToLengthWithVWUnit",value:function(a,b){return new g.a({value:a.getValue()/b.responsiveViewPortWidth*
100,unit:k.a.VW})}},{key:"convertToLengthWithVHUnit",value:function(a,b){return new g.a({value:a.getValue()/b.fullHeight*100,unit:k.a.VH})}},{key:"convertLengthToPxUnit",value:function(b,c,e){var f=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},k=a.convertLengthToValueInPX(b,c,e,f);return g.a.createLengthWithPxUnitFromValue(k,{withoutRounding:f.withoutRounding})}},{key:"convertHorizontalLengthToPx",value:function(b,c){return a.convertLengthToPxUnit(b,e.a.HORIZONTAL,c,{withoutRounding:2<
arguments.length&&void 0!==arguments[2]&&arguments[2]})}},{key:"convertVerticalLengthToPx",value:function(b,c){return a.convertLengthToPxUnit(b,e.a.VERTICAL,c,{withoutRounding:2<arguments.length&&void 0!==arguments[2]&&arguments[2]})}},{key:"convertLengthToValueInPX",value:function(b,c,e){var f=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};switch(b.getUnit()){case k.a.PERCENT:return a.convertPercentLengthToPxValue(b,c,e,f);case k.a.VW:return a.convertVWLengthToPxValue(b,e,f);case k.a.VH:return a.convertVHLengthToPxValue(b,
e,f);default:return b.getValue()}}},{key:"convertVerticalLengthToValueInPX",value:function(b,c){return a.convertLengthToValueInPX(b,e.a.VERTICAL,c)}},{key:"convertHorizontalLengthToValueInPX",value:function(b,c){return a.convertLengthToValueInPX(b,e.a.HORIZONTAL,c)}},{key:"convertPercentLengthToPxValue",value:function(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},g=b===e.a.HORIZONTAL?c.pageAreaRenderedWidth:c.pageAreaRenderedHeight,g=a.getValue()*g/100;return!1===d.withoutRounding?
g:Math.round(g)}},{key:"convertVHLengthToPxValue",value:function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},d=a.getValue()*b.fullHeight/100;return!1===c.withoutRounding?d:Math.round(d)}},{key:"convertVWLengthToPxValue",value:function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},d=a.getValue()*b.responsiveViewPortWidth/100;return!1===c.withoutRounding?d:Math.round(d)}},{key:"getPxValuesForAvailableUnitsByOrientation",value:function(b,c){var e=2<arguments.length&&
void 0!==arguments[2]?arguments[2]:{};return{"%":a.convertPercentLengthToPxValue(new g.a({value:1,unit:k.a.PERCENT}),c,b,e),vh:a.convertVHLengthToPxValue(new g.a({value:1,unit:k.a.VH}),b,e),vw:a.convertVWLengthToPxValue(new g.a({value:1,unit:k.a.VW}),b,e),px:1}}},{key:"getPxValuesForAvailableUnitsInVerticalOrientation",value:function(b){return a.getPxValuesForAvailableUnitsByOrientation(b,e.a.VERTICAL,{withoutRoundingFlag:1<arguments.length&&void 0!==arguments[1]&&arguments[1]})}},{key:"getPxValuesForAvailableUnitsInHorizontalOrientation",
value:function(b){return a.getPxValuesForAvailableUnitsByOrientation(b,e.a.HORIZONTAL,{withoutRoundingFlag:1<arguments.length&&void 0!==arguments[1]&&arguments[1]})}}]),a}()},1763:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,[{key:"isLocked",value:function(){return!1}}]),b}()},1764:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;
if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(){var a;Object(p.a)(this,b);for(var c=arguments.length,e=Array(c),g=0;g<c;g++)e[g]=
arguments[g];return(a=d.call.apply(d,[this].concat(e)))._computedVisibility=!0,a._computedVisibilityForInFlow=!0,a._computedVisibilityForChildren=!0,a._baseVisibility=void 0,a._parentVisibility=void 0,a._anyChildrenVisibility=void 0,a._scrollVisibility=void 0,a._showAnimationVisibility=void 0,a._interactionVisibility=void 0,a._duringAnimationVisibility=void 0,a}Object(g.a)(b,a);var d=l(b);return Object(k.a)(b,[{key:"setBaseVisibility",value:function(a){var b=this._baseVisibility;this._baseVisibility=
a;this.updateComputedVisibilities();a!==b&&this.triggerPropertyChange("baseVisibility",a,b)}},{key:"getBaseVisibility",value:function(){return this._baseVisibility}},{key:"setParentVisibility",value:function(a){var b=this._parentVisibility;this._parentVisibility=a;this.updateComputedVisibilities();a!==b&&this.triggerPropertyChange("parentVisibility",a,b)}},{key:"getParentVisibility",value:function(){return this._parentVisibility}},{key:"setAnyChildVisibility",value:function(a){this._anyChildrenVisibility=
a;this.updateComputedVisibilities()}},{key:"setScrollAnimationVisibility",value:function(a){this._scrollVisibility=a;this.updateComputedVisibilities()}},{key:"getScrollAnimationVisibility",value:function(){return this._scrollVisibility}},{key:"setShowAnimationVisibility",value:function(a){this._showAnimationVisibility=a;this.updateComputedVisibilities()}},{key:"getShowAnimationVisibility",value:function(){return this._showAnimationVisibility}},{key:"setInteractionVisibility",value:function(a){this._interactionVisibility=
a;this.updateComputedVisibilities()}},{key:"getInteractionVisibility",value:function(){return this._interactionVisibility}},{key:"setDuringAnimationVisibility",value:function(a){this._duringAnimationVisibility=a;this.updateComputedVisibilities()}},{key:"computeVisibility",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return webwave.isDefAndNotNull(this._duringAnimationVisibility)?this._duringAnimationVisibility:!0!==a.skipShowAnimationVisibilityCondition&&webwave.isDefAndNotNull(this._showAnimationVisibility)?
this._showAnimationVisibility:webwave.isDefAndNotNull(this._interactionVisibility)?webwave.isDef(this._parentVisibility)&&!0!==a.skipParentVisibilityCondition?this._parentVisibility&&this._interactionVisibility:this._interactionVisibility:webwave.isDefAndNotNull(this._scrollVisibility)?this._scrollVisibility:webwave.isDef(this._anyChildrenVisibility)&&!0!==a.skipAnyChildrenVisibilityCondition?this._anyChildrenVisibility:webwave.isDef(this._parentVisibility)&&!0!==a.skipParentVisibilityCondition?this._parentVisibility&&
this._baseVisibility:this._baseVisibility}},{key:"computeLayerIconVisibility",value:function(){return webwave.isDefAndNotNull(this._interactionVisibility)?webwave.isDef(this._parentVisibility)?this._parentVisibility&&this._interactionVisibility:this._interactionVisibility:webwave.isDefAndNotNull(this._scrollVisibility)?this._scrollVisibility:webwave.isDef(this._parentVisibility)?this._parentVisibility&&this._baseVisibility:this._baseVisibility}},{key:"onComputedVisibilityChange",value:function(a,
b){this.triggerPropertyChange("computedVisibility",a,b)}},{key:"setComputedVisibility",value:function(a){var b=this._computedVisibility;this._computedVisibility=a;a!==b&&this.onComputedVisibilityChange(a,b)}},{key:"getComputedVisibility",value:function(){return this._computedVisibility}},{key:"getComputedVisibilityForChildren",value:function(){return this._computedVisibilityForChildren}},{key:"setComputedVisibilityForChildren",value:function(a){var b=this._computedVisibilityForChildren;this._computedVisibilityForChildren=
a;a!==b&&this.triggerPropertyChange("computedVisibilityForChildren",a,b)}},{key:"getComputedVisibilityForInFlow",value:function(){return this._computedVisibilityForInFlow}},{key:"setComputedVisibilityForInFlow",value:function(a){var b=this._computedVisibilityForInFlow;this._computedVisibilityForInFlow=a;a!==b&&this.triggerPropertyChange("computedVisibilityForInFlow",a,b)}},{key:"computeVisibilityForInFlow",value:function(){return this.computeVisibility({skipParentVisibilityCondition:!0,skipShowAnimationVisibilityCondition:!0,
skipAnyChildrenVisibilityCondition:(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).skipAnyChildrenVisibilityCondition})}},{key:"updateComputedVisibilities",value:function(){this.setComputedVisibilityForInFlow(this.computeVisibilityForInFlow());this.setComputedVisibilityForChildren(this.computeVisibility({skipAnyChildrenVisibilityCondition:!0}));this.setComputedVisibility(this.computeVisibility())}}]),b}(b(62).a)},1765:function(n,c,b){c.a={NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",
OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"}},1766:function(n,c,b){c.a={SHOW:"show",HIDE:"hide"}},18:function(n,c,b){c.a=function(b,c,k){c in b?Object.defineProperty(b,c,{value:k,enumerable:!0,configurable:!0,writable:!0}):b[c]=k;return b}},181:function(n,c,b){function l(b,c){return(l=
Object.setPrototypeOf||function(b,c){return b.__proto__=c,b})(b,c)}c.a=l},1908:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var g=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,g)}else d=d.apply(this,arguments);
return Object(e.a)(this,d)}}b.d(c,"a",function(){return v});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=b(42),r=b(32);n=b(1173);var u=b(1519),v=function(a){function b(a){var d;return Object(p.a)(this,b),(d=c.call(this,a))._singlePartSize=new r.a({width:Math.floor(d._panelSize.width/2),height:Math.floor(d._panelSize.height/2)}),d._initDomObjects(),d}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"_initDomObjects",value:function(){var a=[],c=this._singlePartSize,f=this._direction===u.a.LEFT?this.getForwardVector():
this.getBackwardVector();this._partialPanel2=b.createPartialPanel({x:0,y:0,width:this._panelSize.width,height:this._panelSize.height,panel:this._nextPanel});this._$panelParent.append(this._partialPanel2.$panel);this._partialPanel2.z=this.getInitialNextPanelZIndex();for(var e=0;2>e;e++){var g=[];a.push(g);for(var k=0;2>k;k++){var l=b.createPartialPanel({width:c.width,height:c.height,x:e*c.width,y:k*c.height,panel:this._panel});g.push({$panel:l.$panel,$content:l.$content,currentPos:new d.a(0,0),moveVector:f[k][e]});
this._$panelParent.append(l.$panel)}}this._partialPanels=a;this._panel[0].style.display="none";this._nextPanel[0].style.display="none"}},{key:"updateValues",value:function(){var a,b=this._partialPanels,c=this._easing(this._progress);this._partialPanel2.z=(1-c)*this.getInitialNextPanelZIndex();for(var d=0;d<b.length;d++)for(var f=0;f<b[d].length;f++)a=b[d][f],c=Math.max(0,Math.min(1,(this._progress-a.moveVector.s)/(1-this.getMaxDelay()))),c=this._easing(c),a.currentPos.x=a.moveVector.x*this._singlePartSize.width*
c,a.currentPos.y=a.moveVector.y*this._singlePartSize.height*c}},{key:"clean",value:function(){this._panel[0].style.display="";this._nextPanel[0].style.display="";for(var a=this._partialPanels,b=0;b<a.length;b++)for(var c=0;c<a[b].length;c++)a[b][c].$panel.remove();this._partialPanel2.$panel.remove()}},{key:"render",value:function(){for(var a,b=this._partialPanels,c=0;c<b.length;c++)for(var d=0;d<b[c].length;d++)(a=b[c][d]).$content[0].style.transform="translate3D("+a.currentPos.x+"px, "+a.currentPos.y+
"px, 0)";this._partialPanel2.$content[0].style.transform="perspective(100px) translate3d(0, 0, "+this._partialPanel2.z+"px)"}},{key:"getForwardVector",value:function(){}},{key:"getBackwardVector",value:function(){}},{key:"getMaxDelay",value:function(){}},{key:"getInitialNextPanelZIndex",value:function(){}}],[{key:"createPartialPanel",value:function(a){var b=$('<div class="gv_partialPanel" style="width: '+a.width+"px;height: "+a.height+"px;left: "+a.x+"px;top: "+a.y+'px;position: absolute;overflow: hidden;"></div>'),
c=b.clone();c[0].style.left="0";c[0].style.top="0";var d=a.panel.clone();return d[0].style.left=-a.x+"px",d[0].style.top=-a.y+"px",d[0].style.position="absolute",c.append(d),b.append(c),{$panel:b,$content:c}}}]),b}(n.a)},1921:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(338),g=function(){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,b);this._name=webwave.isDef(a.value)?a.value:k.a.NORMAL;this._isLocked=!!webwave.isBoolean(a.isLocked)&&
a.isLocked}return Object(p.a)(b,[{key:"setStateByName",value:function(a){this._name=a}},{key:"getName",value:function(){return this._name}},{key:"setLocked",value:function(a){this._isLocked=a}},{key:"isLocked",value:function(){return this._isLocked}},{key:"serialize",value:function(){return{value:this.getName(),isLocked:this.isLocked()}}}]),b}()},1922:function(n,c,b){c.a={REPEAT:"repeat",REPEAT_X:"repeat-x",REPEAT_Y:"repeat-y",NO_REPEAT:"no-repeat"}},1929:function(n,c,b){b.d(c,"a",function(){return k});
var l=b(0),p=b(1),k=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,[{key:"getYPositionToScroll",value:function(){return 0}},{key:"getAnimationTime",value:function(){return Math.min(this._calculateAnimationTimeBaseOnTargetPosition(),b.MAX_ANIMATION_TIME)}},{key:"_calculateAnimationTimeBaseOnTargetPosition",value:function(){return Math.floor(this.getYPositionToScroll()/2)}}]),b}();k.MAX_ANIMATION_TIME=1500},1959:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(110),
g=function(){function b(a){Object(l.a)(this,b);this._x=new k.a(a.x);this._y=new k.a(a.y)}return Object(p.a)(b,[{key:"serialize",value:function(){return{x:this.getX().serialize(),y:this.getY().serialize()}}},{key:"loadValueFromObject",value:function(a){webwave.isNotDefOrNull(a)||(this.getX().loadValuesFromObject(a.getX()),this.getY().loadValuesFromObject(a.getY()))}},{key:"getX",value:function(){return this._x}},{key:"getY",value:function(){return this._y}},{key:"getCssMapForPosition",value:function(){return"".concat(this.getX().getValue()).concat(this.getX().getUnit(),
" ").concat(this.getY().getValue()).concat(this.getY().getUnit())}}],[{key:"deserialize",value:function(a){return new b(a)}}]),b}()},2:function(n,c,b){function l(b){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)})(b)}c.a=l},20:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.NON_CUSTOM_TAG_KEYS=c.POST_CONSTRUCT=c.DESIGN_PARAM_TYPES=c.PARAM_TYPES=c.TAGGED_PROP=c.TAGGED=c.MULTI_INJECT_TAG=c.INJECT_TAG=c.OPTIONAL_TAG=c.UNMANAGED_TAG=
c.NAME_TAG=c.NAMED_TAG=void 0;c.NAMED_TAG="named";c.NAME_TAG="name";c.UNMANAGED_TAG="unmanaged";c.OPTIONAL_TAG="optional";c.INJECT_TAG="inject";c.MULTI_INJECT_TAG="multi_inject";c.TAGGED="inversify:tagged";c.TAGGED_PROP="inversify:tagged_props";c.PARAM_TYPES="inversify:paramtypes";c.DESIGN_PARAM_TYPES="design:paramtypes";c.POST_CONSTRUCT="post_construct";c.NON_CUSTOM_TAG_KEYS=[c.INJECT_TAG,c.MULTI_INJECT_TAG,c.NAME_TAG,c.UNMANAGED_TAG,c.NAMED_TAG,c.OPTIONAL_TAG]},2052:function(n,c,b){function l(b){var c=
function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(){return Object(p.a)(this,
b),c.apply(this,arguments)}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"addPopupWrapperToDOM",value:function(a){var b=$('<div id="ww_cmslogin_popup_wrapper" class="colors concepts entities light-theme"></div>');b.appendTo("body");$('<div id="ww_popup_area"></div>').appendTo("body");!0!==a&&(b.on("click",function(a){hideAllPopups()}),$("#ww_cmslogin_popup_wrapper").on("click",".ww_popup",function(a){a.stopPropagation()}))}},{key:"addVuePopupWrapperToDOMIfNotAppend",value:function(){webwave.isNotDefOrNull(document.getElementById(b.VUE_POPUP_WRAPPER))&&
document.body.insertAdjacentHTML("beforeend",'<div id="'.concat(b.VUE_POPUP_WRAPPER,'" class="concepts entities colors">\n                        <div id="screen_popup_background"></div>\n                        <div id="screen_popup">\n                        </div>\n                    </div>'))}},{key:"showPopup",value:function(a){cmsLoginService.lockPage();a.show();this.setPopupAsActive(a)}},{key:"hidePopup",value:function(a){a.hide();this.setPopupAsUnActive(a);cmsLoginService.unlockPage()}},
{key:"addPopupToDom",value:function(a){a.appendTo($("#ww_cmslogin_popup_wrapper"))}},{key:"addLockToPopup",value:function(a){a.append($('<div class="lock"><div class="lockBackground"></div><div class="lockSpinner"></div></div>'))}},{key:"addWaitingIndicator",value:function(a){a.addClass("waiting")}},{key:"removeWaitingIndicator",value:function(a){a.removeClass("waiting")}},{key:"addWaitingIndicatorToActivePopup",value:function(){this.addWaitingIndicator(this.getActivePopup())}},{key:"removeWaitingIndicatorFromActivePopup",
value:function(){this.removeWaitingIndicator(this.getActivePopup())}},{key:"setPopupAsUnActive",value:function(a){a.removeClass("active")}},{key:"createNewPopup",value:function(a,b){if(!1===webwave.isFunction(a))throw Error("PopupClass must be specified");a=new (Function.prototype.bind.apply(a,b));return this.popupManager.registerPopup(a),a}},{key:"setPopupManager",value:function(a){this.popupManager=a}},{key:"setPopupAsActive",value:function(a){a.addClass("active")}},{key:"getActivePopup",value:function(){return $("#ww_cmslogin_popup_wrapper").children(".ww_popup.active")}}]),
b}(b(1210).a);d.VUE_POPUP_WRAPPER="screen_popup_wrapper"},2053:function(n,c,b){b.d(c,"a",function(){return r});var l=b(0),p=b(1),k=b(331),g=b(2611),e=b(42),a=b(2612),d=b(32),r=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,null,[{key:"calculateSizeAndOffsetForCropping",value:function(c){var f=c.imageCropData.getCropType(),e=b.calculateScaleForCropType({cropType:f,widthFactor:c.elemSize.getWidth()/c.imageSize.getWidth(),heightFactor:c.elemSize.getHeight()/c.imageSize.getHeight()}),
f=Math.round(c.imageSize.getWidth()*e.getScaleX()),e=Math.round(c.imageSize.getHeight()*e.getScaleY());c=b.calculateOffset({imageCropData:c.imageCropData,imageWidth:f,imageHeight:e,elemWidth:c.elemSize.getWidth(),elemHeight:c.elemSize.getHeight()});return new a.a({offset:c,size:new d.a({width:f,height:e})})}},{key:"calculateScaleForCropType",value:function(a){var b,c,d=a.widthFactor,e=a.heightFactor;switch(a.cropType){case k.a.COVER:c=b=Math.max(d,e);break;case k.a.FULL_WIDTH:b=d;c=e;break;case k.a.AUTO:c=
b=1;break;case k.a.CONTAIN:c=b=Math.min(d,e)}return new g.a(b,c)}},{key:"calculateOffset",value:function(a){var b=a.imageCropData,c=b.getX().getValue()/100,b=b.getY().getValue()/100;return new e.a(Math.round((a.elemWidth-a.imageWidth)*c),Math.round((a.elemHeight-a.imageHeight)*b))}},{key:"updateDomObjectByCroppedImage",value:function(a,b){a.css({width:b.getSize().getWidth(),height:b.getSize().getHeight(),top:b.getOffset().getY(),left:b.getOffset().getX()})}}]),b}()},2070:function(n,c,b){function l(b){var c=
function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return w});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=b(24),r=
b(1547),u=b(110),v=b(100);n=b(1709);var f=b(1766),w=function(a){function b(){var a,d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(p.a)(this,b),(a=c.call(this,d))._animationEnabled=!1,a._animation=void 0,a._hideAnimationEnabled=!1,a._hideAnimation=void 0,a._animationPlayer=void 0,a._animationOnScrollEnabled=!1,a._animationOnScroll=void 0,a.objectAnimationQueueItem=void 0,a}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"setAnimationPlayer",value:function(a){this._animationPlayer=
a}},{key:"getAnimation",value:function(){return this._animation}},{key:"getHideAnimation",value:function(){return this._hideAnimation}},{key:"finishCurrentAnimation",value:function(){var a;null===(a=this._animationPlayer)||void 0===a||a.finishCurrentAnimation();for(a=0;a<this.children.length;a++){var b;null===(b=this.children[a])||void 0===b||b.finishCurrentAnimation()}}},{key:"canPlayShowOrHideAnimation",value:function(){return this.isInitialized()&&!1===this.hasDisabledAnimations()&&(this.getDomSizeMode()!==
r.a.CHILDREN_SIZE||0<this.getAllChildrenForSizeComputation().length||this.hasEnableVisibilityWithoutChildren())}},{key:"canPlayShowAnimation",value:function(){var a;return this.canPlayShowOrHideAnimation()&&(!0===this.isAnimationEnabled()&&webwave.isDef(this._animation)||!0===(null===(a=this.getParentWNode())||void 0===a?void 0:a.canPlayShowAnimation()))}},{key:"getShowAnimationToPlay",value:function(){var a;return this.isAnimationEnabled()?this.getAnimation():null===(a=this.getParentWNode())||void 0===
a?void 0:a.getShowAnimationToPlay()}},{key:"collectShowAnimationDelayFromParents",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this,b=a.isAnimationEnabled()?a.getAnimation().getDelay():0;return a.isInGroup()&&(b+=this.collectShowAnimationDelayFromParents(a.getParentWNode())),b}},{key:"playCurrentAnimation",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(this.finishCurrentAnimation(),!1!==this.canPlayShowAnimation()){var b=this.getShowAnimationToPlay(),
c=d.a.getValue("publicatedPageApp.noObjectShowAnimations",!1);if(!0!==c?this._animationPlayer.playAnimation(b,{delay:a.delay,skipDelay:a.skipDelay,onComplete:a.onComplete,beforeEachAnimationStart:a.beforeEachAnimationStart,afterEachAnimationStop:a.afterEachAnimationStop,animationType:f.a.SHOW}):a.onComplete(),this.hasChildren())for(var b=this.getChildren(),e=0;e<b.length;e++)if(!0===b[e].isVisibleForInFlow()){var g=webwave.isDef(a.delay)?a.delay:1E3*b[e].collectShowAnimationDelayFromParents();!0!==
c&&b[e].playCurrentAnimation({delay:g,skipDelay:a.skipDelay,beforeEachAnimationStart:a.beforeEachAnimationStart,afterEachAnimationStop:a.afterEachAnimationStop})}}else webwave.isFunction(a.onComplete)&&a.onComplete()}},{key:"canPlayHideAnimation",value:function(){var a;return this.canPlayShowOrHideAnimation()&&(!0===this.isHideAnimationEnabled()&&webwave.isDef(this._hideAnimation)||!0===(null===(a=this.getParentWNode())||void 0===a?void 0:a.canPlayHideAnimation()))}},{key:"getHideAnimationToPlay",
value:function(){var a;return this.isHideAnimationEnabled()?this.getHideAnimation():null===(a=this.getParentWNode())||void 0===a?void 0:a.getHideAnimationToPlay()}},{key:"playCurrentHideAnimation",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(this.finishCurrentAnimation(),!1!==this.canPlayHideAnimation()){var b=this.getHideAnimationToPlay();if(this._animationPlayer.playAnimation(b,{delay:a.delay,skipDelay:a.skipDelay,onComplete:a.onComplete,cleanObjectDelay:a.cleanObjectDelay,
beforeEachAnimationStart:a.beforeEachAnimationStart,afterEachAnimationStop:a.afterEachAnimationStop,animationType:f.a.HIDE}),this.hasChildren())for(var b=this.getChildren(),c=0;c<b.length;c++)!0===b[c].isVisibleForInFlow()&&b[c].playCurrentHideAnimation({delay:a.delay,skipDelay:a.skipDelay,cleanObjectDelay:a.cleanObjectDelay,beforeEachAnimationStart:a.beforeEachAnimationStart,afterEachAnimationStop:a.afterEachAnimationStop})}else webwave.isFunction(a.onComplete)&&a.onComplete()}},{key:"isAnimationEnabled",
value:function(){return this._animationEnabled}},{key:"isHideAnimationEnabled",value:function(){return this._hideAnimationEnabled}},{key:"setAnimation",value:function(a){this._animation=a}},{key:"setHideAnimation",value:function(a){this._hideAnimation=a}},{key:"setAnimationEnabled",value:function(a){this._animationEnabled=a}},{key:"setHideAnimationEnabled",value:function(a){this._hideAnimationEnabled=a}},{key:"isScrollAnimationEnabled",value:function(){return this._animationOnScrollEnabled}},{key:"setScrollAnimationEnabled",
value:function(a){var b=this._animationOnScrollEnabled!==a;this._animationOnScrollEnabled=a;b&&this.updateScrollAnimationVisibility()}},{key:"setAnimationOnScroll",value:function(a){var b=this._animationOnScroll!==a;this._animationOnScroll=a;b&&this.updateScrollAnimationVisibility()}},{key:"getAnimationOnScroll",value:function(){return this._animationOnScroll}},{key:"computeAnimationOnScrollEndPoints",value:function(){var a=this.getAnimationOnScroll().getStartStageStartValue(),b=this.getAnimationOnScroll().getStartStageStartUnit(),
a=this.convertVerticalLengthToUnit(new u.a({value:a,unit:b}),v.a.PX).getValue(),b=this.getAnimationOnScroll().computeFinishStageStartValue(),c=this.getAnimationOnScroll().getFinishStageStartUnit();return{START:a,FINISH:this.convertVerticalLengthToUnit(new u.a({value:b,unit:c}),v.a.PX).getValue()}}},{key:"computeScrollAnimationVisibility",value:function(){var a,b=null===(a=this.pageCanvas)||void 0===a?void 0:a.getCurrentPageAreaScrollY();a=this.computeAnimationOnScrollEndPoints();var c=this.getAnimationOnScroll().computeStartStageVisibility(),
d=this.getAnimationOnScroll().computeFinishStageVisibility();return b<a.START?!c:b>=a.START&&b<=a.FINISH?c:b>a.FINISH?d:void 0}},{key:"updateScrollAnimationVisibility",value:function(){this.isScrollAnimationEnabled()&&webwave.isDef(this.getAnimationOnScroll())?this.visibilities.setScrollAnimationVisibility(this.computeScrollAnimationVisibility()):this.visibilities.setScrollAnimationVisibility(void 0)}},{key:"canChangeAnimationOnScroll",value:function(){return!0}},{key:"beforeShowRealAnimationStart",
value:function(){}},{key:"beforeHideRealAnimationStart",value:function(){}},{key:"hasDisabledAnimations",value:function(){return!0===this._wNodeSettings.disableAnimations}},{key:"removeInteractionVisibility",value:function(a){this.visibilities.setInteractionVisibility(void 0);!0===a&&this.getChildren().forEach(function(b){b.removeInteractionVisibility(a)})}},{key:"setObjectAnimationQueueItem",value:function(a){var b=this.objectAnimationQueueItem!==a;this.objectAnimationQueueItem=a;b&&(this.updateBaseVisibility(),
this.getChildren(!0).forEach(function(a){a.updateBaseVisibility()}))}},{key:"hasObjectAnimationQueueItem",value:function(){return webwave.isDef(this.objectAnimationQueueItem)}}]),b}(n.a)},2071:function(n,c,b){b.d(c,"a",function(){return r});var l=b(0),p=b(1),k=b(893),g=b(331),e=b(1710),a=b(1164),d=b(111),r=function(){function b(c){Object(l.a)(this,b);void 0===c&&(c={});this.backgroundType=c.backgroundType;this.imageId=c.imageId;this.backgroundImage=c.backgroundImage;this.backgroundColor=c.backgroundColor;
this.gradient=webwave.isDef(c.gradient)?new a.a(c.gradient):void 0;this.verticalPosition=c.verticalPosition;this.horizontalPosition=c.horizontalPosition;this.repeatY=webwave.isDef(c.repeatY)?!1!==c.repeatY:void 0;this.repeatX=webwave.isDef(c.repeatX)?!1!==c.repeatX:void 0;this.backgroundSize=c.backgroundSize;this.backgroundAttachment=c.backgroundAttachment;this.parallax=c.parallax;this.enabled=c.enabled;this.backgroundImageEnabled=c.backgroundImageEnabled}return Object(p.a)(b,[{key:"toCss2Map",value:function(){var a=
{};return!1===this.enabled&&!1===this.backgroundImageEnabled?{background:"none"}:(this.enabled?a=this.backgroundType===k.a.BackgroundTypes.COLOR?{backgroundColor:webwave.isDef(this.backgroundColor)?this.backgroundColor:"transparent"}:{backgroundImage:webwave.isDef(this.gradient)?this.gradient.toBackgroundImageString():void 0}:a.backgroundColor="transparent",this.backgroundImageEnabled&&(window.fileManagerService?a.backgroundImage=window.fileManagerService.getUserFileCssUrl(this.imageId,this.backgroundSize===
g.a.FULL_WIDTH):a.backgroundImage=this.backgroundImage?this.backgroundImage:"none",Object.assign(a,{backgroundSize:this.backgroundSize,backgroundRepeat:this.generateBackgroundRepeatString(),backgroundPosition:this.horizontalPosition+" "+this.verticalPosition})),webwave.isNotDef(a.backgroundImage)&&(a.backgroundImage="none"),a)}},{key:"serialize",value:function(b){var c,d;(this.gradient instanceof a.a&&(c=this.gradient.serialize()),webwave.isDefAndNotNull(this.imageId)&&webwave.isDefAndNotNull(b.imageIdCorrector))&&
(this.imageId=null===(d=b.imageIdCorrector)||void 0===d?void 0:d.tryCorrectImageId(this.imageId));return{backgroundType:this.backgroundType,imageId:this.imageId,backgroundColor:this.backgroundColor,gradient:c,verticalPosition:this.verticalPosition,horizontalPosition:this.horizontalPosition,repeatX:this.repeatX,repeatY:this.repeatY,backgroundSize:this.backgroundSize,backgroundAttachment:this.backgroundAttachment,parallax:this.parallax,enabled:this.enabled,backgroundImageEnabled:this.backgroundImageEnabled}}},
{key:"applyPartialBackgroundMap",value:function(b){webwave.isDef(b)&&(webwave.isDef(b.backgroundAttachment)&&(this.backgroundAttachment=b.backgroundAttachment),webwave.isDef(b.backgroundColor)&&(this.backgroundColor=b.backgroundColor),webwave.isDef(b.backgroundSize)&&(this.backgroundSize=b.backgroundSize),webwave.isDef(b.backgroundType)&&(this.backgroundType=b.backgroundType),webwave.isDef(b.gradient)&&(this.gradient=new a.a(b.gradient)),webwave.isDef(b.horizontalPosition)&&(this.horizontalPosition=
b.horizontalPosition),webwave.isDef(b.verticalPosition)&&(this.verticalPosition=b.verticalPosition),webwave.isDef(b.imageId)&&(this.imageId=b.imageId),webwave.isDef(b.backgroundImage)&&(this.backgroundImage=b.backgroundImage),webwave.isDef(b.repeatX)&&(this.repeatX=b.repeatX),webwave.isDef(b.repeatY)&&(this.repeatY=b.repeatY),webwave.isDef(b.parallax)&&(this.parallax=b.parallax),webwave.isDef(b.enabled)&&(this.enabled=b.enabled),webwave.isDef(b.backgroundImageEnabled)&&(this.backgroundImageEnabled=
b.backgroundImageEnabled))}},{key:"generateBackgroundRepeatString",value:function(){return e.a.generateBackgroundRepeatString(this.repeatX,this.repeatY)}},{key:"changeWebsiteColorConnection",value:function(a,b){var c,e=d.a.changeObjectBackgroundColorPropertyWithWebsiteColor(this,a,{connection:b});a=null===(c=this.gradient)||void 0===c?void 0:c.changeWebsiteColorConnection(a,b);return e||a}},{key:"clearBackgroundImageProperties",value:function(){this.parallax=this.backgroundImage=this.repeatX=this.repeatY=
this.imageId=this.verticalPosition=this.horizontalPosition=this.backgroundSize=void 0}},{key:"clearNonBackgroundImageProperties",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.enabled=this.gradient=this.backgroundColor=void 0;a.clearBackgroundImageEnabled&&(this.backgroundImageEnabled=void 0)}},{key:"isBackgroundImageEnabledAndDefined",value:function(){return!0===this.backgroundImageEnabled&&webwave.isDefAndNotNull(this.imageId)}},{key:"applyImagePropertiesIfNotDefined",
value:function(a){webwave.isDef(a)&&(webwave.isDef(a.backgroundAttachment)&&webwave.isNotDef(this.backgroundAttachment)&&(this.backgroundAttachment=a.backgroundAttachment),webwave.isDef(a.backgroundSize)&&webwave.isNotDef(this.backgroundSize)&&(this.backgroundSize=a.backgroundSize),webwave.isDef(a.backgroundType)&&webwave.isNotDef(this.backgroundType)&&(this.backgroundType=a.backgroundType),webwave.isDef(a.horizontalPosition)&&webwave.isNotDef(this.horizontalPosition)&&(this.horizontalPosition=a.horizontalPosition),
webwave.isDef(a.verticalPosition)&&webwave.isNotDef(this.verticalPosition)&&(this.verticalPosition=a.verticalPosition),webwave.isDef(a.imageId)&&webwave.isNotDef(this.imageId)&&(this.imageId=a.imageId),webwave.isDef(a.backgroundImage)&&webwave.isNotDef(this.backgroundImage)&&(this.backgroundImage=a.backgroundImage),webwave.isDef(a.repeatX)&&webwave.isNotDef(this.repeatX)&&(this.repeatX=a.repeatX),webwave.isDef(a.repeatY)&&webwave.isNotDef(this.repeatY)&&(this.repeatY=a.repeatY))}}]),b}()},2072:function(n,
c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(2073),g=function(){function b(a){Object(l.a)(this,b);void 0===a&&(a={});this.top=webwave.isDef(a.top)?new k.a(a.top):void 0;this.right=webwave.isDef(a.right)?new k.a(a.right):void 0;this.bottom=webwave.isDef(a.bottom)?new k.a(a.bottom):void 0;this.left=webwave.isDef(a.left)?new k.a(a.left):void 0;this.radius="number"==typeof a.radius?a.radius:void 0;this.enabled=webwave.isBoolean()?a.enabled:void 0;this.roundingEnabled=webwave.isBoolean(a.roundingEnabled)?
a.roundingEnabled:void 0}return Object(p.a)(b,[{key:"serialize",value:function(){var a={radius:this.radius,enabled:this.enabled,roundingEnabled:this.roundingEnabled};return webwave.isDef(this.top)&&(a.top=this.top.serialize()),webwave.isDef(this.right)&&(a.right=this.right.serialize()),webwave.isDef(this.bottom)&&(a.right=this.right.serialize()),webwave.isDef(this.left)&&(a.right=this.right.serialize()),a}},{key:"toCss2Map",value:function(){var a={};return webwave.isDef(this.radius)&&(css2Map.borderRadius=
(this.roundingEnabled?this.radius:0)+"px"),webwave.isDef(this.top)&&(a.borderTopWidth=this.enabled?this.top.width:"0px",a.borderTopStyle=this.top.style,a.borderTopColor=this.top.color),webwave.isDef(this.right)&&(a.borderRightWidth=this.enabled?this.right.width:"0px",a.borderRightStyle=this.right.style,a.borderRightColor=this.right.color),webwave.isDef(this.bottom)&&(a.borderBottomWidth=this.enabled?this.bottom.width:"0px",a.borderBottomStyle=this.bottom.style,a.borderBottomColor=this.bottom.color),
webwave.isDef(this.left)&&(a.borderLeftWidth=this.enabled?this.left.width:"0px",a.borderLeftStyle=this.left.style,a.borderLeftColor=this.left.color),a}},{key:"applyPartialBorderMap",value:function(a){webwave.isDef(a)&&(webwave.isDef(a.top)&&(webwave.isDef(this.top)?this.top.applyPartialSingleBorderMap(a.top):this.top=new k.a(a.top)),webwave.isDef(a.right)&&(webwave.isDef(this.right)?this.right.applyPartialSingleBorderMap(a.right):this.right=new k.a(a.right)),webwave.isDef(a.bottom)&&(webwave.isDef(this.bottom)?
this.bottom.applyPartialSingleBorderMap(a.bottom):this.bottom=new k.a(a.bottom)),webwave.isDef(a.left)&&(webwave.isDef(this.left)?this.left.applyPartialSingleBorderMap(a.left):this.left=new k.a(a.left)),webwave.isNumberAndNotNaN(a.radius)&&(this.radius=a.radius),webwave.isDef(a.enabled)&&(this.enabled=a.enabled),webwave.isBoolean(a.roundingEnabled)&&(this.roundingEnabled=a.roundingEnabled))}},{key:"removeAllBorderWidths",value:function(){webwave.isDef(this.top)&&this.top.removeWidth();webwave.isDef(this.right)&&
this.right.removeWidth();webwave.isDef(this.bottom)&&this.bottom.removeWidth();webwave.isDef(this.left)&&this.left.removeWidth()}},{key:"changeWebsiteColorConnection",value:function(a,b){var c,e,g,f,k=!0===(null===(c=this.left)||void 0===c?void 0:c.changeWebsiteColorConnection(a,b));c=!0===(null===(e=this.right)||void 0===e?void 0:e.changeWebsiteColorConnection(a,b));e=!0===(null===(g=this.top)||void 0===g?void 0:g.changeWebsiteColorConnection(a,b));a=!0===(null===(f=this.bottom)||void 0===f?void 0:
f.changeWebsiteColorConnection(a,b));return k||c||e||a}}],[{key:"deserialize",value:function(a){return void 0===a&&(a={}),new b({top:k.a.deserialize(a.top),right:k.a.deserialize(a.right),bottom:k.a.deserialize(a.bottom),left:k.a.deserialize(a.left),radius:a.radius,enabled:a.enabled,roundingEnabled:a.roundingEnabled})}}]),b}()},2073:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(111),g=function(){function b(a){Object(l.a)(this,b);void 0===a&&(a={});this.width="number"==typeof a.width?
a.width:void 0;this.color="string"==typeof a.color?a.color:void 0;this.style=void 0!==a.style?a.style:void 0}return Object(p.a)(b,[{key:"serialize",value:function(){return{width:this.width,color:this.color,style:this.style}}},{key:"applyPartialSingleBorderMap",value:function(a){webwave.isDef(a)&&(webwave.isNumberAndNotNaN(a.width)&&(this.width=a.width),webwave.isDef(a.style)&&(this.style=a.style),webwave.isDef(a.color)&&(this.color=a.color))}},{key:"removeWidth",value:function(){this.width=void 0}},
{key:"changeWebsiteColorConnection",value:function(a,b){return k.a.changeObjectColorPropertyWithWebsiteColor(this,a,{connection:b})}}]),b}()},2074:function(n,c,b){b.d(c,"a",function(){return e});var l=b(0),p=b(1),k=b(116),g=b(111),e=function(){function a(b){if(Object(l.a)(this,a),void 0===b&&(b={}),this.enabled=b.enabled,this.color,webwave.isString(b.color))if(k.a.isColorStartWithAnyOfPhrase(b.color,["rgba","var"]))this.color=b.color;else if(k.a.isColorStartWithRgbPhrase(b.color)){var c=webwave.isDef(b.opacity)?
b.opacity/100:1;this.color=k.a.rgbAndOpacityToRgba(b.color,c)}this.x="number"==typeof b.x?b.x:void 0;this.y="number"==typeof b.y?b.y:void 0;this.blur="number"==typeof b.blur?b.blur:void 0}return Object(p.a)(a,[{key:"serialize",value:function(){return{enabled:this.enabled,color:this.color,x:this.x,y:this.y,blur:this.blur}}},{key:"toBoxShadowString",value:function(){return!0===this.enabled&&webwave.isDef(this.color)&&webwave.isDef(this.x)&&webwave.isDef(this.y)&&webwave.isDef(this.blur)?this.x+"px "+
this.y+"px "+this.blur+"px "+this.color:"none"}},{key:"toCss2Map",value:function(){return{boxShadow:this.toBoxShadowString()}}},{key:"applyPartialShadowMap",value:function(a){webwave.isDef(a)&&(webwave.isDef(a.enabled)&&(this.enabled=a.enabled),webwave.isDef(a.color)&&(this.color=a.color),webwave.isDef(a.x)&&(this.x=a.x),webwave.isDef(a.y)&&(this.y=a.y),webwave.isDef(a.blur)&&(this.blur=a.blur))}},{key:"changeWebsiteColorConnection",value:function(a,b){return g.a.changeObjectColorPropertyWithWebsiteColor(this,
a,{connection:b})}}],[{key:"deserialize",value:function(a){return newPartialShadowMap(a)}}]),a}()},2075:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(1298),g=function(){function b(a){Object(l.a)(this,b);webwave.isNotDef(a)&&(a={});this.padding=k.a.deserialize(a.padding)}return Object(p.a)(b,null,[{key:"deserialize",value:function(a){return new b(a)}}]),b}()},2083:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;
if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(a){var d;return Object(p.a)(this,b),webwave.isNotDef(a.duration)&&(a.duration=b.DEFAULT_AUTO_ANIMATION_TIME),
(d=c.call(this,a))._animation=a.animation,d._initialAnimProgress=a.animation.getCurrentProgress(),d._direction=a.direction,d._finalAnimProgress="backward"===a.direction?0:1,d._animationProgressDelta=d._finalAnimProgress-d._initialAnimProgress,d._animation._onComplete=a.onComplete,d}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"tick",value:function(){this._animation.setCurrentTime((this._initialAnimProgress+this._animationProgressDelta*this._progress)*this._animation.getDuration());this._animation.updateValues();
this._animation.render();webwave.isFunction(this._animation._stepCallback)&&this._animation._stepCallback()}},{key:"finish",value:function(){this._animation.finish()}}],[{key:"createRevertAnimation",value:function(a){if(a instanceof b){var c="backward"===a._direction?"forward":"backward",d="forward"===c?a._animation.getDuration()-a._animation.getCurrentTime():a._animation.getCurrentTime();return new b({animation:a._animation,onComplete:a._animation._onComplete,duration:d,direction:c})}return new b({animation:a,
direction:"backward",duration:a.getCurrentTime(),onComplete:a._onComplete})}}]),b}(b(1288).a);d.DEFAULT_AUTO_ANIMATION_TIME=150},2103:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,
arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(){return Object(p.a)(this,b),c.apply(this,arguments)}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"getSource",value:function(){return this._source}}]),b}(b(2104).a)},2104:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(c){Object(l.a)(this,b);this._source=c}return Object(p.a)(b,[{key:"getSource",
value:function(){return this._source}}]),b}()},2105:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,b);this.countPushDownAttrOnUpdate=this.enableInvokeAutoRwdPopup=this.disableShadowStyle=this.supportVariableBackgroundManipulationInHoverState=this.excludedFromSizeComputation=this.disableCustomBindsPerRwdMode=this.enableBindsInheritanceInBothDirections=this.disableAnimations=
this.enableVisibilityWithoutChildren=this.enableFlowWithoutChildren=this.disableAlternateStickyChildren=this.disableAlternateFixedChildren=!1;webwave.isDefAndNotNull(c.disableAlternateFixedChildren)&&(this.disableAlternateFixedChildren=c.disableAlternateFixedChildren);webwave.isDefAndNotNull(c.disableAlternateStickyChildren)&&(this.disableAlternateStickyChildren=c.disableAlternateStickyChildren);webwave.isDefAndNotNull(c.enableFlowWithoutChildren)&&(this.enableFlowWithoutChildren=c.enableFlowWithoutChildren);
webwave.isDefAndNotNull(c.enableVisibilityWithoutChildren)&&(this.enableVisibilityWithoutChildren=c.enableVisibilityWithoutChildren);webwave.isDefAndNotNull(c.disableAnimations)&&(this.disableAnimations=c.disableAnimations);webwave.isDefAndNotNull(c.enableBindsInheritanceInBothDirections)&&(this.enableBindsInheritanceInBothDirections=c.enableBindsInheritanceInBothDirections);webwave.isDefAndNotNull(c.disableCustomBindsPerRwdMode)&&(this.disableCustomBindsPerRwdMode=c.disableCustomBindsPerRwdMode);
webwave.isDefAndNotNull(c.excludedFromSizeComputation)&&(this.excludedFromSizeComputation=c.excludedFromSizeComputation);webwave.isDefAndNotNull(c.supportVariableBackgroundManipulationInHoverState)&&(this.supportVariableBackgroundManipulationInHoverState=c.supportVariableBackgroundManipulationInHoverState);webwave.isDefAndNotNull(c.disableShadowStyle)&&(this.disableShadowStyle=c.disableShadowStyle);webwave.isDefAndNotNull(c.countPushDownAttrOnUpdate)&&(this.countPushDownAttrOnUpdate=c.countPushDownAttrOnUpdate)}
return Object(p.a)(b,[{key:"hasEnabledBindsInheritanceInBothDirections",value:function(){return!0===this.enableBindsInheritanceInBothDirections}},{key:"hasDisabledCustomBindsPerRwdMode",value:function(){return this.disableCustomBindsPerRwdMode}},{key:"hasCountPushDownAttrOnUpdate",value:function(){return this.countPushDownAttrOnUpdate}},{key:"isExcludedFromSizeComputation",value:function(){return this.excludedFromSizeComputation}},{key:"isShadowStyleDisabled",value:function(){return!0===this.disableShadowStyle}},
{key:"isSupportVariableBackgroundManipulationInHoverState",value:function(){return!0===this.supportVariableBackgroundManipulationInHoverState}},{key:"isEnableInvokeAutoRwdPopup",value:function(){return!0===this.enableInvokeAutoRwdPopup}}]),b}()},2115:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1);b(1288);webwave.provide("com.webwave.animator.Animator");var k=function(){function b(){Object(l.a)(this,b);this._animationQueue=[];this._running=!1;this._rafPtr}return Object(p.a)(b,[{key:"registerAnimation",
value:function(b){-1===this._animationQueue.indexOf(b)&&(this._animationQueue.push(b),!1===this._running&&this._start())}},{key:"unregisterAnimation",value:function(b){b=this._animationQueue.indexOf(b);-1!==b&&this._animationQueue.splice(b,1);0===this._animationQueue.length&&this._stop()}},{key:"_handleTick",value:function(c){var a,d=this._animationQueue.slice(0);this._rafPtr=b.requestAnimationFrame(this._handleTick.bind(this));for(var k=0;k<d.length;k++){a=d[k];try{!1===a.isStarted()&&a.start(c),
!0===a.isRunning()&&(a.setCurrentTime(c-a.getStartTime()),a.tick()),a.getCurrentTime()>=a.getDuration()&&a.stop(!0),!0===a.isFinished()&&this.unregisterAnimation(a)}catch(l){webwave.debug(l),this.unregisterAnimation(a)}}}},{key:"_stop",value:function(){!0===this._running&&(this._running=!1,webwave.isDef(this._rafPtr)&&b.cancelAnimationFrame(this._rafPtr))}},{key:"_start",value:function(){!1===this._running&&(this._running=!0,this._rafPtr=b.requestAnimationFrame(this._handleTick.bind(this)))}}]),b}();
k.cancelAnimationFrame=function(b){window.cancelAnimationFrame(b)};k.requestAnimationFrame=function(b){return window.requestAnimationFrame(b)};com.webwave.animator.Animator=k;com.webwave.animator.animator=new k},2149:function(n,c,b){c.a={HOVER:"hover",VISIBLE:"visible"}},2241:function(n,c,b){b.d(c,"a",function(){return a});var l=b(0),p=b(110),k=b(2075),g=b(1163),e=b(1177),a=function r(a){Object(l.a)(this,r);this.positionOrigin=a.positionOrigin;this.position=new g.a(a.position);this.size=new e.a(a.size);
this.fullWidth=a.fullWidth;this.additionalProperties=a.additionalProperties;this.animation=a.animation;this.hideAnimation=a.hideAnimation;this.visibility=a.visibility;this.style=k.a.deserialize(a.style);this.binds=a.binds;this.rotationEnabled=a.rotationEnabled;this.rotation=a.rotation;this.animationOnScrollEnabled=a.animationOnScrollEnabled;this.animationOnScroll=a.animationOnScroll;this.fixed=a.fixed;this.sticky=a.sticky;this.stickyStartDistance=new p.a(a.stickyStartDistance);this.stickyEndDistance=
new p.a(a.stickyEndDistance);this.stickyEndDistanceEnabled=a.stickyEndDistanceEnabled}},2242:function(n,c,b){},2248:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var f;f=Object(d.a)(b);if(c){var e=Object(d.a)(this).constructor;f=Reflect.construct(f,arguments,
e)}else f=f.apply(this,arguments);return Object(a.a)(this,f)}}b.d(c,"a",function(){return z});var p,k=b(0),g=b(1),e=b(3),a=b(4),d=b(2),r=b(150),u=b(2249),v=b(2250);n=b(25);var f=b(32),w=b(2251),B=b(2253);c=b(14);b.n(c);var z=Object(c.injectable)()(p=function(a){function b(){var a;Object(k.a)(this,b);for(var d=arguments.length,f=Array(d),e=0;e<d;e++)f[e]=arguments[e];return(a=c.call.apply(c,[this].concat(f))).pageAreaService=null,a.objectService=null,a.browserWebPSupportUtils=null,a.pageCanvas=null,
a}Object(e.a)(b,a);var c=l(b);return Object(g.a)(b,[{key:"updateBackgroundSize",value:function(){var a=this.objectService.getRootWObject(),a=a.getComputedPosition().getY()+a.getComputedSize().getHeight(),b=this.pageAreaService.getWindowHeight();this.pageAreaService.setBodyHeight(Math.max(a+this.getAdvertisementHeight()+this.getCommentsHeaderHeight(),b));this.pageAreaService.updateScrollVisibility()}},{key:"getAdvertisementHeight",value:function(){var a=$("#ww_advertisement_bottom_container_wrapper");
return 1==a.length?a[0].offsetHeight:0}},{key:"getCommentsHeaderHeight",value:function(){var a=$("#headerBoxPublication");return 1===a.length&&a.is(":visible")?a.outerHeight():0}},{key:"disableScrollPreventEvents",value:function(){$("html,body").off("scroll.pageScroll mousedown.pageScroll wheel.pageScroll DOMMouseScroll.pageScroll mousewheel.pageScroll keyup.pageScroll touchmove.pageScroll")}},{key:"scrollPageToElement",value:function(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:
{};if(a.length&&!this._scrollIsNotAvailableForTargetElement(a)){var c;c=webwave.isNumberAndNotNaN(parseInt(b.margin))?parseInt(b.margin):0;if(!0===b.forceTop)(c=new v.a({element:a[0],margin:c})).setPageCanvas(this.getPageCanvas());else{var b=this.objectService.pageCanvas.getPositionRelativeToPageArea(a[0]),b=new r.a({size:new f.a({width:a[0].offsetWidth,height:a[0].offsetHeight}),position:b}),d=this.objectService.pageCanvas.getViewPort(),e=d.getY1();b.getY1()<d.getY1()?e=b.getY1()-c:b.getY2()+c+this.getAdvertisementHeight()>
d.getY2()&&(e=b.getY2()+c+this.getAdvertisementHeight()-d.getHeight());c=new u.a({yPosition:e})}(new w.a({scrollArea:new B.a,scrollTarget:c})).scroll()}}},{key:"initLinkScroll",value:function(){var a=this,b=utilService.extractGETParameter("anchorElement"),c=utilService.extractGETParameter("scrollMargin");b&&setTimeout(function(){a.scrollPageToElement($("#".concat(b)),{margin:c,forceTop:!0})},0)}},{key:"getPathForAjax",value:function(){var a="";return-1!==document.URL.indexOf("localhost")&&(a="/webwaver_front"),
a}},{key:"getWebsiteId",value:function(){return $("#websiteId").val()}},{key:"getWindowScroll",value:function(){return webwave.isDef(window.pageYOffset)?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop}},{key:"getWindowWidth",value:function(){return window.innerWidth}},{key:"initDownloadProtection",value:function(){var a=$("#ww_download_protection");0<a.length&&"true"===a.val()&&$(window).on("contextmenu.downloadProtection",function(a){0<$((null===a||
void 0===a?void 0:a.originalEvent)instanceof CustomEvent?a.detail.target:a.target).closest('.ww_element[data-element-type="img"], .ww_element[data-element-type="gallery"], .ww_element[data-element-type="slider"], .ww_element[data-element-type="lightbox"],.ww_element[data-element-type="carousel"],.ww_element[data-element-type="text"] img,.pswp').length&&(a.preventDefault(),alert($("#ww_download_protection_text").val()))})}},{key:"getPageId",value:function(){return document.getElementById("pageId").getAttribute("value")}},
{key:"isCurrentPageNewspage",value:function(){var a=this.getPageId();return!!webwave.isString(a)&&a.startsWith("newspage")}},{key:"addPageTypeClassToBody",value:function(){this.isCurrentPageNewspage()&&$(document.body).addClass("newspage")}},{key:"setPageAreaService",value:function(a){this.pageAreaService=a}},{key:"setObjectService",value:function(a){this.objectService=a}},{key:"setBrowserWebPSupportUtils",value:function(a){this.browserWebPSupportUtils=a}},{key:"setPageCanvas",value:function(a){this.pageCanvas=
a}},{key:"getPageCanvas",value:function(){return this.pageCanvas}},{key:"_scrollIsNotAvailableForTargetElement",value:function(a){a=this.objectService.getWObjectById(a.attr("id"));return webwave.isDef(a)&&!1===a.canBeTargetScroll()}}]),b}(n.a))||p},2249:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),
!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(a){var d;return Object(p.a)(this,b),(d=c.call(this))._yPosition=a.yPosition,d}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"getYPositionToScroll",value:function(){return this._yPosition}}]),b}(b(1929).a)},
2250:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var g=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,g)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return r});var p=b(0),
k=b(1),g=b(3),e=b(4),a=b(2),d=b(1929),r=function(a){function b(a){var d;return Object(p.a)(this,b),(d=c.call(this))._element=a.element,d._margin=a.margin,d}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"getYPositionToScroll",value:function(){return this.pageCanvas.getPositionRelativeToPageArea(this._element).getY()-this._margin}},{key:"setPageCanvas",value:function(a){this.pageCanvas=a}},{key:"_calculateAnimationTimeBaseOnTargetPosition",value:function(){var a=this.pageCanvas.getViewPort(),
a=Math.abs(this.getYPositionToScroll()-a.getY1());return Math.min(Math.floor(a/2),d.a.MAX_ANIMATION_TIME)}}]),b}(d.a)},2251:function(n,c,b){b.d(c,"a",function(){return e});var l=b(0),p=b(1),k=b(113),g=b(2252),e=function(){function a(b){Object(l.a)(this,a);this._interactionWasCalled=!1;this._scrollTarget=b.scrollTarget;this._scrollArea=b.scrollArea;this._interactionHandler=this._turnOnInteractionCalledFlag.bind(this)}return Object(p.a)(a,[{key:"scroll",value:function(){this._enableTurnOffScrollingOnInteraction();
this._startScrolling()}},{key:"_enableTurnOffScrollingOnInteraction",value:function(){var b=this;a.INTERACTIONS.forEach(function(a){b._getElementToInteractionListener().addEventListener(a,b._interactionHandler)})}},{key:"_getCurrentScrollPosition",value:function(){return this._scrollArea.getCurrentScrollPosition()}},{key:"_getElementToInteractionListener",value:function(){return document.querySelector("body")}},{key:"_normalizeScrollProgress",value:function(a){return k.a.limitValue(a,0,1)}},{key:"_removeInteractionListeners",
value:function(){var b=this;a.INTERACTIONS.forEach(function(a){b._getElementToInteractionListener().removeEventListener(a,b._interactionHandler)})}},{key:"_startScrolling",value:function(){var a=this,b=this._scrollTarget.getAnimationTime(),c=this._getCurrentScrollPosition(),e=null;g.a.requestAnimationFrame(function w(k){var l=a._scrollTarget.getYPositionToScroll();k-=e=webwave.isNotDefOrNull(e)?k:e;var p=a._normalizeScrollProgress(k/b),p=c+(l-c)*p;if(a._scrollToPosition(p),!0===a._interactionWasCalled)return a._stopScrolling(),
void a._removeInteractionListeners();k<b?g.a.requestAnimationFrame(w):(p!==l&&a._scrollToPosition(l),a._removeInteractionListeners())})}},{key:"_scrollToPosition",value:function(a){this._scrollArea.scrollTo(a)}},{key:"_stopScrolling",value:function(){this._scrollToPosition(this._getCurrentScrollPosition())}},{key:"_turnOnInteractionCalledFlag",value:function(){this._interactionWasCalled=!0}}]),a}();e.INTERACTIONS="scroll mousedown wheel DOMMouseScroll mousewheel keyup touchmove".split(" ")},2252:function(n,
c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,null,[{key:"requestAnimationFrame",value:function(b){window.requestAnimationFrame(b)}}]),b}()},2253:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();
return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(){return Object(p.a)(this,b),c.apply(this,arguments)}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"getCurrentScrollPosition",value:function(){return window.pageYOffset}},{key:"scrollTo",value:function(a){window.scrollTo(0,
a)}}]),b}(b(2254).a)},2254:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,[{key:"getCurrentScrollPosition",value:function(){return 0}},{key:"scrollTo",value:function(b){}}]),b}()},2350:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(c,a,d){Object(l.a)(this,b);this.z=this.x=this.y=0;webwave.isNumberAndNotNaN(c)?(this.x=c,webwave.isNumberAndNotNaN(a)&&(this.y=a),webwave.isNumberAndNotNaN(d)&&
(this.z=d)):webwave.isDef(c)&&(webwave.isNumberAndNotNaN(c.x)&&(this.x=c.x),webwave.isNumberAndNotNaN(c.y)&&(this.y=c.y),webwave.isNumberAndNotNaN(c.z)&&(this.z=c.z))}return Object(p.a)(b,[{key:"subtract",value:function(b){this.x-=b.x;this.y-=b.y;this.z-=b.z}},{key:"serialize",value:function(){return{x:this.x,y:this.y,z:this.z}}},{key:"getX",value:function(){return this.x}},{key:"getY",value:function(){return this.y}},{key:"getZ",value:function(){return this.z}}]),b}()},24:function(n,c,b){b.d(c,"a",
function(){return g});var l=b(0),p=b(1),k=b(128),g=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,null,[{key:"setWindowConfigValue",value:function(a,c){b.setValue(window.config,a,c)}},{key:"setValue",value:function(a,b,c){if(webwave.isString(b)){b=b.split(".");a=webwave.isDef(a)?a:window.config;for(var e=0;e<b.length-1;e++)webwave.isNotDef(a[b[e]])&&(a[b[e]]={}),a=a[b[e]];a[b[b.length-1]]=c}}},{key:"getValue",value:function(a,b,c){if(webwave.isString(a)){a=a.split(".");c=webwave.isDef(c)?
c:window.config;if(webwave.isNotDef(c))return b;for(var e=0;e<a.length;e++){if(!webwave.isDef(c[a[e]]))return b;c=c[a[e]]}return c}return null}},{key:"getDecodedJSON",value:function(a){a=k.a.decodeHtml(b.getValue(a));return webwave.isValidJSON(a)?JSON.parse(a):{}}},{key:"isValueExists",value:function(a,c){return webwave.isDef(b.getValue(a,c))}}]),b}()},25:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==
typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var f;f=Object(d.a)(b);if(c){var e=Object(d.a)(this).constructor;f=Reflect.construct(f,arguments,e)}else f=f.apply(this,arguments);return Object(a.a)(this,f)}}b.d(c,"a",function(){return r});var p,k=b(0),g=b(1),e=b(3),a=b(4),d=b(2);n=b(62);c=b(14);b.n(c);b(16);var r=Object(c.injectable)()(p=function(a){function b(){var a;return Object(k.a)(this,b),
a=c.call(this),webwave.isFunction(a.__wCommandRegister)&&a.__wCommandRegister(),a}Object(e.a)(b,a);var c=l(b);return Object(g.a)(b,[{key:"init",value:function(){}}]),b}(n.a))||p},2588:function(n,c,b){b(2589);b(2591);b(2609)},2589:function(n,c,b){var l=b(0),p=b(1),k=b(42),g=b(2590);webwave.provide("com.webwave.ui.swipeable.Swipeable");var e=0;n=function(){function a(b,c){Object(l.a)(this,a);webwave.isNotDef(c)&&(c={});this._element=b;this._$element=$(b);this._delegatedElements=webwave.isString(c._delegatedElements)?
c._delegatedElements:"";this._id=++e;this._$eventContainer=$(window);this._detectingSwipe=!1;this._eventNamespace="swipeable_"+this._id;this._horizontalSwipeInProgress=!1;this._onStartHandler=c.onStart;this._swipeHandler=c.onSwipe;this._onStopHandler=c.onStop;this._swipeData=null;this._swipeDetectionMinDistance=webwave.isNumber(c.minDistance)?c.minDistance:a.DEFAULT_SWIPE_MIN_DISTANCE;this._noClickPrevent=!0===c.noClickPrevent;this.startEventListeners();this._lastSwipeEndDate=0}return Object(p.a)(a,
[{key:"startEventListeners",value:function(){var b=this._eventNamespace,c=this;this._$element.on("touchstart."+b+" mousedown."+b,this._delegatedElements,function(a){"mousedown"===a.type&&1!==a.which||c._startSwipeDetection(a)});this._$element.on("click."+b,this._delegatedElements,function(b){b.timeStamp-c._lastSwipeEndDate<a.PREVENT_CLICK_TRESHOLD&&(b.preventDefault(),b.stopPropagation())})}},{key:"stopEventListeners",value:function(){var a=this._eventNamespace;this._$element.off("touchstart."+a+
" mousedown."+a)}},{key:"_updateSwipeDataByEvent",value:function(b){b=a.getPositionByEvent(b);b.subtract(this._swipeData.startPoint);this._swipeData.setSwipe(b)}},{key:"_startSwipeDetection",value:function(b){var c=this;this._stopSwipeDetection();this._detectingSwipe=!0;var e=a.getPositionByEvent(b);this._swipeData=new g.a({startPoint:e});var k=this._eventNamespace,f=e;this._$eventContainer.on("mousemove."+k+" touchmove."+k,function(e){var g=a.getPositionByEvent(e);f.x!=g.x&&e.preventDefault();c._updateSwipeDataByEvent(e);
e=c._swipeData.swipe;Math.abs(e.x)>c._swipeDetectionMinDistance?(c._stopSwipeDetection(),c._startHorizontalSwiping(b)):Math.abs(e.y)>c._swipeDetectionMinDistance&&c._stopSwipeDetection();f=g});this._$eventContainer.on("mouseup."+k+" touchend."+k,this._stopSwipeDetection.bind(this))}},{key:"_stopSwipeDetection",value:function(){if(!0===this._detectingSwipe){var a=this._eventNamespace;this._$eventContainer.off("mousemove."+a+" touchmove."+a);this._$eventContainer.off("mouseup."+a+" touchend."+a);this._detectingSwipe=
!1}}},{key:"_startHorizontalSwiping",value:function(a){this._stopHorizontalSwiping();this._horizontalSwipeInProgress=!0;webwave.isFunction(this._onStartHandler)&&this._onStartHandler.call(this._element,a,this._swipeData);a=this._eventNamespace;this._$eventContainer.on("mousemove."+a+" touchmove."+a,this._ownSwipeHandler.bind(this));this._$eventContainer.on("mouseup."+a+" touchend."+a,this._ownSwipeEndHandler.bind(this))}},{key:"_ownSwipeHandler",value:function(a){this._updateSwipeDataByEvent(a);webwave.isFunction(this._swipeHandler)&&
this._swipeHandler.call(this._element,a,this._swipeData);a.preventDefault()}},{key:"_ownSwipeEndHandler",value:function(a){this._lastSwipeEndDate=a.timeStamp;this._stopHorizontalSwiping();webwave.isFunction(this._onStopHandler)&&this._onStopHandler.call(this._element,a,this._swipeData)}},{key:"_stopHorizontalSwiping",value:function(){if(!0===this._horizontalSwipeInProgress){var a=this._eventNamespace;this._$eventContainer.off("mousemove."+a+" touchmove."+a);this._$eventContainer.off("mouseup."+a+
" touchend."+a);this._horizontalSwipeInProgress=!1}}},{key:"dispose",value:function(a){this.stopEventListeners()}}]),a}();com.webwave.ui.swipeable.Swipeable=n;n.DEFAULT_SWIPE_MIN_DISTANCE=8;n.PREVENT_CLICK_TRESHOLD=200;n.getPositionByEvent=function(a){var b=new k.a(0,0);"touchstart"==a.type||"touchmove"==a.type||"touchend"==a.type||"touchcancel"==a.type?(a=a.originalEvent.touches[0]||a.originalEvent.changedTouches[0],b.x=a.pageX,b.y=a.pageY):"mousedown"!=a.type&&"mouseup"!=a.type&&"mousemove"!=a.type&&
"mouseover"!=a.type&&"mouseout"!=a.type&&"mouseenter"!=a.type&&"mouseleave"!=a.type||(b.x=a.pageX,b.y=a.pageY);return b}},2590:function(n,c,b){b.d(c,"a",function(){return e});var l=b(0),p=b(1),k=b(42),g=b(175);webwave.provide("com.webwave.ui.swipeable.SwipeData");var e=function(){function a(b){Object(l.a)(this,a);webwave.isNotDef(b)&&(b={});this.startPoint=webwave.isDef(b.startPoint)?b.startPoint:new k.a(0,0);this.swipe=webwave.isDef(b.swipe)?b.swipe:new k.a(0,0);this.direction=a.getDirectionByVector(this.swipe)}
return Object(p.a)(a,[{key:"setSwipe",value:function(b){this.swipe=b;this.direction=a.getDirectionByVector(this.swipe)}}]),a}();com.webwave.ui.swipeable.SwipeData=e;e.getDirectionByVector=function(a){return 0<a.x?g.a.RIGHT:g.a.LEFT}},2591:function(n,c,b){var l=b(0),p=b(1),k=b(2592),g=b(2598),e=b(2599),a=b(2600),d=b(2601),r=b(2602),u=b(2603),v=b(2604),f=b(2605),w=b(2606),B=b(2607),z=b(2608),G=[d.a,r.a,g.a,v.a,a.a,z.a,B.a,w.a];n=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,[{key:"createAnimationByName",
value:function(b,c){switch(b){case "slide":return new v.a(c);case "crossfade":return new g.a(c);case "spinfade":return new f.a(c);case "cube":return new e.a(c);case "open":return new u.a(c);case "fade":return new d.a(c);case "fadeInOver":return new r.a(c);case "explosion":return new a.a(c);case "squareVortex":return new z.a(c);case "squareShutter":return new B.a(c);case "squareFall":return new w.a(c);case "advancedFadeAnimation":return new k.a(c);case "random":return new (0,G[parseInt(Math.random()*
G.length)])(c);default:return new v.a(c)}}}],[{key:"getInstance",value:function(){return webwave.isNotDef(b.__instance)&&(b.__instance=new b),b.__instance}}]),b}();webwave.provide("com.webwave.webgal.animation.ChangeAnimationService");com.webwave.webgal.animation.ChangeAnimationService=n},2592:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return f});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=b(2593),r=b(2595),u=b(2596),v=b(2597),f=function(a){function b(a){Object(p.a)(this,b);var f=(a=c.call(this,a))._panel.children().eq(0).clone();a._$panelParent.prepend(f);var e=window.getComputedStyle(a._panel.children()[0]),
g=window.getComputedStyle(a._nextPanel.children()[0]);return a._borderRadiusTransitions={topLeft:new v.a(parseInt(e.borderTopLeftRadius),parseInt(g.borderTopLeftRadius)),topRight:new v.a(parseInt(e.borderTopRightRadius),parseInt(g.borderTopRightRadius)),bottomLeft:new v.a(parseInt(e.borderBottomLeftRadius),parseInt(g.borderBottomLeftRadius)),bottomRight:new v.a(parseInt(e.borderBottomRightRadius),parseInt(g.borderBottomRightRadius))},a._opacityTransition=new v.a(parseFloat(e.opacity),parseFloat(g.opacity),
1),a._backgroundColorTransition=new r.a(e.backgroundColor,g.backgroundColor),a._borderColorsTransitions={top:new r.a(e.borderTopColor,g.borderTopColor),right:new r.a(e.borderRightColor,g.borderRightColor),bottom:new r.a(e.borderBottomColor,g.borderBottomColor),left:new r.a(e.borderLeftColor,g.borderLeftColor)},a._boxShadowTransition=new d.a(e.boxShadow,g.boxShadow),a._filterTransition=new u.a(e.filter,g.filter),f[0].style.overflow="hidden",a._$helper=f,a._panel[0].style.visibility="hidden",a._nextPanel[0].style.visibility=
"hidden",a._$panelParent[0].style.overflow="visible",a._hasDifferentBackgroundImage=b.isBackgroundImageDifferent(e,g),a._hasDifferentHtml=a._panel.find(".wwTextContent")[0]&&a._panel.find(".wwTextContent")[0].outerHTML!==a._nextPanel.find(".wwTextContent")[0].outerHTML,f.html(""),a._hasDifferentBackgroundImage&&(f[0].style.backgroundImage="none",a._$imageHelper1=a._panel.children().eq(0).clone(),a._$imageHelper2=a._nextPanel.children().eq(0).clone(),a._prepareHelperForBackgroundImageAnimation(a._$imageHelper1),
a._prepareHelperForBackgroundImageAnimation(a._$imageHelper2),a._$helper.append(a._$imageHelper1,a._$imageHelper2)),a._hasDifferentHtml?(a._$htmlHelper1=a._panel.children().eq(0).clone(),a._prepareHelperForHtmlAnimation(a._$htmlHelper1),a._$htmlHelper2=a._nextPanel.children().eq(0).clone(),a._prepareHelperForHtmlAnimation(a._$htmlHelper2),a._$helper.append(a._$htmlHelper1,a._$htmlHelper2)):(a._$htmlHelper1=a._panel.children().eq(0).clone(),a._prepareHelperForHtmlAnimation(a._$htmlHelper1),a._$helper.append(a._$htmlHelper1)),
a._backgroundOverlayHelper1=a._panel.children().eq(1).clone(),a._backgroundOverlayHelper2=a._nextPanel.children().eq(1).clone(),a._$helper.parent().append(a._backgroundOverlayHelper1,a._backgroundOverlayHelper2),a._opacityTransition1=new v.a(1,0),a._opacityTransition2=new v.a(0,1),a}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"_prepareHelperForBackgroundImageAnimation",value:function(a){var b=a[0].style;b.backgroundColor="transparent";b.opacity="1";b.boxShadow="none";b.filter="";b.borderRadius=
"0";b.border="none";b.width="100%";b.height="100%";a.html("")}},{key:"_prepareHelperForHtmlAnimation",value:function(a){a=a[0].style;a.background="none";a.opacity="1";a.boxShadow="none";a.filter="";a.background="none";a.borderRadius="0";a.border="none";a.width="100%";a.height="100%"}},{key:"updateValues",value:function(){var a=this._easing(this._progress),b;for(b in this._opacityTransition1.updateByProgress(a),this._opacityTransition2.updateByProgress(a),this._opacityTransition.updateByProgress(a),
this._backgroundColorTransition.updateByProgress(a),this._borderRadiusTransitions)this._borderRadiusTransitions.hasOwnProperty(b)&&this._borderRadiusTransitions[b].updateByProgress(a);for(b in this._borderColorsTransitions)this._borderColorsTransitions.hasOwnProperty(b)&&this._borderColorsTransitions[b].updateByProgress(a);this._boxShadowTransition.updateByProgress(a);this._filterTransition.updateByProgress(a)}},{key:"clean",value:function(){}},{key:"render",value:function(){this._$helper[0].style.borderTopLeftRadius=
this._borderRadiusTransitions.topLeft.getCurrentValue()+"px";this._$helper[0].style.borderTopRightRadius=this._borderRadiusTransitions.topRight.getCurrentValue()+"px";this._$helper[0].style.borderBottomLeftRadius=this._borderRadiusTransitions.bottomLeft.getCurrentValue()+"px";this._$helper[0].style.borderBottomRightRadius=this._borderRadiusTransitions.bottomRight.getCurrentValue()+"px";this._$helper[0].style.opacity=this._opacityTransition.getCurrentValue();this._$helper[0].style.backgroundColor=
this._backgroundColorTransition.getCurrentColor().toRgbaString();this._$helper[0].style.borderTopColor=this._borderColorsTransitions.top.getCurrentColor().toRgbaString();this._$helper[0].style.borderRightColor=this._borderColorsTransitions.right.getCurrentColor().toRgbaString();this._$helper[0].style.borderBottomColor=this._borderColorsTransitions.bottom.getCurrentColor().toRgbaString();this._$helper[0].style.borderLeftColor=this._borderColorsTransitions.left.getCurrentColor().toRgbaString();this._$helper[0].style.boxShadow=
this._boxShadowTransition.getCurrentBoxShadow().toCssString();this._$helper[0].style.filter=this._filterTransition.getCurrentFilter().toCssString();!0===this._hasDifferentHtml&&(this._$htmlHelper1[0].style.opacity=this._opacityTransition1.getCurrentValue(),this._$htmlHelper2[0].style.opacity=this._opacityTransition2.getCurrentValue());this._hasDifferentBackgroundImage&&(this._$imageHelper1[0].style.opacity=this._opacityTransition1.getCurrentValue(),this._$imageHelper1[0].style.borderTopLeftRadius=
this._borderRadiusTransitions.topLeft.getCurrentValue()+"px",this._$imageHelper1[0].style.borderTopRightRadius=this._borderRadiusTransitions.topRight.getCurrentValue()+"px",this._$imageHelper1[0].style.borderBottomLeftRadius=this._borderRadiusTransitions.bottomLeft.getCurrentValue()+"px",this._$imageHelper1[0].style.borderBottomRightRadius=this._borderRadiusTransitions.bottomRight.getCurrentValue()+"px",this._$imageHelper2[0].style.opacity=this._opacityTransition2.getCurrentValue(),this._$imageHelper2[0].style.borderTopLeftRadius=
this._borderRadiusTransitions.topLeft.getCurrentValue()+"px",this._$imageHelper2[0].style.borderTopRightRadius=this._borderRadiusTransitions.topRight.getCurrentValue()+"px",this._$imageHelper2[0].style.borderBottomLeftRadius=this._borderRadiusTransitions.bottomLeft.getCurrentValue()+"px",this._$imageHelper2[0].style.borderBottomRightRadius=this._borderRadiusTransitions.bottomRight.getCurrentValue()+"px");this._backgroundOverlayHelper1[0].style.borderTopLeftRadius=this._borderRadiusTransitions.topLeft.getCurrentValue()+
"px";this._backgroundOverlayHelper1[0].style.borderTopRightRadius=this._borderRadiusTransitions.topRight.getCurrentValue()+"px";this._backgroundOverlayHelper1[0].style.borderBottomLeftRadius=this._borderRadiusTransitions.bottomLeft.getCurrentValue()+"px";this._backgroundOverlayHelper1[0].style.borderBottomRightRadius=this._borderRadiusTransitions.bottomRight.getCurrentValue()+"px";this._backgroundOverlayHelper1[0].style.opacity=this._opacityTransition1.getCurrentValue();this._backgroundOverlayHelper2[0].style.borderTopLeftRadius=
this._borderRadiusTransitions.topLeft.getCurrentValue()+"px";this._backgroundOverlayHelper2[0].style.borderTopRightRadius=this._borderRadiusTransitions.topRight.getCurrentValue()+"px";this._backgroundOverlayHelper2[0].style.borderBottomLeftRadius=this._borderRadiusTransitions.bottomLeft.getCurrentValue()+"px";this._backgroundOverlayHelper2[0].style.borderBottomRightRadius=this._borderRadiusTransitions.bottomRight.getCurrentValue()+"px";this._backgroundOverlayHelper2[0].style.opacity=this._opacityTransition2.getCurrentValue()}}],
[{key:"isBackgroundImageDifferent",value:function(a,b){return a.backgroundImage!==b.backgroundImage||a.backgroundPosition!==b.backgroundPosition||a.backgroundAttachment!==b.backgroundAttachment||a.backgroundSize!==b.backgroundSize}}]),b}(b(1173).a)},2593:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(2594),g=function(){function b(a,c){Object(l.a)(this,b);this._startBoxShadow=new k.a(a);this._finalBoxShadow=new k.a(c);this._currentBoxShadow=this._startBoxShadow.clone();this._delta=
this._finalBoxShadow.clone();this._delta.subtract(this._startBoxShadow)}return Object(p.a)(b,[{key:"updateByProgress",value:function(a){this._currentBoxShadow=this._startBoxShadow.clone();var b=this._delta.clone();b.multiply(a);this._currentBoxShadow.add(b)}},{key:"getCurrentBoxShadow",value:function(){return this._currentBoxShadow}}]),b}()},2594:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(81),g=function(){function b(a){Object(l.a)(this,b);webwave.isString(a)&&(a=com.webwave.util.cssUtils.parseBoxShadow(a)[0]);
webwave.isNotDef(a)&&(a={});this.offsetX=webwave.isNumberAndNotNaN(a.offsetX)?a.offsetX:0;this.offsetY=webwave.isNumberAndNotNaN(a.offsetY)?a.offsetY:0;this.blurRadius=webwave.isNumberAndNotNaN(a.blurRadius)?a.blurRadius:0;this.spreadRadius=webwave.isNumberAndNotNaN(a.spreadRadius)?a.spreadRadius:0;this.color=new k.a(a.color)}return Object(p.a)(b,[{key:"subtract",value:function(a){return this.offsetX-=a.offsetX,this.offsetY-=a.offsetY,this.blurRadius-=a.blurRadius,this.spreadRadius-=a.spreadRadius,
this.color.subtract(a.color),this}},{key:"add",value:function(a){return this.offsetX+=a.offsetX,this.offsetY+=a.offsetY,this.blurRadius+=a.blurRadius,this.spreadRadius+=a.spreadRadius,this.color.add(a.color),this}},{key:"multiply",value:function(a){return this.offsetX=Math.round(a*this.offsetX),this.offsetY=Math.round(a*this.offsetY),this.blurRadius=Math.round(a*this.blurRadius),this.spreadRadius=Math.round(a*this.spreadRadius),this.color.multiply(a),this}},{key:"clone",value:function(){return new b(this)}},
{key:"toCssString",value:function(){return"".concat(this.offsetX,"px ").concat(this.offsetY,"px ").concat(this.blurRadius,"px ").concat(this.spreadRadius,"px ").concat(this.color.toRgbaString())}}]),b}()},2595:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(81),g=function(){function b(a,c){Object(l.a)(this,b);this._initialColor=new k.a(a);this._finalColor=new k.a(c);this._colorDelta=this._finalColor.clone();this._colorDelta.subtract(this._initialColor);this._currentColor=this._initialColor.clone()}
return Object(p.a)(b,[{key:"updateByProgress",value:function(a){this._currentColor=this._initialColor.clone();var b=this._colorDelta.clone();this._currentColor.add(b.multiply(a))}},{key:"getCurrentColor",value:function(){return this._currentColor}}]),b}()},2596:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(1196),g=function(){function b(a,c){Object(l.a)(this,b);this._startFilter=k.a.readFromString(a);this._finalFilter=k.a.readFromString(c);this._fillMissingValues(this._startFilter,
this._finalFilter);this._currentFilter=this._startFilter.clone();this._delta=this._finalFilter.clone();this._delta.subtract(this._startFilter)}return Object(p.a)(b,[{key:"_fillMissingValues",value:function(a,b){a.fillDefaultMissingValues(b);b.fillDefaultMissingValues(a)}},{key:"updateByProgress",value:function(a){this._currentFilter=this._startFilter.clone();var b=this._delta.clone();b.multiply(a);this._currentFilter.add(b)}},{key:"getCurrentFilter",value:function(){return this._currentFilter}}]),
b}()},2597:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(c,a,d){Object(l.a)(this,b);!1===webwave.isNumberAndNotNaN(d)&&(d=0);this._initialValue=webwave.isNumberAndNotNaN(c)?c:d;this._finalValue=webwave.isNumberAndNotNaN(a)?a:d;this._delta=this._finalValue-this._initialValue;this._currentValue=this._initialValue}return Object(p.a)(b,[{key:"updateByProgress",value:function(b){this._currentValue=this._initialValue+this._delta*b}},{key:"getCurrentValue",value:function(){return this._currentValue}}]),
b}()},2598:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return d});var p=
b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(a){var d;return Object(p.a)(this,b),(d=c.call(this,a))._initialOpacity1=1,d._initialOpacity2=0,d._finalOpacity1=0,d._finalOpacity2=1,d._opacityDelta1=d._finalOpacity1-d._initialOpacity1,d._opacityDelta2=d._finalOpacity2-d._initialOpacity2,d._currentOpacity1=d._initialOpacity1,d._currentOpacity2=d._initialOpacity2,d}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"updateValues",value:function(){var a=this._easing(this._progress);this._currentOpacity1=
this._initialOpacity1+this._opacityDelta1*a;this._currentOpacity2=this._initialOpacity2+this._opacityDelta2*a}},{key:"clean",value:function(){this._panel[0].style.opacity="";this._nextPanel[0].style.opacity=""}},{key:"render",value:function(){this._panel[0].style.opacity=this._currentOpacity1;this._nextPanel[0].style.opacity=this._currentOpacity2}}]),b}(b(1173).a)},2599:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;
if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var g=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,g)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return r});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2);n=b(1173);var d=b(1519),r=function(a){function b(a){switch(Object(p.a)(this,b),(a=c.call(this,a))._direction){case d.a.LEFT:a._panel[0].style.transformOrigin=
a._panelSize.width/2+"px 0 "+-a._panelSize.width/2+"px";a._nextPanel[0].style.transformOrigin=a._panelSize.width/2+"px 0 "+-a._panelSize.width/2+"px";a._startDeg1=0;a._finalDeg1=-90;a._startDeg2=90;a._finalDeg2=0;break;case d.a.TOP:a._panel[0].style.transformOrigin="0 "+a._panelSize.height/2+"px "+-a._panelSize.height/2+"px";a._nextPanel[0].style.transformOrigin="0 "+a._panelSize.height/2+"px "+-a._panelSize.height/2+"px";a._startDeg1=0;a._finalDeg1=90;a._startDeg2=-90;a._finalDeg2=0;break;case d.a.BOTTOM:a._panel[0].style.transformOrigin=
"0 "+a._panelSize.height/2+"px "+-a._panelSize.height/2+"px";a._nextPanel[0].style.transformOrigin="0 "+a._panelSize.height/2+"px "+-a._panelSize.height/2+"px";a._startDeg1=0;a._finalDeg1=-90;a._startDeg2=90;a._finalDeg2=0;break;default:a._panel[0].style.transformOrigin=a._panelSize.width/2+"px 0 "+-a._panelSize.width/2+"px",a._nextPanel[0].style.transformOrigin=a._panelSize.width/2+"px 0 "+-a._panelSize.width/2+"px",a._startDeg1=0,a._finalDeg1=90,a._startDeg2=-90,a._finalDeg2=0}return a._currDeg1=
a._startDeg1,a._deg1Delta=a._finalDeg1-a._startDeg1,a._currDeg2=a._startDeg2,a._deg2Delta=a._finalDeg2-a._startDeg2,a._panel.parent()[0].style.perspective="3000px",a._panel.parent()[0].style.overflow="visible",a._$panelParent[0].style.transformStyle="preserve-3d",a._panel[0].style.backfaceVisibility="hidden",a._nextPanel[0].style.backfaceVisibility="hidden",a}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"updateValues",value:function(){var a=this._easing(this._progress);this._currDeg1=this._startDeg1+
this._deg1Delta*a;this._currDeg2=this._startDeg2+this._deg2Delta*a}},{key:"clean",value:function(){this._panel[0].style.transformOrigin="";this._nextPanel[0].style.transformOrigin="";this._panel[0].style.transform="";this._nextPanel[0].style.transform="";this._panel[0].style.backfaceVisibility="";this._nextPanel[0].style.backfaceVisibility=""}},{key:"render",value:function(){this._direction===d.a.TOP||this._direction===d.a.BOTTOM?(this._panel[0].style.transform="rotate3d( 1, 0, 0, "+this._currDeg1+
"deg)",this._nextPanel[0].style.transform="rotate3d( 1, 0, 0, "+this._currDeg2+"deg)"):(this._panel[0].style.transform="rotate3d( 0, 1, 0, "+this._currDeg1+"deg)",this._nextPanel[0].style.transform="rotate3d( 0, 1, 0, "+this._currDeg2+"deg)")}}]),b}(n.a)},26:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.STACK_OVERFLOW=c.CIRCULAR_DEPENDENCY_IN_FACTORY=c.POST_CONSTRUCT_ERROR=c.MULTIPLE_POST_CONSTRUCT_METHODS=c.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK=c.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE=
c.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE=c.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT=c.ARGUMENTS_LENGTH_MISMATCH=c.INVALID_DECORATOR_OPERATION=c.INVALID_TO_SELF_VALUE=c.INVALID_FUNCTION_BINDING=c.INVALID_MIDDLEWARE_RETURN=c.NO_MORE_SNAPSHOTS_AVAILABLE=c.INVALID_BINDING_TYPE=c.NOT_IMPLEMENTED=c.CIRCULAR_DEPENDENCY=c.UNDEFINED_INJECT_ANNOTATION=c.MISSING_INJECT_ANNOTATION=c.MISSING_INJECTABLE_ANNOTATION=c.NOT_REGISTERED=c.CANNOT_UNBIND=c.AMBIGUOUS_MATCH=c.KEY_NOT_FOUND=c.NULL_ARGUMENT=c.DUPLICATED_METADATA=
c.DUPLICATED_INJECTABLE_DECORATOR=void 0;c.DUPLICATED_INJECTABLE_DECORATOR="Cannot apply @injectable decorator multiple times.";c.DUPLICATED_METADATA="Metadata key was used more than once in a parameter:";c.NULL_ARGUMENT="NULL argument";c.KEY_NOT_FOUND="Key Not Found";c.AMBIGUOUS_MATCH="Ambiguous match found for serviceIdentifier:";c.CANNOT_UNBIND="Could not unbind serviceIdentifier:";c.NOT_REGISTERED="No matching bindings found for serviceIdentifier:";c.MISSING_INJECTABLE_ANNOTATION="Missing required @injectable annotation in:";
c.MISSING_INJECT_ANNOTATION="Missing required @inject or @multiInject annotation in:";c.UNDEFINED_INJECT_ANNOTATION=function(b){return"@inject called with undefined this could mean that the class "+b+" has a circular dependency problem. You can use a LazyServiceIdentifer to  overcome this limitation."};c.CIRCULAR_DEPENDENCY="Circular dependency found:";c.NOT_IMPLEMENTED="Sorry, this feature is not fully implemented yet.";c.INVALID_BINDING_TYPE="Invalid binding type:";c.NO_MORE_SNAPSHOTS_AVAILABLE=
"No snapshot available to restore.";c.INVALID_MIDDLEWARE_RETURN="Invalid return type in middleware. Middleware must return!";c.INVALID_FUNCTION_BINDING="Value provided to function binding must be a function!";c.INVALID_TO_SELF_VALUE="The toSelf function can only be applied when a constructor is used as service identifier";c.INVALID_DECORATOR_OPERATION="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.";c.ARGUMENTS_LENGTH_MISMATCH=
function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return"The number of constructor arguments in the derived class "+b[0]+" must be >= than the number of constructor arguments of its base class."};c.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.";c.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').";c.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE=
"Invalid Container option. Auto bind injectable must be a boolean";c.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean";c.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class";c.POST_CONSTRUCT_ERROR=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return"@postConstruct error in class "+b[0]+": "+b[1]};c.CIRCULAR_DEPENDENCY_IN_FACTORY=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=
arguments[c];return"It looks like there is a circular dependency in one of the '"+b[0]+"' bindings. Please investigate bindings withservice identifier '"+b[1]+"'."};c.STACK_OVERFLOW="Maximum call stack size exceeded"},2600:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();
return function(){var d;d=Object(a.a)(b);if(c){var g=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,g)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return u});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=b(42),r=b(32),u=function(a){function b(a){var d;return Object(p.a)(this,b),(d=c.call(this,a))._parts={x:5,y:3},d._distance=b.DEFAULT_DISTANCE,d._initDomObjects(),d}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"_initDomObjects",value:function(){for(var a,
c,e=[],g=new r.a({width:Math.floor(this._panelSize.width/this._parts.x),height:Math.floor(this._panelSize.height/this._parts.y)}),k=0;k<this._parts.x;k++){var l=[];e.push(l);for(var p=0;p<this._parts.y;p++){a=k*g.width;c=p*g.height;var n=b.createPartialPanel({width:g.width,height:g.height,x:a,y:c,panel:this._panel});a=b.createPartialPanel({width:g.width,height:g.height,x:a,y:c,panel:this._nextPanel});l.push({dom1:n,dom2:a,currentPos1:new d.a(0,0),currentPos2:new d.a(0,0),moveVector:b.generateRandomVector(),
opacity1:1,opacity2:0});this._$panelParent.append(n);this._$panelParent.append(a)}}this._partialPanels=e;this._panel[0].style.display="none";this._nextPanel[0].style.display="none"}},{key:"updateValues",value:function(){for(var a,b=this._partialPanels,c=this._easing(this._progress),d=0;d<b.length;d++)for(var f=0;f<b[d].length;f++)(a=b[d][f]).currentPos1.x=a.moveVector.x*this._distance*c,a.currentPos1.y=a.moveVector.y*this._distance*c,a.opacity1=1-c,a.currentPos2.x=a.moveVector.x*this._distance*(1-
c),a.currentPos2.y=a.moveVector.y*this._distance*(1-c),a.opacity2=c}},{key:"clean",value:function(){this._panel[0].style.display="";this._nextPanel[0].style.display="";for(var a=this._partialPanels,b=0;b<a.length;b++)for(var c=0;c<a[b].length;c++)a[b][c].dom1.remove(),a[b][c].dom2.remove()}},{key:"render",value:function(){for(var a,b=this._partialPanels,c=0;c<b.length;c++)for(var d=0;d<b[c].length;d++)(a=b[c][d]).dom1[0].style.transform="translate3D("+a.currentPos1.x+"px, "+a.currentPos1.y+"px, 0)",
a.dom1[0].style.opacity=a.opacity1,a.dom2[0].style.transform="translate3D("+a.currentPos2.x+"px, "+a.currentPos2.y+"px, 0)",a.dom2[0].style.opacity=a.opacity2}}],[{key:"createPartialPanel",value:function(a){var b=$('<div class="gv_partialPanel" style="width: '+a.width+"px;height: "+a.height+"px;left: "+a.x+"px;top: "+a.y+'px;position: absolute;overflow: hidden;opacity: 1;"></div>'),c=a.panel.clone();return c[0].style.left=-a.x+"px",c[0].style.top=-a.y+"px",c[0].style.position="absolute",b.append(c),
b}},{key:"generateRandomVector",value:function(){return new d.a(2*Math.random()-1,2*Math.random()-1)}}]),b}(b(1173).a);u.DEFAULT_DISTANCE=200},2601:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;
d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(a){var d;return Object(p.a)(this,b),(d=c.call(this,a))._initialOpacity1=1,d._initialOpacity2=0,d._finalOpacity1=0,d._finalOpacity2=1,d._opacityDelta1=d._finalOpacity1-d._initialOpacity1,d._opacityDelta2=d._finalOpacity2-d._initialOpacity2,d._currentOpacity1=d._initialOpacity1,d._currentOpacity2=d._initialOpacity2,
d}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"updateValues",value:function(){var a=this._easing(this._progress);this._currentOpacity1=this._initialOpacity1+this._opacityDelta1*a;this._currentOpacity2=this._initialOpacity2+this._opacityDelta2*a}},{key:"clean",value:function(){this._panel[0].style.opacity="";this._nextPanel[0].style.opacity=""}},{key:"render",value:function(){this._panel[0].style.opacity=2*this._currentOpacity1-1;this._nextPanel[0].style.opacity=2*this._currentOpacity2-
1}}]),b}(b(1173).a)},2602:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return d});
var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=function(a){function b(a){var d;return Object(p.a)(this,b),(d=c.call(this,a))._initialOpacity=0,d._finalOpacity=1,d._opacityDelta=d._finalOpacity-d._initialOpacity,d._currentOpacity=d._initialOpacity,d}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"updateValues",value:function(){var a=this._easing(this._progress);this._currentOpacity=this._initialOpacity+this._opacityDelta*a}},{key:"clean",value:function(){this._nextPanel[0].style.opacity=""}},{key:"render",
value:function(){this._nextPanel[0].style.opacity=this._currentOpacity}}]),b}(b(1173).a)},2603:function(n,c,b){function l(a){var b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var c;c=Object(g.a)(a);if(b){var d=Object(g.a)(this).constructor;c=Reflect.construct(c,arguments,d)}else c=c.apply(this,
arguments);return Object(k.a)(this,c)}}b.d(c,"a",function(){return f});var p=b(3),k=b(4),g=b(2),e=b(0),a=b(1),d=b(32),r=b(2350);n=b(1173);var u=b(1519),v=function(){function b(a){Object(e.a)(this,b);this.start=new r.a(a.start);this.end=new r.a(a.end);this.delta=new r.a({x:this.end.x-this.start.x,y:this.end.y-this.start.y,z:this.end.z-this.start.z});this.current=new r.a(a.start)}return Object(a.a)(b,[{key:"updateByProgress",value:function(a){this.current.x=this.start.x+this.delta.x*a;this.current.y=
this.start.y+this.delta.y*a;this.current.z=this.start.z+this.delta.z*a}}]),b}(),f=function(b){function c(a){var b;return Object(e.a)(this,c),(b=f.call(this,a))._orientation=b._direction==u.a.TOP||b._direction===u.a.BOTTOM?"horizontal":"vertical",b._verticalPanelsCount="vertical"===b._orientation?2:1,b._horizontalPanelsCount="horizontal"===b._orientation?2:1,b._singlePartSize=new d.a({width:Math.floor(b._panelSize.width/b._verticalPanelsCount),height:Math.floor(b._panelSize.height/b._horizontalPanelsCount)}),
b._initDomObjects(),b}Object(p.a)(c,b);var f=l(c);return Object(a.a)(c,[{key:"_initDomObjects",value:function(){var a=[],b=this._singlePartSize,d=this._generateMoveVectors(),f=this._direction===u.a.RIGHT||this._direction===u.a.BOTTOM?this._nextPanel:this._panel;this._partialPanel2=c.createPartialPanel({x:0,y:0,width:this._panelSize.width,height:this._panelSize.height,panel:this._direction===u.a.RIGHT||this._direction===u.a.BOTTOM?this._panel:this._nextPanel});this._partialPanel2.moveData=new v({start:{x:0,
y:0,z:this._direction===u.a.RIGHT||this._direction===u.a.BOTTOM?0:-0},end:{x:0,y:0,z:this._direction===u.a.RIGHT||this._direction===u.a.BOTTOM?-0:0}});this._$panelParent.append(this._partialPanel2.$panel);for(var e=0;2>e;e++){var g=c.createPartialPanel({width:b.width,height:b.height,x:"vertical"===this._orientation?e*b.width:0,y:"horizontal"===this._orientation?e*b.height:0,panel:f});a.push({$panel:g.$panel,$content:g.$content,moveVector:d[e],currentPos:new r.a});this._$panelParent.append(g.$panel)}this._partialPanels=
a;this._panel[0].style.display="none";this._nextPanel[0].style.display="none"}},{key:"updateValues",value:function(){var a,b=this._partialPanels,c=this._easing(this._progress);this._partialPanel2.moveData.updateByProgress(c);for(var d=0;d<b.length;d++)(a=b[d]).moveVector.updateByProgress(c),a.currentPos.x=a.moveVector.current.x*this._singlePartSize.width,a.currentPos.y=a.moveVector.current.y*this._singlePartSize.height}},{key:"clean",value:function(){this._panel[0].style.display="";this._nextPanel[0].style.display=
"";for(var a=this._partialPanels,b=0;b<a.length;b++)for(var c=0;c<a[b].length;c++)a[b][c].$panel.remove();this._partialPanel2.$panel.remove()}},{key:"render",value:function(){for(var a,b=this._partialPanels,c=0;c<b.length;c++)(a=b[c]).$content[0].style.transform="translate3D("+a.currentPos.x+"px, "+a.currentPos.y+"px, 0)";this._partialPanel2.$content[0].style.transform="perspective(100px) translate3d(0, 0, "+this._partialPanel2.moveData.current.z+"px)"}},{key:"_generateMoveVectors",value:function(){switch(this._direction){case u.a.LEFT:return[new v({start:{x:0,
y:0,z:0},end:{x:-1,y:0,z:0}}),new v({start:{x:0,y:0,z:0},end:{x:1,y:0,z:0}})];case u.a.TOP:return[new v({start:{x:0,y:0,z:0},end:{x:0,y:-1,z:0}}),new v({start:{x:0,y:0,z:0},end:{x:0,y:1,z:0}})];case u.a.BOTTOM:return[new v({start:{x:0,y:-1,z:0},end:{x:0,y:0,z:0}}),new v({start:{x:0,y:1,z:0},end:{x:0,y:0,z:0}})];default:return[new v({start:{x:-1,y:0,z:0},end:{x:0,y:0,z:0}}),new v({start:{x:1,y:0,z:0},end:{x:0,y:0,z:0}})]}}}],[{key:"createPartialPanel",value:function(a){var b=$('<div  style="width: '+
a.width+"px;height: "+a.height+"px;left: "+a.x+"px;top: "+a.y+'px;position: absolute;overflow: hidden;"></div>'),c=b.clone();c[0].style.left="0";c[0].style.top="0";var d=a.panel.clone();return d[0].style.left=-a.x+"px",d[0].style.top=-a.y+"px",d[0].style.position="absolute",c.append(d),b.append(c),{$panel:b,$content:c}}}]),c}(n.a)},2604:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var e;e=Object(d.a)(b);if(c){var g=Object(d.a)(this).constructor;e=Reflect.construct(e,arguments,g)}else e=e.apply(this,arguments);return Object(a.a)(this,e)}}b.d(c,"a",function(){return u});var p=b(0),k=b(1),g=b(15),e=b(3),a=b(4),d=b(2);n=b(1173);var r=b(1519),u=function(a){function b(a){switch(Object(p.a)(this,b),(a=c.call(this,a))._direction){case r.a.LEFT:a._startX1=
0;a._finalX1=-a._panelSize.width;a._startX2=a._panelSize.width;a._finalX2=0;a._startY1=0;a._finalY1=0;a._startY2=0;a._finalY2=0;break;case r.a.TOP:a._startX1=0;a._finalX1=0;a._startX2=0;a._finalX2=0;a._startY1=0;a._finalY1=-a._panelSize.height;a._startY2=a._panelSize.height;a._finalY2=0;break;case r.a.BOTTOM:a._startX1=0;a._finalX1=0;a._startX2=0;a._finalX2=0;a._startY1=0;a._finalY1=a._panelSize.height;a._startY2=-a._panelSize.height;a._finalY2=0;break;default:a._startX1=0,a._finalX1=a._panelSize.width,
a._startX2=-a._panelSize.width,a._finalX2=0,a._startY1=0,a._finalY1=0,a._startY2=0,a._finalY2=0}return a._currX1=a._startX1,a._X1Delta=a._finalX1-a._startX1,a._currY1=a._startY1,a._Y1Delta=a._finalY1-a._startY1,a._currX2=a._startX2,a._X2Delta=a._finalX2-a._startX2,a._currY2=a._startY2,a._Y2Delta=a._finalY2-a._startY2,a}Object(e.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"updateValues",value:function(){var a=this._easing(this._progress);this._currX1=this._startX1+this._X1Delta*a;this._currX2=this._startX2+
this._X2Delta*a;this._currY1=this._startY1+this._Y1Delta*a;this._currY2=this._startY2+this._Y2Delta*a}},{key:"setDirection",value:function(a){Object(g.a)(Object(d.a)(b.prototype),"setDirection",this).call(this,a);this._startX1=-this._startX1;this._finalX1=-this._finalX1;this._startY1=-this._startY1;this._finalY1=-this._finalY1;this._startX2=-this._startX2;this._finalX2=-this._finalX2;this._startY2=-this._startY2;this._finalY2=-this._finalY2;this._X1Delta=this._finalX1-this._startX1;this._X2Delta=
this._finalX2-this._startX2;this._Y1Delta=this._finalY1-this._startY1;this._Y2Delta=this._finalY2-this._startY2}},{key:"clean",value:function(){this._panel[0].style.transform="";this._nextPanel[0].style.transform=""}},{key:"render",value:function(){this._panel[0].style.transform="translate3d("+this._currX1+"px, "+this._currY1+"px, 0px)";this._nextPanel[0].style.transform="translate3d("+this._currX2+"px, "+this._currY2+"px, 0px)"}}]),b}(n.a)},2605:function(n,c,b){function l(b){var c=function(){if("undefined"==
typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var g=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,g)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return r});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=b(92),r=function(a){function b(a){var e;
return Object(p.a)(this,b),(e=c.call(this,a))._initialOpacity1=1,e._initialOpacity2=0,e._finalOpacity1=0,e._finalOpacity2=1,e._opacityDelta1=e._finalOpacity1-e._initialOpacity1,e._opacityDelta2=e._finalOpacity2-e._initialOpacity2,e._currentOpacity1=e._initialOpacity1,e._currentOpacity2=e._initialOpacity2,e._direction===d.a.RIGHT?(e._initialRotate1=0,e._initialRotate2=180,e._finalRotate1=180,e._finalRotate2=360):e._direction===d.a.LEFT&&(e._initialRotate1=360,e._initialRotate2=180,e._finalRotate1=
180,e._finalRotate2=0),e._rotateDelta1=e._finalRotate1-e._initialRotate1,e._rotateDelta2=e._finalRotate2-e._initialRotate2,e._currentRotate1=e._initialRotate1,e._currentRotate2=e._initialRotate2,e}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"updateValues",value:function(){var a=this._easing(this._progress);this._currentOpacity1=this._initialOpacity1+this._opacityDelta1*a;this._currentOpacity2=this._initialOpacity2+this._opacityDelta2*a;this._currentRotate1=this._initialRotate1+this._rotateDelta1*
a;this._currentRotate2=this._initialRotate2+this._rotateDelta2*a}},{key:"clean",value:function(){this._panel[0].style.opacity="";this._nextPanel[0].style.opacity="";this._panel[0].style.transform="";this._nextPanel[0].style.transform=""}},{key:"render",value:function(){this._panel[0].style.opacity=this._currentOpacity1;this._panel[0].style.transform="rotate(".concat(this._currentRotate1,"deg)");this._nextPanel[0].style.opacity=this._currentOpacity2;this._nextPanel[0].style.transform="rotate(".concat(this._currentRotate2,
"deg)")}}]),b}(b(1173).a)},2606:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var g=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,g)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return u});
var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=[[{x:0,y:-1,s:0},{x:0,y:-1,s:.15}],[{x:0,y:-1,s:.3},{x:0,y:-1,s:.45}]],r=[[{x:0,y:1,s:.1},{x:0,y:1,s:.15}],[{x:0,y:1,s:.3},{x:0,y:1,s:.45}]],u=function(a){function b(a){return Object(p.a)(this,b),c.call(this,a)}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"getForwardVector",value:function(){return r}},{key:"getBackwardVector",value:function(){return d}},{key:"getMaxDelay",value:function(){return.45}},{key:"getInitialNextPanelZIndex",value:function(){return 16}}]),
b}(b(1908).a)},2607:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var g=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,g)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return u});
var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=[[{x:0,y:-1,s:0},{x:0,y:-1,s:.15}],[{x:0,y:1,s:.3},{x:0,y:1,s:.45}]],r=[[{x:-1,y:0,s:0},{x:1,y:0,s:.15}],[{x:-1,y:0,s:.3},{x:1,y:0,s:.45}]],u=function(a){function b(a){return Object(p.a)(this,b),c.call(this,a)}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"getForwardVector",value:function(){return r}},{key:"getBackwardVector",value:function(){return d}},{key:"getMaxDelay",value:function(){return.45}},{key:"getInitialNextPanelZIndex",value:function(){return 16}}]),
b}(b(1908).a)},2608:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var g=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,g)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return u});
var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2),d=[[{x:1,y:0,s:0},{x:0,y:1,s:0}],[{x:0,y:-1,s:0},{x:-1,y:0,s:0}]],r=[[{x:0,y:1,s:0},{x:-1,y:0,s:0}],[{x:1,y:0,s:0},{x:0,y:-1,s:0}]],u=function(a){function b(a){return Object(p.a)(this,b),c.call(this,a)}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"getForwardVector",value:function(){return r}},{key:"getBackwardVector",value:function(){return d}},{key:"getMaxDelay",value:function(){return 0}},{key:"getInitialNextPanelZIndex",value:function(){return 0}}]),
b}(b(1908).a)},2609:function(n,c,b){function l(a,b){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var c="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!c){if(Array.isArray(a)||(c=function(a,b){if(a){if("string"==typeof a)return p(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);"Object"===c&&a.constructor&&(c=a.constructor.name);if("Map"===c||"Set"===c)return Array.from(a);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return p(a,
b)}}(a))||b&&a&&"number"==typeof a.length){c&&(a=c);var d=0;b=function(){};return{s:b,n:function(){return d>=a.length?{done:!0}:{done:!1,value:a[d++]}},e:function(a){throw a;},f:b}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var e,f=!0,g=!1;return{s:function(){c=c.call(a)},n:function(){var a=c.next();return f=a.done,a},e:function(a){g=!0;e=a},f:function(){try{f||null==c.return||c.return()}finally{if(g)throw e;
}}}}function p(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=Array(b);c<b;c++)d[c]=a[c];return d}var k=b(1519),g=b(331),e=b(2149),a=b(2610),d=b(128),r=b(1257),u=b(2053),v=b(2613),f=b(175),w=b(32),B=b(2614);!function(){webwave.provide("com.webwave.webgal.GalleryView");var b=com.webwave.ui.swipeable.Swipeable,c=com.webwave.webgal.animation.ChangeAnimationService.getInstance(),p=function(a){return webwave.isNotDef(a)&&(a={}),this.imageUrl=a.imageUrl,this.thumbnailUrl=webwave.isString(a.thumbnailUrl)?
a.thumbnailUrl:this.imageUrl,this.scale={panel:null,frame:null},this.width=a.width,this.height=a.height,this.thumbnailWidth=a.thumbnailWidth?a.thumbnailWidth:a.width,this.thumbnailHeight=a.thumbnailHeight?a.thumbnailHeight:a.height,this.link=void 0,webwave.isDef(a.link)&&(this.link={href:a.link.href,target:a.link.target,samepage:a.link.samepage,title:a.link.title}),this.attrs={title:a.title},this._panelImgRendered=!1,this._panelImgWrapper=void 0,this.imageCropData=a.imageCropData,this};p.prototype.renderPanelImg=
function(a){var b=this,c=this._panelImgWrapper,d=c.firstElementChild,e=c.parentNode;a.dom.gv_imageStore[0].appendChild(c);d.addEventListener("load",function(){e.classList.remove("gv_panel-loading");var f=H(b);webwave.isDefAndNotNull(f)?(f.appendChild(c),e.appendChild(f)):e.appendChild(c);d.style.visibility="";a.onImageLoaded(b)},{once:!0});d.setAttribute("src",d.getAttribute("data-src"));this._panelImgRendered=!0};p.prototype.renderFilmstripImg=function(a){};p.prototype.isPanelImgRendered=function(){return this._panelImgRendered};
var n={getInt:function(a){return a=parseInt(a,10),isNaN(a)?0:a},innerWidth:function(a){return this.getInt(a[0].style.width)||0},outerWidth:function(a){return this.innerWidth(a)+this.extraWidth(a)},extraWidth:function(a){a=window.getComputedStyle(a[0]);return this.getInt(a.paddingLeft)+this.getInt(a.paddingRight)+this.getInt(a.borderLeftWidth)+this.getInt(a.borderRightWidth)},innerHeight:function(a){return this.getInt(a[0].style.height)||0},outerHeight:function(a){return this.innerHeight(a)+this.extraHeight(a)},
extraHeight:function(a){a=window.getComputedStyle(a[0]);return this.getInt(a.paddingTop)+this.getInt(a.paddingBottom)+this.getInt(a.borderTopWidth)+this.getInt(a.borderBottomWidth)}};com.webwave.webgal.GalleryView=function(a,b){webwave.isNotDef(a)&&(a={});this._visibleThumbnailsNumber=1;this._isMouseOver=!1;this._navigationVisibilityType=webwave.isValidEnumValue(a.navigationVisibilityType,e.a)?a.navigationVisibilityType:e.a.HOVER;this._slideshowTimeout=void 0;this._beingDisposed=this._slideshowPaused=
!1;this._animator=null;this._imageLoadedListeners=[];this.init(a,b)};var x=com.webwave.webgal.GalleryView.prototype;x.elems=".gv_galleryWrap .gv_gallery .gv_panelWrap .gv_panel img.gv_image .gv_infobar .gv_filmstripWrap .gv_filmstrip .gv_frame .gv_thumbnail .gv_caption img.gv_thumb .gv_navWrap .gv_navNext .gv_navPrev .gv_navPlay .gv_panelNavNext .gv_panelNavPrev .gv_overlay .gv_showOverlay .gv_imageStore .gv_overlayHeaderWrapper .gv_overlayHeader .gv_controlsWrap".split(" ");x.createElem=function(a,
b){return b=document.createElement(b),$(b).attr(a)};x.getPos=function(a){var b,c=this.dom;a=a[0];var d=a.id,e=0,f=0;if(!a)return{top:0,left:0};if(a.offsetParent){do e+=a.offsetLeft,f+=a.offsetTop;while(a=a.offsetParent)}return d===this.id?{left:e,top:f}:{left:e-(b=this.getPos(c.galleryWrap)).left,top:f-b.top}};x.mouseIsOverGallery=function(a,b){var c=this.dom,d=this.getPos(c.gv_galleryWrap),e=d.top,d=d.left;return a>d&&a<d+n.outerWidth(c.gv_galleryWrap)&&b>e&&b<e+n.outerHeight(c.gv_galleryWrap)};
x.mouseIsOverPanel=function(a,b){var c=this.dom,d=this.getPos(c.gv_panelWrap),e=this.getPos(c.gv_galleryWrap),f=d.top+e.top,d=d.left+e.left;return a>d&&a<d+n.outerWidth(c.gv_panelWrap)&&b>f&&b<f+n.outerHeight(c.gv_panelWrap)};x.storeImages=function(){if(this.gvImages=[],webwave.isArrayLike(this.opts.images))for(var a=this.opts.images,b=0;b<a.length;b++)this.gvImages.push(new p(a[b]));this.numImages=this.gvImages.length};x._renderFilmstripImage=function(a){var b=this.opts.frame_width/a.thumbnailWidth,
c=this.opts.frame_height/a.thumbnailHeight,c=this.opts.frame_scale===g.a.CONTAIN?Math.min(b,c):Math.max(b,c),b=Math.round(a.thumbnailWidth*c),c=Math.round(a.thumbnailHeight*c);a=Object(B.b)({width:b,height:c,heightOffset:Math.round((this.opts.frame_height-c)/2),widthOffset:Math.round((this.opts.frame_width-b)/2),thumbnailUrl:a.thumbnailUrl});return d.a.htmlToElements(a)[0]};x._countImageScaleData=function(a){var b=a.imageCropData;webwave.isNotDefOrNull(b)&&(b=r.a.createDefaultWithCropType(a.cropType));
a=u.a.calculateSizeAndOffsetForCropping({elemSize:new w.a({width:a.newWidth,height:a.newHeight}),imageSize:new w.a({width:a.width,height:a.height}),imageCropData:b});return{width:a.getSize().getWidth(),height:a.getSize().getHeight(),heightOffset:a.getOffset().getY(),widthOffset:a.getOffset().getX()}};x.renderImageWrapper=function(a){var b=this._countImageScaleData({width:a.width,height:a.height,newWidth:this.opts.panel_width,newHeight:this.opts.panel_height,cropType:this.opts.panel_scale,imageCropData:a.imageCropData}),
b=Object(B.c)({width:b.width,height:b.height,heightOffset:b.heightOffset,widthOffset:b.widthOffset,imageUrl:a.imageUrl}),b=d.a.htmlToElements(b)[0];return a._panelImgWrapper=b,b};x.setDimensions=function(){var a=this.dom,b=n.innerWidth(a.gv_navPrev),c=n.innerWidth(a.gv_navPlay),d=n.innerWidth(a.gv_navNext),e=this.opts.frame_width,f=n.innerHeight(a.gv_navPrev),g=n.innerHeight(a.gv_navPlay),k=n.innerHeight(a.gv_navNext);this.opts.show_captions&&n.outerHeight(a.gv_caption);"horizontal"===this.filmstripOrientation?
a.gv_navWrap.css({width:b+c+d,height:Math.max(f,g,k)}):"scroll"===this.opts.filmstrip_style&&this.opts.frame_width<b+c+d?a.gv_navWrap.css({width:Math.max(b,c,d),height:f+g+k}):a.gv_navWrap.css({width:b+c+d,height:Math.max(f,g,k)});"vertical"===this.filmstripOrientation&&e<b+c+d?a.gv_navWrap.css({width:Math.max(b,c,d),height:f+g+k}):a.gv_navWrap.css({width:b+c+d,height:Math.max(f,g,k)});!1===this.opts.show_filmstrip_nav&&a.gv_navWrap.css({width:0,height:0});a.gv_panel.css({width:this.opts.panel_width,
height:this.opts.panel_height});a.gv_panelWrap.css({width:n.outerWidth(a.gv_panel),height:n.outerHeight(a.gv_panel)});for(b=0;b<this.gvImages.length;b++)c=a.gv_panel[0].cloneNode(!0),!0===this.opts.show_panels&&(d=this.renderImageWrapper(this.gvImages[b]),c.appendChild(d)),a.gv_panelWrap[0].appendChild(c);if(a.gv_panels=a.gv_panelWrap.find(".gv_panel"),a.gv_panels.detach(),a.gv_thumbnail.css({width:this.opts.frame_width,height:this.opts.frame_height}),a.gv_frame.css({width:n.outerWidth(a.gv_thumbnail),
height:n.outerHeight(a.gv_thumbnail)+(this.opts.show_captions?n.outerHeight(a.gv_caption):0),marginRight:this.opts.frame_gap,marginBottom:this.opts.frame_gap}),this._updateThumbnailsPanelWidth(),this._updateGallerySize(),!0===this.opts.show_panels)b=a.gv_panels.eq(this.opts.start_frame-1),b.removeClass("gv_panel-loading"),a.gv_panelWrap.append(b),this.markCurrentPanel(b),"function"==typeof this.opts.onImageChanged&&this.opts.onImageChanged(b)};x.setPositions=function(){var a,b,c=this.dom,d=0,e=0,
f=0,g=0;switch("horizontal"===this.filmstripOrientation?0>(a=Math.round((n.outerHeight(c.gv_filmstripWrap)-n.outerHeight(c.gv_navWrap))/2))?e=-1*a:d=a:0>(b=Math.round((n.outerWidth(c.gv_filmstripWrap)-n.outerWidth(c.gv_navWrap))/2))?g=-1*b:f=b,this.opts.show_filmstrip_nav||"horizontal"!==this.filmstripOrientation||(g=Math.floor((n.outerWidth(c.gv_panelWrap)-n.outerWidth(c.gv_filmstripWrap))/2)),!0===this.opts.filmstrip_on_image&&("horizontal"===this.filmstripOrientation?(e+=this.opts.filmstripEdgeDistance,
d+=this.opts.filmstripEdgeDistance):(e+=this.opts.filmstripEdgeDistance,g+=this.opts.filmstripEdgeDistance,f+=this.opts.filmstripEdgeDistance)),this.opts.filmstrip_position){case "top":c.gv_navWrap.css({top:d,right:f});c.gv_panelWrap.css({bottom:0,left:0});c.gv_filmstripWrap.css({top:e,left:g});break;case "right":c.gv_navWrap.css({bottom:d,right:f});c.gv_panelWrap.css({top:0,left:0});c.gv_filmstripWrap.css({top:e,right:g});break;case "left":c.gv_navWrap.css({bottom:d,left:f});c.gv_panelWrap.css({top:0,
right:0});c.gv_filmstripWrap.css({top:e,left:g});break;default:c.gv_navWrap.css({bottom:d,right:f}),c.gv_panelWrap.css({top:0,left:0}),c.gv_filmstripWrap.css({bottom:e,left:g})}"top"===this.opts.overlay_position?(c.gv_overlay.css({top:0,left:0}),c.gv_showOverlay.css({top:0,left:0})):(c.gv_overlay.css({bottom:0,left:0}),c.gv_showOverlay.css({bottom:0,left:0}));this.opts.show_filmstrip_nav||c.gv_navWrap.remove()};x.buildFilmstrip=function(){var a=this,b=this.dom,c=this.gvImages.length*(("horizontal"===
this.filmstripOrientation?this.opts.frame_width:this.opts.frame_height)+this.opts.frame_gap);b.gv_frame.append(b.gv_thumbnail);this.opts.show_captions&&b.gv_frame.append(b.gv_caption);b.gv_thumbnail[0].style.opacity=this.opts.frame_opacity;b.gv_thumbnail.on({mouseover:function(){$(this).hasClass("current")||$(this).stop().animate({opacity:1},250)},mouseout:function(){$(this).hasClass("current")||$(this).stop().animate({opacity:a.opts.frame_opacity},250)}});for(var d=0;d<this.gvImages.length;d++){var e=
b.gv_frame.clone(!0);!0===a.opts.show_panels&&e.find(".gv_thumbnail")[0].appendChild(this._renderFilmstripImage(this.gvImages[d]));b.gv_filmstrip.append(e)}d=b.gv_filmstrip[0];(d.style.width="".concat(n.outerWidth(b.gv_frame),"px"),d.style.height="".concat(n.outerHeight(b.gv_frame),"px"),"scroll"===this.opts.filmstrip_style)?"horizontal"===this.filmstripOrientation?c>n.innerWidth(b.gv_filmstripWrap)?(b.gv_filmstrip.find(".gv_frame").clone(!0).appendTo(b.gv_filmstrip).clone(!0).appendTo(b.gv_filmstrip),
b.gv_filmstrip.css("width",3*c),this.scrolling=!0):b.gv_filmstrip.css("width",c):c>n.innerHeight(b.gv_filmstripWrap)?(b.gv_filmstrip.find(".gv_frame").clone(!0).appendTo(b.gv_filmstrip).clone(!0).appendTo(b.gv_filmstrip),b.gv_filmstrip.css("height",3*c),this.scrolling=!0):b.gv_filmstrip.css("height",c):(e=b.gv_filmstripWrap[0],c=parseInt(e.style.width,10)+this.opts.frame_gap,e=parseInt(e.style.height,10)+this.opts.frame_gap,d.style.height="".concat(e,"px"),d.style.width="".concat(c,"px"));b.gv_frames=
Array.from(d.querySelectorAll(".gv_frame"));for(d=0;d<b.gv_frames.length;d++)b.gv_frames[d].setAttribute("frameIndex",d);b.gv_thumbnails=b.gv_filmstrip.find("div.gv_thumbnail")};x.buildGallery=function(){this.dom;this.setDimensions();this.setPositions();this.opts.show_filmstrip&&(this.buildFilmstrip(),this._setFirstThumbnailAsCurrent());this._updateMouseOverInterfaceVisibility()};x.showInfoBar=function(){if(this.opts.show_infobar){var a=this.dom;a.gv_infobar.stop().stopTime("hideInfoBar_"+this.id).html(this.iterator+
1+" / "+this.numImages).show().css("opacity",this.opts.infobar_opacity);a.gv_infobar.oneTime(2E3+this.opts.transition_speed,"hideInfoBar_"+this.id,function(){a.gv_infobar.fadeOut(1E3)})}};x._getGvImageByIndex=function(a){var b=this.gvImages.length;a%=b;return 0>a?this.gvImages[b+a]:this.gvImages[a]};x.renderVisiblePanelImages=function(){for(var a,b=this.iterator,c=-2;c<=this._visibleThumbnailsNumber;c++)a=this._getGvImageByIndex(b+c),webwave.isDef(a)&&!1===a.isPanelImgRendered()&&a.renderPanelImg(this)};
x.onImageLoaded=function(a){if(webwave.isDefAndNotNull(a)){var b=this.gvImages.indexOf(a);this._imageLoadedListeners.forEach(function(a){a(b)})}};x.renderVisibleFilmstripImages=function(){var a,b=this.frameIterator,b=l(this.dom.gv_frames.slice(Math.max(b-1,0),Math.min(b+2*this._visibleThumbnailsNumber,this.dom.gv_frames.length)));try{var c=function(){var b=a.value.querySelector("img");if(webwave.isDefAndNotNull(b)){var c=b.getAttribute("data-src");webwave.isStringAndNotEmpty(c)&&(b.addEventListener("load",
function(){b.style.visibility=""}),b.setAttribute("src",c),b.removeAttribute("data-src"))}};for(b.s();!(a=b.n()).done;)c()}catch(d){b.e(d)}finally{b.f()}};x.renderVisibleImages=function(){!0===this.opts.show_panels&&this.renderVisiblePanelImages();!0===this.opts.show_filmstrip&&this.renderVisibleFilmstripImages()};x.initImages=function(){this.renderVisibleImages()};x.showNext=function(a){2>this.numImages||(this.navAction="next",this.showItem(this.frameIterator+1,a))};x.showPrev=function(a){2>this.numImages||
(this.navAction="prev",this.showItem(this.frameIterator-1,a))};x.getNextPanel=function(){return this.iterator<this.numImages-1?this.dom.gv_panels.eq(this.iterator+1):!0===this.opts.loop?this.dom.gv_panels.eq(0):$()};x.getPrevPanel=function(){return 0<this.iterator?this.dom.gv_panels.eq(this.iterator-1):!0===this.opts.loop?this.dom.gv_panels.eq(this.numImages-1):$()};x.getPanelByIndex=function(a){return this.dom.gvPanels.eq(this.normalizeIndex(a))};x.normalizeIndex=function(a){a%=this.numImages;return 0>
a&&(a=this.numImages-Math.abs(a)),a};x.getCurrentPanel=function(){return this.dom.gv_panels.eq(this.iterator)};x.changeCropTypeForCurrentImage=function(a){var b=this._getGvImageByIndex(this.iterator);b.imageCropData=a;this.getCurrentPanel().html(this.renderImageWrapper(b));b.renderPanelImg(this)};x.changeAnimation=function(a){this.opts.panel_animation=a};x.disabledFilmstripEvents=function(){this._setFilmstripEventsDisableFlag(!0)};x.enabledFilmstripEvents=function(){this._setFilmstripEventsDisableFlag(!1)};
x.showItem=function(a,b){var d=this;if(!1!==webwave.isNumberAndNotNaN(a)){var e=this.normalizeIndex(a);if(1!=this.numImages&&this.iterator!==e){var f=this.dom;"frame"===this.navAction&&(a>this.iterator?this.navAction="next":this.navAction="prev");var g=this.getCurrentPanel(),l=f.gv_panels.eq(e);if(this.stopSlideshow(),this.unbindActions(),1!=b){this.currentAnimation&&this.currentAnimation.stop(!0);var p="next"===this.navAction?k.a.LEFT:k.a.RIGHT;this.dom.gv_panelWrap.append(l);var p={direction:p,
panel:g,nextPanel:l,panelWrap:this.dom.gv_panelWrap,panelParent:this.dom.gv_panelWrap,panelSize:new w.a({width:this.opts.panel_width,height:this.opts.panel_height}),duration:this.opts.transition_speed,onComplete:function(){n.clean();d.currentAnimation=void 0;g.detach();f.gv_panelWrap.append(l);d.renderVisiblePanelImages();d.markCurrentPanel(l);d.bindActions();d.updateSlideshowState();webwave.isFunction(d.opts.onImageChanged)&&d.opts.onImageChanged(l)}},n=c.createAnimationByName(this.opts.panel_animation,
p);this.currentAnimation=n;this.getAnimator().registerAnimation(n)}else g.detach(),f.gv_panelWrap.append(l),this.renderVisiblePanelImages(),this.markCurrentPanel(l),this.bindActions(),this.updateSlideshowState(),"function"==typeof this.opts.onImageChanged&&this.opts.onImageChanged(l);this.updateOverlay(e);p=this.iterator;this.iterator=e;!0===b&&this.renderVisiblePanelImages();this.updateFilmstrip(a,b);this.showInfoBar();"function"==typeof this.opts.onImageChange&&this.opts.onImageChange(e,p)}}};x.markCurrentPanel=
function(a){this.dom.gv_panels.removeClass("currentPanel");a.addClass("currentPanel")};x.updateOverlay=function(a,b,c){if(webwave.isNotDef(c)&&(c={}),!0!==this._beingDisposed&&0!==this.gvImages.length){var d=this.dom,e=this;a=this.gvImages[a];var f=a.attrs.title;webwave.isNotDef(f)&&(f="");a=H(a);d.gv_overlay.detach();d.gv_panelWrap.children("a").remove();webwave.isDefAndNotNull(a)?(a.appendChild(d.gv_overlay[0]),d.gv_panelWrap[0].appendChild(a)):d.gv_panelWrap.append(d.gv_overlay);this.overlayVisible&&
!0!==b?this.hideOverlay(null,function(){d.gv_overlayHeader.html(f);e.showOverlay();!1===e._beingDisposed&&!0!==c.noExternalCallback&&webwave.isFunction(e.opts.onOverlayChange)&&e.opts.onOverlayChange(d)}):(d.gv_overlayHeader.html(f),!1===e._beingDisposed&&!0!==c.noExternalCallback&&webwave.isFunction(e.opts.onOverlayChange)&&e.opts.onOverlayChange(d))}};x.hideOverlay=function(a,b){var c=this.dom,d={};a=a||this.opts.transition_speed;d.opacity=0;c.gv_overlay.animate(d,{duration:a,easing:"swing",complete:b||
function(){}});this.overlayVisible=!1};x.showOverlay=function(a){a=this.dom;a.gv_overlay.css({opacity:""});!0===this.opts.enable_overlays&&("bottom"===this.opts.overlay_position?(a.gv_overlay.removeClass("onTop"),a.gv_overlay.addClass("onBottom")):(a.gv_overlay.addClass("onTop"),a.gv_overlay.removeClass("onBottom")));this.overlayVisible=!0};x.updateFilmstrip=function(a,b){if(this.opts.show_filmstrip){var c,d=this,e=this.dom;b=e.gv_thumbnails.eq(this.iterator);this.scrolling&&(b=b.add(e.gv_thumbnails.eq(this.iterator+
this.numImages)).add(e.gv_thumbnails.eq(this.iterator+2*this.numImages)));e.gv_thumbnails.removeClass("current").stop(!0,!0).animate({opacity:this.opts.frame_opacity});b.stop().addClass("current").stop(!0,!0).animate({opacity:1},500);this.scrolling?"horizontal"===this.filmstripOrientation?(c=0<(c=(n.outerWidth(e.gv_frame)+this.opts.frame_gap)*(this.frameIterator-a))?"+="+Math.abs(c):"-="+Math.abs(c),d.frameIterator=a%d.numImages+d.numImages,e.gv_filmstrip.stop(!0,!0).animate({left:c},{duration:this.opts.transition_speed,
easing:this.opts.easing,complete:function(){a<d.numImages?e.gv_filmstrip.css("left",n.getInt(e.gv_filmstrip.css("left"))-d.numImages*(n.outerWidth(e.gv_frame)+d.opts.frame_gap)):a>=2*d.numImages&&e.gv_filmstrip.css("left",n.getInt(e.gv_filmstrip.css("left"))+d.numImages*(n.outerWidth(e.gv_frame)+d.opts.frame_gap));d.renderVisibleFilmstripImages()}})):(c=0<(c=(n.outerHeight(e.gv_frame)+this.opts.frame_gap)*(this.frameIterator-a))?"+="+Math.abs(c):"-="+Math.abs(c),0===a?d.frameIterator=d.numImages:
a>3*d.numImages-2*d.filmstripSize?d.frameIterator=a-d.numImages:d.frameIterator=a,e.gv_filmstrip.stop(!0,!0).animate({top:c},{duration:this.opts.transition_speed,easing:this.opts.easing,complete:function(){0===a?e.gv_filmstrip.css("top",n.getInt(e.gv_filmstrip.css("top"))-d.numImages*(n.outerHeight(e.gv_frame)+d.opts.frame_gap)):a>3*d.numImages-2*d.filmstripSize&&e.gv_filmstrip.css("top",n.getInt(e.gv_filmstrip.css("top"))+d.numImages*(n.outerHeight(e.gv_frame)+d.opts.frame_gap));d.renderVisibleFilmstripImages()}})):
this.frameIterator=a}else this.frameIterator=a};x.startSlideshow=function(){var a=this;!0!==this._beingDisposed&&this.opts.enable_slideshow&&(clearInterval(this._slideshowTimeout),this._slideshowTimeout=setInterval(function(){!1===document.hidden&&a.showNext()},this.opts.transition_interval))};x.stopSlideshow=function(){clearInterval(this._slideshowTimeout)};x.updateSlideshowState=function(){!1===this._slideshowPaused&&!0===this.opts.autoplay?this.startSlideshow():this.stopSlideshow()};x.setSlideshowPause=
function(a){var b=this._slideshowPaused!==a;this._slideshowPaused=!0===a;b&&this.updateSlideshowState()};x.setAutoPlay=function(a){var b=this.opts.autoplay!==a;this.opts.autoplay=!0===a;b&&this.updateSlideshowState()};x.enablePanning=function(){var a=this,b=this.dom;a.opts.enable_slideshow&&(b.gv_panel.css("cursor","url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur), n-resize"),"drag"===this.opts.pan_style&&b.gv_panelWrap.on("mousedown.galleryview",".gv_panel img",function(b){a.isMouseDown=
!0;$(this).css("cursor","url(http://www.google.com/intl/en_ALL/mapfiles/closedhand.cur), n-resize")}).on("mouseup.galleryview",".gv_panel img",function(b){a.isMouseDown=!1;$(this).css("cursor","url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur), n-resize")}).on("mousemove.galleryview",".gv_panel img",function(c){var d,e,f,g,k=$(this);a.isMouseDown?(d=c.pageY-a.mouse.y,e=c.pageX-a.mouse.x,f=n.getInt(k.css("top"))+d,g=n.getInt(k.css("left"))+e,k.css("cursor","url(http://www.google.com/intl/en_ALL/mapfiles/closedhand.cur), n-resize"),
0<f&&(f=0),0<g&&(g=0),f<-1*(n.outerHeight(k)-n.innerHeight(b.gv_panel))&&(f=-1*(n.outerHeight(k)-n.innerHeight(b.gv_panel))),g<-1*(n.outerWidth(k)-n.innerWidth(b.gv_panel))&&(g=-1*(n.outerWidth(k)-n.innerWidth(b.gv_panel))),k.css("top",f),k.css("left",g)):k.css("cursor","url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur), n-resize")}))};x.setNavigationVisibilityType=function(a){webwave.isValidEnumValue(a,e.a)&&(this._navigationVisibilityType=a,this._updateMouseOverInterfaceVisibility())};
x._updateMouseOverInterfaceVisibility=function(){this._navigationVisibilityType===e.a.VISIBLE||!0===this._isMouseOver?(this.showPanelNav(),!0===this.opts.showFilmstripOnHover&&this.showFilmstrip()):(this.hidePanelNav(),!0===this.opts.showFilmstripOnHover&&this.hideFilmstrip())};x.mouseOverHandler=function(){this._isMouseOver=!0;this._updateMouseOverInterfaceVisibility()};x.mouseOutHandler=function(){this._isMouseOver=!1;this._updateMouseOverInterfaceVisibility()};x.bindActions=function(){var a=this,
b=this.dom;b.gv_showOverlay.off("click.galleryview").on("click.galleryview",function(){a.overlayVisible?a.hideOverlay(250):a.showOverlay(250)});b.gv_navWrap.off("click.galleryview").on("click.galleryview","div",function(){var b=$(this);return b.hasClass("gv_navNext")?a.showNext():b.hasClass("gv_navPrev")?a.showPrev():b.hasClass("gv_navPlay")?a.startSlideshow(!0):b.hasClass("gv_navPause")&&a.stopSlideshow(!0),!1});b.gv_panelNavNext.off("click.galleryview").on("click.galleryview",function(){return a.showNext(),
!1});b.gv_panelNavPrev.off("click.galleryview").on("click.galleryview",function(){return a.showPrev(),!1});b.gv_filmstripWrap.off("click.galleryview").on("click.galleryview",".gv_frame",function(){var b=$(this),b=webwave.parseNumber(b.attr("frameIndex"));return a.navAction="frame",a.showItem(b),!1});b.gv_galleryWrap.off("mouseover.galleryview").on("mouseover.galleryview",this.mouseOverHandler.bind(this));b.gv_galleryWrap.off("mouseout.galleryview").on("mouseout.galleryview",this.mouseOutHandler.bind(this));
this._updateSwipeableEvents()};x._updateSwipeableEvents=function(){!0!==this.opts.swipeEventsDisabled?this.swipeable||(this.swipeable=new b(this.dom.gv_panelWrap[0],{delegatedElements:"img",onStart:this.onSwipeStart.bind(this),onSwipe:this.onSwipe.bind(this),onStop:this.onSwipeStop.bind(this)})):this.swipeable&&(this.swipeable.dispose(),this.swipeable=void 0)};x.setSwipeEventsDisabled=function(a){this.opts.swipeEventsDisabled=!0===a;this._updateSwipeableEvents()};x.onSwipeStart=function(a,b){if(!(1>=
this.numImages)){webwave.isDef(this.currentAnimation)&&this.currentAnimation.stop(!0);webwave.isDefAndNotNull(this._swippingData)&&this.getAnimator().unregisterAnimation(this._swippingData.manualAnimation);this.stopSlideshow();var d=b.direction===f.a.LEFT?this.getNextPanel():this.getPrevPanel(),e="slide"===this.opts.panel_animation?"linear":"swing";b={direction:b.direction===f.a.LEFT?k.a.LEFT:k.a.RIGHT,panel:this.getCurrentPanel(),nextPanel:d,panelWrap:this.dom.gv_panelWrap,panelParent:this.dom.gv_panelWrap,
panelSize:new w.a({width:this.opts.panel_width,height:this.opts.panel_height}),galleryView:this,easing:e};this.dom.gv_panelWrap.append(b.nextPanel);this.currentAnimation=b=c.createAnimationByName(this.opts.panel_animation,b);d=new v.a({animation:b});this.getAnimator().registerAnimation(d);this._swippingData={animation:b,manualAnimation:d,startTime:a.timeStamp}}};x.onSwipe=function(a,b){if(!(1>=this.numImages)){var c=b.direction===f.a.LEFT?k.a.LEFT:k.a.RIGHT;a=this._swippingData.animation;if(a._direction!==
c){a.setDirection(c);var d=a.getNextPanel(),c=c===k.a.LEFT?this.getNextPanel():this.getPrevPanel();a.clean();d.detach();this.dom.gv_panelWrap.append(c);a.setNextPanel(c);a._initDomObjects&&a._initDomObjects()}this._swippingData.manualAnimation.setProgress(Math.abs(b.swipe.x/this.opts.panel_width))}};x.onSwipeStop=function(a,b){if(!(1>=this.numImages)){var c,d=this,e="current";b=b.swipe.x;(a.timeStamp-this._swippingData.startTime<d.opts.maxFastDragTimeSpan&&0!==b||Math.abs(b)>d.opts.panel_width/3)&&
(e=0<b?"previous":"next");a=this._swippingData.manualAnimation;switch(e){case "current":c=a.createRevertAnimation(function(){c._animation._nextPanel.detach();d.updateSlideshowState()});break;case "next":0<d.getNextPanel().length&&(c=a.createFinishAnimation(function(){c._animation._panel.detach();d.showNext(!0);d.currentAnimation=void 0}));break;case "previous":c=0<d.getPrevPanel().length?a.createFinishAnimation(function(){c._animation._panel.detach();d.showPrev(!0);d.currentAnimation=void 0}):a.createRevertAnimation()}this.getAnimator().unregisterAnimation(a);
this.currentAnimation=c;this.getAnimator().registerAnimation(c);this._swippingData=null}};x.unbindActions=function(){var a=this.dom;a.gv_showOverlay.off("click.galleryview");a.gv_panelNavNext.off("click.galleryview");a.gv_panelNavPrev.off("click.galleryview");a.gv_navWrap.off("click.galleryview","div");a.gv_filmstripWrap.off("click.galleryview",".gv_frame")};x.showPanelNav=function(){var a=this.dom;a.gv_panelNavNext.show();a.gv_panelNavPrev.show()};x.hidePanelNav=function(){var a=this.dom;a.gv_panelNavNext.hide();
a.gv_panelNavPrev.hide()};x.showFilmstrip=function(){this.dom.gv_filmstripWrap.show()};x.hideFilmstrip=function(){this.dom.gv_filmstripWrap.hide()};x.resize=function(a){this.opts=$.extend({},F,a);this._updateGallerySize();this._updateGalleryImageSize();this._updateThumbnailsPanelWidth();this.setPositions()};x.init=function(a,b){var c=this,d=this.dom={};this.opts=$.extend({},F,a);this.el=b;this.$el=$(b);this.id=b.id;this.iterator=this.frameIterator=this.opts.start_frame-1;this.isMouseDown=this.scrolling=
this.playing=this.overlayVisible=!1;this.mouse={x:0,y:0};this.filmstripOrientation="top"===this.opts.filmstrip_position||"bottom"===this.opts.filmstrip_position?"horizontal":"vertical";$(document).on("mousemove.galleryview",function(a){c.mouse={x:a.pageX,y:a.pageY}});$.each(this.elems,function(a,b){a=b.split(".");""===a[0]&&(a[0]="div");d[a[1]]=c.createElem({class:a[1]},a[0])});d.gv_imageStore.appendTo($("body"));d.gv_galleryWrap.on("mousedown.galleryview","img",function(a){a.preventDefault&&a.preventDefault()});
d.gv_panel.addClass("gv_panel-loading");d.gv_frame.addClass("gv_frame-loading");d.gv_galleryWrap.hide().append(d.gv_gallery);this.opts.show_panels&&(d.gv_gallery.append(d.gv_panelWrap),this.opts.show_panel_nav&&(d.gv_panelWrap.append(d.gv_panelNavNext,d.gv_panelNavPrev),d.gv_panelNavNext.css("right",this.opts.nextButtonDistance),d.gv_panelNavPrev.css("left",this.opts.prevButtonDistance)),this.opts.show_infobar&&d.gv_panelWrap.append(d.gv_infobar));d.gv_gallery.append(d.gv_controlsWrap);this.opts.show_filmstrip&&
(d.gv_gallery.append(d.gv_filmstripWrap.append(d.gv_filmstrip)),this.opts.show_filmstrip_nav&&d.gv_gallery.append(d.gv_navWrap.append(d.gv_navPrev,this.opts.enable_slideshow?d.gv_navPlay:$("<span></span>"),d.gv_navNext)),!0===this.opts.showFilmstripOnHover&&this.hideFilmstrip());this.opts.enable_overlays&&(d.gv_panelWrap.append(d.gv_overlay,d.gv_showOverlay),d.gv_overlay.append(d.gv_overlayHeaderWrapper),d.gv_overlayHeaderWrapper.addClass("innerElement ww_inner_element"),d.gv_overlayHeaderWrapper.append(d.gv_overlayHeader),
d.gv_overlayHeader.addClass("innerElementContent ww_inner_element_content"),this.opts.header_text_style_id&&d.gv_overlayHeader.addClass(this.opts.header_text_style_id));this.opts.show_captions&&d.gv_frame.append(d.gv_caption).appendTo(d.gv_gallery);this.$el.replaceWith(d.gv_galleryWrap);this.opts.pan_images&&this.enablePanning();this.storeImages();this.buildGallery();this.initImages();this.bindActions();d.gv_frame.remove();d.gv_galleryWrap[0].style.display="block";this.opts.autoplay&&this.updateSlideshowState();
this.updateOverlay(this.iterator,!1,{noExternalCallback:!0});this.opts.enable_overlays&&c.showOverlay(250)};x.dispose=function(){this._beingDisposed=!0;this.currentAnimation&&(this.getAnimator().unregisterAnimation(this.currentAnimation),this.currentAnimation.stop(),this.currentAnimation=void 0);this.stopSlideshow();webwave.isDef(this.swipeable)&&this.swipeable.dispose();this.$el.remove();this.dom.gv_galleryWrap.remove();this.dom.gv_imageStore.remove()};x.setAnimator=function(a){this._animator=a};
x.addImageLoadedListener=function(a){this._imageLoadedListeners.push(a)};x.getAnimator=function(){return this._animator};x._setFirstThumbnailAsCurrent=function(){var b=this.dom.gv_thumbnails.eq(this.iterator)[0];webwave.isDefAndNotNull(b)&&(b.classList.add(a.a.CURRENT_THUMBNAIL_CLASS_NAME),b.style.opacity=1)};x._setFilmstripEventsDisableFlag=function(a){this.opts.filmstripEventsDisabled=a;this.dom.gv_filmstrip.toggleClass("events-disabled",a)};x._updateGalleryImageSize=function(){for(var a=this.dom,
b=0;b<a.gv_panels.length;b++){var c=this.gvImages[b],c=this._countImageScaleData({width:c.width,height:c.height,newWidth:this.opts.panel_width,newHeight:this.opts.panel_height,cropType:this.opts.panel_scale,imageCropData:c.imageCropData}),c={width:c.width+"px",height:c.height+"px",top:c.heightOffset+"px",left:c.widthOffset+"px"};$(a.gv_panels[b]).css({width:this.opts.panel_width,height:this.opts.panel_height});$(a.gv_panels[b]).find(".gv_imgWrapper").css(c)}};x._updateGallerySize=function(){var a,
b,c=this.dom.gv_panelWrap[0];c.style.width="".concat(this.opts.panel_width,"px");c.style.height="".concat(this.opts.panel_height,"px");this.opts.show_filmstrip?this.opts.filmstrip_on_image?(a=n.outerWidth(this.dom.gv_panelWrap),b=n.outerHeight(this.dom.gv_panelWrap)):"horizontal"===this.filmstripOrientation?(a=n.outerWidth(this.dom.gv_panelWrap),b=n.outerHeight(this.dom.gv_panelWrap)+this.opts.frame_gap+(this.opts.show_filmstrip?Math.max(n.outerHeight(this.dom.gv_filmstripWrap),n.outerHeight(this.dom.gv_navWrap)):
n.outerHeight(this.dom.gv_filmstripWrap))):(a=n.outerWidth(this.dom.gv_panelWrap)+this.opts.frame_gap+(this.opts.show_filmstrip?Math.max(n.outerWidth(this.dom.gv_filmstripWrap),n.outerWidth(this.dom.gv_navWrap)):n.outerWidth(this.dom.gv_filmstripWrap)),b=n.outerHeight(this.dom.gv_panelWrap)):(a=n.outerWidth(this.dom.gv_panelWrap),b=n.outerHeight(this.dom.gv_panelWrap));c=this.dom.gv_gallery[0];c.style.width="".concat(a,"px");c.style.height="".concat(b,"px");a=this.dom.gv_galleryWrap[0];a.style.width=
"".concat(n.outerWidth(this.dom.gv_gallery),"px");a.style.height="".concat(n.outerHeight(this.dom.gv_gallery),"px")};x._updateThumbnailsPanelWidth=function(){var a=this.dom;n.innerWidth(a.gv_navPrev);n.innerWidth(a.gv_navPlay);n.innerWidth(a.gv_navNext);var b=this.opts.frame_width,c=0,d=0;n.innerHeight(a.gv_navPrev);n.innerHeight(a.gv_navPlay);n.innerHeight(a.gv_navNext);var e=this.opts.frame_height+(this.opts.show_captions?n.outerHeight(a.gv_caption):0),f=0,g=0;"horizontal"===this.filmstripOrientation?
(this.filmstripSize=Math.floor((n.outerWidth(a.gv_panelWrap)-n.outerWidth(a.gv_navWrap))/(n.outerWidth(a.gv_frame)+this.opts.frame_gap)),c=this.filmstripSize*(n.outerWidth(a.gv_frame)+this.opts.frame_gap),d=this.gvImages.length*(n.outerWidth(a.gv_frame)+this.opts.frame_gap),b=Math.min(c,d),"scroll"!==this.opts.filmstrip_style&&(e=Math.ceil(this.gvImages.length/this.filmstripSize)*(n.outerHeight(a.gv_frame)+this.opts.frame_gap)-this.opts.frame_gap)):(this.filmstripSize=Math.floor((n.outerHeight(a.gv_panelWrap)-
n.outerHeight(a.gv_navWrap))/(n.outerHeight(a.gv_frame)+this.opts.frame_gap)),f=this.filmstripSize*(n.outerHeight(a.gv_frame)+this.opts.frame_gap),g=this.gvImages.length*(n.outerHeight(a.gv_frame)+this.opts.frame_gap),e=Math.min(f,g),"scroll"!==this.opts.filmstrip_style&&(b=Math.ceil(this.gvImages.length/this.filmstripSize)*(n.outerWidth(a.gv_frame)+this.opts.frame_gap)-this.opts.frame_gap));c=a.gv_filmstripWrap[0];c.style.width="".concat(b,"px");c.style.height="".concat(e,"px");!1===this.opts.show_filmstrip?
this._visibleThumbnailsNumber=2:"scroll"===this.opts.filmstrip_style?this._visibleThumbnailsNumber="horizontal"===this.filmstripOrientation?Math.round(b/n.innerWidth(a.gv_frame)):Math.round(e/n.innerHeight(a.gv_frame)):this._visibleThumbnailsNumber=this.gvImages.length};var H=function(a){var b;if(webwave.isDef(a)&&webwave.isDef(a.link)&&""!==a.link.href){b=webwave.isDef(a.link.target)?a.link.target:"_blank";var c=webwave.isDef(a.link.title)?a.link.title:"";b=Object(B.a)({href:a.link.href,target:b,
title:c});b=d.a.htmlToElements(b)[0];!0===a.link.samepage&&b.setAttribute(elementService.SAME_PAGE_ELEMENT_LINK_ATTRIBUTE_NAME,"true")}return b},F={transition_speed:1E3,transition_interval:5E3,easing:"swing",show_panels:!0,show_panel_nav:!0,nextButtonDistance:10,prevButtonDistance:10,enable_overlays:!1,panel_width:800,panel_height:400,panel_animation:"fade",panel_scale:g.a.COVER,overlay_position:"bottom",pan_images:!1,pan_style:"drag",pan_smoothness:15,start_frame:1,show_filmstrip:!0,show_filmstrip_nav:!0,
navigationVisibilityType:"hover",enable_slideshow:!0,autoplay:!1,show_captions:!1,filmstrip_size:3,filmstrip_style:"scroll",filmstrip_position:"bottom",filmstrip_on_image:!1,filmstripEdgeDistance:10,showFilmstripOnHover:!1,frame_width:80,frame_height:40,frame_opacity:.4,frame_scale:g.a.COVER,frame_gap:5,filmstripEventsDisabled:!1,show_infobar:!0,infobar_opacity:1,onImageChange:null,onImageChanged:null,onOverlayChange:null,maxFastDragTimeSpan:300,loop:!0,swipeEventsDisabled:!1}}()},2610:function(n,
c,b){c.a={CURRENT_THUMBNAIL_CLASS_NAME:"current"}},2611:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(c,a){Object(l.a)(this,b);this._scaleX=c;this._scaleY=a}return Object(p.a)(b,[{key:"getScaleX",value:function(){return this._scaleX}},{key:"getScaleY",value:function(){return this._scaleY}}]),b}()},2612:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(c){Object(l.a)(this,b);this._offset=c.offset;this._size=c.size}
return Object(p.a)(b,[{key:"getOffset",value:function(){return this._offset}},{key:"getSize",value:function(){return this._size}}]),b}()},2613:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var g=Object(a.a)(this).constructor;
d=Reflect.construct(d,arguments,g)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,"a",function(){return r});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2);n=b(1288);var d=b(2083),r=function(a){function b(a){var d;if(Object(p.a)(this,b),webwave.isNotDef(a)||webwave.isNotDef(a.animation))throw Error("No animation specified!");return(d=c.call(this,a))._progress=0,d._animation=a.animation,d}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"tick",value:function(){this._animation.render()}},
{key:"getDuration",value:function(){return 1/0}},{key:"setProgress",value:function(a){a=Math.max(a,0);this._progress=a=Math.min(a,1);this._animation.setCurrentTime(a*this._animation.getDuration());this._animation.updateValues()}},{key:"createFinishAnimation",value:function(a){return new d.a({animation:this._animation,direction:"forward",onComplete:a})}},{key:"createRevertAnimation",value:function(a){return new d.a({animation:this._animation,direction:"backward",onComplete:a})}},{key:"finish",value:function(a){this._animation.stop(a)}}]),
b}(n.a)},2614:function(n,c,b){b.d(c,"b",function(){return l});b.d(c,"c",function(){return p});b.d(c,"a",function(){return k});var l=function(b){var c=b.height,a=b.heightOffset,d=b.widthOffset,k=b.thumbnailUrl;return'\n    <img \n        style="biegacze na 60mwidth:'.concat(b.width,"px;height:").concat(c,"px;top:").concat(a,"px;left:").concat(d,'px;visibility: hidden;" \n        data-src="').concat(k,'" \n    />\n')},p=function(b){var c=b.height,a=b.heightOffset,d=b.widthOffset,k=b.imageUrl;return'\n    <div \n        class="gv_imgWrapper"\n        style="width:'.concat(b.width,
"px;height:").concat(c,"px;top:").concat(a,"px;left:").concat(d,'px;"\n    >\n        <img \n            class="gv_img"\n            style="visibility: hidden;" \n            data-src="').concat(k,'" \n        />\n    </div>\n')},k=function(b){var c=b.target,a=b.title;return'\n    <a \n        draggable="false"\n        href="'.concat(b.href,'"\n        target="').concat(c,'"     \n        title="').concat(a,'"\n    />\n')}},2741:function(n,c,b){var l=b(38);window.i18next=function(){function b(a,
c,d){function e(a){return a&&-1<a.indexOf("###")?a.replace(/###/g,"."):a}for(c="string"!=typeof c?[].concat(c):c.split(".");1<c.length;){if(!a||"string"==typeof a)return{};var f=e(c.shift());!a[f]&&d&&(a[f]=new d);a=a[f]}return a&&"string"!=typeof a?{obj:a,k:e(c.shift())}:{}}function c(a,d,e){a=b(a,d,Object);a.obj[a.k]=e}function g(a,c){c=b(a,c);a=c.obj;c=c.k;if(a)return a[c]}function e(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function a(a){return"string"==typeof a?a.replace(/[&<>"'\/]/g,
function(a){return H[a]}):a}function d(a){return a.charAt(0).toUpperCase()+a.slice(1)}function n(a){return"string"==typeof a.ns&&(a.ns=[a.ns]),"string"==typeof a.fallbackLng&&(a.fallbackLng=[a.fallbackLng]),"string"==typeof a.fallbackNS&&(a.fallbackNS=[a.fallbackNS]),a.whitelist&&0>a.whitelist.indexOf("cimode")&&a.whitelist.push("cimode"),a}function u(){}$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var v="function"==typeof Symbol&&"symbol"==Object(l.a)(Symbol.iterator)?function(a){return Object(l.a)(a)}:
function(a){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":Object(l.a)(a)},f=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function");},w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],d;for(d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a},B=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+
Object(l.a)(b));a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)},z=function(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=Object(l.a)(b)&&"function"!=typeof b?a:b},G=function(a,b){if(Array.isArray(a))return a;$jscomp.initSymbol();$jscomp.initSymbolIterator();if(Symbol.iterator in Object(a)){var c=[],d=
!0,e=!1,f=void 0;try{$jscomp.initSymbol();$jscomp.initSymbolIterator();for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(k){e=!0,f=k}finally{try{!d&&h.return&&h.return()}finally{if(e)throw f;}}return c}throw new TypeError("Invalid attempt to destructure non-iterable instance");},A={type:"logger",log:function(a){this.output("log",a)},warn:function(a){this.output("warn",a)},error:function(a){this.output("error",a)},output:function(a,b){var c;console&&
console[a]&&(c=console)[a].apply(c,function(a){if(Array.isArray(a)){for(var b=0,c=Array(a.length);b<a.length;b++)c[b]=a[b];return c}return Array.from(a)}(b))}},y=new (function(){function a(b){var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};f(this,a);this.init(b,c)}return a.prototype.init=function(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.prefix=b.prefix||"i18next:";this.logger=a||A;this.options=b;this.debug=b.debug},a.prototype.setDebug=function(a){this.debug=
a},a.prototype.log=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return this.forward(b,"log","",!0)},a.prototype.warn=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return this.forward(b,"warn","",!0)},a.prototype.error=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return this.forward(b,"error","")},a.prototype.deprecate=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return this.forward(b,
"warn","WARNING DEPRECATED: ",!0)},a.prototype.forward=function(a,b,c,d){return d&&!this.debug?null:("string"==typeof a[0]&&(a[0]=""+c+this.prefix+" "+a[0]),this.logger[b](a))},a.prototype.create=function(b){return new a(this.logger,w({prefix:this.prefix+":"+b+":"},this.options))},a}()),x=function(){function a(){f(this,a);this.observers={}}return a.prototype.on=function(a,b){var c=this;a.split(" ").forEach(function(a){c.observers[a]=c.observers[a]||[];c.observers[a].push(b)})},a.prototype.off=function(a,
b){var c=this;this.observers[a]&&this.observers[a].forEach(function(){if(b){var d=c.observers[a].indexOf(b);-1<d&&c.observers[a].splice(d,1)}else delete c.observers[a]})},a.prototype.emit=function(a){for(var b=arguments.length,c=Array(1<b?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];this.observers[a]&&[].concat(this.observers[a]).forEach(function(a){a.apply(void 0,c)});this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(b){var d;b.apply(b,(d=[a]).concat.apply(d,c))})},a}(),H={"&":"&amp;",
"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},F=function(a){function b(c){var d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};f(this,b);var e=z(this,a.call(this));return e.data=c||{},e.options=d,e}return B(b,a),b.prototype.addNamespaces=function(a){0>this.options.ns.indexOf(a)&&this.options.ns.push(a)},b.prototype.removeNamespaces=function(a){a=this.options.ns.indexOf(a);-1<a&&this.options.ns.splice(a,1)},b.prototype.getResource=
function(a,b,c){var d=(3<arguments.length&&void 0!==arguments[3]?arguments[3]:{}).keySeparator||this.options.keySeparator;void 0===d&&(d=".");var e=[a,b];return c&&"string"!=typeof c&&(e=e.concat(c)),c&&"string"==typeof c&&(e=e.concat(d?c.split(d):c)),-1<a.indexOf(".")&&(e=a.split(".")),g(this.data,e)},b.prototype.addResource=function(a,b,d,e){var f=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{silent:!1},g=this.options.keySeparator;void 0===g&&(g=".");var h=[a,b];d&&(h=h.concat(g?d.split(g):
d));-1<a.indexOf(".")&&(h=a.split("."),e=b,b=h[1]);this.addNamespaces(b);c(this.data,h,e);f.silent||this.emit("added",a,b,d,e)},b.prototype.addResources=function(a,b,c){for(var d in c)"string"==typeof c[d]&&this.addResource(a,b,d,c[d],{silent:!0});this.emit("added",a,b,c)},b.prototype.addResourceBundle=function(a,b,d,e,f){var h=[a,b];-1<a.indexOf(".")&&(h=a.split("."),e=d,d=b,b=h[1]);this.addNamespaces(b);var l=g(this.data,h)||{};e?function X(a,b,c){for(var d in b)d in a?"string"==typeof a[d]||a[d]instanceof
String||"string"==typeof b[d]||b[d]instanceof String?c&&(a[d]=b[d]):X(a[d],b[d],c):a[d]=b[d];return a}(l,d,f):l=w({},l,d);c(this.data,h,l);this.emit("added",a,b,d)},b.prototype.removeResourceBundle=function(a,b){this.hasResourceBundle(a,b)&&delete this.data[a][b];this.removeNamespaces(b);this.emit("removed",a,b)},b.prototype.hasResourceBundle=function(a,b){return void 0!==this.getResource(a,b)},b.prototype.getResourceBundle=function(a,b){return b||(b=this.options.defaultNS),"v1"===this.options.compatibilityAPI?
w({},this.getResource(a,b)):this.getResource(a,b)},b.prototype.toJSON=function(){return this.data},b}(x),C={processors:{},addPostProcessor:function(a){this.processors[a.name]=a},handle:function(a,b,c,d,e){var f=this;return a.forEach(function(a){f.processors[a]&&(b=f.processors[a].process(b,c,d,e))}),b}},L=function(a){function b(c){var d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};f(this,b);var e=z(this,a.call(this));return function(a,b,c){a.forEach(function(a){b[a]&&(c[a]=b[a])})}(["resourceStore",
"languageUtils","pluralResolver","interpolator","backendConnector"],c,e),e.options=d,e.logger=y.create("translator"),e}return B(b,a),b.prototype.changeLanguage=function(a){a&&(this.language=a)},b.prototype.exists=function(a){var b=this.resolve(a,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{interpolation:{}});return b&&void 0!==b.res},b.prototype.extractFromKey=function(a,b){var c=b.nsSeparator||this.options.nsSeparator;void 0===c&&(c=":");var d=b.keySeparator||this.options.keySeparator||
".";b=b.ns||this.options.defaultNS;c&&-1<a.indexOf(c)&&(a=a.split(c),(c!==d||c===d&&-1<this.options.ns.indexOf(a[0]))&&(b=a.shift()),a=a.join(d));return"string"==typeof b&&(b=[b]),{key:a,namespaces:b}},b.prototype.translate=function(a){var b=this,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if("object"!==(void 0===c?"undefined":v(c))&&(c=this.options.overloadTranslationOptionHandler(arguments)),void 0===a||null===a||""===a)return"";"number"==typeof a&&(a=String(a));"string"==typeof a&&
(a=[a]);var d=c.keySeparator||this.options.keySeparator||".",e=this.extractFromKey(a[a.length-1],c),f=e.key,g=e.namespaces,h=g[g.length-1],e=c.lng||this.language,k=c.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(e&&"cimode"===e.toLowerCase())return k?h+(c.nsSeparator||this.options.nsSeparator)+f:f;var l=(k=this.resolve(a,c))&&k.res,k=k&&k.usedKey||f,p=Object.prototype.toString.apply(l),n=void 0!==c.joinArrays?c.joinArrays:this.options.joinArrays;if(l&&"string"!=typeof l&&"boolean"!=
typeof l&&"number"!=typeof l&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(p)&&(!n||"[object Array]"!==p)){if(!c.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(k,l,c):"key '"+f+" ("+this.language+")' returned an object instead of string.";if(c.keySeparator||this.options.keySeparator){var e="[object Array]"===p?[]:{},r;for(r in l)Object.prototype.hasOwnProperty.call(l,
r)&&(e[r]=this.translate(""+k+d+r,w({},c,{joinArrays:!1,ns:g})));l=e}}else if(n&&"[object Array]"===p)(l=l.join(n))&&(l=this.extendTranslation(l,a,c));else{d=r=!1;this.isValidLookup(l)||void 0===c.defaultValue||(r=!0,l=c.defaultValue);this.isValidLookup(l)||(d=!0,l=f);var E=c.defaultValue&&c.defaultValue!==l&&this.options.updateMissing;if(d||r||E){this.logger.log(E?"updateKey":"missingKey",e,h,f,E?c.defaultValue:l);e=[];r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,c.lng||this.language);
if("fallback"===this.options.saveMissingTo&&r&&r[0])for(g=0;g<r.length;g++)e.push(r[g]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(c.lng||this.language):e.push(c.lng||this.language);var u=function(a,d){b.options.missingKeyHandler?b.options.missingKeyHandler(a,h,d,E?c.defaultValue:l,E):b.backendConnector&&b.backendConnector.saveMissing&&b.backendConnector.saveMissing(a,h,d,E?c.defaultValue:l,E);b.emit("missingKey",a,h,d,l)};this.options.saveMissing&&(this.options.saveMissingPlurals&&
c.count?e.forEach(function(a){b.pluralResolver.getPluralFormsOfKey(a,f).forEach(function(b){return u([a],b)})}):u(e,f))}l=this.extendTranslation(l,a,c);d&&l===f&&this.options.appendNamespaceToMissingKey&&(l=h+":"+f);d&&this.options.parseMissingKeyHandler&&(l=this.options.parseMissingKeyHandler(l))}return l},b.prototype.extendTranslation=function(a,b,c){var d=this;c.interpolation&&this.interpolator.init(w({},c,{interpolation:w({},this.options.interpolation,c.interpolation)}));var e=c.replace&&"string"!=
typeof c.replace?c.replace:c;this.options.interpolation.defaultVariables&&(e=w({},this.options.interpolation.defaultVariables,e));a=this.interpolator.interpolate(a,e,c.lng||this.language);!1!==c.nest&&(a=this.interpolator.nest(a,function(){return d.translate.apply(d,arguments)},c));c.interpolation&&this.interpolator.reset();e=c.postProcess||this.options.postProcess;e="string"==typeof e?[e]:e;return void 0!==a&&e&&e.length&&!1!==c.applyPostProcessor&&(a=C.handle(e,a,b,c,this)),a},b.prototype.resolve=
function(a){var b=this,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},d=void 0,e=void 0;return"string"==typeof a&&(a=[a]),a.forEach(function(a){if(!b.isValidLookup(d)){a=b.extractFromKey(a,c);var f=a.key;e=f;a=a.namespaces;b.options.fallbackNS&&(a=a.concat(b.options.fallbackNS));var g=void 0!==c.count&&"string"!=typeof c.count,h=void 0!==c.context&&"string"==typeof c.context&&""!==c.context,k=c.lngs?c.lngs:b.languageUtils.toResolveHierarchy(c.lng||b.language);a.forEach(function(a){b.isValidLookup(d)||
k.forEach(function(e){if(!b.isValidLookup(d)){var k=f,l=[k],p=void 0;g&&(p=b.pluralResolver.getSuffix(e,c.count));g&&h&&l.push(k+p);h&&l.push(k+=""+b.options.contextSeparator+c.context);for(g&&l.push(k+p);k=l.pop();)b.isValidLookup(d)||(d=b.getResource(e,a,k,c))}})})}}),{res:d,usedKey:e}},b.prototype.isValidLookup=function(a){return!(void 0===a||!this.options.returnNull&&null===a||!this.options.returnEmptyString&&""===a)},b.prototype.getResource=function(a,b,c){return this.resourceStore.getResource(a,
b,c,3<arguments.length&&void 0!==arguments[3]?arguments[3]:{})},b}(x),M=function(){function a(b){f(this,a);this.options=b;this.whitelist=this.options.whitelist||!1;this.logger=y.create("languageUtils")}return a.prototype.getScriptPartFromCode=function(a){if(!a||0>a.indexOf("-"))return null;a=a.split("-");return 2===a.length?null:(a.pop(),this.formatLanguageCode(a.join("-")))},a.prototype.getLanguagePartFromCode=function(a){if(!a||0>a.indexOf("-"))return a;a=a.split("-");return this.formatLanguageCode(a[0])},
a.prototype.formatLanguageCode=function(a){if("string"==typeof a&&-1<a.indexOf("-")){var b="hans hant latn cyrl cans mong arab".split(" ");a=a.split("-");return this.options.lowerCaseLng?a=a.map(function(a){return a.toLowerCase()}):2===a.length?(a[0]=a[0].toLowerCase(),a[1]=a[1].toUpperCase(),-1<b.indexOf(a[1].toLowerCase())&&(a[1]=d(a[1].toLowerCase()))):3===a.length&&(a[0]=a[0].toLowerCase(),2===a[1].length&&(a[1]=a[1].toUpperCase()),"sgn"!==a[0]&&2===a[2].length&&(a[2]=a[2].toUpperCase()),-1<b.indexOf(a[1].toLowerCase())&&
(a[1]=d(a[1].toLowerCase())),-1<b.indexOf(a[2].toLowerCase())&&(a[2]=d(a[2].toLowerCase()))),a.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?a.toLowerCase():a},a.prototype.isWhitelisted=function(a){return("languageOnly"===this.options.load||this.options.nonExplicitWhitelist)&&(a=this.getLanguagePartFromCode(a)),!this.whitelist||!this.whitelist.length||-1<this.whitelist.indexOf(a)},a.prototype.getFallbackCodes=function(a,b){if(!a)return[];if("string"==typeof a&&(a=[a]),"[object Array]"===
Object.prototype.toString.apply(a))return a;if(!b)return a.default||[];var c=a[b];return c||(c=a[this.getScriptPartFromCode(b)]),c||(c=a[this.formatLanguageCode(b)]),c||(c=a.default),c||[]},a.prototype.toResolveHierarchy=function(a,b){var c=this;b=this.getFallbackCodes(b||this.options.fallbackLng||[],a);var d=[],e=function(a){a&&(c.isWhitelisted(a)?d.push(a):c.logger.warn("rejecting non-whitelisted language code: "+a))};return"string"==typeof a&&-1<a.indexOf("-")?("languageOnly"!==this.options.load&&
e(this.formatLanguageCode(a)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&e(this.getScriptPartFromCode(a)),"currentOnly"!==this.options.load&&e(this.getLanguagePartFromCode(a))):"string"==typeof a&&e(this.formatLanguageCode(a)),b.forEach(function(a){0>d.indexOf(a)&&e(c.formatLanguageCode(a))}),d},a}(),Q=[{lngs:"ach ak am arn br fil gun ln mfe mg mi oc pt pt-BR tg ti tr uz wa".split(" "),nr:[1,2],fc:1},{lngs:"af an ast az bg bn ca da de dev el en eo es et eu fi fo fur fy gl gu ha he hi hu hy ia it kn ku lb mai ml mn mr nah nap nb ne nl nn no nso pa pap pms ps pt-PT rm sco se si so son sq sv sw ta te tk ur yo".split(" "),
nr:[1,2],fc:2},{lngs:"ay bo cgg fa id ja jbo ka kk km ko ky lo ms sah su th tt ug vi wo zh".split(" "),nr:[1],fc:3},{lngs:"be bs dz hr ru sr uk".split(" "),nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},
{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21}],Y={1:function(a){return Number(1<a)},2:function(a){return Number(1!=a)},3:function(a){return 0},4:function(a){return Number(1==a%10&&11!=a%100?0:2<=a%10&&4>=a%10&&(10>a%100||20<=a%100)?1:2)},5:function(a){return Number(0===a?0:1==a?1:2==a?2:3<=a%100&&
10>=a%100?3:11<=a%100?4:5)},6:function(a){return Number(1==a?0:2<=a&&4>=a?1:2)},7:function(a){return Number(1==a?0:2<=a%10&&4>=a%10&&(10>a%100||20<=a%100)?1:2)},8:function(a){return Number(1==a?0:2==a?1:8!=a&&11!=a?2:3)},9:function(a){return Number(2<=a)},10:function(a){return Number(1==a?0:2==a?1:7>a?2:11>a?3:4)},11:function(a){return Number(1==a||11==a?0:2==a||12==a?1:2<a&&20>a?2:3)},12:function(a){return Number(1!=a%10||11==a%100)},13:function(a){return Number(0!==a)},14:function(a){return Number(1==
a?0:2==a?1:3==a?2:3)},15:function(a){return Number(1==a%10&&11!=a%100?0:2<=a%10&&(10>a%100||20<=a%100)?1:2)},16:function(a){return Number(1==a%10&&11!=a%100?0:0!==a?1:2)},17:function(a){return Number(1==a||1==a%10?0:1)},18:function(a){return Number(0==a?0:1==a?1:2)},19:function(a){return Number(1==a?0:0===a||1<a%100&&11>a%100?1:10<a%100&&20>a%100?2:3)},20:function(a){return Number(1==a?0:0===a||0<a%100&&20>a%100?1:2)},21:function(a){return Number(1==a%100?1:2==a%100?2:3==a%100||4==a%100?3:0)}},h=
function(){function a(b){var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};f(this,a);this.languageUtils=b;this.options=c;this.logger=y.create("pluralResolver");this.rules=function(){var a={};return Q.forEach(function(b){b.lngs.forEach(function(c){a[c]={numbers:b.nr,plurals:Y[b.fc]}})}),a}()}return a.prototype.addRule=function(a,b){this.rules[a]=b},a.prototype.getRule=function(a){return this.rules[a]||this.rules[this.languageUtils.getLanguagePartFromCode(a)]},a.prototype.needsPlural=
function(a){return(a=this.getRule(a))&&1<a.numbers.length},a.prototype.getPluralFormsOfKey=function(a,b){var c=this,d=[];return this.getRule(a).numbers.forEach(function(e){e=c.getSuffix(a,e);d.push(""+b+e)}),d},a.prototype.getSuffix=function(a,b){var c=this,d=this.getRule(a);if(d){a=d.noAbs?d.plurals(b):d.plurals(Math.abs(b));var e=d.numbers[a];this.options.simplifyPluralSuffix&&2===d.numbers.length&&1===d.numbers[0]&&(2===e?e="plural":1===e&&(e=""));b=function(){return c.options.prepend&&e.toString()?
c.options.prepend+e.toString():e.toString()};return"v1"===this.options.compatibilityJSON?1===e?"":"number"==typeof e?"_plural_"+e.toString():b():"v2"===this.options.compatibilityJSON||2===d.numbers.length&&1===d.numbers[0]?b():2===d.numbers.length&&1===d.numbers[0]?b():this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString()}return this.logger.warn("no plural rule found for: "+a),""},a}(),t=function(){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:
{};f(this,b);this.logger=y.create("interpolator");this.init(a,!0)}return b.prototype.init=function(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};arguments[1]&&(this.options=b,this.format=b.interpolation&&b.interpolation.format||function(a){return a},this.escape=b.interpolation&&b.interpolation.escape||a);b.interpolation||(b.interpolation={escapeValue:!0});b=b.interpolation;this.escapeValue=void 0===b.escapeValue||b.escapeValue;this.prefix=b.prefix?e(b.prefix):b.prefixEscaped||
"{{";this.suffix=b.suffix?e(b.suffix):b.suffixEscaped||"}}";this.formatSeparator=b.formatSeparator?b.formatSeparator:b.formatSeparator||",";this.unescapeSuffix=(this.unescapePrefix=b.unescapeSuffix?"":b.unescapePrefix||"-")?"":b.unescapeSuffix||"";this.nestingPrefix=b.nestingPrefix?e(b.nestingPrefix):b.nestingPrefixEscaped||e("$t(");this.nestingSuffix=b.nestingSuffix?e(b.nestingSuffix):b.nestingSuffixEscaped||e(")");this.maxReplaces=b.maxReplaces?b.maxReplaces:1E3;this.resetRegExp()},b.prototype.reset=
function(){this.options&&this.init(this.options)},b.prototype.resetRegExp=function(){this.regexp=new RegExp(this.prefix+"(.+?)"+this.suffix,"g");this.regexpUnescape=new RegExp(""+this.prefix+this.unescapePrefix+"(.+?)"+this.unescapeSuffix+this.suffix,"g");this.nestingRegexp=new RegExp(this.nestingPrefix+"(.+?)"+this.nestingSuffix,"g")},b.prototype.interpolate=function(a,b,c){var d=this,e=void 0,f=void 0,h=void 0,k=function(a){if(0>a.indexOf(d.formatSeparator))return g(b,a);var e=a.split(d.formatSeparator);
a=e.shift().trim();e=e.join(d.formatSeparator).trim();return d.format(g(b,a),e,c)};this.resetRegExp();for(h=0;(e=this.regexpUnescape.exec(a))&&(f=k(e[1].trim()),a=a.replace(e[0],f),this.regexpUnescape.lastIndex=0,!(++h>=this.maxReplaces)););for(h=0;(e=this.regexp.exec(a))&&("string"!=typeof(f=k(e[1].trim()))&&(f=null==f?"":""+f),f||(this.logger.warn("missed to pass in variable "+e[1]+" for interpolating "+a),f=""),f=(this.escapeValue?this.escape(f):f).replace(/\$/g,"$$$$"),a=a.replace(e[0],f),this.regexp.lastIndex=
0,!(++h>=this.maxReplaces)););return a},b.prototype.nest=function(a,b){var c,d=void 0,e=w({},2<arguments.length&&void 0!==arguments[2]?arguments[2]:{});for(e.applyPostProcessor=!1;c=this.nestingRegexp.exec(a);){var f;f=c[1].trim();var g=e;if(!(0>f.indexOf(","))){var h=f.split(",");f=h.shift();h=h.join(",");h=(h=this.interpolate(h,e)).replace(/'/g,'"');try{e=JSON.parse(h),g&&(e=w({},g,e))}catch(k){this.logger.error("failed parsing options string in nesting for key "+f,k)}}if((d=b(f,e))&&c[0]===a&&
"string"!=typeof d)return d;"string"!=typeof d&&(d=null==d?"":""+d);d||(this.logger.warn("missed to resolve "+c[1]+" for nesting "+a),d="");a=a.replace(c[0],d);this.regexp.lastIndex=0}return a},b}(),O=function(a){function c(b,d,e){var g=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};f(this,c);var h=z(this,a.call(this));return h.backend=b,h.store=d,h.languageUtils=e.languageUtils,h.options=g,h.logger=y.create("backendConnector"),h.state={},h.queue=[],h.backend&&h.backend.init&&h.backend.init(e,
g.backend,g),h}return B(c,a),c.prototype.queueLoad=function(a,b,c){var d=this,e=[],f=[],g=[],h=[];return a.forEach(function(a){var c=!0;b.forEach(function(b){var g=a+"|"+b;d.store.hasResourceBundle(a,b)?d.state[g]=2:0>d.state[g]||(1===d.state[g]?0>f.indexOf(g)&&f.push(g):(d.state[g]=1,c=!1,0>f.indexOf(g)&&f.push(g),0>e.indexOf(g)&&e.push(g),0>h.indexOf(b)&&h.push(b)))});c||g.push(a)}),(e.length||f.length)&&this.queue.push({pending:f,loaded:{},errors:[],callback:c}),{toLoad:e,pending:f,toLoadLanguages:g,
toLoadNamespaces:h}},c.prototype.loaded=function(a,c,d){var e=this,f=a.split("|"),f=G(f,2),g=f[0],h=f[1];c&&this.emit("failedLoading",g,h,c);d&&this.store.addResourceBundle(g,h,d);this.state[a]=c?-1:2;this.queue.forEach(function(d){var f=b(d.loaded,[g],Object),k=f.obj,f=f.k;k[f]=k[f]||[];k[f].push(h);k=d.pending;for(f=k.indexOf(a);-1!==f;)k.splice(f,1),f=k.indexOf(a);c&&d.errors.push(c);0!==d.pending.length||d.done||(e.emit("loaded",d.loaded),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())});
this.queue=this.queue.filter(function(a){return!a.done})},c.prototype.read=function(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,e=this,f=4<arguments.length&&void 0!==arguments[4]?arguments[4]:250,g=arguments[5];return a.length?this.backend[c](a,b,function(h,k){return h&&k&&5>d?void setTimeout(function(){e.read.call(e,a,b,c,d+1,2*f,g)},f):void g(h,k)}):g(null,{})},c.prototype.load=function(a,b,c){var d=this;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),
c&&c();var e=w({},this.backend.options,this.options.backend);"string"==typeof a&&(a=this.languageUtils.toResolveHierarchy(a));"string"==typeof b&&(b=[b]);var f=this.queueLoad(a,b,c);return f.toLoad.length?void(e.allowMultiLoading&&this.backend.readMulti?this.read(f.toLoadLanguages,f.toLoadNamespaces,"readMulti",null,null,function(a,b){a&&d.logger.warn("loading namespaces "+f.toLoadNamespaces.join(", ")+" for languages "+f.toLoadLanguages.join(", ")+" via multiloading failed",a);!a&&b&&d.logger.log("successfully loaded namespaces "+
f.toLoadNamespaces.join(", ")+" for languages "+f.toLoadLanguages.join(", ")+" via multiloading",b);f.toLoad.forEach(function(c){var e=c.split("|"),f=G(e,2),e=f[0],f=f[1],h=g(b,[e,f]);h?d.loaded(c,a,h):(e="loading namespace "+f+" for language "+e+" via multiloading failed",d.loaded(c,e),d.logger.error(e))})}):f.toLoad.forEach(function(a){d.loadOne(a)})):(f.pending.length||c(),null)},c.prototype.reload=function(a,b){var c=this;this.backend||this.logger.warn("No backend was added via i18next.use. Will not load resources.");
var d=w({},this.backend.options,this.options.backend);"string"==typeof a&&(a=this.languageUtils.toResolveHierarchy(a));"string"==typeof b&&(b=[b]);d.allowMultiLoading&&this.backend.readMulti?this.read(a,b,"readMulti",null,null,function(d,e){d&&c.logger.warn("reloading namespaces "+b.join(", ")+" for languages "+a.join(", ")+" via multiloading failed",d);!d&&e&&c.logger.log("successfully reloaded namespaces "+b.join(", ")+" for languages "+a.join(", ")+" via multiloading",e);a.forEach(function(a){b.forEach(function(b){var f=
g(e,[a,b]);f?c.loaded(a+"|"+b,d,f):(f="reloading namespace "+b+" for language "+a+" via multiloading failed",c.loaded(a+"|"+b,f),c.logger.error(f))})})}):a.forEach(function(a){b.forEach(function(b){c.loadOne(a+"|"+b,"re")})})},c.prototype.loadOne=function(a){var b=this,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",d=a.split("|"),d=G(d,2),e=d[0],f=d[1];this.read(e,f,"read",null,null,function(d,g){d&&b.logger.warn(c+"loading namespace "+f+" for language "+e+" failed",d);!d&&g&&b.logger.log(c+
"loaded namespace "+f+" for language "+e,g);b.loaded(a,d,g)})},c.prototype.saveMissing=function(a,b,c,d,e){this.backend&&this.backend.create&&this.backend.create(a,b,c,d,null,{isUpdate:e});a&&a[0]&&this.store.addResource(a[0],b,c,d)},c}(x),R=function(a){function b(c,d,e){var g=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};f(this,b);var h=z(this,a.call(this));return h.cache=c,h.store=d,h.services=e,h.options=g,h.logger=y.create("cacheConnector"),h.cache&&h.cache.init&&h.cache.init(e,g.cache,
g),h}return B(b,a),b.prototype.load=function(a,b,c){var d=this;if(!this.cache)return c&&c();b=w({},this.cache.options,this.options.cache);var e="string"==typeof a?this.services.languageUtils.toResolveHierarchy(a):a;b.enabled?this.cache.load(e,function(a,b){if(a&&d.logger.error("loading languages "+e.join(", ")+" from cache failed",a),b)for(var f in b)if(Object.prototype.hasOwnProperty.call(b,f))for(var g in b[f])Object.prototype.hasOwnProperty.call(b[f],g)&&"i18nStamp"!==g&&(a=b[f][g])&&d.store.addResourceBundle(f,
g,a);c&&c()}):c&&c()},b.prototype.save=function(){this.cache&&this.options.cache&&this.options.cache.enabled&&this.cache.save(this.store.data)},b}(x);return new (function(a){function b(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},d=arguments[1];f(this,b);var e=z(this,a.call(this));if(e.options=n(c),e.services={},e.logger=y,e.modules={external:[]},d&&!e.isInitialized&&!c.isClone){var g;if(!e.options.initImmediate)return g=e.init(c,d),z(e,g);setTimeout(function(){e.init(c,d)},0)}return e}
return B(b,a),b.prototype.init=function(){function a(b){return b?"function"==typeof b?new b:b:null}var b=this,c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},d=arguments[1];if("function"==typeof c&&(d=c,c={}),this.options=w({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",
saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,postProcess:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:function(){},parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(a){return{defaultValue:a[1]}},interpolation:{escapeValue:!0,format:function(a,b,c){return a},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",
nestingSuffix:")",maxReplaces:1E3}},this.options,n(c)),this.format=this.options.interpolation.format,d||(d=u),!this.options.isClone){this.modules.logger?y.init(a(this.modules.logger),this.options):y.init(null,this.options);c=new M(this.options);this.store=new F(this.options.resources,this.options);var e=this.services;e.logger=y;e.resourceStore=this.store;e.resourceStore.on("added removed",function(a,b){e.cacheConnector.save()});e.languageUtils=c;e.pluralResolver=new h(c,{prepend:this.options.pluralSeparator,
compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix});e.interpolator=new t(this.options);e.backendConnector=new O(a(this.modules.backend),e.resourceStore,e,this.options);e.backendConnector.on("*",function(a){for(var c=arguments.length,d=Array(1<c?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];b.emit.apply(b,[a].concat(d))});e.backendConnector.on("loaded",function(a){e.cacheConnector.save()});e.cacheConnector=new R(a(this.modules.cache),e.resourceStore,e,
this.options);e.cacheConnector.on("*",function(a){for(var c=arguments.length,d=Array(1<c?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];b.emit.apply(b,[a].concat(d))});this.modules.languageDetector&&(e.languageDetector=a(this.modules.languageDetector),e.languageDetector.init(e,this.options.detection,this.options));this.translator=new L(this.services,this.options);this.translator.on("*",function(a){for(var c=arguments.length,d=Array(1<c?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];b.emit.apply(b,[a].concat(d))});
this.modules.external.forEach(function(a){a.init&&a.init(b)})}"getResource addResource addResources addResourceBundle removeResourceBundle hasResourceBundle getResourceBundle".split(" ").forEach(function(a){b[a]=function(){var c;return(c=b.store)[a].apply(c,arguments)}});c=function(){b.changeLanguage(b.options.lng,function(a,c){b.isInitialized=!0;b.logger.log("initialized",b.options);b.emit("initialized",b.options);d(a,c)})};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,
0),this},b.prototype.loadResources=function(){var a=this,b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:u;if(this.options.resources)b(null);else{if(this.language&&"cimode"===this.language.toLowerCase())return b();var c=[],d=function(b){b&&a.services.languageUtils.toResolveHierarchy(b).forEach(function(a){0>c.indexOf(a)&&c.push(a)})};this.language?d(this.language):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(a){return d(a)});this.options.preload&&
this.options.preload.forEach(function(a){return d(a)});this.services.cacheConnector.load(c,this.options.ns,function(){a.services.backendConnector.load(c,a.options.ns,b)})}},b.prototype.reloadResources=function(a,b){a||(a=this.languages);b||(b=this.options.ns);this.services.backendConnector.reload(a,b)},b.prototype.use=function(a){return"backend"===a.type&&(this.modules.backend=a),"cache"===a.type&&(this.modules.cache=a),("logger"===a.type||a.log&&a.warn&&a.error)&&(this.modules.logger=a),"languageDetector"===
a.type&&(this.modules.languageDetector=a),"postProcessor"===a.type&&C.addPostProcessor(a),"3rdParty"===a.type&&this.modules.external.push(a),this},b.prototype.changeLanguage=function(a,b){var c=this,d=function(a,d){c.translator.changeLanguage(d);d&&(c.emit("languageChanged",d),c.logger.log("languageChanged",d));b&&b(a,function(){return c.t.apply(c,arguments)})},e=function(a){a&&(c.language=a,c.languages=c.services.languageUtils.toResolveHierarchy(a),c.translator.language||c.translator.changeLanguage(a),
c.services.languageDetector&&c.services.languageDetector.cacheUserLanguage(a));c.loadResources(function(b){d(b,a)})};a||!this.services.languageDetector||this.services.languageDetector.async?!a&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(e):e(a):e(this.services.languageDetector.detect())},b.prototype.getFixedT=function(a,b){var c=this,d=function aa(a,b){for(var d=arguments.length,e=Array(2<d?d-2:0),f=2;f<d;f++)e[f-2]=arguments[f];d=w({},
b);return"object"!==(void 0===b?"undefined":v(b))&&(d=c.options.overloadTranslationOptionHandler([a,b].concat(e))),d.lng=d.lng||aa.lng,d.lngs=d.lngs||aa.lngs,d.ns=d.ns||aa.ns,c.t(a,d)};return"string"==typeof a?d.lng=a:d.lngs=a,d.ns=b,d},b.prototype.t=function(){var a;return this.translator&&(a=this.translator).translate.apply(a,arguments)},b.prototype.exists=function(){var a;return this.translator&&(a=this.translator).exists.apply(a,arguments)},b.prototype.setDefaultNamespace=function(a){this.options.defaultNS=
a},b.prototype.loadNamespaces=function(a,b){var c=this;return this.options.ns?("string"==typeof a&&(a=[a]),a.forEach(function(a){0>c.options.ns.indexOf(a)&&c.options.ns.push(a)}),void this.loadResources(b)):b&&b()},b.prototype.loadLanguages=function(a,b){"string"==typeof a&&(a=[a]);var c=this.options.preload||[];a=a.filter(function(a){return 0>c.indexOf(a)});return a.length?(this.options.preload=c.concat(a),void this.loadResources(b)):b()},b.prototype.dir=function(a){return a||(a=this.languages&&
0<this.languages.length?this.languages[0]:this.language),a?0<="ar shu sqr ssh xaa yhd yud aao abh abv acm acq acw acx acy adf ads aeb aec afb ajp apc apd arb arq ars ary arz auz avl ayh ayl ayn ayp bbz pga he iw ps pbt pbu pst prp prd ur ydd yds yih ji yi hbo men xmn fa jpr peo pes prs dv sam".split(" ").indexOf(this.services.languageUtils.getLanguagePartFromCode(a))?"rtl":"ltr":"rtl"},b.prototype.createInstance=function(){return new b(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},arguments[1])},
b.prototype.cloneInstance=function(){var a=this,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:u,d=w({},this.options,0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},{isClone:!0}),e=new b(d);return["store","services","language"].forEach(function(b){e[b]=a[b]}),e.translator=new L(e.services,e.options),e.translator.on("*",function(a){for(var b=arguments.length,c=Array(1<b?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];e.emit.apply(e,[a].concat(c))}),e.init(d,c),e.translator.options=e.options,
e},b}(x))}()},2742:function(n,c,b){n=b(18);var l;c="en";webwave.isDef(window.wwConfig)&&webwave.isDef(window.wwConfig.pageLanguageCode)&&(c=wwConfig.pageLanguageCode);try{var p=document.getElementById("translations");webwave.isDefAndNotNull(p)&&(l=Object(n.a)({},c,JSON.parse(p.textContent)),null!==p.parentNode&&p.parentNode.removeChild(p))}catch(k){console.error("Error during translations parsing",k),l={}}i18next.init({resources:l,fallbackLng:c,shorcutFunction:"defaultValue",lng:c,interpolation:{prefix:"__",
suffix:"__"}});!0;window.i18n=i18next},2743:function(n,c,b){function l(b){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var d;d=Object(a.a)(b);if(c){var f=Object(a.a)(this).constructor;d=Reflect.construct(d,arguments,f)}else d=d.apply(this,arguments);return Object(e.a)(this,d)}}b.d(c,
"a",function(){return d});var p=b(0),k=b(1),g=b(3),e=b(4),a=b(2);n=b(1210);b(2744);b(2745);var d=function(a){function b(){var a;Object(p.a)(this,b);for(var d=arguments.length,e=Array(d),g=0;g<d;g++)e[g]=arguments[g];return(a=c.call.apply(c,[this].concat(e))).objectService=void 0,a.popupService=void 0,a.userService=void 0,a._passwordMaxLength=void 0,a}Object(g.a)(b,a);var c=l(b);return Object(k.a)(b,[{key:"setPasswordInputMaxLength",value:function(a){webwave.isDefAndNotNull(a)&&a.setAttribute("maxLength",
this._passwordMaxLength)}},{key:"init",value:function(){webwave.isFunction(window.externalCmsInit)?window.externalCmsInit(this):!0===this.isDynamicPopupsShouldByAdded()&&this.initCmsLogin($("#websiteId").val(),location.protocol+"//"+location.host+pageService.getPathForAjax()+"/admin");this._setCmsLoginServiceAsInitialized()}},{key:"initCmsLogin",value:function(a,b){var c=this;this.initPopups();this.addLoginPanelDynamically(a);this.initLoginPanel(b);this.initResetPasswordPanel();this.initRegistrationPanel();
this.initChangePassword();this.handleGetParam();$(window).resize(function(){c.centerPopup()})}},{key:"sendLoginParams",value:function(a,b,c){var d=this;a.isValid()&&(a.getPopup().addClass("waiting"),$.ajax({url:b,type:"post",data:{j_username:a.getEmail(),j_password:a.getPassword(),websiteIdAuthKey:$("#ww_login_form").children("#websiteIdAuthKey").val(),websiteLanguage:utilService.getLanguageCode()},success:function(b){1==b.success?(webwave.isDef($.cookie)&&""!==$.cookie("requestedUrl")&&(c=$.cookie("requestedUrl"),
$.cookie("requestedUrl",null,{path:"/"})),d.loginSuccessCallback(),b=pageService.getPathForAjax(),1==d.getLoginToolParam()||"normal"==d.getGETparam("mode")?b+="/"+utilService.getLanguageCode():1==d.are_cookies_enabled()?b=c:b+="?cookieDisabled=true",document.location.href=b):a.getFailCallback()()}}))}},{key:"initLoginPanel",value:function(a){var b=this;$("#ww_login_popup_close_button").click(function(){b.hideLoginPanel()});$("#login_submit_button").click(function(c){c.preventDefault();c=$("#ww_login_form").attr("action");
var d=new com.webwave.login.WebwaveForm($("#ww_cms_login_popup"));d.setEmailField(new com.webwave.login.WebwaveFormField($("#j_username"),$("#login_email_validate"),b.validateEmail.bind(b)));d.setPasswordField(new com.webwave.login.WebwaveFormField($("#j_password"),$("#login_password_validate"),b.validatePassword.bind(b)));d.setFailCallback(function(){$("#ww_cms_login_popup").removeClass("waiting");$("#ww_cms_login_popup").find(".not_valid_form").show().text(i18n.t("popups.login.wrongData"))});b.sendLoginParams(d,
c,a)})}},{key:"initRegistrationPanel",value:function(){var a=this,b=this;$("#ww_login_popup_registration").click(function(b){b.preventDefault();a.showRegistrationPanel()});$("#ww_registration_popup_close_button").click(function(){a.hideRegistrationPanel()});$("#ww_registration_popup_login").click(function(b){b.preventDefault();a.showLoginPanel(a.getLoginToolParam(),a.getRegistrationParam())});$("#ww_registration_submit_button").click(function(a){a.preventDefault();var c=$("#ww_registration_username"),
d=$("#ww_registration_password");if(b.validateWebwaveForm(c,c.next(),d,d.next())){a=c.val().trim();var d=d.val(),e=$("#ww_cms_registration_popup");e.addClass("waiting");$.ajax({url:pageService.getPathForAjax()+"/publishedWebsite/registerUserInWebsite",type:"post",data:{email:a,password:d,websiteId:$("#ww_registration_websiteId").val()},success:function(a){e.removeClass("waiting");"200"==a?document.location.href=pageService.getPathForAjax()+"/"+utilService.getLanguageCode():"201"==a?(c.addClass("notValidate"),
c.next().text(i18n.t("popups.createAccount.userExists")).show()):"202"==a?(c.addClass("notValidate"),c.next().text(i18n.t("popups.createAccount.webmasterUser")).show()):alert("B\u0142\u0105d rejestracji")}})}})}},{key:"sendAjaxToResetPassword",value:function(a){a.isValid()&&(a.getPopup().addClass("waiting"),$.ajax({url:pageService.getPathForAjax()+"/main/sendResetPasswordLink",type:"post",data:{email:a.getEmail(),resetRequest:$("#resetRequest").val(),languageCode:utilService.getLanguageCode()},success:function(b){a.getSuccessCallback()(b)}}))}},
{key:"initResetPasswordPanel",value:function(){var a=this;$("#remember_password").click(function(b){b.preventDefault();a.showResetPasswordPanel()});$("#reset_password_popup_close_button").click(function(){a.hideResetPasswordPanel()});$("#reset_password_success_popup_close_button,#ww_reset_password_success_submit_button").click(function(){a.hideResetPasswordPanel()});$("#reset_password_submit_button").click(function(c){c.preventDefault();c=new com.webwave.login.WebwaveForm($("#reset_password_popup"));
c.setEmailField(new com.webwave.login.WebwaveFormField($("#reset_password_email"),$("#reset_password_email_validate"),a.validateEmail.bind(a)));c.setSuccessCallback(b);a.sendAjaxToResetPassword(c)});var b=function(b){$("#reset_password_popup").removeClass("waiting");"200"==b?a.showResetPasswordSuccesPanel():"201"==b?($("#reset_password_email").addClass("notValidate"),$("#reset_password_email").attr("disabled",!1),$("#reset_password_email_validate").text(i18n.t("popups.remindPassword.forbidden")).show()):
alert("B\u0142\u0105d rejestracji")}}},{key:"sendAjaxToChangePassword",value:function(a,b){a.isValid()&&(a.getPopup().addClass("waiting"),b={password:a.getPassword(),resetRequest:$("#changePasswordRequest").val(),languageCode:utilService.getLanguageCode(),hash:this.getGETparam("hash"),id:this.getGETparam("user"),withAutoAutenticate:b||!1},utilService.makeAjaxCall({url:"/main/changePassword",dataParams:b},a.getSuccessCallback(),a.getFailCallback()))}},{key:"initChangePassword",value:function(){var a=
this,b=function(b){$("#change_password_popup").removeClass("waiting");a.hideAllPopups();a.lockPage();$("#change_password_popup_popup").show();a.centerPopup()},c=function(a){$("#change_password_popup").removeClass("waiting");$("#change_password_link_validate").addClass("notValidate");$("#change_password").attr("disabled",!1);$("#change_password_link_validate").text(a.msg).show()};$("#change_password").click(function(b){b.preventDefault();a.showChangePassword()});$("#change_password_submit_button").click(function(d){d.preventDefault();
d=new com.webwave.login.WebwaveForm($("#change_password_popup"));d.setPasswordField(new com.webwave.login.WebwaveFormField($("#change_password_input"),$("#change_password_link_validate"),a.validatePassword.bind(a)));d.setSuccessCallback(b);d.setFailCallback(c);a.sendAjaxToChangePassword(d,!1)});$("#change_password_popup_close_button,#ww_change_password_success_submit_button").click(function(){a.showLoginPanel()})}},{key:"_focusUsernameInput",value:function(){$("#j_username").focus()}},{key:"showLoginPanel",
value:function(a,b){var c=$("#ww_login_popup_registration");void 0===b||"false"==b?(c.next().hide(),c.hide(),b=!1):(b=!0,c.next().show(),c.show());void 0!==a&&1==a||(a=!1);this.setLoginToolParam(a);this.setRegistrationParam(b);this.hideAllPopups();this.lockPage();$("#ww_cms_login_popup").show();this.clearValues();this.centerPopup();this._focusUsernameInput();void 0!==this.getGETparam("regularUser")&&$("#ww_login_popup_info").text(i18n.t("popups.regularUserToCMSInfo")).show()}},{key:"hideLoginPanel",
value:function(){$("#ww_cms_login_popup").hide();this.unlockPage()}},{key:"showResetPasswordPanel",value:function(){this.hideAllPopups();this.lockPage();$("#reset_password_popup").show();this.clearValues();this.centerPopup()}},{key:"showChangePassword",value:function(){this.hideAllPopups();this.lockPage();$("#change_password_popup").show();this.clearValues();this.centerPopup()}},{key:"hideResetPasswordPanel",value:function(){$("#reset_password_popup").hide();this.unlockPage()}},{key:"_focusRegisterUsernameInput",
value:function(){$("#ww_registration_username").focus()}},{key:"showRegistrationPanel",value:function(){this.hideAllPopups();this.popupService.showPopup($("#ww_cms_registration_popup"));this.clearValues();this.centerPopup();this._focusRegisterUsernameInput()}},{key:"hideRegistrationPanel",value:function(){$("#ww_cms_registration_popup").hide();this.unlockPage()}},{key:"showResetPasswordSuccesPanel",value:function(){this.hideAllPopups();this.lockPage();$("#reset_password_success_popup").show();this.centerPopup()}},
{key:"hideResetPasswordSuccesPanel",value:function(){$("#reset_password_success_popup").hide();this.unlockPage()}},{key:"lockPage",value:function(){$("#ww_popup_area").show();$("#ww_cmslogin_popup_wrapper").show()}},{key:"unlockPage",value:function(){$("#ww_popup_area").hide();$("#ww_cmslogin_popup_wrapper").hide()}},{key:"hideAllPopups",value:function(){$(".ww_popup").hide();this.unlockPage()}},{key:"clearValues",value:function(){$("input[type=text][disabled=false]").val("");$("input[type=password]").val("");
$(".notValidate").removeClass("notValidate");$(".ww_validation").text("").hide()}},{key:"validatePassword",value:function(a,b){var c=!0;return""==a.val().trim()&&(a.addClass("notValidate"),c=!1,b.show().text(i18n.t("popups.emptyField"))),c}},{key:"validateWebwaveForm",value:function(a,b,c,d){a.removeClass("notValidate");c.removeClass("notValidate");return this.validateEmail(a,b)*this.validatePassword(c,d)}},{key:"validateEmail",value:function(a,b){var c=!0,d=a.val().trim();return $(".ww_validation").text("").hide(),
""==d?(a.addClass("notValidate"),c=!1,b.text(i18n.t("popups.emptyField")).show()):0==this.isMailValid(d)&&(a.addClass("notValidate"),c=!1,b.text(i18n.t("popups.incorrectMail")).show()),c}},{key:"isMailValid",value:function(a){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(a)}},{key:"centerPopup",value:function(){$(".ww_popup:visible").height();$(window).height();var a=($(window).height()-
$(".ww_popup:visible").outerHeight())/2;$(".ww_popup:visible").css("margin-top",.4*a+"px");$(".ww_popup:visible").css("top","0px")}},{key:"getGETparam",value:function(a){for(var b=window.location.search.substr(1).split("&"),c={},d=0;d<b.length;d++){var e=b[d].split("=");c[e[0]]=e[1]}return c[a]}},{key:"isGETParamDef",value:function(a){return-1<window.location.search.indexOf(a)}},{key:"addLoginPanelDynamically",value:function(a){void 0===a&&(a="ww");var b=pageService.getPathForAjax(),c="";"/webwaver_front"==
b&&(c='<div class="ww_linkBox" id="autologinToSo"><a href="/webwaver_front/serviceOwnerPanel/loginToSOPanel?websiteId='+a+'">Zaloguj si\u0119 automatycznie do SO</a></div><div class="ww_linkBox" id="autologinAsWebmaster"><a href="/webwaver_front/webmasterPanel/logInAndShowWebmasterWebsites">Zaloguj si\u0119 jako WebMaster</a></div>');c=$('<div id="ww_cms_login_popup" class="ww_popup"><div id="ww_login_popup_close_button" class="ww_close_button"></div><div class="ww_popup_content"><div class="ww_popup_logo"></div><span id="ww_login_popup_info" class="ww_validation"></span><div class="ww_form_label ww_form_label_login">'+
i18n.t("popups.login.title")+'</div><form action="'+b+'/j_spring_security_check" method="POST" id="ww_login_form"><input id="j_username" name="j_username" type="text" name class="field" placeholder="'+i18n.t("popups.emailPlaceholder")+'..." /><span id="login_email_validate" class="ww_validation"></span><input id="j_password" name="j_password" type="password" class="field" placeholder="'+i18n.t("popups.passwordPlaceholder")+'..." /><span id="login_password_validate" class="ww_validation not_valid_form"></span><input id="login_submit_button" type="submit" class="submit green_button" value="'+
i18n.t("popups.login.buttonLabel")+'" /><input type="hidden" name="websiteIdAuthKey" value="'+a+'" id="websiteIdAuthKey" /> </form><div id="remember_password" class="ww_linkBox"><a href="">'+i18n.t("popups.forgotPassword")+'</a></div><div id="ww_login_popup_registration" class="ww_linkBox"><a href="">'+i18n.t("popups.login.noAccount_register")+"</a></div>"+c+"</div></div>");c.append($('<div class="lock"><div class="lockBackground"></div><div class="lockSpinner"></div></div>'));b=$('<div id="ww_cms_registration_popup" class="ww_popup"><div id="ww_registration_popup_close_button" class="ww_close_button"></div><div class="ww_popup_content"><div class="ww_popup_logo"></div><div class="ww_form_label ww_form_label_login">'+
i18n.t("popups.createAccount.title")+'</div><form action="'+b+'/registration" method="POST" id="ww_registration_form"><input id="ww_registration_username" name="ww_registration_username" type="text" name class="field" placeholder="'+i18n.t("popups.emailPlaceholder")+'..." /><span id="ww_registration_email_validate" class="ww_validation"></span>'+'<input id="ww_registration_password" name="ww_registration_password" maxlength="'.concat(this._passwordMaxLength,'" type="password" class="field" placeholder="')+
i18n.t("popups.passwordPlaceholder")+'..." /><span id="ww_registration_passwrod_validate" class="ww_validation"></span><input type="hidden" name="ww_registration_websiteId" value="'+a+'" id="ww_registration_websiteId" /> <input id="ww_registration_submit_button" type="submit" class="submit green_button" value="'+i18n.t("popups.createAccount.buttonTitle")+'" /></br><span id="ww_registration_popup_login" class="ww_linkBox"><a href="">'+i18n.t("popups.createAccount.haveAnAccount")+'</a></span><br><input type="hidden" name="websiteId value="'+
a+'" id="ww_registration_websiteId" /></form></div></div>');b.append($('<div class="lock"><div class="lockBackground"></div><div class="lockSpinner"></div></div>'));var d=$('<div id="reset_password_popup" class="ww_popup"><div id="reset_password_popup_close_button" class="ww_close_button"></div><div class="ww_popup_content"><div class="ww_popup_logo"></div><div class="ww_form_label ww_form_label_login">'+i18n.t("popups.forgotPassword")+'</div><form id="ww_reset_password_form"><input id="reset_password_email" type="text" name="email" class="field" placeholder="'+
i18n.t("popups.emailPlaceholder")+'..." /><input type="hidden" id="resetRequest" value="'+a+'" name="resetRequest"><span id="reset_password_email_validate" class="ww_validation"></span><input id="reset_password_submit_button" type="submit" class="submit green_button_dark" value="'+i18n.t("popups.remindPassword.remindMeMyPassword")+'" /></form></div></div>');d.append($('<div class="lock"><div class="lockBackground"></div><div class="lockSpinner"></div></div>'));var e=$('<div id="reset_password_success_popup" class="ww_popup"><div id="reset_password_success_popup_close_button" class="ww_close_button"></div><div class="ww_popup_content"><div class="ww_popup_logo"></div><div>'+
i18n.t("popups.remindPassword.passwordSendLinkInfo")+'</div><input id="ww_reset_password_success_submit_button" type="submit" class="submit green_button_dark" value="OK" /></div></div>');a=$('<div id="change_password_popup" class="ww_popup"><div id="change_password_popup_close_button" class="ww_close_button"></div><div class="ww_popup_content"><div class="ww_popup_logo"></div><div class="ww_form_label ww_form_label_login">'+i18n.t("popups.changePassword.title")+'</div><form id="ww_change_password_form">'+
'<input id="change_password_input" type="password" maxlength="'.concat(this._passwordMaxLength,'" name="newPassword" class="field" placeholder="')+i18n.t("popups.changePassword.inputPlaceholder")+'..." /><input type="hidden" id="changePasswordRequest" value="'+a+'" name="resetRequest"><span id="change_password_link_validate" class="ww_validation"></span><input id="change_password_submit_button" type="submit" class="submit green_button_dark" value="'+i18n.t("popups.changePassword.buttonTitle")+'" /></form></div></div>');
a.append($('<div class="lock"><div class="lockBackground"></div><div class="lockSpinner"></div></div>'));var g=$('<div id="change_password_popup_popup" class="ww_popup"><div id="change_password_popup_close_button" class="ww_close_button"></div><div class="ww_popup_content"><div class="ww_popup_logo"></div><div>'+i18n.t("popups.changePassword.changeSuccessPasswordInfo")+'</div><input id="ww_change_password_success_submit_button" type="submit" class="submit green_button_dark" value="'+i18n.t("popups.changePassword.loginButtonTitle")+
'" /></div></div>');c.appendTo($("#ww_cmslogin_popup_wrapper"));b.appendTo($("#ww_cmslogin_popup_wrapper"));d.appendTo($("#ww_cmslogin_popup_wrapper"));e.appendTo($("#ww_cmslogin_popup_wrapper"));a.appendTo($("#ww_cmslogin_popup_wrapper"));g.appendTo($("#ww_cmslogin_popup_wrapper"));this.addInfoPopupDynamically()}},{key:"setLoginToolParam",value:function(a){$("#ww_cms_login_popup").data("loginToolParam",a)}},{key:"getLoginToolParam",value:function(){return $("#ww_cms_login_popup").data("loginToolParam")}},
{key:"setRegistrationParam",value:function(a){$("#ww_cms_login_popup").data("registrationParam",a)}},{key:"getRegistrationParam",value:function(){return $("#ww_cms_login_popup").data("registrationParam")}},{key:"addInfoPopupDynamically",value:function(){$('<div id="infoPopup" class="ww_popup"><div id="reset_password_success_popup_close_button" class="ww_close_button"></div><div class="ww_popup_content"><div class="ww_popup_logo"></div><div id="popupText"></div><input id="ww_reset_password_success_submit_button" type="submit" class="submit green_button_dark" value="OK" /></div></div>').appendTo($("#ww_cmslogin_popup_wrapper"))}},
{key:"handleGetParam",value:function(){var a=this.getGETparam("login");webwave.isDef(a)&&"true"===a?this.showLoginPanel():this.isGETParamDef("editedBy")?($("#popupText").html(i18n.t("popups.infoPopup.editedByInfo",{userName:this._getEditedByOrDefault()})),this.showInfoPopup()):this.isGETParamDef("redirectedFromCMS")?($("#popupText").html(i18n.t("popups.infoPopup.notActive")),this.showInfoPopup()):this.isGETParamDef("cookieDisabled")?($("#popupText").html(i18n.t("popups.infoPopup.cookieDisabled")),
this.showInfoPopup()):this.isGETParamDef("changePassword")?this.showChangePassword():this.isGETParamDef("register")&&this.showRegistrationPanel()}},{key:"_getEditedByOrDefault",value:function(){var a=this.getGETparam("editedBy");return"null"!==a?a:i18n.t("popups.infoPopup.anonymousUser")}},{key:"showInfoPopup",value:function(){this.hideAllPopups();this.lockPage();$("#infoPopup").show();this.centerPopup()}},{key:"are_cookies_enabled",value:function(){var a=!!navigator.cookieEnabled;return void 0!==
navigator.cookieEnabled||a||(document.cookie="testcookie",a=-1!=document.cookie.indexOf("testcookie")),a}},{key:"initPopups",value:function(a){var b=this;this.popupService.addPopupWrapperToDOM(a);$("#ww_cmslogin_popup_wrapper").on("click",".ww_popup .ww_close_button",function(){$(this).parents(".ww_popup").hide();b.unlockPage()})}},{key:"isDynamicPopupsShouldByAdded",value:function(){var a,b=!1;return(this.isSupportedGetParam()||0<(null===(a=this.objectService)||void 0===a?void 0:a.countWObjectsByClass(com.webwave.publication.object.WLoginTool)))&&
(b=!0),b}},{key:"isSupportedGetParam",value:function(){return webwave.isDef(this.getGETparam("login"))||this.isGETParamDef("editedBy")||this.isGETParamDef("cmsDisabled")||this.isGETParamDef("redirectedFromCMS")||this.isGETParamDef("changePassword")||this.isGETParamDef("register")}},{key:"loginSuccessCallback",value:function(){}},{key:"userLogged",value:function(){return this.userService.userLogged()}},{key:"setPasswordMaxLength",value:function(a){this._passwordMaxLength=a}},{key:"setPopupService",
value:function(a){this.popupService=a}},{key:"setObjectService",value:function(a){this.objectService=a}},{key:"setUserService",value:function(a){this.userService=a}},{key:"_setCmsLoginServiceAsInitialized",value:function(){window.cmsLoginServiceInitialized=!0}}]),b}(n.a)},2744:function(n,c,b){var l=b(0),p=b(1);n=function(){function b(c){Object(l.a)(this,b);this._emailField;this._passwordField;this._codeField;this._successCallback;this._failCallback;this._$popup=c}return Object(p.a)(b,[{key:"_defaultValid",
value:function(){$(".notValidate").removeClass("notValidate");var b=!0;return webwave.isDef(this._emailField)&&(b=this._emailField.isValid()&&b),webwave.isDef(this._passwordField)&&(b=this._passwordField.isValid()&&b),b}},{key:"isValid",value:function(){return this._defaultValid()}},{key:"setSuccessCallback",value:function(b){this._successCallback=b}},{key:"setFailCallback",value:function(b){this._failCallback=b}},{key:"getSuccessCallback",value:function(){return this._successCallback}},{key:"getPopup",
value:function(){return this._$popup}},{key:"getFailCallback",value:function(){return this._failCallback}},{key:"setEmailField",value:function(b){this._emailField=b}},{key:"getEmailField",value:function(){return this._emailField}},{key:"setPasswordField",value:function(b){this._passwordField=b}},{key:"getPasswordField",value:function(){return this._passwordField}},{key:"setCodeField",value:function(b){this._codeField=b}},{key:"getCodeField",value:function(){return this._codeField}},{key:"getPassword",
value:function(){if(webwave.isDef(this._passwordField))return this._passwordField.getValue()}},{key:"getEmail",value:function(){if(webwave.isDef(this._emailField))return this._emailField.getValue()}},{key:"getCode",value:function(){if(webwave.isDef(this._codeField))return this._codeField.getValue()}}]),b}();webwave.provide("com.webwave.login.WebwaveForm");com.webwave.login.WebwaveForm=n},2745:function(n,c,b){var l=b(0),p=b(1);n=function(){function b(c,e,a){Object(l.a)(this,b);this._$input=c;this._$label=
e;this._validFunction=a}return Object(p.a)(b,[{key:"setInput",value:function(b){this._$input=b}},{key:"setLabel",value:function(b){this._$label=b}},{key:"getInput",value:function(){return this._$input}},{key:"getLabel",value:function(){return this._$label}},{key:"isValid",value:function(){return this._validFunction(this._$input,this._$label)}},{key:"getValue",value:function(){return this._$input.val().trim()}},{key:"setValidationFunction",value:function(b){this._validFunction=b}}]),b}();webwave.provide("com.webwave.login.WebwaveFormField");
com.webwave.login.WebwaveFormField=n},29:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.Metadata=void 0;var l=b(20);n=function(){function b(c,g){this.key=c;this.value=g}return b.prototype.toString=function(){return this.key===l.NAMED_TAG?"named: "+this.value.toString()+" ":"tagged: { key:"+this.key.toString()+", value: "+this.value+" }"},b}();c.Metadata=n},3:function(n,c,b){c.a=function(b,c){if("function"!=typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function");
b.prototype=Object.create(c&&c.prototype,{constructor:{value:b,writable:!0,configurable:!0}});Object.defineProperty(b,"prototype",{writable:!1});c&&Object(l.a)(b,c)};var l=b(181)},30:function(n,c,b){b.d(c,"a",function(){return e});var l,p=b(0),k=b(1),g=b(326),e=function(){function a(){Object(p.a)(this,a)}return Object(k.a)(a,null,[{key:"readEnv",value:function(){if(webwave.isDef(window.config)&&webwave.isDef(window.config.environment))for(var a in g.a)if(g.a.hasOwnProperty(a)&&g.a[a]===window.config.environment)return void(l=
g.a[a]);l=g.a.PRODUCTION}},{key:"getCurrent",value:function(){return l}},{key:"isDevelopment",value:function(){return l===g.a.DEVELOPMENT}},{key:"isNotDevelopment",value:function(){return l!==g.a.DEVELOPMENT}},{key:"isProduction",value:function(){return l===g.a.PRODUCTION}},{key:"isNotProduction",value:function(){return l!==g.a.PRODUCTION}},{key:"isTest",value:function(){return l===g.a.TEST}},{key:"isNotTest",value:function(){return l!==g.a.TEST}},{key:"isQA",value:function(){return l===g.a.PRE_PRODUCTION}},
{key:"setEnvironment",value:function(a){webwave.isValidEnumValue(a,g.a)&&(l=a)}}]),a}();e.readEnv()},31:function(n,c,b){n.exports=b(403)},32:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(42),g=function(){function b(a){Object(l.a)(this,b);webwave.isNotDef(a)&&(a={});this.width=webwave.isNumberAndNotNaN(a.width)?a.width:0;this.height=webwave.isNumberAndNotNaN(a.height)?a.height:0}return Object(p.a)(b,[{key:"getWidth",value:function(){return this.width}},{key:"setWidth",value:function(a){this.width=
a}},{key:"getHeight",value:function(){return this.height}},{key:"setHeight",value:function(a){this.height=a}},{key:"clone",value:function(){return new b({width:this.width,height:this.height})}},{key:"serialize",value:function(){return{width:this.width,height:this.height}}},{key:"equals",value:function(a){return this.width===a.width&&this.height===a.height}},{key:"add",value:function(a){return this.width+=a.getWidth(),this.height+=a.getHeight(),this}},{key:"subtract",value:function(a){return this.width-=
a.getWidth(),this.height-=a.getHeight(),this}},{key:"multiply",value:function(a){return this.width*=a,this.height*=a,this}},{key:"applyLimits",value:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};webwave.isDef(a.width)&&(webwave.isNumber(a.width.min)&&(this.width=Math.max(this.width,a.width.min)),webwave.isNumber(a.width.max)&&(this.width=Math.min(this.width,a.width.max)));webwave.isDef(a.height)&&(webwave.isNumber(a.height.min)&&(this.height=Math.max(this.height,a.height.min)),
webwave.isNumber(a.height.max)&&(this.height=Math.min(this.height,a.height.max)))}},{key:"toString",value:function(){return"{".concat(this.width,",").concat(this.height,"}}")}},{key:"toVector",value:function(){return new k.a({x:this.getWidth(),y:this.getHeight()})}},{key:"addHeight",value:function(a){this.height+=a}},{key:"subtractHeight",value:function(a){this.height-=a}},{key:"addWidth",value:function(a){this.width+=a}},{key:"subtractWidth",value:function(a){this.width-=a}},{key:"ceil",value:function(){this.width=
Math.ceil(this.width);this.height=Math.ceil(this.height)}}]),b}();g.deserialize=function(b){return webwave.isNotDef(b)?new g({width:0,height:0}):new g(b)}},326:function(n,c,b){c.a={TEST:"test",DEVELOPMENT:"development",PRE_PRODUCTION:"pre_production",QUALITY_ASSURANCE:"quality_assurance",PRODUCTION:"production"}},33:function(n,c,b){function l(b,c,g,e,a,d,l){try{var n=b[d](l),v=n.value}catch(f){return void g(f)}n.done?c(v):Promise.resolve(v).then(e,a)}c.a=function(b){return function(){var c=this,g=
arguments;return new Promise(function(e,a){function d(b){l(u,e,a,d,n,"next",b)}function n(b){l(u,e,a,d,n,"throw",b)}var u=b.apply(c,g);d(void 0)})}}},331:function(n,c,b){c.a={COVER:"cover",CONTAIN:"contain",FULL_WIDTH:"100% 100%",AUTO:"auto"}},333:function(n,c,b){c.a={GUI:"gui_panel",CMS:"cms_panel",WM:"wm_panel"}},334:function(n,c,b){c.a={CONNECT:"connect",DISCONNECT:"disconnect"}},338:function(n,c,b){c.a={NORMAL:"normal",HOVER:"hover",DISABLED:"disabled"}},364:function(n,c,b){b.d(c,"a",function(){return k});
var l=b(0),p=b(1),k=function(){function b(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,b);this.source=c.source;this.propertyName=c.propertyName;this.previousValue=c.previousValue;this.newValue=c.newValue}return Object(p.a)(b,[{key:"getPropertyName",value:function(){return this.propertyName}},{key:"getNewValue",value:function(){return this.newValue}},{key:"getPreviousValue",value:function(){return this.previousValue}},{key:"getSource",value:function(){return this.source}},
{key:"propertyChange",value:function(b){}}]),b}()},378:function(n,c,b){c.a={INNER_TEXT:"innerText"}},379:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(819),g=function(){function b(){Object(l.a)(this,b);this._propertyChangeListeners=[]}return Object(p.a)(b,[{key:"addPropertyChangeListener",value:function(a,b){a=webwave.isStringOrSymbol(a)?new k.a(b,a):new k.a(a);for(b=0;b<this._propertyChangeListeners.length;b++)if(this._propertyChangeListeners[b].equals(a))return;this._propertyChangeListeners.push(a)}},
{key:"removePropertyChangeListener",value:function(a,b){a=webwave.isStringOrSymbol(a)?new k.a(b,a):new k.a(b);for(b=0;b<this._propertyChangeListeners.length;b++)if(this._propertyChangeListeners[b].equals(a)){this._propertyChangeListeners.splice(b,1);break}}},{key:"dispatch",value:function(a){for(var b=0;b<this._propertyChangeListeners.length;b++){var c=this._propertyChangeListeners[b],e=c.getPropertyName();(webwave.isNotDef(e)||e===a.getPropertyName())&&c.dispatchEvent(a)}}},{key:"dispose",value:function(){for(var a=
0;a<this._propertyChangeListeners.length;a++)this.removePropertyChangeListener(this._propertyChangeListeners[a])}},{key:"getPropertyListenersByPropertyName",value:function(a){return this._propertyChangeListeners.filter(function(b){return b.getPropertyName()===a})}}]),b}()},38:function(n,c,b){function l(b){"@babel/helpers - typeof";$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(b){return typeof b}:
function(b){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return b&&"function"==typeof Symbol&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b})(b)}c.a=l},39:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.TargetTypeEnum=c.BindingTypeEnum=c.BindingScopeEnum=void 0;c.BindingScopeEnum={Request:"Request",Singleton:"Singleton",Transient:"Transient"};c.BindingTypeEnum={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",
Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"};c.TargetTypeEnum={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"}},4:function(n,c,b){c.a=function(b,c){if(c&&("object"===Object(l.a)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return Object(p.a)(b)};var l=b(38),p=b(11)},401:function(n,c,b){c.a=function(b,c){for(;!Object.prototype.hasOwnProperty.call(b,
c)&&null!==(b=Object(l.a)(b)););return b};var l=b(2)},402:function(n,c,b){b.d(c,"a",function(){return a});var l,p=b(0),k=b(1),g=b(333),e=b(24);n=b(14);var a=(b.n(n),Object(n.injectable)()(l=function(){function a(){Object(p.a)(this,a)}return Object(k.a)(a,[{key:"setEnvironment",value:function(a){this.environment=a}},{key:"getPathForAjax",value:function(){return webwave.isDefAndNotNull(this.environment)&&this.environment.isDevelopment()?"/webwaver_front":""}},{key:"getPanelType",value:function(){switch($("#panelType").val()){case g.a.CMS:return g.a.CMS;
case g.a.GUI:return g.a.GUI;default:return g.a.WM}}},{key:"getEnvironmentPrefix",value:function(){var a;switch(this.getPanelType()){case g.a.CMS:a="/cms/";break;case g.a.WM:a="/WM/";break;case g.a.GUI:a="/gui/"}return a}},{key:"isGuiPanel",value:function(){return this.getPanelType()===g.a.GUI}},{key:"isWMPanel",value:function(){return this.getPanelType()===g.a.WM}},{key:"isCMSPanel",value:function(){return this.getPanelType()===g.a.CMS}},{key:"isWebsitePublishedAndVisible",value:function(){return"true"===
$("#firstPublished").val()&&"true"===$("#websiteVisibility").val()}},{key:"isClientCommentMode",value:function(){return!!e.a.isValueExists("commentModeOptions.clientCommentMode")&&e.a.getValue("commentModeOptions.clientCommentMode")}},{key:"getWebsiteId",value:function(){return $("#websiteId").val()}},{key:"getWebsiteName",value:function(){return $("#websiteName").val()}},{key:"isWhiteLabelActive",value:function(){return this.isWMPanel()?e.a.getValue("whiteLabel.active",!1):"true"===$("#webmasterProfessionalAccount").val()}},
{key:"isWebmaster",value:function(){return e.a.getValue("loggedUser.isWebmaster",!1)}},{key:"getLinkDependingOnEnvironment",value:function(a){return this.getPathForAjax()+a}}]),a}())||l)},4025:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,[{key:"validateForm",value:function(c){var a,d=!0,k=this;return c.find("[data-validatable]").each(function(){if((a=$(this)).is("[data-required]")){var c="";0===a.val().length?
(a.addClass(b.NOT_VALID_CLASS_NAME),c=a.attr("data-required"),d=!1):a.removeClass(b.NOT_VALID_CLASS_NAME);k.setValidationMsgForInput(a,c)}}),d}},{key:"setValidationMsgForInput",value:function(b,a){return b.next(".ww_validation").text(a)}}]),b}();k.NOT_VALID_CLASS_NAME="notValid"},403:function(n,c,b){n=function(b){function c(a,b,d){return Object.defineProperty(a,b,{value:d,enumerable:!0,configurable:!0,writable:!0}),a[b]}function k(a,b,c,d){b=Object.create((b&&b.prototype instanceof e?b:e).prototype);
d=new B(d||[]);return b._invoke=function(a,b,c){var d=M;return function(e,f){if(d===Y)throw Error("Generator is already running");if(d===h){if("throw"===e)throw f;return G()}c.method=e;for(c.arg=f;;){if(e=c.delegate)if(e=v(e,c)){if(e===t)continue;return e}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(d===M)throw d=h,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);d=Y;e=g(a,b,c);if("normal"===e.type){if(d=c.done?h:Q,e.arg===t)continue;return{value:e.arg,
done:c.done}}"throw"===e.type&&(d=h,c.method="throw",c.arg=e.arg)}}}(a,c,d),b}function g(a,b,c){try{return{type:"normal",arg:a.call(b,c)}}catch(d){return{type:"throw",arg:d}}}function e(){}function a(){}function d(){}function n(a){["next","throw","return"].forEach(function(b){c(a,b,function(a){return this._invoke(b,a)})})}function u(a,b){var c;this._invoke=function(d,e){function f(){return new b(function(c,f){!function ga(c,d,e,f){c=g(a[c],a,d);if("throw"!==c.type){var h=c.arg;return(c=h.value)&&
"object"==typeof c&&x.call(c,"__await")?b.resolve(c.__await).then(function(a){ga("next",a,e,f)},function(a){ga("throw",a,e,f)}):b.resolve(c).then(function(a){h.value=a;e(h)},function(a){return ga("throw",a,e,f)})}f(c.arg)}(d,e,c,f)})}return c=c?c.then(f,f):f()}}function v(a,b){var c=a.iterator[b.method];if(c===A){if(b.delegate=null,"throw"===b.method){if(a.iterator.return&&(b.method="return",b.arg=A,v(a,b),"throw"===b.method))return t;b.method="throw";b.arg=new TypeError("The iterator does not provide a 'throw' method")}return t}c=
g(c,a.iterator,b.arg);return"throw"===c.type?(b.method="throw",b.arg=c.arg,b.delegate=null,t):(c=c.arg)?c.done?(b[a.resultName]=c.value,b.next=a.nextLoc,"return"!==b.method&&(b.method="next",b.arg=A),b.delegate=null,t):c:(b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,t)}function f(a){var b={tryLoc:a[0]};1 in a&&(b.catchLoc=a[1]);2 in a&&(b.finallyLoc=a[2],b.afterLoc=a[3]);this.tryEntries.push(b)}function w(a){var b=a.completion||{};b.type="normal";delete b.arg;
a.completion=b}function B(a){this.tryEntries=[{tryLoc:"root"}];a.forEach(f,this);this.reset(!0)}function z(a){if(a){var b=a[F];if(b)return b.call(a);if("function"==typeof a.next)return a;if(!isNaN(a.length)){var c=-1,b=function S(){for(;++c<a.length;)if(x.call(a,c))return S.value=a[c],S.done=!1,S;return S.value=A,S.done=!0,S};return b.next=b}}return{next:G}}function G(){return{value:A,done:!0}}$jscomp.initSymbol();$jscomp.initSymbol();var A,y=Object.prototype,x=y.hasOwnProperty,H="function"==typeof Symbol?
Symbol:{},F=H.iterator||"@@iterator",C=H.asyncIterator||"@@asyncIterator",L=H.toStringTag||"@@toStringTag";try{c({},"")}catch(P){c=function(a,b,c){return a[b]=c}}b.wrap=k;var M="suspendedStart",Q="suspendedYield",Y="executing",h="completed",t={},H={};H[F]=function(){return this};var O=Object.getPrototypeOf;(O=O&&O(O(z([]))))&&O!==y&&x.call(O,F)&&(H=O);var R=d.prototype=e.prototype=Object.create(H);return a.prototype=R.constructor=d,d.constructor=a,a.displayName=c(d,L,"GeneratorFunction"),b.isGeneratorFunction=
function(b){b="function"==typeof b&&b.constructor;return!!b&&(b===a||"GeneratorFunction"===(b.displayName||b.name))},b.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,d):(a.__proto__=d,c(a,L,"GeneratorFunction")),a.prototype=Object.create(R),a},b.awrap=function(a){return{__await:a}},n(u.prototype),u.prototype[C]=function(){return this},b.AsyncIterator=u,b.async=function(a,c,d,e,f){void 0===f&&(f=Promise);var g=new u(k(a,c,d,e),f);return b.isGeneratorFunction(c)?g:g.next().then(function(a){return a.done?
a.value:g.next()})},n(R),c(R,L,"Generator"),R[F]=function(){return this},R.toString=function(){return"[object Generator]"},b.keys=function(a){var b=[],c;for(c in a)b.push(c);return b.reverse(),function S(){for(;b.length;){var c=b.pop();if(c in a)return S.value=c,S.done=!1,S}return S.done=!0,S}},b.values=z,B.prototype={constructor:B,reset:function(a){if(this.prev=0,this.next=0,this.sent=this._sent=A,this.done=!1,this.delegate=null,this.method="next",this.arg=A,this.tryEntries.forEach(w),!a)for(var b in this)"t"===
b.charAt(0)&&x.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=A)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(a){function b(d,e){return f.type="throw",f.arg=a,c.next=d,e&&(c.method="next",c.arg=A),!!e}if(this.done)throw a;for(var c=this,d=this.tryEntries.length-1;0<=d;--d){var e=this.tryEntries[d],f=e.completion;if("root"===e.tryLoc)return b("end");if(e.tryLoc<=this.prev){var g=x.call(e,"catchLoc"),h=x.call(e,
"finallyLoc");if(g&&h){if(this.prev<e.catchLoc)return b(e.catchLoc,!0);if(this.prev<e.finallyLoc)return b(e.finallyLoc)}else if(g){if(this.prev<e.catchLoc)return b(e.catchLoc,!0)}else{if(!h)throw Error("try statement without catch or finally");if(this.prev<e.finallyLoc)return b(e.finallyLoc)}}}},abrupt:function(a,b){for(var c=this.tryEntries.length-1;0<=c;--c){var d=this.tryEntries[c];if(d.tryLoc<=this.prev&&x.call(d,"finallyLoc")&&this.prev<d.finallyLoc){var e=d;break}}e&&("break"===a||"continue"===
a)&&e.tryLoc<=b&&b<=e.finallyLoc&&(e=null);c=e?e.completion:{};return c.type=a,c.arg=b,e?(this.method="next",this.next=e.finallyLoc,t):this.complete(c)},complete:function(a,b){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&b&&(this.next=b),t},finish:function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.finallyLoc===a)return this.complete(c.completion,
c.afterLoc),w(c),t}},catch:function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.tryLoc===a){a=c.completion;if("throw"===a.type){var d=a.arg;w(c)}return d}}throw Error("illegal catch attempt");},delegateYield:function(a,b,c){return this.delegate={iterator:z(a),resultName:b,nextLoc:c},"next"===this.method&&(this.arg=A),t}},b}(n.exports);try{regeneratorRuntime=n}catch(l){Function("r","regeneratorRuntime = r")(n)}},42:function(n,c,b){b.d(c,"a",function(){return k});var l=
b(0),p=b(1),k=function(){function b(c,a){Object(l.a)(this,b);this.x=this.y=0;webwave.isNumberAndNotNaN(c)?(this.x=c,webwave.isNumberAndNotNaN(a)&&(this.y=a)):webwave.isDef(c)&&(webwave.isNumberAndNotNaN(c.x)&&(this.x=c.x),webwave.isNumberAndNotNaN(c.y)&&(this.y=c.y))}return Object(p.a)(b,[{key:"getX",value:function(){return this.x}},{key:"setX",value:function(b){this.x=b}},{key:"getY",value:function(){return this.y}},{key:"setY",value:function(b){this.y=b}},{key:"subtract",value:function(b){return this.x-=
b.x,this.y-=b.y,this}},{key:"add",value:function(b){return this.x+=b.x,this.y+=b.y,this}},{key:"multiply",value:function(b){return this.x*=b,this.y*=b,this}},{key:"serialize",value:function(){return{x:this.x,y:this.y}}},{key:"clone",value:function(){return new b({x:this.x,y:this.y})}},{key:"equals",value:function(b){return this.x===b.x&&this.y===b.y}},{key:"lt",value:function(b){return this.x<b.x&&this.y<b.y}},{key:"lte",value:function(b){return this.x<=b.x&&this.y<=b.y}},{key:"gt",value:function(b){return this.x>
b.x&&this.y>b.y}},{key:"gte",value:function(b){return this.x>=b.x&&this.y>=b.y}},{key:"toString",value:function(){return"{".concat(this.x,",").concat(this.y,"}}")}}],[{key:"deserialize",value:function(c){return webwave.isNotDef(c)?new b(0,0):new b(c.x,c.y)}},{key:"countDistance",value:function(b,a){return Math.sqrt(Math.abs(b.getX()-a.getX())*Math.abs(b.getY()-a.getY()))}}]),b}()},45:function(n,c){c=function(){return this}();try{c=c||Function("return this")()||(0,eval)("this")}catch(b){"object"==
typeof window&&(c=window)}n.exports=c},46:function(n,c,b){function l(b,a,c,g,l){var p={},f="number"==typeof l;l=void 0!==l&&f?l.toString():c;if(f&&void 0!==c)throw Error(k.INVALID_DECORATOR_OPERATION);Reflect.hasOwnMetadata(b,a)&&(p=Reflect.getMetadata(b,a));c=p[l];if(Array.isArray(c))for(var f=0,n=c;f<n.length;f++){var B=n[f];if(B.key===g.key)throw Error(k.DUPLICATED_METADATA+" "+B.key.toString());}else c=[];c.push(g);p[l]=c;Reflect.defineMetadata(b,p,a)}function p(b,a){Reflect.decorate(b,a)}Object.defineProperty(c,
"__esModule",{value:!0});c.tagProperty=c.tagParameter=c.decorate=void 0;var k=b(26),g=b(20);c.tagParameter=function(b,a,c,k){l(g.TAGGED,b,a,k,c)};c.tagProperty=function(b,a,c){l(g.TAGGED_PROP,b.constructor,a,c)};c.decorate=function(b,a,c){"number"==typeof c?p([function(a,b){return function(c,d){b(c,d,a)}}(c,b)],a):"string"==typeof c?Reflect.decorate([b],a,c):p([b],a)}},51:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.id=void 0;var l=0;c.id=function(){return l++}},5473:function(n,
c,b){function l(a){var b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}();return function(){var c;c=Object(r.a)(a);if(b){var e=Object(r.a)(this).constructor;c=Reflect.construct(c,arguments,e)}else c=c.apply(this,arguments);return Object(d.a)(this,c)}}b.d(c,"a",function(){return u});var p,k,g=b(0),e=b(1),a=
b(3),d=b(4),r=b(2);n=b(25);c=b(14);b.n(c);var u=Object(c.injectable)()((k=p=function(b){function c(){var a;Object(g.a)(this,c);for(var b=arguments.length,e=Array(b),k=0;k<b;k++)e[k]=arguments[k];return(a=d.call.apply(d,[this].concat(e))).cmsLoginService=null,a.popupService=null,a.utilService=null,a.validationService=null,a}Object(a.a)(c,b);var d=l(c);return Object(e.a)(c,[{key:"_initDomReadyFunction",value:function(){var a=this;webwave.addReadyListener(function(){a.cmsLoginService.isSupportedGetParam()?
a.cmsLoginService.init():(a.cmsLoginService.initPopups(!0),a.addPopupToDOM(),a.showPopup())})}},{key:"addPopupToDOM",value:function(){var a=this,b=$('<div id="'+c.POPUP_ID+'" class="ww_popup"><div class="ww_popup_content"><div class="ww_popup_logo"></div><div class="ww_form_label ww_form_label_login">'+i18n.t("popups.passwordProtectedPage.title")+'</div><form><input type="password" name="password" class="field" data-validatable data-required="'+i18n.t("popups.passwordProtectedPage.passwordEmptyMsg")+
'" placeholder="'+i18n.t("popups.passwordProtectedPage.passwordPlaceholder")+'..." /><span class="ww_validation"></span><input type="submit" class="submit green_button_dark" value="'+i18n.t("popups.passwordProtectedPage.buttonLabel")+'" /></form></div></div>');this.popupService.addLockToPopup(b);this.popupService.addPopupToDom(b);b.on("submit","form",function(b){b.preventDefault();a.tryAuthenticate()})}},{key:"tryAuthenticate",value:function(){var a=this;if(this.validationService.validateForm($("#password_protected_page_popup").find("form"))){var b=
this.getPasswordInput();this.utilService.makeAjaxCall({url:"/publishedWebsite/tryAuthenticateProtectedPage",dataParams:{pageId:pageService.getPageId(),password:b.val()}},function(){a.popupService.addWaitingIndicatorToActivePopup();a.utilService.reloadPage()},function(){a.validationService.setValidationMsgForInput(b,i18n.t("popups.passwordProtectedPage.passwordIncorrectMsg"))})}}},{key:"showPopup",value:function(){this.popupService.showPopup($("#"+c.POPUP_ID));this.getPasswordInput().focus()}},{key:"getPasswordInput",
value:function(){return $("#"+c.POPUP_ID).find('input[type="password"]')}},{key:"init",value:function(){this._initDomReadyFunction()}},{key:"setUtilService",value:function(a){this.utilService=a}},{key:"setCmsLoginService",value:function(a){this.cmsLoginService=a}},{key:"setValidationService",value:function(a){this.validationService=a}},{key:"setPopupService",value:function(a){this.popupService=a}}]),c}(n.a),p.POPUP_ID="password_protected_page_popup",k))||k},5816:function(n,c,b){Object.defineProperty(c,
"__esModule",{value:!0});n=b(171);var l=(b.n(n),b(2741),b(1165),b(1167),b(1168),b(2742),b(2115),b(30)),p=(b(2588),b(1614),b(1579),b(2743)),k=b(2248),g=b(5473),e=b(2052),a=b(1643),d=b(4025),r=b(402);document.addEventListener("DOMContentLoaded",function(){var b=new e.a,c=new k.a;window.pageService=c;var f=new r.a;f.setEnvironment(l.a);c=new a.a;c.environmentUtils=f;window.utilService=c;f=new p.a;f.setPopupService(b);window.cmsLoginService=f;var n=new d.a,B=new g.a;B.setUtilService(c);B.setPopupService(b);
B.setCmsLoginService(f);B.setValidationService(n);B.init()})},62:function(n,c,b){b.d(c,"a",function(){return a});var l,p=b(0),k=b(1),g=b(379),e=b(364);n=b(14);var a=(b.n(n),Object(n.injectable)()(l=function(){function a(){Object(p.a)(this,a);this._propertyChangeDispatcher=new g.a}return Object(k.a)(a,[{key:"addPropertyChangeListener",value:function(a,b){this._propertyChangeDispatcher.addPropertyChangeListener(a,b)}},{key:"removePropertyChangeListener",value:function(a,b){this._propertyChangeDispatcher.removePropertyChangeListener(a,
b)}},{key:"notifyPropertyChangeListeners",value:function(a){this._propertyChangeDispatcher.dispatch(a)}},{key:"triggerPropertyChange",value:function(a,b,c){this.notifyPropertyChangeListeners(new e.a({source:this,propertyName:a,previousValue:c,newValue:b}))}}]),a}())||l)},63:function(n,c,b){function l(b){return"function"==typeof b?b.name:"symbol"==typeof b?b.toString():b}function p(b){if(b.name)return b.name;b=b.toString();var c=b.match(/^function\s*([^\s(]+)/);return c?c[1]:"Anonymous function: "+
b}Object.defineProperty(c,"__esModule",{value:!0});c.circularDependencyToException=c.listMetadataForTarget=c.listRegisteredBindingsForServiceIdentifier=c.getServiceIdentifierAsString=c.getFunctionName=void 0;var k=b(26);c.getServiceIdentifierAsString=l;c.listRegisteredBindingsForServiceIdentifier=function(b,c,a){var d="";b=a(b,c);return 0!==b.length&&(d="\nRegistered bindings:",b.forEach(function(a){var b="Object";null!==a.implementationType&&(b=p(a.implementationType));d=d+"\n "+b;a.constraint.metaData&&
(d=d+" - "+a.constraint.metaData)})),d};c.circularDependencyToException=function e(a){a.childRequests.forEach(function(a){if(function u(a,b){return null!==a.parentRequest&&(a.parentRequest.serviceIdentifier===b||u(a.parentRequest,b))}(a,a.serviceIdentifier))throw a=function(a){return function f(a,b){void 0===b&&(b=[]);var c=l(a.serviceIdentifier);return b.push(c),null!==a.parentRequest?f(a.parentRequest,b):b}(a).reverse().join(" --\x3e ")}(a),Error(k.CIRCULAR_DEPENDENCY+" "+a);e(a)})};c.listMetadataForTarget=
function(b,a){if(a.isTagged()||a.isNamed()){var c="",k=a.getNamedTag();a=a.getCustomTags();return null!==k&&(c+=k.toString()+"\n"),null!==a&&a.forEach(function(a){c+=a.toString()+"\n"})," "+b+"\n "+b+" - "+c}return" "+b};c.getFunctionName=p},7:function(n,c,b){c.a=function(b,c,k,g,e){var a={};Object.keys(g).forEach(function(b){a[b]=g[b]});a.enumerable=!!a.enumerable;a.configurable=!!a.configurable;("value"in a||a.initializer)&&(a.writable=!0);a=k.slice().reverse().reduce(function(a,e){return e(b,c,
a)||a},a);e&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(e):void 0,a.initializer=void 0);void 0===a.initializer&&(Object.defineProperty(b,c,a),a=null);return a}},78:function(n,c,b){c.a={HORIZONTAL:"horizontal",VERTICAL:"vertical"}},784:function(n,c,b){var l=this&&this.__awaiter||function(a,b,c,d){return new (c||(c=Promise))(function(e,f){function g(a){try{l(d.next(a))}catch(b){f(b)}}function k(a){try{l(d.throw(a))}catch(b){f(b)}}function l(a){a.done?e(a.value):function(a){return a instanceof
c?a:new c(function(b){b(a)})}(a.value).then(g,k)}l((d=d.apply(a,b||[])).next())})},p=this&&this.__generator||function(a,b){function c(g){return function(c){return function(c){if(d)throw new TypeError("Generator is already executing.");for(;k;)try{if(d=1,e&&(f=2&c[0]?e.return:c[0]?e.throw||((f=e.return)&&f.call(e),0):e.next)&&!(f=f.call(e,c[1])).done)return f;switch(e=0,f&&(c=[2&c[0],f.value]),c[0]){case 0:case 1:f=c;break;case 4:return k.label++,{value:c[1],done:!1};case 5:k.label++;e=c[1];c=[0];
continue;case 7:c=k.ops.pop();k.trys.pop();continue;default:if(!(f=0<(f=k.trys).length&&f[f.length-1])&&(6===c[0]||2===c[0])){k=0;continue}if(3===c[0]&&(!f||c[1]>f[0]&&c[1]<f[3]))k.label=c[1];else if(6===c[0]&&k.label<f[1])k.label=f[1],f=c;else if(f&&k.label<f[2])k.label=f[2],k.ops.push(c);else{f[2]&&k.ops.pop();k.trys.pop();continue}}c=b.call(a,k)}catch(g){c=[6,g],e=0}finally{d=f=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([g,c])}}var d,e,f,g,k={label:0,sent:function(){if(1&f[0])throw f[1];
return f[1]},trys:[],ops:[]};$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g},k=this&&this.__spreadArray||function(a,b){for(var c=0,d=b.length,e=a.length;c<d;c++,e++)a[e]=b[c];return a};Object.defineProperty(c,"__esModule",{value:!0});c.Container=void 0;var g=b(785),e=b(26),a=b(39),d=b(20),r=b(163),u=b(786),v=b(793),f=b(795),w=b(51),B=b(63),z=b(798),G=b(799);
n=function(){function b(c){this._appliedMiddleware=[];c=c||{};if("object"!=typeof c)throw Error(""+e.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT);if(void 0===c.defaultScope)c.defaultScope=a.BindingScopeEnum.Transient;else if(c.defaultScope!==a.BindingScopeEnum.Singleton&&c.defaultScope!==a.BindingScopeEnum.Transient&&c.defaultScope!==a.BindingScopeEnum.Request)throw Error(""+e.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE);if(void 0===c.autoBindInjectable)c.autoBindInjectable=!1;else if("boolean"!=typeof c.autoBindInjectable)throw Error(""+
e.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE);if(void 0===c.skipBaseClassChecks)c.skipBaseClassChecks=!1;else if("boolean"!=typeof c.skipBaseClassChecks)throw Error(""+e.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK);this.options={autoBindInjectable:c.autoBindInjectable,defaultScope:c.defaultScope,skipBaseClassChecks:c.skipBaseClassChecks};this.id=w.id();this._bindingDictionary=new G.Lookup;this._snapshots=[];this.parent=this._middleware=null;this._metadataReader=new r.MetadataReader}return b.merge=
function(a,c){for(var d=[],e=2;e<arguments.length;e++)d[e-2]=arguments[e];var e=new b,d=k([a,c],d).map(function(a){return u.getBindingDictionary(a)}),f=u.getBindingDictionary(e);return d.forEach(function(a){!function(a,b){a.traverse(function(a,c){c.forEach(function(a){b.add(a.serviceIdentifier,a.clone())})})}(a,f)}),e},b.prototype.load=function(){for(var a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];for(var b=this._getContainerModuleHelpersFactory(),c=0;c<a.length;c++){var d=a[c],e=b(d.id);d.registry(e.bindFunction,
e.unbindFunction,e.isboundFunction,e.rebindFunction)}},b.prototype.loadAsync=function(){for(var a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];return l(this,void 0,void 0,function(){var b,c,d,e,f;return p(this,function(g){switch(g.label){case 0:b=this._getContainerModuleHelpersFactory(),c=0,d=a,g.label=1;case 1:return c<d.length?(e=d[c],f=b(e.id),[4,e.registry(f.bindFunction,f.unbindFunction,f.isboundFunction,f.rebindFunction)]):[3,4];case 2:g.sent(),g.label=3;case 3:return c++,[3,1];case 4:return[2]}})})},
b.prototype.unload=function(){for(var a=this,b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];b.forEach(function(b){b=function(a){return function(b){return b.moduleId===a}}(b.id);a._bindingDictionary.removeByCondition(b)})},b.prototype.bind=function(b){var c=new g.Binding(b,this.options.defaultScope||a.BindingScopeEnum.Transient);return this._bindingDictionary.add(b,c),new f.BindingToSyntax(c)},b.prototype.rebind=function(a){return this.unbind(a),this.bind(a)},b.prototype.unbind=function(a){try{this._bindingDictionary.remove(a)}catch(b){throw Error(e.CANNOT_UNBIND+
" "+B.getServiceIdentifierAsString(a));}},b.prototype.unbindAll=function(){this._bindingDictionary=new G.Lookup},b.prototype.isBound=function(a){var b=this._bindingDictionary.hasKey(a);return!b&&this.parent&&(b=this.parent.isBound(a)),b},b.prototype.isBoundNamed=function(a,b){return this.isBoundTagged(a,d.NAMED_TAG,b)},b.prototype.isBoundTagged=function(a,b,c){var d=!1;if(this._bindingDictionary.hasKey(a))var d=this._bindingDictionary.get(a),e=u.createMockRequest(this,a,b,c),d=d.some(function(a){return a.constraint(e)});
return!d&&this.parent&&(d=this.parent.isBoundTagged(a,b,c)),d},b.prototype.snapshot=function(){this._snapshots.push(z.ContainerSnapshot.of(this._bindingDictionary.clone(),this._middleware))},b.prototype.restore=function(){var a=this._snapshots.pop();if(void 0===a)throw Error(e.NO_MORE_SNAPSHOTS_AVAILABLE);this._bindingDictionary=a.bindings;this._middleware=a.middleware},b.prototype.createChild=function(a){a=new b(a||this.options);return a.parent=this,a},b.prototype.applyMiddleware=function(){for(var a=
[],b=0;b<arguments.length;b++)a[b]=arguments[b];this._appliedMiddleware=this._appliedMiddleware.concat(a);b=this._middleware?this._middleware:this._planAndResolve();this._middleware=a.reduce(function(a,b){return b(a)},b)},b.prototype.applyCustomMetadataReader=function(a){this._metadataReader=a},b.prototype.get=function(b){return this._get(!1,!1,a.TargetTypeEnum.Variable,b)},b.prototype.getTagged=function(b,c,d){return this._get(!1,!1,a.TargetTypeEnum.Variable,b,c,d)},b.prototype.getNamed=function(a,
b){return this.getTagged(a,d.NAMED_TAG,b)},b.prototype.getAll=function(b){return this._get(!0,!0,a.TargetTypeEnum.Variable,b)},b.prototype.getAllTagged=function(b,c,d){return this._get(!1,!0,a.TargetTypeEnum.Variable,b,c,d)},b.prototype.getAllNamed=function(a,b){return this.getAllTagged(a,d.NAMED_TAG,b)},b.prototype.resolve=function(a){var b=this.createChild();return b.bind(a).toSelf(),this._appliedMiddleware.forEach(function(a){b.applyMiddleware(a)}),b.get(a)},b.prototype._getContainerModuleHelpersFactory=
function(){var a=this;return function(b){return{bindFunction:function(b){return function(c){c=a.bind.bind(a)(c);c._binding.moduleId=b;return c}}(b),isboundFunction:function(b){return a.isBound.bind(a)(b)},rebindFunction:function(b){return function(c){c=a.rebind.bind(a)(c);c._binding.moduleId=b;return c}}(b),unbindFunction:function(b){a.unbind.bind(a)(b)}}}},b.prototype._get=function(a,b,c,d,f,g){var k=null;a={avoidConstraints:a,contextInterceptor:function(a){return a},isMultiInject:b,key:f,serviceIdentifier:d,
targetType:c,value:g};if(this._middleware){if(void 0===(k=this._middleware(a))||null===k)throw Error(e.INVALID_MIDDLEWARE_RETURN);}else k=this._planAndResolve()(a);return k},b.prototype._planAndResolve=function(){var a=this;return function(b){var c=u.plan(a._metadataReader,a,b.isMultiInject,b.targetType,b.serviceIdentifier,b.key,b.value,b.avoidConstraints);return c=b.contextInterceptor(c),v.resolve(c)}},b}();c.Container=n},785:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.Binding=
void 0;var l=b(39),p=b(51);n=function(){function b(c,e){this.id=p.id();this.activated=!1;this.serviceIdentifier=c;this.scope=e;this.type=l.BindingTypeEnum.Invalid;this.constraint=function(a){return!0};this.dynamicValue=this.onActivation=this.provider=this.factory=this.cache=this.implementationType=null}return b.prototype.clone=function(){var c=new b(this.serviceIdentifier,this.scope);return c.activated=c.scope===l.BindingScopeEnum.Singleton&&this.activated,c.implementationType=this.implementationType,
c.dynamicValue=this.dynamicValue,c.scope=this.scope,c.type=this.type,c.factory=this.factory,c.provider=this.provider,c.constraint=this.constraint,c.onActivation=this.onActivation,c.cache=this.cache,c},b}();c.Binding=n},786:function(n,c,b){function l(a,b,c,d,e){var f=p(c.container,e.serviceIdentifier),l=[];return f.length===k.BindingCount.NoBindingsAvailable&&c.container.options.autoBindInjectable&&"function"==typeof e.serviceIdentifier&&a.getConstructorMetadata(e.serviceIdentifier).compilerGeneratedMetadata&&
(c.container.bind(e.serviceIdentifier).toSelf(),f=p(c.container,e.serviceIdentifier)),l=b?f:f.filter(function(a){var b=new B.Request(a.serviceIdentifier,c,d,a,e);return a.constraint(b)}),function(a,b,c,d){switch(b.length){case k.BindingCount.NoBindingsAvailable:if(c.isOptional())return b;a=r.getServiceIdentifierAsString(a);b=g.NOT_REGISTERED;throw b+=r.listMetadataForTarget(a,c),b+=r.listRegisteredBindingsForServiceIdentifier(d,a,p),Error(b);case k.BindingCount.OnlyOneBindingAvailable:if(!c.isArray())return b;
default:if(c.isArray())return b;a=r.getServiceIdentifierAsString(a);b=g.AMBIGUOUS_MATCH+" "+a;throw b+=r.listRegisteredBindingsForServiceIdentifier(d,a,p),Error(b);}}(e.serviceIdentifier,l,e,c.container),l}function p(a,b){var c=[],d=a._bindingDictionary;return d.hasKey(b)?c=d.get(b):null!==a.parent&&(c=p(a.parent,b)),c}Object.defineProperty(c,"__esModule",{value:!0});c.getBindingDictionary=c.createMockRequest=c.plan=void 0;var k=b(787),g=b(26),e=b(39),a=b(20),d=b(164),r=b(63),u=b(788),v=b(29),f=b(789),
w=b(790),B=b(792),z=b(166);c.getBindingDictionary=function(a){return a._bindingDictionary};c.plan=function(b,c,k,p,n,F,C,L){void 0===L&&(L=!1);c=new u.Context(c);k=function(b,c,d,e,f,g){b=new v.Metadata(b?a.MULTI_INJECT_TAG:a.INJECT_TAG,d);c=new z.Target(c,e,d,b);void 0!==f&&(f=new v.Metadata(f,g),c.metadata.push(f));return c}(k,p,n,"",F,C);try{return function Q(a,b,c,d,k,p){var n;null===k?(b=l(a,b,d,null,p),n=new B.Request(c,d,null,b,p),c=new f.Plan(d,n),d.addPlan(c)):(b=l(a,b,d,k,p),n=k.addChildRequest(p.serviceIdentifier,
b,p));b.forEach(function(b){var c=null;if(p.isArray())c=n.addChildRequest(b.serviceIdentifier,b,p);else{if(b.cache)return;c=n}if(b.type===e.BindingTypeEnum.Instance&&null!==b.implementationType){var f=w.getDependencies(a,b.implementationType);if(!d.container.options.skipBaseClassChecks){var k=w.getBaseClassDependencyCount(a,b.implementationType);if(f.length<k)throw b=g.ARGUMENTS_LENGTH_MISMATCH(w.getFunctionName(b.implementationType)),Error(b);}f.forEach(function(b){Q(a,!1,b.serviceIdentifier,d,c,
b)})}})}(b,L,n,c,null,k),c}catch(M){throw d.isStackOverflowExeption(M)&&c.plan&&r.circularDependencyToException(c.plan.rootRequest),M;}};c.createMockRequest=function(a,b,c,d){c=new z.Target(e.TargetTypeEnum.Variable,"",b,new v.Metadata(c,d));a=new u.Context(a);return new B.Request(b,a,null,[],c)}},787:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.BindingCount=void 0;c.BindingCount={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1}},788:function(n,c,
b){Object.defineProperty(c,"__esModule",{value:!0});c.Context=void 0;var l=b(51);n=function(){function b(c){this.id=l.id();this.container=c}return b.prototype.addPlan=function(b){this.plan=b},b.prototype.setCurrentRequest=function(b){this.currentRequest=b},b}();c.Context=n},789:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.Plan=void 0;n=function(){return function(b,c){this.parentContext=b;this.rootRequest=c}}();c.Plan=n},790:function(n,c,b){function l(b,c,d,l){var n=b.getConstructorMetadata(d),
r=n.compilerGeneratedMetadata;if(void 0===r)throw Error(e.MISSING_INJECTABLE_ANNOTATION+" "+c+".");var n=n.userGeneratedMetadata,A=Object.keys(n),y=A.length>d.length;c=function(b,c,d,f,k){for(var l=[],n=0;n<k;n++){var r;var h=n,t=b,v=c,w=d;r=f[h.toString()]||[];var z=p(r),y=!0!==z.unmanaged,w=w[h];if((w=z.inject||z.multiInject||w)instanceof g.LazyServiceIdentifer&&(w=w.unwrap()),y){var y=w===Object,B=w===Function;if(!t&&(y||B||void 0===w))throw Error(e.MISSING_INJECT_ANNOTATION+" argument "+h+" in class "+
v+".");h=new u.Target(a.TargetTypeEnum.ConstructorArgument,z.targetName,w);r=(h.metadata=r,h)}else r=null;null!==r&&l.push(r)}return l}(l,c,r,n,0===d.length&&0<A.length||y?A.length:d.length);b=function H(b,c){for(var d=b.getPropertiesMetadata(c),e=[],f=0,g=Object.keys(d);f<g.length;f++){var h=g[f],l=d[h],n=p(d[h]),h=new u.Target(a.TargetTypeEnum.ClassProperty,n.targetName||h,n.inject||n.multiInject);h.metadata=l;e.push(h)}c=Object.getPrototypeOf(c.prototype).constructor;c!==Object&&(b=H(b,c),e=k(k([],
e),b));return e}(b,d);return k(k([],c),b)}function p(a){var b={};return a.forEach(function(a){b[a.key.toString()]=a.value}),{inject:b[d.INJECT_TAG],multiInject:b[d.MULTI_INJECT_TAG],targetName:b[d.NAME_TAG],unmanaged:b[d.UNMANAGED_TAG]}}var k=this&&this.__spreadArray||function(a,b){for(var c=0,d=b.length,e=a.length;c<d;c++,e++)a[e]=b[c];return a};Object.defineProperty(c,"__esModule",{value:!0});c.getFunctionName=c.getBaseClassDependencyCount=c.getDependencies=void 0;var g=b(165),e=b(26),a=b(39),d=
b(20),r=b(63);Object.defineProperty(c,"getFunctionName",{enumerable:!0,get:function(){return r.getFunctionName}});var u=b(166);c.getDependencies=function(a,b){return l(a,r.getFunctionName(b),b,!1)};c.getBaseClassDependencyCount=function f(a,b){b=Object.getPrototypeOf(b.prototype).constructor;if(b!==Object){var c=l(a,r.getFunctionName(b),b,!0),e=c.map(function(a){return a.metadata.filter(function(a){return a.key===d.UNMANAGED_TAG})}),e=[].concat.apply([],e).length,c=c.length-e;return 0<c?c:f(a,b)}return 0}},
791:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.QueryableString=void 0;n=function(){function b(c){this.str=c}return b.prototype.startsWith=function(b){return 0===this.str.indexOf(b)},b.prototype.endsWith=function(b){var c;b=b.split("").reverse().join("");return c=this.str.split("").reverse().join(""),this.startsWith.call({str:c},b)},b.prototype.contains=function(b){return-1!==this.str.indexOf(b)},b.prototype.equals=function(b){return this.str===b},b.prototype.value=function(){return this.str},
b}();c.QueryableString=n},792:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.Request=void 0;var l=b(51);n=function(){function b(c,g,e,a,d){this.id=l.id();this.serviceIdentifier=c;this.parentContext=g;this.parentRequest=e;this.target=d;this.childRequests=[];this.bindings=Array.isArray(a)?a:[a];this.requestScope=null===e?new Map:null}return b.prototype.addChildRequest=function(c,g,e){c=new b(c,this.parentContext,this,g,e);return this.childRequests.push(c),c},b}();c.Request=n},793:function(n,
c,b){Object.defineProperty(c,"__esModule",{value:!0});c.resolve=void 0;var l=b(26),p=b(39),k=b(164),g=b(63),e=b(794),a=function(a,b,c){try{return c()}catch(d){throw k.isStackOverflowExeption(d)?Error(l.CIRCULAR_DEPENDENCY_IN_FACTORY(a,b.toString())):d;}},d=function(b){return function(c){c.parentContext.setCurrentRequest(c);var k=c.bindings,f=c.childRequests,n=c.target&&c.target.isArray(),B=!(c.parentRequest&&c.parentRequest.target&&c.target&&c.parentRequest.target.matchesArray(c.target.serviceIdentifier));
if(n&&B)return f.map(function(a){return d(b)(a)});n=null;if(!c.target.isOptional()||0!==k.length){var z=k[0],k=z.scope===p.BindingScopeEnum.Singleton,B=z.scope===p.BindingScopeEnum.Request;if(k&&z.activated)return z.cache;if(B&&null!==b&&b.has(z.id))return b.get(z.id);if(z.type===p.BindingTypeEnum.ConstantValue)n=z.cache,z.activated=!0;else if(z.type===p.BindingTypeEnum.Function)n=z.cache,z.activated=!0;else if(z.type===p.BindingTypeEnum.Constructor)n=z.implementationType;else if(z.type===p.BindingTypeEnum.DynamicValue&&
null!==z.dynamicValue)n=a("toDynamicValue",z.serviceIdentifier,function(){return z.dynamicValue(c.parentContext)});else if(z.type===p.BindingTypeEnum.Factory&&null!==z.factory)n=a("toFactory",z.serviceIdentifier,function(){return z.factory(c.parentContext)});else if(z.type===p.BindingTypeEnum.Provider&&null!==z.provider)n=a("toProvider",z.serviceIdentifier,function(){return z.provider(c.parentContext)});else{if(z.type!==p.BindingTypeEnum.Instance||null===z.implementationType)throw f=g.getServiceIdentifierAsString(c.serviceIdentifier),
Error(l.INVALID_BINDING_TYPE+" "+f);n=e.resolveInstance(z.implementationType,f,d(b))}return"function"==typeof z.onActivation&&(n=z.onActivation(c.parentContext,n)),k&&(z.cache=n,z.activated=!0),B&&null!==b&&!b.has(z.id)&&b.set(z.id,n),n}}};c.resolve=function(a){return d(a.plan.rootRequest.requestScope)(a.plan.rootRequest)}},794:function(n,c,b){var l=this&&this.__spreadArray||function(b,a){for(var c=0,g=a.length,k=b.length;c<g;c++,k++)b[k]=a[c];return b};Object.defineProperty(c,"__esModule",{value:!0});
c.resolveInstance=void 0;var p=b(26),k=b(39),g=b(20);c.resolveInstance=function(b,a,c){var n=null;return n=0<a.length?function(a,b,c){b=b.filter(function(a){return null!==a.target&&a.target.type===k.TargetTypeEnum.ClassProperty});var d=b.map(c);return b.forEach(function(b,c){b=b.target.name.value();a[b]=d[c]}),a}(n=function(a,b){return new (a.bind.apply(a,l([void 0],b)))}(b,a.filter(function(a){return null!==a.target&&a.target.type===k.TargetTypeEnum.ConstructorArgument}).map(c)),a,c):new b,function(a,
b){if(Reflect.hasMetadata(g.POST_CONSTRUCT,a)){var c=Reflect.getMetadata(g.POST_CONSTRUCT,a);try{b[c.value]()}catch(d){throw Error(p.POST_CONSTRUCT_ERROR(a.name,d.message));}}}(b,n),n}},795:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.BindingToSyntax=void 0;var l=b(26),p=b(39),k=b(796),g=b(167);n=function(){function b(a){this._binding=a}return b.prototype.to=function(a){return this._binding.type=p.BindingTypeEnum.Instance,this._binding.implementationType=a,new k.BindingInWhenOnSyntax(this._binding)},
b.prototype.toSelf=function(){if("function"!=typeof this._binding.serviceIdentifier)throw Error(""+l.INVALID_TO_SELF_VALUE);return this.to(this._binding.serviceIdentifier)},b.prototype.toConstantValue=function(a){return this._binding.type=p.BindingTypeEnum.ConstantValue,this._binding.cache=a,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=p.BindingScopeEnum.Singleton,new g.BindingWhenOnSyntax(this._binding)},b.prototype.toDynamicValue=function(a){return this._binding.type=
p.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=a,this._binding.implementationType=null,new k.BindingInWhenOnSyntax(this._binding)},b.prototype.toConstructor=function(a){return this._binding.type=p.BindingTypeEnum.Constructor,this._binding.implementationType=a,this._binding.scope=p.BindingScopeEnum.Singleton,new g.BindingWhenOnSyntax(this._binding)},b.prototype.toFactory=function(a){return this._binding.type=p.BindingTypeEnum.Factory,this._binding.factory=a,this._binding.scope=
p.BindingScopeEnum.Singleton,new g.BindingWhenOnSyntax(this._binding)},b.prototype.toFunction=function(a){if("function"!=typeof a)throw Error(l.INVALID_FUNCTION_BINDING);a=this.toConstantValue(a);return this._binding.type=p.BindingTypeEnum.Function,this._binding.scope=p.BindingScopeEnum.Singleton,a},b.prototype.toAutoFactory=function(a){return this._binding.type=p.BindingTypeEnum.Factory,this._binding.factory=function(b){return function(){return b.container.get(a)}},this._binding.scope=p.BindingScopeEnum.Singleton,
new g.BindingWhenOnSyntax(this._binding)},b.prototype.toProvider=function(a){return this._binding.type=p.BindingTypeEnum.Provider,this._binding.provider=a,this._binding.scope=p.BindingScopeEnum.Singleton,new g.BindingWhenOnSyntax(this._binding)},b.prototype.toService=function(a){this.toDynamicValue(function(b){return b.container.get(a)})},b}();c.BindingToSyntax=n},796:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.BindingInWhenOnSyntax=void 0;var l=b(797),p=b(114),k=b(115);n=function(){function b(c){this._binding=
c;this._bindingWhenSyntax=new k.BindingWhenSyntax(this._binding);this._bindingOnSyntax=new p.BindingOnSyntax(this._binding);this._bindingInSyntax=new l.BindingInSyntax(c)}return b.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},b.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},b.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},b.prototype.when=function(b){return this._bindingWhenSyntax.when(b)},
b.prototype.whenTargetNamed=function(b){return this._bindingWhenSyntax.whenTargetNamed(b)},b.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},b.prototype.whenTargetTagged=function(b,a){return this._bindingWhenSyntax.whenTargetTagged(b,a)},b.prototype.whenInjectedInto=function(b){return this._bindingWhenSyntax.whenInjectedInto(b)},b.prototype.whenParentNamed=function(b){return this._bindingWhenSyntax.whenParentNamed(b)},b.prototype.whenParentTagged=function(b,
a){return this._bindingWhenSyntax.whenParentTagged(b,a)},b.prototype.whenAnyAncestorIs=function(b){return this._bindingWhenSyntax.whenAnyAncestorIs(b)},b.prototype.whenNoAncestorIs=function(b){return this._bindingWhenSyntax.whenNoAncestorIs(b)},b.prototype.whenAnyAncestorNamed=function(b){return this._bindingWhenSyntax.whenAnyAncestorNamed(b)},b.prototype.whenAnyAncestorTagged=function(b,a){return this._bindingWhenSyntax.whenAnyAncestorTagged(b,a)},b.prototype.whenNoAncestorNamed=function(b){return this._bindingWhenSyntax.whenNoAncestorNamed(b)},
b.prototype.whenNoAncestorTagged=function(b,a){return this._bindingWhenSyntax.whenNoAncestorTagged(b,a)},b.prototype.whenAnyAncestorMatches=function(b){return this._bindingWhenSyntax.whenAnyAncestorMatches(b)},b.prototype.whenNoAncestorMatches=function(b){return this._bindingWhenSyntax.whenNoAncestorMatches(b)},b.prototype.onActivation=function(b){return this._bindingOnSyntax.onActivation(b)},b}();c.BindingInWhenOnSyntax=n},797:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.BindingInSyntax=
void 0;var l=b(39),p=b(167);n=function(){function b(c){this._binding=c}return b.prototype.inRequestScope=function(){return this._binding.scope=l.BindingScopeEnum.Request,new p.BindingWhenOnSyntax(this._binding)},b.prototype.inSingletonScope=function(){return this._binding.scope=l.BindingScopeEnum.Singleton,new p.BindingWhenOnSyntax(this._binding)},b.prototype.inTransientScope=function(){return this._binding.scope=l.BindingScopeEnum.Transient,new p.BindingWhenOnSyntax(this._binding)},b}();c.BindingInSyntax=
n},798:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.ContainerSnapshot=void 0;n=function(){function b(){}return b.of=function(c,k){var g=new b;return g.bindings=c,g.middleware=k,g},b}();c.ContainerSnapshot=n},799:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.Lookup=void 0;var l=b(26);n=function(){function b(){this._map=new Map}return b.prototype.getMap=function(){return this._map},b.prototype.add=function(b,c){if(null===b||void 0===b)throw Error(l.NULL_ARGUMENT);
if(null===c||void 0===c)throw Error(l.NULL_ARGUMENT);var e=this._map.get(b);void 0!==e?(e.push(c),this._map.set(b,e)):this._map.set(b,[c])},b.prototype.get=function(b){if(null===b||void 0===b)throw Error(l.NULL_ARGUMENT);b=this._map.get(b);if(void 0!==b)return b;throw Error(l.KEY_NOT_FOUND);},b.prototype.remove=function(b){if(null===b||void 0===b)throw Error(l.NULL_ARGUMENT);if(!this._map.delete(b))throw Error(l.KEY_NOT_FOUND);},b.prototype.removeByCondition=function(b){var c=this;this._map.forEach(function(e,
a){e=e.filter(function(a){return!b(a)});0<e.length?c._map.set(a,e):c._map.delete(a)})},b.prototype.hasKey=function(b){if(null===b||void 0===b)throw Error(l.NULL_ARGUMENT);return this._map.has(b)},b.prototype.clone=function(){var c=new b;return this._map.forEach(function(b,e){b.forEach(function(a){return c.add(e,a.clone())})}),c},b.prototype.traverse=function(b){this._map.forEach(function(c,e){b(e,c)})},b}();c.Lookup=n},8:function(n,c,b){c.a=function(b,c,k,g){k&&Object.defineProperty(b,c,{enumerable:k.enumerable,
configurable:k.configurable,writable:k.writable,value:k.initializer?k.initializer.call(g):void 0})}},800:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.AsyncContainerModule=c.ContainerModule=void 0;var l=b(51);n=function(){return function(b){this.id=l.id();this.registry=b}}();c.ContainerModule=n;n=function(){return function(b){this.id=l.id();this.registry=b}}();c.AsyncContainerModule=n},801:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.injectable=void 0;var l=
b(26),p=b(20);c.injectable=function(){return function(b){if(Reflect.hasOwnMetadata(p.PARAM_TYPES,b))throw Error(l.DUPLICATED_INJECTABLE_DECORATOR);var c=Reflect.getMetadata(p.DESIGN_PARAM_TYPES,b)||[];return Reflect.defineMetadata(p.PARAM_TYPES,c,b),b}}},802:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.tagged=void 0;var l=b(29),p=b(46);c.tagged=function(b,c){return function(e,a,d){var n=new l.Metadata(b,c);"number"==typeof d?p.tagParameter(e,a,d,n):p.tagProperty(e,a,n)}}},803:function(n,
c,b){Object.defineProperty(c,"__esModule",{value:!0});c.named=void 0;var l=b(20),p=b(29),k=b(46);c.named=function(b){return function(c,a,d){var n=new p.Metadata(l.NAMED_TAG,b);"number"==typeof d?k.tagParameter(c,a,d,n):k.tagProperty(c,a,n)}}},804:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.optional=void 0;var l=b(20),p=b(29),k=b(46);c.optional=function(){return function(b,c,a){var d=new p.Metadata(l.OPTIONAL_TAG,!0);"number"==typeof a?k.tagParameter(b,c,a,d):k.tagProperty(b,
c,d)}}},805:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.unmanaged=void 0;var l=b(20),p=b(29),k=b(46);c.unmanaged=function(){return function(b,c,a){var d=new p.Metadata(l.UNMANAGED_TAG,!0);k.tagParameter(b,c,a,d)}}},806:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.multiInject=void 0;var l=b(20),p=b(29),k=b(46);c.multiInject=function(b){return function(c,a,d){var n=new p.Metadata(l.MULTI_INJECT_TAG,b);"number"==typeof d?k.tagParameter(c,a,d,n):k.tagProperty(c,
a,n)}}},807:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.targetName=void 0;var l=b(20),p=b(29),k=b(46);c.targetName=function(b){return function(c,a,d){var n=new p.Metadata(l.NAME_TAG,b);k.tagParameter(c,a,d,n)}}},808:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.postConstruct=void 0;var l=b(26),p=b(20),k=b(29);c.postConstruct=function(){return function(b,c,a){c=new k.Metadata(p.POST_CONSTRUCT,c);if(Reflect.hasOwnMetadata(p.POST_CONSTRUCT,b.constructor))throw Error(l.MULTIPLE_POST_CONSTRUCT_METHODS);
Reflect.defineMetadata(p.POST_CONSTRUCT,c,b.constructor)}}},809:function(n,c,b){Object.defineProperty(c,"__esModule",{value:!0});c.multiBindToService=void 0;c.multiBindToService=function(b){return function(c){return function(){for(var k=[],g=0;g<arguments.length;g++)k[g]=arguments[g];return k.forEach(function(e){return b.bind(e).toService(c)})}}}},81:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(821),g=(b.n(k),function(){function b(a){(Object(l.a)(this,b),this.r=0,this.g=0,
this.b=0,this.a=0,webwave.isString(a))?(a=Object(k.parseCSSColor)(a),null!==a&&(this.r=a[0],this.g=a[1],this.b=a[2],this.a=a[3])):webwave.isDef(a)&&(webwave.isNumberAndNotNaN(a.r)&&(this.r=a.r),webwave.isNumberAndNotNaN(a.g)&&(this.g=a.g),webwave.isNumberAndNotNaN(a.b)&&(this.b=a.b),webwave.isNumberAndNotNaN(a.a)&&(this.a=a.a))}return Object(p.a)(b,[{key:"toRgbaString",value:function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.a+")"}},{key:"toRgbString",value:function(){return"rgb("+
this.r+", "+this.g+", "+this.b+")"}},{key:"subtract",value:function(a){return this.r-=a.r,this.g-=a.g,this.b-=a.b,this.a-=a.a,this}},{key:"add",value:function(a){return this.r+=a.r,this.g+=a.g,this.b+=a.b,this.a+=a.a,this}},{key:"multiply",value:function(a){return this.r=Math.round(this.r*a),this.g=Math.round(this.g*a),this.b=Math.round(this.b*a),this.multiplyAlpha(a),this}},{key:"multiplyAlpha",value:function(a){this.a*=a}},{key:"clone",value:function(){return new b(this)}},{key:"invert",value:function(){this.r=
255-this.r;this.g=255-this.g;this.b=255-this.b}},{key:"randomizeColor",value:function(){this.r=Math.floor(255*Math.random());this.g=Math.floor(255*Math.random());this.b=Math.floor(255*Math.random());this.a=1}}],[{key:"rgb2hex",value:function(a){return webwave.isNotString(a)?"#000000":-1!=a.indexOf("#")?a:null!=(a=a.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?"#"+b._hex(a[1])+b._hex(a[2])+b._hex(a[3]):""}},{key:"hex2rgb",value:function(a){if(webwave.isNotString(a))return"rgb(0, 0, 0)";var b=0,c=0,e=
0;return 4==a.length?(b="0x"+a[1]+a[1],c="0x"+a[2]+a[2],e="0x"+a[3]+a[3]):7==a.length&&(b="0x"+a[1]+a[2],c="0x"+a[3]+a[4],e="0x"+a[5]+a[6]),"rgb("+ +b+", "+ +c+", "+ +e+")"}},{key:"hex2Rgba",value:function(a,b){var c=(a=a.slice(-6)).slice(0,2),e=a.slice(2,4);a=a.slice(4);return"rgba("+parseInt(c,16)+","+parseInt(e,16)+","+parseInt(a,16)+","+b+")"}},{key:"hex2RgbObject",value:function(a){return a=a.slice(-6),{r:parseInt(a.slice(0,2),16),g:parseInt(a.slice(2,4),16),b:parseInt(a.slice(4),16)}}},{key:"isHex",
value:function(a){return/^#[0-9A-F]{3,6}$/i.test(a)}},{key:"isRgba",value:function(a){return/^rgba\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/.test(a)}},{key:"isRgb",value:function(a){return/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/.test(a)}},{key:"rgb2hsl",value:function(a){if(webwave.isNotString(a))return{H:0,S:0,L:0};"#"===a[0]&&(a=this.hex2rgb(a));var b,c=0,e=0;b=0;c=(b=a.slice(4,-1).split(",").map(function(a){return+a}))[0];e=b[1];b=b[2];c/=255;e/=255;b/=255;a=Math.max(c,
e,b);var g=a-Math.min(c,e,b),c=g?a===c?(e-b)/g:a===e?2+(b-c)/g:4+(c-e)/g:0;return{H:0>60*c?60*c+360:60*c,S:100*(g?.5>=a?g/(2*a-g):g/(2-(2*a-g)):0),L:100*(2*a-g)/2}}},{key:"_hex",value:function(a){return null!==a?("0"+parseInt(a).toString(16)).slice(-2):"00"}},{key:"rgba2Rgb",value:function(a){a=a.replace(/[^\d,]/g,"").split(",");return"rgb(".concat(a[0],", ").concat(a[1],", ").concat(a[2],")")}},{key:"obtainRgbValue",value:function(a){return b.isHex(a)?b.hex2rgb(a):b.isRgba(a)?b.rgba2Rgb(a):a}},{key:"obtainHexValue",
value:function(a){b.isRgb(a)?a=b.rgb2hex(a):b.isRgba(a)&&(a=b.rgba2Rgb(a),a=b.rgb2hex(a));return a}}]),b}())},810:function(n,c,b){b.d(c,"a",function(){return g});var l=b(0),p=b(1),k=b(116),g=function(){function b(){Object(l.a)(this,b)}return Object(p.a)(b,null,[{key:"getShadowColorArrayFromString",value:function(a){return null===a||void 0===a?void 0:a.match(/((rgba|rgb|var)?\(.+\))/g)}},{key:"getShadowSettingsArrayFromString",value:function(a){return null===a||void 0===a?void 0:a.match(/(-?\d+px)/g)}},
{key:"composeShadowValueByColorAndDirectionSettings",value:function(a,b){return[a].concat(b).join(" ")}},{key:"getShadowObjectFromString",value:function(a,b){if(!webwave.isString(a))return b;var c=a.match(/((rgba|rgb|var)?\(.+\))/g);a=a.match(/(-?\d+px)/g);return null===c||null===a||1!==c.length||3!==a.length?b:{x:parseInt(a[0],10),y:parseInt(a[1],10),blur:parseInt(a[2],10),color:c[0],enabled:!0}}},{key:"getShadowStringFromShadowMap",value:function(a){var b="none";webwave.isDef(a)&&"none"!==a&&a.enabled&&
(b="rgb(0,0,0,1)",webwave.isString(a.color)&&(k.a.isColorStartWithAnyOfPhrase(a.color,["rgba","var"])?b=a.color:k.a.isColorStartWithRgbPhrase(a.color)&&(b=webwave.isDef(a.opacity)?a.opacity/100:1,b=k.a.rgbAndOpacityToRgba(a.color,b))),b="".concat(a.x,"px ").concat(a.y,"px ").concat(a.blur,"px ").concat(b));return b}}]),b}()},819:function(n,c,b){b.d(c,"a",function(){return k});var l=b(0),p=b(1),k=function(){function b(c,a){Object(l.a)(this,b);this.propertyChangeListener=c;this.propertyName=a}return Object(p.a)(b,
[{key:"getPropertyChangeListener",value:function(){return this.propertyChangeListener}},{key:"getPropertyName",value:function(){return this.propertyName}},{key:"equals",value:function(b){return this.getPropertyName()===b.getPropertyName()&&this.getPropertyChangeListener()===b.getPropertyChangeListener()}},{key:"dispatchEvent",value:function(b){var a;webwave.isFunction(this.propertyChangeListener)?this.propertyChangeListener(b):webwave.isFunction(null===(a=this.propertyChangeListener)||void 0===a?
void 0:a.onPropertyChange)&&this.propertyChangeListener.onPropertyChange(b)}}]),b}()},821:function(n,c){!function(){function b(a){return 0>(a=Math.round(a))?0:255<a?255:a}function l(a){return 0>a?0:1<a?1:a}function n(a){return"%"===a[a.length-1]?b(parseFloat(a)/100*255):b(parseInt(a))}function k(a){return"%"===a[a.length-1]?l(parseFloat(a)/100):l(parseFloat(a))}function g(a,b,c){return 0>c?c+=1:1<c&&--c,1>6*c?a+(b-a)*c*6:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a}webwave.provide("parseCSSColor");var e={transparent:[0,
0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,
1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,
20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,
240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,
1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,
228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,
51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],
turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};parseCSSColor=function(a){var c;a=a.replace(/ /g,"").toLowerCase();if(a in e)return e[a].slice();if("#"===a[0])return 4===a.length?0<=(c=parseInt(a.substr(1),16))&&4095>=c?[(3840&c)>>4|(3840&c)>>8,240&c|(240&c)>>4,15&c|(15&c)<<4,1]:null:7===a.length&&0<=(c=parseInt(a.substr(1),16))&&16777215>=c?[(16711680&c)>>16,(65280&c)>>8,255&c,
1]:null;var l=a.indexOf("("),u=a.indexOf(")");if(-1!==l&&u+1===a.length)switch(c=a.substr(0,l),l=a.substr(l+1,u-(l+1)).split(","),a=1,c){case "rgba":if(4!==l.length)break;a=k(l.pop());case "rgb":return 3!==l.length?null:[n(l[0]),n(l[1]),n(l[2]),a];case "hsla":if(4!==l.length)break;a=k(l.pop());case "hsl":if(3===l.length)return c=(parseFloat(l[0])%360+360)%360/360,u=k(l[1]),l=k(l[2]),u=.5>=l?l*(u+1):l+u-l*u,l=2*l-u,[b(255*g(l,u,c+1/3)),b(255*g(l,u,c)),b(255*g(l,u,c-1/3)),a]}return null};try{c.parseCSSColor=
parseCSSColor}catch(a){}}()},893:function(n,c,b){b.d(c,"a",function(){return u});var l=b(0),p=b(1);n=b(1523);var k=b(331);c=b(1244);var g=b(1710),e=b(81),a=b(116),d=b(1164),r=b(111),u=function(){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,b);this.backgroundType=a.backgroundType;a.backgroundType===b.BackgroundTypes.GRADIENT?this.backgroundType=b.BackgroundTypes.GRADIENT:this.backgroundType=b.BackgroundTypes.COLOR;this.backgroundImage=webwave.isDef(a.backgroundImage)?
a.backgroundImage:"none";this.imageId=null!==a.imageId?a.imageId:void 0;"string"==typeof a.backgroundColor&&0<a.backgroundColor.length?this.backgroundColor=a.backgroundColor:this.backgroundColor="rgba(0, 0, 0, 0)";this.sessionBackgroundColor=this.backgroundColor;this.gradient=new d.a(a.gradient);void 0===a.verticalPosition?this.verticalPosition="top":this.verticalPosition=a.verticalPosition;void 0===a.horizontalPosition?this.horizontalPosition="left":this.horizontalPosition=a.horizontalPosition;this.repeatY=
!1!==a.repeatY;this.repeatX=!1!==a.repeatX;"string"==typeof a.backgroundSize&&0<a.backgroundSize.length?this.backgroundSize=a.backgroundSize:this.backgroundSize="cover";"string"==typeof a.backgroundAttachment&&0<a.backgroundAttachment.length?this.backgroundAttachment=a.backgroundAttachment:this.backgroundAttachment="scroll";webwave.isNumberAndNotNaN(a.parallax)?this.parallax=a.parallax:this.parallax=100;webwave.isDef(a.enabled)?this.enabled=a.enabled:this.enabled=this._computeEnabledValue();webwave.isDef(a.backgroundImageEnabled)?
this.backgroundImageEnabled=a.backgroundImageEnabled:this.backgroundImageEnabled=this._computeBackgroundImageEnabledValue()}return Object(p.a)(b,[{key:"serialize",value:function(){var a,b,c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};(this.gradient instanceof d.a&&(a=this.gradient.serialize()),webwave.isDefAndNotNull(this.imageId)&&webwave.isDefAndNotNull(c.imageIdCorrector))&&(this.imageId=null===(b=c.imageIdCorrector)||void 0===b?void 0:b.tryCorrectImageId(this.imageId));return{backgroundType:this.backgroundType,
imageId:this.imageId,backgroundColor:this.backgroundColor,gradient:a,verticalPosition:this.verticalPosition,horizontalPosition:this.horizontalPosition,repeatX:this.repeatX,repeatY:this.repeatY,backgroundSize:this.backgroundSize,backgroundAttachment:this.backgroundAttachment,parallax:this.parallax,enabled:this.enabled,backgroundImageEnabled:this.backgroundImageEnabled}}},{key:"_computeEnabledValue",value:function(){var a=webwave.isDef(this.backgroundColor)&&""!==this.backgroundColor&&"transparent"!==
this.backgroundColor&&0<(new e.a(this.backgroundColor)).a,c=this.backgroundType===b.BackgroundTypes.GRADIENT,d=webwave.isDef(this.gradient);return!!(a||d&&c)}},{key:"_computeBackgroundImageEnabledValue",value:function(){return!!webwave.isDef(this.imageId)}},{key:"toCss2Map",value:function(){var a={};return!1===this.enabled&&!1===this.backgroundImageEnabled?{background:"none"}:(this.enabled?a=this.backgroundType===b.BackgroundTypes.COLOR?{backgroundColor:webwave.isDef(this.backgroundColor)?this.backgroundColor:
"transparent"}:{backgroundImage:webwave.isDef(this.gradient)?this.gradient.toBackgroundImageString():void 0}:a.backgroundColor="transparent",this.backgroundImageEnabled&&(webwave.isDef(window.fileManagerService)?a.backgroundImage=window.fileManagerService.getUserFileCssUrl(this.imageId,this.backgroundSize===k.a.FULL_WIDTH):a.backgroundImage=webwave.isDef(this.backgroundImage)?this.backgroundImage:"none",Object.assign(a,{backgroundSize:this.backgroundSize,backgroundRepeat:this.generateBackgroundRepeatString(),
backgroundPosition:this.horizontalPosition+" "+this.verticalPosition})),webwave.isNotDef(a.backgroundImage)&&(a.backgroundImage="none"),a)}},{key:"applyPartialBackgroundMap",value:function(a){webwave.isDef(a)&&(webwave.isDef(a.backgroundAttachment)&&(this.backgroundAttachment=a.backgroundAttachment),webwave.isDef(a.backgroundColor)&&(this.backgroundColor=a.backgroundColor),webwave.isDef(a.backgroundSize)&&(this.backgroundSize=a.backgroundSize),webwave.isDef(a.backgroundType)&&(this.backgroundType=
a.backgroundType),webwave.isDef(a.gradient)&&(this.gradient=new d.a(a.gradient)),webwave.isDef(a.horizontalPosition)&&(this.horizontalPosition=a.horizontalPosition),webwave.isDef(a.verticalPosition)&&(this.verticalPosition=a.verticalPosition),webwave.isDef(a.backgroundImage)&&(this.backgroundImage=a.backgroundImage),webwave.isDef(a.imageId)&&(this.imageId=null!==a.imageId?a.imageId:void 0),webwave.isDef(a.repeatX)&&(this.repeatX=a.repeatX),webwave.isDef(a.repeatY)&&(this.repeatY=a.repeatY),webwave.isDef(a.parallax)&&
(this.parallax=a.parallax),webwave.isDef(a.enabled)&&(this.enabled=a.enabled),webwave.isDef(a.backgroundImageEnabled)&&(this.backgroundImageEnabled=a.backgroundImageEnabled))}},{key:"setBackgroundColor",value:function(a){this.backgroundColor=a}},{key:"generateBackgroundRepeatString",value:function(){return g.a.generateBackgroundRepeatString(this.repeatX,this.repeatY)}},{key:"clone",value:function(){return new b(this.serialize())}},{key:"changeWebsiteColorConnection",value:function(a,b){var c,d=r.a.changeObjectBackgroundColorPropertyWithWebsiteColor(this,
a,{connection:b});a=null===(c=this.gradient)||void 0===c?void 0:c.changeWebsiteColorConnection(a,b);return d||a}},{key:"isBackgroundImageEnabledAndDefined",value:function(){return!0===this.backgroundImageEnabled&&webwave.isDefAndNotNull(this.imageId)}},{key:"isParallaxActive",value:function(){return webwave.isDefAndNotNull(this.parallax)&&100!==this.parallax&&this.isBackgroundImageEnabledAndDefined()}},{key:"isBackgroundColorEnabledAndWithoutTransparency",value:function(){return!0===this.enabled&&
!1===a.a.isTransparentOrSomeLevelOfTransparency(this.backgroundColor)}},{key:"isNonTransparentBackgroundAvailable",value:function(){return this.isBackgroundColorEnabledAndWithoutTransparency()||this.isBackgroundImageEnabledAndDefined()}}]),b}();u.BackgroundTypes=c.a;u.AttachmentTypes=n.a;u.BackgroundSizes=k.a;u.toBackgroundString=function(){return"background: none"}},9:function(n,c,b){},92:function(n,c,b){c.a={TOP:"top",TOP_RIGHT:"topRight",RIGHT:"right",BOTTOM_RIGHT:"bottomRight",BOTTOM:"bottom",
BOTTOM_LEFT:"bottomLeft",LEFT:"left",TOP_LEFT:"topLeft",CENTER:"center"}},98:function(n,c,b){c.a={RECTANGLE:"rectangle",GALLERY:"gallery",SLIDER:"slider",LIGHTBOX:"lightbox",IMG:"img",SIMPLETEXT:"simpleText",TEXT:"text",BUTTON:"button",PAGETHUMBNAIL:"pageThumbnail",HTMLTOOL:"htmltool",LANGUAGESELECTOR:"languageSelector",FBCOMMENTS:"fbComments",NEWSFEED:"newsfeed",MENU:"menu",SOCIALMEDIA:"socialMedia",FORM:"form",GOOGLEMAPS:"googleMaps",LOGIN:"login",DATE:"date",MEDIAPLAYER:"WMediaPlayer",STORE_PRODUCT:"product",
STORE_CART:"shopCart",SNIPCART_SHOP:"shop",COUNTER:"counter",CAROUSEL:"carousel"}}});