PageSourceSearch

https://piotrkowska-nr.pl/files/staticContent/5.620.1/websitesReso…eModule-47fd6b9c3c36f0af8dacfa1d2926fd3f.js

js piotrkowska-nr.pl collected 2026-09-25 00:56:48 UTC 962,412 bytes, 1,873 lines download raw bytes

1//# sourceMappingURL=websiteModule.js.map
2/*
3 2013-2014 Enrico Marino / Jordan Harband
4 @license MIT
5 *****************************************************************************
6Copyright (C) Microsoft. All rights reserved.
7Licensed under the Apache License, Version 2.0 (the "License"); you may not use
8this file except in compliance with the License. You may obtain a copy of the
9License at http://www.apache.org/licenses/LICENSE-2.0
10
11THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
12KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
13WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
14MERCHANTABLITY OR NON-INFRINGEMENT.
15
16See the Apache Version 2.0 License for specific language governing permissions
17and limitations under the License.
18*****************************************************************************/
19var process=process||{env:{NODE_ENV:"development"}};
20!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5787)}({0:function(e,t,n){function i(e,t){if(!(e instanceof
21t))throw new TypeError("Cannot call a class as a function");}t.a=i},1:function(e,t,n){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}t.a=r},10:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e){n.d(t,"ApiClient",function(){return lt}),n.d(t,"ApiError",
22function(){return Qe}),n.d(t,"ApiResponse",function(){return it}),n.d(t,"ArrayUtils",function(){return k}),n.d(t,"AsyncSemaphore",function(){return P}),n.d(t,"AsyncUtils",function(){return A}),n.d(t,"AutopayAvailableCurrencies",function(){return Ke}),n.d(t,"AutopayRecurringActions",function(){return qe}),n.d(t,"AutopayUtils",function(){return Ze}),n.d(t,"CardPaymentTypes",function(){return Je}),n.d(t,"Color",function(){return R}),n.d(t,"ColorUtils",function(){return L}),n.d(t,"Config",function(){return B}),
23n.d(t,"ContentTypes",function(){return et}),n.d(t,"Currency",function(){return F}),n.d(t,"DateUtils",function(){return U}),n.d(t,"DecimalSeparators",function(){return H}),n.d(t,"DelayedThrottler",function(){return G}),n.d(t,"Direction2D",function(){return Y}),n.d(t,"DomUtils",function(){return $}),n.d(t,"EnumUtils",function(){return g}),n.d(t,"Environment",function(){return q}),n.d(t,"Environments",function(){return X}),n.d(t,"FileUtils",function(){return Z}),n.d(t,"HtmlUtils",function(){return x}),
24n.d(t,"HttpMethods",function(){return tt}),n.d(t,"HttpStatus",function(){return p}),n.d(t,"IconsNamesReferences",function(){return J}),n.d(t,"InputUtils",function(){return ee}),n.d(t,"KeyBindings",function(){return te}),n.d(t,"KeyCodes",function(){return ne}),n.d(t,"LocationUtils",function(){return ie}),n.d(t,"MathOutputFormat",function(){return re}),n.d(t,"MathUtils",function(){return oe}),n.d(t,"MobileUtils",function(){return se}),n.d(t,"NumberUtils",function(){return ue}),n.d(t,"ObjectComparators",
25function(){return ce}),n.d(t,"ObjectUtils",function(){return le}),n.d(t,"Orientation2D",function(){return de}),n.d(t,"PanelTypes",function(){return he}),n.d(t,"Point2D",function(){return fe}),n.d(t,"RegexTypes",function(){return ve}),n.d(t,"RequestUtils",function(){return b}),n.d(t,"Resize",function(){return ge}),n.d(t,"SingleActionThrottler",function(){return pe}),n.d(t,"Size2D",function(){return ye}),n.d(t,"SliderInputReturnTypes",function(){return Q}),n.d(t,"SortArrayOfObjects",function(){return be}),
26n.d(t,"StoreUtils",function(){return me}),n.d(t,"StringUtils",function(){return Ge}),n.d(t,"TranslationPrefix",function(){return _}),n.d(t,"UrlParam",function(){return Ye}),n.d(t,"VariableUtils",function(){return $e}),n.d(t,"VueUtils",function(){return Xe}),n.d(t,"buildFormData",function(){return ut}),n.d(t,"createApiClient",function(){return dt}),n.d(t,"generateApiUrl",function(){return at}),n.d(t,"getFullUrl",function(){return ot}),n.d(t,"parseCSSColor",function(){return j}),n.d(t,"parseHeaders",
27function(){return st}),n.d(t,"processNestedObject",function(){return rt});var i=n(57),r=n(137),a=Object.defineProperty,o=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t)=>
27{for(var n in t||(t={}))s.call(t,n)&&c(e,n,t[n]);if(o)for(var n of o(t))u.call(t,n)&&c(e,n,t[n]);return e},d=(e,t,n)=>c(e,"symbol"!=typeof t?t+"":t,n),h=(e,t,n)=>new Promise((i,r)=>{var a=
28e=>{try{s(n.next(e))}catch(e){r(e)}},o=e=>{try{s(n.throw(e))}catch(e){r(e)}},s=e=>e.done?i(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())});const f="autoSorting",v=e=>{Object.defineProperty(e,f,{value:!0,enumerable:!1})},g=Object.freeze(Object.defineProperty({__proto__:null,AUTO_SORTING:f,addTranslationSorting:v},Symbol.toStringTag,{value:"Module"})),p={OK:200,CREATED:201,BAD_REQUEST:400,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,REQUEST_TIMEOUT:408,CONFLICT:409,INTERNAL_SERVER_ERROR:500,
29BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},y=e=>parseInt(e)===p.OK,b=Object.freeze(Object.defineProperty({__proto__:null,isHttpStringStatusOK:y},Symbol.toStringTag,{value:"Module"})),m="_translationPrefix",w="_translationSuffix",S=(e,t,n)=>{Object.defineProperty(e,m,{value:t,enumerable:!1}),i.default.isDefAndNotNull(n)&&Object.defineProperty(e,w,{value:n,enumerable:!1})},O=(e,t,n)=>i.default.isDefAndNotNull(n)&&i18n.exists(`${e[m]}.${t}.${n}`)?i18n.t(`${e[m]}.${t}.${n}`):i18n.t(`${e[m]}.${t}`),
30_=Object.freeze(Object.defineProperty({__proto__:null,TRANSLATION_PREFIX_KEY:m,TRANSLATION_SUFFIX_KEY:w,addTranslationPrefix:S,translateEnumValue:O},Symbol.toStringTag,{value:"Module"}));class k{static sortArrayOfObjectsByKeyAscending(e,t){let n=[];return e&&t&&(n=Array.from(e)).sort((e,n)=>{let r=e[t],a=n[t];if(i.default.isString(r)&&i.default.isString(a)&&(r=r.toLowerCase(),a=a.toLowerCase()),i.default.isDefAndNotNull(r)&&i.default.isDefAndNotNull(a)){if(r>a)return 1;if(r<a)return-1}else if(!1===
31i.default.isDef(r)||""===r){if(a)return 1}else if((!1===i.default.isDef(a)||""===a)&&r)return-1;return 0}),n}static sortArrayOfObjectsByKeyDescending(e,t){let n=[];return e&&t&&(n=Array.from(e)).sort((e,n)=>{let r=e[t],a=n[t];if(i.default.isString(r)&&i.default.isString(a)&&(r=r.toLowerCase(),a=a.toLowerCase()),i.default.isDefAndNotNull(r)&&i.default.isDefAndNotNull(a)){if(r>a)return-1;if(r<a)return 1}else if(!1===i.default.isDef(r)||""===r){if(a)return-1}else if((!1===i.default.isDef(a)||""===a)&&
32r)return 1;return 0}),n}static sortArrayAscending(e){let t=[];return e&&(t=e).sort((e,t)=>{let n=e,r=t;if(i.default.isString(n)&&i.default.isString(r)&&(n=n.toLowerCase(),r=r.toLowerCase()),i.default.isDefAndNotNull(n)&&i.default.isDefAndNotNull(r)){if(n>r)return 1;if(n<r)return-1}return 0}),t}static sortArrayDescending(e){let t=[];return e&&(t=e).sort((e,t)=>{let n=e,r=t;if(i.default.isString(n)&&i.default.isString(r)&&(n=n.toLowerCase(),r=r.toLowerCase()),i.default.isDefAndNotNull(n)&&i.default.isDefAndNotNull(r)){if(n>
33r)return-1;if(n<r)return 1}return 0}),t}static sortArrayByDefinedSortingValueAscending(e){let t=[];return e.array&&(t=e.array).sort((t,n)=>{let r=e.getValueCallback(t),a=e.getValueCallback(n);if(i.default.isDefAndNotNull(r)&&i.default.isDefAndNotNull(a)){if(r>a)return 1;if(r<a)return-1}if(i.default.isFunction(e.equalValuesAdditionalCallback)){if((r=e.equalValuesAdditionalCallback(t))>(a=e.equalValuesAdditionalCallback(n)))return 1;if(r<a)return-1}return 0}),t}static isArrayHasOnlyTruthyValues(e){return e.every(e=>
34!0===e)}static shuffle(e){let t=e.length,n;for(;t>0;)n=Math.floor(Math.random()*t),t-=1,[e[t],e[n]]=[e[n],e[t]];return e}static permute(e,t,n=[]){if(0===e.length)t.push(n);else for(let i=0;i<e.length;i++){let r=e.slice(),a=r.splice(i,1);k.permute(r.slice(),t,n.concat(a))}}static findValueClosestToNumericValue(e,t){if(0===t.length)return null;let n=0,i=1/0;for(let r=0;r<t.length;r++){let a=t[r],o=Math.abs(e-a);o<i&&(i=o,n=r)}return t[n]}static subtractCommonElementsFromArray(e,t,n){return i.default.isDef(n)?
35e.filter(e=>!t.some(t=>e[n]===t[n])):e.every(e=>i.default.isObject(e))?e.filter(e=>!t.some(t=>JSON.stringify(t)===JSON.stringify(e))):e.filter(e=>!t.includes(e))}static getUniqueElements(e){return e.filter((e,t,n)=>t===n.findIndex(t=>(!1===i.default.isFunction(t.equals)&&r.a.error("object has not equals method"),t.equals(e))))}static array2stringWithQuota(e){return e.reduce((e,t)=>
35e?`${e}, "${t}"`:`"${t}"`,"")}static mapToIdsArray(e){let t=[];return i.default.isArrayLike(e)&&e.length>0&&(t=e.map(e=>
36e.getId())),t}}class P{constructor(){this._currentPromise=null}run(e){return h(this,null,function*(){return this._currentPromise?this._currentPromise:(this._currentPromise=h(this,null,function*(){try{return yield e()}finally{this._currentPromise=null}}),this._currentPromise)})}}class A{static sleep(e){return h(this,null,function*(){return new Promise(t=>{setTimeout(()=>{t()},e)})})}static polledAction(e){return h(this,arguments,function*({before:e,exitOnError:t,poll:n,after:i,timeout:r,delay:a,onTimeout:o,
37onError:s}){e&&e();let u=Date.now(),c=null,l=!1;for(;!0!==l;){try{if(null!==(c=yield n())){l=!0;break}}catch(e){if(s&&(c=s(e)),!0===t)return l=!0,i&&i(),c}yield A.sleep(a),Date.now()-u>r&&(l=!0,c=o?yield o():null)}return i&&i(),c})}}let 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,
3843,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,
3950,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,
40215,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,
41211,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,
42219,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,
431],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,
44206,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]};function C(e){return(e=Math.round(e))<0?0:e>255?255:e}function I(e){return e<0?0:e>1?1:e}
45function T(e){return"%"===e[e.length-1]?C(parseFloat(e)/100*255):C(parseInt(e))}function N(e){return"%"===e[e.length-1]?I(parseFloat(e)/100):I(parseFloat(e))}function D(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function j(e){let t=e.replace(/ /g,"").toLowerCase();if(t in E)return E[t].slice();var n,n;if("#"===t[0])return 4===t.length?(n=parseInt(t.substr(1),16))>=0&&n<=4095?[(3840&n)>>4|(3840&n)>>8,240&n|(240&n)>>4,15&n|(15&n)<<4,1]:null:7===t.length&&
46(n=parseInt(t.substr(1),16))>=0&&n<=16777215?[(16711680&n)>>16,(65280&n)>>8,255&n,1]:null;let i=t.indexOf("("),r=t.indexOf(")");if(-1!==i&&r+1===t.length){let e=t.substr(0,i),n=t.substr(i+1,r-(i+1)).split(","),a=1,o,s,u,c,l;switch(e){case "rgba":if(4!==n.length)return null;a=N(n.pop());case "rgb":return 3!==n.length?null:[T(n[0]),T(n[1]),T(n[2]),a];case "hsla":if(4!==n.length)return null;a=N(n.pop());case "hsl":return 3!==n.length?null:(o=(parseFloat(n[0])%360+360)%360/360,s=N(n[1]),[C(255*D(c=2*
47(u=N(n[2]))-(l=u<=.5?u*(s+1):u+s-u*s),l,o+1/3)),C(255*D(c,l,o)),C(255*D(c,l,o-1/3)),a]);default:return null}}return null}void 0!==e&&e.exports&&(exports.parseCSSColor=j);class R{constructor(e){if(this.r=0,this.g=0,this.b=0,this.a=0,i.default.isString(e)){let t=j(e);null!==t&&(this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3])}else i.default.isDef(e)&&(i.default.isNumberAndNotNaN(e.r)&&(this.r=e.r),i.default.isNumberAndNotNaN(e.g)&&(this.g=e.g),i.default.isNumberAndNotNaN(e.b)&&(this.b=e.b),i.default.isNumberAndNotNaN(e.a)&&
48(this.a=e.a))}toRgbaString(){return`rgba(${this.r}, ${this.g}, ${this.b}, ${this.a})`}toRgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`}
48subtract(e){return this.r-=e.r,this.g-=e.g,this.b-=e.b,this.a-=e.a,this}add(e){return this.r+=e.r,this.g+=e.g,this.b+=e.b,this.a+=e.a,this}multiply(e){return this.r=Math.round(this.r*e),this.g=Math.round(this.g*e),this.b=Math.round(this.b*e),this.multiplyAlpha(e),this}multiplyAlpha(e){this.a*=e}clone(){return new R(this)}static rgb2hex(e){return i.default.isNotString(e)?
49e="#000000":-1!==e.indexOf("#")?e:null!=(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?`#${R._hex(e[1])}${R._hex(e[2])}${R._hex(e[3])}`:""}static hex2rgb(e){if(i.default.isNotString(e))return"rgb(0, 0, 0)";let t=0,n=0,r=0;return 4===e.length?(t=`0x${e[1]}${e[1]}`,n=`0x${e[2]}${e[2]}`,r=`0x${e[3]}${e[3]}`):7===e.length&&(t=`0x${e[1]}${e[2]}`,n=`0x${e[3]}${e[4]}`,r=`0x${e[5]}${e[6]}`),`rgb(${+t}, ${+n}, ${+r})`}static hex2Rgba(e,t){let n=(e=e.slice(-6)).slice(0,2),i=e.slice(2,4),r=e.slice(4);return`rgba(${parseInt(n,
5016)},${parseInt(i,16)},${parseInt(r,16)},${t})`}static hex2RgbObject(e){return e=e.slice(-6),{r:parseInt(e.slice(0,2),16),g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4),16)}}static isHex(e){return/^#[0-9A-F]{3,6}$/i.test(e)}static isRgba(e){return/^rgba\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/.test(e)}static isRgb(e){return/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/.test(e)}static rgb2hsl(e){if(i.default.isNotString(e))return{H:0,S:0,L:0};"#"===e[0]&&(e=this.hex2rgb(e));
51let t=0,n=0,r=0,a;t=(a=e.slice(4,-1).split(",").map(e=>+e))[0],n=a[1],r=a[2],t/=255,n/=255,r/=255;let o=Math.max(t,n,r),s=o-Math.min(t,n,r),u=s?o===t?(n-r)/s:o===n?2+(r-t)/s:4+(t-n)/s:0;return{H:60*u<0?60*u+360:60*u,S:100*(s?o<=.5?s/(2*o-s):s/(2-(2*o-s)):0),L:100*(2*o-s)/2}}invert(){this.r=255-this.r,this.g=255-this.g,this.b=255-this.b}static _hex(e){return null!==e?`0${parseInt(e).toString(16)}`.slice(-2):"00"}randomizeColor(){this.r=Math.floor(255*Math.random()),this.g=Math.floor(255*Math.random()),
52this.b=Math.floor(255*Math.random()),this.a=1}static rgba2Rgb(e){let t=e.replace(/[^\d,]/g,"").split(",");return`rgb(${t[0]}, ${t[1]}, ${t[2]})`}static obtainRgbValue(e){let t;return t=R.isHex(e)?R.hex2rgb(e):R.isRgba(e)?R.rgba2Rgb(e):e}static obtainHexValue(e){let t;if(R.isRgb(e))t=R.rgb2hex(e);else if(R.isRgba(e)){let n=R.rgba2Rgb(e);t=R.rgb2hex(n)}else t=e;return t}}class L{static rgbaOrRgb2hexAndOpacity(e){let t,n,r,a={hex:"#000000",opacity:1},o=e=>{let t=parseInt(e);return Number.isNaN(t)?"00":
53(t=Math.max(t,0),1===(t=(t=Math.min(t,255)).toString(16)).length?`0${t}`:t)};if(i.default.isString(e))if("transparent"===e&&(a.opacity=0),e.startsWith("rgba")){if(t=/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d|\d\.\d*)\)/,(n=e.match(t))&&5===n.length){let e=o(n[1]),t=o(n[2]),i=o(n[3]);a.hex=`#${e}${t}${i}`,r=parseFloat(n[4]),r=Math.max(r,0),r=Math.min(r,1),a.opacity=r}}else if(e.startsWith("rgb")&&(t=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,(n=e.match(t))&&4===n.length)){let e=
54o(n[1]),t=o(n[2]),i=o(n[3]);a.hex=`#${e}${t}${i}`,a.opacity=1}return a}static isTransparent(e){return"transparent"===e||0===L.rgbaOrRgb2hexAndOpacity(e).opacity}static isTransparentOrSomeLevelOfTransparency(e){return"transparent"===e||L.rgbaOrRgb2hexAndOpacity(e).opacity<1}static rgbObjectAndOpacityToRgbaString(e,t){return`rgba(${e.r},${e.g},${e.b},${t})`}static rgbAndOpacityToRgba(e,t){let n,r,a;return i.default.isNotString(e)&&(e="rgb(0,0,0)"),i.default.isNumberAndNotNaN(t)||(t=1),n=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,
55(r=e.match(n))&&4===r.length?(a={r:parseInt(r[1]),g:parseInt(r[2]),b:parseInt(r[3])},L.rgbObjectAndOpacityToRgbaString(a,t)):"rgba(0,0,0,1)"}static isColorStartWithRgbPhrase(e){return L.isColorStartWithAnyOfPhrase(e,["rgb"])}static isColorStartWithVarPhrase(e){return L.isColorStartWithAnyOfPhrase(e,["var"])}static isColorStartWithAnyOfPhrase(e,t){return t.some(t=>e.startsWith(t))}static isValueContainGradientOrIconPhrase(e){return e.indexOf("gradient")>-1||L.isValueContainsIconPhrase(e)}static isValueContainsIconPhrase(e){return e.indexOf("ww_icon")>
56-1}static checkIfColorSame(e,t){let n=!1;if(i.default.isDefAndNotNull(e)&&i.default.isDefAndNotNull(t)){let i,r;if(R.isRgba(e))i=e;else{let t=e.replace(/[^\d,]/g,"").split(",");i=`rgba(${t[0]}, ${t[1]}, ${t[2]}, 1)`}if(R.isRgba(t))r=t;else{let e=t.replace(/[^\d,]/g,"").split(",");r=`rgba(${e[0]}, ${e[1]}, ${e[2]}, 1)`}n=(null==i?void 0:i.replace(/\s/g,""))===(null==r?void 0:r.replace(/\s/g,""))}return n}static generateRgbRandomColor(){let e,t,n;return`rgb(${`${L.generateRandomColor(0,255)}`}, ${`${L.generateRandomColor(0,
57255)}`}, ${`${L.generateRandomColor(0,255)}`})`}static generateRandomColor(e,t){return Math.round(Math.random()*(t-e)+e)}}const M=class e{static _normalizeTable(e){e.replaceWith(`<div>${e.text().replace(/\s+/g," ").trim()}</div>`)}static htmlElementToText(t,n={}){let r;if(!0===n.preserveWhiteSpaces){let a=i.default.isDefAndNotNull(n.replaceValue)?n.replaceValue:"\n";r="innerText"===n.property?t[0].innerText.replace(e.multipleNewLineCharRegex,a):t[0].textContent.replace(e.multipleNewLineCharRegex,
58a)}else r=t.text();return r}static changeCssPropertyForEachChildrenElementInTextElement(e,t){let n=e.find(`*[style*="${t.cssProperty}"]`);for(let e=0;e<n.length;e++)n[e].style[t.cssProperty]=t.newCssValue;return n}static convertMarkdownBoldToHtmlStrong(e){return!1===i.default.isString(e)?"":e.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>")}static decodeHtml(e){let t=document.createElement("textarea");t.innerHTML=e;let n=t.value;return t.remove(),n}static getEmptyParagraph(){return"<p>&nbsp;</p>"}static getTextContentWithoutRedundantNewLines(e,
59t={}){let n="",i=e[0].childNodes;for(let e=0;e<i.length;e++){let r;n+=i[e].textContent,e!==i.length-1&&(!0===t.withSpace?n+=" ":n+="\n")}return n}static textToHTMLWithDivs(e){if(i.default.isStringAndNotEmpty(e)){let t=e.split(/\n/g);return(t=t.map(e=>""===e?"<div>&nbsp;</div>":`<div>${e}</div>`)).join("")}return e}static isPlainText(e){return!1!==i.default.isStringAndNotEmpty(e)&&!/<[^>]*>/.test(e)}};d(M,"htmlToElements",e=>{let t=document.createElement("template");return t.innerHTML=e.trim(),t.content.childNodes}),
60d(M,"multipleNewLineCharRegex",/(\n)((\s)*(\n))+/g);let x=M;class B{static setWindowConfigValue(e,t){B.setValue(window.config,e,t)}static setValue(e,t,n){if(i.default.isString(t)){let r=t.split("."),a=i.default.isDef(e)?e:window.config;for(let e=0;e<r.length-1;
60e++)i.default.isNotDef(a[r[e]])&&(a[r[e]]={}),a=a[r[e]];a[r[r.length-1]]=n}}static getValue(e,t,n){if(i.default.isString(e)){let r=e.split("."),a=i.default.isDef(n)?n:window.config;if(i.default.isNotDef(a))return t;for(let e=0;e<r.length;e++){if(!i.default.isDef(a[r[e]]))return t;
61a=a[r[e]]}return a}return null}static getDecodedJSON(e){let t=x.decodeHtml(B.getValue(e));return i.default.isValidJSON(t)?JSON.parse(t):{}}static isValueExists(e,t){return i.default.isDef(B.getValue(e,t))}}const F={AED:"AED",AFN:"AFN",ALL:"ALL",AMD:"AMD",ANG:"ANG",AOA:"AOA",ARS:"ARS",AUD:"AUD",AWG:"AWG",AZN:"AZN",BAM:"BAM",BBD:"BBD",BDT:"BDT",BGN:"BGN",BIF:"BIF",BMD:"BMD",BND:"BND",BOB:"BOB",BRL:"BRL",BSD:"BSD",BWP:"BWP",BYN:"BYN",BZD:"BZD",CAD:"CAD",CDF:"CDF",CHF:"CHF",CLP:"CLP",CNY:"CNY",COP:"COP",
62CRC:"CRC",CVE:"CVE",CZK:"CZK",DJF:"DJF",DKK:"DKK",DOP:"DOP",DZD:"DZD",EGP:"EGP",ETB:"ETB",EURO:"EUR",FJD:"FJD",FKP:"FKP",GBP:"GBP",GEL:"GEL",GIP:"GIP",GMD:"GMD",GNF:"GNF",GTQ:"GTQ",GYD:"GYD",HKD:"HKD",HNL:"HNL",HRK:"HRK",HTG:"HTG",HUF:"HUF",IDR:"IDR",ILS:"ILS",INR:"INR",ISK:"ISK",JMD:"JMD",JPY:"JPY",KES:"KES",KGS:"KGS",KHR:"KHR",KMF:"KMF",KRW:"KRW",KYD:"KYD",KZT:"KZT",LAK:"LAK",LBP:"LBP",LKR:"LKR",LRD:"LRD",LSL:"LSL",MAD:"MAD",MDL:"MDL",MGA:"MGA",MKD:"MKD",MMK:"MMK",MNT:"MNT",MOP:"MOP",MRO:"MRO",
63MUR:"MUR",MVR:"MVR",MWK:"MWK",MXN:"MXN",MYR:"MYR",MZN:"MZN",NAD:"NAD",NGN:"NGN",NIO:"NIO",NOK:"NOK",NPR:"NPR",NZD:"NZD",PAB:"PAB",PEN:"PEN",PGK:"PGK",PHP:"PHP",PKR:"PKR",PLN:"PLN",PYG:"PYG",QAR:"QAR",RON:"RON",RSD:"RSD",RUB:"RUB",RWF:"RWF",SAR:"SAR",SBD:"SBD",SCR:"SCR",SEK:"SEK",SGD:"SGD",SHP:"SHP",SLE:"SLE",SLL:"SLL",SOS:"SOS",SRD:"SRD",STD:"STD",SZL:"SZL",THB:"THB",TJS:"TJS",TOP:"TOP",TRY:"TRY",TTD:"TTD",TWD:"TWD",TZS:"TZS",UAH:"UAH",UGX:"UGX",USD:"USD",UYU:"UYU",UZS:"UZS",VND:"VND",VUV:"VUV",WST:"WST",
64XAF:"XAF",XCD:"XCD",XOF:"XOF",XPF:"XPF",YER:"YER",ZAR:"ZAR",ZMW:"ZMW"},V=(e,t)=>`${1E15+e}`.slice(-2),W=class e{static addDays(t,n){return new Date((new Date(t)).getTime()+n*e.DAY_IN_MILLIS)}static getMonthNameByLanguage(e,t){void 0===t&&(t=i18n.lng);let n=`months.${e}`,i;return i=i18n.exists(n,{lng:t})?i18n.t(n,{lng:t}):i18n.t(n,{lng:"en"})}static dateToString(t,n,i){let a=t.getDate(),o=t.getMonth()+1,s=t.getFullYear(),u=V(t.getFullYear()),c=t.getHours(),l=t.getMinutes(),d=t.getSeconds(),h=t.getMilliseconds(),
65f;switch(n){case "dd/mm/yyyy":f=`${V(a)}/${V(o)}/${s}`;break;case "dd.mm.yyyy":f=`${V(a)}.${V(o)}.${s}`;break;case "dd/mm/yy":f=`${V(a)}/${V(o)}/${u}`;break;case "yyyy/mm/dd":f=`${s}/${V(o)}/${V(a)}`;break;case "yy/mm/dd":f=`${u}/${V(o)}/${V(a)}`;break;case "d mmmm yyyy":f=`${a} ${e.getMonthNameByLanguage(o,i)} ${s}`;break;case "dd mmmm yyyy":f=`${V(a)} ${e.getMonthNameByLanguage(o,i)} ${s}`;break;case "dd.mm.yyyy hh:mm":f=`${V(a)}.${V(o)}.${s} ${V(c)}:${V(l)}`;break;case "dd-mm-yyyy":f=`${V(a)}-${V(o)}-${s}`;
66break;case e.availableFormats.DATA_RANGE_FILTER_DATE_FORMAT:f=`${s}-${V(o)}-${V(a)}`;break;case e.availableFormats.DATE_PICKER_DATE_TIME_FORMAT:f=`${V(a)}-${V(o)}-${s} ${V(c)}:${V(l)}`;break;case e.availableFormats.INPUT_DATE_TIME_FORMAT:f=`${s}-${V(o)}-${V(a)}T${V(c)}:${V(l)}`;break;case e.availableFormats.ISO_8601_FORMAT:f=`${s}-${V(o)}-${V(a)}T${V(c)}:${V(l)}:${V(d)}Z`;break;case e.availableFormats.yyyymmdd:f=s+V(o)+V(a);break;case e.availableFormats.WERBWAVE_BACKEND_BINDING:f=`${s}-${V(o)}-${V(a)} ${V(c)}:${V(l)}:${V(d)}.${V(h)}`;
67break;case e.availableFormats.FULL_TIME:f=`${V(c)}:${V(l)}:${V(d)}`;break;case e.availableFormats.STORE_ORDER_DATE:f=`${s}-${V(o)}-${V(a)} ${V(c)}:${V(l)}`;break;default:r.a.error(`Nieznany format daty! ('${n}')`),f=`${a}/${o}/${s}`;break}return f}static isValidDate(e){return"[object Date]"===Object.prototype.toString.call(e)&&!Number.isNaN(e.getTime())}static convertTwoDigitYearToFull(t){let n=e.getNowDateYear(),i=100*Math.floor(n/100)+t;return i<n&&(i+=100),i}static convertYearToClosestCentury(t){let n=
68e.getNowDateYear();if(t<100){let e=100*Math.floor(n/100),i=e+t,r=e+t-100,a=e+t+100;t=Math.abs(n-a)<Math.abs(n-i)?a:Math.abs(n-i)<Math.abs(n-r)?i:r}else if(t<1E3){let e,i=10*t,r=1E3*Math.floor(n/1E3)+t-1E3;t=Math.abs(n-i)<Math.abs(n-r)?i:r}return t}static getNowDateYear(){return(new Date).getFullYear()}static daysBetween(t,n){let i=Math.abs(t-n);return Math.round(i/e.DAY_IN_MILLIS)}static dateIsGreaterThenNow(e){return e>new Date}static getBeginOfTheDay(e){return e.setHours(0),e.setMinutes(0),e.setSeconds(0),
69e}static getEndOfTheDay(e){return e.setHours(23),e.setMinutes(59),e.setSeconds(59),e}static stringToDate(t,n){var i,r;let a,o,s,u,c,l,d,h;switch(n){case "dd-mm-yyyy":a=(d=t.split("-"))[0],o=d[1],s=e.convertYearToClose
69stCentury(parseInt(d[2]));break;case e.availableFormats.DATE_PICKER_DATE_TIME_FORMAT:a=(d=null==(i=(l=t.split(" "))[0])?void 0:i.split("-"))[0],o=d[1],s=e.convertYearToClosestCentury(parseInt(d[2])),(h=null==(r=l[1])?void 0:r.split(":"))&&(u=h[0],c=h[1]);break}return u&&c?new Date(s,
70o-1,a,u,c):new Date(s,o-1,a)}};d(W,"availableFormats",{"dd/mm/yyyy":"dd/mm/yyyy","dd/mm/yy":"dd/mm/yy","yyyy/mm/dd":"yyyy/mm/dd","yy/mm/dd":"yy/mm/dd","d mmmm yyyy":"d mmmm yyyy","dd mmmm yyyy":"dd mmmm yyyy","dd.mm.yyyy hh:mm":"dd.mm.yyyy hh:mm","dd-mm-yyyy":"dd-mm-yyyy",DATE_PICKER_DATE_TIME_FORMAT:"dd-mm-yyyy hh:mm",WERBWAVE_BACKEND_BINDING:"yyyy-MM-dd HH:mm:ss.S",STORE_ORDER_DATE:"yyyy-MM-dd HH:mm",yyyymmdd:"yyyymmdd",FULL_TIME:"HH:mm:ss",INPUT_DATE_TIME_FORMAT:"yyyy-mm-ddTHH:mm",ISO_8601_FORMAT:"yyyy-mm-ddTHH:mm:ss",
71DATA_RANGE_FILTER_DATE_FORMAT:"yyyy-mm-dd",SHORT_ISO_DATE:"yy-mm-dd"}),d(W,"DAY_IN_MILLIS",864E5);let U=W;const H=Object.freeze({DEFAULT:"",DOT:".",COMMA:",",EMPTY:""}),z=300;class G{constructor(e={}){this._delay=i.default.isNumberAndNotNaN(e.delay)&&e.delay>0?e.delay:z,this._handler=null,this._caller=null,this._args=void 0,this._timeout=void 0}_runFunc(){}_onDelayFinish(){i.default.isFunction(this._handler)&&this._handler.apply(this._caller,this._args)}throttleRun(e,t,n){window.clearTimeout(this._timeout),
72this._timeout=void 0,this._handler=e,this._caller=t,this._args=n,this._timeout=window.setTimeout(this._onDelayFinish.bind(this),this._delay)}isWaiting(){return i.default.isDefAndNotNull(this._timeout)}}const Y={TOP:"top",TOP_RIGHT:"topRight",RIGHT:"right",BOTTOM_RIGHT:"bottomRight",BOTTOM:"bottom",BOTTOM_LEFT:"bottomLeft",LEFT:"left",TOP_LEFT:"topLeft",CENTER:"center"};class ${static copyToClipboard(e){return h(this,null,function*(){if(i.default.isNotDefOrNull(e))return!1;if(navigator.clipboard&&
73window.isSecureContext)try{return yield navigator.clipboard.writeText(e),!0}catch(e){r.a.warn("navigator.clipboard failed, trying fallback:",e)}try{let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.left="-999999px",t.style.top="-999999px",document.body.appendChild(t),t.focus(),t.select();let n=document.execCommand("copy");return document.body.removeChild(t),n}catch(e){return r.a.error("Fallback copy method failed:",e),!1}})}}const X={TEST:"test",DEVELOPMENT:"development",
74PRE_PRODUCTION:"pre_production",QUALITY_ASSURANCE:"quality_assurance",PRODUCTION:"production"};let K;class q{static readEnv(){if(i.default.isDef(window.config)&&i.default.isDef(window.config.environment))for(let e in X)if(X.hasOwnProperty(e)&&X[e]===window.config.environment)return void(K=X[e]);K=X.PRODUCTION}static getCurrent(){return K}static isDevelopment(){return K===X.DEVELOPMENT}static isNotDevelopment(){return K!==X.DEVELOPMENT}static isProduction(){return K===X.PRODUCTION}static isNotProduction(){return K!==
75X.PRODUCTION}static isTest(){return K===X.TEST}static isNotTest(){return K!==X.TEST}static isQA(){return K===X.PRE_PRODUCTION}static setEnvironment(e){i.default.isValidEnumValue(e,X)&&(K=e)}}q.readEnv();class Z{static urlToFile(e,t,n){return h(this,null,function*(){try{if(!e||""===e.trim())return null;let i=yield fetch(e);if(!i.ok)return null;let a=yield i.blob();return a&&0!==a.size?new File([a],t,{type:n}):null}catch(e){return r.a.error("Error converting URL to file:",e),null}})}}const J={AddSection:"wsection-icon",
76a:"link-style-text-icon",a_hover:"text_format_black_24dp_2",autoRwdGeneration:"devices-icon",addNews:"newPageIcon",addSectionAboveIcon:"plus-icon-2",addSectionBelowIcon:"plus-icon-2",aiIcon:"AI_icon",aiwidget:"widgets-icon",aiText:"ai-icon",alignBottom:"align-vertical-bottom-icon",alignCenter:"align-horizontal-center-icon",alignHorizontal:"horizontal-distribute-icon",alignLeft:"align-horizontal-left-icon",alignMiddle:"align-vertical-center-icon",alignRight:"align-horizontal-right",alignTop:"align-vertical-top-icon",
77alignVertical:"vertical-distribute-icon",banner_premium:"premium-icon",bindwobjects:"bind-icon",button:"button-tool-icon",carousel:"carousel-tool-icon",changeProduct:"refresh-icon",changestate:"auto_awesome-icon",commentColored:"chat-outline-icon",contextboxIconSymbol:"settings-tool-icon",copy:"content-copy-icon",copystyle:"content-copy-style-icon",counter:"counter-tool-icon",cut:"content-cut-icon",date:"date-tool-icon",defaultText:"text-menu-tool-icon",delete:"deleteIcon",deltaIndicatorNegativeRange:"arrow-downward-icon",
78deltaIndicatorPositiveRange:"arrow-upward-icon",duplicate:"content-duplicate",edit:"edit-icon",editOutline:"edit-icon-outline",editProduct:"shop-add-product-icon",editlink:"link-icon",form:"tollbar-form-icon2",gallery:"gallery-icon",googleMaps:"map-tool-icon",group:"groupIcon",h1:"h1-style-text-headline-icon",h2:"h2-style-text-headline-icon",h3:"h3-style-text-headline-icon",h4:"h4-style-text-headline-icon",htmltool:"code-tool-icon",icon:"icon-tool-icon",imageCropping:"fullscreen-change-size",img:"image-icon",
79imgMenu:"image-icon-menu",languageSelector:"language-tool-icon",layerblockIconSymbol:"layers-tool-panel-icon",lightbox:"image-grid-tool-icon",login:"login-tool-icon",menu:"menu-tool-icon",moveSectionDownIcon:"expand-more-icon-2",moveSectionUpIcon:"expand-less-icon-2",moveToFooter:"add-to-footer-icon",moveToLayout:"add-to-website-icon2",moveToLowerSectionIcon:"expand-more-icon-2",moveToUpperSectionIcon:"expand-less-icon-2",moveontop:"moveOnTopIcon",movetobottom:"moveToBottomIcon",newsfeed:"newsfeed-tool-icon",
80objectHelp:"help-outline-icon",objectLibraryIconSymbol:"library-icon",objectStyle:"edit-icon",objectproperties:"element-settings-icon",objecttext:"paragraph-tool-icon",otherTools:"more-tool-menu-icon",overviewModeIcon:"preview-icon",p:"title_black_24dp_2",pageThumbnail:"thumbnail_tool_icon",paste:"content-paste-icon",pastestyle:"paste-style-icon",paymentStepClientData:"lock-outline-icon",paymentStepItem:"cms-icon3",paymentStepSummary:"wallet",price:"tag-outline-icon",product:"shop-add-product-icon",
81productfeed:"product-feed-icon",rectangle:"rectangle-tool",removeFromFooterAction:"delete-from-footer-icon",removeFromLayout:"cancel-icon2",saveIcon:"save-icon",selectSubelement:"more-icon2",settings:"settings-icon-outline",shop:"shop-menu-tool-icon",shopCart:"shop-menu-tool-icon-1",showNews:"newsfeed-tool-icon",simpleText:"header-tool-icon",slider:"toolbar-slider-icon",stopCropping:"cancel-icon2",text:"paragraph-tool-icon",textTools:"paragraph-tool-icon",timeLineError:"cancel-icon2",timeLineInProgress:"hourglass_empty",
82timelineSuccess:"check-mark-icon",toolsmenuwrappericonsymbol:"add-element-tool-icon",unbindwobjects:"unbind-icon",ungroup:"cancel-icon2",viewpageicon:"public-icon",wfooter:"add-to-footer-icon",wgroup:"groupIcon",wlayoutgroup:"add-to-website-icon2",wmediaplayer:"video-tool-icon",wsection:"wsection-icon"},Q={FLOAT:"float",INT:"int"};class ee{static isReturnTypeNumeric(e){return e===Q.INT||e===Q.FLOAT}static normalizeInputValue(e,t){let n=e.trim();return 0===n.length&&this.isReturnTypeNumeric(t)?"0":
83n}static parseValueToReturnType(e,t){switch(t){case Q.FLOAT:return parseFloat(e);case Q.INT:return parseInt(parseFloat(e));default:return NaN}}}class te{constructor(e={}){this.enabled=!!i.default.isDef(e.enabled)&&e.enabled,this.max=i.default.isNumberAndNotNaN(e.max)?e.max:null,this.min=i.default.isNumberAndNotNaN(e.min)?e.min:null,this.step=i.default.isNumberAndNotNaN(e.step)?e.step:null}}const ne={DELETE:46,LEFT:37,RIGHT:39,UP:38,DOWN:40,ESC:27,ENTER:13,BACKSPACE:8,LEFT_SQUARE_BRACKET:219,RIGHT_SQUARE_BRACKET:221,
84K7:55,K8:56,K9:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,M:77,O:79,P
84:80,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,PLUS:187,MINUS:189,NUM_PLUS:107,NUM_MINUS:109,ZERO:48,NUM_ZERO:96,SPACE:32};class ie{static addForceCountryParamIfSetInPath(e){let t=e,n="forceCountry",r=ie.getParameterByName(n);return i.default.isDefAndNotEmpty(r)&&(t+=`?${n}=${r}`),t}static getParameterByName(e,t){i.default.isNotDef(t)&&(t=window.location.search),e=e.replace(/\[/,"\\[").replace(/\]/,"\\]");let n=
85(new RegExp(`[?&]${e}=([^&#]*)`)).exec(t);return null==n?"":decodeURIComponent(n[1].replace(/\+/g," "))}static openUrl(e,t){i.default.isDef(t)?window.open(e,t):window.location=e}static openUrlWithTimeout(e,t){setTimeout(()=>{ie.openUrl(e)},t)}static getHash(){return window.location.hash.replace("#","")}static removeHash(){window.history.pushState("",document.title,window.location.pathname+window.location.search)}static reloadPageWithForceParam(e){window.location+=`?force=${e}`}static getCurrentUrlHostWithProtocol(){return`${window.location.origin}`}static getCurrentUrl(){return`${ie.getCurrentUrlHostWithProtocol()}${ie.getCurrentPath()}`}static getCurrentPath(){return window.location.pathname}static createLinkWithParams(e,
86t){let n=`${e}?`;for(let e of t)n+=`${e.getName()}=${e.getValue()}&`;return n}static getHostWithProtocolFromUrl(e){return(new URL(e)).origin}static getAllGetParams(){let e=new URLSearchParams(window.location.search);return Object.fromEntries(e.entries())}}const re={COMPACT:"compact"},ae={};class oe{static formatOutput(e,t){return i.default.isDefAndNotNull(ae[e])?ae[e](t):t}static sumArrayValues(e){return e.reduce((e,t)=>e+t,0)}static weightedMean(e,t){return oe.sumArrayValues(e.map((e,n)=>e*t[n]))/
87oe.sumArrayValues(t)}static isValueInRange(e,t={}){return e>=t.min&&e<=t.max}static limitValue(e,t,n){let r=e;return i.default.isNumberAndNotNaN(n)&&(r=Math.min(n,r)),i.default.isNumberAndNotNaN(t)&&(r=Math.max(t,r)),r}static cartesianProduct(...e){return!0===i.default.isArrayLike(e)&&0===e.length?[]:e.reduce((e,t)=>e.flatMap(e=>t.map(t=>[e,t].flat()))).map(e=>i.default.isArrayLike(e)?e:[e])}static cartesianProductNumber(e){return!0===i.default.isArrayLike(e)&&0===e.length?0:e.map(e=>e.length).reduce((e,
88t)=>e*t)}static setFloatPriceToLong(e){let t=e,n=100;return i.default.isString(e)&&(t=e.replace(",",".")),Math.round(parseFloat(t)*n)}static roundValueToTwoDecimals(e){return Math.round(100*e)/100}static returnIfNumberOrParseInt(e){return i.default.isNumber(e)?e:parseInt(e)}static returnUndefinedIfNaN(e){return Number.isNaN(e)?void 0:e}static formatToCompactNumber(e){return(new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:1})).format(Number(e))}}ae[re.COMPACT]=
89e=>oe.formatToCompactNumber(e);class se{static emulateClickEventForAppleDevice(e,t){e.on("touchstart.iphoneDoubleTap",()=>{let n=!1;e.one("touchend.iphoneDoubleTap",()=>{!1===n&&t(),e.off("touchmove.iphoneDoubleTap")}),e.one("touchmove.iphoneDoubleTap",()=>{n=!0})})}static isMobileDevice(){return this.isMobileAppleDevice()||navigator.userAgent.match(/(Android|BlackBerry|Windows Phone)/i)}static isTouchScreenDevice(){return navigator.maxTouchPoints>0}static isMobileAppleDevice(){return null!==navigator.userAgent.match(/(iPhone|iPod|iPad)/i)}static isAppleDevice(){return null!==
90navigator.userAgent.match(/(iPhone|iPod|iPad|Macintosh)/i)}static isAppleDeviceWithTouchScreen(){return se.isMobileAppleDevice()||null!==navigator.userAgent.match(/(Macintosh)/i)&&se.isTouchScreenDevice()}static isMobileSafari(){return se.isAppleDeviceWithTouchScreen()&&!!navigator.userAgent.match(/Version\/[\d.]+.*Safari/)}static reloadIfBackForwadCacheInAppleDevice(){this.isMobileAppleDevice()&&window.$(window).on("pageshow",e=>{if(e.originalEvent.persisted){let e=window.elementService.findAllWButton();
91i.default.isArrayLike(e)&&e.length>0&&window.location.reload()}})}}const ue={getDecimalSeparator:e=>Intl.NumberFormat(e).formatToParts(1.1).find(e=>"decimal"===e.type).value,normalizeStringForNumberParsing:e=>e.replace(/[+\-\s]/g,"").replace(",","."),convertStringToNumber(e){return parseFloat(this.normalizeStringForNumberParsing(e))},calculatePriceWithDiscount:(e,t)=>
91i.default.isNumberAndNotNaN(t)?e-e*(t/100):e,calculateTaxValue:(e,t)=>parseFloat(e*(t/100)),convertIntegerToFloat:e=>e/100,convertFloatToInteger:e=>
92Math.round(100*e)};class ce{static ignoreCaseTextComparator(e,t){let n=null==e?void 0:e.toLowerCase(),i=null==t?void 0:t.toLowerCase();return ce.defaultComparator(n,i)}static defaultComparator(e,t){return Object(i.isString)(e)&&Object(i.isString)(t)?e.localeCompare(t,void 0,{numeric:!0,sensitivity:"base"}):e<t?-1:e>t?1:0}}class le{static overrideFalsyValuesFromFistMapIfEquivalentValuesIsTruthy(e,t){Object.keys(t).forEach(n=>{let r=t[n];Object(i.isDef)(e[n])&&!1===e[n]&&!0===r&&(e[n]=!0)})}static isObjectHasOnlyTruthyValues(e){let t=
93!0,n=Object.keys(e);for(let i=0;i<n.length;i++)if(!0!==e[n[i]]){t=!1;break}return t}static isShallowEqual(e,t){let n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let i of n)if(e[i]!==t[i])return!1;return!0}static getKeysFromFlatObject(e){let t=[];return Object.entries(e).forEach(([e])=>{t.push(e)}),t}static isClassInheritedFrom(e,t){let n=e.prototype;for(;null!=n;){if(n===t.prototype)return!0;n=n.__proto__}return!1}static filterObject(e,t){let n={};for(let i=0;i<t.length;i++){let r=
94t[i];e.hasOwnProperty(r)&&(n[r]=e[r])}return n}}const de={HORIZONTAL:"horizontal",VERTICAL:"vertical"},he={CLASSIC:"classic",NEW:"new"};S(he,"com.webwave.panelSelector.panelTypes.versions");class fe{constructor(e,t){this.y=0,this.x=0,i.default.isNumberAndNotNaN(e)?(this.x=e,i.default.isNumberAndNotNaN(t)&&(this.y=t)):i.default.isDef(e)&&(i.default.isNumberAndNotNaN(e.x)&&(this.x=e.x),i.default.isNumberAndNotNaN(e.y)&&(this.y=e.y))}getX(){return this.x}setX(e){this.x=e}getY(){return this.y}setY(e){this.y=
95e}subtract(e){return this.x-=e.x,this.y-=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}multiply(e){return this.x*=e,this.y*=e,this}serialize(){return{x:this.x,y:this.y}}clone(){return new fe({x:this.x,y:this.y})}equals(e){return this.x===e.x&&this.y===e.y}lt(e){return this.x<e.x&&this.y<e.y}lte(e){return this.x<=e.x&&this.y<=e.y}gt(e){return this.x>e.x&&this.y>e.y}gte(e){return this.x>=e.x&&this.y>=e.y}toString(){return`{${this.x},${this.y}}}`}static deserialize(e){return i.default.isNotDef(e)?
96new fe(0,0):new fe(e.x,e.y)}static countDistance(e,t){return Math.sqrt(Math.abs(e.getX()-t.getX())*Math.abs(e.getY()-t.getY()))}}const ve={NO_BREAK_SPACE:/\u00a0/g,ONLY_LETTERS:/[a-zA-Z]/g};class ge{constructor(){this.direction=Y.BOTTOM_RIGHT,this.resizing=!1,this.targetNode=void 0,this.handlerNode=void 0,this._handleResizeHandler=void 0,this._stopResizeHandler=void 0,this._onMouseLeaveHandler=void 0}init(e){this.direction=e.direction?e.direction:Y.BOTTOM_RIGHT,this.targetNode=e.targetNode,this.handlerNode=
97e.handlerNode}startResize(){this.resizing=!0,this._handleResizeHandler=this._handleResize.bind(this),this._stopResizeHandler=this._stopResize.bind(this),this._setCursor(),document.addEventListener("mousemove",this._handleResizeHandler),document.addEventListener("mouseup",this._stopResizeHandler)}_handleResize(e){if(e.preventDefault(),this.resizing&&i.default.isDefAndNotNull(this.targetNode))switch(this.direction){case Y.BOTTOM_RIGHT:this._resizeSouthEast(e.clientX,e.clientY);break;case Y.BOTTOM:this._resizeSouth(e.clientY);
98break;case Y.RIGHT:this._resizeEast(e.clientX);break}}_setCursor(){switch(this.direction){case Y.BOTTOM_RIGHT:document.body.style.cursor="nwse-resize";break;case Y.BOTTOM:document.body.style.cursor="ns-resize";break;case Y.RIGHT:document.body.style.cursor="ew-resize";break}}_resetCursor(){document.body.style.cursor=""}_stopResize(){this.resizing=!1,this._resetCursor(),document.removeEventListener("mousemove",this._handleResizeHandler),document.removeEventListener("mouseup",this._stopResizeHandler)}_resizeEast(e){let t=
99e-this.targetNode.getBoundingClientRect().left;this.targetNode.style.width=`${t}px`}_resizeSouth(e){let t=e-this.targetNode.getBoundingClientRect().top;this.targetNode.style.height=`${t}px`}_resizeSouthEast(e,t){this._resizeSouth(t),this._resizeEast(e)}}class pe{constructor(e={}){this.timeoutDelay=i.default.isNumberAndNotNaN(e.timeoutDelay)?e.timeoutDelay:1E3,this.timerId=null,this.jobHandler=i.default.isFunction(e.jobHandler)?e.jobHandler:null}run(e){this.clean(),this.timerId=setTimeout(()=>{i.default.isFunction(this.jobHandler)&&
100this.jobHandler(e)},this.timeoutDelay)}clean(){clearTimeout(this.timerId)}}class ye{constructor(e){i.default.isNotDef(e)&&(e={}),this.width=i.default.isNumberAndNotNaN(e.width)?e.width:0,this.height=i.default.isNumberAndNotNaN(e.height)?e.height:0}getWidth(){return this.width}setWidth(e){this.width=e}getHeight(){return this.height}setHeight(e){this.height=e}clone(){return new ye({width:this.width,height:this.height})}serialize(){return{width:this.width,height:this.height}}equals(e){return this.width===
101e.width&&this.height===e.height}add(e){return this.width+=e.getWidth(),this.height+=e.getHeight(),this}subtract(e){return this.width-=e.getWidth(),this.height-=e.getHeight(),this}multiply(e){return this.width*=e,this.height*=e,this}applyLimits(e={}){i.default.isDef(e.width)&&(i.default.isNumber(e.width.min)&&(this.width=Math.max(this.width,e.width.min)),i.default.isNumber(e.width.max)&&(this.width=Math.min(this.width,e.width.max))),i.default.isDef(e.height)&&(i.default.isNumber(e.height.min)&&(this.height=
102Math.max(this.height,e.height.min)),i.default.isNumber(e.height.max)&&(this.height=Math.min(this.height,e.height.max)))}toString(){return`{${this.width},${this.height}}}`}toVector(){return new fe({x:this.getWidth(),y:this.getHeight()})}addHeight(e){this.height+=e}subtractHeight(e){this.height-=e}addWidth(e){this.width+=e}subtractWidth(e){this.width-=e}ceil(){this.width=Math.ceil(this.width),this.height=Math.ceil(this.height)}}ye.deserialize=e=>i.default.isNotDef(e)?new ye({width:0,height:0}):new ye(e);
103class be{static stringAsc(e,t){return e.sort((e,n)=>ce.ignoreCaseTextComparator(e[t],n[t]))}static stringDesc(e,t){return e.sort((e,n)=>-1*ce.ignoreCaseTextComparator(e[t],n[t]))}static dateAsc(e,t){return e.sort((e,n)=>ce.defaultComparator(e[t],n[t]))}static dateDesc(e,t){return e.sort((e,n)=>-1*ce.defaultComparator(e[t],n[t]))}static numberAsc(e,t){return e.sort((e,n)=>ce.defaultComparator(e[t],n[t]))}static numberDesc(e,t){return e.sort((e,n)=>-1*ce.defaultComparator(e[t],n[t]))}}class me{static getValidTaxValue(e){let t=
104me.parseTaxValue(e);return i.default.isDefAndNotNull(t)?t:i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.default.taxValue")}static parseTaxValue(e){if(i.default.isDef(e)&&(i.default.isNumber(e)||i.default.isStringAndNotEmpty(e)&&(e.includes(",")&&(e=e.replace(",",".")),e=parseFloat(e),i.default.isNumberAndNotNaN(e))))return e}}
104function we(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Se={exports:{}},Oe,_e,ke,Pe,Ae,Ee;function Ce(){if(Oe)return Se.exports;
105Oe=1;var e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(e){var t=new Uint8Array(16);Se.exports=function(){return e(t),t}}else{var n=new Array(16);Se.exports=function(){for(var e=0,t;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),n[e]=t>>>((3&e)<<3)&255;return n}}return Se.exports}function Ie(){if(ke)return _e;ke=1;for(var e=[],t=
1060;t<256;++t)e[t]=(t+256).toString(16).substr(1);function n(t,n){var i=n||0,r=e;return[r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]]].join("")}return _e=n}function Te(){if(Ae)return Pe;Ae=1;var e=Ce(),t=Ie();function n(n,i,r){var a=i&&r||0;"string"==typeof n&&(i="binary"===n?new Array(16):null,n=null);var o=(n=n||{}).random||(n.rng||e)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|
107128,i)for(var s=0;s<16;++s)i[a+s]=o[s];return i||t(o)}return Pe=n}const Ne=we(Te());let De=200,je=/^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*$/i,Re=/^((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+[A-Za-z]{2,10}$/i,Le=/^((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+[A-Za-z]{2,10}$/i,Me=/^[0-9]{8,13}$/,xe=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@((\[[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,}))$/,Be=/^(?=.*\d)(?=.*[a-zA-Z `\-=[\];'\\,./~!@#$%^&*()_+{}:"|<>?])([a-zA-Z0-9 `\-=[\];'\\,./~!@#$%^&*()_+{}:"|<>?]{8,})$/,
108Fe=/^(?=.*?\d)(?=.*?\D).{8,}/,Ve=/^.*$/i,We=/[0-9]*[.]*[a-z\u0105\u0119\u015b\u0107\u017c\u017a\u0107\u00f3\u0142\u0144\u0104\u0118\u015a\u017b\u0179\u0106\u00d3\u0141\u0143. ]{2,150}[.]*[0-9]+[a-z]*|[0-9]+[.]*[a-z\u0105\u0119\u015b\u0107\u017c\u017a\u0107\u00f3\u0142\u0144\u0104\u0118\u015a\u017b\u0179\u0106\u00d3\u0141\u0143. ]{2,150}[.]*[0-9]/i,Ue={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},He,ze=RegExp(`[${["-","[","]","/","{","}","(",")","*","+","?",".","\\","^",
109"$","\\ ","|"].join("\\")}]`,"g");class Ge{static generateRandomPasswordString(){let e=Math.random().toString(36).slice(-10);return!1===Ge.isValidPassword(e,Ge.passwordTypes.SIMPLE)?Ge.generateRandomPasswordString():e}static isValidEmail(e){return"string"==typeof e&&e.length>0&&null!=e.match(xe)}static isValidEmailName(e){return"string"==typeof e&&e.length>0&&null!==e.match(je)}static checkIsValidUrl(e){try{return!!new URL(e)}catch(e){return!1}}static checkIsValidName(e){return!!e.includes(" ")}static deleteWhiteSpace(e){return e.replace(/\s/g,
110"")}static checkIsValidDomain(e){let t=!1;return null!==e.match(Re)&&-1===e.indexOf(window.config.hostSettings.domain)&&(t=!0),t}static checkIsValidSubdomain(e){let t=!1;return null!=e.match(Le)&&(t=!0),t}static checkIsValidPhone(e){let t=!1;return null!=e.match(Me)&&(t=!0),t}static countWords(e){if(!0===i.default.isNotDefOrNull(e)||0===e.length)return 0;let t=e.split(/(\s+)/).filter(e=>!/\s+$/.test(e));return(t=t.filter(e=>""!==e)).length}static textStartsWithTagOpening(e){return"<"===e[0]}static isValidPassword(e,
111t){if("string"==typeof e&&e.length>4)switch(t){case Ge.passwordTypes.SIMPLE:return null!==e.match(Be);case Ge.passwordTypes.SIMPLE_WITHOUT_RESTRICTIONS:return null!==e.match(Fe);default:return null!==e.match(Ve)}return!1}static escapeStringForRegexp(e){return e.replace(ze,"\\$&")}static isValidPolishStreetAddress(e){return"string"==typeof e&&We.test(e)}static isValidLength(e,t,n){return i.default.isDef(n)||(n=Ge.fieldMinLength.EMPTY),e.length<=t&&e.length>n}static isValidMaxLength(e,t){return e.length<=
112t}static isValidMinLength(e,t){return e.length>t}static isEqualLength(e,t){return e.length===t}static escapeHtml(e){return String(e).replace(/[&<>"'/]/g,e=>Ue[e])}static removeHtml(e){return String(e).replace(/<\/?[^>]+(>|$)/g,"")}static normalizeTextForUrl(e){return i.default.isString(e)&&(e=e.toLowerCase(),e=Ge.removeUnsafeCharactersFromTextForUrl(e),e=(e=Ge.removeUnwantedCharactersFromTextForUrl(e)).replace(/[ \u00A0]/g,"-")),e}static normalizeTextForRefUrl(e){return i.default.isString(e)&&(e=
113(e=e.replace(/\s/g,"")).substring(0,254),!1===/([a-zA-Z-])+/g.test(e)&&(e=e.replace(/\d/g,"")),e=Ge.normalizeTextForUrl(e)),e}static removeUnwantedCharactersFromTextForUrl(e){return i.default.isString(e)&&(e=e.replace(/[.,\r\n]/g,"")),e}static removeUnsafeCharactersFromTextForUrl(e){return i.default.isString(e)&&(e=e.replace(/[[\]`~&^%@"<>\\/#|?:;={}$+]/g,"")),e}static valueNonNumericChars(e){return ve.ONLY_LETTERS.test(e)}static replaceExtensionInSrc(e,t){return i.default.isString(e)&&i.default.isString(t)&&
114(e=e.replace(/\.[^.]+$/,`.${t}`)),e}static joinArrayUsingCut(e){let t=e[0];for(let n=1;n<e.length;n++)t+=`, ${e[n]}`;return t}static joinArrayUsingChar(e,t){let n=e[0];for(let i=1;i<e.length;i++)n+=`${t} ${e[i]}`;return n}static capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}static getValidHref(e){if(!1===Ge.checkIsValidUrl(e)){let t=`https://${e}`;if(Ge.checkIsValidUrl(t))return t}return e}static updateOrAddParameterToUrl(e,t,n){let i=new RegExp(`([?&])${t}=.*?(&|$)`,"i"),r=
115-1!==e.indexOf("?")?"&":"?";return e.match(i)?e.replace(i,`$1${t}=${n}$2`):`${e+r+t}=${n}`}static trimFirstAndLastQuote(e){return i.default.isStringAndNotEmpty(e)?e.replace(/^"|"$/g,""):e}static isHeaderOnly(e){return/^\*\*(.*)\*\*$/.test(e.trim())}static removeBoldFromHeader(e){return e.replace(/^\*\*(.*)\*\*$/,"$1").trim()}static removeHeader(e){return e.replace(/^\*\*.*\*\*\s*/,"").trim()}static trimHeaderAndRemoveBold(e){return Ge.isHeaderOnly(e)?Ge.removeBoldFromHeader(e):Ge.removeHeader(e)}static trimMarkdown(e){let t=
116/```(\w+)\s*([\s\S]*?)\s*```/,n=e.match(t);return n?n[2].trim():""}static trimMarkdownIfExists(e){return e.includes("```")?Ge.trimMarkdown(e):e}static convertNaturalTextToCamelCase(e){let t=e.split(" "),n=t.shift();return(t=t.map(e=>Ge.capitalizeFirstLetter(e))).unshift(n),t.join("")}static convertToVerticalText(e){return e.toString().split("").join("<br>")}static generateUUID(){return Ne()}static stringToHash(e){let t=0,n=e.length,i=0;if(n>0)for(;i<n;)t=(t<<5)-t+e.charCodeAt(i++)|0;return t}static isStringEndWithAnyOfPhrases(e,
117t,n={}){return t.some(t=>Ge.isStringEndWithPhrase(e,t,n))}static isStringEndWithPhrase(e,t,n={}){return n.skipCaseSensitive&&(e=e.toLowerCase(),t=t.toLowerCase()),!0===e.endsWith(t)}static extendsStringWithSymbolToReachMinLength(e,t,n){let r=e;if(i.default.isString(e)&&!(r.length>=t)&&i.default.isDef(n))for(;!(r.length>=t);)r+=n;return r}static truncateLink(e,t=0){return e.substring(0,Math.min(e.length,De-t))}static trimToLength(e,t){return i.default.isStringAndNotEmpty(e)?e.substring(0,Math.min(e.length,
118t)):e}static simplifyNewAddress(e){e=(e=(e=Ge.truncateLink(e)).trim()).split("/");for(let t=0;t<e.length;t++)e[t]=Ge.removeUnsafeCharactersFromTextForUrl(e[t]);let t=e.join("/");return t=t.replace(/^\/+/g,"")}static truncateText(e,t){return e.length>t?`${e.slice(0,t-3).trim()}...`:e}static camelCaseToSeparateWords(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").toLowerCase()}static cutStringAfterNWord(e={}){if(i.default.isString(e.text)&&i.default.isNumberAndNotNaN(e.wordsNumber)){let t=0,n,i=e.text;
119for(let r=0;r<e.wordsNumber&&null!=(n=/\s*\S+/.exec(i));r++)i=i.substring(n[0].length),t+=n[0].length;return e.showDots?`${e.text.substr(0,t)}...`:e.text.substr(0,t)}return e.text}static trimAndReplaceSpaces(e){return e.trim().replace(/\s+/g," ")}static convertPriceToDotFormat(e){return e.replace(/,/g,".").replace(/\s/g,"").replace(/[^\d.]/g,"").replace(/\.(?=.*\.)/g,"")}static snakeCaseToCamelCase(e){return e.toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase())}}Ge.passwordTypes={SIMPLE:"simple",
120SIMPLE_WITHOUT_RESTRICTIONS:"SIMPLE_WITHOUT_RESTRICTIONS",NORMAL:"normal"},Ge.fieldMaxLength={NORMAL:255},Ge.fieldMinLength={NORMAL:0,EMPTY:-1},window.stringUtils=Ge;class Ye{constructor(e,t){this._name=e,this._value=t}getName(){return this._name}getValue(){return this._value}}class $e{static createVariableById(e){return`var(--${e})`}static findVariablesValuesInString(e){return i.default.isDefAndNotNull(e)?e.match(/--[a-zA-Z_0-9]*/g):null}static isVariableExistInString(e){let t=$e.findVariablesValuesInString(e);
121return i.default.isArrayLike(t)&&t.length>0}}class Xe{static generateSelectOptionsFromEnum(e,t,n,r={}){let a={};i.default.isString(t)?a.prefix=t:Object.assign(a,t),i.default.isString(n)&&(a.suffix=n);let o=[],s=i.default.isStringAndNotEmpty(a.prefix)?`${a.prefix}.`:"",u=i.default.isStringAndNotEmpty(a.tooltipPrefix)?`${a.tooltipPrefix}.`:s,c=i.default.isStringAndNotEmpty(a.suffix)?`.${a.suffix}`:"",l=i.default.isStringAndNotEmpty(a.tooltipSuffix)?`.${a.tooltipSuffix}`:".tooltip",d=i.default.isArrayLike(e)?
122e:Object.values(e);for(let e=0;e<d.length;e++){let t=d[e],n=!0===a.withTooltip?i18n.t(`${u}${t}${l}`):void 0,i=!0===a.withId?t:void 0;o.push({value:t,label:i18n.t(`${s}${t}${c}`),id:i,tooltip:n})}return(!0===r.enableSort||!0===e.autoSorting)&&o.sort((e,t)=>e.label.localeCompare(t.label)),o}static removeRactivity(e){return l({},e)}static addNonReactiveProperty(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1})}static enhanceWarnHandler(e){e.config.warnHandler=(t,n,i)=>{t.includes("Injection")||
123!0!==e.config.silent&&r.a.warn("[Vue warn]: ",t,i)}}}const Ke={ZLOTY:"PLN"},qe={INIT_WITH_PAYMENT:"INIT_WITH_PAYMENT",INIT_WITH_REFUND:"INIT_WITH_REFUND",AUTO:"AUTO",MANUAL:"MANUAL",DEACTIVATE:"DEACTIVATE"};class Ze{static computeCardsGateHost(){return B.getValue("environment")===X.PRODUCTION?this.CARDS_GATE_HOST_PRODUCTION:this.CARDS_GATE_HOST_TEST}static computeAutopaySDKURL(){return this.computeCardsGateHost()+this.NEW_WIDGET_SCRIPT_SUFFIX}static loadAutopaySDK(){return h(this,null,function*(){if(i.default.isDefAndNotNull(window.WidgetConnection))return;
124let e=this.computeAutopaySDKURL();i.default.isDefAndNotNull(document.querySelector(`script[src="${e}"]`))||(yield new Promise((t,n)=>{let i=document.createElement("script");i.type="text/javascript",i.src=e,i.onload=()=>t(),i.onerror=()=>n(new Error(`Failed to load Autopay SDK: ${e}`)),document.head.appendChild(i)}))})}static createWidgetConfig(e){return{language:e.language,amount:e.amount,currency:e.currency,serviceId:e.serviceId,recurringAction:e.recurringAction}}static initializeWidget(e){return h(this,
125arguments,function*({iframeElement:e,widgetConfig:t,onError:n}){try{if(!1===i.default.isDefAndNotNull(t.serviceId))return n&&n("ServiceID is not configured"),null;if(yield this.loadAutopaySDK(),void 0===window.WidgetConnection)return n&&n("Autopay SDK was not loaded"),null;let r=new window.WidgetConnection(t);return yield r.startConnection(e),r}catch(e){return n&&n(`Autopay widget initialization error: ${e.message}`),null}})}static setupEventHandlers(e,t={}){if(!1===i.default.isDefAndNotNull(e))return;
126let n=window.widgetEvents||{};e.on(n.validityStatus||"VALIDITY_STATUS",(e,n)=>{t.onValidityStatus&&t.onValidityStatus(n)}),e.on(n.validationResult||"VALIDATION_RESULT",(e,n)=>{t.onValidationResult&&t.onValidationResult(n)}),e.on(n.formSuccess||"FORM_SUCCESS",(e,n)=>{t.onFormSuccess&&t.onFormSuccess(n)}),e.on(n.showModal||"SHOW_MODAL",()=>{t.onShowModal&&t.onShowModal()})}static stopWidget(e){e&&e.stopConnection()}static sendForm(e){if(!1===i.default.isDefAndNotNull(e)||!0===e.invalid)return!1;try{e.sendForm()}catch(e){return!1}return!0}static cleanAutopaySDK(){let e=
127this.computeAutopaySDKURL(),t=document.querySelector(`script[src="${e}"]`);t&&t.remove()}static isAutoPaySupportedCurrency(e){return Object.values(Ke).includes(e)}static validateAutopayWidgetEvent(e){if(i.default.isNotDefOrNull(e)||!1===e.valid||!1===i.default.isDefAndNotNull(e.controls))return!1;for(let t in e.controls)if(e.controls.hasOwnProperty(t)){let n=e.controls[t];if(!1===i.default.isStringAndNotEmpty(n.value))return!1}return!0}}d(Ze,"NEW_WIDGET_SCRIPT_SUFFIX","/widget-new/widget-communication.min.js"),
128d(Ze,"CARDS_GATE_HOST_PRODUCTION","https://cards.autopay.eu"),d(Ze,"CARDS_GATE_HOST_TEST","https://testcards.autopay.eu"),d(Ze,"EXAMPLE_AUTOPAY_URL","https://testcards.autopay.eu/widget-new/partner"),d(Ze,"DEFAULT_AMOUNT",1.23);const Je={AUTOPAY_CREDIT_CARD:"autopay_credit_card",PAYLANE_CREDIT_CARD:"paylane_credit_card",STRIPE_CREDIT_CARD:"stripe_credit_card"};
128class Qe extends Error{constructor(e,t=null,n=null,i=null){super(e),this.name="ApiError",this.status=t,this.response=n,this.originalError=
129i,this.timestamp=(new Date).toISOString(),Error.captureStackTrace&&Error.captureStackTrace(this,Qe)}isNetworkError(){return null===this.status}hasStatus(e){return this.status===e}toJSON(){return{name:this.name,message:this.message,status:this.status,timestamp:this.timestamp,stack:this.stack}}}const et={JSON:"json",FORM:"form",TEXT:"text",NONE:"none",MULTIPART:"multipart"},tt={GET:"GET",POST:"POST",PUT:"PUT",PATCH:"PATCH",DELETE:"DELETE",HEAD:"HEAD",OPTIONS:"OPTIONS"},nt={OK:200,CREATED:201,NO_CONTENT:204,
130FORBIDDEN:403};class it{constructor(e,t,n={}){this.httpStatus=e,this.parsedData=t,this.headers=n}static isApiResponse(e){return e instanceof it}isSuccess(){return this.httpStatus>=200&&this.httpStatus<300}hasStatus(e){return this.httpStatus===e}isOk(){return this.hasStatus(nt.OK)}isCreated(){return this.hasStatus(nt.CREATED)}isNoContent(){return this.hasStatus(nt.NO_CONTENT)}getStatus(){return this.httpStatus}getData(){var e;return(null==(e=this.parsedData)?void 0:e.data)||this.parsedData}getRawData(){return this.parsedData}getHeaders(){return this.headers}getHeader(e){return this.headers[e]||
131null}toJSON(){return{status:this.httpStatus,data:this.parsedData,headers:this.headers}}}const rt=(e={})=>{let {obj:t={},prefix:n="",excludeValues:r=[]}=e,a=[];return Object.entries(t).forEach(([e,t])=>{let o=n?`${n}.${e}`:e;Object(i.isDefAndNotNull)(t)&&!1===Object(i.isEmptyString)(t)&&!r.includes(t)&&(Array.isArray(t)?t.forEach((e,t)=>{Object(i.isDefAndNotNull)(e)&&!1===Object(i.isEmptyString)(e)&&!r.includes(e)&&(Object(i.isObject)(e)?a=a.concat(rt({obj:e,prefix:`${o}[${t}]`,excludeValues:r})):
132a.push([`${o}[${t}]`,e]))}):t instanceof File?a.push([o,t]):t instanceof Date?a.push([o,t.toISOString()]):Object(i.isObject)(t)?a=a.concat(rt({obj:t,prefix:o,excludeValues:r})):a.push([o,t]))}),a},at=(e,t={},n=[])=>{if(Object(i.isNotDefOrNullOrEmptyString)(e))return"";let r=new URLSearchParams;rt({obj:t,prefix:"",excludeValues:n}).forEach(([e,t])=>{r.append(e,t)});let a=r.toString(),o;return Object(i.isEmptyString)(a)?e:`${e}${e.includes("?")?"&":"?"}${a}`},ot=e=>e?e.startsWith("http://")||e.startsWith("https://")?
133e:`http://${e}`:"",st=e=>{let t={};return e&&"function"==typeof e.forEach&&e.forEach((e,n)=>{t[n]=e}),t},ut=e=>{let t=new FormData;return null==e||Object.keys(e).forEach(n=>{if(!1===Object.prototype.hasOwnProperty.call(e,n))return;let i=e[n];null!=i&&t.append(n,i)}),t},ct=class e{constructor(e={}){this._initialize(e)}_initialize(e){if(this.baseUrl=Object(i.isNotDefOrNullOrEmptyString)(e.baseUrl)?null:e.baseUrl,this.csrfProvider=Object(i.isNotDefOrNull)(e.csrfProvider)?null:e.csrfProvider,this.fetchImpl=
134this._getFetchImpl(e.fetchImpl),Object(i.isNotDef)(this.fetchImpl))throw new Error("Fetch implementation is not available");}_getFetchImpl(e){return Object(i.isFunction)(e)?e:Object(i.isFunction)(fetch)?fetch.bind(window):null}_getCsrfConfig(){return Object(i.isNotDef)(this.csrfProvider)?null:Object(i.isFunction)(this.csrfProvider)?this.csrfProvider():this.csrfProvider}_ensureCsrfLoaded(e=!1){return h(this,null,function*(){let t=this._getCsrfConfig();Object(i.isNotDef)(t)||Object(i.isNotDef)(t.loadCsrf)||
135!0===t.loaded&&!0!==e||Object(i.isFunction)(t.loadCsrf)&&(yield t.loadCsrf(e))})}_buildHeaders(e={},t=!1){let n={"Content-Type":"application/json"},r={};if(!0===t){let e=this._getCsrfConfig();Object(i.isDef)(e)&&!0===e.loaded&&e.token&&e.headerName&&(r={[e.headerName]:e.token})}let a=l(l(l({},n),r),e);return!0===Object.prototype.hasOwnProperty.call(e,"Content-Type")&&!0===Object(i.isNotDefOrNull)(e["Content-Type"])&&delete a["Content-Type"],a}_isUnsafeMethod(t){let n=t.toUpperCase();return!1===e.SAFE_HTTP_METHODS.includes(n)}_prepareBody(e,
136t,n){if(!Object(i.isNotDef)(e))switch(t){case et.FORM:return n["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8",(new URLSearchParams(e)).toString();case et.TEXT:return n["Content-Type"]="text/plain; charset=UTF-8",String(e);
136case et.NONE:case et.MULTIPART:return n["Content-Type"]=null,e;case et.JSON:default:return n["Content-Type"]="application/json",JSON.stringify(e)}}_parseResponseText(e){if(Object(i.isEmptyString)(e))return null;try{return JSON.parse(e)}catch(e){return null}}_prepareRequestConfig(e){let t=
137(e.method||tt.GET).toUpperCase(),n=this._isUnsafeMethod(t),r=e.url||"",a=e.params||{},o=e.data,s=e.contentType||(Object(i.isDef)(o)?et.JSON:void 0),u=l({},e.headers||{}),c=e.signal,d,h;return{method:t,isUnsafeMethod:n,fullUrl:`${this.baseUrl||""}${at(r,a)}`,preparedBody:this._prepareBody(o,s,u),headers:u,signal:c}}request(e){return h(this,null,function*(){let t=this._prepareRequestConfig(e);t.isUnsafeMethod&&(yield this._ensureCsrfLoaded());let n=yield this.fetchImpl(t.fullUrl,{method:t.method,body:t.preparedBody,
138headers:this._buildHeaders(t.headers,t.isUnsafeMethod),credentials:"include",signal:t.signal});if(t.isUnsafeMethod&&n.status===nt.FORBIDDEN&&(yield this._ensureCsrfLoaded(!0),n=yield this.fetchImpl(t.fullUrl,{method:t.method,body:t.preparedBody,headers:this._buildHeaders(t.headers,!0),credentials:"include",signal:t.signal})),!1===n.ok)throw new Qe(`HTTP error! status: ${n.status}`,n.status,n);let i=yield n.text(),r=this._parseResponseText(i),a=st(n.headers);return new it(n.status,r,a)})}get(e){return h(this,
139arguments,function*(e,t={}){return this.request(l({method:tt.GET,url:e},t))})}post(e,t){return h(this,arguments,function*(e,t,n={}){return this.request(l({method:tt.POST,url:e,data:t},n))})}put(e,t){return h(this,arguments,function*(e,t,n={}){return this.request(l({method:tt.PUT,url:e,data:t},n))})}patch(e,t){return h(this,arguments,function*(e,t,n={}){return this.request(l({method:tt.PATCH,url:e,data:t},n))})}delete(e){return h(this,arguments,function*(e,t={}){return this.request(l({method:tt.DELETE,
140url:e},t))})}};d(ct,"SAFE_HTTP_METHODS",[tt.GET,tt.HEAD,tt.OPTIONS]);let lt=ct;const dt=e=>new lt(e)}.call(t,n(139)(e))},1027:function(e,t,n){n.d(t,"a",function(){return i});var i={BackgroundParallaxService:Symbol.for("BackgroundParallaxService"),BrowserHistoryService:Symbol.for("BrowserHistoryService"),ElementAttributeService:Symbol.for("ElementAttributeService"),ElementRotationService:Symbol.for("ElementRotationService"),ElementService:Symbol.for("ElementService"),FacebookService:Symbol.for("FacebookService"),
141FeedService:Symbol.for("FeedService"),GroupService:Symbol.for("GroupService"),LocalStorageService:Symbol.for("LocalStorageService"),LockService:Symbol.for("LockService"),LoadResourceUtils:Symbol.for("LoadResourceUtils"),MarketingPartnershipService:Symbol.for("MarketingPartnershipService"),MediaPlayerService:Symbol.for("MediaPlayerService"),MenutoolService:Symbol.for("MenutoolService"),ModularObjectContentService:Symbol.for("ModularObjectContentService"),ObjectService:Symbol.for("ObjectService"),PageService:Symbol.for("PageService"),
142ProductCounterService:Symbol.for("ProductCounterService"),PublicatedScrollService:Symbol.for("PublicatedScrollService"),PublishedPageAreaService:Symbol.for("PublishedPageAreaService"),RwdService:Symbol.for("RwdService"),SimplyPopupManager:Symbol.for("SimplyPopupManager"),UserService:Symbol.for("UserService"),UtilService:Symbol.for("UtilService")}},106:function(e,t,n){var i={PX:"px",PERCENT:"%",VW:"vw",VH:"vh"};Object.freeze(i),t.a=i},107:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),
143r=n(1),a=n(220),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"_normalizeTable",value:function e(t){t.replaceWith("<div>".concat(t.text().replace(/\s+/g," ").trim(),"</div>"))}},{key:"htmlElementToText",value:function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;if(!0===i.preserveWhiteSpaces){var o=webwave.isDefAndNotNull(i.replaceValue)?i.replaceValue:"\n";r=i.property===a.a.INNER_TEXT?n[0].innerText.replace(e.multipleNewLineCharRegex,o):
144n[0].textContent.replace(e.multipleNewLineCharRegex,o)}else r=n.text();return r}},{key:"html2Text",value:function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=$('<div style="white-space: pre;"/>').html(n);!0===i.stripTables&&r.find("table").each(function(t,n){e._normalizeTable($(n))});var a=e.htmlElementToText(r,i);return!1===webwave.isDefAndNotEmpty(a)&&webwave.isStringAndNotEmpty(i.optionalValueOnEmpty)&&(a=i.optionalValueOnEmpty),a}},{key:"changeCssPropertyForEachChildrenElementInTextElement",
145value:function e(t,n){for(var i=t.find('*[style*="'.concat(n.cssProperty,'"]')),r=0;r<i.length;r++)i[r].style[n.cssProperty]=n.newCssValue;return i}},{key:"convertMarkdownBoldToHtmlStrong",value:function e(t){return!1===webwave.isString(t)?"":t.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>")}},{key:"decodeHtml",value:function e(t){var n=document.createElement("textarea");n.innerHTML=t;var i=n.value;return n.remove(),i}},{key:"getEmptyParagraph",value:function e(){return"<p>&nbsp;</p>"}},{key:"getTextContentWithoutRedundantNewLines",
146value:function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i="",r=t[0].childNodes,a=0;a<r.length;a++){var o,s;i+=r[a].textContent,a!==r.length-1&&(!0===n.withSpace?i+=" ":i+="\n")}return i}},{key:"getTextContentWithoutRedundantNewLinesFromElementHtml",value:function t(n){var i=document.createElement("div");return $(i).html(n.html()),e.getTextContentWithoutRedundantNewLines($(i))}},{key:"textToHTMLWithDivs",value:function e(t){if(webwave.isStringAndNotEmpty(t)){var n=t.split(/\n/g);
147return(n=n.map(function(e){return""===e?"<div>&nbsp;</div>":"<div>".concat(e,"</div>")})).join("")}return t}},{key:"isPlainText",value:function e(t){return!1!==webwave.isStringAndNotEmpty(t)&&!/<[^>]*>/.test(t);var n}}]),e}();o.htmlToElements=function(e){var t=document.createElement("template");return t.innerHTML=e.trim(),t.content.childNodes},o.multipleNewLineCharRegex=/(\n)((\s)*(\n))+/g}
147,108:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingOnSyntax=void 0;var i=n(109),
148r=function(){function e(e){this._binding=e}return e.prototype.onActivation=function(e){return this._binding.onActivation=e,new i.BindingWhenSyntax(this._binding)},e}();t.BindingOnSyntax=r},109:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingWhenSyntax=void 0;var i=n(108),r=n(168),a=function(){function e(e){this._binding=e}return e.prototype.when=function(e){return this._binding.constraint=e,new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetNamed=function(e){return this._binding.constraint=
149r.namedConstraint(e),new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetIsDefault=function(){return this._binding.constraint=function(e){var t;return null!==e.target&&!e.target.isNamed()&&!e.target.isTagged()},new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetTagged=function(e,t){return this._binding.constraint=r.taggedConstraint(e)(t),new i.BindingOnSyntax(this._binding)},e.prototype.whenInjectedInto=function(e){return this._binding.constraint=function(t){return r.typeConstraint(e)(t.parentRequest)},
150new i.BindingOnSyntax(this._binding)},e.prototype.whenParentNamed=function(e){return this._binding.constraint=function(t){return r.namedConstraint(e)(t.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenParentTagged=function(e,t){return this._binding.constraint=function(n){return r.taggedConstraint(e)(t)(n.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorIs=function(e){return this._binding.constraint=function(t){return r.traverseAncerstors(t,r.typeConstraint(e))},
151new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorIs=function(e){return this._binding.constraint=function(t){return!r.traverseAncerstors(t,r.typeConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorNamed=function(e){return this._binding.constraint=function(t){return r.traverseAncerstors(t,r.namedConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorNamed=function(e){return this._binding.constraint=function(t){return!r.traverseAncerstors(t,
152r.namedConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._binding.constraint=function(n){return r.traverseAncerstors(n,r.taggedConstraint(e)(t))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorTagged=function(e,t){return this._binding.constraint=function(n){return!r.traverseAncerstors(n,r.taggedConstraint(e)(t))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorMatches=function(e){return this._binding.constraint=
153function(t){return r.traverseAncerstors(t,e)},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorMatches=function(e){return this._binding.constraint=function(t){return!r.traverseAncerstors(t,e)},new i.BindingOnSyntax(this._binding)},e}();t.BindingWhenSyntax=a},11:function(e,t,n){function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.a=i},1122:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(901),
154o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.finalValue=new a.a(t.finalValue),this.initialValue=new a.a(t.initialValue),this.animationTime=webwave.isDef(t.animationTime)?t.animationTime:e.DEFAULT_VALUES.ANIMATION_TIME,this.decimals=t.decimals,this.ownAnimationTimeEnabled=!!webwave.isDef(t.ownAnimationTimeEnabled)&&t.ownAnimationTimeEnabled,this.ownAnimationStartNumberEnabled=!!webwave.isDef(t.ownAnimationStartNumberEnabled)&&t.ownAnimationStartNumberEnabled}
155return Object(r.a)(e,[{key:"getNumber",value:function e(){return this.number}},{key:"setNumber",value:function e(t){this.number=t}},{key:"setFinalValue",value:function e(t){this.finalValue=t}},{key:"getFinalValue",value:function e(){return this.finalValue}},{key:"setInitialValue",value:function e(t){this.initialValue=t}},{key:"getInitialValue",value:function e(){return this.initialValue}},{key:"getAnimationTime",value:function t(){return this.ownAnimationTimeEnabled?this.animationTime:e.DEFAULT_VALUES.ANIMATION_TIME}},
156{key:"setAnimationTime",value:function e(t){this.animationTime=t}},{key:"getDecimals",value:function e(){return this.decimals}},{key:"setDecimals",value:function e(t){this.decimals=t}},{key:"setOwnAnimationTimeEnabled",value:function e(t){this.ownAnimationTimeEnabled=t}},{key:"getOwnAnimationTimeEnabled",value:function e(){return this.ownAnimationTimeEnabled}},{key:"setOwnAnimationStartNumberEnabled",value:function e(t){this.ownAnimationStartNumberEnabled=t}},{key:"getOwnAnimationStartNumberEnabled",
157value:function e(){return this.ownAnimationStartNumberEnabled}}]),e}();
157o.DEFAULT_VALUES={ANIMATION_START_NUMBER:0,ANIMATION_TIME:1500,FINAL_VALUE:"12597,54",INITIAL_VALUE:"0"}},1128:function(e,t,n){t.a={PAGE_TOP_LEFT:"pageTopLeft",PAGE_TOP_RIGHT:"pageTopRight",SCREEN_TOP_LEFT:"screenTopLeft",SCREEN_TOP_RIGHT:"screenTopRight"}},1129:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(1147),o=n(126),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:
158{};Object(i.a)(this,e),this.styleMap=t.styleMap,this.styleString=t.styleString,this.textStyleMap=webwave.isDef(t.textStyleMap)?new a.a(t.textStyleMap):void 0,this.textStyleString=this.textStyleMap instanceof a.a?this.textStyleMap.toStyleString():void 0,this.textStyleId=t.textStyleId,this.text=t.text}return Object(r.a)(e,[{key:"removeTextStyleMap",value:function e(){this.textStyleMap=void 0,this.textStyleString=void 0}},{key:"setTextStyleMap",value:function e(t){t instanceof a.a&&(this.textStyleMap=
159t,this.textStyleString=t.toStyleString())}},{key:"removeTextStyleId",value:function e(){this.textStyleId=void 0}},{key:"setTextStyleId",value:function e(t){this.textStyleId=t}},{key:"getTextStyleId",value:function e(){return this.textStyleId}},{key:"setText",value:function e(t){this.text=t}},{key:"getText",value:function e(){return this.text}},{key:"setStyleMap",value:function e(t){this.styleMap=t}},{key:"getStyleMap",value:function e(){return this.styleMap}},{key:"getTextStyleMap",value:function e(){return this.textStyleMap}},
160{key:"serialize",value:function e(){return{styleMap:this.styleMap,styleString:this.styleString,textStyleMap:this.textStyleMap,textStyleString:this.textStyleString,textStyleId:this.textStyleId,text:this.text}}},{key:"toJSON",value:function e(){return this.serialize()}},{key:"toStyleString",value:function e(){var t;return t=webwave.isDef(this.textStyleId)?"":webwave.isDef(this.textStyleMap)?this.textStyleMap.toStyleString():""}},{key:"toCssMap",value:function e(t){webwave.isNotDef(t)&&(t={});var n=
161{};return webwave.isDef(this.styleMap)&&$.extend(n,this.styleMap),!0!==t.noTextStyle&&webwave.isDef(this.textStyleMap)&&$.extend(n,this.textStyleMap.toCssMap()),n}},{key:"applyStyleMap",value:function e(t){if(webwave.isDef(t))for(var n in webwave.isNotDef(this.styleMap)&&(this.styleMap={}),t)t.hasOwnProperty(n)&&(this.styleMap[n]=t[n])}},{key:"applyTextStyleMap",value:function e(t){webwave.isDef(t)&&(webwave.isNotDef(this.textStyleMap)?this.textStyleMap=new a.a(t):this.textStyleMap.applyPartialTextStyleMap(t),
162webwave.isDef(this.textStyleMap)&&(this.textStyleString=this.textStyleMap.toStyleString()))}},{key:"applyPartialStyle",value:function e(t){webwave.isDef(t)&&(this.applyStyleMap(t.styleMap),this.applyTextStyleMap(t.textStyleMap),webwave.isDef(t.textStyleId)&&(this.textStyleId=t.textStyleId))}},{key:"merge",value:function e(t){webwave.isDef(t)&&(this.applyStyleMap(t.styleMap),this.applyTextStyleMap(t.textStyleMap),webwave.isDef(t.textStyleId)&&(this.textStyleId=t.textStyleId))}},{key:"applyStyleRwdProperties",
163value:function e(t){webwave.isNotDef(t)&&(t={}),webwave.isNotDef(this.styleMap)&&(this.styleMap={}),this.styleMap.paddingTop=t.paddingTop,this.styleMap.paddingRight=t.paddingRight,this.styleMap.paddingBottom=t.paddingBottom,this.styleMap.paddingLeft=t.paddingLeft}},{key:"applyTextStyleRwdProperties",value:function e(t){webwave.isNotDef(this.textStyleMap)?this.textStyleMap=new a.a(t):this.textStyleMap.applyRwdTextStyleProperties(t),webwave.isDef(this.textStyleMap)&&(this.textStyleString=this.textStyleMap.toStyleString())}},
164{key:"applyRwdProperties",value:function e(t){webwave.isNotDef(t)&&(t={}),this.applyStyleRwdProperties(t.styleMap),this.applyTextStyleRwdProperties(t.textStyleMap)}},{key:"clone",value:function t(){var n;return new e($.extend(!0,{},this.serialize()))}},{key:"isEmptyTextStyleMap",value:function e(){var t;return webwave.isNotDef(this.textStyleMap)||(null===(t=this.textStyleMap)||void 0===t?void 0:t.isEmpty())}},{key:"removeStyleMap",value:function e(){this.styleMap=void 0}},{key:"changeWebsiteColorConnection",
165value:function e(t){var n=this.changeWebsiteColorConnectionInStyleMap(t,{property:"backgroundColor"}),i=this.changeWebsiteColorConnectionInStyleMap(t,{property:"borderBottomColor"}),r=this.changeWebsiteColorConnectionInStyleMap(t,{property:"borderLeftColor"}),a=this.changeWebsiteColorConnectionInStyleMap(t,{property:"borderRightColor"}),o=this.changeWebsiteColorConnectionInStyleMap(t,{property:"borderTopColor"}),s=this.changeWebsiteColorConnectionInStyleMap(t,{property:"backgroundImage"}),u=this.changeWebsiteColorConnectionInTextStyleMap(t,
166{property:"color"});return n||i||r||a||o||s||u}},{key:"changeWebsiteColorConnectionInStyleMap",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.getStyleMap();
166return!!webwave.isDefAndNotNull(i)&&!0===o.a.changeObjectPropertyWithWebsiteColor(i,t,n)}},{key:"changeWebsiteColorConnectionInTextStyleMap",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.getTextStyleMap();return!!webwave.isDefAndNotNull(i)&&!0===o.a.changeObjectPropertyWithWebsiteColor(i,
167t,n)}}],[{key:"deserialize",value:function t(n){return new e(n)}},{key:"deserializeCombinedStyles",value:function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={};for(var a in n)n.hasOwnProperty(a)&&(r[a]=e.deserialize(n[a]));if(!0===i.createMissingData&&webwave.isDef(i.keys))for(var o in i.keys)if(i.keys.hasOwnProperty(o)){var s=i.keys[o];webwave.isNotDef(r[s])&&(r[s]=new e)}return r}}]),e}()},1145:function(e,t,n){n.d(t,
168"a",function(){return w});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(66),c=n(1294),l=n(1562),d=n(991),h=n(1583),f=n(990),v=n(1584),g=n(979),p=n(10),y=n(38);function b(e){var t=m();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;
169try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var w=function(e){Object(a.a)(n,e);var t=b(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),(e=t.call(this,r)).update(r),e}return Object(r.a)(n,[{key:"compareTo",value:function e(t){if(t instanceof n==!1)return-1;if(this.type!==t.type){if(this.type===d.a.INPOST_EASYPACK)return 1;if(t.type===d.a.INPOST_EASYPACK)return-1}return this.name.localeCompare(t.name,
170void 0,{sensitivity:"base"})}},{key:"checkAllowedWeight",value:function e(t){return!0===this.postageWeightRangeOptions.enable&&this.postageWeightRangeOptions.weightInRange(t)}},{key:"equals",value:function e(t){return t instanceof n!=!1&&(this.price===t.price&&this.type===t.type&&this.name===t.name&&this.postageAvailability===t.postageAvailability&&this.taxValue===t.taxValue&&this.description.value===t.description.value&&this.getIdForSelect()===t.getIdForSelect())}},{key:"update",value:function e(t){this.id=
171t.id,this._description=new u.a(t.description),this._details=t.details,this._name=t.name,this._postageAvailability=webwave.isDef(t.postageAvailability)?t.postageAvailability:c.a.ALL,this._price=webwave.isNumberAndNotNaN(parseFloat(t.price))?"".concat(t.price):void 0,this._taxValue=t.taxValue,this._thumbnailId=t.thumbnailId,this._thumbnailUrl=t.thumbnailUrl,this._type=webwave.isDef(t.type)?t.type:d.a.CUSTOM,this._uniqueId=webwave.isDef(t.uniqueId)?t.uniqueId:Object(f.a)(),this.deleted=!1,this._pickupPointCode=
172t.pickupPointCode,this._postageWeightRangeOptions=new h.a(t.postageWeightSettings),this._postageAvailableCountriesOption=new l.a(t.postageAvailableCountriesOption),this._selectedFurgonetkaPostageProvidersOption=new v.a(t.selectedFurgonetkaPostageProvidersOption)}},{key:"getNameForOption",value:function e(t){return"".concat(this.name," (").concat(this.price," ").concat(t,")")}},{key:"postageWeightRangeOptions",get:function e(){return n.TYPES_WITH_DISABLED_POSTAGE_WEIGHT.includes(this.type)?new h.a:
173this._postageWeightRangeOptions}},{key:"postageAvailableCountriesOption",get:function e(){return n.TYPES_WITH_DISABLED_COUNTY_AVAILABLE.includes(this.type)?new l.a:this._postageAvailableCountriesOption}},{key:"type",get:function e(){return this._type},set:function e(t){this._type=t,n.TYPES_WITH_COUNTRY_LIST_NOT_EDITABLE.includes(this._type)?(this._postageAvailableCountriesOption.enable=!0,this._postageAvailableCountriesOption.value=this._getPostageAvailableCountriesForPostageType()):(this._postageAvailableCountriesOption.enable=
174!1,this._postageAvailableCountriesOption.value=[])}},{key:"details",get:function e(){return this._type===d.a.INPOST_EASYPACK||this.isFurgonetkaPostage()?this._details:void 0},set:function e(t){this._details=t}},{key:"inpostInfo",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n";return webwave.isDefAndNotNull(this._details)?"".concat(i18n.t("shop.c
174om.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.inpostEasyPack.parcelLocker")," - ").concat(this._details.name).concat(t).concat(this._details.address.line1).concat(t).concat(this._details.address.line2):
175void 0}},{key:"furgonetkaInfo",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n";return webwave.isDefAndNotNull(this._details)?"".concat(this._details.name).concat(t).concat(this._details.address.line1).concat(t).concat(this._details.address.line2):void 0}},{key:"uniqueId",get:function e(){return this._uniqueId}},{key:"name",get:function e(){return this._name},set:function e(t){this._name=t}},{key:"postageAvailability",get:function e(){return this._postageAvailability},
176set:function e(t){this._postageAvailability=t}},{key:"price",get:function e(){return this._price},set:function e(t){this._price=t}},{key:"taxValue",get:function e(){return this._taxValue},set:function e(t){this._taxValue=t}},{key:"thumbnailId",get:function e(){return this._thumbnailId},set:function e(t){this._thumbnailId=t}},{key:"thumbnailUrl",get:function e(){return this._thumbnailUrl},set:function e(t){this._thumbnailUrl=t}},{key:"isFurgonetkaPostage",value:function e(){return this.isFurgonetkaEnabled()&&
177webwave.isDefAndNotNull(this.selectedFurgonetkaPostageProvidersOption.getValue())}},{key:"isFurgonetkaEnabled",value:function e(){return this.type===d.a.FURGONETKA}},{key:"getTaxNumberValue",value:function e(){return parseInt(this.taxValue)}},{key:"description",get:function e(){return this._description}},{key:"selectedFurgonetkaPostageProvidersOption",get:function e(){return this._selectedFurgonetkaPostageProvidersOption}},{key:"selectedFurgonetkaPostageProviders",set:function e(t){this._selectedFurgonetkaPostageProviders=
178t}},{key:"isFurgonetkaPointPostage",value:function e(){return this.isFurgonetkaEnabled()&&webwave.isDefAndNotNull(this._selectedFurgonetkaPostageProvidersOption.getValue())&&this._selectedFurgonetkaPostageProvidersOption.getValue().length>0}},{key:"serialize",value:function e(){var t;return{id:!0===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).disableDBIndexSerialize?void 0:this.id,description:this._description.serialize(),details:this.details,name:this._name,postageAvailability:this._postageAvailability,
179price:this._price,thumbnailId:this._thumbnailId,thumbnailUrl:this._thumbnailUrl,taxValue:this._taxValue,type:this._type,uniqueId:this._uniqueId,postageWeightSettings:this.postageWeightRangeOptions.serialize(),postageAvailableCountriesOption:this.postageAvailableCountriesOption.serialize(),selectedFurgonetkaPostageProvidersOption:this.selectedFurgonetkaPostageProvidersOption.serialize()}}},{key:"getDataToOrder",value:function e(){var t={};return this.validate()&&(t={details:this._getDetailsInfo("<br />"),
180name:this._name,price:this._price,taxValue:this.getTaxValueForOrder(),description:this._description.value,postageType:this._type,settingsId:this.id},this.isFurgonetkaPostage()&&(t.pickupPointCode=this._pickupPointCode,t.postageService=this.selectedFurgonetkaPostageProvidersOption.getValue())),t}},{key:"getTaxValueForOrder",value:function e(){var t=Number.parseInt(100*this.getTaxValue());return webwave.isNumberAndNotNaN(t)?t:void 0}},{key:"getTaxValueForSaveData",value:function e(){var t=this.getTaxValueForOrder();
181return webwave.isDef(t)?t:null}},{key:"getTaxValue",value:function e(){return p.StoreUtils.parseTaxValue(this._taxValue)}},{key:"getNumberPrice",value:function e(){return this.price?parseFloat(this._price.replace(",",".")):0}},{key:"_getDetailsInfo",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n";return this.isFurgonetkaPostage()?this.furgonetkaInfo(t):this.inpostInfo(t)}},{key:"getIdForSelect",value:function e(){var t;return webwave.isDefAndNotNull(this.id)?null===
182(t=this.id)||void 0===t?void 0:t.toString():this.uniqueId}},{key:"isEmpty",value:function e(){return this.equals(new n)}},{key:"setDeleted",value:function e(t){this.deleted=t}},{key:"validate",value:function e(){return y.g.requireProp(this._name)&&y.g.price(this._price)}},{key:"hasDisableCountryRestrictions",value:function e(){return!1===this.postageAvailableCountriesOption.enable}},{key:"countryIsValid",value:function e(t){return this.postageAvailableCountriesOption.countryIsValid(t)}},{key:"_getPostageAvailableCountriesForPostageType",
183value:function e(){return[d.a.INPOST_EASYPACK,d.a.FURGONETKA].includes(this._type)?["PL"]:[]}}]),n}(g.a);w.TYPES_WITH_DISABLED_POSTAGE_WEIGHT=[d.a.ELECTRONIC],w.TYPES_WITH_DISABLED_COUNTY_AVAILABLE=[d.a.ELECTRONIC,d.a.SELF_PICKUP],w.TYPES_WITH_COUNTRY_LIST_NOT_EDITABLE=[d.a.INPOST_EASYPACK,d.a.FURGONETKA]},1147:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(126),o=n(235),s=1.2,u=["fontFamily","fontSize","fontWeight","fontStyle","lineHeight","textTransform","textShadow","textDecoration",
184"textAlign","color","marginBottom"],c={fontFamily:"font-family",fontSize:"font-size",fontWeight:"font-weight",fontStyle:"font-style",lineHeight:"line-height",textTransform:"text-transform",textShadow:"text-shadow",textDecoration:"text-decoration",textAlign:"text-align",color:"color",marginBottom:"margin-bottom"},l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),webwave.isString(t)&&(t=e.stringToTextStyleProperties(t)),this.loadFromPropertiesMap(t)}
185return Object(r.a)(e,[{key:"loadFromPropertiesMap",value:function e(t){var n=this;u.forEach(function(e){n[e]=t[e]})}},{key:"removeFontFamily",value:function e(){this.fontFamily=void 0}},{key:"toStyleString",value:function t(){var n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r="";return u.forEach(function(e){i.onlyMargin&&!1===e.startsWith("margin")||!0!==i.onlyMargin&&e.startsWith("margin")||webwave.isString(n[e])&&n[e].length>0&&(r+="".concat(c[e],": ").concat(n[e],";"))}),
186-1===r.indexOf("line-height")&&r.indexOf("font-size")>-1&&(r+="line-height: ".concat(e.getLineHeightByFontSize(this.fontSize),"px;")),r}},{key:"toCssMap",value:function e(){return this.serialize()}},{key:"applyPartialTextStyleMap",value:function e(t){if(webwave.isDef(t))for(var n,i=0;i<u.length;i++)n=u[i],webwave.isDef(t[n])&&(this[n]=t[n])}},{key:"applyRwdTextStyleProperties",value:function e(t){webwave.isNotDef(t)&&(t={}),this.fontSize=t.fontSize,this.lineHeight=t.lineHeight,this.textAlign=t.textAlign}},
187{key:"serialize",value:function t(){var n=this,i={};return u.forEach(function(e){i[e]=n[e]}),webwave.isNotDef(i.lineHeight)&&webwave.isDef(i.fontSize)&&(i.lineHeight=e.getLineHeightByFontSize(this.fontSize)+"px"),i}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"isEmpty",value:function e(){var t=this,n=!0;
187return Object.keys(this).forEach(function(e){webwave.isDef(t[e])&&(n=!1)}),n}},{key:"connectWebsiteColor",value:function e(t){return a.a.changeObjectColorPropertyWithWebsiteColor(this,
188t,{connection:o.a.CONNECT})}},{key:"disconnectWebsiteColor",value:function e(t){return a.a.changeObjectColorPropertyWithWebsiteColor(this,t,{connection:o.a.DISCONNECT})}},{key:"swapWebsiteColor",value:function e(t){return a.a.changeObjectColorPropertyWithWebsiteColor(this,t,{connection:o.a.SWAP})}}],[{key:"stringToTextStyleProperties",value:function e(t){return textStyleService.textStyleStringToCssMap(t,!0)}},{key:"getClearTextStyleMap",value:function t(){var n={};return u.forEach(function(e){n[e]=
189""}),new e(n)}},{key:"getLineHeightByFontSize",value:function e(t){var n=parseInt(t);if(webwave.isNumberAndNotNaN(n))return parseInt(Math.floor(1.2*n))}}]),e}();l.ValidTextStyleProperties=u,webwave.provide("com.webwave.gui.style.text.TextStyleMap"),com.webwave.gui.style.text.TextStyleMap=l},1148:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(126),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.gradientType=webwave.isString(t.gradientType)?
190t.gradientType:"linear-gradient",this.angle=webwave.isString(t.angle)?t.angle:"0deg",this.rgb1=webwave.isString(t.rgb1)?t.rgb1:"#000",this.rgb2=webwave.isString(t.rgb2)?t.rgb2:"#666",this.start1=webwave.isString(t.start1)?t.start1:"0%",this.start2=webwave.isString(t.start2)?t.start2:"100%"}return Object(r.a)(e,[{key:"toBackgroundImageString",value:function e(){var t;return t="linear-gradient"===this.gradientType?this.gradientType+"("+this.angle+", "+this.rgb1+" "+this.start1+", "+this.rgb2+" "+this.start2+
191")":"radial-gradient("+this.rgb1+" "+this.start1+", "+this.rgb2+" "+this.start2+")"}},{key:"serialize",value:function e(){return{gradientType:this.gradientType,angle:this.angle,rgb1:this.rgb1,start1:this.start1,rgb2:this.rgb2,start2:this.start2}}},{key:"equals",value:function e(t){return this.gradientType===t.gradientType&&this.angle===t.angle&&this.rgb1===t.rgb1&&this.rgb2===t.rgb2&&this.start1===t.start1&&this.start2===t.start2}},{key:"clone",value:function t(){return new e(this.serialize())}},
192{key:"changeWebsiteColorConnection",value:function e(t){var n=a.a.changeObjectPropertyWithWebsiteColor(this,t,{property:"rgb1"}),i=a.a.changeObjectPropertyWithWebsiteColor(this,t,{property:"rgb2"});return!0===n||!0===i}}]),e}()},119:function(e,t,n){var i={HORIZONTAL:"horizontal",VERTICAL:"vertical"};t.a=i},120:function(e,t,n){t.a={AED:"AED",AFN:"AFN",ALL:"ALL",AMD:"AMD",ANG:"ANG",AOA:"AOA",ARS:"ARS",AUD:"AUD",AWG:"AWG",AZN:"AZN",BAM:"BAM",BBD:"BBD",BDT:"BDT",BGN:"BGN",BIF:"BIF",BMD:"BMD",BND:"BND",
193BOB:"BOB",BRL:"BRL",BSD:"BSD",BWP:"BWP",BYN:"BYN",BZD:"BZD",CAD:"CAD",CDF:"CDF",CHF:"CHF",CLP:"CLP",CNY:"CNY",COP:"COP",CRC:"CRC",CVE:"CVE",CZK:"CZK",DJF:"DJF",DKK:"DKK",DOP:"DOP",DZD:"DZD",EGP:"EGP",ETB:"ETB",EURO:"EUR",FJD:"FJD",FKP:"FKP",GBP:"GBP",GEL:"GEL",GIP:"GIP",GMD:"GMD",GNF:"GNF",GTQ:"GTQ",GYD:"GYD",HKD:"HKD",HNL:"HNL",HRK:"HRK",HTG:"HTG",HUF:"HUF",IDR:"IDR",ILS:"ILS",INR:"INR",ISK:"ISK",JMD:"JMD",JPY:"JPY",KES:"KES",KGS:"KGS",KHR:"KHR",KMF:"KMF",KRW:"KRW",KYD:"KYD",KZT:"KZT",LAK:"LAK",
194LBP:"LBP",LKR:"LKR",LRD:"LRD",LSL:"LSL",MAD:"MAD",MDL:"MDL",MGA:"MGA",MKD:"MKD",MMK:"MMK",MNT:"MNT",MOP:"MOP",MRO:"MRO",MUR:"MUR",MVR:"MVR",MWK:"MWK",MXN:"MXN",MYR:"MYR",MZN:"MZN",NAD:"NAD",NGN:"NGN",NIO:"NIO",NOK:"NOK",NPR:"NPR",NZD:"NZD",PAB:"PAB",PEN:"PEN",PGK:"PGK",PHP:"PHP",PKR:"PKR",PLN:"PLN",PYG:"PYG",QAR:"QAR",RON:"RON",RSD:"RSD",RUB:"RUB",RWF:"RWF",SAR:"SAR",SBD:"SBD",SCR:"SCR",SEK:"SEK",SGD:"SGD",SHP:"SHP",SLE:"SLE",SLL:"SLL",SOS:"SOS",SRD:"SRD",STD:"STD",SZL:"SZL",THB:"THB",TJS:"TJS",TOP:"TOP",
195TRY:"TRY",TTD:"TTD",TWD:"TWD",TZS:"TZS",UAH:"UAH",UGX:"UGX",USD:"USD",UYU:"UYU",UZS:"UZS",VND:"VND",VUV:"VUV",WST:"WST",XAF:"XAF",XCD:"XCD",XOF:"XOF",XPF:"XPF",YER:"YER",ZAR:"ZAR",ZMW:"ZMW"}},1203:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(122),o=n(106),s,u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._x=new a.a(t.x),this._y=new a.a(t.y)}return Object(r.a)(e,[{key:"subtract",value:function e(t){this._x.subtract(t.getX()),
196this._y.subtract(t.getY())}},{key:"add",value:function e(t){this._x.add(t.getX()),this._y.add(t.getY())}}
196,{key:"serialize",value:function e(){return{x:this._x.serialize(),y:this._y.serialize()}}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"equals",value:function e(t){return this._x.equals(t._x)&&this._y.equals(t._y)}},{key:"setX",value:function e(t){this._x=t}},{key:"setXUnit",value:function e(t){this._x.setUnit(t)}},{key:"getXUnit",value:function e(){return this._x.getUnit()}},
197{key:"setYUnit",value:function e(t){this._y.setUnit(t)}},{key:"getYUnit",value:function e(){return this._y.getUnit()}},{key:"getX",value:function e(){return this._x}},{key:"setY",value:function e(t){this._y=t}},{key:"getY",value:function e(){return this._y}},{key:"getYValue",value:function e(){return this.getY().getValue()}},{key:"getXValue",value:function e(){return this.getX().getValue()}},{key:"setYValue",value:function e(t){this.getY().setValue(t)}},{key:"setXValue",value:function e(t){this.getX().setValue(t)}},
198{key:"toJSON",value:function e(){return this.serialize()}},{key:"isAnyUnitDynamic",value:function e(){return this.isXUnitDynamic()||this.isYUnitDynamic()}},{key:"isXUnitDynamic",value:function e(){return a.a.isUnitDynamic(this.getXUnit())}},{key:"isYUnitDynamic",value:function e(){return a.a.isUnitDynamic(this.getYUnit())}}]),e}()},1212:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=
199Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,
200[{key:"deserializeValue",value:function e(t){this._linkSelectorData=null===t||void 0===t?void 0:t.linkSelectorData,this._url=null===t||void 0===t?void 0:t.url}},{key:"url",get:function e(){return this.enable?this._url:null}},{key:"linkSelectorData",get:function e(){return null===this||void 0===this?void 0:this._linkSelectorData}},{key:"getSerializeValue",value:function e(){return{url:this._url,linkSelectorData:this._linkSelectorData}}}]),n}(n(66).a)},1213:function(e,t,n){n.d(t,"a",function(){return a});
201var i=n(0),r=n(1),a=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;Object(i.a)(this,e),this._paymentOption=t,this._onlinePaymentTranslation=n,this._variant=r}return Object(r.a)(e,[{key:"paymentOption",get:function e(){return this._paymentOption}},{key:"getMap",value:function e(){return{value:this._paymentOption.getUniqueIdForVariant(this._variant),label:this._getLabel()}}},{key:"_getLabel",value:function e(){return!0===this._paymentOption.isPaymentMethodIntegration?
202"".concat(this._onlinePaymentTranslation,"  (").concat(this._variant?this._paymentOption.getVariantName(this._variant):this._paymentOption.name,")"):this._paymentOption.name}}]),e}()},1214:function(e,t,n){n.d(t,"a",function(){return r});var i=n(0),r=function e(t){Object(i.a)(this,e),this.name=t.name,this.placeholder=t.placeholder,this.label=t.label,this.validator=t.validator}},1216:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(106),o=n(122),s,u=function(){function e(){var t=
203arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._width=new o.a(t.width),this._height=new o.a(t.height)}return Object(r.a)(e,[{key:"subtract",value:function e(t){this._width.subtract(point.getWidth()),this._height.subtract(point.getHeight())}},{key:"add",value:function e(t){this._width.add(t.getWidth()),this._height.add(t.getHeight())}},{key:"serialize",value:function e(){return{width:this._width.serialize(),height:this._height.serialize()}}},{key:"clone",value:function t(){return new e(this.serialize())}},
204{key:"equals",value:function e(t){return this._width.equals(t._width)&&this._height.equals(t._height)}}
204,{key:"setWidth",value:function e(t){this._width=t}},{key:"setWidthValue",value:function e(t){this._width.setValue(t)}},{key:"setWidthUnit",value:function e(t){this._width.setUnit(t)}},{key:"getWidthUnit",value:function e(){return this._width.getUnit()}},{key:"getWidthValue",value:function e(){return this._width.getValue()}},{key:"setHeightUnit",value:function e(t){this._height.setUnit(t)}},{key:"getHeightUnit",
205value:function e(){return this._height.getUnit()}},{key:"getWidth",value:function e(){return this._width}},{key:"setHeight",value:function e(t){this._height=t}},{key:"setHeightValue",value:function e(t){this._height.setValue(t)}},{key:"getHeight",value:function e(){return this._height}},{key:"getHeightValue",value:function e(){return this._height.getValue()}},{key:"toJSON",value:function e(){return this.serialize()}},{key:"isAnyUnitDynamic",value:function e(){return this.isWidthUnitDynamic()||this.isHeightUnitDynamic()}},
206{key:"isHeightUnitDynamic",value:function e(){return o.a.isUnitDynamic(this.getHeightUnit())}},{key:"isWidthUnitDynamic",value:function e(){return o.a.isUnitDynamic(this.getWidthUnit())}}]),e}()},1217:function(e,t,n){n.d(t,"a",function(){return O});var i=n(34),r=n(0),a=n(1),o=n(3),s=n(4),u=n(2),c=n(2024),l=n(66),d=n(78),h=n(1221),f=n(1952),v=n(1678),g=n(1679),p=n(2025),y=n(1274),b=n(1953),m=n(10);function w(e){var t=S();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;
207r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var O=function(e){Object(o.a)(n,e);var t=w(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(this,n),(e=
208t.call(this,i)).status=webwave.isDef(i.status)?i.status:v.a.AVAILABLE,e.taxValue=webwave.isNumberAndNotNaN(i.taxValue)?i.taxValue:void 0,e.additionalText=new l.a(i.additionalText),e.productVariants=new g.a(i.productVariants),e.customPostageOptions=new c.a(i.postageSettings),e.productWeightOptions=new p.a(i.productWeightOptions),e._buildStorage(i.storage),e}return Object(a.a)(n,[{key:"addVariant",value:function e(t){this.productVariants.addOption(t)}},{key:"calculateNumberOfStorageItems",value:function e(){var t=
209this._getListProductVariantsOptions();return m.MathUtils.cartesianProductNumber(t)}},{key:"canBeUpdatedByProductData",value:function e(t){if(this.id!==t.id)return!1;var n=this.productVariants.value,i=t.productVariants.value;if(n.length!==i.length)return!1;if(!1===webwave.arrayHasSameItems(n.map(function(e){return e.toString()}),i.map(function(e){return e.toString()})))return!1;for(var r=this.getVariantsWithSelectedOption(),a,o=0;o<r.length;o++)if(a=r[o],webwave.isNotDefOrNull(i.find(function(e){return e.getId()===
210a.variant&&e.findVariantById(a.option)})))return!1;return!0}},{key:"generateStorage",value:function e(){var t=this._getListProductVariantsOptions(),n=m.MathUtils.cartesianProduct.apply(m.MathUtils,Object(i.a)(t));this.storage.updateStorage(n)}},{key:"getFormattedPrice",value:function e(){return webwave.isNumberAndNotNaN(this.price)?d.a.formatNumberToLocaleString(this.price):""}},{key:"getIdForOrderItem",value:function e(){for(var t=this.getSelectedVariants(),n=this.getId(),i=0;i<t.length;i++)n+=t[i].getId();
211return n}},{key:"getNameForOrderItem",value:function e(){var t=this.name,n=this.getSelectedVariants();if(n.length>0){var i=n.map(function(e){return e.getName()});t+=" (".concat(m.StringUtils.joinArrayUsingChar(i," /"),")")}return t}},{key:"getVariantsString",value:function e(){var t="",n=this.getSelectedVariants();if(n.length>0){var i=n.map(function(e){return e.getName()});t+=" ".concat(m.StringUtils.joinArrayUsingChar(i," /"))}return t}},{key:"getNotEmptyVariant",value:function e(){return this.getVariants().filter(function(e){return e.variantsExist()})}},
212{key:"getPrice",value:function e(){return this.price}},{key:"getPriceForBackend",value:function e(){return m.MathUtils.setFloatPriceToLong(this.getPrice())}},{key:"getTaxValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.a.DOUBLE,n=this.taxValue;if(!1!==webwave.isDefAndNotEmpty(n))return t===h.a.CONVERTED_TO_LONG?m.MathUtils.setFloatPriceToLong(n):n}},{key:"getPriceForOrderItem",value:function e(){var t=this.getSelectedVariants(),n=this.getPrice();n=parseFloat(n);
213for(var i=0;i<t.length;i++)n+=parseFloat(t[i].getAdditionalSum());return n}},{key:"getProductWeight",value:function e(){var t=this.productWeightOptions.value;if(webwave.isNumberAndNotNaN(t))return t}},{key:"getSelectedStorage",value:function e(){return this.storage.findItemByVariants(this.getSelectedVariants())}},{key:"getSelectedVariants",value:function e(){for(var t=[],n,i=this.getVariants(),r=0;r<i.length;
213r++)(n=i[r].getSelectedOption())&&t.push(n);return t}},{key:"getSelectedVariantsIds",value:function e(){return this.getSelectedVariants().map(function(e){return e.getId()})}},
214{key:"getThumbnailUrl",value:function e(){return this.thumbnailUrl}},{key:"getVariants",value:function e(){return webwave.isDef(this.productVariants.value)?y.a.dateAsc(this.productVariants.value.filter(function(e){return!1===e.isDeleted()}),"_createDate"):[]}},{key:"getVariantsWithSelectedOption",value:function e(){for(var t=[],n=this.getVariants(),i=0;i<n.length;i++){var r;n[i].getSelectedOption()&&t.push({variant:n[i].getId(),option:n[i].getSelectedOption().getId()})}return t}},{key:"isAvailable",
215value:function e(){return this.status===v.a.AVAILABLE&&this.storage.isAvailable()}},{key:"isSelectedStorageNotAvailable",value:function e(){return!0===this.storage.enable&&!1===this.getSelectedStorage().isAvailable()}},{key:"removeVariant",value:function e(t){t.delete()}},{key:"selectFirstAvailableStorageForVariantOption",value:function e(t){var n=this.storage.getFirstAvailableItemByVariant(t);webwave.isDefAndNotNull(n)&&this.selectVariantsByStorageItem(n)}},{key:"selectVariants",value:function e(t){var n=
216this;t.forEach(function(e){n.productVariants.value.find(function(t){return t.getId()===e.variant}).updateSelectedVariant(e.option)})}},{key:"selectVariantsByStorageItem",value:function e(t){var n=this;this.storage.enable&&this.storage.itemExist(t)&&t.getVariants().forEac
216h(function(e){n.productVariants.value.find(function(t){return t.getVariantOptions().includes(e)}).updateSelectedVariant(e.getId())})}},{key:"serialize",value:function e(){return{id:this.getId(),name:this.name,price:this.price,thumbnailId:this.thumbnailId,
217thumbnailUrl:this.thumbnailUrl,description:this.description,productVariants:this.productVariants.serialize(),taxValue:this.getTaxValue(),additionalText:this.additionalText.serialize(),storage:this.storage.serialize(),status:this.status}}},{key:"storageExceedTheMaximumNumberOfItems",value:function e(){return this.calculateNumberOfStorageItems()>b.a.MAXIMUM_NUMBER_OF_STORAGE}},{key:"updateFromServerData",value:function e(t){webwave.isNotDef(this.id)&&(this.id=t.id),this.productVariants.updateFromServerData(t.productVariants)}},
218{key:"_buildStorage",value:function e(t){var n=this;webwave.isDef(t)&&webwave.isArrayLike(t.value)&&t.value.forEach(function(e){webwave.isArrayLike(e.variants)&&(e.variants=n._getVariantsListFromIds(e.variants))}),this.storage=new b.a(t)}},{key:"_getListProductVariantsOptions",value:function e(){var t,n=[];return this.getNotEmptyVariant().forEach(function(e){n.push(e.getVariantOptions())}),n}},{key:"_getVariantsListFromIds",value:function e(t){var n=this,i=[];return t.forEach(function(e){i.push(n.productVariants.findOptionById(e))}),
219i}},{key:"_parseTaxValue",value:function e(t){return 1==webwave.isString(t)&&t.includes(",")&&(t=t.replace(",",".")),Number.parseFloat(t)}},{key:"postageMethodIsSupported",value:function e(t){return this.customPostageOptions.postageMethodIsSupported(t)}},{key:"setName",value:function e(t){this.name=t}},{key:"setDescription",value:function e(t){this.description=t}},{key:"setImage",value:function e(t){webwave.isDef(t)&&(this.thumbnailId=t.getId(),this.thumbnailUrl=t.getThumbnailUrl())}}]),n}(f.a)},
220122:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(106),o,s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.value=webwave.isNumberAndNotNaN(t.value)?t.value:0,this.unit=webwave.isValidEnumValue(t.unit,a.a)?t.unit:a.a.PX}return Object(r.a)(e,[{key:"getUnit",value:function e(){return this.unit}},{key:"setUnit",value:function e(t){webwave.isValidEnumValue(t,a.a)&&(this.unit=t)}},{key:"getValue",value:function e(){return this.value}},
221{key:"setValue",value:function e(t){webwave.isNumberAndNotNaN(t)&&(this.value=t)}},{key:"serialize",value:function e(){return{value:this.value,unit:this.unit}}},{key:"add",value:function t(n){n instanceof e&&this.unit===n.getUnit()&&(this.value+=n.getValue())}},{key:"subtract",value:function e(t){return this.unit===t.getUnit()&&(this.value-=t.getValue()),this}},{key:"multiply",value:function e(t){return this.value*=t,this}},{key:"equals",value:function e(t){return this.getUnit()===t.getUnit()&&this.getValue()===
222t.getValue()}},{key:"toString",value:function e(){return this.value+this.unit}},{key:"clone",value:function t(){return new e({value:this.value,unit:this.unit})}},{key:"loadValuesFromObject",value:function e(t){this.setUnit(t.getUnit()),this.setValue(t.getValue())}}],[{key:"parseLengthString",value:function e(t){var n=String(t),i=parseFloat(n),r=n.match(/%|em/);return isNaN(i)?"":r?i+r:"".concat(Math.round(i),"px")}},{key:"parseLengthUnitString",value:function e(t){var n,i=String(t).match(/%|em|vh|vw/);
223return i?i.toString():a.a.PX}},{key:"isUnitVWorVH",value:function e(t){return t===a.a.VH||t===a.a.VW}},{key:"isUnitPX",value:function e(t){return t===a.a.PX}},{key:"isUnitVH",value:function e(t){return t===a.a.VH}},{key:"isUnitVW",value:function e(t){return t===a.a.VW}},{key:"isUnitDynamic",value:function t(n){return e.isUnitVH(n)||e.isUnitVW(n)}},{key:"createLengthWithPxUnitFromValue",value:function t(n){var i;return new e({value:!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).withoutRounding?
224Math.round(n):n,unit:a.a.PX})}}]),e}()},1220:function(e,t,n){t.a={SNIPCART:"snipcart",WEBWAVE:"webwave",ECWID:"ecwid"}},1221:function(e,t,n){t.a={CONVERTED_TO_LONG:"convertedToLong",DOUBLE:"double"}},123:function(e,t){var n=e.exports={},i,r;function a(){throw new Error("setTimeout has not been defined");}function o(){throw new Error("clearTimeout has not been defined");}function s(e){if(i===setTimeout)return setTimeout(e,0);if((i===a||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,
2250)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}function u(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:a}catch(e){i=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var c=[],l=!1,d,h=-1;
225function f(){l&&d&&(l=!1,d.length?c=d.concat(c):h=-1,
226c.length&&v())}function v(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(d=c,c=[];++h<t;)d&&d[h].run();h=-1,t=c.length}d=null,l=!1,u(e)}}function g(e,t){this.fun=e,this.array=t}function p(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new g(e,t)),1!==c.length||l||s(v)},g.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions=
227{},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported");},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported");},n.umask=function(){return 0}},1236:function(e,t,n){var i={LEFT:"left",CENTER:"center",RIGHT:"right"};t.a=i},1237:function(e,t,n){var i={HORIZONTAL:"horizontal",
228VERTICAL:"vertical"};t.a=i},1243:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=[{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\)/},
229{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]+)\)/}],o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.blur=void 0,this.brightness=void 0,this.contrast=void 0,this.greyscale=void 0,this.hueRotate=void 0,this.saturate=void 0,this.sepia=void 0,this.invert=void 0,
230this.enabled=!0===t.enabled,this.blur=webwave.isNumberAndNotNaN(t.blur)?t.blur:void 0,this.brightness=webwave.isNumberAndNotNaN(t.brightness)?t.brightness:void 0,this.contrast=webwave.isNumberAndNotNaN(t.contrast)?t.contrast:void 0,this.greyscale=webwave.isNumberAndNotNaN(t.greyscale)?t.greyscale:void 0,this.hueRotate=webwave.isNumberAndNotNaN(t.hueRotate)?t.hueRotate:void 0,this.saturate=webwave.isNumberAndNotNaN(t.saturate)?t.saturate:void 0,this.sepia=webwave.isNumberAndNotNaN(t.sepia)?t.sepia:
231void 0,this.invert=webwave.isNumberAndNotNaN(t.invert)?t.invert:void 0}return Object(r.a)(e,[{key:"setBlur",value:function e(t){this.blur=t}},{key:"setBrightness",value:function e(t){this.brightness=t}},{key:"setContrast",value:function e(t){this.contrast=t}},{key:"setGreyscale",value:function e(t){this.greyscale=t}},{key:"setHueRotate",value:function e(t){this.hueRotate=t}},{key:"setSaturate",value:function e(t){this.saturate=t}},{key:"setSepia",value:function e(t){this.sepia=t}},{key:"setInvert",
232value:function e(t){this.invert=t}},{key:"isEnabled",value:function e(){return this.enabled}},{key:"setEnabled",value:function e(t){return this.enabled=t}},{key:"toCssString",value:function e(){var t="";return this.isEnabled()?(webwave.isDef(this.blur)&&(t+="blur(".concat(Math.abs(this.blur),"px)")),webwave.isDef(this.brightness)&&(t+=" brightness(".concat(Math.abs(this.brightness),")")),webwave.isDef(this.contrast)&&(t+=" contrast(".concat(Math.abs(this.contrast),")")),webwave.isDef(this.greyscale)&&
233(t+=" grayscale(".concat(Math.abs(this.greyscale),")")),webwave.isDef(this.hueRotate)&&(t+=" hue-rotate(".concat(Math.abs(this.hueRotate),"deg)")),webwave.isDef(this.saturate)&&(t+=" saturate(".concat(Math.abs(this.saturate),")")),webwave.isDef(this.sepia)&&(t+=" sepia(".concat(Math.abs(this.sepia),")")),webwave.isDef(this.invert)&&(t+=" invert(".concat(Math.abs(this.invert),")"))):t="none",t}},{key:"toCss2Map",value:function e(){return{filter:this.toCssString()}}},{key:"serialize",value:function e(){return{enabled:this.enabled,
234blur: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 t(){return new e(this.serialize())}},{key:"multiply",value:function e(t){for(var n=0;n<a.length;n++){var i=a[n].name;
234webwave.isDef(this[i])&&(this[i]*=t)}}},{key:"add",value:function e(t){for(var n=0;n<a.length;n++){var i=a[n].name;webwave.isDef(this[i])&&webwave.isDef(t[i])&&(this[i]+=t[i])}}},
235{key:"subtract",value:function e(t){for(var n=0;n<a.length;n++){var i=a[n].name;webwave.isDef(this[i])&&webwave.isDef(t[i])&&(this[i]-=t[i])}}},{key:"fillDefaultMissingValues",value:function e(t){for(var n=0;n<a.length;n++){var i=a[n],r=a[n].name;webwave.isDef(t[r])&&webwave.isNotDef(this[r])&&(this[r]=i.defaultValue)}}},{key:"mergeStyle",value:function e(t){if(webwave.isDef(t.enabled)&&(this.enabled=t.enabled),!0===t.enabled)for(var n=0;n<a.length;n++){var i=a[n].name;webwave.isDef(t[i])&&(this[i]=
236t[i])}}}],[{key:"deserialize",value:function t(n){return new e(n)}},{key:"readFromString",value:function t(n){for(var i=new e({enabled:webwave.isStringAndNotEmpty(n)}),r=0;r<a.length;r++){var o=a[r],s=n.match(o.regex);if(null!==s){var u=parseFloat(s[1]);!1===isNaN(u)&&(i[o.name]=u)}}return i}},{key:"createDefaultFilterData",value:function t(){return new e({blur:this.DEFAULT_BLUR_VALUE})}}]),e}();o.DEFAULT_BLUR_VALUE=4.8},1244:function(e,t,n){var i=n(10),r=n(1543);t.a={BRAND:i.VariableUtils.createVariableById(r.a.BRAND),
237SECONDARY:i.VariableUtils.createVariableById(r.a.SECONDARY),COMPLEMENTARY:i.VariableUtils.createVariableById(r.a.COMPLEMENTARY),FIRST_NEUTRAL:i.VariableUtils.createVariableById(r.a.FIRST_NEUTRAL),SECOND_NEUTRAL:i.VariableUtils.createVariableById(r.a.SECOND_NEUTRAL)}},126:function(e,t,n){n.d(t,"a",function(){return c});var i=n(0),r=n(1),a=n(10),o=n(203),s=n(858),u=n(235),c=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"findWebsiteColorVariableIfValueSameAsWebsiteColor",
238value:function t(n,i){var r=n;if(webwave.isDefAndNotNull(n))if(a.ColorUtils.isValueContainGradientOrIconPhrase(n)){var o=/(#[a-z|A-Z|0-9]*|((rgb|rgba)\(\d+,\s?\d+,\s?\d+(,\s?[0-1]{1}\.?\d*)?\)))/g,s=e.findWebsiteColorVariableOrReturnOriginalValue.bind(this,i);r=r.replaceAll(o,s)}else r=e.findWebsiteColorVariableOrReturnOriginalValue(i,n);return r}},{key:"findWebsiteColorValueIfValueIndicateToWebsiteColor",value:function t(n,i){var r=n;if(webwave.isDefAndNotNull(n))if(a.ColorUtils.isValueContainGradientOrIconPhrase(n)){var o=
239/var\(([a-z-A-Z-0-9-_,\s]+)\)/g,s=e.findWebsiteColorValueOrReturnOriginalValue.bind(this,i);r=r.replaceAll(o,s)}else r=e.findWebsiteColorValueOrReturnOriginalValue(i,n);return r}},{key:"changeWebsiteColorValueIfIndicateToWebsiteColor",value:function t(n,i){var r=n;return webwave.isDefAndNotNull(n)&&(r=e.getWebsiteColorValueToApply(i,i.newWebsiteColor,n)),r}},{key:"mapStyleIdToWebsiteColorVariable",value:function e(t){switch(t){case o.a.H1:case o.a.H2:case o.a.H3:case o.a.H4:return"var(--brand)";case o.a.DEFAULT:case o.a.LINK:case o.a.LINK_HOVER:return"var(--neutral1)";
240default:return""}}},{key:"changeObjectPropertyWithWebsiteColor",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=!1,o=r.property,s=webwave.isDefAndNotNull(o)?n[o]:void 0;if(webwave.isDefAndNotNull(s)){var u=e.getValueAfterWebsiteConnectionChange(s,i,r);s!==u&&(n[o]=u,a=!0)}return a}},{key:"getValueAfterWebsiteConnectionChange",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a;switch(i.getConnection()){case u.a.DISCONNECT:a=
241e.findWebsiteColorValueIfValueIndicateToWebsiteColor(n,i);break;case u.a.CONNECT:a=e.findWebsiteColorVariableIfValueSameAsWebsiteColor(n,i);break;case u.a.CHANGE:a=e.changeWebsiteColorValueIfIndicateToWebsiteColor(n,i);break;case u.a.SWAP:a=e.swapWebsiteColorIfValueIndicateToWebsiteColor(i,n);break}return a}},{key:"changeObjectColorPropertyWithWebsiteColor",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.property="color",e.changeObjectPropertyWithWebsiteColor(n,
242i,r)}},{key:"changeObjectBackgroundColorPropertyWithWebsiteColor",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.property="backgroundColor",e.changeObjectPropertyWithWebsiteColor(n,i,r)}},{key:"getShadowStringAfterChangingWebsiteColorConnection",value:function t(n,i,r){var a,o=s.a.getShadowColorArrayFromString(n),c=s.a.getShadowSettingsArrayFromString(n);if(webwave.isArrayWithExactlyOneElement(o)&&webwave.isArrayLike(c)){var l=r===u.a.CONNECT?e.findWebsiteColorVariableOrReturnOriginalValue(i,
243o[0]):e.findWebsiteColorValueOrReturnOriginalValue(i,o[0]);l!==o[0]&&(a=s.a.composeShadowValueByColorAndDirectionSettings(l,c))}return a}},{key:"findWebsiteColorVariableToApply",value:function e(t,n){var i=a.Color.isHex(t)?a.Color.hex2rgb(t):t;return a.ColorUtils.checkIfColorSame(n.getColor(),i)?n.getWebsiteColorVariable():void 0}},{key:"findWebsiteColorVariableOrReturnOriginalValue",value:function t(n,i){var r=n.getWebsiteColor(),a=e.findWebsiteColorVariableToApply(i,r);return webwave.isDefAndNotNull(a)?
244a:i}},{key:"findWebsiteColorValueOrReturnOriginalValue",value:function e(t,n){var i=t.getWebsiteColor();return n===i.getWebsiteColorVariable()?i.getColor():n}},{key:"getWebsiteColorValueToApply",value:function e(t,n,i){return i===t.getWebsiteColorVariable()?n.getWebsiteColorVariable():i}},{key:"updateColorInElementAfterWebsiteColorConnectionChange",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a;if(webwave.isDefAndNotEmpty(n.style.color)?a=n.style.color:"FONT"===
245n.nodeName&&webwave.isDefAndNotEmpty(n.color)&&(a=n.color),webwave.isDef(a)){var o=e.chooseConnectionFunction(r.connection)(i,a);a!==o&&(n.style.color=o)}for(var s=0;s<n.children.length;s++)e.updateColorInElementAfterWebsiteColorConnectionChange(n.children[s],i,r)}}
245,{key:"swapWebsiteColorIfValueIndicateToWebsiteColor",value:function e(t,n){return t.swapColors(n)}},{key:"chooseConnectionFunction",value:function t(n){switch(n){case u.a.CONNECT:return e.findWebsiteColorVariableOrReturnOriginalValue;
246case u.a.DISCONNECT:return e.findWebsiteColorValueOrReturnOriginalValue;case u.a.SWAP:return e.swapWebsiteColorIfValueIndicateToWebsiteColor}return function(){}}}]),e}()},1274:function(e,t,n){var i=n(0),r=n(1),a=n(927),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"stringAsc",value:function e(t,n){return t.sort(function(e,t){return a.a.ignoreCaseTextComparator(e[n],t[n])})}},{key:"stringDesc",value:function e(t,n){return t.sort(function(e,t){return-1*a.a.ignoreCaseTextComparator(e[n],
247t[n])})}},{key:"dateAsc",value:function e(t,n){return t.sort(function(e,t){return a.a.defaultComparator(e[n],t[n])})}},{key:"dateDesc",value:function e(t,n){return t.sort(function(e,t){return-1*a.a.defaultComparator(e[n],t[n])})}},{key:"numberAsc",value:function e(t,n){return t.sort(function(e,t){return a.a.defaultComparator(e[n],t[n])})}},{key:"numberDesc",value:function e(t,n){return t.sort(function(e,t){return-1*a.a.defaultComparator(e[n],t[n])})}}]),e}();t.a=o},1276:function(e,t,n){n.d(t,"a",
248function(){return a});var i=n(0),r=n(1),a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.headerTitle=t.headerTitle?t.headerTitle:"",this.orderConfirmedError=t.orderConfirmedError?t.orderConfirmedError:"",this.orderConfirmed=t.orderConfirmed?t.orderConfirmed:"",this.backFromPaymentProviderError=t.backFromPaymentProviderError?t.backFromPaymentProviderError:"",this.backFromPaymentProviderSuccess=t.backFromPaymentProviderSuccess?t.backFromPaymentProviderSuccess:
249"",this.testEnvironment=t.testEnvironment?t.testEnvironment:"",this.headersItems=t.headersItems?t.headersItems:"",this.headersInvoiceData=t.headersInvoiceData?t.headersInvoiceData:"",this.headersSummary=t.headersSummary?t.headersSummary:"",this.orderItemsPriceSum=t.orderItemsPriceSum?t.orderItemsPriceSum:"",this.keepShopping=t.keepShopping?t.keepShopping:"",this.back=t.back?t.back:"",this.close=t.close?t.close:"",this.ok=t.ok?t.ok:"",this.next=t.next?t.next:"",this.tryAgain=t.tryAgain?t.tryAgain:
250"",this.pay=t.pay?t.pay:"",this.confirmOrder=t.confirmOrder?t.confirmOrder:"",this.testPaymentEnvironmentInfo1=t.testPaymentEnvironmentInfo1?t.testPaymentEnvironmentInfo1:"",this.testPaymentEnvironmentInfo2=t.testPaymentEnvironmentInfo2?t.testPaymentEnvironmentInfo2:"",this.item=t.item?t.item:"",this.count=t.count?t.count:"",this.pricePerItem=t.pricePerItem?t.pricePerItem:"",this.price=t.price?t.price:"",this.emptyShoppingCart=t.emptyShoppingCart?t.emptyShoppingCart:"",this.invoiceDataHeader=t.invoiceDataHeader?
251t.invoiceDataHeader:"",this.invoiceDataActive=t.invoiceDataActive?t.invoiceDataActive:"",this.requiredValidatorText=t.requiredValidatorText?t.requiredValidatorText:"",this.order_clientType_individual=t.order_clientType_individual?t.order_clientType_individual:"",this.order_clientType_company=t.order_clientType_company?t.order_clientType_company:"",this.orderClientDataName=t.orderClientDataName?t.orderClientDataName:"",this.orderClientDataCompanyName=t.orderClientDataCompanyName?t.orderClientDataCompanyName:
252"",this.orderClientDataAddress1=t.orderClientDataAddress1?t.orderClientDataAddress1:"",this.orderClientDataAddress2=t.orderClientDataAddress2?t.orderClientDataAddress2:"",this.orderClientDataZipCode=t.orderClientDataZipCode?t.orderClientDataZipCode:"",this.orderClientDataCity=t.orderClientDataCity?t.orderClientDataCity:"",this.orderClientDataCountry=t.orderClientDataCountry?t.orderClientDataCountry:"",this.orderClientDataNoResult=t.orderClientDataNoResult?t.orderClientDataNoResult:"",this.orderClientDataCountryNotFound=
253t.orderClientDataCountryNotFound?t.orderClientDataCountryNotFound:"",this.orderClientDataTaxId=t.orderClientDataTaxId?t.orderClientDataTaxId:"",this.orderClientData_invoiceCheckboxLabel=t.orderClientData_invoiceCheckboxLabel?t.orderClientData_invoiceCheckboxLabel:"",this.postageDataHeader=t.postageDataHeader?t.postageDataHeader:"",this.notValidPostageOption=t.notValidPostageOption?t.notValidPostageOption:"",this.sendDataHeader=t.sendDataHeader?t.sendDataHeader:"",this.postageDataParcelNotSelected=
254t.postageDataParcelNotSelected?t.postageDataParcelNotSelected:"",this.anyPostageAvailable=t.anyPostageAvailable?t.anyPostageAvailable:"",this.paymentMethodHeader=t.paymentMethodHeader?t.paymentMethodHeader:"",this.online=t.online?t.online:"",this.delivery_not_defined_after_order=t.delivery_not_defined_after_order?t.delivery_not_defined_after_order:"",this.delivery_not_available_before_order=t.delivery_not_available_before_order?t.delivery_not_available_before_order:"",this.delivery_not_defined_before_order=
255t.delivery_not_defined_before_order?t.delivery_not_defined_before_order:"",this.paymentMethod_not_after_order=t.paymentMethod_not_after_order?t.paymentMethod_not_after_order:"",this.paymentMethod_not_before_order=t.paymentMethod_not_before_order?t.paymentMethod_not_before_order:"",this.freeShippingInfo=t.freeShippingInfo?t.freeShippingInfo:"",this.parcelLocker=t.parcelLocker?t.parcelLocker:"",this.changeParcelButton=t.changeParcelButton?t.changeParcelButton:"",this.contactDataHeader=t.contactDataHeader?
256t.contactDataHeader:"",this.phone=t.phone?t.phone:"",this.email=t.email?t.email:"",this.emailValidatorText=t.emailValidatorText?t.emailValidatorText:"",this.additionalOrderFieldsHeader=t.additionalOrderFieldsHeader?t.additionalOrderFieldsHeader:"",this.checkBoxValidationMessage=t.checkBoxValidationMessage?t.checkBoxValidationMessage:"",this.termsAndConditionsHeader=t.termsAndConditionsHeader?t.termsAndConditionsHeader:"",this.termsAndConditionsRequire=t.termsAndConditionsRequire?t.termsAndConditionsRequire:
257"",this.orderSummaryPostage=t.orderSummaryPostage?t.orderSummaryPostage:"",this.orderSummaryTax=t.orderSummaryTax?t.orderSummaryTax:"",this.taxValue=t.taxValue?t.taxValue:"",this.taxSummary=t.taxSummary?t.taxSummary:"",this.toPay=t.toPay?t.toPay:"",this.tel=t.tel?t.tel:"",this.e_mail=t.e_mail?t.e_mail:"",this.discountCodeLabel=t.discountCodeLabel?t.discountCodeLabel:"",this.discountCodeError404=t.discountCodeError404?t.discountCodeError404:"",this.discountCodeError405=t.discountCodeError405?t.discountCodeError405:
258"",this.verificationMessage=t.verificationMessage?t.verificationMessage:"",this.notVerifiedYetMessage=t.notVerifiedYetMessage?t.notVerifiedYetMessage:"",this.errorMessage=t.errorMessage?t.errorMessage:"",this.incorrectAuthentication=t.incorrectAuthentication?t.incorrectAuthentication:"",this.selectProductVariantPopupTitle=t.selectProductVariantPopupTitle?t.selectProductVariantPopupTitle:"",this.selectProductVariantPopupHint=t.selectProductVariantPopupHint?t.selectProductVariantPopupHint:"",this.selectProductVariantPopupAddToCart=
259t.selectProductVariantPopupAddToCart?t.selectProductVariantPopupAddToCart:"",this.productPrice
259=t.productPrice?t.productPrice:"",this.totalPrice=t.totalPrice?t.totalPrice:"",this.additionalPriceForVariant=t.additionalPriceForVariant?t.additionalPriceForVariant:"",this.notAvailableVariantSuffix=t.notAvailableVariantSuffix?t.notAvailableVariantSuffix:"",this.shop=t.shop?t.shop:"",this.testingOrderNumberWithPayment=t.testingOrderNumberWithPayment?t.testingOrderNumberWithPayment:"",this.orderNumber=t.orderNumber?
260t.orderNumber:"",this.paymentStatusHeader=t.paymentStatusHeader?t.paymentStatusHeader:"",this.providerStatus_overpaid=t.providerStatus_overpaid?t.providerStatus_overpaid:"",this.providerStatus_paid=t.providerStatus_paid?t.providerStatus_paid:"",this.providerStatus_underpaid=t.providerStatus_underpaid?t.providerStatus_underpaid:"",this.providerStatus_unpaid=t.providerStatus_unpaid?t.providerStatus_unpaid:"",this.summaryOrder=t.summaryOrder?t.summaryOrder:"",this.paymentOption=t.paymentOption?t.paymentOption:
261"",this.nip=t.nip?t.nip:"",this.postageData=t.postageData?t.postageData:"",this.sendData=t.sendData?t.sendData:"",this.contactData=t.contactData?t.contactData:"",this.additionalData=t.additionalData?t.additionalData:"",this.sellerInfo=t.sellerInfo?t.sellerInfo:"",this.invoiceData=t.invoiceData?t.invoiceData:"",this.discountCode=t.discountCode?t.discountCode:"",this.additionalText=t.additionalText?t.additionalText:"",this.postage=t.postage?t.postage:"",this.toPayMail=t.toPayMail?t.toPayMail:"",this.vatTax=
262t.vatTax?t.vatTax:"",this.vatTaxSummary=t.vatTaxSummary?t.vatTaxSummary:"",this.itemsHeader=t.itemsHeader?t.itemsHeader:"",this.itemsName=t.itemsName?t.itemsName:"",this.itemsCount=t.itemsCount?t.itemsCount:"",this.pricePerItemMail=t.pricePerItemMail?t.pricePerItemMail:"",this.totalPriceSum=t.totalPriceSum?t.totalPriceSum:"",this.description=t.description?t.description:"",this.payed=t.payed?t.payed:"",this.termsAndConditions=t.termsAndConditions?t.termsAndConditions:"",this.termsAndConditionsRequired=
263t.termsAndConditionsRequired?t.termsAndConditionsRequired:"",this.termsAndConditionsValue_true=t.termsAndConditionsValue_true?t.termsAndConditionsValue_true:"",this.termsAndConditionsValue_false=t.termsAndConditionsValue_false?t.termsAndConditionsValue_false:"",this.productStateException_text=t.productStateException_text?t.productStateException_text:"",this.productStateException_title=t.productStateException_title?t.productStateException_title:"",this.productNotAvailableException_text=t.productNotAvailableException_text?
264t.productNotAvailableException_text:"",this.productNotAvailableException_title=t.productNotAvailableException_title?t.productNotAvailableException_title:"",this.productNotAvailableException_yesLabel=t.productNotAvailableException_yesLabel?t.productNotAvailableException_yesLabel:"",this.productChangeState_information=t.productChangeState_information?t.productChangeState_information:"",this.notification_minimumAmountNotExceeded_part1=t.notification_minimumAmountNotExceeded_part1?t.notification_minimumAmountNotExceeded_part1:
265"",this.notification_minimumAmountNotExceeded_part2=t.notification_minimumAmountNotExceeded_part2?t.notification_minimumAmountNotExceeded_part2:"",this.shippingAddressDifferent=t.shippingAddressDifferent?t.shippingAddressDifferent:"",this.orderPendingHeader=t.orderPendingHeader?t.orderPendingHeader:"",this.orderConfirmedErrorHeader=t.orderConfirmedErrorHeader?t.orderConfirmedErrorHeader:"",this.orderConfirmedHeader=t.orderConfirmedHeader?t.orderConfirmedHeader:"",this.orderConfirmedText=t.orderConfirmedText?
266t.orderConfirmedText:"",this.streetAddress=t.streetAddress?t.streetAddress:"",this.apartmentNumber=t.apartmentNumber?t.apartmentNumber:"",this.clientType=t.clientType?t.clientType:"",this.goToCheckout=t.goToCheckout?t.goToCheckout:"",this.selectPoint=t.selectPoint?t.selectPoint:"",this.activate=t.activate?t.activate:"",this.backToShop=t.backToShop?t.backToShop:"",this.orderPendingText=t.orderPendingText?t.orderPendingText:"",this.postageAndPayment=t.postageAndPayment?t.postageAndPayment:"",this.clickLinkOnPreviewMessage=
267t.clickLinkOnPreviewMessage?t.clickLinkOnPreviewMessage:""}return Object(r.a)(e,[{key:"changeValueByKey",value:function e(t,n){this[t]=n}},{key:"getValueByKey",value:function e(t){return this[t]}},{key:"serialize",value:function e(){return{headerTitle:this.headerTitle,orderConfirmedError:this.orderConfirmedError,orderConfirmed:this.orderConfirmed,backFromPaymentProviderError:this.backFromPaymentProviderError,backFromPaymentProviderSuccess:this.backFromPaymentProviderSuccess,testEnvironment:this.testEnvironment,
268headersItems:this.headersItems,headersInvoiceData:this.headersInvoiceData,headersSummary:this.headersSummary,orderItemsPriceSum:this.orderItemsPriceSum,keepShopping:this.keepShopping,back:this.back,close:this.close,ok:this.ok,next:this.next,tryAgain:this.tryAgain,pay:this.pay,confirmOrder:this.confirmOrder,testPaymentEnvironmentInfo1:this.testPaymentEnvironmentInfo1,testPaymentEnvironmentInfo2:this.testPaymentEnvironmentInfo2,item:this.item,count:this.count,pricePerItem:this.pricePerItem,price:this.price,
269emptyShoppingCart:this.emptyShoppingCart,invoiceDataHeader:this.invoiceDataHeader,invoiceDataActive:this.invoiceDataActive,requiredValidatorText:this.requiredValidatorText,order_clientType_individual:this.order_clientType_individual,order_clientType_company:this.order_clientType_company,orderClientDataName:this.orderClientDataName,orderClientDataCompanyName:this.orderClientDataCompanyName,orderClientDataAddress1:this.orderClientDataAddress1,orderClientDataAddress2:this.orderClientDataAddress2,orderClientDataCity:this.orderClientDataCity,
270orderClientDataZipCode:this.orderClientDataZipCode,orderClientDataCountry:this.orderClientDataCountry,orderClientDataNoResult:this.orderClientDataNoResult,orderClientDataCountryNotFound:this.orderClientDataCountryNotFound,orderClientDataTaxId:this.orderClientDataTaxId,orderClientData_invoiceCheckboxLabel:this.orderClientData_invoiceCheckboxLabel,postageDataHeader:this.postageDataHeader,notValidPostageOption:this.notValidPostageOption,sendDataHeader:this.sendDataHeader,postageDataParcelNotSelected:this.postageDataParcelNotSelected,
271anyPostageAvailable:this.anyPostageAvailable,paymentMethodHeader:this.paymentMethodHeader,online:this.online,delivery_not_available_before_order:this.delivery_not_available_before_order,delivery_not_defined_after_order:this.delivery_not_defined_after_order,delivery_not_defined_before_order:this.delivery_not_defined_before_order,paymentMethod_not_after_order:this.paymentMethod_not_after_order,paymentMethod_not_before_order:this.paymentMethod_not_before_order,freeShippingInfo:this.freeShippingInfo,
272parcelLocker:this.parcelLocker,changeParcelButton:this.changeParcelButton,contactDataHeader:this.contactDataHeader,phone:this.phone,email:this.email,emailValidatorText:this.emailValidatorText,additionalOrderFieldsHeader:this.additionalOrderFieldsHeader,checkBoxValidationMessage:this.checkBoxValidationMessage,termsAndConditionsHeader:this.termsAndConditionsHeader,termsAndConditionsRequire:this.termsAndConditionsRequire,orderSummaryPostage:this.orderSummaryPostage,orderSummaryTax:this.orderSummaryTax,
273taxValue:this.taxValue,taxSummary:this.taxSummary,toPay:this.toPay,tel:this.tel,e_mail:this.e_mail,discountCodeLabel:this.discountCodeLabel,discountCodeError404:this.discountCodeError404,discountCodeError405:this.discountCodeError405,verificationMessage:this.verificationMessage,notVerifiedYetMessage:this.notVerifiedYetMessage,errorMessage:this.errorMessage,incorrectAuthentication:this.incorrectAuthentication,selectProductVariantPopupTitle:this.selectProductVariantPopupTitle,selectProductVariantPopupHint:this.selectProductVariantPopupHint,
274selectProductVariantPopupAddToCart:this.selectProductVariantPopupAddToCart,productPrice:this.productPrice,totalPrice:this.totalPrice,additionalPriceForVariant:this.additionalPriceForVariant,notAvailableVariantSuffix:this.notAvailableVariantSuffix,shop:this.shop,testingOrderNumberWithPayment:this.testingOrderNumberWithPayment,orderNumber:this.orderNumber,paymentStatusHeader:this.paymentStatusHeader,providerStatus_overpaid:this.providerStatus_overpaid,providerStatus_paid:this.providerStatus_paid,providerStatus_underpaid:this.providerStatus_underpaid,
275providerStatus_unpaid:this.providerStatus_unpaid,summaryOrder:this.summaryOrder,paymentOption:this.paymentOption,nip:this.nip,postageData:this.postageData,sendData:this.sendData,contactData:this.contactData,additionalData:this.additionalData,sellerInfo:this.sellerInfo,invoiceData:this.invoiceData,discountCode:this.discountCode,additionalText:this.additionalText,postage:this.postage,toPayMail:this.toPayMail,vatTax:this.vatTax,vatTaxSummary:this.vatTaxSummary,itemsHeader:this.itemsHeader,itemsName:this.itemsName,
276itemsCount:this.itemsCount,pricePerItemMail:this.pricePerItemMail,totalPriceSum:this.totalPriceSum,description:this.description,payed:this.payed,termsAndConditions:this.termsAndConditions,termsAndConditionsRequired:this.termsAndConditionsRequired,termsAndConditionsValue_true:this.termsAndConditionsValue_true,termsAndConditionsValue_false:this.termsAndConditionsValue_false,productStateException_title:this.productStateException_title,productStateException_text:this.productStateException_text,productNotAvailableException_text:this.productNotAvailableException_text,
277productNotAvailableException_title:this.productNotAvailableException_title,productNotAvailableException_yesLabel:this.productNotAvailableException_yesLabel,productChangeState_information:this.productChangeState_information,notification_minimumAmountNotExceeded_part1:this.notification_minimumAmountNotExceeded_part1,notification_minimumAmountNotExceeded_part2:this.notification_minimumAmountNotExceeded_part2,shippingAddressDifferent:this.shippingAddressDifferent,orderPendingHeader:this.orderPendingHeader,
278orderConfirmedErrorHeader:this.orderConfirmedErrorHeader,orderConfirmedHeader:this.orderConfirmedHeader,orderConfirmedText:this.orderConfirmedText,streetAddress:this.streetAddress,apartmentNumber:this.apartmentNumber,clientType:this.clientType,goToCheckout:this.goToCheckout,selectPoint:this.selectPoint,activate:this.activate,backToShop:this.backToShop,orderPendingText:this.orderPendingText,postageAndPayment:this.postageAndPayment,clickLinkOnPreviewMessage:this.clickLinkOnPreviewMessage}}}]),e}()},
2791278:function(e,t,n){var i={COLOR:"color",GRADIENT:"gradient"};t.a=i},1279:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;
280try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;if(Object(i.a)(this,n),void 0===e||void 0===e.pageId)throw webwave.debug("No page provided!"),new Error("No page provided!");return e.type="webwave.link.PageLinkData",(r=t.call(this,e)).pageId=e.pageId,r}return Object(r.a)(n,[{key:"toJSON",value:function e(){var t={type:this.t
280ype,target:this.target,pageId:this.pageId},n=this.getWPage();
281return t.pageName=void 0!==n?n.getName():this.pageId,t}},{key:"getShortName",value:function e(){var t=this.getWPage();return webwave.isDef(t)?t.getName():this.pageId}},{key:"setPageId",value:function e(t){this.pageId=t}},{key:"getPageLanguageId",value:function e(){return this.getWPage().getWLanguage().getId()}},{key:"getPageId",value:function e(){return this.pageId}},{key:"getLinkDefaultName",value:function e(){var t;return this.getWPage().getName()}},{key:"isValid",value:function e(){return!!this.getWPage()}},
282{key:"getWPage",value:function e(){return pageService.getWPageById(this.pageId)}}]),n}(n(839).a)},1282:function(e,t,n){n.d(t,"a",function(){return m});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(120),c=n(241),l=n(1581),d=n(15),h=n.n(d),f,v,g,p;function y(e){var t=b();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;
283if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var m=(f=Object(d.injectable)())((p=g=function(e){Object(a.a)(n,e);var t=y(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"handlePayProcedure",value:function e(t){try{var n;return window.Stripe(t.storeKey).redirectToCheckout({sessionId:t.sessionId})}catch(e){if(-1!==e.message.toLowerCase().indexOf("must use https"))throw new l.a;
284}}}]),n}(c.a),g.AVAILABLE_CURRENCIES=[u.a.AED,u.a.AFN,u.a.ALL,u.a.AMD,u.a.ANG,u.a.AOA,u.a.ARS,u.a.AUD,u.a.AWG,u.a.AZN,u.a.BAM,u.a.BBD,u.a.BDT,u.a.BGN,u.a.BIF,u.a.BMD,u.a.BND,u.a.BOB,u.a.BRL,u.a.BSD,u.a.BWP,u.a.BYN,u.a.BZD,u.a.CAD,u.a.CDF,u.a.CHF,u.a.CLP,u.a.CNY,u.a.COP,u.a.CRC,u.a.CVE,u.a.CZK,u.a.DJF,u.a.DKK,u.a.DOP,u.a.DZD,u.a.EGP,u.a.ETB,u.a.EURO,u.a.FJD,u.a.FKP,u.a.GBP,u.a.GEL,u.a.GIP,u.a.GMD,u.a.GNF,u.a.GTQ,u.a.GYD,u.a.HKD,u.a.HNL,u.a.HRK,u.a.HTG,u.a.HUF,u.a.IDR,u.a.ILS,u.a.INR,u.a.ISK,u.a.JMD,
285u.a.JPY,u.a.KES,u.a.KGS,u.a.KHR,u.a.KMF,u.a.KRW,u.a.KYD,u.a.KZT,u.a.LAK,u.a.LBP,u.a.LKR,u.a.LRD,u.a.LSL,u.a.MAD,u.a.MDL,u.a.MGA,u.a.MKD,u.a.MMK,u.a.MNT,u.a.MOP,u.a.MRO,u.a.MUR,u.a.MVR,u.a.MWK,u.a.MXN,u.a.MYR,u.a.MZN,u.a.NAD,u.a.NGN,u.a.NIO,u.a.NOK,u.a.NPR,u.a.NZD,u.a.PAB,u.a.PEN,u.a.PGK,u.a.PHP,u.a.PKR,u.a.PLN,u.a.PYG,u.a.QAR,u.a.RON,u.a.RSD,u.a.RUB,u.a.RWF,u.a.SAR,u.a.SBD,u.a.SCR,u.a.SEK,u.a.SGD,u.a.SHP,u.a.SLE,u.a.SLL,u.a.SOS,u.a.SRD,u.a.STD,u.a.SZL,u.a.THB,u.a.TJS,u.a.TOP,u.a.TRY,u.a.TTD,u.a.TWD,
286u.a.TZS,u.a.UAH,u.a.UGX,u.a.USD,u.a.UYU,u.a.UZS,u.a.VND,u.a.VUV,u.a.WST,u.a.XAF,u.a.XCD,u.a.XOF,u.a.XPF,u.a.YER,u.a.ZAR,u.a.ZMW],v=p))||v},1283:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e),this._browserZoom=this._getCurrentZoom()}return Object(r.a)(e,[{key:"getBrowserZoom",value:function e(){return this._browserZoom}},{key:"zoomValueChanged",value:function e(){return this._browserZoom!==this._getCurrentZoom()&&(this._browserZoom=this._getCurrentZoom(),
287!0)}},{key:"_getCurrentZoom",value:function e(){return Math.round(100*window.devicePixelRatio)}}]),e}()},1284:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(210),o=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.top=webwave.parseNumber(t.top),this.right=webwave.parseNumber(t.right),this.bottom=webwave.parseNumber(t.bottom),this.left=webwave.parseNumber(t.left),webwave.isDef(t.enabled)?this.enabled=t.enabled:this.enabled=this._computeEnabledValue()}return Object(r.a)(e,
288[{key:"serialize",value:function e(){return{top:this.top,right:this.right,bottom:this.bottom,left:this.left,enabled:this.enabled}}},{key:"_computeEnabledValue",value:function e(){for(var t=!1,n=Object.values(a.a),i=0;i<n.length;i++)if(this[n[i]]>0){t=!0;break}return t}},{key:"toCss2Map",value:function e(){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?
289this.left:0,"px")}
289}},{key:"clone",value:function t(){return new e({left:this.left,top:this.top,right:this.right,bottom:this.bottom,enabled:this.enabled})}},{key:"applyPartialPaddingMap",value:function e(t){webwave.isDef(t)&&(webwave.isNumberAndNotNaN(t.top)&&(this.top=t.top),webwave.isNumberAndNotNaN(t.right)&&(this.right=t.right),webwave.isNumberAndNotNaN(t.bottom)&&(this.bottom=t.bottom),webwave.isNumberAndNotNaN(t.left)&&(this.left=t.left),webwave.isDef(t.enabled)&&(this.enabled=t.enabled))}},
290{key:"getComputedTop",value:function e(){return this.enabled?this.top:0}},{key:"getComputedRight",value:function e(){return this.enabled?this.right:0}},{key:"getComputedLeft",value:function e(){return this.enabled?this.left:0}},{key:"getComputedBottom",value:function e(){return this.enabled?this.bottom:0}}],[{key:"deserialize",value:function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({top:n.top,right:n.right,bottom:n.bottom,left:n.left,enabled:n.enabled})}}]),
291e}()},1294:function(e,t,n){t.a={ALL:"all",ONLY_ONLINE:"only_online",ONLY_ON_DELIVERY:"only_on_delivery"}},1295:function(e,t,n){var i={ALL_PRODUCTS:"allProducts",PRODUCT_CATEGORIES:"productCategories",SELECTED_PRODUCTS:"selectedProducts"};t.a=i},1296:function(e,t,n){n.d(t,"a",function(){return g});var i=n(14),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l;function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,
292t).enumerable})),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e){var t=v();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;
293r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=function(e){Object(s.a)(n,e);var t=f(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(this,n),(e=
294t.call(this,i)).update(i),e}return Object(a.a)(n,[{key:"update",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(o.a)(Object(c.a)(n.prototype),"update",this).call(this,t),this._type=t.type,this._require=t.require,this._label=t.label}},{key:"type",get:function e(){return this._type},set:function e(t){this._type=t}},{key:"label",get:function e(){return this._label},set:function e(t){this._label=t}},{key:"name",get:function e(){return this.label}},{key:"require",
295get:function e(){return this._require},set:function e(t){this._require=t}},{key:"serialize",value:function e(){return h(h({},Object(o.a)(Object(c.a)(n.prototype),"serialize",this).call(this)),{},{type:this._type,require:this._require,label:this._label})}},{key:"equals",value:function e(t){return this._label===t._label&&this._require===t._require&&this._type===t._type}}]),n}(n(979).a)},1297:function(e,t,n){n.d(t,"a",function(){return p});var i=n(14),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(1212),
296d;function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,
297t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e){var t=g();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}
298var p=function(e){Object(s.a)(n,e);var t=v(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(this,n),(e=t.call(this,i)).update(i),e}return Object(a.a)(n,[{key:"update",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(o.a)(Object(c.a)(n.prototype),"update",this).call(this,t),this._name=t.name,this._description=t.description,this._require=t.require,this._link=new l.a(t.link||{})}},{key:"name",get:function e(){return this._name},
299set:function e(t){this._name=t}},{key:"require",get:function e(){return this._require},set:function e(t){this._require=t}},{key:"description",get:function e(){return this._description},set:function e(t){this._description=t}},{key:"link",get:function e(){return this._link},set:function e(t){this._link=t}},{key:"url",get:function e(){var t;return null===(t=this._link)||void 0===t?void 0:t.url}},{key:"serialize",value:function e(){return f(f({},Object(o.a)(Object(c.a)(n.prototype),"serialize",this).call(this)),
300{},{name:this._name,description:this._description,require:this._require,link:this._link.serialize()})}},{key:"printLabel",value:function e(){return this.description?this.description:this.name}}]),n}(n(979).a)},1298:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,
301r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"enteredViewportHandler",value:function e(){var t=$(this.getDomObject()),i=t.attr(n.LAZY_LOAD_ATTR_NAME);t.attr("src",
302this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(i,this.getDomObject()))}}]),n}(n(1568).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},1299:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(226),l=n(2027),d=n(106);function h(e){var t=f();return function n(){var i=
303Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(o.a)(n,e);var t=h(n);function n(e){var r;return Object(i.a)(this,n),(r=
304t.call(this,e))._cropType=webwave.isValidEnumValue(e.cropType,c.a)?e.cropType:null,r}return Object(r.a)(n,[{key:"serialize",value:function e(){return Object.assign(Object(a.a)(Object(u.a)(n.prototype),"serialize",this).call(this),{cropType:this.getCropType()})}},{key:"loadValueFromObject",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"loadValueFromObject",this).call(this,t),this.setCropType(t.getCropType())}},{key:"getCropType",value:function e(){return this._cropType}},{key:"setCropType",
305value:function e(t){this._cropType=t}}
305,{key:"isCropTypeValidToCropping",value:function e(){return n.isCropTypeValidToCropping(this.getCropType())}}],[{key:"deserialize",value:function e(t){return new n(t)}},{key:"createDefaultWithCropType",value:function e(t){return new n({cropType:t,x:{value:50,unit:d.a.PERCENT},y:{value:50,unit:d.a.PERCENT}})}},{key:"isCropTypeValidToCropping",value:function e(t){return t!==c.a.FULL_WIDTH}}]),n}(l.a)},1300:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),
306r=n(1),a=n(40),o=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(i.a)(this,e),this.wFeed=t,this.type=void 0}return Object(r.a)(e,[{key:"getParentWObject",value:function e(){return this.wFeed}},{key:"loadAdditionalRwdProperties",value:function e(){}},{key:"shouldAddToCountMinSize",value:function e(){return!1}},{key:"shouldAddWidth",value:function e(){return!1}},{key:"countMinSize",value:function e(){var t=this.wFeed.getInnerElementStyles(this.type);return new a.a({width:webwave.isDefAndNotNull(t)?
307t.getHorizontalSpace():0,height:0})}},{key:"updateSingleFeedItemElData",value:function e(){}}]),e}()},1301:function(e,t,n){var i=n(210);t.a={DEFAULT_ANIMATION_TIME:300,DEFAULT_DIRECTION:i.a.TOP}},1325:function(e,t,n){n.d(t,"a",function(){return m});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(30),c=n(120),l=n(241),d=n(15),h=n.n(d),f,v,g,p;function y(e){var t=b();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,
308arguments);return Object(o.a)(this,r)}}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var m=(f=Object(d.injectable)())((p=g=function(e){Object(a.a)(n,e);var t=y(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"handlePayProcedure",value:function e(t){this.locationService.openUrl(t.url)}},
309{key:"hasExternalConfigurationLinks",value:function e(){return!0}},{key:"getExternalConfigurationLinksList",value:function e(){return[n.ITN,n.BACK_URL]}},{key:"getExternalConfigurationLink",value:function e(t){var i=u.a.getValue("linkToWebsite");switch(t){case n.ITN:return"".concat(i).concat(n.ITN_PATH);case n.BACK_URL:return"".concat(i).concat(n.BACK_URL_PATH)}}}]),n}(l.a),g.AVAILABLE_CURRENCIES=[c.a.PLN],g.ITN="ITN",g.BACK_URL="backUrl",g.ITN_PATH="/_app/shop/notificationAutopay",g.BACK_URL_PATH=
310"/?backFromPaymentProvider=true&status=TO_VERIFY",v=p))||v},1326:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(120),c=n(241),l=n(15),d=n.n(l),h,f,v,g;function p(e){var t=y();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;
311if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=(h=Object(l.injectable)())((g=v=function(e){Object(a.a)(n,e);var t=p(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"handlePayProcedure",value:function e(t){this.locationService.openUrl(t.url)}}]),n}(c.a),v.AVAILABLE_CURRENCIES=[u.a.RON],f=g))||f},1327:function(e,t,n){n.d(t,"a",function(){return b});var i=
312n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(120),c=n(241),l=n(15),d=n.n(l),h,f,v,g;function p(e){var t=y();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),
313!0}catch(e){return!1}}var b=(h=Object(l.injectable)())((g=v=function(e){Object(a.a)(n,e);var t=p(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this)).errorCodes=[400,401,404,409,500],e}return Object(r.a)(n,[{key:"handlePayProcedure",value:function e(t){this.locationService.openUrl(t.url)}},{key:"isKnownError",value:function e(t){var n;return!!this.errorCodes.includes(null===t||void 0===t?void 0:null===(n=t.data)||void 0===n?void 0:n.code)}},{key:"getErrorTranslate",value:function e(t){var n;
314switch(null===t||void 0===t?void 0:null===(n=t.data)||void 0===n?void 0:n.code){case 401:return"incorrectAuthentication";default:return"errorMessage"}}}]),n}(c.a),v.AVAILABLE_CURRENCIES=[u.a.PLN],f=g))||f},1328:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(120),c=n(241),l=n(15),d=n.n(l),h,f,v,g;function p(e){var t=y();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,
315arguments);return Object(o.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=(h=Object(l.injectable)())((g=v=function(e){Object(a.a)(n,e);var t=p(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"handlePayProcedure",value:function e(t){this.locationService.openUrl(t.url)}}]),
316n}(c.a),v.AVAILABLE_CURRENCIES=[u.a.AUD,u.a.BRL,u.a.CAD,u.a.CHF,u.a.CNY,u.a.CZK,u.a.DKK,u.a.EURO,u.a.GBP,u.a.HKD,u.a.HUF,u.a.ILS,u.a.JPY,u.a.MXN,u.a.MYR,u.a.NOK,u.a.NZD,u.a.PHP,u.a.PLN,u.a.RUB,u.a.SEK,u.a.SGD,u.a.THB,u.a.TWD,u.a.USD],f=g))||f},1329:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,
317arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._unit=e.unit,r}return Object(r.a)(n,[{key:"inputType",get:function e(){return"text"}},{key:"short",
318get:function e(){return!0}},{key:"translationPrefix",get:function e(){return"com.webwave.common.ui.inputRange"}},{key:"unit",get:function e(){return this._unit}},{key:"isFilled",value:function e(){return webwave.isDefAndNotNull(this.from)&&webwave.isDefAndNotNull(this.to)}},{key:"rangeIsNotOk",value:function e(){return Number.parseInt(this.from)>Number.parseInt(this.to)}},{key:"serialize",value:function e(){return{to:this.to,from:this.from}}},{key:"valueInRange",value:function e(t){return Number.parseFloat(this.to)>=
319t&&Number.parseFloat(this.from)<=t}}]),n}(n(234).a)},1331:function(e,t,n){var i=n(1244),r={submitButton:{normal:{backgroundColor:i.a.BRAND,color:i.a.SECOND_NEUTRAL},hover:{backgroundColor:i.a.SECONDARY}}
319,input:{normal:{backgroundColor:i.a.COMPLEMENTARY,border:i.a.FIRST_NEUTRAL}},button:{normal:{backgroundColor:i.a.BRAND},hover:{backgroundColor:i.a.SECONDARY}},product:{normal:{backgroundColor:i.a.BRAND},hover:{backgroundColor:i.a.SECONDARY}},shopCart:{normal:{backgroundColor:i.a.BRAND},hover:{backgroundColor:i.a.SECONDARY}},
320login:{loggedIn:{backgroundColor:i.a.BRAND},notLoggedIn:{backgroundColor:i.a.BRAND}},menuItem:{activeStyle:{color:i.a.BRAND,borderColor:i.a.BRAND},hoverStyle:{color:i.a.SECONDARY,borderColor:i.a.SECONDARY},normalStyle:{color:i.a.FIRST_NEUTRAL,borderColor:"transparent"}},date:{normal:{color:i.a.FIRST_NEUTRAL}},selectedPaginationIndex:{normal:{color:i.a.SECOND_NEUTRAL,backgroundColor:i.a.BRAND}},paginationIndex:{normal:{color:i.a.SECONDARY}},news:{normal:{}},header:{normal:{color:i.a.BRAND}},counter:{color:i.a.BRAND},
321gallery:{header:{color:i.a.SECOND_NEUTRAL}},slider:{header:{color:i.a.SECOND_NEUTRAL},description:{color:i.a.SECOND_NEUTRAL}}};t.a=r},1333:function(e,t,n){var i={ABSOLUTE_URL:"absoluteURL",PHONE:"phone",EMAIL:"email",USER_FILE:"userFile"};t.a=i},134:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(92),c;function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,
322arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"getSource",value:function e(){return this._source}}]),n}(n(841).a)},137:function(e,
323t,n){n.d(t,"a",function(){return S});var i=n(57);const r={DEBUG:0,INFO:1,WARN:2,ERROR:3};let a=!1,o=0;function s(e){a=e}function u(){return a}function c(e){if(e&&Object(i.isDefAndNotNull)(e.debug)){let t=e.debug;Object(i.isString)(t)&&(t="true"===t.toLowerCase()),s(t)}}function l(e){return!!a&&e>=o}function d(...e){l(0)&&console.log(...e)}function h(...e){l(1)&&console.info(...e)}function f(...e){l(2)&&console.warn(...e)}function v(...e){l(3)&&console.error(...e)}function g(e,...t){l(0)&&console.log(e,
324...t)}function p(e){c(e)}function y(){return{enabled:a,level:o}}function b(e){s(e)}function m(){return u()}function w(e){if(Object(i.isString)(e))o=r[e.toUpperCase()]||0;else{if(!Object(i.isNumber)(e))throw new Error("Invalid log level");o=e}}const S={debug:(...e)=>d(...e),info:(...e)=>h(...e),log:(...e)=>h(...e),warn:(...e)=>f(...e),error:(...e)=>v(...e),debugWithPrefix:(e,...t)=>g(e,...t),configure:{set:e=>p(e),get:()=>y(),setEnabled:e=>b(e),isEnabled:()=>m(),setLevel:e=>w(e)},LogLevel:r}},138:function(e,
325t,n){function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}t.a=i},139:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},14:function(e,t,n){function i(e,t,n){return t in
326e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=i},140:function(e,t,n){n.d(t,"a",function(){return c});var i=n(0),r=n(1),a=n(119),o=n(49),s=n(925),u=n(40),c=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this._position=new o.a(t.position),this._size=new u.a(t.size)}return Object(r.a)(e,[{key:"getSize",value:function e(){return this._size}},{key:"setSize",value:function e(t){this._size=t}},{key:"getPosition",value:function e(){return this._position}},
327{key:"setPosition",value:function e(t){this._position=t}},{key:"equals",value:function e(t){return this.getPosition().equals(t.getPosition())&&this.getSize().equals(t.getSize())}},{key:"clone",value:function t(){return new e({size:this.getSize().clone(),position:this.getPosition().clone()})}},{key:"moveBy",value:function e(t){this.getPosition().add(t)}},{key:"getX1",value:function e(){return this.getPosition().getX()}},{key:"setX1",value:function e(t){var n=t-this.getPosition().getX();
327this.getSize().setWidth(this.getSize().getWidth()-
328n),this.getPosition().setX(t)}},{key:"getX2",value:function e(){return this.getPosition().getX()+this.getSize().getWidth()}},{key:"setX2",value:function e(t){this.getSize().setWidth(t-this.getPosition().getX())}},{key:"getY1",value:function e(){return this.getPosition().getY()}},{key:"setY1",value:function e(t){var n=t-this.getPosition().getY();this.getSize().setHeight(this.getSize().getHeight()-n),this.getPosition().setY(t)}},{key:"getY2",value:function e(){return this.getPosition().getY()+this.getSize().getHeight()}},
329{key:"setY2",value:function e(t){this.getSize().setHeight(t-this.getPosition().getY())}},{key:"getWidth",value:function e(){return this.getSize().getWidth()}},{key:"setWidth",value:function e(t){this.getSize().setWidth(t)}},{key:"getHeight",value:function e(){return this.getSize().getHeight()}},{key:"setHeight",value:function e(t){this.getSize().setHeight(t)}},{key:"intersects",value:function e(t){return this.getX1()<=t.getX2()&&this.getX2()>=t.getX1()&&this.getY1()<=t.getY2()&&this.getY2()>=t.getY1()}},
330{key:"getCenterX",value:function e(){return this.getPosition().getX()+this.getSize().getWidth()/2}},{key:"getCenterY",value:function e(){return this.getPosition().getY()+this.getSize().getHeight()/2}},{key:"getCenter",value:function e(){return new o.a({x:this.getCenterX(),y:this.getCenterY()})}},{key:"containsMoreThanHalf",value:function e(t){var n=t.getCenterX(),i=t.getCenterY();return i>=this.getPosition().getY()&&i<=this.getY2()&&n>=this.getPosition().getX()&&n<=this.getX2()}},{key:"join",value:function e(t){return this.setX1(Math.min(this.getX1(),
331t.getX1())),this.setY1(Math.min(this.getY1(),t.getY1())),this.setX2(Math.max(this.getX2(),t.getX2())),this.setY2(Math.max(this.getY2(),t.getY2())),this}},{key:"collidesXByHalf",value:function e(t){var n=this.getCenterX(),i=t.getCenterX();return n>=t.getX1()&&n<=t.getX2()||i>=this.getX1()&&i<=this.getX2()}},{key:"collidesYByHalf",value:function e(t){var n=this.getCenterY(),i=t.getCenterY();return n>=t.getY1()&&n<=t.getY2()||i>=this.getY1()&&i<=this.getY2()}},{key:"crossCollidesByHalf",value:function e(t){return this.collidesXByHalf(t)||
332this.collidesYByHalf(t)}},{key:"crossCollidesY",value:function e(t){return this.getY1()<=t.getY2()&&this.getY2()>=t.getY1()}},{key:"crossCollidesX",value:function e(t){return this.getX1()<=t.getX2()&&this.getX2()>=t.getX1()}},{key:"contains",value:function e(t){return this.getX1()<=t.getX1()&&this.getX2()>=t.getX2()&&this.getY1()<=t.getY1()&&this.getY2()>=t.getY2()}},{key:"getDistance2D",value:function e(t){var n=this.getDistance2DWithAvailableNegativeValue(t);return new o.a({x:Math.max(n.x,0),y:Math.max(n.y,
3330)})}},{key:"getDistance2DWithAvailableNegativeValue",value:function e(t){var n=this.getXDistance(t),i=this.getYDistance(t);return new o.a({x:n,y:i})}},{key:"getXDistance",value:function e(t){return this.getX1()<t.getX1()?t.getX1()-this.getX2():this.getX1()-t.getX2()}},{key:"getYDistance",value:function e(t){return this.getY1()<t.getY1()?t.getY1()-this.getY2():this.getY1()-t.getY2()}},{key:"getRectBetweenY",value:function t(n){var i={x:Math.min(this.getX1(),n.getX1()),y:Math.min(this.getY2(),n.getY2())};
334return new e({position:i,size:{height:Math.max(0,Math.max(this.getY1(),n.getY1())-i.y),width:Math.max(this.getX2(),n.getX2())-i.x}})}},{key:"getRectBetweenX",value:function t(n){var i={x:Math.min(this.getX2(),n.getX2()),y:Math.min(this.getY1(),n.getY1())};return new e({position:i,size:{height:Math.max(this.getY2(),n.getY2())-i.y,width:Math.max(0,Math.max(this.getX1(),n.getX1())-i.x)}})}},{key:"moveTo",value:function e(t){var n=t.clone();n.subtract(this.getPosition()),this.moveBy(n)}},{key:"isPointAbove",
335value:function e(t){return t.getY()<this.getY1()}},{key:"isPointBelow",value:function e(t){return t.getY()>this.getY2()}},{key:"isPointOnTheLeft",value:function e(t){return t.getX()<this.getX1()}},{key:"isPointOnTheRight",value:function e(t){return t.getX()>this.getX2()}},{key:"isRectangleAbove",value:function e(t){return this.getY1()>t.getY2()}},{key:"isRectangleBelow",value:function e(t){return this.getY2()<t.getY1()}},{key:"isRectangleOnTheRight",value:function e(t){return this.getX2()<t.getX1()}},
336{key:"isRectangleOnTheLeft",value:function e(t){return this.getX1()>t.getX2()}},{key:"getRelativePosition",value:function e(t){return this.isRectangleAbove(t)?this.isRectangleOnTheLeft(t)?s.a.TOP_LEFT:this.isRectangleOnTheRight(t)?s.a.TOP_RIGHT:this.getCenterX()<t.getX1()?s.a.TOP_EXTENDS_RIGHT:this.getCenterX()>t.getX2()?s.a.TOP_EXTENDS_LEFT:s.a.TOP:this.isRectangleBelow(t)?this.isRectangleOnTheLeft(t)?s.a.BOTTOM_LEFT:this.isRectangleOnTheRight(t)?s.a.BOTTOM_RIGHT:this.getCenterX()<t.getX1()?s.a.BOTTOM_EXTENDS_RIGHT:
337this.getCenterX()>t.getX2()?s.a.BOTTOM_EXTENDS_LEFT:s.a.BOTTOM:this.isRectangleOnTheLeft(t)?this.getCenterY()>t.getY2()?s.a.LEFT_EXTENDS_TOP:this.getCenterY()<t.getY1()?s.a.LEFT_EXTENDS_BOTTOM:s.a.LEFT:this.isRectangleOnTheRight(t)?this.getCenterY()>t.getY2()?s.a.RIGHT_EXTENDS_TOP:this.getCenterY()<t.getY1()?s.a.RIGHT_EXTENDS_BOTTOM:s.a.RIGHT:void 0}},{key:"containsPoint",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(this.isPointBetweenX(t)||!0===n.checkIsBetweenY)&&
338(this.isPointBetweenY(t)||!0===n.checkIsBetweenX)}},{key:"isPointBetweenX",value:function e(t){return this.getX1()<=t.getX()&&this.getX2()>=t.getX()}},{key:"isPointBetweenY",value:function e(t){return this.getY1()<=t.getY()&&this.getY2()>=t.getY()}},{key:"countYDistanceToPoint",value:function e(t){return Math.min(Math.abs(this.getY1()-t.getY()),Math.abs(this.getY2()-t.getY()))}},{key:"addSize",value:function e(t){this._size.add(t)}},{key:"addSizeValueByOrientation",value:function e(t,n){switch(n){case a.a.HORIZONTAL:this._size.addWidth(t);
339break;case a.a.VERTICAL:this._size.addHeight(t);break}}},{key:"getTopCenterPoint",value:function e(){return new o.a({x:this.getCenterX(),y:this.getY1()})}},{key:"getTopRightPoint",value:function e(){return new o.a({x:this.getX2(),y:this.getY1()})}}]),e}()},142:function(e,t,n){t.a=r;var i=n(138);function r(e,t){if(e){if("string"==typeof e)return Object(i.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):
340"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(e,t):void 0}}}
340,15:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.multiBindToService=t.getServiceIdentifierAsString=t.typeConstraint=t.namedConstraint=t.taggedConstraint=t.traverseAncerstors=t.decorate=t.id=t.MetadataReader=t.postConstruct=t.targetName=t.multiInject=t.unmanaged=t.optional=t.LazyServiceIdentifer=t.inject=t.named=t.tagged=t.injectable=t.ContainerModule=t.AsyncContainerModule=t.TargetTypeEnum=
341t.BindingTypeEnum=t.BindingScopeEnum=t.Container=t.METADATA_KEY=void 0;var i=n(22);t.METADATA_KEY=i;var r=n(284);Object.defineProperty(t,"Container",{enumerable:!0,get:function(){return r.Container}});var a=n(43);Object.defineProperty(t,"BindingScopeEnum",{enumerable:!0,get:function(){return a.BindingScopeEnum}}),Object.defineProperty(t,"BindingTypeEnum",{enumerable:!0,get:function(){return a.BindingTypeEnum}}),Object.defineProperty(t,"TargetTypeEnum",{enumerable:!0,get:function(){return a.TargetTypeEnum}});
342var o=n(300);Object.defineProperty(t,"AsyncContainerModule",{enumerable:!0,get:function(){return o.AsyncContainerModule}}),Object.defineProperty(t,"ContainerModule",{enumerable:!0,get:function(){return o.ContainerModule}});var s=n(301);Object.defineProperty(t,"injectable",{enumerable:!0,get:function(){return s.injectable}});var u=n(302);Object.defineProperty(t,"tagged",{enumerable:!0,get:function(){return u.tagged}});var c=n(303);Object.defineProperty(t,"named",{enumerable:!0,get:function(){return c.named}});
343var l=n(165);Object.defineProperty(t,"inject",{enumerable:!0,get:function(){return l.inject}}),Object.defineProperty(t,"LazyServiceIdentifer",{enumerable:!0,get:function(){return l.LazyServiceIdentifer}});var d=n(304);Object.defineProperty(t,"optional",{enumerable:!0,get:function(){return d.optional}});var h=n(305);Object.defineProperty(t,"unmanaged",{enumerable:!0,get:function(){return h.unmanaged}});var f=n(306);Object.defineProperty(t,"multiInject",{enumerable:!0,get:function(){return f.multiInject}});
344var v=n(307);Object.defineProperty(t,"targetName",{enumerable:!0,get:function(){return v.targetName}});var g=n(308);Object.defineProperty(t,"postConstruct",{enumerable:!0,get:function(){return g.postConstruct}});var p=n(163);Object.defineProperty(t,"MetadataReader",{enumerable:!0,get:function(){return p.MetadataReader}});var y=n(55);Object.defineProperty(t,"id",{enumerable:!0,get:function(){return y.id}});var b=n(48);Object.defineProperty(t,"decorate",{enumerable:!0,get:function(){return b.decorate}});
345var m=n(168);Object.defineProperty(t,"traverseAncerstors",{enumerable:!0,get:function(){return m.traverseAncerstors}}),Object.defineProperty(t,"taggedConstraint",{enumerable:!0,get:function(){return m.taggedConstraint}}),Object.defineProperty(t,"namedConstraint",{enumerable:!0,get:function(){return m.namedConstraint}}),Object.defineProperty(t,"typeConstraint",{enumerable:!0,get:function(){return m.typeConstraint}});var w=n(65);Object.defineProperty(t,"getServiceIdentifierAsString",{enumerable:!0,
346get:function(){return w.getServiceIdentifierAsString}});var S=n(309);Object.defineProperty(t,"multiBindToService",{enumerable:!0,get:function(){return S.multiBindToService}})},1541:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1145),c=n(215),l=n(1585);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==
347typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),(e=t.call(this,r))._freeShippingSettings=new l.a(r.freeShippingSettings),e}return Object(r.a)(n,[{key:"createObject",value:function e(t){return new u.a(t)}},
348{key:"postageOptionsExist",value:function e(){var t;return(null===(t=this.value)||void 0===t?void 0:t.length)>0}},{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{enable:this.enable,value:this.getSerializeValue(t),freeShippingSettings:this._freeShippingSettings.serialize()}}},{key:"freeShippingSettings",get:function e(){return this._freeShippingSettings}},{key:"getFreeShippingValue",value:function e(){if(webwave.isDef(this.value)&&this.value.length>
3490)return this.freeShippingSettings.value}},{key:"removeOption",value:function e(t){t.setDeleted(!0)}}]),n}(c.a)},1542:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(10),c=n(1295),l=n(970),d=n(71);function h(e){var t=f();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;
350if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(a.a)(n,e);var t=h(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),(e=t.call(this)).update(r),e}return Object(r.a)(n,[{key:"update",value:function e(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.id=i.id,this.code=
351i.code,this.discount=this._readDiscountValue(i.discount),this.expireDate=i.expireDate?new Date(i.expireDate):void 0,this.maxUsage=i.maxUsage,this.discountCodeType=null!==(t=i.discountCodeType)&&void 0!==t?t:n.DEFAULT_DISCOUNT_CODE_TYPE,this.deleted=i.deleted||!1,this.selectedProducts=i.selectedProducts||[],this.selectedCategories=i.selectedCategories||[]}},{key:"_readDiscountValue",value:function e(t){return webwave.isStringAndNotEmpty(t)?t.replace("%",""):""}},{key:"constraints",get:function e(){return{code:d.a.DISCOUNT_CODE,
352discount:d.a.DISCOUNT_VALUE,expireDate:d.a.DATE_NOT_REQUIRE,maxUsage:d.a.NUMBER_USAGE_NOT_REQUIRE,discountCodeType:d.a.REQUIRE}
352}},{key:"translationPrefix",get:function e(){return"storeSettings.discountCode"}},{key:"serializeForCreateGroup",value:function e(){var t;return{id:this.id,code:this.code,discount:this.discount,expireDate:this.expireDate,maxUsage:this.maxUsage,productsCategories:this.productsCategories,products:this.products,discountCodeType:this.discountCodeType,deleted:this.deleted,selectedProducts:this.selectedProducts,
353selectedCategories:this.selectedCategories}}},{key:"serialize",value:function e(){return this.serializeForCreateGroup()}},{key:"setDeleted",value:function e(){this.deleted=!0}},{key:"name",get:function e(){var t=this.code;return webwave.isStringAndNotEmpty(this.expireDate)&&(t+="(".concat(this.formattedDate,")")),t+=" - ".concat(this.discount,"%")}},{key:"formattedDate",get:function e(){return webwave.isDefAndNotNull(this.expireDate)&&this.expireDate instanceof Date?u.DateUtils.dateToString(this.expireDate,
354"dd-mm-yyyy"):""}},{key:"validate",value:function e(){return d.a.REQUIRE.validate(this.code)&&d.a.DISCOUNT_VALUE.validate(this.discount)&&d.a.DATE_NOT_REQUIRE.validate(this.expireDate)&&d.a.NUMBER_USAGE_NOT_REQUIRE.validate(this.maxUsage)}},{key:"clone",value:function e(){return new n(this.serialize())}},{key:"isExpired",value:function e(){if(webwave.isDefAndNotNull(this.expireDate)){var t=u.DateUtils.getEndOfTheDay(this.expireDate);return!1===u.DateUtils.dateIsGreaterThenNow(t)}return!1}}]),n}(l.a);
355v.DEFAULT_DISCOUNT_CODE_TYPE=c.a.ALL_PRODUCTS},1543:function(e,t,n){t.a={BRAND:"brand",SECONDARY:"secondary",COMPLEMENTARY:"complementary",FIRST_NEUTRAL:"neutral1",SECOND_NEUTRAL:"neutral2"}},1544:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1333),c=n(839),l=n(1714);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,
356r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),void 0===e.customLinkType&&(e.customLinkType=u.a.ABSOLUTE_URL),e.customLinkType===u.a.USER_FILE&&e.type!==l.a.FILE&&(e.customLinkType=u.a.ABSOLUTE_URL),
357!1===webwave.isDefAndNotNull(Object.values(l.a).find(function(t){return t===e.type}))&&(e.type=l.a.CUSTOM),(r=t.call(this,e)).customLinkType=e.customLinkType,r.href=e.href,r.urlType=e.urlType,r}return Object(r.a)(n,[{key:"getShortName",value:function e(){return this.href}},{key:"setHref",value:function e(t){this.href=t}},{key:"getHref",value:function e(){return this.href}},{key:"getCustomLinkType",value:function e(){return this.customLinkType}},{key:"setCustomLinkType",value:function e(t){this.customLinkType=
358t}},{key:"getUrlType",value:function e(){return this.urlType}},{key:"setUrlType",value:function e(t){this.urlType=t}},{key:"toJSON",value:function e(){return{type:this.type,target:this.target,customLinkType:this.customLinkType,href:this.href,urlType:this.urlType}}},{key:"getDefaultLinkName",value:function e(){switch(this.customLinkType){case u.a.ABSOLUTE_URL:return i18n.t("com.webwave.link.CustomLinkTypes.enum.absoluteURL");case u.a.PHONE:return i18n.t("menuPopup.defaultInput.phone");case u.a.EMAIL:return i18n.t("com.webwave.link.CustomLinkTypes.enum.email");
359case u.a.USER_FILE:return i18n.t("menuPopup.defaultInput.userFile")}}}]),n}(c.a)},1545:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(1301),o=0,s=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this._id=o++,this._duration=webwave.isDef(t.duration)&&webwave.isNumber(t.duration)?t.duration:a.a.DEFAULT_ANIMATION_TIME,this._startTime=0,this._currentTime=0,this._progress=0,this._started=!1,this._running=!1,this._finished=!1}return Object(r.a)(e,[{key:"setStartTime",
360value:function e(t){this._startTime=t}},{key:"setCurrentTime",value:function e(t){this._currentTime=Math.min(t,this._duration),this._progress=Math.min(this._currentTime/this._duration,1)}},{key:"getProgress",value:function e(){return this._progress}},{key:"getCurrentTime",value:function e(){return this._currentTime}},{key:"getCurrentProgress",value:function e(){return this._progress}},{key:"getStartTime",value:function e(){return this._startTime}},{key:"getDuration",value:function e(){return this._duration}},
361{key:"start",value:function e(t){!1===this._started&&(this.setStartTime(t),this._started=!0,this._running=!0)}},{key:"isStarted",value:function e(){return this._started}},{key:"isRunning",value:function e(){return this._running}},{key:"isFinished",value:function e(){return this._finished}},{key:"stop",value:function e(t){!1===this._finished&&(this._running=!1,this._finished=!0,!0===t&&this.finish())}},{key:"finish",value:function e(){}},{key:"tick",value:function e(t){}}]),e}()},1550:function(e,t,
362n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2);function u(e){var t=c();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),
363!0}catch(e){return!1}}function l(e){function t(){var t=Reflect.construct(e,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}var d=function(e){Object(a.a)(n,e);var t=u(n);function n(){return Object(i.a)(this,n),t.call(this)}return Object(r.a)(n,[{key:"getMessage",value:function e(){return i18n.t("shop.c
363om.webwave.gui.onlineStore.orderPopup.errorMessage")}}]),
364n}(l(Error))},1551:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1296),c;function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
365[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"createObject",value:function e(t){return new u.a(t)}},{key:"removeOption",value:function e(t){t.setDeleted(!0)}}]),n}(n(215).a)},1553:function(e,t,n){t.a={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}},1560:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(66),c=n(10);function l(e){var t=
366d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,
367n),t.call(this,e)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(t){this._value=c.StringUtils.isValidEmail(t)?t:null}},{key:"getSerializeValue",value:function e(){return this._value}}]),n}(u.a)},1561:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(215),c=n(976),l=n(262),d=n(1582);function h(e){var t=f();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,
368arguments);return Object(o.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(a.a)(n,e);var t=h(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"createObject",value:function e(t){if(webwave.isValidEnumValue(t.paymentProvider,
369l.a))switch(t.paymentProvider){case l.a.NETOPIA:return new d.a(t);default:return new c.a(t)}}},{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{enable:this.enable,value:this.getSerializeValue(t)}}},{key:"removeOption",value:function e(t){t.setDeleted()}},{key:"paymentOnDeliveryEnable",value:function e(){return webwave.isDef(this.value.find(function(e){return!0===e.paymentOnDeliveryEnable}))}},{key:"isPaymentIntegrationDefined",value:function e(t){return webwave.isDef(this.value.find(function(e){return e.paymentIntegrationExists(t)}))}},
370{key:"isAnyPaymentMethodIntegration",value:function e(){return webwave.isDef(this.value.find(function(e){return!0===e.isAnyPaymentMethodIntegration}))}},{key:"getPaymentProviderByUniqueId",value:function e(t){return this.value.find(function(e){return e.checkUniqueId(t)})}},{key:"checkPaymentMethodExist",value:function e(t){return this.value.find(function(e){return e.equals(t)})}}]),n}(u.a)},1562:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(66),c=n(30);
371function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);
372function n(){return Object(i.a)(this,n),t.apply(this,arguments)}
372return Object(r.a)(n,[{key:"countryIsValid",value:function e(t){return!1===this.enable||this.value.includes(t)}},{key:"deserializeValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._value=webwave.isArrayLike(t)?t:[c.a.getValue("loggedUser.registerCountry")]}},{key:"getSerializeValue",value:function e(){return this._value}},{key:"getValueForBackend",value:function e(){return this._value.join(",")}},
373{key:"serialize",value:function e(){var t;return{id:this.id,enable:(null===(t=this._value)||void 0===t?void 0:t.length)>0&&this.enable,value:this.getSerializeValue()}}}]),n}(u.a)},1563:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(1551),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._additionalFormFields=new a.a(t.additionalFormFields)}return Object(r.a)(e,[{key:"additionalFormFields",get:function e(){return this._additionalFormFields}},
374{key:"serialize",value:function e(){return{additionalFormFields:this._additionalFormFields.serialize()}}}]),e}()},1566:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(1567),o=n(2061),s=n(2062),u=n(1919),c=n(2064),l=n(1243),d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.background=webwave.isDef(t.background)?new o.a(t.background):void 0,this.padding=webwave.isDef(t.padding)?new u.a(t.padding):void 0,this.border=
375webwave.isDef(t.border)?new s.a(t.border):void 0,this.shadow=webwave.isDef(t.shadow)?new c.a(t.shadow):void 0,this.filter=webwave.isDef(t.filter)?new l.a(t.filter):void 0,this.opacity=webwave.isNumberAndNotNaN(t.opacity)?t.opacity:void 0,this.opacityEnabled=webwave.isBoolean(t.opacityEnabled)?t.opacityEnabled:void 0,this.backgroundOverlay=webwave.isDef(t.backgroundOverlay)?new a.a(t.backgroundOverlay):void 0,this.verticalAlign=webwave.isString(t.verticalAlign)?t.verticalAlign:void 0,this.horizontalAlign=
376webwave.isString(t.horizontalAlign)?t.horizontalAlign:void 0}return Object(r.a)(e,[{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n,i,r,a,o,s;return{background:webwave.isDef(this.background)?this.background.serialize(t):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)?
377this.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 e(){return this.getComputedOpacity()/100}},{key:"getComputedOpacity",value:function e(){return this.opacityEnabled?this.opacity:100}},{key:"toCss2Map",value:function e(){var t={};return webwave.isDef(this.opacity)&&
378(t.opacity=this.getCssOpacity()),webwave.isDef(this.padding)&&$.extend(t,this.padding.toCss2Map()),webwave.isDef(this.border)&&$.extend(t,this.border.toCss2Map()),webwave.isDef(this.shadow)&&$.extend(t,this.shadow.toCss2Map()),webwave.isDef(this.background)&&$.extend(t,this.background.toCss2Map()),webwave.isDef(this.filter)&&$.extend(t,this.filter.toCss2Map()),webwave.isDef(this.backgroundOverlay)&&$.extend(t,this.backgroundOverlay.toCss2Map()),t}},{key:"applyPartialObjectStyle",value:function e(t){webwave.isDef(t)&&
379(webwave.isDef(t.background)&&(webwave.isDef(this.background)?this.background.applyPartialBackgroundMap(t.background):this.background=new o.a(t.background)),webwave.isDef(t.border)&&(webwave.isDef(this.border)?this.border.applyPartialBorderMap(t.border):this.border=new s.a(t.border)),webwave.isDef(t.padding)&&(webwave.isDef(this.padding)?this.padding.applyPartialPaddingMap(t.padding):this.padding=new u.a(t.padding)),webwave.isDef(t.shadow)&&(webwave.isDef(this.shadow)?this.shadow.applyPartialShadowMap(t.shadow):
380this.shadow=new c.a(t.shadow)),webwave.isDef(t.filter)&&(this.filter=new l.a(t.filter)),webwave.isDef(t.backgroundOverlay)&&(webwave.isDef(this.backgroundOverlay)?this.backgroundOverlay.mergeStyle(t.backgroundOverlay):this.backgroundOverlay=new a.a(t.backgroundOverlay)),webwave.isDef(t.opacityEnabled)&&(this.opacityEnabled=!0===t.opacityEnabled),webwave.isNumberAndNotNaN(t.opacity)&&!0===this.opacityEnabled&&(this.opacity=t.opacity),webwave.isString(t.verticalAlign)&&(this.verticalAlign=t.verticalAlign),
381webwave.isString(t.horizontalAlign)&&(this.horizontalAlign=t.horizontalAlign))}},{key:"removePadding",value:function e(){this.padding=void 0}},{key:"removeFilter",value:function e(){this.filter=void 0}},{key:"setFilter",value:function e(t){this.filter=t}},{key:"getFilter",value:function e(){return this.filter}}
381,{key:"setBackgroundOverlay",value:function e(t){this.backgroundOverlay=t}},{key:"getBackgroundOverlay",value:function e(){return this.backgroundOverlay}},{key:"getBackground",value:function e(){return this.background}},
382{key:"createDefaultFilterData",value:function e(){this.setFilter(l.a.createDefaultFilterData())}},{key:"createDefaultBackgroundOverlay",value:function e(){this.setBackgroundOverlay(new a.a({}))}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i,r,a,o=null===(n=this.background)||void 0===n?void 0:n.changeWebsiteColorConnection(t),s=null===(i=this.backgroundOverlay)||void 0===i?void 0:i.changeWebsiteColorConnection(t),u=
383null===(r=this.border)||void 0===r?void 0:r.changeWebsiteColorConnection(t),c=null===(a=this.shadow)||void 0===a?void 0:a.changeWebsiteColorConnection(t);return!0===o||!0===s||!0===u||!0===c}}]),e}()},1567:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(933),o=n(1947),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.enabled=!0===t.enabled,this.background=webwave.isDef(t.background)?new a.a(t.background):new a.a({backgroundColor:e.DEFAULT_BACKGROUND_COLOR}),
384this.mixBlendMode=webwave.isDef(t.mixBlendMode)?t.mixBlendMode:o.a.NORMAL}return Object(r.a)(e,[{key:"isEnabled",value:function e(){return this.enabled}},{key:"setEnabled",value:function e(t){this.enabled=t}},{key:"toCss2Map",value:function e(){var t=this.isEnabled()?this.mixBlendMode:o.a.NORMAL,n=this.isEnabled()?this.background.toCss2Map():(new a.a({enabled:!1})).toCss2Map(),i={mixBlendMode:t};return Object.assign(i,n),i}},{key:"toCssString",value:function e(){if(this.enabled){var t=$("<div />");
385return t.css(this.toCss2Map()),t.attr("style")}return"background:none"}},{key:"serialize",value:function e(){return{enabled:this.enabled,background:this.background.serialize(),mixBlendMode:this.mixBlendMode}}},{key:"mergeStyle",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.enabled)&&(this.enabled=t.enabled),!0===t.enabled&&(webwave.isDef(t.background)&&this.background.applyPartialBackgroundMap(t.background),webwave.isDef(t.mixBlendMode)&&(this.mixBlendMode=t.mixBlendMode)))}},{key:"clone",
386value:function t(){return new e(this.serialize())}},{key:"changeWebsiteColorConnection",value:function e(t){var n;return null===(n=this.background)||void 0===n?void 0:n.changeWebsiteColorConnection(t)}}],[{key:"deserialize",value:function t(n){return new e(n)}}]),e}();s.DEFAULT_BACKGROUND_COLOR="rgba(200, 99, 99, 0.5)"},1568:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;
387r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this))._domObject=e,r.browserWebPSupportUtils=null,
388r}return Object(r.a)(n,[{key:"getDomObject",value:function e(){return this._domObject}},{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}}]),n}(n(1692).a)},1569:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2066),c;function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==
389typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),(e=t.call(this,r)).type="webwave.link.InteractionsLinkData",e._interactions=new u.a(r.interactions),e}return Object(r.a)(n,[{key:"getInteractions",
390value:function e(){return this._interactions}}
390,{key:"toJSON",value:function e(){return{type:this.type,target:this.target,interactions:this._interactions.serialize()}}}]),n}(n(839).a)},1578:function(e,t,n){var i={FIXED:"fixed",SCROLL:"scroll"};t.a=i},1579:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,
391arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).type="webwave.link.EmptyLinkData",r}return Object(r.a)(n,[{key:"getShortName",value:function e(){return""}},
392{key:"isEmptyLink",value:function e(){return!0}}]),n}(n(839).a)},158:function(e,t,n){var i=Object.prototype,r=i.hasOwnProperty,a=i.toString,o,s;"function"==typeof Symbol&&(o=Symbol.prototype.valueOf),"function"==typeof BigInt&&(s=BigInt.prototype.valueOf);var u=function(e){return e!=e},c={boolean:1,number:1,string:1,undefined:1},l=/^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$/,d=/^[A-Fa-f0-9]+$/,h={};h.a=h.type=function(e,t){return typeof e===t},h.defined=function(e){return void 0!==
393e},h.empty=function(e){var t=a.call(e),n;if("[object Array]"===t||"[object Arguments]"===t||"[object String]"===t)return 0===e.length;if("[object Object]"===t){for(n in e)if(r.call(e,n))return!1;return!0}return!e},h.equal=function e(t,n){if(t===n)return!0;var i=a.call(t),r;if(i!==a.call(n))return!1;if("[object Object]"===i){for(r in t)if(!(h.equal(t[r],n[r])&&r in n))return!1;for(r in n)if(!(h.equal(t[r],n[r])&&r in t))return!1;return!0}if("[object Array]"===i){if((r=t.length)!==n.length)return!1;
394for(;r--;)if(!h.equal(t[r],n[r]))return!1;return!0}return"[object Function]"===i?t.prototype===n.prototype:"[object Date]"===i&&t.getTime()===n.getTime()},h.hosted=function(e,t){var n=typeof t[e];return"object"===n?!!t[e]:!c[n]},h.instance=h.instanceof=function(e,t){return e instanceof t},h.nil=h.null=function(e){return null===e},h.undef=h.undefined=function(e){return void 0===e},h.args=h.arguments=function(e){var t="[object Arguments]"===a.call(e),n=!h.array(e)&&h.arraylike(e)&&h.object(e)&&h.fn(e.callee);
395return t||n},h.array=Array.isArray||function(e){return"[object Array]"===a.call(e)},h.args.empty=function(e){return h.args(e)&&0===e.length},h.array.empty=function(e){return h.array(e)&&0===e.length},h.arraylike=function(e){return!!e&&!h.bool(e)&&r.call(e,"length")&&isFinite(e.length)&&h.number(e.length)&&e.length>=0},h.bool=h.boolean=function(e){return"[object Boolean]"===a.call(e)},h.false=function(e){return h.bool(e)&&!1===Boolean(Number(e))},h.true=function(e){return h.bool(e)&&!0===Boolean(Number(e))},
396h.date=function(e){return"[object Date]"===a.call(e)},h.date.valid=function(e){return h.date(e)&&!isNaN(Number(e))},h.element=function(e){return void 0!==e&&"undefined"!=typeof HTMLElement&&e instanceof HTMLElement&&1===e.nodeType},h.error=function(e){return"[object Error]"===a.call(e)},h.fn=h.function=function(e){var t;if("undefined"!=typeof window&&e===window.alert)return!0;var n=a.call(e);return"[object Function]"===n||"[object GeneratorFunction]"===n||"[object AsyncFunction]"===n},h.number=function(e){return"[object Number]"===
397a.call(e)},h.infinite=function(e){return e===1/0||e===-1/0},h.decimal=function(e){return h.number(e)&&!u(e)&&!h.infinite(e)&&e%1!=0},h.divisibleBy=function(e,t){var n=h.infinite(e),i=h.infinite(t),r=h.number(e)&&!u(e)&&h.number(t)&&!u(t)&&0!==t;return n||i||r&&e%t==0},h.integer=h.int=function(e){return h.number(e)&&!u(e)&&e%1==0},h.maximum=function(e,t){if(u(e))throw new TypeError("NaN is not a valid value");if(!h.arraylike(t))throw new TypeError("second argument must be array-like");for(var n=t.length;--n>=
3980;)if(e<t[n])return!1;return!0},h.minimum=function(e,t){if(u(e))throw new TypeError("NaN is not a valid value");if(!h.arraylike(t))throw new TypeError("second argument must be array-like");for(var n=t.length;--n>=0;)if(e>t[n])return!1;return!0},h.nan=function(e){return!h.number(e)||e!=e},h.even=function(e){return h.infinite(e)||h.number(e)&&e==e&&e%2==0},h.odd=function(e){return h.infinite(e)||h.number(e)&&e==e&&e%2!=0},h.ge=function(e,t){if(u(e)||u(t))throw new TypeError("NaN is not a valid value");
399return!h.infinite(e)&&!h.infinite(t)&&e>=t},h.gt=function(e,t){if(u(e)||u(t))throw new TypeError("NaN is not a valid value");return!h.infinite(e)&&!h.infinite(t)&&e>t},h.le=function(e,t){if(u(e)||u(t))throw new TypeError("NaN is not a valid value");return!h.infinite(e)&&!h.infinite(t)&&e<=t},h.lt=function(e,t){if(u(e)||u(t))throw new TypeError("NaN is not a valid value");return!h.infinite(e)&&!h.infinite(t)&&e<t},h.within=function(e,t,n){if(u(e)||u(t)||u(n))throw new TypeError("NaN is not a valid value");
400if(!h.number(e)||!h.number(t)||!h.number(n))throw new TypeError("all arguments must be numbers");var i;return h.infinite(e)||h.infinite(t)||h.infinite(n)||e>=t&&e<=n},h.object=function(e){return"[object Object]"===a.call(e)},h.primitive=function e(t){return!t||!("object"==typeof t||h.object(t)||h.fn(t)||h.array(t))},h.hash=function(e){return h.object(e)&&e.constructor===Object&&!e.nodeType&&!e.setInterval},h.regexp=function(e){return"[object RegExp]"===a.call(e)},h.string=function(e){return"[object String]"===
401a.call(e)},h.base64=function(e){return h.string(e)&&(!e.length||l.test(e))},h.hex=function(e){return h.string(e)&&(!e.length||d.test(e))},h.symbol=function(e){return"function"==typeof Symbol&&"[object Symbol]"===a.call(e)&&"symbol"==typeof o.call(e)},h.bigint=function(e){return"function"==typeof BigInt&&"[object BigInt]"===a.call(e)&&"bigint"==typeof s.call(e)},e.exports=h},1581:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=
402Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.call(this)}
403return Object(r.a)(n,[{key:"getMessage",value:function e(){return i18n.t("shop.c
403om.webwave.gui.onlineStore.orderPopup.stripe.requiredHttpsConnection")}}]),n}(n(1550).a)},1582:function(e,t,n){n.d(t,"a",function(){return y});var i=n(14),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(976),d=n(1213),h=n(262);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,
404i)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e){var t=p();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,
405arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var y=function(e){Object(s.a)(n,e);var t=g(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"equals",value:function e(t){return t instanceof
406n!=!1&&Object(o.a)(Object(c.a)(n.prototype),"equals",this).call(this,t)}},{key:"update",value:function e(t){var i;Object(o.a)(Object(c.a)(n.prototype),"update",this).call(this,t),this._paymentProvider=h.a.NETOPIA,this._selectedVariant=null!==(i=t.selectedVariant)&&void 0!==i?i:n.INITIAL_VALUE,this._name=this._getOrLoadDefaultName(t.name)}},{key:"_getOrLoadDefaultName",value:function e(t){return i18n.t("shop.com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider))}},
407{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(v({},Object(o.a)(Object(c.a)(n.prototype),"serialize",this).call(this,t)),{},{selectedVariant:this._selectedVariant})}},{key:"getDataToOrder",value:function e(){return{paymentMethodId:this.uniqueId,paymentMethodSelectedVariant:this._selectedVariant}}},{key:"name",get:function e(){return i18n.t("shop.com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider))}},
408{key:"paymentMethodName",get:function e(){return this._selectedVariant?this.getVariantName(this._selectedVariant):i18n.t("shop.com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider))}},{key:"getVariantName",value:function e(t){return i18n.t("shop.com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.variant.netopia.".concat(t))}},{key:"getSelectOptions",value:function e(t){var i=this;return n.VARIANTS.map(function(e){return(new d.a(i,
409t.getTranslate("online"),e)).getMap()})}},{key:"checkUniqueId",value:function e(t){var i=this;return this._selectedVariant=n.VARIANTS.find(function(e){return"".concat(i.uniqueId,"_").concat(e)===t}),webwave.isDef(this._selectedVariant)}},{key:"getUniqueIdForVariant",value:function e(t){return"".concat(this.uniqueId,"_").concat(t)}},{key:"getIdForPaymentOptionSelector",value:function e(){return"".concat(this.uniqueId,"_").concat(this._selectedVariant)}}]),n}(l.a);y.VARIANTS=["card","bnpl"],y.INITIAL_VALUE=
410y.VARIANTS[0]},1583:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(66),c=n(1329),l=n(71),d=n(10);function h(e){var t=f();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
411[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(a.a)(n,e);var t=h(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._value=new c.a({to:webwave.isDefAndNotNull(t.to)?t.to/100:void 0,from:webwave.isDefAndNotNull(t.from)?t.from/100:void 0,unit:n.WEIGHT_UNIT,validator:l.a.POSITIVE_FLOAT_VALUE_SHORT_MESSAGE,placeholder:{from:"0",to:"30"}})}},
412{key:"getSerializeValue",value:function e(){var t=this._value.serialize(),n=d.MathUtils.setFloatPriceToLong(t.from),i=d.MathUtils.setFloatPriceToLong(t.to);return{from:webwave.isNumberAndNotNaN(n)?n:null,to:webwave.isNumberAndNotNaN(i)?i:null}}},{key:"weightInRange",value:function e(t){return this.value.valueInRange(t)}
412}]),n}(u.a);v.WEIGHT_UNIT="kg"},1584:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),
413r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:
414{};return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this._value=webwave.isDefAndNotNull(t)?t:""}},{key:"isEnable",value:function e(){return!0===this._enable}},{key:"getValue",value:function e(){return this._value}},{key:"serialize",value:function e(){return{enable:!!webwave.isDefAndNotNull(this._value)&&this.enable,value:this._value}}}]),n}(n(66).a)},1585:function(e,t,n){n.d(t,
415"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(66),c=n(71);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),
416!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";webwave.isDefAndNotNull(t)&&(this._value=c.a.POSITIVE_NUMBER.validate(t)?t:void 0)}},{key:"getSerializeValue",value:function e(){return this._value}}]),n}(u.a)},1586:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=
417n(2),u=n(10),c=n(215),l=n(1542);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,
418e);var t=d(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"createObject",value:function e(t){return new l.a(t)}},{key:"decorateByServerData",value:function e(t){webwave.isNotDef(t)||(this._id=t.id,this._enable=t.enable||!1,this.deserializeValue(t.value||[]))}},{key:"isActiveCodeExists",value:function e(t){return this.value.some(function(e){return!0!==e.deleted&&e.code===t&&(!webwave.isDefAndNotNull(e.expireDate)||u.DateUtils.dateIsGreaterThenNow(u.DateUtils.getEndOfTheDay(new Date(e.expireDate))))})}},
419{key:"findDiscountCodeByCode",value:function e(t){if(this.enable)return this.value.find(function(e){return e.code===t})}},{key:"checkIsEnable",value:function e(){var t=this.value.filter(function(e){return!0===e.deleted});return 0!==this.value.length&&t.length!==this.value.length&&this.enable}},{key:"removeOption",value:function e(t){t.setDeleted()}},{key:"hasActiveDiscountCodes",value:function e(){var t;return!!this.enable&&this.value.filter(function(e){return!1===e.isExpired()}).length>0}}]),n}(c.a)},
4201587:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(10),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.currency=webwave.isStringAndNotEmpty(t.currency)?t.currency:i18n.t("shop.com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.default.currency"),this.taxValue="".concat(a.StoreUtils.getValidTaxValue(t.taxValue),"%"),this.availableTaxInvoices=!!t.availableTaxInvoices&&t.availableTaxInvoices,this.logoId=
421t.logoId?t.logoId:void 0,this.logoUrl=t.logoUrl?t.logoUrl:void 0}return Object(r.a)(e,[{key:"decorateByServerData",value:function e(t){webwave.isDefAndNotNull(t.currency)&&(this.currency=t.currency),webwave.isDefAndNotNull(t.availableTaxInvoices)&&(this.availableTaxInvoices=t.availableTaxInvoices),web
421wave.isDefAndNotNull(t.taxValue)&&(this.taxValue="".concat(a.StoreUtils.getValidTaxValue(t.taxValue),"%")),webwave.isDefAndNotNull(t.logoId)&&(this.logoId=t.logoId),webwave.isDefAndNotNull(t.logoUrl)&&
422(this.logoUrl=t.logoUrl)}},{key:"setLogoId",value:function e(t){this.logoId=t}},{key:"setLogoUrl",value:function e(t){this.logoUrl=t}},{key:"getTaxValue",value:function e(){return a.StoreUtils.getValidTaxValue(this.taxValue)}},{key:"serialize",value:function e(){return{currency:this.currency,taxValue:this.getTaxValue(),availableTaxInvoices:this.availableTaxInvoices,logoUrl:this.logoUrl,logoId:this.logoId}}}]),e}()},1588:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),
423s=n(2),u=n(66),c=n(10);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,
424e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"calculateMissingAmount",value:function e(t){return this.enable&&!1===this.minimumValueReached(t)?this.getValueForBackend()-t:0}},{key:"deserializeValue",value:function e(t){webwave.isNumberAndNotNaN(Number.parseInt(t))?this._value=t/100:this._value=void 0}},{key:"equals",value:function e(t){return t instanceof n!=!1&&(this.enable===t.enable&&this.value===t.value&&this.id===t.id)}},{key:"getSerializeValue",
425value:function e(){return this.getValueForBackend()}},{key:"getValueForBackend",value:function e(){return webwave.isDefAndNotNull(this._value)?c.MathUtils.setFloatPriceToLong(c.NumberUtils.normalizeStringForNumberParsing(this._value.toString())):""}},{key:"minimumValueReached",value:function e(t){return!this.enable||t>=this.getValueForBackend()}}]),n}(u.a)},1589:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(66),c=n(1590);function l(e){var t=d();return function n(){var i=
426Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,
427e)}return Object(r.a)(n,[{key:"getSerializeValue",value:function e(){return this._value.serialize()}},{key:"deserializeValue",value:function e(t){this._value=new c.a(t)}},{key:"setHeaderColor",value:function e(t){this._value.setHeaderColor(t)}},{key:"value",get:function e(){return!0===this.enable?this._value:this.getDefaultValue()}},{key:"getDefaultValue",value:function e(){return new c.a}},{key:"changeWebsiteColorConnection",value:function e(t){var n=!1,i;webwave.isDefAndNotNull(this._value)&&webwave.isFunction(this._value.changeWebsiteColorConnection)&&
428(n=null===(i=this._value)||void 0===i?void 0:i.changeWebsiteColorConnection(t));return n}}]),n}(u.a)},159:function(e,t,n){n.d(t,"a",function(){return m});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(15),l=n.n(c),d=n(92),h=n(209),f=n(842),v=n(222),g,p;function y(e){var t=b();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function b(){if("undefined"==typeof Reflect||
429!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var m=(g=Object(c.injectable)())(p=function(e){Object(o.a)(n,e);var t=y(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this))._visiblePopups=[],e._registeredPopups=[],e.lockService=null,e}return Object(r.a)(n,[{key:"popupClosed",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),
430"popupClosed",this).call(this,t),r=this._visiblePopups[this._visiblePopups.length-1];webwave.isDef(r)?webwave.isStringAndNotEmpty(i.analyticsPageView)&&webwave.isStringAndNotEmpty(r.analyticsPageView)&&webwave.analyticsUtils.sendPageview(r.analyticsPageView):webwave.isStringAndNotEmpty(i.analyticsPageView)&&webwave.analyticsUtils.sendPageview()}},{key:"popupOpened",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"popupOpened",this).call(this,t);!0!==i.deactivateSendPageView&&webwave.isStringAndNotEmpty(i.analyticsPageView)&&
431webwave.analyticsUtils.sendPageview(i.analyticsPageView),webwave.isDefAndNotNull(i._element)&&this.sendProductAnalyticsOnFirstPopupOpen(i._element.id)}},{key:"sendProductAnalyticsOnFirstPopupOpen",value:function e(t){f.a.hasOwnProperty(t)&&(f.a[t]===f.a.filemanager_popup?setTimeout(function(){coreService.triggerEditorEvent("openPopup",f.a.filemanager_popup)},100):coreService.triggerEditorEvent("openPopup",f.a[t]))}},{key:"findPopupByHolderId",value:function e(t){return this._registeredPopups.find(function(e){return e.holderId===
432t})}}],[{key:"setBodyScrollOn",value:function e(){document.body.style.overflow="",document.body.style.marginRight="",document.body.style.removeProperty("--body-right-margin")}},{key:"setBodyScrollOff",value:function e(){var t=document.body.clientWidth;document.body.style.overflow="hidden";var n=document.body.clientWidth-t;n>0&&(document.body.style.marginRight="".concat(n,"px"),document.body.style.setProperty("--body-right-margin","".concat(n,"px")))}}]),n}(v.a))||p;webwave.provide("com.webwave.ui.popup.PopupManager"),
433com.webwave.ui.popup.PopupManager=m},1590:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(10),o=n(1591),s=n(126),u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._buttonsColor=webwave.isStringAndNotEmpty(t.buttonsColor)?t.buttonsColor:o.a.BUTTON_COLOR,this._headerColor=webwave.isStringAndNotEmpty(t.headerColor)?t.headerColor:o.a.HEADER_COLOR,this._headerTextColor=webwave.isStringAndNotEmpty(t.headerTextColor)?
434t.headerTextColor:o.a.HEADER_TEXT_COLOR,this._backgroundColor=o.a.BACKGROUND_COLOR,this._buttonsText=o.a.BUTTON_TEXT_COLOR,this._closeButtonColor=o.a.CLOSE_BUTTON_COLOR,this._errorHeaderColor=o.a.ERROR_HEADER_COLOR,this._headerNotSelectedOptionTextColor=this.calculateHeaderNotSelected(),this._inputFocusShadow=o.a.INPUT_FOCUS_SHADOW,this._otherButtonsColor=o.a.OTHER_BUTTONS_COLOR,this._tableHeaderTextColor=o.a.TABLE_HEADER_TEXT_COLOR,this._textColor=o.a.TEXT_COLOR,this._textDescriptionItemColor=o.a.TEXT_DESCRIPTION_ITEM_COLOR}
435return Object(r.a)(e,[{key:"calculateHeaderNotSelected",value:function e(){return a.Color.rgb2hsl(this._headerColor).L<76?o.a.HEADER_NOT_SELECTED_OPTION_TEXT_COLOR_LIGHT:o.a.HEADER_NOT_SELECTED_OPTION_TEXT_COLOR_DARK}},{key:"setHeaderColor",value:function e(t){this._headerColor=t,this._headerNotSelectedOptionTextColor=this.calculateHeaderNotSelected()}},{key:"headerColor",get:function e(){return this._headerColor}},{key:"setHeaderTextColor",value:function e(t){this._headerTextColor=t}},{key:"headerTextColor",
436get:function e(){return this._headerTextColor}},{key:"setButtonsColor",value:function e(t){this._buttonsColor=t}},{key:"buttonsColor",get:function e(){return this._buttonsColor}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i=s.a.getValueAfterWebsiteConnectionChange(this.buttonsColor,t),r=s.a.getValueAfterWebsiteConnectionChange(this.headerTextColor,t),a=s.a.getValueAfterWebsiteConnectionChange(this.headerColor,t);return i!==this.buttonsColor&&(this.setButtonsColor(i),n=!0),r!==this.headerTextColor&&
437(this.setHeaderTextColor(r),n=!0),a!==this.headerColor&&(this.setHeaderColor(a),n=!0),n}},{key:"getLayoutColors",value:function e(){return{"--backgroundColor":this._backgroundColor,"--buttonsColor":this._buttonsColor,"--buttonsTextColor":this._buttonsText,"--headerColor":this._headerColor,"--headerNotSelectedOptionTextColor":this._headerNotSelectedOptionTextColor,"--headerTextColor":this._headerTextColor,"--inputFocusShadowColor":this._inputFocusShadow,"--otherButtonsColor":this._otherButtonsColor,
438"--tableHeaderTextColor":this._tableHeaderTextColor,"--textColor":this._textColor,"--textDescriptionItemColor":this._textDescriptionItemColor,"--textHeaderErrorColor":this._errorHeaderColor,"--popup__close-icon_color":this._headerTextColor,"--popup__close-icon--hover_color":this._headerTextColor}}},{key:"serialize",value:function e(){return{backgroundColor:this._backgroundColor,buttonsColor:this._buttonsColor,buttonsTextColor:this._buttonsText,closeButtonColor:this._closeButtonColor,errorHeaderColor:this._errorHeaderColor,
439headerColor:this._headerColor,headerNotSelectedOptionTextColor:this._headerNotSelectedOptionTextColor,headerTextColor:this._headerTextColor,inputFocusShadowColor:this._inputFocusShadow,otherButtonsColor:this._otherButtonsColor,tableHeaderTextColor:this._tableHeaderTextColor,textColor:this._textColor,textDescriptionItemColor:this._textDescriptionItemColor}}}]),e}()},1591:function(e,t,n){t.a={BACKGROUND_COLOR:"#fff",BUTTON_COLOR:"#000",BUTTON_TEXT_COLOR:"#fff",CLOSE_BUTTON_COLOR:"",ERROR_HEADER_COLOR:"#DA2B2B",
440HEADER_COLOR:"#EDEDED",HEADER_NOT_SELECTED_OPTION_TEXT_COLOR_DARK:"#000000",HEADER_NOT_SELECTED_OPTION_TEXT_COLOR_LIGHT:"#ffffff",HEADER_TEXT_COLOR:"#000000",INPUT_FOCUS_SHADOW:"#D2D2D2",OTHER_BUTTONS_COLOR:"#EDEDED",TABLE_HEADER_TEXT_COLOR:"#555",TEXT_COLOR:"#333",TEXT_DESCRIPTION_ITEM_COLOR:"#9B9B9B"}},1592:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(66),c=n(1593);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;
441r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"deserializeValue",
442value:function e(t){webwave.isString(t)?this._value=new c.a({body:t}):this._value=new c.a(t)}},{key:"getSerializeValue",value:function e(){return this._value.serialize()}},{key:"title",get:function e(){if(this.enable)return this._value.title}},{key:"body",get:function e(){if(this.enable)return this._value.body}},{key:"serializeValue",get:function e(){return this.value?this.value.serialize():{}}}]),n}(u.a)},1593:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){var t=
443arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._title=t.title,this._body=t.body}return Object(r.a)(e,[{key:"body",get:function e(){return this._body},set:function e(t){this._body=t}},{key:"title",get:function e(){return this._title},set:function e(t){this._title=t}},{key:"serialize",value:function e(){return{title:this._title,body:this._body}}}]),e}()},1594:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(215),c=n(1297);
444function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);
445function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"createObject",value:function e(t){return new c.a(t)}},{key:"removeOption",value:function e(t){t.setDeleted(!0)}}]),n}(u.a)},1595:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(66),c=n(1276);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);
446return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(t){this._value=new c.a(t)}},{key:"getDataToOrder",value:function e(){if(this.enable)return JSON.stringify(this.getSerializeValue())}},
447{key:"getSerializeValue",value:function e(){return this._value.serialize()}}]),n}(u.a)},1597:function(e,t,n){var i={OWN_SIZE:0,CHILDREN_SIZE:1};t.a=i},1598:function(e,t,n){t.a={SHOW:"show",HIDE:"hide",TOGGLE:"toggle"}},1599:function(e,t,n){t.a={LEFT:"left",BOTTOM:"bottom",RIGHT:"right"}},16:function(e,t,n){n.d(t,"a",function(){return i});var i={AccountStatusBannerService:Symbol.for("AccountStatusBannerService"),ActivationAccountService:Symbol.for("ActivationAccountService"),WebwaveAcademyService:Symbol.for("WebwaveAcademyService"),
448AddNewAIWebsiteService:Symbol.for("AddNewAIWebsiteService"),AddNewWebsiteService:Symbol.for("AddNewWebsiteService"),AIWebsiteDeductionService:Symbol.for("AIWebsiteDeductionService"),AIWebsiteTemplatePreviewService:Symbol.for("AIWebsiteTemplatePreviewService"),EditorAnalyticsEventsService:Symbol.for("EditorAnalyticsEventsService"),EditorAnalyticsIngestService:Symbol.for("EditorAnalyticsIngestService"),AnalyticsPaymentService:Symbol.for("AnalyticsPaymentService"),AnalyticsService:Symbol.for("AnalyticsService"),
449BackupService:Symbol.for("BackupService"),BeaconUtils:Symbol.for("BeaconUtils"),BingAdsService:Symbol.for("BingAdsService"),BrandColorService:Symbol.for("BrandColorService"),BrowserDetectService:Symbol.for("BrowserDetectService"),BrowserFingerPrintService:Symbol.for("BrowserFingerPrintService"),BusinessPanelEventDispatcherService:Symbol.for("BusinessPanelEventDispatcherService"),CardOperationErrorMessageService:Symbol.for("CardOperationErrorMessageService"),CardAuthorizationErrorHandlerService:Symbol.for("CardAuthorizationErrorHandlerService"),
450ColorPickerService:Symbol.for("ColorPickerService"),Container:Symbol.for("container"),CookieAcceptedSettingsService:Symbol.for("CookieAcceptedSettingsService"),CookieService:Symbol.for("CookieService"),CreateNewWebsiteView:Symbol.for("CreateNewWebsiteView"),CreateNewWebsiteService:Symbol.for("CreateNewWebsiteService"),DateUtils:Symbol.for("DateUtils"),DiscountCodeUtils:Symbol.for("DiscountCodeUtils"),DomainsListPopupService:Symbol.for("DomainsListPopupService"),EnvironmentUtils:Symbol.for("EnvironmentUtils"),
451FbPixelService:Symbol.for("FbPixelService"),FrontendTranslation:Symbol.for("FrontendTranslation"),FurgonetkaPostageService:Symbol.for("FurgonetkaPostageService"),GTAGManagerService:Symbol.for("GTAGManagerService"),GeneralSettingsService:Symbol.for("GeneralSettingsService"),HostingManagerService:Symbol.for("HostingManagerService"),IconsService:Symbol.for("IconsService"),KeyboardService:Symbol.for("Ke
451yboardService"),LanguageUtils:Symbol.for("LanguageUtils"),LegalApprovalDetailsPopupService:Symbol.for("LegalApprovalDetailsPopupService"),
452LoadingBoxService: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"),
453PermissionsLockControlManager:Symbol.for("PermissionsLockControlManager"),PaymentPopupManager:Symbol.for("PaymentPopupManager"),PhoneNumberUtils:Symbol.for("PhoneNumberUtils"),PopupService:Symbol.for("PopupService"),PositionService:Symbol.for("PositionService"),PremiumLinkService:Symbol.for("PremiumLinkService"),PromotionBannerService:Symbol.for("PromotionBannerService"),PublicatedScrollService:Symbol.for("PublicatedScrollService"),SalesmanagoEventService:Symbol.for("SalesmanagoEventService"),ServiceModeLanguageService:Symbol.for("ServiceModeLanguageService"),
454ShowPaymentPopupService:Symbol.for("ShowPaymentPopupService"),SideMenuService:Symbol.for("SideMenuService"),Store:Symbol.for("Store"),StoreAdapter:Symbol.for("StoreAdapter"),StoreStorage:Symbol.for("StoreStorage"),StoreCartsProductCounterService:Symbol.for("StoreCartsProductCounterService"),StripeProvider:Symbol.for("StripeProvider"),TemplateStore:Symbol.for("TemplateStore"),TranslationUtils:Symbol.for("TranslationUtils"),UserChatService:Symbol.for("UserChatService"),UserService:Symbol.for("UserService"),
455Utils:Symbol.for("Utils"),WebmasterAccountTypeService:Symbol.for("WebmasterAccountTypeService"),WebsiteAdditionalServicesService:Symbol.for("WebsiteAdditionalServicesService"),WebmasterDomainInfoPopupService:Symbol.for("WebmasterDomainInfoPopupService"),WebmasterObjectService:Symbol.for("WebmasterObjectService"),WebmasterPanelCoreService:Symbol.for("WebmasterPanelCoreService"),WebsiteAccessPopupService:Symbol.for("WebsiteAccessPopupService"),WebsiteEmailService:Symbol.for("WebsiteEmailService"),WebsiteExportService:Symbol.for("WebsiteExportService"),
456WebsiteItemListService:Symbol.for("WebsiteItemListService"),WebsitePlanOfferBoxService:Symbol.for("WebsitePlanOfferBoxService"),WebsitePlanService:Symbol.for("WebsitePlanService"),WebsiteStatisticsManagerService:Symbol.for("WebsiteStatisticsManagerService"),WebsiteSubscriptionManagementService:Symbol.for("WebsiteSubscriptionManagementService"),WebwaveApp:Symbol.for("WebwaveApp"),WebwaveAnalyticsLib:Symbol.for("WebwaveAnalyticsLib"),WebComponentLoaderService:Symbol.for("WebComponentLoaderService"),
457WindowService:Symbol.for("WindowService"),BusinessPanelPopupListenersService:Symbol.for("BusinessPanelPopupListenersService")}},1600:function(e,t,n){t.a={AddPaymentInfoEvent:"add_payment_info",AddShippingInfoEvent:"add_shipping_info",AddToCardEvent:"add_to_cart",BeginCheckoutEvent:"begin_checkout",PurchaseEvent:"purchase",RemoveFromCartEvent:"remove_from_cart",ViewCartEvent:"view_cart",ViewItemEvent:"view_item"}},1605:function(e,t,n){n.d(t,"a",function(){return v});var i=n(14),r=n(0),a=n(1),o=n(933),
458s=n(1567),u=n(1712),c=n(1284),l=n(1744),d=n(1243);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):
459h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var v=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(r.a)(this,e),this.background=t.background instanceof o.a?t.background:new o.a,this.padding=t.padding instanceof c.a?t.padding:new c.a,this.border=t.border instanceof u.a?t.border:new u.a,this.shadow=t.shadow instanceof l.a?t.shadow:new l.a,this.opacity=webwave.isDef(t.opacity)?t.opacity:100,
460this.opacityEnabled=webwave.isDef(t.opacityEnabled)?t.opacityEnabled:this.opacity<100,this.filter=webwave.isDef(t.filter)?t.filter:new d.a,this.backgroundOverlay=webwave.isDef(t.backgroundOverlay)?t.backgroundOverlay:new s.a}return Object(a.a)(e,[{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=webwave.isDefAndNotNull(this.background)?this.background.serialize(t):void 0,i=webwave.isDefAndNotNull(this.padding)?this.padding.serialize():void 0,r=webwave.isDefAndNotNull(this.border)?
461this.border.serialize():void 0,a=webwave.isDefAndNotNull(this.shadow)?this.shadow.seri
461alize():void 0,o=webwave.isDefAndNotNull(this.filter)?this.filter.serialize():void 0,s=webwave.isDefAndNotNull(this.backgroundOverlay)?this.backgroundOverlay.serialize():void 0;return{background:n,padding:i,border:r,shadow:a,opacity:this.opacity,opacityEnabled:this.opacityEnabled,filter:o,backgroundOverlay:s}}},{key:"getCssOpacity",value:function e(){return this.getComputedOpacity()/100}},{key:"getComputedOpacity",
462value:function e(){return this.opacityEnabled?this.opacity:100}},{key:"isFullyVisible",value:function e(){return 100===this.getComputedOpacity()&&this.background.isNonTransparentBackgroundAvailable()}},{key:"getOpacityEnabled",value:function e(){return this.opacityEnabled}},{key:"toCss2Map",value:function e(){return f(f(f(f(f({opacity:this.getCssOpacity()},this.padding.toCss2Map()),this.border.toCss2Map()),this.shadow.toCss2Map()),this.background.toCss2Map()),this.filter.toCss2Map())}},{key:"toContentStyleString",
463value:function e(){var t=$("<div />");return t.css(this.toCss2Map()),t.attr("style")}},{key:"toBackgroundOverlayStyleString",value:function e(){return"border-radius: ".concat(this.border.getComputedRadius(),"px;").concat(this.backgroundOverlay.toCssString())}},{key:"applyPartialObjectStyle",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.background)&&this.background.applyPartialBackgroundMap(t.background),webwave.isDef(t.border)&&this.border.applyPartialBorderMap(t.border),webwave.isDef(t.padding)&&
464this.padding.applyPartialPaddingMap(t.padding),webwave.isDef(t.backgroundOverlay)&&this.getBackgroundOverlay().mergeStyle(t.backgroundOverlay),webwave.isDef(t.shadow)&&this.shadow.applyPartialShadowMap(t.shadow),webwave.isNumberAndNotNaN(t.opacity)&&(this.opacity=t.opacity),webwave.isBoolean(t.opacityEnabled)&&(this.opacityEnabled=t.opacityEnabled),webwave.isDef(t.filter)&&this.setFilter(t.filter.clone()))}},{key:"setFilter",value:function e(t){this.filter=t}},{key:"getFilter",value:function e(){return this.filter}},
465{key:"setBackgroundOverlay",value:function e(t){this.backgroundOverlay=t}},{key:"getBackgroundOverlay",value:function e(){return this.backgroundOverlay}},{key:"clone",value:function t(){return e.deserialize(this.serialize())}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i,r,a,o=null===(n=this.background)||void 0===n?void 0:n.changeWebsiteColorConnection(t),s=null===(i=this.backgroundOverlay)||void 0===i?void 0:i.changeWebsiteColorConnection(t),u=null===(r=this.border)||void 0===
466r?void 0:r.changeWebsiteColorConnection(t),c=null===(a=this.shadow)||void 0===a?void 0:a.changeWebsiteColorConnection(t);return!0===o||!0===s||!0===u||!0===c}},{key:"isParallaxActive",value:function e(){var t;return null===(t=this.background)||void 0===t?void 0:t.isParallaxActive()}}],[{key:"deserialize",value:function t(n){return void 0===n&&(n={}),new e({background:new o.a(n.background),padding:c.a.deserialize(n.padding),border:u.a.deserialize(n.border),shadow:l.a.deserialize(n.shadow),opacity:n.opacity,
467opacityEnabled:n.opacityEnabled,filter:d.a.deserialize(n.filter),backgroundOverlay:new s.a(n.backgroundOverlay)})}}]),e}()},1606:function(e,t,n){t.a={DISABLED:"disabled",BASIC_KEN_BURNS:"basicKenBurns"}},1607:function(e,t,n){t.a={BLOCK:"block",NONE:"none"}},161:function(e,t,n){(function(e,t){var n;!function(n){!function(e){var i="object"==typeof t?t:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),r=a(n);function a(e,t){return function(n,i){"function"!=typeof e[n]&&
468Object.defineProperty(e,n,{configurable:!0,writable:!0,value:i}),t&&t(n,i)}}void 0===i.Reflect?i.Reflect=n:r=a(i.Reflect,r),e(r)}(function(t){var n=Object.prototype.hasOwnProperty,i="function"==typeof Symbol,r=i&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=i&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,u=!o&&!s,c={create:o?function(){return ae(Object.create(null))}:s?function(){return ae({__proto__:null})}:
469function(){return ae({})},has:u?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:u?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),d="object"==typeof e&&Object({NODE_ENV:"development"})&&"true"===Object({NODE_ENV:"development"}).REFLECT_METADATA_USE_MAP_POLYFILL,h=d||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?ne():Map,f=d||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?ie():Set,v,
470g=new (d||"function"!=typeof WeakMap?re():WeakMap);function p(e,t,n,i){if(x(n)){if(!Y(e))throw new TypeError;if(!X(t))throw new TypeError;return A(e,t)}if(!Y(e))throw new TypeError;if(!V(t))throw new TypeError;if(!V(i)&&!x(i)&&!B(i))throw new TypeError;return B(i)&&(i=void 0),E(e,t,n=G(n),i)}
470function y(e,t){function n(n,i){if(!V(n))throw new TypeError;if(!x(i)&&!K(i))throw new TypeError;j(e,t,n,i)}return n}function b(e,t,n,i){if(!V(n))throw new TypeError;return x(i)||(i=G(i)),j(e,t,n,i)}function m(e,
471t,n){if(!V(t))throw new TypeError;return x(n)||(n=G(n)),I(e,t,n)}function w(e,t,n){if(!V(t))throw new TypeError;return x(n)||(n=G(n)),T(e,t,n)}function S(e,t,n){if(!V(t))throw new TypeError;return x(n)||(n=G(n)),N(e,t,n)}function O(e,t,n){if(!V(t))throw new TypeError;return x(n)||(n=G(n)),D(e,t,n)}function _(e,t){if(!V(e))throw new TypeError;return x(t)||(t=G(t)),R(e,t)}function k(e,t){if(!V(e))throw new TypeError;return x(t)||(t=G(t)),L(e,t)}function P(e,t,n){if(!V(t))throw new TypeError;x(n)||(n=
472G(n));var i=C(t,n,!1);if(x(i))return!1;if(!i.delete(e))return!1;if(i.size>0)return!0;var r=g.get(t);return r.delete(n),r.size>0||(g.delete(t),!0)}function A(e,t){for(var n=e.length-1;n>=0;--n){var i,r=(0,e[n])(t);if(!x(r)&&!B(r)){if(!X(r))throw new TypeError;t=r}}return t}function E(e,t,n,i){for(var r=e.length-1;r>=0;--r){var a,o=(0,e[r])(t,n,i);if(!x(o)&&!B(o)){if(!V(o))throw new TypeError;i=o}}return i}function C(e,t,n){var i=g.get(e);if(x(i)){if(!n)return;i=new h,g.set(e,i)}var r=i.get(t);if(x(r)){if(!n)return;
473r=new h,i.set(t,r)}return r}function I(e,t,n){var i;if(T(e,t,n))return!0;var r=te(t);return!B(r)&&I(e,r,n)}function T(e,t,n){var i=C(t,n,!1);return!x(i)&&H(i.has(e))}function N(e,t,n){var i;if(T(e,t,n))return D(e,t,n);var r=te(t);return B(r)?void 0:N(e,r,n)}function D(e,t,n){var i=C(t,n,!1);if(!x(i))return i.get(e)}function j(e,t,n,i){var r;C(n,i,!0).set(e,t)}function R(e,t){var n=L(e,t),i=te(e);if(null===i)return n;var r=R(i,t);if(r.length<=0)return n;if(n.length<=0)return r;for(var a=new f,o=[],
474s=0,u=n;s<u.length;s++){var c=u[s],l;(l=a.has(c))||(a.add(c),o.push(c))}for(var d=0,h=r;d<h.length;d++){var c=h[d],l;(l=a.has(c))||(a.add(c),o.push(c))}return o}function L(e,t){var n=[],i=C(e,t,!1);if(x(i))return n;for(var r,a=Z(i.keys()),o=0;;){var s=Q(a);if(!s)return n.length=o,n;var u=J(s);try{n[o]=u}catch(e){try{ee(a)}finally{throw e;}}o++}}function M(e){if(null===e)return 1;switch(typeof e){case "undefined":return 0;case "boolean":return 2;case "string":return 3;case "symbol":return 4;case "number":return 5;
475case "object":return null===e?1:6;default:return 6}}function x(e){return void 0===e}function B(e){return null===e}function F(e){return"symbol"==typeof e}function V(e){return"object"==typeof e?null!==e:"function"==typeof e}function W(e,t){switch(M(e)){case 0:return e;case 1:return e;case 2:return e;case 3:return e;case 4:return e;case 5:return e}var n=3===t?"string":5===t?"number":"default",i=q(e,r);if(void 0!==i){var a=i.call(e,n);if(V(a))throw new TypeError;return a}return U(e,"default"===n?"number":
476n)}function U(e,t){if("string"===t){var n=e.toString,i,r,i;if($(n))if(!V(i=n.call(e)))return i;if($(r=e.valueOf))if(!V(i=r.call(e)))return i}else{var r,i;if($(r=e.valueOf))if(!V(i=r.call(e)))return i;var a=e.toString,i;if($(a))if(!V(i=a.call(e)))return i}throw new TypeError;}function H(e){return!!e}function z(e){return""+e}function G(e){var t=W(e,3);return F(t)?t:z(t)}function Y(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}
477function $(e){return"function"==typeof e}function X(e){return"function"==typeof e}function K(e){switch(M(e)){case 3:return!0;case 4:return!0;default:return!1}}function q(e,t){var n=e[t];if(void 0!==n&&null!==n){if(!$(n))throw new TypeError;return n}}function Z(e){var t=q(e,a);if(!$(t))throw new TypeError;var n=t.call(e);if(!V(n))throw new TypeError;return n}function J(e){return e.value}function Q(e){var t=e.next();return!t.done&&t}function ee(e){var t=e.return;t&&t.call(e)}function te(e){var t=Object.getPrototypeOf(e);
478if("function"!=typeof e||e===l)return t;if(t!==l)return t;var n=e.prototype,i=n&&Object.getPrototypeOf(n);if(null==i||i===Object.prototype)return t;var r=i.constructor;return"function"!=typeof r?t:r===e?t:r}function ne(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=
479this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e;},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=
480-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var i=this._keys.length,r=n+1;r<i;r++)this._keys[r-1]=this._keys[r],this._values[r-
4811]=this._values[r];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,i)},t.prototype.values=function(){return new n(this._keys,this._values,r)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},
482t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function i(e,t){return e}function r(e,t){return t}function o(e,t){return[e,t]}}function ie(){return function(){function e(){this._map=new h}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},
483enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},
484e}()}function re(){var e=16,t=c.create(),i=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=a(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=a(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){var n;return a(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=a(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var e;do e="@@WeakMap@@"+
485u();while(c.has(t,e));return t[e]=!0,e}function a(e,t){if(!n.call(e,i)){if(!t)return;Object.defineProperty(e,i,{value:c.create()})}return e[i]}function o(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function s(e){return"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):o(new Uint8Array(e),e):o(new Array(e),e)}function u(){var t=s(e);t[6]=79&t[6]|64,t[8]=191&t[8]|128;
486for(var n="",i=0;i<e;++i){var r=t[i];4!==i&&6!==i&&8!==i||(n+="-"),r<16&&(n+="0"),n+=r.toString(16).toLowerCase()}return n}}function ae(e){return e.__=void 0,delete e.__,e}t("decorate",p),t("metadata",y),t("defineMetadata",b),t("hasMetadata",m),t("hasOwnMetadata",w),t("getMetadata",S),t("getOwnMetadata",O),t("getMetadataKeys",_),t("getOwnMetadataKeys",k),t("deleteMetadata",P)})}(n||(n={}))}).call(t,n(123),n(37))},1613:function(e,t,n){var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1656);function c(e){var t=
487l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}!function(e){webwave.provide("com.webwave.publication.object.WElement");
488var t=function(e){Object(a.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"recreateContent",value:function e(){}},{key:"recreate",value:function e(){this.recreateContent()}},{key:"getGroup",value:function e(){return com.webwave.publication.object.ObjectService.getInstance().getWObjectById(this.getDomObject().attr("groupid"))}},{key:"getAnimatingContent",value:function e(){return this.getContent()}},{key:"canBeRotated",value:function e(){return!0}}]),
489n}(u.a);com.webwave.publication.object.WElement=t}(window),t.a=com.webwave.publication.object.WElement},1614:function(e,t,n){var i,r={SELF:"self",NEW_TAB:"blank"};n(10).TranslationPrefix.addTranslationPrefix(r,"com.webwave.link.LinkTargets"),t.a=r},1615:function(e,t,n){var i={ANCHOR:"anchor",CUSTOM:"customLink",INTERACTION:"interaction",NEWSPAGE:"newspage",NO_LINK:"noLink",OBJECT:"object",PRODUCTPAGE:"productpage",WEBPAGE:"webpage",REFUNDPAGE:"refundpage"};t.a=i},1616:function(e,t,n){n.d(t,"a",function(){return b});
490var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1749),c=n(1750),l=n(38),d=n(27),h=n(15),f=n.n(h),v,g;function p(e){var t=y();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
491[],function(){})),!0}catch(e){return!1}}
491var b=(v=Object(h.injectable)())(g=function(e){Object(a.a)(n,e);var t=p(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this)).prefixes=n.getPrefixesFromMap(),e}return Object(r.a)(n,[{key:"parseNumber",value:function e(t,n){return t.startsWith("+")?this.parseForMethod(t,n,u.a.PLUS):t.startsWith("00")?this.parseForMethod(t,n,u.a.DOUBLE_ZERO):t.match(/^\d/)&&!1===t.startsWith("0")?this.parse(t,n):!0===t.startsWith("0")?this.parseForMethod(t,n,u.a.SINGLE_ZERO):
492this.getDefault(t,n)}},{key:"parseForMethod",value:function e(t,n,i){switch(i){case u.a.PLUS:t=t.replace("+","");break;case u.a.DOUBLE_ZERO:t=t.replace("00","");break;case u.a.SINGLE_ZERO:t=t.replace("0","");break}return this.parse(t,n)}},{key:"parse",value:function e(t,n){var i="";if(t.length>9)for(var r=0;r<8;r++)if(i+=t[r],this.prefixes.includes("+"+i)){var a=i;return t=t.substring(r+1,t.length),new c.a("+"+a,t)}return this.getDefault(t,n)}},{key:"getDefault",value:function e(t,n){var i=this.getPrefixByCountry(n);
493return new c.a(i,t)}},{key:"getPrefixes",value:function e(){return this.prefixes}},{key:"getPrefixByCountry",value:function e(t){var n;return webwave.isDefAndNotNull(t)&&(n=l.c[t.toUpperCase()]),!1===webwave.isDef(n)&&(n=l.c.PL),n}}],[{key:"getPrefixesFromMap",value:function e(){var t=Object.values(l.c);return t.filter(function(e,n){return t.indexOf(e)==n})}},{key:"getPrefixesOptions",value:function e(){for(var t=n.getPrefixesFromMap(),i=[],r=0;r<t.length;r++)i.push({label:t[r],value:t[r]});return i}}]),
494n}(d.a))||g},1619:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(1283),o=n(49),s=n(40),u=n(15),c=n.n(u),l,d,h=(l=Object(u.injectable)())(d=function(){function e(){Object(i.a)(this,e),this._currentSize=this._getCurrentWindowSize(),this._sizeChangeListeners=[],this._browserZoomLevelChangeListeners=[],this._browserZoomLevel=new a.a,this._initEvents()}return Object(r.a)(e,[{key:"_getCurrentWindowSize",value:function e(){var t=parseInt(window.innerWidth,10),n=parseInt(window.innerHeight,
49510);return isNaN(t)&&(t=0),isNaN(n)&&(n=0),new s.a({width:t,height:n})}},{key:"_notifySizeChangeListeners",value:function e(t,n){for(var i=0;i<this._sizeChangeListeners.length;i++)this._sizeChangeListeners[i].onWindowSizeChange(t,n)}},{key:"_notifyBrowserZoomLevelListeners",value:function e(t,n){for(var i=0;i<this._browserZoomLevelChangeListeners.length;i++)this._browserZoomLevelChangeListeners[i].onBrowserZoomLevelChange(t,n)}},{key:"getCurrentSize",value:function e(){return this._currentSize}},
496{key:"setCurrentSize",value:function e(t){if(!1===this._currentSize.equals(t)){var n=this._currentSize.clone();this._currentSize=t,this._notifySizeChangeListeners(t,n)}}},{key:"_updateCurrentSize",value:function e(){this.setCurrentSize(this._getCurrentWindowSize())}},{key:"_updateCurrentZoomLevel",value:function e(){var t=this._browserZoomLevel.getBrowserZoom(),n;this._browserZoomLevel.zoomValueChanged()&&this._notifyBrowserZoomLevelListeners(this._browserZoomLevel.getBrowserZoom(),t)}},{key:"_initEvents",
497value:function e(){var t=this;window.onresize=function(){t._updateCurrentSize.call(t),t._updateCurrentZoomLevel.call(t)}}},{key:"addSizeChangeListener",value:function e(t){-1===this._sizeChangeListeners.indexOf(t)&&this._sizeChangeListeners.push(t)}},{key:"addBrowserZoomLevelChangeListener",value:function e(t){-1===this._browserZoomLevelChangeListeners.indexOf(t)&&this._browserZoomLevelChangeListeners.push(t)}},{key:"convertPointToRightOrigin",value:function e(t){return new o.a({x:this._currentSize.getWidth()-
498t.getX(),y:t.getY()})}}]),e}())||d},1622:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
499[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;if(Object(i.a)(this,n),void 0===e||void 0===e.objectId)throw webwave.debug("No object provided!"),new Error("No object provided!");e.type="webwave.link.ObjectLinkData",(r=t.call(this,e)).objectId=e.objectId,r.pageId=e.pageId;var a=parseInt(e.scrollDistance);return r.scrollDistance=isNaN(a)||a<0?0:a,r}return Object(r.a)(n,[{key:"getShortName",value:function e(){return this.objectId}},{key:"getObjectName",
500value:function e(){var t=objectService.getWObjectById(this.objectId);return webwave.isDef(t)?t.getName():this.objectId}},{key:"getScrollDistance",value:function e(){return this.scrollDistance}},{key:"setScrollDistance",value:function e(t){t=parseInt(t),!1===isNaN(t)&&t>0?this.scrollDistance=t:this.scrollDistance=0}},{key:"setPageId",value:function e(t){this.pageId=t}},{key:"getPageId",value:function e(){return this.pageId}},{key:"setObjectId",value:function e(t){this.objectId=t}},{key:"getObjectId",
501value:function e(){return this.objectId}}
501,{key:"toJSON",value:function e(){return{type:this.type,objectId:this.objectId,pageId:this.pageId,scrollDistance:this.scrollDistance}}}]),n}(n(839).a)},1623:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(3),a=n(4),o=n(2),s;function u(e){var t=c();return function n(){var i=Object(o.a)(e),r;if(t){var s=Object(o.a)(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function c(){if("undefined"==
502typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var l=function(e){Object(r.a)(n,e);var t=u(n);function n(){Object(i.a)(this,n);var e={type:"webwave.link.ShowShopCardLinkData"};return t.call(this,e)}return n}(n(839).a)},163:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MetadataReader=void 0;var i=n(22),r=
503function(){function e(){}return e.prototype.getConstructorMetadata=function(e){var t,n;return{compilerGeneratedMetadata:Reflect.getMetadata(i.PARAM_TYPES,e),userGeneratedMetadata:Reflect.getMetadata(i.TAGGED,e)||{}}},e.prototype.getPropertiesMetadata=function(e){var t;return Reflect.getMetadata(i.TAGGED_PROP,e)||[]},e}();t.MetadataReader=r},1633:function(e,t,n){var i={TOP:"top",CENTER:"center",BOTTOM:"bottom"};t.a=i},1634:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(225),
504o=n(1566),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._states={},this._states[a.a.NORMAL]=t[a.a.NORMAL],this._states[a.a.HOVER]=t[a.a.HOVER],this._states[a.a.DISABLED]=t[a.a.DISABLED]}return Object(r.a)(e,[{key:"getStates",value:function e(){return this._states}},{key:"getState",value:function e(t){return this.getStates()[t]}},{key:"setStyle",value:function e(t,n){this.getStates()[t]=n}},{key:"getStyle",value:function e(t){return this.getState(t)}},
505{key:"serialize",value:function e(){return{normal:this.getState(a.a.NORMAL).serialize(),hover:this.getState(a.a.HOVER).serialize(),disabled:this.getState(a.a.DISABLED).serialize()}}},{key:"clone",value:function t(){return e.deserialize(this.serialize())}}],[{key:"deserialize",value:function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({normal:new o.a(n[a.a.NORMAL]),hover:new o.a(n[a.a.HOVER]),disabled:new o.a(n[a.a.DISABLED])})}}]),e}()},1635:function(e,t,n){var i=
506{CROSSFADE:"crossfade",FADE_IN_OVER:"fadeInOver",EXPLOSION:"explosion",FADE:"fade",RANDOM:"random",SLIDE:"slide",SQUARE_FALL:"squareFall",
506SQUARE_SHUTTER:"squareShutter",SQUARE_VORTEX:"squareVortex"};t.a=i},1636:function(e,t,n){var i={TOP_VISIBLE:"topVisible",BOTTOM_VISIBLE:"bottomVisible",DISTANCE_FROM_TOP:"distanceFromTop"};t.a=i},164:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isStackOverflowExeption=void 0;var i=n(32);function r(e){return e instanceof RangeError||e.message===
507i.STACK_OVERFLOW}t.isStackOverflowExeption=r},165:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.inject=t.LazyServiceIdentifer=void 0;var i=n(32),r=n(22),a=n(36),o=n(48),s=function(){function e(e){this._cb=e}return e.prototype.unwrap=function(){return this._cb()},e}();function u(e){return function(t,n,s){if(void 0===e)throw new Error(i.UNDEFINED_INJECT_ANNOTATION(t.name));var u=new a.Metadata(r.INJECT_TAG,e);"number"==typeof s?o.tagParameter(t,n,s,u):o.tagProperty(t,n,u)}}t.LazyServiceIdentifer=
508s,t.inject=u},1656:function(e,t,n){n.d(t,"a",function(){return C});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2060),l=n(106),d=n(1605),h=n(49),f=n(1128),v=n(46),g=n.n(v),p=n(2406),y=n(40),b=n(225),m=n(2407),w=n(82),S=n(1676),O=n(1298),_=n(1693),k=n(1634);function P(e){var t=A();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function A(){if("undefined"==typeof Reflect||
509!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var E=[w.a.BUTTON,w.a.IMG,w.a.STORE_CART,w.a.STORE_PRODUCT];webwave.provide("com.webwave.publication.object.WObject");var C=function(e){Object(o.a)(n,e);var t=P(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).backgroundParallaxService=e.backgroundParallaxService,r.objectService=
510e.objectService,r._rwdService=e.rwdService,r._pageaAreaService=null,r.$domObject=e.domObject,!1===r.hasBackgroundOverlayDom()&&r._renderBackgroundOverlayDom(),r.cachedDom=r.cacheDom(r.$domObject[0]),r.$content=void 0,r._type=r.$domObject[0].getAttribute("data-element-type"),r.objectStyle={},r.fixed=null,r.objectStyle=webwave.isDefAndNotNull(e.objectStyle)?d.a.deserialize(e.objectStyle):new d.a,r._positionOrigin=f.a.PAGE_TOP_LEFT,r._rwdProperties=r._deserializeRwdPropertiesMap(e.rwdProperties),r.rotationDegree=
511n.DEFAULT_ROTATION_DEGREE,r._hooverAnimatorData=e.hoverAnimator,r._hoverAnimator=void 0,r._propertyChangeDispatcher=new v.PropertyChangeDispatcher,r._domElementPositionUpdateEnabled=!1,r._visibilityRequiresAnimation=!1,r._animationsInitialized=!1,r._rwdPropertiesLoaded=!1,r}return Object(r.a)(n,[{key:"cacheDom",value:function e(t){return{content:t.children[0],backgroundOverlay:t.children[1]}}},{key:"isHoverAnimatorEnabled",value:function e(){return-1!==E.indexOf(this.getType())&&webwave.isDef(this.getHoverAnimator())}},
512{key:"_updateHoverAnimationDisabled",value:function e(){this.getHoverAnimator().setDisabled(!1===this.isHoverEventsEnabled())}},{key:"setHoverAnimator",value:function e(t){this._hoverAnimator=t}},{key:"getHoverAnimatorData",value:function e(){return this._hooverAnimatorData}},{key:"enableHoverEvents",value:function e(){this.hoverEventsEnabled=!0,this._updateHoverAnimationDisabled(),this.get
512State().setLocked(!1)}},{key:"disableHoverEvents",value:function e(){this.hoverEventsEnabled=!1,this._updateHoverAnimationDisabled(),
513this.getState().setLocked(!0)}},{key:"init",value:function e(){var t;this.isParallaxActive()&&this.backgroundParallaxService.addParallaxListener(this),this.setRwdMode(null===(t=this._rwdService)||void 0===t?void 0:t.getCurrentRwdMode()),this.isFullWidth()&&this.updateDomSizeAndPosition(),this.initHoverEvents()}},{key:"createStatesStyles",value:function e(t){return k.a.deserialize(t)}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),
514this.canBeRotated()&&this.updateDomSizeForRotatedObject(),this.triggerPropertyChange(_.a.DOM_SIZE,this.getComputedSize())}},{key:"isFixed",value:function e(){return!0===this.fixed}},{key:"setFixed",value:function e(t){var n=this.fixed!==t;this.fixed=t,n&&this.setFixedAttribute(t)}},{key:"setFixedAttribute",value:function e(t){this.$domObject[0].setAttribute("fixed",t)}},{key:"getContent",value:function e(){return webwave.isNotDef(this.$content)&&(this.$content=$(this.cachedDom.content)),this.$content}},
515{key:"getContentEl",value:function e(){return this.cachedDom.content}},{key:"getDomObject",value:function e(){return webwave.isDef(this.$domObject)?this.$domObject:$()}},{key:"getY",value:function e(){return this.getComputedPosition().getY()}},{key:"getHeight",value:function e(){return this.getComputedSize().getHeight()}},{key:"getWidth",value:function e(){return this.getComputedSize().getWidth()}},{key:"getBackgroundParallax",value:function e(){return this.objectStyle.background.parallax}},{key:"getShadowSizeCorrection",
516value:function e(){var t={top:0,right:0,bottom:0,left:0};if(!0===this.objectStyle.shadow.enabled){var n=this.objectStyle.shadow,i=Math.ceil(n.blur);t.left=n.x<0?-n.x+i:i,t.right=n.x>0?n.x+i:i,t.top=n.y<0?-n.y+i:i,t.bottom=n.y>0?n.y+i:i}return t}},{key:"isRotated",value:function e(){var t=!1;return this.canBeRotated()&&this.isRotationEnabled()&&this.rotationDegree!==n.DEFAULT_ROTATION_DEGREE&&(t=!0),t}},{key:"getRotationTransformCss",value:function e(){return this.isRotated()?"rotate(".concat(this.rotationDegree,
517"deg)"):""}}
517,{key:"updateBackgroundParallaxPosition",value:function e(t){webwave.isNotDef(t)&&(t=pageService.getWindowScroll());var n,i=this.objectStyle.background.parallax;if(webwave.isNumberAndNotNaN(t)&&100!==i){var r,a=t-this.getY(),o=parseInt(a-i/100*a),s=o<0?" - ".concat(Math.abs(o),"px"):" + ".concat(o,"px");this.setVerticalBackgroundPositionForParallax(s)}}},{key:"setVerticalBackgroundPositionForParallax",value:function e(t){var n="calc(".concat(this.objectStyle.background.verticalPosition).concat(t,
518")");this.getContentEl().style.backgroundPosition="".concat(this.objectStyle.background.horizontalPosition," ").concat(n)}},{key:"isParallaxActive",value:function e(){return this.objectStyle.isParallaxActive()}},{key:"setVisibilityRequiresAnimation",value:function e(t){this._visibilityRequiresAnimation=t}},{key:"setAnimationsInitliazed",value:function e(t){var n=this._animationsInitialized!==t;this._animationsInitialized=t,n&&this.updateBaseVisibility()}},{key:"isVisiblilityRequiresAnimation",value:function e(){return this._visibilityRequiresAnimation}},
519{key:"isAnimationInitialized",value:function e(){return this._animationsInitialized}},{key:"_loadRwdProperties",value:function e(t){this.setVisibilityRequiresAnimation(t.animationOnScrollEnabled||t.animationEnabled),this.updateBaseVisibility(),this.setAllPadding(t.style.padding),this.setRotationEnabled(t.rotationEnabled),this.setRotation(t.rotation),this.setSize(t.size,{noDomElementUpdate:!0}),this.setFullWidth(t.fullWidth,{noDomUpdate:!0}),this.setPositionOrigin(t.positionOrigin,{noDomUpdate:!0}),
520this.setPosition(t.position,{noDomElementUpdate:!0}),this.applyBindsRwd(t.binds),this.setFixed(!0===t.fixed),this.setSticky(!0===t.sticky),this.setStickyStartDistance(t.stickyStartDistance),this.setStickyEndDistance(t.stickyEndDistance),this.setStickyEndDistanceEnabled(t.stickyEndDistanceEnabled),this.loadAdditionalData(t.additionalProperties),this._rwdPropertiesLoaded=!0,this.updateDomSizeAndPosition(),this.updateMinSize(),this.updateContentDomStyle()}},{key:"loadAdditionalData",value:function e(t){}},
521{key:"setRwdMode",value:function e(t){if(webwave.isDefAndNotNull(this._rwdService)){this._rwdService.changeElementsAttributes(this.getDomObject()[0],t);var n=this._rwdService.searchForClosestObjectByRwdMode(this._rwdProperties,t);n&&this._loadRwdProperties(n)}}},{key:"updateObjectForRwdChange",value:function e(t){this.setRwdMode(t)}},{key:"getRotation",value:function e(){return this.rotationDegree}},{key:"getOpacity",value:function e(){return this.objectStyle.opacity}},{key:"getComputedOpacity",value:function e(){return this.objectStyle.getComputedOpacity()}},
522{key:"isFullWidth",value:function e(){return"true"===this.getDomObject()[0].getAttribute("fullWidth")}},{key:"triggerAnimationChanged",value:function e(){}},{key:"canChangeAnimationEnabled",value:function e(){}},{key:"_deserializeRwdPropertiesMap",value:function e(t){var n={};try{if(webwave.isDefAndNotNull(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=new p.a(t[i]))}catch(e){console.log(e),n={}}return n}},{key:"setAllPadding",value:function e(t){this.objectStyle.padding=t}},{key:"canBeRotated",value:function e(){return!1}},
523{key:"isRotationEnabled",value:function e(){return this.rotationEnabled}},{key:"areRwdPropertiesLoaded",value:function e(){return this._rwdPropertiesLoaded}},{key:"setRotationEnabled",value:function e(t){this.rotationEnabled=!0===t}},{key:"setRotation",value:function e(t){this.rotationDegree=webwave.isNumberAndNotNaN(t)?t:0}},{key:"setFullWidth",value:function e(t,n){this.fullWidth=t,this.$domObject[0].setAttribute("fullWidth",!0===t),(webwave.isNotDef(n)||!0!==n.noDomUpdate)&&this.updateDomSizeAndPosition()}},
524{key:"setPositionOrigin",value:function e(t,n){this._positionOrigin=t,this.$domObject[0].setAttribute("data-positionOrigin",t),(webwave.isNotDef(n)||!0!==n.noDomUpdate)&&this.updateDomPosition()}},{key:"getInnerWidth",value:function e(){return this.computeSize({noRotation:!0}).getWidth()-this.getPaddingAndBorderSizes().horizontal}},{key:"getInnerHeight",value:function e(){return this.computeSize({noRotation:!0}).getHeight()-this.getPaddingAndBorderSizes().vertical}},{key:"calculateMinContentSize",
525value:function e(){return new y.a({width:0,height:0})}},{key:"calculateMinSize",value:function e(){var t=this.calculateMinContentSize(),n=this.getPaddingAndBorderSizes(),i;return new y.a({width:t.getWidth()+n.horizontal,height:t.getHeight()+n.vertical})}},{key:"getPadding",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i;if(!0===this.getObjectStyle().padding.enabled||n)switch(t){case "left"
525:i=parseInt(this.objectStyle.padding.left);break;case "right":i=parseInt(this.objectStyle.padding.right);
526break;case "top":i=parseInt(this.objectStyle.padding.top);break;case "bottom":i=parseInt(this.objectStyle.padding.bottom);break}return isNaN(i)?0:i}},{key:"getBorderWidth",value:function e(t,n){var i;switch(t){case "left":i=!0===n?this.objectStyle.border.getComputedLeftWidth():this.objectStyle.border.left.width;break;case "top":i=!0===n?this.objectStyle.border.getComputedTopWidth():this.objectStyle.border.top.width;break;case "right":i=!0===n?this.objectStyle.border.getComputedRightWidth():this.objectStyle.border.right.width;
527break;case "bottom":i=!0===n?this.objectStyle.border.getComputedBottomWidth():this.objectStyle.border.bottom.width;break}return i=parseInt(i),isNaN(i)?0:i}},{key:"getBorderEnabled",value:function e(){return this.getObjectStyle().border.enabled}},{key:"getPaddingAndBorderSizes",value:function e(){var t=this.objectStyle.border.enabled?this.objectStyle.border.top.width:0,n=this.objectStyle.border.enabled?this.objectStyle.border.bottom.width:0,i=this.objectStyle.border.enabled?this.objectStyle.border.left.width:
5280,r=this.objectStyle.border.enabled?this.objectStyle.border.right.width:0,a,o,s,u,c=t+(this.objectStyle.padding.enabled?this.objectStyle.padding.top:0),l=r+(this.objectStyle.padding.enabled?this.objectStyle.padding.right:0),d=n+(this.objectStyle.padding.enabled?this.objectStyle.padding.bottom:0),h=i+(this.objectStyle.padding.enabled?this.objectStyle.padding.left:0);return{top:c=webwave.isNumberAndNotNaN(c)?c:0,right:l=webwave.isNumberAndNotNaN(l)?l:0,bottom:d=webwave.isNumberAndNotNaN(d)?d:0,left:h=
529webwave.isNumberAndNotNaN(h)?h:0,horizontal:h+l,vertical:c+d}}},{key:"transformSizesToRotation",value:function e(t,n,i){var r=i*(Math.PI/180),a=Math.abs(Math.sin(r)),o=Math.abs(Math.cos(r));return new y.a({width:Math.round(o*t+a*n),height:Math.round(a*t+o*n)})}},{key:"setPageAreaService",value:function e(t){this._pageaAreaService=t}},{key:"getPageAreaService",value:function e(){return this._pageaAreaService}},{key:"isObjectSizeAndPositionShouldBeConvertedToPX",value:function e(){return this.isUnitShouldBeConvertedToPX(this.getPosition().getXUnit())||
530this.isUnitShouldBeConvertedToPX(this.getPosition().getYUnit())||this.isUnitShouldBeConvertedToPX(this.getSize().getWidthUnit())||this.isUnitShouldBeConvertedToPX(this.getSize().getHeightUnit())}},{key:"isUnitShouldBeConvertedToPX",value:function e(t){return t!==l.a.PX}},{key:"hasAnyAncestorObjectAnimationQueueItem",value:function e(){var t=!1;return this.forEachAncestor(function(e){t=t||e.hasObjectAnimationQueueItem()}),t}},{key:"computeBaseVisibility",value:function e(){var t;return(!this.isVisiblilityRequiresAnimation()||
531!1!==this.isAnimationInitialized()&&(!1!==this.hasObjectAnimationQueueItem()||!1!==this.hasAnyAncestorObjectAnimationQueueItem()))&&this.getRwdModeVisibility(null===(t=this.getRwdService())||void 0===t?void 0:t.getCurrentRwdMode())}},{key:"getRwdModeVisibility",value:function e(t){var n=!0;if(webwave.isDefAndNotNull(t)){var i=this.getLayoutVisibility();if(webwave.isDefAndNotNull(i))n=i;else{var r=this._rwdService.searchForClosestObjectByRwdMode(this._rwdProperties,t);webwave.isDef(r)&&(n=r.visibility)}}return n}},
532{key:"getLayoutVisibility",value:function e(){var t=null,n=this.objectService.getLayoutObjectVisibility(this.id);if(webwave.isDefAndNotNull(n)){var i=n[this._rwdService.getCurrentRwdMode().getId()];webwave.isDef(i)&&(t=i)}return t}},{key:"onVisibilityChange",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this,t),this.isHoverAnimatorEnabled()&&(this.isVisible()?this.getHoverAnimator().setDisabled(!1):
533this.getHoverAnimator().setDisabled(!0))}},{key:"getContentSize",value:function e(){var t;return new y.a({width:this.getContentEl().offsetWidth,height:this.getContentEl().offsetHeight})}},{key:"setMinSize",value:function e(t,n){var i=!1===this._minSize.equals(t);this._minSize=t.clone(),i&&this.areRwdPropertiesLoaded()&&this.updateDomSizeAndPosition()}},{key:"updateMinSize",value:function e(){this.setMinSize(this.calculateMinSize())}},{key:"updateDomSizeForRotatedObject",value:function e(){var t;if(this.getRotation()!==
534n.DEFAULT_ROTATION_DEGREE){var i=this.computeSize({noRotation:!0}),r=this.getContentEl(),a=i.getWidth();r.style.width="".concat(i.getWidth(),"px");var o=i.getHeight();r.style.height="".concat(o,"px");var s=this.calcRotatedContentPosition(a,o,this.getRotation());r.style.left="".concat(s.x,"px"),r.style.top="".concat(s.y,"px")}else this._resetSizeAndPositionForContent()}},{key:"calcRotatedContentPosition",value:function e(t,n,i){var r=i*(Math.PI/180),a=Math.cos(r),o=Math.sin(r),s=0,u=0;return a<0&&
535(s+=-a*t,u+=-a*n),o>0?s+=o*n:o<0&&(u+=-o*t),new h.a({x:s,y:u})}},{key:"useAdvancedTextEditor",value:function e(){return!1}}
535,{key:"addImgLazyLoad",value:function e(){this._addBackgroundImageLazyLoad(),this.useAdvancedTextEditor()&&this._addAdvancedTextImagesLazyLoad()}},{key:"addObjectInViewPortListener",value:function e(){}},{key:"_addBackgroundImageLazyLoad",value:function e(){if(webwave.isDef(this.getContentEl())&&this.getContentEl().hasAttribute(S.a.LAZY_LOAD_ATTR_NAME)){var t=new S.a(this.getContentEl());
536this.createDomWIntersectionObserved(t)}}},{key:"_addAdvancedTextImagesLazyLoad",value:function e(){var t=this;this.getContentEl().querySelectorAll("img[".concat(O.a.LAZY_LOAD_ATTR_NAME,"]")).forEach(function(e){var n=new O.a(e);t.createDomWIntersectionObserved(n)})}},{key:"createDomWIntersectionObserved",value:function e(t){webwave.isDef(t)&&(t.setBrowserWebPSupportUtils(this.browserWebPSupportUtils),this.addObjectToIntersectionObserver(t))}},{key:"addObjectToIntersectionObserver",value:function e(t){this.wIntersectionObserver.addObject(t)}},
537{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}},{key:"setWIntersectionObserver",value:function e(t){this.wIntersectionObserver=t}},{key:"setRwdService",value:function e(t){this._rwdService=t}},{key:"getRwdService",value:function e(){return this._rwdService}},{key:"canChangeStateStyle",value:function e(){return-1!==E.indexOf(this.getType())}}
537,{key:"updateBackgroundOverlayDomStyle",value:function e(){var t=this.getBackgroundOverlayEl();webwave.isDefAndNotNull(t)&&
538(t.style.cssText=this.objectStyle.backgroundOverlay.toCssString(),t.style.borderRadius="".concat(this.objectStyle.border.getComputedRadius(),"px"))}},{key:"applyPartialObjectStyle",value:function e(t){this.objectStyle.applyPartialObjectStyle(t),(this.isInitialized()||this.isBeingInitialized())&&(this.updateContentDomStyle(),this.updateBackgroundOverlayDomStyle(),this.isParallaxActive()&&this.updateBackgroundParallaxPosition())}},{key:"applyStateStyle",value:function e(t){this.applyPartialObjectStyle(this.getStateStyle(t))}},
539{key:"updateStateStyle",value:function e(){this.applyStateStyle(this.getState().getName())}},{key:"getObjectStyle",value:function e(){return this.objectStyle}},{key:"updateContentDomStyle",value:function e(){this.getContent().css(this.getObjectStyle().toCss2Map())}},{key:"getType",value:function e(){return this._type}},{key:"getHoverAnimator",value:function e(){return this._hoverAnimator}},{key:"setStyleVersion",value:function e(t){this.applyStateStyle(t)}},{key:"onOwnMouseOverChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),
540"onOwnMouseOverChange",this).call(this),this.isHoverAnimatorEnabled()&&this.getHoverAnimator().getAnimationData().isEnabled()&&(this.getOwnMouseOver()?this.getHoverAnimator().onMouseEnter():this.getHoverAnimator().onMouseLeave())}},{key:"getBackgroundOverlayDom",value:function e(){return $(this.cachedDom.backgroundOverlay)}},{key:"getBackgroundOverlayEl",value:function e(){return this.cachedDom.backgroundOverlay}},{key:"hasBackgroundOverlayDom",value:function e(){return this.$domObject[0].children.length>=
5412}},{key:"_renderBackgroundOverlayDom",value:function e(){var t=document.createElement("DIV");t.classList.add("backgroundOverlay"),this.$domObject[0].appendChild(t)}},{key:"applyBindsRwd",value:function e(t){this.objectService.removeAllRelationsByWObject(this),this.objectService.detachBinds(this),this.objectService.restoreBindsFromJSON(this,t),this.objectService.loadWObjectRelations(this)}},{key:"isInGroup",value:function e(){return this.getParentWNode()instanceof com.webwave.publication.object.WGroup&&
542this.getParentWNode().isUserGroup()}},{key:"getPageCanvas",value:function e(){return this.pageCanvas}},{key:"isToAnimate",value:function e(){return webwave.isDef(this.getAnimation())&&!1===this.isScrollAnimationEnabled()}},{key:"addPropertyChangeListener",value:function e(t,n){this._propertyChangeDispatcher.addPropertyChangeListener(t,n)}},{key:"removePropertyChangeListener",value:function e(t,n){this._propertyChangeDispatcher.removePropertyChangeListener(t,n)}},{key:"notifyPropertyChangeListeners",
543value:function e(t){this._propertyChangeDispatcher.dispatch(t)}},{key:"triggerPropertyChange",value:function e(t,n,i){this.notifyPropertyChangeListeners(new v.PropertyChangeEvent({propertyName:t,previousValue:i,newValue:n}))}},{key:"afterDomPositionChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomPositionChange",this).call(this),this.triggerPropertyChange(_.a.DOM_POSITION,this.getComputedPosition())}},{key:"_resetSizeAndPositionForContent",value:function e(){var t=this.getContentEl();
544t.style.width="",t.style.height="",t.style.left="",t.style.top=""}},{key:"canBeTargetScroll",value:function e(){return!1===this.isSticked()&&!1===this.isFixed()}},{key:"getInnerElements",value:function e(){return[]}},{key:"getRwdProperties",value:function e(){return this._rwdProperties}},{key:"getAnimatableElements",value:function e(){return[this.getContent()[0],this.getBackgroundOverlayEl()]}},{key:"cloneComputedStyleToInlineInContent",value:function e(){for(var t=this.getContentEl(),i=0;i<n.PROPERTIES_TO_COPY.length;i++)t.style[n.PROPERTIES_TO_COPY[i]]=
545"";for(var r=window.getComputedStyle(t),a=0;a<n.PROPERTIES_TO_COPY.length;a++)t.style[n.PROPERTIES_TO_COPY[a]]=r[n.PROPERTIES_TO_COPY[a]]}},{key:"getContentComputedProperty",value:function e(t){return window.getComputedStyle(this.getContentEl()).getPropertyValue(t)}}]),n}(c.a);C.DEFAULT_ROTATION_DEGREE=0,C.DEFAULT_PARALLAX_VALUE=100,C.PROPERTIES_TO_COPY=["filter","transform","transformOrigin"],com.webwave.publication.object.WObject=C},1657:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),
546r=n(1),a=n(1633),o=n(1236),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.DEFAULT_POSITION;Object(i.a)(this,e),this.positionOrigin=t instanceof e?t.serialize():t}return Object(r.a)(e,[{key:"setPositionOrigin",value:function e(t){this.positionOrigin=t}},{key:"getPositionOrigin",value:function e(){return this.positionOrigin}},{key:"getHorizontalPosition",value:function e(){return this.positionOrigin[0]}},{key:"getVerticalPosition",value:function e(){return this.positionOrigin[1]}},
547{key:"serialize",value:function e(){return this.positionOrigin}}]),e}();s.DEFAULT_POSITION=[o.a.LEFT,a.a.TOP]},1658:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(122),c=n(46),l=n.n(c);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;
548if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=0,v=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).relatedWNodes=[],r.typeOfRelation=null,r.distance=null,r.relatedWNodes=webwave.isArrayLike(e.relatedWNodes)?e.relatedWNodes:[],r.typeOfRelation=e.typeOfRelation,r.distance=new u.a(e.distance),r._pullBack=!0===
549e.pullBack,r._rwdModeId=e.rwdModeId,r.instanceId=f++,r}return Object(r.a)(n,[{key:"setDistance",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new u.a({value:Math.max(0,t.getValue()),unit:t.getUnit()}),r=!1===this.distance.equals(t),a=this.distance;if(this.distance=i,r){if(this._pullBack=!0,this.triggerPropertyChange("distance",i,a),webwave.isDefAndNotNull(window.objectService)&&!0===n.userInteraction){var o=objectService.getWObjectById(this.relatedWNodes[0]);
550webwave.isDef(o)&&(o.updateRwdBinds(),o.saveCurrentRwdProperties());var s=objectService.getWObjectById(this.relatedWNodes[1]);webwave.isDef(s)&&(s.updateRwdBinds(),s.saveCurrentRwdProperties())}var c=objectService.getWObjectById(this.relatedWNodes[0]);webwave.isDef(c)&&c.onRelationDistanceChange(this,i,a);var l=objectService.getWObjectById(this.relatedWNodes[1]);webwave.isDef(l)&&l.onRelationDistanceChange(this,i,a)}}},{key:"getDistance",value:function e(){return this.distance}},{key:"toJSON",value:function e(){return{relatedWNodes:this.relatedWNodes,
551typeOfRelation:this.typeOfRelation,distance:this.distance,pullBack:this._pullBack}}},{key:"getTopGroup",value:function e(){return this.relatedWNodes[0]}},{key:"getBottomGroup",value:function e(){return this.relatedWNodes[1]}},{key:"getOtherWNodeId",value:function e(t){return this.relatedWNodes[0]!==t?this.relatedWNodes[0]:this.relatedWNodes[1]}},{key:"clone",value:function e(){return new n(JSON.parse(JSON.stringify(this.toJSON())))}},{key:"hasDisabledPulling",value:function e(){return!1===this._pullBack}},
552{key:"getRelatedWNodes",value:function e(){return this.relatedWNodes}},{key:"getTypeOfRelation",value:function e(){return this.typeOfRelation}},{key:"getRwdModeId",value:function e(){return this._rwdModeId}}]),n}(c.SimplePropertyChangeEmitter)},1659:function(e,t,n){t.a={VERTICAL:"vertical",HORIZONTAL:"horizontal",MOBILE:"mobile"}}
552,166:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Target=void 0;var i=n(22),r=n(55),a=n(36),o=n(291),s=function(){function e(e,t,n,s){this.id=r.id(),
553this.type=e,this.serviceIdentifier=n,this.name=new o.QueryableString(t||""),this.metadata=new Array;var u=null;"string"==typeof s?u=new a.Metadata(i.NAMED_TAG,s):s instanceof a.Metadata&&(u=s),null!==u&&this.metadata.push(u)}return e.prototype.hasTag=function(e){for(var t=0,n=this.metadata;t<n.length;t++){var i;if(n[t].key===e)return!0}return!1},e.prototype.isArray=function(){return this.hasTag(i.MULTI_INJECT_TAG)},e.prototype.matchesArray=function(e){return this.matchesTag(i.MULTI_INJECT_TAG)(e)},
554e.prototype.isNamed=function(){return this.hasTag(i.NAMED_TAG)},e.prototype.isTagged=function(){return this.metadata.some(function(e){return i.NON_CUSTOM_TAG_KEYS.every(function(t){return e.key!==t})})},e.prototype.isOptional=function(){return this.matchesTag(i.OPTIONAL_TAG)(!0)},e.prototype.getNamedTag=function(){return this.isNamed()?this.metadata.filter(function(e){return e.key===i.NAMED_TAG})[0]:null},e.prototype.getCustomTags=function(){return this.isTagged()?this.metadata.filter(function(e){return i.NON_CUSTOM_TAG_KEYS.every(function(t){return e.key!==
555t})}):null},e.prototype.matchesNamedTag=function(e){return this.matchesTag(i.NAMED_TAG)(e)},e.prototype.matchesTag=function(e){var t=this;return function(n){for(var i=0,r=t.metadata;i<r.length;i++){var a=r[i];if(a.key===e&&a.value===n)return!0}return!1}},e}();t.Target=s},1660:function(e,t,n){t.a={ELEMENT:"element",AUTO:"auto",FULL_WIDTH:"fullWidth"}},1661:function(e,t,n){var i={ITEM:"item",NAME:"name",PRICE:"price",THUMBNAIL:"thumbnail",PAGINATION_INDEX:"paginationIndex",SELECTED_PAGINATION_INDEX:"selectedPaginationIndex"};
556t.a=i},1662:function(e,t,n){n.d(t,"a",function(){return r});var i=n(0),r=function e(){Object(i.a)(this,e)};r.PRODUCT_COUNTER_CLASS_NAME="shop-cart__product-counter",r.PRODUCT_COUNTER_MOCK_AMOUNT=1,r.PRODUCT_COUNTER_PROPERTY_NAME="product-count"},167:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingWhenOnSyntax=void 0;var i=n(108),r=n(109),a=function(){function e(e){this._binding=e,this._bindingWhenSyntax=new r.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new i.BindingOnSyntax(this._binding)}
557return e.prototype.when=function(e){return this._bindingWhenSyntax.when(e)},e.prototype.whenTargetNamed=function(e){return this._bindingWhenSyntax.whenTargetNamed(e)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)},e.prototype.whenInjectedInto=function(e){return this._bindingWhenSyntax.whenInjectedInto(e)},e.prototype.whenParentNamed=function(e){return this._bindingWhenSyntax.whenParentNamed(e)},
558e.prototype.whenParentTagged=function(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)},e.prototype.whenAnyAncestorIs=function(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)},e.prototype.whenNoAncestorIs=function(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)},e.prototype.whenAnyAncestorNamed=function(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)},e.prototype.whenNoAncestorNamed=
559function(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)},e.prototype.whenNoAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)},e.prototype.whenAnyAncestorMatches=function(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)},e.prototype.whenNoAncestorMatches=function(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)},e.prototype.onActivation=function(e){return this._bindingOnSyntax.onActivation(e)},e}();t.BindingWhenOnSyntax=a},1676:function(e,
560t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1568),c=n(1298);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
561[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"enteredViewportHandler",value:function e(){var t,i=$(this.getDomObject()).attr(n.LAZY_LOAD_ATTR_NAME);i=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(i,this.getDomObject()),this.getDomObject().style.backgroundImage='url("'.concat(i,'")')}}]),n}(u.a);h.LAZY_LOAD_ATTR_NAME="data-lazy-background-image",webwave.provide("com.webwave.publication.intersectionObserver.object.WIntersectionObservedBackgroun
561dImgObject"),
562com.webwave.publication.intersectionObserver.object.WIntersectionObservedBackgroundImgObject=h},1677:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1129),c=n(1566),l=n(1919);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;
563if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r;Object(i.a)(this,n),webwave.isNotDef(e)&&(e={});var a=e.styleMap;return(r=t.call(this,e)).styleMap=new c.a(a),r}return Object(r.a)(n,[{key:"toCssMap",value:function e(){var t={};return webwave.isDef(this.styleMap)&&$.extend(t,this.styleMap.toCss2Map()),webwave.isDef(this.textStyleMap)&&$.extend(t,
564this.textStyleMap.toCssMap()),t}},{key:"clone",value:function e(){var t;return new n($.extend(!0,{},this.serialize()))}},{key:"applyStyleRwdProperties",value:function e(t){webwave.isNotDef(t)&&(t={}),webwave.isNotDef(this.styleMap)&&(this.styleMap=new c.a),webwave.isNotDef(t.padding)&&(t.padding=new l.a),webwave.isNotDef(this.styleMap.padding)&&(this.styleMap.padding=new l.a),this.styleMap.padding.top=t.padding.top,this.styleMap.padding.right=t.padding.right,this.styleMap.padding.bottom=t.padding.bottom,
565this.styleMap.padding.left=t.padding.left}},{key:"applyStyleMap",value:function e(t){webwave.isDef(t)&&(webwave.isNotDef(this.styleMap)?this.styleMap=new c.a(t):this.styleMap.applyPartialObjectStyle(t))}}],[{key:"deserialize",value:function e(t){return new n(t)}},{key:"deserializeObjectCombinedStyles",value:function e(t){webwave.isNotDef(t)&&(t={});var i={};for(var r in t)t.hasOwnProperty(r)&&(i[r]=new n(t[r]));return i}}]),n}(u.a)},1678:function(e,t,n){var i=n(10),r={AVAILABLE:"AVAILABLE",NOT_AVAILABLE:"NOT_AVAILABLE"},
566a={};a[r.AVAILABLE]=0,a[r.NOT_AVAILABLE]=1,Object.defineProperty(r,"sortOrder",{value:a,enumerable:!1}),i.TranslationPrefix.addTranslationPrefix(r,"com.webwave.webwaveStore.product.status"),t.a=r},1679:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(215),c=n(1696);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,
567r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"createObject",value:function e(t){return new c.a(t)}},{key:"findOptionById",value:function e(t){for(var n,
568i,r=0;r<this._value.length&&(n=(i=this._value[r]).getVariantOptions().find(function(e){return e.getVariantId()===t}),!webwave.isDefAndNotNull(n));r++);return n}},{key:"findProductByName",value:function e(t){return this.value.find(function(e){return e.getName()===t&&!1===e.isDeleted()})}},{key:"update",value:function e(t){for(var n,i,r=0;r<t.value.length;r++)n=t.value[r],i=this.findProductByName(n.name),webwave.isDef(i)&&i.update(n)}},{key:"updateFromServerData",value:function e(t){for(var n,i,r=0;r<
569t.value.length;r++)n=t.value[r],i=this.findProductByName(n.name),webwave.isDef(i)&&i.updateFromServerData(n)}}],[{key:"getDefaultMap",value:function e(){return{enable:!1,value:[{name:i18n.t("com.webwave.webwaveStore.product.variants.default.variant1.name"),variantOption:[{createDate:new Date((new Date).getTime()-n._ONE_MINUTE_IN_MS),name:i18n.t("com.webwave.webwaveStore.product.variants.default.variant1.option1.name"),additionalPrice:0,additionalPricePositive:!0},{createDate:new Date,name:i18n.t("com.webwave.webwaveStore.product.variants.default.variant1.option2.name"),
570additionalPrice:0,additionalPricePositive:!0}]}]}}}]),n}(u.a);h._ONE_MINUTE_IN_MS=6E3},168:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.typeConstraint=t.namedConstraint=t.taggedConstraint=t.traverseAncerstors=void 0;var i=n(22),r=n(36),a=function(e,t){var n=e.parentRequest;return null!==n&&(!!t(n)||a(n,t))};t.traverseAncerstors=a;var o=function(e){return function(t){var n=function(n){return null!==n&&null!==n.target&&n.target.matchesTag(e)(t)};return n.metaData=new r.Metadata(e,
571t),n}};t.taggedConstraint=o;var s=o(i.NAMED_TAG);t.namedConstraint=s;var u=function(e){return function(t){var n=null;if(null!==t){var i;if(n=t.bindings[0],"string"==typeof e)return n.serviceIdentifier===e;var r=t.bindings[0].implementationType;return e===r}return!1}};t.typeConstraint=u},1680:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(10),o=n(38),s=n(66),u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.setData(t)}
572return Object(r.a)(e,[{key:"delete",value:function e(){this._deleted=!0}},{key:"getPriceForBackend",value:function e(){return this._additionalPrice}},{key:"getDateCreatedForBackend",value:function e(){return a.DateUtils.dateToString(this._createDate,a.DateUtils.availableFormats.WERBWAVE_BACKEND_BINDING)}},{key:"isDeleted",value:function e(){return this._deleted}},{key:"isToSave",value:function e(){return!1===(webwave.isNotDef(this._id)&&!0===this._deleted)}},{key:"update",value:function e(t){this.setData(t)}},
573{key:"setData",value:function e(t){this._id=t.id,this._temporaryId=!0===webwave.isNotDef(this._id)&&!0===webwave.isNotDef(t.temporaryId)?webwave.uniqueId("option_"):void 0,this._name=t.name,this._additionalPricePositive=t.additionalPricePositive,this._createDate=webwave.isDef(t.createDate)?new Date(t.createDate):new Date,this._additionalPrice=webwave.isNumberAndNotNaN(t.additionalPrice)?t.additionalPrice:void 0,this._additionalText=new s.a(t.additionalText),this._deleted=!!webwave.isDef(t.deleted)&&
574t.deleted}},{key:"serialize",value:function e(){return{name:this._name,additionalPricePositive:this._additionalPricePositive,additionalPrice:this._additionalPrice,createDate:this._createDate,id:this._id,temporaryId:this._temporaryId,deleted:this._deleted,additionalText:this._additionalText.serialize()}}},{key:"additionalText",get:function e(){return this._additionalText}},{key:"getId",value:function e(){return this._id}},{key:"getName",value:function e(){return this._name}},{key:"setPrice",value:function e(t){this._additionalPricePositive=
575!t.includes("-"),this._additionalPrice=a.MathUtils.setFloatPriceToLong(t.replace(",",".").replace("+","").replace("-",""))}},{key:"_getAdditionalPrice",value:function e(){return webwave.isNumberAndNotNaN(this._additionalPrice)?this._additionalPrice/100:0}},{key:"getAdditionalSum",value:function e(){return this._additionalPricePositive?this._getAdditionalPrice():-this._getAdditionalPrice()}},{key:"getPrice",value:function e(t){return this._additionalPrice?"".concat(this.getPriceForOptionCreation(),
576" ").concat(t):"-"}},{key:"getPriceForOptionCreation",value:function e(){return this._additionalPrice?(this._additionalPricePositive?"+":"-")+this._getAdditionalPrice():""}},{key:"validate",value:function e(){return webwave.isStringAndNotEmpty(this.getPriceForOptionCreation())?o.g.additionalPrice(this.getPriceForOptionCreation())*o.g.requireProp(this._name):o.g.requireProp(this._name)}},{key:"getAdditionalPriceWithCurrency",value:function e(t){var n=this.getPriceForOptionCreation();return n?"".concat(n,
577" ").concat(t):""}},{key:"getRow",value:function e(){return{value:this.getId(),label:this.getName()}}},{key:"getVariantId",value:function e(){return webwave.isDef(this._id)?this._id:this._temporaryId}},{key:"updateFromServerData",value:function e(t){webwave.isNotDef(this._id)&&(this._id=t.id)}}]),e}()},1681:function(e,t,n){var i={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"};t.a=i},1682:function(e,t,n){n.d(t,"a",function(){return s});var i=n(1),r=n(0);function a(){}!function(){var e=[],t="zero-timeout-message";
578function n(n){e.push(n),window.postMessage(t,"*")}function i(n){var i;n.source==window&&n.data==t&&(n.stopPropagation(),e.length>0&&e.shift()())}window.addEventListener("message",i,!0),window.setZeroTimeout=n}();var o=function e(t,n){Object(r.a)(this,e),this.func=t,this.args=n},s=function(){function e(t){Object(r.a)(this,e),void 0===t&&(t={}),this.queue=[],this._errorHandler=t.onError||a,this._continueOnError=t.continueOnError}return Object(i.a)(e,[{key:"addToQueue",value:function e(t,n){this.queue.push(new o(t,
579Array.prototype.slice.call(arguments,1)))}},{key:"dequeue",value:function e(){var t=this;t.queue.length>0&&setZeroTimeout(function(){var e=t.queue.shift();try{var n=e.func.apply(this,e.args);webwave.isObject(n)&&webwave.isFunction(n.then)?n.then(function(){t.dequeue()}):t.dequeue()}catch(e){"function"==typeof t._errorHandler?t._errorHandler.call(t,e):webwave.error(e),t.getContinueOnError()&&t.dequeue()}},0)}},{key:"dequeueSync",value:function e(){for(var t,n=this;t=this.queue.shift();)try{t.func.apply(this,
580t.args)}catch(e){webwave.log("error occured during Worker.dequeueSync",this,e),this._errorHandler.call(this,e)}}},{key:"getContinueOnError",value:function e(){return!0===this._continueOnError}}]),e}();webwave.provide("com.webwave.worker.Worker"),com.webwave.worker.Worker=s},1692:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"enteredViewportHandler",value:function e(){throw new Error("Not supported for abstract class");
581}},{key:"getDomObject",value:function e(){throw new Error("Not supported for abstract class");}},{key:"isSingleHandler",value:function e(){return!0}}]),e}()},1693:function(e,t,n){t.a={DOM_POSITION:"domPosition",DOM_SIZE:"domSize"}},1694:function(e,t,n){t.a={CHILDREN:0,PUSHED_DOWN:1}},1695:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a="IMG",o=function(){function e(t){Object(i.a)(this,e),this._$domObject=t,this._$domObject[0].classList.add("wwTextContent")}return Object(r.a)(e,
582[{key:"initLinkBlockEvent",value:function e(){this._$domObject.off("click.rwdTextContentLinkBlock"),this._$domObject.on("click.rwdTextContentLinkBlock","a",function(e){e.stopPropagation()})}},{key:"loadRwdTextProperties",value:function t(n){var i=webwave.isDef(n)?n:com.webwave.publication.rwd.rwdService.getCurrentRwdMode(),r=this;if(webwave.isDef(i))for(var a=this._$domObject[0].querySelectorAll("[".concat(e.TEXT_RWD_PROPERTIES_ATTR_NAME,"]")),o=0;o<a.length;o++){var s=a[o],u=s.getAttribute(e.TEXT_RWD_PROPERTIES_ATTR_NAME),
583c;try{c=webwave.isString(u)?JSON.parse(u):{}}catch(e){c={}}var l=com.webwave.publication.rwd.rwdService.searchForClosestObjectByRwdMode(c,i);"IMG"===s.nodeName?this._applyRwdMapToImgDomElement(s,l):this._applyRwdMapToOtherDomElement(s,l)}}},{key:"_applyRwdMapToImgDomElement",value:function e(t,n){webwave.isDef(n)?(t.style.width=webwave.isDef(n.width)?n.width:"",t.style.height=webwave.isDef(n.height)?n.height:""):(t.style.width="",t.style.height="")}},{key:"_applyRwdMapToOtherDomElement",value:function e(t,
584n){webwave.isDef(n)?(t.style.fontSize=webwave.isDef(n.fontSize)?n.fontSize:"",t.style.lineHeight=webwave.isDef(n.lineHeight)?n.lineHeight:"",t.style.textAlign=webwave.isDef(n.textAlign)?n.textAlign:"",t.style.letterSpacing=webwave.isDef(n.letterSpacing)?n.letterSpacing:""):(t.style.fontSize="",t.style.lineHeight="",t.style.textAlign="",t.style.letterSpacing="")}},{key:"dispose",value:function t(){this._$domObject.off(e.RWD_TEXT_PROPERTY_CHANGE_EVENT_NAME)}}]),e}();o.TEXT_RWD_PROPERTIES_ATTR_NAME=
585"textRwdProperties"},1696:function(e,t,n){n.d(t,"a",function(){return c});var i=n(0),r=n(1),a=n(10),o=n(1274),s=n(38),u=n(1680),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.update(t)}return Object(r.a)(e,[{key:"addOption",value:function e(t){this._variantOption.push(t)}},{key:"getDateCreatedForBackend",value:function e(){return a.DateUtils.dateToString(this._createDate,a.DateUtils.availableFormats.WERBWAVE_BACKEND_BINDING)}},{key:"getId",
586value:function e(){return this._id}},{key:"getName",value:function e(){return this._name}},{key:"getVariantOptions",value:function e(){return o.a.dateAsc(this._variantOption.filter(function(e){return!1===e._deleted}),"_createDate")}},{key:"delete",value:function e(){this._deleted=!0}},{key:"findVariantById",value:function e(t){return this.getVariantOptions().find(function(e){return e.getId()===t})}},{key:"findVariantByName",value:function e(t){return this.getVariantOptions().find(function(e){return e.getName()===
587t})}},{key:"getOptionsRows",value:function e(){for(var t=[],n=this.getVariantOptions(),i=0;i<n.length;i++)t.push(n[i].getRow());return t}},{key:"getSelectedOption",value:function e(){return!1===webwave.isDefAndNotNull(this._selectedOption)&&(this._selectedOption=this.getVariantOptions()[0]),this._selectedOption}},{key:"isDeleted",value:function e(){return!0===this._deleted}},{key:"isToSave",value:function e(){return!1===(webwave.isNotDef(this._id)&&!0===this._deleted)}},{key:"removeOption",value:function e(t){t.delete()}},
588{key:"serialize",value:function e(){return{id:this._id,name:this._name,createDate:this._createDate,deleted:this._deleted,variantOption:this._serializeVariantOptions(),selectedOption:webwave.isDef(this._selectedOption)?this._selectedOption.seri
588alize():void 0}}},{key:"toString",value:function e(){return"".concat(this._id,",").concat(this._name)}},{key:"update",value:function e(t){this._id=t.id,this._name=t.name,this._deleted=!!webwave.isDef(t.deleted)&&t.deleted,this._createDate=webwave.isDef(t.createDate)?
589new Date(t.createDate):new Date,this._deserializeVariantOptions(t.variantOption),this._selectedOption=webwave.isDef(t.selectedOption)?this._variantOption.find(function(e){return e._id===t.selectedOption.id}):void 0}},{key:"updateFromServerData",value:function e(t){var n,i;webwave.isNotDef(this._id)&&(this._id=t.id);for(var r=0;r<t.variantOption.length;r++)n=t.variantOption[r],i=this.findVariantByName(n.name),webwave.isDef(i)&&i.updateFromServerData(n)}},{key:"updateSelectedVariant",value:function e(t){var n=
590this.getVariantOptions().find(function(e){return e.getId()===t});n&&(this._selectedOption=n)}},{key:"validate",value:function e(){return s.g.requireProp(this._name)}},{key:"variantsExist",value:function e(){return this.getVariantOptions().length>0}},{key:"_deserializeVariantOptions",value:function e(t){if(this._variantOption=[],webwave.isDef(t))for(var n=0;n<t.length;n++)this._variantOption.push(new u.a(t[n]))}},{key:"_serializeVariantOptions",value:function e(){for(var t=[],n=0;n<this._variantOption.length;n++)t.push(this._variantOption[n].serialize());
591return t}}]),e}()},1697:function(e,t,n){t.a={NOT_LOGGED_IN:"notLoggedIn",LOGGED_IN:"loggedIn"}},17:function(e,t,n){n.d(t,"a",function(){return i});var i={AdditionalEventService:Symbol.for("AdditionalEventService"),AddStoreProductService:Symbol.for("AddStoreProductService"),AILanguageService:Symbol.for("AILanguageService"),AINewsGenerationService:Symbol.for("AINewsGenerationService"),AISectionGenerationService:Symbol.for("AISectionGenerationService"),AISeoWriterService:Symbol.for("AISeoWriterService"),
592AIWebsiteColorsService:Symbol.for("AIWebsiteColorsService"),AIWebsiteCookiesService:Symbol.for("AIWebsiteCookiesService"),AIWebsiteFontsService:Symbol.for("AIWebsiteFontsService"),AIWebsiteSeoService:Symbol.for("AIWebsiteSeoService"),AIWebsiteStoreService:Symbol.for("AIWebsiteStoreService"),AIWebsiteTranslationService:Symbol.for("AIWebsiteTranslationService"),AIWebsiteService:Symbol.for("AIWebsiteService"),AIWebsiteWObjectManager:Symbol.for("AIWebsiteWObjectManager"),AIWebsiteWPagesService:Symbol.for("AIWebsiteWPagesService"),
593AIWidgetService:Symbol.for("AIWidgetService"),AIWrapperFactory:Symbol.for("AIWrapperFactory"),AlignElementsService:Symbol.for("AlignElementsService"),AnimationOnScrollService:Symbol.for("AnimationOnScrollService"),Animator:Symbol.for("Animator"),AsystentCloudCookieStatusService:Symbol.for("AsystentCloudCookieStatusService"),AsystentCloudService:Symbol.for("AsystentCloudService"),WebsiteDataStoreService:Symbol.for("WebsiteDataStoreService"),AutoSaveService:Symbol.for("AutoSaveService"),AutomaticImportService:Symbol.for("AutomaticImportService"),
594BackgroundMapCreatorService: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"),CheckoutIntegrationService:Symbol.for("CheckoutIntegrationService"),ClipboardService:Symbol.for("ClipboardService"),
595CommandService:Symbol.for("CommandService"),ContextMenuService:Symbol.for("ContextMenuService"),CookieBarService:Symbol.for("CookieBarService"),CookieDetailsService:Symbol.for("CookieDetailsService"),CookiePopupSettingsService:Symbol.for("CookiePopupSettingsService"),CookiePopupIconService:Symbol.for("CookiePopupIconService"),CookieShowSettingsService:Symbol.for("CookieShowSettingsService"),CoreService:Symbol.for("CoreService"),CreateAIWebsiteTemplateService:Symbol.for("CreateAIWebsiteTemplateService"),
596DatePickerService: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"),EditorMouseoverManager:Symbol.for("EditorMouseoverManager"),
597EditorRoleService:Symbol.for("EditorRoleService"),EditorSelectionManager:Symbol.for("EditorSelectionManager"),EditorSettingsService:Symbol.for("EditorSettingsService"),EditorExternalEventsService:Symbol.for("EditorExternalEventsService"),ElementRotationService:Symbol.for("ElementRotationService"),EmbeddedElementService:Symbol.for("EmbeddedElementService"),EnvironmentUtils:Symbol.for("EnvironmentUtils"),ElementService:Symbol.for("ElementService"),FeedService:Symbol.for("FeedService"),FeedCategoryService:Symbol.for("FeedCategoryService"),
598FeedInnerElementFactory:Symbol.for("FeedInnerElementFactory"),FeedHtmlBuilder:Symbol.for("FeedHtmlBuilder"),FileManagerService:Symbol.for("FileManagerService"),FontManagerService:Symbol.for("FontManagerService"),FontService:Symbol.for("FontService"),FooterService:Symbol.for("FooterService"),FormService:Symbol.for("FormService"),FurgonetkaIntegrationService:Symbol.for("FurgonetkaIntegrationService"),FurgonetkaPostageService:Symbol.for("FurgonetkaPostageService"),GalleryService:Symbol.for("GalleryService"),
599GeneralSettingsService: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"),
600HtmlEditorService: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"),
601InteractionsService:Symbol.for("InteractionsService"),JsonUpgradeService:Symbol.for("JsonUpgradeService"),KenBurnsService:Symbol.for("KenBurnsService"),KeyboardService:Symbol.for("Ke
601yboardService"),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"),
602LayerStackFactory:Symbol.for("LayerStackFactory"),LlmsDataService:Symbol.for("LlmsDataService"),LayoutService:Symbol.for("LayoutService"),LinkDataUrlGenerator:Symbol.for("LinkDataUrlGenerator"),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"),
603MenuManagerService:Symbol.for("MenuManagerService"),MenuToolService:Symbol.for("MenuToolService"),MainMenuAnalyticsService:Symbol.for("MainMenuAnalyticsService"),MissingAltTagsService:Symbol.for("MissingAltTagsService"),MouseDragSelectionService:Symbol.for("MouseDragSelectionService"),MultiSectionElementsLockService:Symbol.for("MultiSectionElementsLockService"),NavigationService:Symbol.for("NavigationService"),NavigationFooterService:Symbol.for("NavigationFooterService"),NavigationTopService:Symbol.for("NavigationTopService"),
604NavigationTopView: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"),FeedPaginationService:Symbol.for("FeedPaginationService"),NewsService:Symbol.for("NewsService"),NewsfeedService:Symbol.for("NewsfeedService"),
605NotificationHeaderService:Symbol.for("NotificationHeaderService"),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"),
606ObjectService:Symbol.for("ObjectService"),OnlineStoreService:Symbol.for("OnlineStoreService"),OnboardingService:Symbol.for("OnboardingService"),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"),PaymentService:Symbol.for("PaymentService"),
607PhotoswipeService:Symbol.for("PhotoswipeService"),PopupManager:Symbol.for("PopupManager"),PopupService:Symbol.for("PopupService"),PopupPageManagerService:Symbol.for("PopupPageMangerService"),NewsManagementService:Symbol.for("NewsManagementService"),PositionService:Symbol.for("PositionService"),PostageIntegrationService:Symbol.for("PostageIntegrationService"),ProductCategoryService:Symbol.for("ProductCategoryService"),ProductCategoryStore:Symbol.for("ProductCategoryStore"),ProductDescriptionService:Symbol.for("ProductDescriptionService"),
608ProductLayoutService:Symbol.for("ProductLayoutService"),ProductListPopupService:Symbol.for("ProductListPopupService"),ProductMapGenerator:Symbol.for("ProductMapGenerator"),ProductPageService:Symbol.for("ProductPageService"),ProductTransferService:Symbol.for("ProductTransferService"),ProductPageCurrencyService:Symbol.for("ProductPageCurrencyService"),ProfileService:Symbol.for("ProfileService"),ProjectService:Symbol.for("ProjectService"),PublicationRestrictionService:Symbol.for("PublicationRestrictionService"),
609PublishService:Symbol.for("PublishService"),RelationManagerService:Symbol.for("RelationManagerService"),RwdPropertiesService:Symbol.for("RwdPropertiesService"),RwdService:Symbol.for("RwdService"),RwdSizeTransformerFactory:Symbol.for("RwdSizeTransformerFactory"),SalesmanagoEventService:Symbol.for("SalesmanagoEventService"),SchemaGeneratorService:Symbol.for("SchemaGeneratorService"),SchemaGeneratorFactory:Symbol.for("SchemaGeneratorFactory"),SchemaOrganizationGenerator:Symbol.for("SchemaOrganizationGenerator"),
610SchemaImageGenerator:Symbol.for("SchemaImageGenerator"),SchemaFAQGenerator:Symbol.for("SchemaFAQGenerator"),SchemaMetaDataHelper:Symbol.for("SchemaMetaDataHelper"),SchemaProductPriceHelper:Symbol.for("SchemaProductPriceHelper"),SchemaBaseGenerator:Symbol.for("SchemaBaseGenerator"),SchemaWebPageGenerator:Symbol.for("SchemaWebPageGenerator"),SchemaNewsPageGenerator:Symbol.for("SchemaNewsPageGenerator"),SchemaProductPageGenerator:Symbol.for("SchemaProductPageGenerator"),SchemaPageService:Symbol.for("SchemaPageService"),
611SchemaSettingsStore:Symbol.for("SchemaSettingsStore"),ScrollService:Symbol.for("ScrollService"),SectionIcons:Symbol.for("SectionIcons"),SectionModeService:Symbol.for("SectionModeService"),SeoAutomatonManagerService:Symbol.for("SeoAutomatonManagerService"),SeoAutomatonService:Symbol.for("SeoAutomatonService"),SeoCriterion
611Factory:Symbol.for("SeoCriterionFactory"),SeoElementFinder:Symbol.for("SeoElementFinder"),SeoSettingsPopupService:Symbol.for("SeoSettingsPopupService"),ShowPaymentPopupService:Symbol.for("ShowPaymentPopupService"),
612SimpleTextEditorService:Symbol.for("SimpleTextEditorService"),SnipcartService:Symbol.for("SnipcartService"),SnipcartStoreService:Symbol.for("SnipcartStoreService"),StorageService:Symbol.for("StorageService"),StoreAnalyticsManager:Symbol.for("StoreAnalyticsManager"),StoreDotPayPaymentProvider:Symbol.for("StoreDotPayPaymentProvider"),StoreNetopiaPaymentProvider:Symbol.for("StoreNetopiaPaymentProvider"),StoreP24PaymentProvider:Symbol.for("StoreP24PaymentProvider"),StorePayPalPaymentProvider:Symbol.for("StorePayPalPaymentProvider"),
613StoreAutoPayPaymentProvider:Symbol.for("StoreAutoPayPaymentProvider"),StorePaymentProvider:Symbol.for("StorePaymentProvider"),StorePaymentProviderFactory:Symbol.for("StorePaymentProviderFactory"),StoreService:Symbol.for("StoreService"),StoreSettingsMapGenerator:Symbol.for("StoreSettingsMapGenerator"),StoreSettingsService:Symbol.for("StoreSettingsService"),StoreStripePaymentProvider:Symbol.for("StoreStripePaymentProvider"),StyleableComponentSelectorFactory:Symbol.for("StyleableComponentSelectorFactory"),
614StyleService:Symbol.for("StyleService"),TextEditorService:Symbol.for("TextEditorService"),TextElementService:Symbol.for("TextElementService"),TextStyleService:Symbol.for("TextStyleService"),ToolWindowService:Symbol.for("ToolWindowService"),TutorialService:Symbol.for("TutorialService"),UndoButtonService:Symbol.for("UndoButtonService"),UndoService:Symbol.for("UndoService"),UpgradeService:Symbol.for("UpgradeService"),UploadFileService:Symbol.for("UploadFileService"),UserChatService:Symbol.for("UserChatService"),
615UserFlowService: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"),
616WObjectControlsVisualiser:Symbol.for("WObjectControlsVisualiser"),WObjectDistanceLineService:Symbol.for("WObjectDistanceLineService"),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"),
617WPageDuplicateService: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"),WebpageBackgroun
617dService:Symbol.for("WebpageBackgroundService"),WebpageService:Symbol.for("WebpageService"),WebpageWithSectionsService:Symbol.for("WebpageWithSectionsService"),
618WebsiteColorPropertyFactory:Symbol.for("WebsiteColorPropertyFactory"),WebsiteColorService:Symbol.for("WebsiteColorService"),WebsiteColorStyleManager:Symbol.for("WebsiteColorStyleManager"),WebsiteItemListService:Symbol.for("WebsiteItemListService"),WebsitePropertiesService:Symbol.for("WebsitePropertiesService"),WebwaveStorePopupService:Symbol.for("WebwaveStorePopupService"),WebwaveTemplateJsonUpgradeService:Symbol.for("WebwaveTemplateJsonUpgradeService"),ZoomService:Symbol.for("ZoomService"),PagePanService:Symbol.for("PagePanService")}},
6191712:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(1743),o=n(210),s=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.top=t.top instanceof a.a?t.top:new a.a,this.right=t.right instanceof a.a?t.right:new a.a,this.bottom=t.bottom instanceof a.a?t.bottom:new a.a,this.left=t.left instanceof a.a?t.left:new a.a,this.radius="number"==typeof t.radius?t.radius:0,webwave.isDef(t.enabled)?this.enabled=t.enabled:this.enabled=this._computeEnabledValue(),this.roundingEnabled=
620webwave.isBoolean(t.roundingEnabled)?t.roundingEnabled:this.radius>0}return Object(r.a)(e,[{key:"serialize",value:function e(){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 e(){var t=this,n=!1;return Object.values(o.a).forEach(function(e){t[e].width>0&&(n=!0)}),n}},{key:"toCss2Map",value:function e(){return{borderTopWidth:"".concat(this.getComputedTopWidth(),
621"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:
6220,"px")}}},{key:"getComputedRadius",value:function e(){return this.roundingEnabled?this.radius:0}},{key:"applyPartialBorderMap",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.top)&&this.top.applyPartialSingleBorderMap(t.top),webwave.isDef(t.right)&&this.right.applyPartialSingleBorderMap(t.right),webwave.isDef(t.bottom)&&this.bottom.applyPartialSingleBorderMap(t.bottom),webwave.isDef(t.left)&&this.left.applyPartialSingleBorderMap(t.left),webwave.isNumberAndNotNaN(t.radius)&&(this.radius=t.radius),
623webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isDef(t.roundingEnabled)&&(this.roundingEnabled=t.roundingEnabled))}},{key:"getComputedTopWidth",value:function e(){return this.enabled?this.top.width:0}},{key:"getComputedRightWidth",value:function e(){return this.enabled?this.right.width:0}},{key:"getComputedBottomWidth",value:function e(){return this.enabled?this.bottom.width:0}},{key:"getComputedLeftWidth",value:function e(){return this.enabled?this.left.width:0}},{key:"changeWebsiteColorConnection",
624value:function e(t){var n,i,r,a,o=!0===(null===(n=this.left)||void 0===n?void 0:n.changeWebsiteColorConnection(t)),s=!0===(null===(i=this.right)||void 0===i?void 0:i.changeWebsiteColorConnection(t)),u=!0===(null===(r=this.top)||void 0===r?void 0:r.changeWebsiteColorConnection(t)),c=!0===(null===(a=this.bottom)||void 0===a?void 0:a.changeWebsiteColorConnection(t));return o||s||u||c}},{key:"clone",value:function t(){return e.deserialize(this.serialize())}}],[{key:"deserialize",value:function t(){var n=
625arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({top:a.a.deserialize(n.top),right:a.a.deserialize(n.right),bottom:a.a.deserialize(n.bottom),left:a.a.deserialize(n.left),radius:n.radius,enabled:n.enabled,roundingEnabled:n.roundingEnabled})}},{key:"isNonZeroBorderWidth",value:function e(t){return webwave.isDefAndNotNull(t)&&"0px"!==t}}]),e}()},1713:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=
626Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;Object(i.a)(this,n);var a={type:"webwave.link.AddItemToShopCardLinkData"};
627return(r=t.call(this,a))._productId=e,r}return Object(r.a)(n,[{key:"getProductId",value:function e(){return this._productId}}]),n}(n(839).a)}
627,1714:function(e,t,n){t.a={ADD_ITEM_TO_SHOP_CARD:"webwave.link.AddItemToShopCardLinkData",ANCHOR:"webwave.link.AnchorLinkData",CUSTOM:"webwave.link.CustomLinkData",EMPTY:"webwave.link.EmptyLinkData",FILE:"webwave.link.FileLinkData",INTERACTION:"webwave.link.InteractionsLinkData",OBJECT:"webwave.link.ObjectLinkData",PAGE:"webwave.link.PageLinkData",SHOW_SHOP_CARD:"webwave.link.ShowShopCardLinkData"}},
6281715:function(e,t,n){n.d(t,"a",function(){return y});var i=n(14),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(1544),d=n(1333),h=n(1714);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){Object(i.a)(e,
629t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e){var t=p();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;
630if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var y=function(e){Object(s.a)(n,e);var t=g(n);function n(e){var i;if(Object(r.a)(this,n),void 0===e||void 0===e.fileId)throw webwave.debug("No file provided!"),new Error("No file provided!");return e.customLinkType=d.a.USER_FILE,e.type=h.a.FILE,(i=t.call(this,e)).fileId=e.fileId,i}return Object(a.a)(n,[{key:"setFileId",value:function e(t){this.fileId=t}},
631{key:"getHref",value:function e(){var t=fileManagerService.getUserFileById(this.fileId);if(webwave.isDef(t))return t.getUrl(!0)}},{key:"toJSON",value:function e(){return v(v({},Object(o.a)(Object(c.a)(n.prototype),"toJSON",this).call(this)),{fileId:this.fileId})}}]),n}(l.a)},1716:function(e,t,n){var i={FLUID_WIDTH:"fluid_width",MASONRY_VERTICAL:"masonry_vertical",CLASSIC:"classic"};t.a=i},1717:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(15),o=n.n(a),s=n(16),u,c,l=(u=Object(a.injectable)())(c=
632function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"loadTranslations",value:function e(t){this._loadTranslation(t)}},{key:"_loadTranslation",value:function e(t){var n=t.getLang(),i=t.getTranslationType();webwave.utils.makeAjxaCall({url:t.getSourceUrl(),data:{type:i,language:n},noLoadingBox:!0},function(e){var r={};t.isPrefixTypeShouldBeAddedToMessages()?r[i]=e:r=e,i18n.loadLanguages(n,function(){window.i18n.addResourceBundle(n,"translation",r)}),webwave.isFunction(t.getCallback())&&
633t.getCallback()()}).catch(function(e){Environment.isNotTest()&&webwave.error(e)})}},{key:"changeLanguage",value:function e(t){i18n.changeLanguage(t,function(e,t){if(e)return console.error("something went wrong loading",e);t("key")})}},{key:"loadCountryList",value:function e(t,n){return webwave.utils.makeAjxaCall({url:t,data:{language:n},noLoadingBox:!0}).then(function(e){return e.data})}}]),e}())||c},1718:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=
634l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,
635n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"setLocalStorageObject",value:function e(t,n){localStorage[n]=JSON.stringify(t)}},{key:"setPropertyValueInLocalStorageObject",value:function e(t,n,i){var r=this.getObjectFromLocalStorage(t);r[n]=i,this.setLocalStorageObject(r,t)}},{key:"getLocalStorageKey",value:function e(t,n){return JSON.parse(localStorage[n])[t]}},{key:"getObjectFromLocalStorage",value:function e(t){if(this.isDefined(t))return JSON.parse(localStorage[t])}},{key:"getValueFromLocalStorage",
636value:function e(t){if(this.isDefined(t))return localStorage[t]}},{key:"isDefined",value:function e(t){return!!localStorage[t]&&"undefined"!=localStorage[t]}},{key:"removeLocalStorageItem",value:function e(t){localStorage.removeItem(t)}}]),n}(n(27).a)},1719:function(e,t,n){var i={SWING:"swing",LINEAR:"linear",EASE_IN:"ease-in",EASE_OUT:"ease-out",EASE_IN_O
636UT:"ease-in-out",BOUNCE_IN:"bounce-in",BOUNCE_OUT:"bounce-out",BOUNCE_IN_OUT:"bounce-in-out"};t.a=i},1720:function(e,t,n){n.d(t,"a",function(){return D});
637var i=n(26),r=n(6),a=n(0),o=n(1),s=n(11),u=n(3),c=n(4),l=n(2),d=n(5),h=n(7),f=n(42),v=n(25),g=n.n(v),p=n(27),y=n(16),b=n(15),m=n.n(b),w,S,O,_,k,P,A,E,C;function I(e){var t=T();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function T(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
638[],function(){})),!0}catch(e){return!1}}var N="undefined",D=(w=Object(b.injectable)(),S=Object(b.inject)(y.a.EnvironmentUtils),O=Object(b.inject)(y.a.FrontendTranslation),_=Object(b.inject)(y.a.LocationService),w((P=function(e){Object(u.a)(n,e);var t=I(n);function n(){var e;Object(a.a)(this,n);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return e=t.call.apply(t,[this].concat(o)),Object(r.a)(e,"environmentUtils",A,Object(s.a)(e)),Object(r.a)(e,"frontendTranslation",E,Object(s.a)(e)),
639Object(r.a)(e,"locationService",C,Object(s.a)(e)),e.parseUriOptions={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},
640e}return Object(o.a)(n,[{key:"getWebsiteId",value:function e(){return $("#websiteId").val()}},{key:"getLanguageCode",value:function e(){return $("#ww_language_code").val()}},{key:"getParentBaseElementId",value:function e(t){return this.getParentBaseElement(t).attr("id")}},{key:"getParentBaseElement",value:function e(t){return t.parents(".ww_element")}},{key:"changeLink",value:function e(t,n){var i=n;if(!1===this.isLinkAbsolute(n))if(!0===this.startsWith(n,"/")){var r=utilService.parseUri(t);i=r.protocol+
641"://"+r.authority+n}else i=t+"/"+n;return i}},{key:"reloadPage",value:function e(){window.location.reload()}},{key:"isLinkAbsolute",value:function e(t){var n=!1;return void 0===t||0!==t.indexOf("http://")&&0!==t.indexOf("https://")||(n=!0),n}},{key:"getDynamicallyJSFile",value:function e(t,n){jQuery.ajax({type:"GET",url:t,success:n,dataType:"script",cache:!0})}},{key:"getDynamicallyCSSFile",value:function e(t){$("head").append('<link rel="stylesheet" href="'+t+'" type="text/css" />')}},{key:"insertCss",
642value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=document.createElement("style");i.type="text/css",webwave.isStringAndNotEmpty(n)&&(i.id=n),i.styleSheet?i.styleSheet.cssText=t:i.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(i)}},{key:"startsWith",value:function e(t,n){return t.slice(0,n.length)==n}},{key:"parseUri",value:function e(t){for(var n=this.parseUriOptions,i=n.parser[n.strictMode?"strict":"loose"].exec(t),r={},a=14;a--;)r[n.key[a]]=
643i[a]||"";return r[n.q.name]={},r[n.key[12]].replace(n.q.parser,function(e,t,i){t&&(r[n.q.name][t]=i)}),r}},{key:"extractGETParameter",value:function e(t,n){return this.locationService.getParameterByName(t,n)}},{key:"makeAjaxCall",value:function e(t,n,i){return $.ajax({url:this.environmentUtils.getPathForAjax()+t.url,type:"post",data:t.data}).fail(function(e){"function"==typeof i&&i(e)}).done(function(e){1==e.failure?"function"==typeof i&&i(e):"function"==typeof n&&n(e)})}},{key:"loadTranslations",
644value:function e(t){this.frontendTranslation.loadTranslations(t)}},{key:"_initDefaultLanguage",value:function e(t){window.i18n.init({fallbackLng:[t]})}},{key:"isDef",value:function e(t){return"undefined"!==Object(f.a)(t)}},{key:"isNotDef",value:function e(t){return"undefined"===Object(f.a)(t)}},{key:"removeGetParamsFromUrl",value:function e(){var t=window.location.toString();t.indexOf("?")>
6440&&(t=t.substring(0,t.indexOf("?")),window.history.replaceState({},document.title,t))}},{key:"getViewerCountryCode",
645value:function(){var e=Object(i.a)(g.a.mark(function e(){var t=this;return g.a.wrap(function e(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",new Promise(function(e){var n="/publishedWebsite/getViewerCountryCode";n=t.locationService.addForceCountryParamIfSetInPath(n),t.makeAjaxCall({url:n},function(t){e(t.data.countryCode)})}));case 1:case "end":return n.stop()}},e)}));function t(){return e.apply(this,arguments)}return t}()}],[{key:"generateRandomID",value:function e(){return Math.floor(4294967296*
646(1+Math.random())).toString(16).substring(1)}}]),n}(p.a),A=Object(d.a)(P.prototype,"environmentUtils",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=Object(d.a)(P.prototype,"frontendTranslation",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=Object(d.a)(P.prototype,"locationService",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=P))||k)},1733:function(e,t,n){var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1713),c=n(1569),l=n(839),d=n(973),
647h=n(1623),f=n(1613);function v(e){var t=g();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}!function(){webwave.provide("com.webwave.publication.object.LinkWElement");
648var e=function(e){Object(a.a)(n,e);var t=v(n);function n(e){var r;return Object(i.a)(this,n),r=t.call(this,e),webwave.isDefAndNotNull(e.linkData)&&(r.linkData=d.a.createLink(e.linkData)),r._addLinkClickEvent(),r.interactionsService=null,r.orderPopupService=null,r}return Object(r.a)(n,[{key:"getLinkData",value:function e(){return this.linkData}},{key:"_addLinkClickEvent",value:function e(){var t=this;this.getDomObject().on("click.buttonLinkEvent",function(){t.linkClickHandler(t.getLinkData())})}},
649{key:"linkClickHandler",value:function e(t){t instanceof c.a?this._handleInteractionsLinkClick(t):t instanceof h.a?this._handleShowShopLinkClick():t instanceof u.a&&this._handleShowShopOrderPopupLinkClick(t)}},{key:"_handleShowShopLinkClick",value:function e(){this.orderPopupService.showPopup()}},{key:"_handleShowShopOrderPopupLinkClick",value:function e(t){this.orderPopupService.showPopup(t)}},{key:"_handleInteractionsLinkClick",value:function e(t){for(var n=t.getInteractions().getInteractionsList(),
650i=0;i<n.length;i++)this.interactionsService.handleInteraction(n[i])}},{key:"setInteractionsService",value:function e(t){this.interactionsService=t}},{key:"setOrderPopupService",value:function e(t){this.orderPopupService=t}}]),n}(f.a);com.webwave.publication.object.LinkWElement=e}(),t.a=com.webwave.publication.object.LinkWElement},1734:function(e,t,n){n.d(t,"a",function(){return p});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1237),l=n(1951),d=n(1694),h=n(1658),f=n(1990);function v(e){var t=
651g();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(o.a)(n,e);var t=v(n);function n(e){var r;
652return Object(i.a)(this,n),e.positioningMode=d.a.PUSHED_DOWN,(r=t.call(this,e)).minimalDistance=0,r._alwaysPushing=!0,r.defaultSection=e.defaultSection,r._wNodeSettings.countPushDownAttrOnUpdate=!0,r}return Object(r.a)(n,[{key:"countEdgePosition",value:function e(t){if(this.isPushedDownPositioningMode()){if("top"===t)return this.getPushedDownAttr();if("bottom"===t&&0===this.getAllChildrenForSizeComputation().length)return this.getPushedDownAttr()+this.getMinHeightWithoutChildrenForSizeComputation()}return Object(a.a)(Object(u.a)(n.prototype),
653"countEdgePosition",this).call(this,t)}},{key:"isFullWidth",value:function e(){return!0}},{key:"setMinimalDistance",value:function e(t){var n=t!==this.minimalDistance;this.minimalDistance=t,n&&(this.updatePushedDownAttr(),this.updateDomSizeAndPosition())}},{key:"loadAdditionalData",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"loadAdditionalData",this).call(this,t),webwave.isNumberAndNotNaN(null===t||void 0===t?void 0:t.minimalTopDistance)&&this.setMinimalDistance(t.minimalTopDistance)}},
654{key:"getMinimalDistance",value:function e(){return this.minimalDistance}},{key:"computeBindsForRwd",value:function e(){var t={};return this._generateAndAddBindBySection(t,this.objectService.getPreviousSection(this)),this._generateAndAddBindBySection(t,this.objectService.getNextSection(this),!0),t}},{key:"countPushDownAttr",value:function e(t,i){var r=Object(a.a)(Object(u.a)(n.prototype),"countPushDownAttr",this).call(this,t,!0),o=this.getPadding("top")+this.getBorderWidth("top",!0);return!1===isFinite(t)&&
655(r=o),Math.max(this.getMinimalDistance()+o,r)}},{key:"_generateAndAddBindBySection",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==n){var r=[n.getId(),this.getId()];i&&r.reverse(),t[n.getId()]=new h.a({relatedWNodes:r,typeOfRelation:c.a.VERTICAL,pullBack:!0})}}},{key:"isDefaultWSection",value:function e(){return this.defaultSection}},{key:"getMinHeightWithoutChildrenForSizeComputation",value:function e(){return this.isDefaultWSection()?f.a.HEADER_HEIGHT:
656f.a.SECTION_HEIGHT}}]),n}(l.a)}
656,1735:function(e,t,n){t.a={TOP:"top",MIDDLE:"middle",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"}},1741:function(e,t,n){n.d(t,"a",function(){return A});var i=n(0),r=n(1),a=n(972),o=n(1597),s=n(122),u=n(1944),c=n(106),l=n(10),d=n(119),h=n(49),f=n(1657),v=n(1128),g=n(140),p=n(40),y=n(225),b=n(1945),m=n(2091),w=n(2093),S=n(1946),O=n(1203),_=n(1216),k=n(1988),P=n(1634),A=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,
657e),this._customVisibilityParent=null,this.elementRotationService=t.elementRotationService,this.id=t.id,this.$domObject=t.domObject,this._wNodeSettings=new w.a(t.wNodeSettings),this._position=new O.a(t.position),this._offset=new h.a,this._size=new _.a(t.size),Object.defineProperty(this,"pageCanvas",{value:t.pageCanvas,configurable:!1,writable:!0}),this.objectService=null,this._renderedRect=new g.a({position:this.recalcToRenderedPosition(this._position),size:this.recalcToRenderedSize(this._size)}),
658this.computedSize=new p.a,this.computedPosition=new h.a,this.fullWidth=!0===t.fullWidth,this.computedFullWidth=!1,this.fixed=!0===t.fixed,this._computedFixed=this.fixed,this._fixParent=null,this._positionOrigin=webwave.isValidEnumValue(t.positionOrigin,v.a)?t.positionOrigin:v.a.PAGE_TOP_LEFT,this.visible=!1!==t.visible,this.visibilities=new S.a,this.visibilities.setBaseVisibility(this.visible),this.visibilities.addPropertyChangeListener("computedVisibility",this),this.visibilities.addPropertyChangeListener("computedVisibilityForChildren",
659this),this.visibilities.addPropertyChangeListener("computedVisibilityForInFlow",this),this._minSize=new p.a({width:0,height:0}),this._pushedDown=0,this._boundHeightModifier=0,this._relationNode=null,this._parentWNode=null,this._bulkMode=!0,this.children=[],this._childrenRect=new g.a,this._childrenOuterRect=new g.a,this._inFlow=!1,this._attached=!1,this._domNeedsRecalc=!1,this._visibilityNeedsRecalc=!1,this._wObjectEventListeners=[],this.binds={},this._halfBinds={},this._domSizeMode=webwave.isValidEnumValue(t.domSizeMode,
660o.a)?t.domSizeMode:o.a.OWN_SIZE,this._noPushing=!1,this._noUpdateOnChildPositionChange=!1,this._autoHeight=!1,this._mouseOver=!1,this._ownMouseOver=!1,this._externalMouseOvers=new Set,this._state=new k.a,this._statesStyles=this.createStatesStyles(t.statesStyles),this.sticky=!0===t.sticky,this._sticked=!1,this._stickyEnded=!1,this._stickyStartDistance=new s.a,this._stickyEndDistance=new s.a,this._stickyEndDistanceEnabled=!1,this.stuffedSize=void 0,this.stuffedPosition=void 0,this._settedRwdModeId=
661void 0,this._domElementPositionUpdateEnabled=!0,this._alwaysPushing=!1,this._mostBottomFromOtherPushes=-1/0,this._uiEventsLock=new b.a,this._uncopyable=!1,this._computedSticky=!1,this._stickyParent=null}return Object(r.a)(e,[{key:"createStatesStyles",value:function e(t){return P.a.deserialize(t)}},{key:"getId",value:function e(){return this.id}},{key:"_groupPushCondition",value:function e(){return!0}},{key:"getComputedPosition",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:
662{},n=!0===t.convertOrigin?this.convertPointToOrigin(this._renderedRect.getPosition(),this.getPositionOrigin()):this._renderedRect.getPosition().clone();return!0===t.includeScrollIfFixed&&this.isFixed()&&(n.y+=this.pageCanvas.getCurrentPageAreaScrollY()),n}},{key:"getComputedSize",value:function e(){return this._renderedRect.getSize()}},{key:"getOffset",value:function e(){return this._offset}},{key:"computeOffset",value:function e(){var t=new h.a;t.setY(t.getY()+this.getPushedDownAttr());var n=this.getParentWNode();
663return webwave.isDefAndNotNull(n)&&!1===this.isFixed()&&t.add(n.getOffset()),t}},{key:"isNoPushing",value:function e(){return this._noPushing}},{key:"setNoPushing",value:function e(t){this._noPushing=t}},{key:"onParentOffsetChange",value:function e(){this.setNoPushing(!0),this.updateOffset(),this.setNoPushing(!1)}},{key:"isNoUpdateOnChildPositionChange",value:function e(){return this._noUpdateOnChildPositionChange}},{key:"setNoUpdateOnChildPositionChange",value:function e(t){this._noUpdateOnChildPositionChange=
664t}},{key:"onOffsetChange",value:function e(){var t=this.getChildren();this.setNoUpdateOnChildPositionChange(!0);for(var n=0;n<t.length;n++)t[n].onParentOffsetChange();this.setNoUpdateOnChildPositionChange(!1),this.updateDomPosition()}},{key:"setOffset",value:function e(t){var n=!1===this._offset.equals(t);this._offset=t,n&&this.onOffsetChange()}},{key:"updateOffset",value:function e(){this.setOffset(this.computeOffset())}},{key:"onPushedDownAttrChange",value:function e(){this.updateOffset()}},{key:"setPushedDownAttr",
665value:function e(t){var n=t!==this._pushedDown;this._pushedDown=t,n&&this.onPushedDownAttrChange()}},{key:"countPushDownAttr",value:function e(t,n){if(!1===isFinite(t))return 0;
665var i=null!==this.getParentWNode()?this.getParentWNode().getOffset().getY():0,r=t-(this.getComputedPosition().getY()-i-this.getPushedDownAttr());return!0===n?Math.max(r,0):r}},{key:"updateBoundHeightModifiers",value:function e(){this.isVisibleForInFlow()&&null!==this.getRelationNode()&&this.getRelationNode().updateBoundHeightModifiers()}},
666{key:"setBoundHeightModifier",value:function e(t){var n=this._boundHeightModifier!==t;this._boundHeightModifier=t,n&&this.updateDomSize()}},{key:"getBoundHeightModifier",value:function e(){return this._boundHeightModifier}},{key:"setBinds",value:function e(t){this.binds=t}},{key:"getBinds",value:function e(){return this.binds}},{key:"getTopBinds",value:function e(){var t={},n=this.getBinds();for(var i in n)if(n.hasOwnProperty(i)){var r=n[i];r.getTopGroup()!==this.getId()&&(t[i]=r)}return t}},{key:"getChildren",
667value:function e(t){var n=[],i=this.children;if(!0===t){for(var r=0;r<i.length;r++){var a=i[r];(n=n.concat(a.getChildren(!0))).push(a)}i=n}return i}},{key:"updateAllChildrenParentVisibility",value:function e(){for(var t=this.getChildren(),n=0;n<t.length;n++)t[n].updateVisibilityFromParent()}},{key:"onVisibilityChange",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getChildren();if(this.updateAllChildrenParentVisibility(),(n.length>0||!0===this.hasEnableVisibilityWithoutChildren())&&
668(this.updateChildRect(),this.isSticky()&&this.isVisibleForInFlow()))for(var i=0;i<n.length;i++)n[i].updateDomPosition({noUpdates:!0});this.getDomSizeMode()===o.a.CHILDREN_SIZE&&this.updateInFlow(),this.isVisibleForInFlow()&&this.updateDomPosition(),this.nofityParentOfVisibilityChange(),null!==this._relationNode&&this._relationNode.onWObjectVisibilityChange(),this._triggerVisibilityChangeEvent()}},{key:"invalidateVisibility",value:function e(){this._visibilityNeedsRecalc=!0}},{key:"_setVisibility",
669value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!1!==webwave.isBoolean(t)){var i=this.visible!==t;this.visible=t;var r=!0===this.visible?"visible":"hidden";return!0===this.hasDomRepresentation()&&(this.getDomObject()[0].style.visibility=r),i&&this.onVisibilityChange(),i}}},{key:"updateWNodeVisibility",value:function e(){if(!1===this.isInitialized()||this.isBulkMode())this.invalidateVisibility();else{var t=this.visibilities.getComputedVisibility();this._setVisibility(t)}}},
670{key:"onParentWNodeChange",value:function e(t,n){webwave.isDefAndNotNull(this.objectService)&&this.objectService.updateRelationsByWObject(this),webwave.isDefAndNotNull(n)&&n.onChildrenChange(),webwave.isDefAndNotNull(t)&&t.onChildrenChange(),this.updateOffset(),null!==t&&this.updateVisibilityFromParent()}},{key:"computeBaseVisibility",value:function e(){return!0}},{key:"updateBaseVisibility",value:function e(){this.visibilities.setBaseVisibility(this.computeBaseVisibility())}},{key:"updateVisibilityFromParent",
671value:function e(){this.visibilities.setParentVisibility(this.computeParentVisibility())}},{key:"computeParentVisibility",value:function e(){var t=webwave.isDefAndNotNull(this.getCustomVisibilityParent())?this.getCustomVisibilityParent():this.getParentWNode();return!webwave.isDefAndNotNull(t)||t.visibilities.getComputedVisibilityForChildren()}},{key:"getComputedVisibility",value:function e(){return this.visibilities.getComputedVisibility()}},{key:"setParentWNode",value:function e(t){var n=arguments.length>
6721&&void 0!==arguments[1]?arguments[1]:{},i=this._parentWNode!==t,r=this._parentWNode;this._parentWNode=t,i&&(this.onParentWNodeChange(this._parentWNode,r),!0!==n.doNotTriggerAscendantTreeChangeOnChildren&&(this.onAncestorTreeChange(),this.getChildren(!0).forEach(function(e){e.onAncestorTreeChange()})))}},{key:"getParentWNode",value:function e(){return this._parentWNode}},{key:"getPushedDownAttr",value:function e(){var t=parseInt(this._pushedDown);return isNaN(t)?0:t}},{key:"isAttached",value:function e(){return this._attached}},
673{key:"setAttached",value:function e(t){var n=this._attached!==t;this._attached=t,n&&this.onAttachedChange(this._attached,!this._attached)}},{key:"updatePushedDownAttr",value:function e(){this.isVisibleForInFlow()&&(null!==this.getRelationNode()?this.getRelationNode().updatePushedDown():this._wNodeSettings.hasCountPushDownAttrOnUpdate()?this.setPushedDownAttr(this.countPushDownAttr(0,!0)):this.setPushedDownAttr(0))}},{key:"addBind",value:function e(t){}},{key:"removeBind",value:function e(t){}},{key:"setBulkOperationsMode",
674value:function e(t){var n=t!==this._bulkOpertionsMode;this._bulkOpertionsMode=t}},{key:"performDomRevalidation",value:function e(){this.updateChildRect(),this.updateOuterChildRect(),this.updatePushedDownAttr(),this.updateBoundHeightModifiers()}},{key:"invalidateDom",value:function e(){this._domNeedsRecalc=!0}},{key:"performVisibilityRevalidation",value:function e(){this.updateVisibilityFromParent(),this.updateInFlow(),this.updateAnyChildVisibility(),this.updateWNodeVisibility()}},{key:"revalidateDom",
675value:function e(){!0===this._domNeedsRecalc&&this.performDomRevalidation(),this._domNeedsRecalc=!1}},{key:"revalidateVisibility",value:function e(){!0===this._visibilityNeedsRecalc&&this.performVisibilityRevalidation(),this._visibilityNeedsRecalc=!1}},{key:"isBulkMode",value:function e(){return this._bulkMode}},{key:"setBulkMode",value:function e(t){var n=t!==this._bulkMode;this._bulkMode=!0===t;var i=this.getChildren();this.setNoUpdateOnChildPositionChange(!0);for(var r=0;r<i.length;r++)i[r].setBulkMode(t);
676this.setNoUpdateOnChildPositionChange(!1),n&&!1===this._bulkMode&&(this.revalidateDom(),this.revalidateVisibility(),null!==this._relationNode&&this._relationNode.onWObjectPositionChange())}},{key:"onChildSizeChange",value:function e(t,n,i){this.updateSizeAndPosition()}},{key:"updateSizeAndPosition",value:function e(){this.isBulkMode()?this.invalidateDom():this.performDomRevalidation()}},{key:"onChildPositionChange",value:function e(t,n,i){this.isNoUpdateOnChildPositionChange()?this.invalidateDom():
677this.updateSizeAndPosition()}},{key:"notifyParentOfSizeChange",value:function e(t,n){if(!0!==this._noNotifyParentOfSizeChange){var i=this.getParentWNo
677de();webwave.isDefAndNotNull(i)&&i.onChildSizeChange(this,t,n)}}},{key:"notifyParentOfPositionChange",value:function e(t,n){if(!0!==this._noNotifyParentOfPositionChange){var i=this.getParentWNode();webwave.isDefAndNotNull(i)&&i.onChildPositionChange(this,t,n)}}},{key:"onChildVisibilityChange",value:function e(t,n,i){var r=this.isInFlow();this._noNotifyParentOfInflowChange=
678!0,this.updateInFlow(),this._noNotifyParentOfInflowChange=!1;var a=this.isInFlow()!==r,o=this.visibilities.computeVisibility();this._noNotifyParentOfVisibilityChange=!0,this.updateAnyChildVisibility(),this._noNotifyParentOfVisibilityChange=!1;var s=this.visibilities.computeVisibility()!==o,u=this.getOuterChildRect().clone();this._noNotifyParentOfSizeChange=!0,this._noNotifyParentOfPositionChange=!0,this.updateChildRect(),this._noNotifyParentOfSizeChange=!1,this._noNotifyParentOfPositionChange=!1;
679var c=!1===this.getOuterChildRect().clone().equals(u);a&&this.notifyParentOfInFlowChange(),s&&this.nofityParentOfVisibilityChange(),c&&(this.notifyParentOfSizeChange(),this.notifyParentOfPositionChange())}},{key:"nofityParentOfVisibilityChange",value:function e(){if(!0!==this._noNotifyParentOfVisibilityChange){var t=this.getParentWNode();webwave.isDefAndNotNull(t)&&t.onChildVisibilityChange(this,this.isVisible(),!this.isVisible())}}},{key:"onChildInFlowChange",value:function e(t,n,i){this.updateInFlow(),
680this.updateChildRect()}},{key:"notifyParentOfInFlowChange",value:function e(){if(!0!==this._noNotifyParentOfInflowChange){var t=this.getParentWNode();webwave.isDefAndNotNull(t)&&t.onChildInFlowChange(this,this.isInFlow(),!this.isInFlow())}}},{key:"onInFlowChange",value:function e(){this.notifyParentOfInFlowChange()}},{key:"setInFlow",value:function e(t){var n=t!==this._inFlow;this._inFlow=t,n&&this.onInFlowChange()}},{key:"isInFlow",value:function e(){return this._inFlow}},{key:"onChildrenChange",
681value:function e(){this.updateInFlow(),this.updateAnyChildVisibility(),this.updateSizeAndPosition()}},{key:"onChildFixedChange",value:function e(){this.updateSizeAndPosition()}},{key:"notifyParentOfFixedChange",value:function e(){var t=this.getParentWNode();webwave.isDefAndNotNull(t)&&t.onChildFixedChange()}},{key:"onFixedChange",value:function e(t,n){this.notifyParentOfFixedChange(),this.getDomSizeMode()===o.a.CHILDREN_SIZE&&this.updateChildRect()}},{key:"onChildAttachedChange",value:function e(){this.updateInFlow()}},
682{key:"notifyParentOfAttachedChange",value:function e(){var t=this.getParentWNode();webwave.isDefAndNotNull(t)&&t.onChildAttachedChange()}},{key:"onAttachedChange",value:function e(t,n){this.isFixed()&&this.isAttached()&&this.updateDomPosition(),this.notifyParentOfAttachedChange(),this.updateAnyChildVisibility()}},{key:"setRelationNode",value:function e(t){this._relationNode=t}},{key:"getRelationNode",value:function e(){return this._relationNode}},{key:"updateAnyChildVisibility",value:function e(){this.getDomSizeMode()===
683o.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 e(t){this.updateInFlow(),this.updateAnyChildVisibility(),this.updateSizeAndPosition()}},{key:"onChildRemoved",value:function e(){this.updateInFlow(),this.updateAnyChildVisibility(),this.updateSizeAndPosition()}},
684{key:"forEachAncestor",value:function e(t){if(!1!==webwave.isFunction(t))for(var n=this.getParentWNode();null!==n;)t(n),n=n.getParentWNode()}},{key:"onDescendantTreeChange",value:function e(){}},{key:"_updateComputedFixed",value:function e(){var t=this._computeFixed();this._computedFixed!==t&&this._setComputedFixed(t)}},{key:"_computeFixParent",value:function e(){var t,n;return null!==(t=this.getParentWNode())&&void 0!==t&&t.canBeFixedParent()?this.getParentWNode():null===(n=this.getParentWNode())||
685void 0===n?void 0:n._computeFixParent()}},{key:"canBeFixedParent",value:function e(){return!1===this.allowAlternateFixedChildren()&&(null===this.getParentWNo
685de()||this.getParentWNode().allowAlternateFixedChildren())}},{key:"_setFixParent",value:function e(t){var n=this._fixParent!==t;this._fixParent=t,n&&this._updateComputedFixed()}},{key:"getFixParent",value:function e(){return this._fixParent}},{key:"_updateFixParent",value:function e(){this._setFixParent(this._computeFixParent())}},{key:"onAncestorTreeChange",
686value:function e(){this._updateStickyParent(),this._updateFixParent()}},{key:"addChild",value:function e(t,n){webwave.isDefAndNotNull(t._parentWNode)&&t._parentWNode.removeChild(t,{doNotTriggerAscendantTreeChangeOnChildren:!0});var i=this.children.indexOf(t);-1!==i&&this.children.splice(i,1),webwave.isNumberAndNotNaN(n)?this.children.splice(l.MathUtils.limitValue(n,0,this.children.length),0,t):this.children.push(t),t.setParentWNode(this),this.onChildAdded(t),this.onDescendantTreeChange(),this.forEachAncestor(function(e){e.onDescendantTreeChange()})}},
687{key:"removeChild",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.children.indexOf(t);-1!==i&&(this.children.splice(i,1),t.getParentWNode()===this&&t.setParentWNode(null,{doNotTriggerAscendantTreeChangeOnChildren:n.doNotTriggerAscendantTreeChangeOnChildren}),this.onChildRemoved(),this.onDescendantTreeChange(),this.forEachAncestor(function(e){e.onDescendantTreeChange()}))}},{key:"getChildWNodeIndex",value:function e(t){return this.children.indexOf(t)}},{key:"swapChildren",
688value:function e(t){for(var n=this.getChildren().slice(),i=0;i<n.length;i++)n[i].setParentWNode(null,{doNotTriggerAscendantTreeChangeOnChildren:!0});this.children=t;for(var r=0;r<t.length;r++)t[r].setParentWNode(this);this.onChildrenChange()}},{key:"bulkAddChildren",value:function e(t){var n=this,i=t.filter(function(e){return-1===n.children.indexOf(e)});this.swapChildren(this.children.concat(i))}},{key:"bulkRemoveChildren",value:function e(t){var n=this.children.filter(function(e){return-1===t.indexOf(e)});
689this.swapChildren(n)}},{key:"hasChildren",value:function e(){return this.children.length>0}},{key:"onOuterChildRectChange",value:function e(t,n){this.getDomSizeMode()===o.a.CHILDREN_SIZE&&(this.updateDomSizeAndPosition(),t.getPosition().getY()!==n.getPosition().getY()&&this.updatePushedDownAttr(),t.getPosition().getY()+t.getSize().getHeight()!==n.getPosition().getY()+n.get
689Size().getHeight()&&this.updateBoundHeightModifiers())}},{key:"getOuterChildRect",value:function e(){return this._childrenOuterRect}},
690{key:"setOuterChildRect",value:function e(t){var n=this.getOuterChildRect(),i=!1===n.equals(t);this._childrenOuterRect=t,i&&this.onOuterChildRectChange(t,n)}},{key:"getPadding",value:function e(){return 0}},{key:"getBorderWidth",value:function e(){return 0}},{key:"updateOuterChildRect",value:function e(){if(this.getDomSizeMode()!==o.a.OWN_SIZE)if(this.isBulkMode())this.invalidateDom();else{var t=this.getPaddingAndBorderSizes(),n=this.getChildRect().clone();n.getPosition().setX(n.getPosition().getX()-
691t.left),n.getPosition().setY(n.getPosition().getY()-t.top),n.getSize().setWidth(n.getSize().getWidth()+t.horizontal),n.getSize().setHeight(n.getSize().getHeight()+t.vertical),this.setOuterChildRect(n)}}},{key:"getChildRect",value:function e(){return this._childrenRect}},{key:"onChildRectChange",value:function e(t,n){this.updateOuterChildRect()}},{key:"setChildrenRect",value:function e(t){var n=this._childrenRect,i=!1===this._childrenRect.equals(t);this._childrenRect=t,i&&this.onChildRectChange(this._childrenRect,
692n)}},{key:"getAllChildrenForSizeComputation",value:function e(){var t=this;return this.getDomSizeMode()===o.a.OWN_SIZE?this.getChildren().filter(function(e){return!0===e._shouldBeConsiderInParentSizeComputation()}):this.getChildren().filter(function(e){return!0===e._shouldBeConsiderInParentSizeComputation()&&(!0===t.isFixed()||!1===e.isFixed())})}},{key:"countEdgePosition",value:function e(t){var n=this.getAllChildrenForSizeComputation();if(0===n.length)return t!==a.a.TOP&&t!==a.a.BOTTOM||!Number.isFinite(this.getMostBottomFromOtherPushes())?
6930:this.getMostBottomFromOtherPushes()+this.getPaddingAndBorderSizes().top;switch(t){case a.a.LEFT:return n.reduce(function(e,t){return Math.min(e,t.getRenderedRectangle().getX1())},1/0);case a.a.TOP:return n.reduce(function(e,t){return Math.min(e,t.getRenderedRectangle().getY1())},1/0);case a.a.BOTTOM:return n.reduce(function(e,t){return Math.max(e,t.getRenderedRectangle().getY2())},-1/0);case a.a.RIGHT:return n.reduce(function(e,t){return Math.max(e,t.getRenderedRectangle().getX2())},-1/0)}return null}},
694{key:"calcChildrenRect",value:function e(){var t=this.countEdgePosition("top")-this.getOffset().getY(),n=this.countEdgePosition("left"),i=this.countEdgePosition("bottom")-this.getOffset().getY(),r=this.countEdgePosition("right");return new g.a({position:{x:n,y:t},size:{width:r-n,height:i-t}})}},{key:"updateChildRect",value:function e(){this.getDomSizeMode()===o.a.CHILDREN_SIZE&&this.setChildrenRect(this.calcChildrenRect())}},{key:"convertHorizontalLengthToUnit",value:function e(t,n){return webwave.isDef(this.pageCanvas)?
695this.pageCanvas.convertHorizontalLengthToUnit(t,n):(t instanceof s.a==!1&&(t=s.a.createLengthWithPxUnitFromValue(t)),t)}},{key:"convertVerticalLengthToUnit",value:function e(t,n){return webwave.isDef(this.pageCanvas)?this.pageCanvas.convertVerticalLengthToUnit(t,n):(t instanceof s.a==!1&&(t=s.a.createLengthWithPxUnitFromValue(t)),t)}},{key:"convertVerticalLengthFromUnit",value:function e(t){if(webwave.isDef(this.pageCanvas)){var n=this.pageCanvas.createPageDimensionObject();return u.a.convertVerticalLengthToPx(t,
696n)}return t instanceof s.a==!1&&(t=s.a.createLengthWithPxUnitFromValue(t)),t}},{key:"recalcToRenderedPosition",value:function e(t){var n=t.getX(),i=t.getY(),r=new h.a({x:n.getValue(),y:i.getValue()});return webwave.isNotDefOrNull(this.pageCanvas)?r:(r.setX(this.convertHorizontalLengthToUnit(n,c.a.PX).getValue()),r.setY(this.convertVerticalLengthToUnit(i,c.a.PX).getValue()),r)}},{key:"initialize",value:function e(){this._initialized=!0}},{key:"isInitialized",value:function e(){return!0}},{key:"isBeingInitialized",
697value:function e(){return!1}},{key:"isNodeAtBottomInRelation",value:function e(t){var n;return(null===(n=this.getBinds()[t.getId()])||void 0===n?void 0:n.getBottomGroup())===t.getId()}},{key:"applySizeModifiers",value:function e(t){t.height+=this.getBoundHeightModifier()}},{key:"addWObjectEventListener",value:function e(t){this._wObjectEventListeners.push(t)}},{key:"removeWObjectEventListener",value:function e(t){var n=this._wObjectEventListeners.indexOf(t);-1!==n&&this._wObjectEventListeners.splice(n,
6981)}},{key:"_triggerSizeChangeEvent",value:function e(){if(this._wObjectEventListeners.length>0)for(var t=new m.a(this),n=0;n<this._wObjectEventListeners.length;n++)this._wObjectEventListeners[n].wObjectSizeChanged(t)}},{key:"_triggerPositionChangeEvent",value:function e(){if(this._wObjectEventListeners.length>0)for(var t=new m.a(this),n=0;n<this._wObjectEventListeners.length;n++)this._wObjectEventListeners[n].wObjectPositionChanged(t)}},{key:"_triggerVisibilityChangeEvent",value:function e(){if(this._wObjectEventListeners.length>
6990)for(var t=new m.a(this),n=0;n<this._wObjectEventListeners.length;n++)this._wObjectEventListeners[n].wObjectVisibilityChanged(t)}},{key:"_triggerStickyChangeEvent",value:function e(){if(this._wObjectEventListeners.length>0)for(var t=new m.a(this),n=0;n<this._wObjectEventListeners.length;n++)webwave.isFunction(this._wObjectEventListeners[n].wObjectStickyChanged)&&this._wObjectEventListeners[n].wObjectStickyChanged(t)}},{key:"_convertPositionOriginEnumToClass",value:function e(t){var n=a.a.LEFT;switch(t){case v.a.PAGE_TOP_RIGHT:case v.a.SCREEN_TOP_RIGHT:n=
700a.a.RIGHT;break;default:n=a.a.LEFT;break}return new f.a([n,a.a.TOP])}},{key:"getPositionOrigin",value:function e(){var t;return!0===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).asClass?this._convertPositionOriginEnumToClass(this._positionOrigin):this._positionOrigin}},{key:"_convertPositionOriginClassToEnum",value:function e(t){var n=new f.a(t),i=v.a.PAGE_TOP_LEFT;return i=this.isDynamicPositioning()?"left"===n.getHorizontalPosition()?v.a.SCREEN_TOP_LEFT:v.a.SCREEN_TOP_RIGHT:"left"===
701n.getHorizontalPosition()?v.a.PAGE_TOP_LEFT:v.a.PAGE_TOP_RIGHT}},{key:"convertPointFromOrigin",value:function e(t,n){var i=t.clone();return n!==v.a.SCREEN_TOP_RIGHT&&n!==v.a.PAGE_TOP_RIGHT||i.setX(i.getX()+this.getComputedSize().getWidth()),webwave.isDefAndNotNull(this.pageCanvas)?this.pageCanvas.convertPointFromOrigin(i,n):i}},{key:"applyPositionModifiers",value:function e(t){t.add(this.getOffset())}},{key:"_applyFixedModifications",value:function e(t){return webwave.isDef(this.objectService)&&(this.getDomObject()[0].style.position=
702"fixed",t=this.objectService.normal2FixedCoords(t)),t}},{key:"computeStickyStartDistanceValue",value:function e(){return this.convertVerticalLengthToUnit(this.getStickyStartDistance()).getValue()}},{key:"_applyStickyModifications",value:function e(t){if(webwave.isDef(this.pageCanvas)){var n=this.computeStickyEndDistanceValue(),i=this.computeStickyStartDistanceValue(),r=this.pageCanvas.getViewPort().getY1(),a,o=n,s=r>t.y-i&&r<o,u=r>=o;this.getDomObject()[0].style.position=s?"fixed":"absolute",s&&(t=
703this.objectService.normal2FixedCoords(new h.a({x:t.x,y:i}))),u?(t.y=o+i,this.setStickyEnded(!0)):this.setStickyEnded(!1),this.getDomObject().toggleClass("sticked",s),this.setSticked(s)}return t}},{key:"computeStickyEndDistanceValue",value:function e(){var t=1/0,n=this.getParentWNode();return webwave.isDefAndNotNull(n)&&!1===n.allowAlternateFixedChildren()?t=this.getParentWNode().computeStickyEndDistanceValue():this.isStickyEndDistanceEnabled()&&(t=this.convertVerticalLengthToUnit(this.getStickyEndDistance()).getValue()),
704t}},{key:"_triggerPostPositionChangeEvents",value:function e(t,n){this.onDomPositionChange(),this.isAttached()&&this.isVisibleForInFlow()&&this.notifyParentOfPositionChange(t,n),null!==this._relationNode&&this._relationNode.onWObjectPositionChange(t,n),this.afterDomPositionChange(),this._triggerPositionChangeEvent()}},{key:"updateDomPosition",value:function e(t){if((!1!==this.isInitialized()||!1!==this.isBeingInitialized())&&!1!==this.hasDomRepresentation()){webwave.isNotDef(t)&&(t={});var n=this.getComputedPosition().clone(),
705i;if(this.getDomSizeMode()===o.a.OWN_SIZE){var r=this.recalcToRenderedPosition(this._position);i=this.convertPointFromOrigin(r,this.getPositionOrigin())}else i=this.getOuterChildRect().getPosition().clone();this.isFullWidth()&&(i.x=this.computeFullWidthParams().x),this.applyPositionModifiers(i),webwave.isDef(this.stuffedPosition)&&(i=this.stuffedPosition);var a=!1===n.equals(i);return this._renderedRect.setPosition(i.clone()),this.isDomElementPositionUpdateEnabled()&&this.updateDomElementPosition(),
706a&&!0!==t.noUpdates&&this._triggerPostPositionChangeEvents(i,n),a}}},{key:"afterDomSizeChange",value:function e(){}},{key:"onDomPositionChange",value:function e(){}},{key:"afterDomPositionChange",value:function e(){}},{key:"updateSizesAfterRotate",value:function e(){}},{key:"recalcToRenderedSize",value:function e(t){var n=t.getWidth(),i=t.getHeight(),r=new p.a({width:n.getValue(),height:i.getValue()});return webwave.isNotDefOrNull(this.pageCanvas)?r:(r.setWidth(this.convertHorizontalLengthToUnit(n,
707c.a.PX).getValue()),r.setHeight(this.convertVerticalLengthToUnit(i,c.a.PX).getValue()),r)}},{key:"getSize",value:function e(){return this._size}},{key:"getPosition",value:function e(){return this._position}},{key:"isFullWidth",value:function e(){return this.fullWidth}},{key:"isFixed",value:function e(){var t;return!0===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).ownValue?this.fixed:this._computedFixed}},{key:"setFixed",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?
708arguments[1]:{},i=this.fixed!==t;this.fixed=!0===t,this._updateComputedFixed(),!0===n.userInteraction&&this.saveCurrentRwdProperties(),i&&this.notifyDescendantsOfFixedParentChange()}},{key:"_computeFixed",value:function e(){var t=this.getFixParent();return webwave.isDefAndNotNull(t)?t.isFixed({ownValue:!0}):this.isFixed({ownValue:!0})}},{key:"_setComputedFixed",value:function e(t){var n=t!==this._computedFixed;this._computedFixed=!0===t,n&&(this.updateOffset(),this.updateDomPosition(),this.onFixedChange())}},
709{key:"notifyDescendantsOfFixedParentChange",value:function e(){for(var t=this.getChildren(!0),n=0;n<t.length;n++)t[n].onParentFixedChange()}},{key:"onParentFixedChange",value:function e(){this._updateComputedFixed()}},{key:"getOriginSize",value:function e(){return this.recalcToRenderedSize(this.getSize())}},{key:"getMinSize",value:function e(){return this._minSize}},{key:"getRotation",value:function e(){return 0}},{key:"applyComputedSizeModifiers",value:function e(t){this.isAutoHeight()&&t.setHeight(0)}},
710{key:"getDomSizeMode",value:function e(){return this._domSizeMode}},{key:"computeFullWidthParams",value:function e(){var t,n=null===(t=this.rwdService)||void 0===t?void 0:t.getCurrentMode();if(webwave.isDef(this.pageCanvas)&&this._settedRwdModeId===(null===n||void 0===n?void 0:n.getId()))return this.pageCanvas.getFullWidthObjectParam
710s();var i,r,a,o,s=null===(i=com)||void 0===i?void 0:null===(r=i.webwave)||void 0===r?void 0:null===(a=r.gui)||void 0===a?void 0:null===(o=a.rwd)||void 0===o?void 0:o.rwdService.getRwdModeById(this._settedRwdModeId);
711return{x:0,width:(null===s||void 0===s?void 0:s.width)||0}}},{key:"computeSize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(webwave.isDef(this.stuffedSize))return this.stuffedSize;var n=this.getMinSize(),i=this.getDomSizeMode()===o.a.OWN_SIZE?this.recalcToRenderedSize(this.getSize()):this._childrenOuterRect.getSize().clone();this.applyComputedSizeModifiers(i);var r=Math.max(i.getHeight(),n.getHeight()),a=Math.max(i.getWidth(),n.getWidth());if(!0!==t.noRotation&&
712this.isRotated()){var s=this.elementRotationService.transformSizesToRotation(a,r,this.getRotation());a=s.getWidth(),r=s.getHeight()}return this.isFullWidth()&&(a=this.computeFullWidthParams().width),new p.a({width:a,height:r})}},{key:"isVisible",value:function e(){return this.visible}},{key:"isVisibleForInFlow",value:function e(){return this.visibilities.getComputedVisibilityForInFlow()}},{key:"isVisibleForChildren",value:function e(){return this.visibilities.getComputedVisibilityForChildren()}},
713{key:"isRotated",value:function e(){return!1}},{key:"_setWObjectPosition",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!1===this._position.equals(t)&&(this._position=t,this.updateInFlow(),!0!==n.noDomElementUpdate&&this.isInitialized()&&this.updateDomPosition())}},{key:"getDomObject",value:function e(){return webwave.isDef(this.$domObject)?this.$domObject:$()}},{key:"hasDomRepresentation",value:function e(){return 0!==this.getDomObject().length}},{key:"_setPositionOld",
714value:function e(t,n,i){void 0===i&&(i={});var r=!1;null!==t&&(this.getPosition().setXValue(t),!1===this.noHorizontalDrag&&(r=!0)),null!==n&&(this.isFooterElement()&&n<0&&(n=Math.max(0,n)),this.getPosition().setYValue(n),r=!0),r&&!0!==i.noDomElementUpdate&&this.isInitialized()&&this.updateDomPosition()}},{key:"setPosition",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t instanceof O.a?(this._setWObjectPosition(t,n),webwave.isDef(n)&&(i=n)):this._setPositionOld(t,
715n,i),!0===i.userInteraction&&this.saveCurrentRwdProperties()}},{key:"_computeInFlow",value:function e(t){return this.getDomSizeMode()===o.a.CHILDREN_SIZE&&!1===this.hasEnableFlowWithoutChildren()?this.getAllChildrenForSizeComputation().length>
7150:this.getSize().getWidth().getUnit()!==c.a.PERCENT&&this.getSize().getHeight().getUnit()!==c.a.PERCENT&&this.getPosition().getX().getUnit()!==c.a.PERCENT&&this.getPosition().getY().getUnit()!==c.a.PERCENT}},{key:"updateInFlow",value:function e(){this.setInFlow(this._computeInFlow())}},
716{key:"_oldSetSize",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=!1;return null!==n&&(n=Math.min(n,e.maxSize.WIDTH),this._size.getWidth().getValue()!==n&&(a=!0),this._size.getWidth().setValue(n)),null!==i&&(i=Math.min(i,e.maxSize.HEIGHT),this._size.getHeight().getValue()!==i&&(a=!0),this._size.getHeight().setValue(i)),this.updateDomSize(),a}},{key:"_newSetSize",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!1===
717this._size.equals(t)&&(this._size=t,this.updateInFlow(),!0!==n.noDomElementUpdate&&this.isInitialized()&&this.updateDomSizeAndPosition(),!0)}},{key:"setSize",value:function e(t,n,i){var r=!1;return t instanceof _.a?(r=this._newSetSize(t,n),webwave.isDef(n)&&(i=n)):r=this._oldSetSize(t,n,i),webwave.isNotDef(i)&&(i={}),r}},{key:"_triggerPostSizeChangeEvents",value:function e(t,n){webwave.isFunction(this.updateSizesAfterRotate)&&this.updateSizesAfterRotate(),this.isAttached()&&this.isVisibleForInFlow()&&
718this.notifyParentOfSizeChange(t,n),null!==this._relationNode&&this._relationNode.onWObjectSizeChange(t,n),this.afterDomSizeChange(),this._triggerSizeChangeEvent()}},{key:"updateDomSize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((!1!==this.isInitialized()||!1!==this.isBeingInitialized())&&!1!==this.hasDomRepresentation()){var n=this.getComputedSize().clone(),i=this.computeSize();this.applySizeModifiers(i);var r=!1===this._renderedRect.getSize().equals(i);
719return this._renderedRect.setSize(i),!0===this.hasDomRepresentation()&&(this.$domObject[0].style.width=i.getWidth()+"px",this.$domObject[0].style.height=i.getHeight()+"px"),!0===r&&!0!==t.noUpdates&&this._triggerPostSizeChangeEvents(i,n),r}}},{key:"updateDomSizeAndPosition",value:function e(){var t=this.updateDomSize({noUpdates:!0}),n=this.updateDomPosition({noUpdates:!0});!0===t&&this._triggerPostSizeChangeEvents(),!0===n&&this._triggerPostPositionChangeEvents()}},{key:"setObjectService",value:function e(t){Object.defineProperty(this,
720"objectService",{value:t,configurable:!1})}},{key:"getSiblings",value:function e(){var t=this;return null!==this.getParentWNode()?this.getParentWNode().getChildren().filter(function(e){return e!==t}):[]}},{key:"isAutoHeight",value:function e(){return this._autoHeight}},{key:"isEveryChildrenHasAutoHeight",value:function e(){var t=this.getChildren(!0);return t.length>0&&t.every(function(e){return!0===e.isAutoHeight()})}},{key:"onAutoHeightChange",value:function e(){}},{key:"setAutoHeight",value:function e(t){var n=
721this.autoHeight!==t;this._autoHeight=t,n&&this.onAutoHeightChange()}},{key:"computeAutoHeight",value:function e(){return!1}},{key:"updateAutoHeight",value:function e(){this.setAutoHeight(this.computeAutoHeight())}},{key:"isMouseOver",value:function e(){return this._mouseOver}},{key:"onChildMouseOverChange",value:function e(){this.updateMouseOver()}},{key:"onMouseOverChange",value:function e(){var t=this.getParentWNode();webwave.isDefAndNotNull(t)&&t.onChildMouseOverChange()}},{key:"setMouseOver",
722value:function e(t){var n=this._mouseOver!==t;this._mouseOver=t,n&&this.onMouseOverChange()}},{key:"computeMouseOver",value:function e(){return this.getOwnMouseOver()||this._externalMouseOvers.size>0||this.getChildren().some(function(e){return e.isMouseOver()})}},{key:"updateMouseOver",value:function e(){this.setMouseOver(this.computeMouseOver())}},{key:"getOwnMouseOver",value:function e(){return this._ownMouseOver}},{key:"onOwnMouseOverChange",value:function e(){this.updateMouseOver(),this.updateState()}},
723{key:"setOwnMouseOver",value:function e(t){var n=this._ownMouseOver!==t;this._ownMouseOver=t,n&&this.onOwnMouseOverChange()}},{key:"domMouseEnterHandler",value:function e(){this.setOwnMouseOver(!0)}},{key:"domMouseLeaveHandler",value:function e(){this.setOwnMouseOver(!1)}},{key:"initHoverEvents",value:function e(){var t=this,n=this.getDomObject();n.on("mouseenter",function(){!1===t._uiEventsLock.isLocked()?t.domMouseEnterHandler():t.customMouseEnterHandler()}),n.on("mouseleave",function(){!1===t._uiEventsLock.isLocked()&&
724t.domMouseLeaveHandler()})}},{key:"customMouseEnterHandler",value:function e(){}},{key:"hasTopBinds",value:function e(){var t=this.getBinds();for(var n in t){var i;if(t.hasOwnProperty(n))if(t[n].getTopGroup()!==this.getId())return!0}return!1}},{key:"hasBinds",value:function e(){return Object.keys(this.getBinds()).length>0}},{key:"setStatesStyles",value:function e(t){this._statesStyles=t}},{key:"getStatesStyles",value:function e(){return this._statesStyles}},{key:"applyStateStyle",value:function e(t){var n,
725i;if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).mergeStyles){var r=this.getStateStyle(y.a.NORMAL).clone(),a=this.getStateStyle(y.a.HOVER).clone();r.applyPartialObjectStyle(a),i=r}else i=this.getStateStyle(t);this.applyPartialObjectStyle(i)}},{key:"applyPartialObjectStyle",value:function e(t){}},{key:"updateStateStyle",value:function e(){if(this.canChangeStateStyle()){var t=this.getState().getName();this.applyStateStyle(t,{mergeStyles:this.shouldMergeStateStyles(t)})}else webwave.error("object not support changeStates")}},
726{key:"shouldMergeStateStyles",value:function e(t){return t===y.a.HOVER}},{key:"onSStateChange",value:function e(){this.canChangeStateStyle()&&this.updateStateStyle()}},{key:"setState",value:function e(t){var n=this.getState().getName()!==t;
726this.getState().setStateByName(t),n&&this.onSStateChange()}},{key:"getState",value:function e(){return this._state}},{key:"updateState",value:function e(){this.canChangeState()&&this.setState(this.computeState())}},{key:"temporaryChangeState",value:function e(t){this.setState(t)}},
727{key:"setStyleVersion",value:function e(t){this.applyStateStyle(t)}},{key:"computeState",value:function e(){return this.computeMouseOver()?y.a.HOVER:y.a.NORMAL}},{key:"canChangeState",value:function e(){return!1===this.getState().isLocked()}},{key:"canChangeStateStyle",value:function e(){return!1}},{key:"canChangeStateByStyleableComponent",value:function e(){return!1}},{key:"getStateStyle",value:function e(t){return this.getStatesStyles().getState(t)}},{key:"canChangePositionOrigin",value:function e(){return!0}},
728{key:"setDynamicPositioning",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0===t?this.setPositionOrigin(v.a.SCREEN_TOP_LEFT,{userInteraction:n.userInteraction,isActionUndoable:n.isActionUndoable,recalcPosition:!0,deep:n.deep}):this.setPositionOrigin(v.a.PAGE_TOP_LEFT,{userInteraction:n.userInteraction,isActionUndoable:n.isActionUndoable,recalcPosition:!0,deep:n.deep})}},{key:"setPreviousPosition",value:function e(){}},{key:"isDynamicPositioning",value:function e(){return this.getPositionOrigin()===
729v.a.SCREEN_TOP_LEFT||this.getPositionOrigin()===v.a.SCREEN_TOP_RIGHT}},{key:"canChangeDynamicPositioning",value:function e(){return!0}},{key:"setSticky",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.sticky!==t;return this.sticky=t,i&&this.notifyDescendantsOfStickyParentChange(),this._updateComputedSticky(n)}},{key:"notifyDescendantsOfStickyParentChange",value:function e(){for(var t=this.getChildren(!0),n=0;n<t.length;n++)t[n].onParentStickyChange()}},{key:"onParentStickyChange",
730value:function e(){this._updateComputedSticky()}},{key:"_updateComputedSticky",value:function e(t){var n=this._computeSticky();return this._computedSticky!==n&&this._setComputedSticky(n,t)}},{key:"_computeSticky",value:function e(){var t=this._stickyParent;return webwave.isDefAndNotNull(t)?t.isOwnedSticky():this.isOwnedSticky()}},{key:"isOwnedSticky",value:function e(){return this.sticky}},{key:"_setComputedSticky",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},
731i=this._computedSticky!==t;if(this._computedSticky=t,i){if(this.isInitialized()){this.updateDomPosition();for(var r=this.getChildren({deep:!0}),a=0;a<r.length;a++)r[a].isInitialized()&&r[a].updateDomPosition()}!1===this._computedSticky&&(this.setSticked(!1),this.setStickyEnded(!1))}return i}},{key:"_computeStickyParent",value:function e(){var t,n;return null!==(t=this.getParentWNode())&&void 0!==t&&t.canBeStickyParent()?this.getParentWNode():null===(n=this.getParentWNode())||void 0===n?void 0:n._computeStickyParent()}},
732{key:"canBeStickyParent",value:function e(){return!1===this.allowAlternateStickyChildren()&&(null===this.getParentWNode()||this.getParentWNode().allowAlternateStickyChildren())}},{key:"_setStickyParent",value:function e(t){var n=this._stickyParent!==t;this._stickyParent=t,n&&this._updateComputedSticky()}},{key:"getStickyParent",value:function e(){return this._stickyParent}},{key:"_updateStickyParent",value:function e(){this._setStickyParent(this._computeStickyParent())}},{key:"setSticked",value:function e(t){var n=
733this._sticked!==t;this._sticked=!0===t,n&&this._triggerStickyChangeEvent()}},{key:"setStickyEnded",value:function e(t){var n=this._stickyEnded!==t;this._stickyEnded=t,n&&this._triggerStickyChangeEvent()}},{key:"isStickyEnded",value:function e(){return this._stickyEnded}},{key:"isSticked",value:function e(){return this._sticked}},{key:"isSticky",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return webwave.isDefAndNotNull(this._stickyParent)&&this._stickyParent.isSticky()?
734!0!==t.falseIfAncestorIsSticky:!0===this._computedSticky}},{key:"setStickyStartDistance",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=!1;i=webwave.isNotDefOrNull(t)?webwave.isDefAndNotNull(this._stickyStartDistance):webwave.isNotDefOrNull(this._stickyStartDistance)||!1===this._stickyStartDistance.equals(t),this._stickyStartDistance=t,this.updateDomPosition();for(var r=this.getChildren(),a=0;a<r.length;a++)r[a].updateDomPosition();return i}},{key:"setStickyEndDistanceEnabled",
735value:function e(t){var n=t!==this._stickyEndDistanceEnabled;return this._stickyEndDistanceEnabled=t,n}},{key:"isStickyEndDistanceEnabled",value:function e(){return!0===this._stickyEndDistanceEnabled}},{key:"isNewStickyEndDistanceValid",value:function e(t){var n=this.convertVerticalLengthToUnit(t,c.a.PX),i;return this.convertVerticalLengthToUnit(this.getStickyStartDistance(),c.a.PX).getValue()+this.getComputedPosition().getY()<n.getValue()}},{key:"setStickyEndDistance",value:function e(t){var n=webwave.isNotDefOrNull(this._stickyEndDistance)||
736!1===this._stickyEndDistance.equals(t);return this._stickyEndDistance=t,n}},{key:"getStickyEndDistance",value:function e(){return this._stickyEndDistance}},{key:"getStickyStartDistance",value:function e(){var t=webwave.isDefAndNotNull(this._stickyStartDistance)?this._stickyStartDistance.clone():s.a.createLengthWithPxUnitFromValue(0),n=this.getParentWNo
736de();if(null!==n&&n.isSticky()){t=n.getStickyStartDistance().clone();var i=this.getComputedPosition().getY()-n.getComputedPosition().getY();t.add(this.convertVerticalLengthToUnit(i,
737t.getUnit()))}return t}},{key:"equalsParentWNode",value:function t(n){return n instanceof e!=!1&&this.getParentWNode()===n.getParentWNode()}},{key:"setStuffedSizeAndPosition",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.stuffedSize=t.size,this.stuffedPosition=t.position,this.updateDomSizeAndPosition()}},{key:"getRenderedRectangle",value:function e(){return this._renderedRect}},{key:"getRenderedRectangleDimensionValueByOrientation",value:function e(t){var n;
738switch(t){case d.a.HORIZONTAL:n=this.getRenderedRectangle().getWidth();break;case d.a.VERTICAL:n=this.getRenderedRectangle().getHeight();break}return n}},{key:"isDomElementPositionUpdateEnabled",value:function e(){return this._domElementPositionUpdateEnabled}},{key:"setDomElementPositionUpdateEnabled",value:function e(t){this._domElementPositionUpdateEnabled=t}},{key:"updateDomElementPosition",value:function e(){var t=this._renderedRect.getPosition().clone();this.isFixed()?t=this._applyFixedModifications(t):
739this.isSticky()?t=this._applyStickyModifications(t):this.getDomObject()[0].style.position="absolute",this.$domObject[0].style.left="".concat(t.x,"px"),this.$domObject[0].style.top="".concat(t.y,"px")}},{key:"isAlwaysPushing",value:function e(){return this._alwaysPushing}},{key:"getMinimalTopDistance",value:function e(){return 0}},{key:"dumpTree",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n="";n+=t+this.toString();var i=this.getChildren();if(this.getChildren().length>
7400){n+="".concat(t,"{\n");for(var r=0;r<i.length;r++)n+=i[r].dumpTree("".concat(t,"    "));n+="".concat(t,"}")}return n+="".concat(t,"\n")}},{key:"hasEnableFlowWithoutChildren",value:function e(){return!0===this._wNodeSettings.enableFlowWithoutChildren}},{key:"hasEnableVisibilityWithoutChildren",value:function e(){return!0===this._wNodeSettings.enableVisibilityWithoutChildren}},{key:"setCustomVisibilityParent",value:function e(t){var n=this._customVisibilityParent!==t;this._customVisibilityParent=
741t,n&&this.updateVisibilityFromParent()}},{key:"getCustomVisibilityParent",value:function e(){return this._customVisibilityParent}},{key:"getBorderEnabled",value:function e(){return!1}},{key:"allowAlternateFixedChildren",value:function e(){return!0!==this._wNodeSettings.disableAlternateFixedChildren}},{key:"allowAlternateStickyChildren",value:function e(){return!0!==this._wNodeSettings.disableAlternateStickyChildren}},{key:"getChildrenSize",value:function e(){return this.getChildren(!1).length}},{key:"getElementsForAnimation",
742value:function e(){for(var t=this.getAnimatableElements(),n=t.length-1;n>=0;n--)webwave.isNotDefOrNull(t[n])&&t.splice(n,1);return t}},{key:"getAnimatableElements",value:function e(){return[]}},{key:"canDisplayBindLineEdge",value:function e(){return this.isVisible()}},{key:"setMostBottomFromOtherPushes",value:function e(t){this._mostBottomFromOtherPushes=t}},{key:"getMostBottomFromOtherPushes",value:function e(){return this._mostBottomFromOtherPushes}},{key:"getPaddingAndBorderSizes",value:function e(){return{top:0,
743right:0,bottom:0,left:0,horizontal:0,vertical:0}}},{key:"canRenderRandomBackgroundColor",value:function e(){return!0}},{key:"isSupportingColorVariables",value:function e(){return!1}},{key:"onPropertyChange",value:function e(t){switch(t.propertyName){case "computedVisibility":this.updateWNodeVisibility();break;case "computedVisibilityForInFlow":this.nofityParentOfVisibilityChange();break;case "computedVisibilityForChildren":this.updateAllChildrenParentVisibility();break}}},{key:"isExcludedFromSizeComputation",
744value:function e(){return this._wNodeSettings.isExcludedFromSizeComputation()}},{key:"isShadowStyleDisabled",value:function e(){return!0===this._wNodeSettings.isShadowStyleDisabled()}},{key:"isEnableInvokeAutoRwdPopup",value:function e(){return this._wNodeSettings.isEnableInvokeAutoRwdPopup()}},{key:"isUncopyable",value:function e(){return this._uncopyable}},{key:"_shouldBeConsiderInParentSizeComputation",value:function e(){return this.isVisibleForInFlow()&&this.isInFlow()&&!0!==this.isExcludedFromSizeComputation()}},
745{key:"setPointerEventOnDomObject",value:function e(t){var n=this.getDomObject();webwave.isDefAndNotNull(n[0])&&(n[0].style.pointerEvents=t)}},{key:"setUncopyable",value:function e(t){this._uncopyable=t}},{key:"triggerBorderRadiusObjectChange",value:function e(){this.getDomObject().trigger("borderRadiusChange.cssSettings"),this.getDomObject().trigger("cssPropertyChange",{propertiesList:["borderRadius"]})}},{key:"triggerShadowObjectChange",value:function e(){this.getDomObject().trigger("shadowChange.cssSettings"),
746this.getDomObject().trigger("cssPropertyChange",{propertiesList:["boxShadow"]})}},{key:"triggerOpacityObjectChange",value:function e(){this.getDomObject().trigger("opacityChange.cssSettings"),this.getDomObject().trigger("cssPropertyChange",{propertiesList:["opacity"]})}},{key:"setExternalMouseOver",value:function e(t,n){!0===n?this._externalMouseOvers.add(t):this._externalMouseOvers.delete(t),this.updateMouseOver()}}]),e}();A.maxSize={WIDTH:99999,HEIGHT:99999}},1742:function(e,t,n){n.d(t,"a",function(){return o}
746);
747var i=n(0),r=n(1),a=n(1989),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"generateBackgroundRepeatString",value:function e(t,n){var i;if(!webwave.isNotDef(t)||!webwave.isNotDef(n))return i=!0===t&&!0===n?a.a.REPEAT:!0===t?a.a.REPEAT_X:!0===n?a.a.REPEAT_Y:a.a.NO_REPEAT}}]),e}()},1743:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(1244),o=n(126),s=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.width="number"==typeof t.width?
748t.width:0,this.color="string"==typeof t.color?t.color:e.DEFAULT_COLOR,this.style=void 0===t.style?e.Styles.SOLID:t.style,this.disabled=!0===t.disabled}return Object(r.a)(e,[{key:"serialize",value:function e(){return{width:this.width,color:this.color,style:this.style,disabled:this.disabled}}},{key:"toSingleBorderString",value:function e(){return this.width+"px "+this.style+" "+this.color}},{key:"applyPartialSingleBorderMap",value:function e(t){webwave.isDef(t)&&(webwave.isNumberAndNotNaN(t.width)&&
749(this.width=t.width),webwave.isDef(t.style)&&(this.style=t.style),webwave.isDef(t.color)&&(this.color=t.color))}},{key:"changeWebsiteColorConnection",value:function e(t){return o.a.changeObjectColorPropertyWithWebsiteColor(this,t)}},{key:"clone",value:function t(){return e.deserialize(this.serialize())}}],[{key:"deserialize",value:function t(n){return void 0===n&&(n={}),new e({width:n.width,color:n.color,style:n.style,disabled:n.disabled})}}]),e}();s.DEFAULT_COLOR=a.a.FIRST_NEUTRAL,s.Styles={SOLID:"solid",
750DASHED:"dashed",DOTTED:"dotted",DOUBLE:"double"}},1744:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(10),o=n(126),s=function(){function e(t){if(Object(i.a)(this,e),void 0===t&&(t={}),this.enabled=!0===t.enabled,this.color="rgba(156,156,156,1)",webwave.isString(t.color))if(a.ColorUtils.isColorStartWithAnyOfPhrase(t.color,["rgba","var"]))this.color=t.color;else if("transparent"===t.color)this.color="rgba(0,0,0,0)";else if(a.ColorUtils.isColorStartWithRgbPhrase(t.color)){var n=
751webwave.isDef(t.opacity)?t.opacity/100:1;this.color=a.ColorUtils.rgbAndOpacityToRgba(t.color,n)}this.x="number"==typeof t.x?t.x:3,this.y="number"==typeof t.y?t.y:3,this.blur="number"==typeof t.blur?t.blur:10}return Object(r.a)(e,[{key:"serialize",value:function e(){return{enabled:this.enabled,color:this.color,x:this.x,y:this.y,blur:this.blur}}},{key:"toBoxShadowString",value:function e(){var t="none";return!0===this.enabled&&(t="".concat(this.x,"px ").concat(this.y,"px ").concat(this.blur,"px"),webwave.isString(this.color)&&
752(t=t+" "+this.color)),t}},{key:"toCss2Map",value:function e(){return{boxShadow:this.toBoxShadowString()}}},{key:"applyPartialShadowMap",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isDef(t.color)&&(this.color=t.color),webwave.isDef(t.x)&&(this.x=t.x),webwave.isDef(t.y)&&(this.y=t.y),webwave.isDef(t.blur)&&(this.blur=t.blur))}},{key:"changeWebsiteColorConnection",value:function e(t){return o.a.changeObjectColorPropertyWithWebsiteColor(this,t)}}],
753[{key:"deserialize",value:function t(n){return new e(n)}}]),e}()},1745:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;
754try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"_getElementForAppleDeviceMouseEnterEvent",value:function e(){return this.getDomObject()}}]),n}(n(2095).a)},1746:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"innerDimensions",
755value:function e(t){var n=getComputedStyle(t),i=t.clientWidth,r=t.clientHeight;return{height:r-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom),width:i-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)}}}]),e}()}
755,1747:function(e,t,n){var i={WCAROUSEL:"wcarousel",STORE_ANALYTICS:"storeAnalytics",STORE_APP:"storeApp"};t.a=i},1748:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1545),c=n(1719);function l(e){var t=d();return function n(){var i=Object(s.a)(e),
756r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._easing=
757webwave.isDef(e.easing)?e.easing:n.DEFAULT_EASING_FUNCTION,webwave.isString(r._easing)&&(r._easing=jQuery.easing[r._easing]),r._onComplete=e.onComplete,r._stepCallback=e.step,r}return Object(r.a)(n,[{key:"finish",value:function e(){this._running=!1,this._finished=!0,this.setCurrentTime(this.getDuration()),this.render(),this.clean(),webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"reset",value:function e(){this._running=!1,this._finished=!0,this.setCurrentTime(0),this.render(),this.clean(),
758webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"clean",value:function e(){}},{key:"dispose",value:function e(){}},{key:"render",value:function e(){throw new Error("renderer not implemented!");}},{key:"updateValues",value:function e(){throw new Error("update values not implemented!");}},{key:"tick",value:function e(){this.updateValues(),this.render(),webwave.isFunction(this._stepCallback)&&this._stepCallback()}}]),n}(u.a);h.DEFAULT_EASING_FUNCTION=c.a.SWING},1749:function(e,t,n){t.a=
759{PLUS:"plus",DOUBLE_ZERO:"doubleZero",SINGLE_ZERO:"singleZero"}},1750:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t,n){Object(i.a)(this,e),this.prefix=t,this.number=n}return Object(r.a)(e,[{key:"getPrefix",value:function e(){return this.prefix}},{key:"getNumber",value:function e(){return this.number}}]),e}()},1751:function(e,t,n){t.a={GO_TO_PAYMENT_PROVIDER:"goToPaymentProvider",POSITION_BOX:"positionContextMenuBox",SHOP_DATA:"shopData",ANIMATION_BOX:"animationContextMenuBox"}},
7601752:function(e,t,n){n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r});var i={UNINITIALIZED:"uninitialized",INITIALIZING:"initializing",INITIALIZED:"initialized",UPDATED:"updated"},r="webwaveAppInitialized"},18:function(e,t,n){t.a=r;var i=n(263);function r(){return(r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function e(t,n,r){var a=Object(i.a)(t,n);if(a){var o=Object.getOwnPropertyDescriptor(a,n);return o.get?o.get.call(arguments.length<3?t:r):o.value}}).apply(this,arguments)}
761},1919:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.top="number"==typeof t.top?t.top:void 0,this.right="number"==typeof t.right?t.right:void 0,this.bottom="number"==typeof t.bottom?t.bottom:void 0,this.left="number"==typeof t.left?t.left:void 0,this.enabled=webwave.isBoolean(t.enabled)?t.enabled:void 0}return Object(r.a)(e,[{key:"serialize",value:function e(){return{top:this.top,right:this.right,bottom:this.bottom,
762left:this.left,enabled:this.enabled}}},{key:"toCss2Map",value:function e(){var t={};return webwave.isDef(this.top)&&(t.paddingTop=(this.enabled?this.top:0)+"px"),webwave.isDef(this.right)&&(t.paddingRight=(this.enabled?this.right:0)+"px"),webwave.isDef(this.bottom)&&(t.paddingBottom=(this.enabled?this.bottom:0)+"px"),webwave.isDef(this.left)&&(t.paddingLeft=(this.enabled?this.left:0)+"px"),t}},{key:"clone",value:function t(){return new e({left:this.left,top:this.top,right:this.right,bottom:this.bottom,
763enabled:this.enabled})}},{key:"applyPartialPaddingMap",value:function e(t){webwave.isDef(t)&&(webwave.isNumberAndNotNaN(t.top)&&(this.top=t.top),webwave.isNumberAndNotNaN(t.right)&&(this.right=t.right),webwave.isNumberAndNotNaN(t.bottom)&&(this.bottom=t.bottom),webwave.isNumberAndNotNaN(t.left)&&(this.left=t.left),webwave.isDef(t.enabled)&&(this.enabled=t.enabled))}}],[{key:"deserialize",value:function t(n){return void 0===n&&(n={}),new e({top:n.top,right:n.right,bottom:n.bottom,left:n.left,enabled:n.enabled})}}]),
764e}()},1920:function(e,t,n){var i,r={NONE:"none",EMAIL:"email",PHONE:"phone"};n(10).TranslationPrefix.addTranslationPrefix(r,"formEditorService.types.textField"),t.a=r},1921:function(e,t,n){t.a={FACEBOOK_GRAPH_VERSION:"v18.0"}},1922:function(e,t,n){n.d(t,"a",function(){return o}
764);var i=n(0),r=n(1),a=n(10),o=function(){function e(t){Object(i.a)(this,e),this._productData=t,this._selectedStorage=t.getSelectedStorage(),this._itemChanged=!1,this.setCount(1)}return Object(r.a)(e,[{key:"getId",value:function e(){return this._productData.getIdForOrderItem()}},
765{key:"getBaseProductId",value:function e(){return this._productData.getId()}},{key:"incrementCount",value:function e(){!1!==this._canIncrement()&&this._count++}},{key:"decreaseCount",value:function e(){this._count--}},{key:"getSelectedStorage",value:function e(){return this._productData.getSelectedStorage()}},{key:"equals",value:function e(t){return webwave.isDef(this._productData.getSelectedStorage())&&webwave.isDef(t.getSelectedStorage())?this._productData.getSelectedStorage().getId()===t.getSelectedStorage().getId():
766webwave.isDef(this._productData.getSelectedStorage())===webwave.isDef(t.getSelectedStorage())&&(this._productData.getId()===t.getId()&&webwave.arrayHasSameItems(this._productData.getSelectedVariantsIds(),t.getSelectedVariantsIds()))}},{key:"getCount",value:function e(){return this._count}},{key:"getPriceOrderItem",value:function e(){return this.getPrice()*this._count}},{key:"setCount",value:function e(t){webwave.isDef(this._selectedStorage)?this._selectedStorage.isValidateQuantity(t)?this._count=
767t:(this._count=this._selectedStorage.printAvailableQuantity(),this._itemChanged=!0):this._count=t}},{key:"serialize",value:function e(){return{productData:this._productData.serialize(),count:this._count,idItem:this._productData.getIdForOrderItem()}}},{key:"getItemWeight",value:function e(){return this._count*this._productData.getProductWeight()}},{key:"getName",value:function e(){return this._productData.getNameForOrderItem()}},{key:"getVariantsString",value:function e(){return this._productData.getVariantsString()}},
768{key:"getPrice",value:function e(){return this._productData.getPriceForOrderItem()}},{key:"getThumbnailUrl",value:function e(){return this._productData.getThumbnailUrl()}},{key:"getRow",value:function e(){var t,n=webwave.isNumberAndNotNaN(this.getTaxValue())?Number.parseInt(100*this.getTaxValue()):null;return{id:this._productData.getId(),idForOrder:this._productData.getIdForOrderItem(),name:this.getName(),description:this._productData.description,pricePerItem:this.getPrice(),price:this.getPriceOrderItem(),
769count:this._count,url:this._productData.getThumbnailUrl(),taxValue:n,variantInformations:this._productData.getVariantsWithSelectedOption(),storageItem:null===(t=this._selectedStorage)||void 0===t?void 0:t.getId(),canIncrement:this._canIncrement(),itemWeight:a.MathUtils.setFloatPriceToLong(this._productData.getProductWeight())}}},{key:"getTaxValue",value:function e(){return this._productData.taxValue}},{key:"cleanChanged",value:function e(){this._itemChanged=!1}},{key:"isChanged",value:function e(){return this._itemChanged}},
770{key:"setProductDataAndChangeCount",value:function e(t){if(this._productData.getPriceForOrderItem()!==t.getPriceForOrderItem()&&(this._itemChanged=!0),this._productData.canBeUpdatedByProductData(t)){var n=this._productData.getVariantsWithSelectedOption();this._productData=t,this._productData.selectVariants(n),this._selectedStorage=this._productData.getSelectedStorage(),this.setCount(this.getCount()),this.incrementCount()}else this.setCount(0)}},{key:"_canIncrement",value:function e(){return!webwave.isDef(this._selectedStorage)||
771!1!==this._selectedStorage.canIncrement(this._count)}},{key:"postageMethodIsSupported",value:function e(t){return this._productData.postageMethodIsSupported(t)}},{key:"getAnalyticsData",value:function e(){return{item_id:this._productData.getId(),item_name:this._productData.name,item_variant:this._productData.getNameForOrderItem(),price:this.getPrice(),quantity:this._count}}},{key:"haveProductCategoriesInProductData",value:function e(){return webwave.isDef(this._productData)&&webwave.isDef(this._productData.productCategories)}},
772{key:"hasThisProductCategoryInProductData",value:function e(t){return this._productData.productCategories.some(function(e){return t.includes(e.toString())})}}]),e}()},1944:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(106),o=n(122),s=n(119),u=function(){function e(){Object(i.a)(this,e)}
772return Object(r.a)(e,null,[{key:"convertLengthToUnit",value:function t(n,i,r,o){var s=i;if(s.getUnit()===n)return s;s.getUnit()!==a.a.PX&&(s=e.convertLengthToPxUnit(s,r,o));var u=s;switch(n){case a.a.PERCENT:u=
773e.convertToLengthWithPercentUnit(s,r,o);break;case a.a.VW:u=e.convertToLengthWithVWUnit(s,o);break;case a.a.VH:u=e.convertToLengthWithVHUnit(s,o);break}return u}},{key:"convertToLengthWithPercentUnit",value:function e(t,n,i){var r=n===s.a.HORIZONTAL?i.pageAreaRenderedWidth:i.pageAreaRenderedHeight;return new o.a({value:t.getValue()/r*100,unit:a.a.PERCENT})}},{key:"convertToLengthWithVWUnit",value:function e(t,n){return new o.a({value:t.getValue()/n.responsiveViewPortWidth*100,unit:a.a.VW})}},{key:"convertToLengthWithVHUnit",
774value:function e(t,n){return new o.a({value:t.getValue()/n.fullHeight*100,unit:a.a.VH})}},{key:"convertLengthToPxUnit",value:function t(n,i,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=e.convertLengthToValueInPX(n,i,r,a);return o.a.createLengthWithPxUnitFromValue(s,{withoutRounding:a.withoutRounding})}},{key:"convertHorizontalLengthToPx",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.convertLengthToPxUnit(n,s.a.HORIZONTAL,i,{withoutRounding:r})}},
775{key:"convertVerticalLengthToPx",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.convertLengthToPxUnit(n,s.a.VERTICAL,i,{withoutRounding:r})}},{key:"convertLengthToValueInPX",value:function t(n,i,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};switch(n.getUnit()){case a.a.PERCENT:return e.convertPercentLengthToPxValue(n,i,r,o);break;case a.a.VW:return e.convertVWLengthToPxValue(n,r,o);break;case a.a.VH:return e.convertVHLengthToPxValue(n,
776r,o);break;default:return n.getValue()}}},{key:"convertVerticalLengthToValueInPX",value:function t(n,i){return e.convertLengthToValueInPX(n,s.a.VERTICAL,i)}},{key:"convertHorizontalLengthToValueInPX",value:function t(n,i){return e.convertLengthToValueInPX(n,s.a.HORIZONTAL,i)}},{key:"convertPercentLengthToPxValue",value:function e(t,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n===s.a.HORIZONTAL?i.pageAreaRenderedWidth:i.pageAreaRenderedHeight,o=t.getValue()*a/100;return!1===
777r.withoutRounding?o:Math.round(o)}},{key:"convertVHLengthToPxValue",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getValue()*n.fullHeight/100;return!1===i.withoutRounding?r:Math.round(r)}},{key:"convertVWLengthToPxValue",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getValue()*n.responsiveViewPortWidth/100;return!1===i.withoutRounding?r:Math.round(r)}},{key:"getPxValuesForAvailableUnitsByOrientation",value:function t(n,
778i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{"%":e.convertPercentLengthToPxValue(new o.a({value:1,unit:a.a.PERCENT}),i,n,r),vh:e.convertVHLengthToPxValue(new o.a({value:1,unit:a.a.VH}),n,r),vw:e.convertVWLengthToPxValue(new o.a({value:1,unit:a.a.VW}),n,r),px:1}}},{key:"getPxValuesForAvailableUnitsInVerticalOrientation",value:function t(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.getPxValuesForAvailableUnitsByOrientation(n,s.a.VERTICAL,{withoutRoundingFlag:i})}},
779{key:"getPxValuesForAvailableUnitsInHorizontalOrientation",value:function t(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.getPxValuesForAvailableUnitsByOrientation(n,s.a.HORIZONTAL,{withoutRoundingFlag:i})}}]),e}()},1945:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"isLocked",value:function e(){return!1}}]),e}()},1946:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),
780r=n(1),a=n(3),o=n(4),s=n(2),u=n(46),c=n.n(u);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}
781var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a)))._computedVisibility=!0,e._computedVisibilityForInFlow=!0,e._computedVisibilityForChildren=!0,e._baseVisibility=void 0,e._parentVisibility=void 0,e._anyChildrenVisibility=void 0,e._scrollVisibility=void 0,e._showAnimationVisibility=void 0,e._interactionVisibility=void 0,e._duringAnimationVisibility=void 0,
782e._contentGenerationVisibility=void 0,e}return Object(r.a)(n,[{key:"setBaseVisibility",value:function e(t){var n=this._baseVisibility;this._baseVisibility=t,this.updateComputedVisibilities(),t!==n&&this.triggerPropertyChange("baseVisibility",t,n)}},{key:"getBaseVisibility",value:function e(){return this._baseVisibility}},{key:"setParentVisibility",value:function e(t){var n=this._parentVisibility;this._parentVisibility=t,this.updateComputedVisibilities(),t!==n&&this.triggerPropertyChange("parentVisibility",
783t,n)}},{key:"getParentVisibility",value:function e(){return this._parentVisibility}},{key:"setAnyChildVisibility",value:function e(t){this._anyChildrenVisibility=t,this.updateComputedVisibilities()}},{key:"setScrollAnimationVisibility",value:function e(t){this._scrollVisibility=t,this.updateComputedVisibilities()}},{key:"getScrollAnimationVisibility",value:function e(){return this._scrollVisibility}},{key:"getVisibilityForShowAnimationQueue",value:function e(){return this.computeVisibility({skipShowAnimationVisibilityCondition:!0})}},
784{key:"setShowAnimationVisibility",value:function e(t){this._showAnimationVisibility=t,this.updateComputedVisibilities()}},{key:"getShowAnimationVisibility",value:function e(){return this._showAnimationVisibility}},{key:"setInteractionVisibility",value:function e(t){this._interactionVisibility=t,this.updateComputedVisibilities()}},{key:"getInteractionVisibility",value:function e(){return this._interactionVisibility}},{key:"setDuringAnimationVisibility",value:function e(t){this._duringAnimationVisibility=
785t,this.updateComputedVisibilities()}},{key:"setContentGenerationVisibility",value:function e(t){this._contentGenerationVisibility=t,this.updateComputedVisibilities()}},{key:"computeVisibility",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return webwave.isDefAndNotNull(this._duringAnimationVisibility)?this._duringAnimationVisibility:webwave.isDefAndNotNull(this._contentGenerationVisibility)?this._contentGenerationVisibility:!0!==t.skipShowAnimationVisibilityCondition&&
786webwave.isDefAndNotNull(this._showAnimationVisibility)?this._showAnimationVisibility:webwave.isDefAndNotNull(this._interactionVisibility)?webwave.isDef(this._parentVisibility)&&!0!==t.skipParentVisibilityCondition?this._parentVisibility&&this._interactionVisibility:this._interactionVisibility:webwave.isDefAndNotNull(this._scrollVisibility)?this._scrollVisibility:webwave.isDef(this._anyChildrenVisibility)&&!0!==t.skipAnyChildrenVisibilityCondition?this._anyChildrenVisibility:webwave.isDef(this._parentVisibility)&&
787!0!==t.skipParentVisibilityCondition?this._parentVisibility&&this._baseVisibility:this._baseVisibility}},{key:"computeLayerIconVisibility",value:function e(){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}},
788{key:"onComputedVisibilityChange",value:function e(t,n){this.triggerPropertyChange("computedVisibility",t,n)}},{key:"setComputedVisibility",value:function e(t){var n=this._computedVisibility;this._computedVisibility=t,t!==n&&this.onComputedVisibilityChange(t,n)}},{key:"getComputedVisibility",value:function e(){return this._computedVisibility}},{key:"getComputedVisibilityForChildren",value:function e(){return this._computedVisibilityForChildren}},{key:"setComputedVisibilityForChildren",value:function e(t){var n=
789this._computedVisibilityForChildren;this._computedVisibilityForChildren=t,t!==n&&this.triggerPropertyChange("computedVisibilityForChildren",t,n)}},{key:"getComputedVisibilityForInFlow",value:function e(){return this._computedVisibilityForInFlow}},{key:"setComputedVisibilityForInFlow",value:function e(t){var n=this._computedVisibilityForInFlow;this._computedVisibilityForInFlow=t,t!==n&&this.triggerPropertyChange("computedVisibilityForInFlow",t,n)}},{key:"computeVisibilityForInFlow",value:function e(){var t=
790arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.computeVisibility({skipParentVisibilityCondition:!0,skipShowAnimationVisibilityCondition:!0,skipAnyChildrenVisibilityCondition:t.skipAnyChildrenVisibilityCondition})}},{key:"updateComputedVisibilities",value:function e(){this.setComputedVisibilityForInFlow(this.computeVisibilityForInFlow()),this.setComputedVisibilityForChildren(this.computeVisibility({skipAnyChildrenVisibilityCondition:!0})),this.setComputedVisibility(this.computeVisibility())}}]),
791n}(u.SimplePropertyChangeEmitter)},1947:function(e,t,n){var i={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"};t.a=i},1948:function(e,t,n){t.a={SHOW:"show",HIDE:"hide"}},1949:function(e,t,n){n.d(t,"a",function(){return o}
791);var i=
792n(0),r=n(1),a=n(1598),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._type=webwave.isValidEnumValue(t.type,a.a)?t.type:a.a.SHOW,this._wObjects=webwave.isArrayLike(t.wObjects)?t.wObjects:[]}return Object(r.a)(e,[{key:"getType",value:function e(){return this._type}},{key:"setType",value:function e(t){this._type=t}},{key:"getWObjects",value:function e(){return this._wObjects}},{key:"setWObjects",value:function e(t){var n=this.getDifference(t);
793return this._wObjects=t,this.updateDifferenceLayerVisibility(n),n.length>0}},{key:"getDifference",value:function e(t){var n=this;return this._wObjects.filter(function(e){return!t.includes(e)}).concat(t.filter(function(e){return!n._wObjects.includes(e)}))}},{key:"updateDifferenceLayerVisibility",value:function e(t){if(!webwave.isNotDefOrNull(window.objectService))for(var n=0;n<t.length;n++){var i=window.objectService.getWObjectById(t[n]);webwave.isDef(i)&&i.getWLayer().updateVisibilityIcons()}}},{key:"serialize",
794value:function e(){return{type:this.getType(),wObjects:this._wObjects.slice(0)}}}]),e}()},1950:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(3),a=n(4),o=n(2),s;function u(e){var t=c();return function n(){var i=Object(o.a)(e),r;if(t){var s=Object(o.a)(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==
795typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var l=function(e){Object(r.a)(n,e);var t=u(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),r.type="webwave.link.AnchorLinkData",(e=t.call(this,r)).anchor=r.anchor,e}return n}(n(839).a)},1951:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1597),l=n(140),d=n(1694),
796h=n(1656);function f(e){var t=v();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WGroup");
797var g=function(e){Object(o.a)(n,e);var t=f(n);function n(e){var r;return Object(i.a)(this,n),e.domSizeMode=c.a.CHILDREN_SIZE,(r=t.call(this,e))._childrenRect=new l.a,r._childrenOuterRect=new l.a,r._positioningMode=webwave.isValidEnumValue(e.positioningMode,d.a)?e.positioningMode:d.a.CHILDREN,r}return Object(r.a)(n,[{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this.updatePointerEventOnDomObject()}},{key:"addElements",value:function e(){try{var t=this.$domObject.attr("groupelements");
798if(webwave.isNotDef(t))return;for(var n=this.objectService.collectWObjectsByIdArray(JSON.parse(t)),i=0;i<n.length;i++)this.addChild(n[i])}catch(e){webwave.log(e)}}},{key:"hasElement",value:function e(t){return-1!==this.getChildren().indexOf(t)}},{key:"getAdditionalVerticalCorrection",value:function e(){return 0}},{key:"_loadRwdProperties",value:function e(t){this.setVisibilityRequiresAnimation(!0===t.animationOnScrollEnabled||webwave.isDefAndNotNull(t.animation)),this.updateBaseVisibility(),this.setAllPadding(t.style.padding),
799this.setFullWidth(t.fullWidth,{noDomUpdate:!0}),this.applyBindsRwd(this.computeBindsForRwd(t)),this.setFixed(!0===t.fixed),this.setSticky(!0===t.sticky),this.setStickyStartDistance(t.stickyStartDistance),this.setStickyEndDistance(t.stickyEndDistance),this.setStickyEndDistanceEnabled(t.stickyEndDistanceEnabled),this.loadAdditionalData(t.additionalProperties),this.updateSizeAndPosition(),this.updateInFlow()}},{key:"canPlayShowOrHideAnimation",value:function e(){return Object(a.a)(Object(u.a)(n.prototype),
800"canPlayShowOrHideAnimation",this).call(this)||this.hasChildren()&&this.getChildren().every(function(e){return e.canPlayShowOrHideAnimation()})}},{key:"computeBindsForRwd",value:function e(t){return t.binds}},{key:"isUserGroup",value:function e(){return!0}},{key:"getWObjects",value:function e(t){for(var i=[],r=this.getChildren(),a=0;a<r.length;a++){var o=r[a];!0===t&&o instanceof n&&(i=i.concat(o.getWObjects(t))),i.push(o)}return i}},{key:"getWGroups",value:function e(t){return this.getWObjects(t).filter(function(e){return e instanceof
801n})}},{key:"getPositioningMode",value:function e(){return this._positioningMode}},{key:"isPushedDownPositioningMode",value:function e(){return this.getPositioningMode()===d.a.PUSHED_DOWN}},{key:"updatePointerEventOnDomObject",value:function e(){this.setPointerEventOnDomObject(this.getObjectStyle().isFullyVisible()?"":"none")}}]),n}(h.a);com.webwave.publication.object.WGroup=g},1952:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){var t=arguments.length>0&&
802void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.id=t.id,this.name=t.name,this.price=webwave.isNumberAndNotNaN(t.price)?t.price/100:void 0,this.productCategories=t.productCategories,this.thumbnailUrl=t.thumbnailUrl,this.thumbnailId=t.thumbnailId,this.description=t.description,this.promptLanguage=t.promptLanguage}return Object(r.a)(e,[{key:"getId",value:function e(){return this.id}}]),e}()},1953:function(e,t,n){n.d(t,"a",function(){return p});var i=n(14),r=n(0),a=n(1),o=n(18),s=n(3),
803u=n(4),c=n(2),l=n(215),d=n(2026);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
803t%2?h(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):
804h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e){var t=g();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
805[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(s.a)(n,e);var t=v(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"createObject",value:function e(t){return new d.a(t)}},{key:"findItemByVariants",value:function e(t){return this.value.find(function(e){return webwave.arrayHasSameItems(e.getVariants(),t)})}},{key:"getFirstAvailableItem",value:function e(){return this.getStorageItems().find(function(e){return!0===e.isAvailable()})}},{key:"getFirstAvailableItemByVariant",
806value:function e(t){return this.getStorageItems().find(function(e){return e.getVariants().includes(t)&&!0===e.isAvailable()})}},{key:"getStorageItems",value:function e(){return this._value.filter(function(e){return!1===e.isDeleted()}).sort(this._getComparatorForSortStorageItem())}},{key:"isAvailable",value:function e(){return!1===this.enable||0===this.getStorageItems().length||this.getStorageItems().filter(function(e){return e.isValidateQuantity(1)}).length>0}},{key:"itemExist",value:function e(t){return this.getStorageItems().find(function(e){return e===
807t})}},{key:"serialize",value:function e(){return f(f({},Object(o.a)(Object(c.a)(n.prototype),"serialize",this).call(this)),{},{id:this._id})}},{key:"updateStorage",value:function e(t){var n=this;this._setCurrentStorageItemToDeleted(),0===t.length?this._processAddStorageItem([]):t.forEach(function(e){n._processAddStorageItem(e)}),this._removeFromListDeletedStorageItemsWithoutIds()}},{key:"_getComparatorForSortStorageItem",value:function e(){return function(e,t){var n,i,r=null===(n=e.printName())||
808void 0===n?void 0:n.toLowerCase(),a=null===(i=t.printName())||void 0===i?void 0:i.toLowerCase();return r<a?-1:r>a?1:0}}},{key:"_processAddStorageItem",value:function e(t){var n=this._value.find(function(e){return webwave.arrayHasSameItems(e.variants,t)});webwave.isNotDef(n)?this._value.push(new d.a({variants:t})):n.setDeleted(!1)}},{key:"_removeFromListDeletedStorageItemsWithoutIds",value:function e(){this._value=this._value.filter(function(e){return e.isToSave()})}},{key:"_setCurrentStorageItemToDeleted",
809value:function e(){this._value.forEach(function(e){e.setDeleted(!0)})}}]),n}(l.a);p.MAXIMUM_NUMBER_OF_STORAGE=100},1954:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this.imageId=t.imageId,this.url=t.url,this.alternativeTitle=t.alternativeTitle,this._title=t.title,this._description=t.description,this._titleHtml=webwave.isString(t.titleHtml)?t.titleHtml:""}return Object(r.a)(e,[{key:"getRwdProperties",value:function e(){throw"Not implemented";
810}},{key:"loadRwdProperties",value:function e(t){this.getRwdProperties().loadRwdProperties(t)}},{key:"getCropData",value:function e(){return this.getRwdProperties().getCropData()}},{key:"getTitle",value:function e(){return this._title}},{key:"getDescription",value:function e(){return this._description}},{key:"setTitle",value:function e(t){this._title=t}},{key:"setAlternativeTitle",value:function e(t){this.alternativeTitle=t}},{key:"getTitleHtml",value:function e(){return this._titleHtml}},{key:"serialize",
811value:function e(){return{imageId:this.imageId,url:this.url,alternativeTitle:this.alternativeTitle,title:this.getTitle(),description:this.getDescription(),titleHtml:this.getTitleHtml()}}}]),e}()},1955:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(1956),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"getFormItemFromRow",value:function e(t){var n=a.a.MULTI_FIELD_ITEM_ROW;return $(t).find("input, textarea, select, .ww_multiple_select_wrapper, .".concat(n)).filter(function(e,
812t){return!$(t).is(":not(.".concat(n,")"))||!$(t).closest(".".concat(n)).length}).eq(0)}},{key:"getFieldValue",value:function t(n){return e.isMultiFieldItemValue(n)?e.getMultiFieldItemValue(n):n.val()}},{key:"getMultiFieldItemValue",value:function t(n){var i;return n.hasClass(a.a.MULTI_FIELD_ITEM_ROW_FOR_PHONE)&&(i=e._getPhoneMultiFieldPrefixElement(n).val()+e.getPhoneMultiFieldInputElement(n).val()),i}},{key:"isMultiFieldItemValue",value:function e(t){return t.hasClass(a.a.MULTI_FIELD_ITEM_ROW)}},
813{key:"resetMultiFieldItemValue",value:function t(n){n.hasClass(a.a.MULTI_FIELD_ITEM_ROW_FOR_PHONE)&&e.getPhoneMultiFieldInputElement(n).val("")}},{key:"_getPhoneMultiFieldPrefixElement",value:function e(t){return t.find("select")}},{key:"getPhoneMultiFieldInputElement",value:function e(t){return t.find("input")}}]),e}()},1956:function(e,t,n){t.a={MULTI_FIELD_ITEM_ROW:"multi-field-item-row",MULTI_FIELD_ITEM_ROW_FOR_PHONE:"multi-field-item-row-phone"}},1957:function(e,t,n){n.d(t,"a",function(){return a});
814var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"dispatchLoadedEvent",value:function e(t,n){var i=new CustomEvent(this.createEventName(t));i.module=n,document.dispatchEvent(i)}},{key:"waitForLoad",value:function e(t){var n=this;return new Promise(function(e){document.addEventListener(n.createEventName(t),function(t){e(t.module)})})}},{key:"createEventName",value:function e(t){return"WModularObjectContentLoad-".concat(t)}}]),e}()},197:function(e,t,n){t.a=
815{PAGEAREA:"pageareaLoadingBoxWrapper",WINDOW:"windowLoadingBoxWrapper"}},1987:function(e,t){},1988:function(e,t,n){n.d(t,"a",function(){return o}
815);var i=n(0),r=n(1),a=n(225),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._name=webwave.isDef(t.value)?t.value:a.a.NORMAL,this._isLocked=!!webwave.isBoolean(t.isLocked)&&t.isLocked}return Object(r.a)(e,[{key:"setStateByName",value:function e(t){this._name=t}},{key:"getName",value:function e(){return this._name}},
816{key:"setLocked",value:function e(t){this._isLocked=t}},{key:"isLocked",value:function e(){return this._isLocked}},{key:"serialize",value:function e(){return{value:this.getName(),isLocked:this.isLocked()}}}]),e}()},1989:function(e,t,n){var i={REPEAT:"repeat",REPEAT_X:"repeat-x",REPEAT_Y:"repeat-y",NO_REPEAT:"no-repeat"};t.a=i},1990:function(e,t,n){var i=n(1284);t.a={HEADER_HEIGHT:50,SECTION_HEIGHT:250,objectStyle:{padding:new i.a({top:10,right:10,bottom:10,left:10,enabled:!0})}}},1991:function(e,
817t,n){t.a={HIDDEN:"hidden",VISIBLE:"visible",AUTO:"auto"}},1992:function(e,t,n){t.a={HORIZONTAL:"h",VERTICAL:"v"}},1994:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this._link=t.link,this._id=t.id}return Object(r.a)(e,[{key:"getId",value:function e(){return this._id}},{key:"getLink",value:function e(){return this._link}}]),e}()},1995:function(e,t,n){var i={CLOSING_ELEMENT:"swiper-closing-flag-element",IMAGE_WRAPPER_CLASS:"ww_inner_element_content",
818SLIDE_CLASS:"swiper-slide",WRAPPER_CLASS:"swiper"};t.a=i},1996:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"getYPositionToScroll",value:function e(){return 0}},{key:"getAnimationTime",value:function t(){return Math.min(this._calculateAnimationTimeBaseOnTargetPosition(),e.MAX_ANIMATION_TIME)}},{key:"_calculateAnimationTimeBaseOnTargetPosition",value:function e(){return Math.floor(this.getYPositionToScroll()/
8192)}}]),e}();a.MAX_ANIMATION_TIME=1500},2:function(e,t,n){function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}t.a=i},2024:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==
820typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(t){this._value=webwave.isArrayLike(t)?t:[]}},{key:"postageMethodIsSupported",value:function e(t){return!this.enable||
821this._value.includes(t.id)}}]),n}(n(66).a)},2025:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(66),c=n(10);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
822[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(t){this._value=webwave.isDefAndNotNull(t)?t/100:void 0}},{key:"getSerializeValue",value:function e(){var t=c.MathUtils.setFloatPriceToLong(this.value);return webwave.isNumberAndNotNaN(t)?t:null}}]),n}(u.a)},2026:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(71),o=
823n(1274),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.id=t.id,this.variants=webwave.isArrayLike(t.variants)?o.a.dateAsc(t.variants,e.SORT_PROPERTY_NAME):[],this.numberOfItem=webwave.isDef(t.numberOfItem)?t.numberOfItem:e.INITIAL_NUMBER_OF_ITEMS,this.numberBoughtItems=webwave.isDef(t.numberBoughtItems)?t.numberBoughtItems:0,this._deleted=!!webwave.isDef(t.deleted)&&t.deleted}return Object(r.a)(e,[{key:"canIncrement",value:function e(t){return this.printAvailableQuantity()>
824t}},{key:"getId",value:function e(){return this.id}},{key:"getVariants",value:function e(){return this.variants}},{key:"isDeleted",value:function e(){return this._deleted}},{key:"getNumberOfItem",value:function e(){return this.numberOfItem}},{key:"isAvailable",value:function e(){return!0===this.isValidateQuantity(1)}},{key:"isToSave",value:function e(){return!1===(webwave.isNotDef(this.id
824)&&!0===this._deleted)}},{key:"isValidateQuantity",value:function e(t){return this.printAvailableQuantity()>=t}},
825{key:"printAdditionalPrice",value:function e(){return this.variants.map(function(e){return e.getAdditionalSum()}).reduce(function(e,t){return e+t},0)}},{key:"printAvailableQuantity",value:function e(){return this.numberOfItem-this.numberBoughtItems}},{key:"printName",value:function e(){return this.variants.map(function(e){return e.getName()}).join(" | ")}},{key:"serialize",value:function e(){return{id:this.id,deleted:this._deleted,numberOfItem:this.printAvailableQuantity()}}},{key:"setDeleted",value:function e(t){this._deleted=
826t}},{key:"updateQuantity",value:function e(t){a.a.AVAILABLE_PRODUCT_AMOUNT.validate(t)&&(this.numberOfItem=t+this.numberBoughtItems)}}]),e}();s.INITIAL_NUMBER_OF_ITEMS=1,s.SORT_PROPERTY_NAME="_createDate"},2027:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(122),o=function(){function e(t){Object(i.a)(this,e),this._x=new a.a(t.x),this._y=new a.a(t.y)}return Object(r.a)(e,[{key:"serialize",value:function e(){return{x:this.getX().serialize(),y:this.getY().serialize()}}},{key:"loadValueFromObject",
827value:function e(t){webwave.isNotDefOrNull(t)||(this.getX().loadValuesFromObject(t.getX()),this.getY().loadValuesFromObject(t.getY()))}},{key:"getX",value:function e(){return this._x}},{key:"getY",value:function e(){return this._y}},{key:"getCssMapForPosition",value:function e(){return"".concat(this.getX().getValue()).concat(this.getX().getUnit()," ").concat(this.getY().getValue()).concat(this.getY().getUnit())}}],[{key:"deserialize",value:function t(n){return new e(n)}}]),e}()},2028:function(e,t,
828n){var i=n(1635),r=n(226),a=n(1681),o=n(1553);t.a={autoplay:!0,enable_overlays:!1,enable_slideshow:!0,filmstrip_position:o.a.BOTTOM,frame_gap:5,frame_height:40,frame_width:80,gallery_thumbnails_crop_type:r.a.COVER,gallery_thumbnails_height:115,gallery_thumbnails_width:115,next_prev_buttons_distance:10,overlay_position:a.a.TOP,panel_animation:i.a.SLIDE,panel_height:300,panel_scale:r.a.COVER,panel_width:400,show_filmstrip:!0,show_filmstrip_nav:!1,show_infobar:!1,show_panel_nav:!0,transition_interval:1E4,
829transition_speed:1E3}},2029:function(e,t,n){t.a={IMG_WRAPPER_SELECTOR:".gv_imgWrapper",PANEL_SELECTOR:".gv_panel",PANEL_WRAP_SELECTOR:".gv_panelWrap",PRELOAD_WRAPPER:"preload-slider-wrapper"}},203:function(e,t,n){t.a={DEFAULT:"p_default_block",H1:"h1_default_block",H2:"h2_default_block",H3:"h3_default_block",H4:"h4_default_block",LINK:"custom_link",LINK_HOVER:"custom_link_hover"}},2030:function(e,t,n){t.a={_NO_ANIMATION:"noAnimation",CROSSFADE:"crossfade",SPINFADE:"spinfade"}},2031:function(e,t,n){n.d(t,
830"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"srcIsSvgFile",value:function e(t){var n;return!0===((null===t||void 0===t?void 0:null===(n=t.toLowerCase())||void 0===n?void 0:n.endsWith(".svg"))||(null===t||void 0===t?void 0:t.startsWith("data:image/svg+xml")))}},{key:"changeMobileMenuImageSrc",value:function t(n,i){n.attr("src",i),n.css("height",e.srcIsSvgFile(i)?"100%":"")}}]),e}()},2032:function(e,t,n){t.a={FEED_PRICE:"feed_price",
831FEED_NAME:"feed_name",PRODUCTFEED_NAME:"productfeed_name"}},2033:function(e,t,n){n.d(t,"a",function(){return S});var i=n(0),r=n(1),a=n(11),o=n(18),s=n(3),u=n(4),c=n(2),l=n(1607),d=n(1746),h=n(2366),f=n(2692),v=n(2694),g=n(2695),p=n(2697),y=n(40),b;function m(e){var t=w();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;
832if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var S=function(e){Object(s.a)(n,e);var t=m(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._innerElementsStyles=r._deserializeInnerElementsStyles(e.innerElementsStyles),r._feedItemDataStore=void 0,r._paginationIndex=0,r._newsInRow=void 0,r._newsNumber=0,r.feedPaginationInnerElement=new f.a(Object(a.a)(r)),
833r.feedSingleNewsInnerElement=new v.a(Object(a.a)(r)),r.feedThumbnailInnerElement=new g.a(Object(a.a)(r)),r.feedService=null,r.pageService=null,r}return Object(r.a)(n,[{key:"init",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"init",this).call(this)}},{key:"cacheDom",value:function e(t){var i=Object(o.a)(Object(c.a)(n.prototype),"cacheDom",this).call(this,t);return i.newsfeedWrapper=i.content.children[0],i}},{key:"getNewsfeedWrapperEl",value:function e(){return this.cachedDom.newsfeedWrapper}},
834{key:"getNewsInRow",value:function e(){return this._newsInRow}},{key:"setNewsInRow",value:function e(t){this._newsInRow=t}},{key:"getInnerElementStyles",value:function e(t){return this._innerElementsStyles[t]}},{key:"getNewsNumber",value:function e(){return this._newsNumber}},{key:"setNewsNumber",value:function e(t){var n=this._newsNumber,i=this._newsNumber!==t;if(this._newsNumber=t,i){for(var r=this.getFeedItems(),a=0;a<r.length;a++){var o=a<t;r[a].classList.toggle("hidden_for_rwd",!1===o),r[a].style.display=
835o?"":l.a.NONE}this.feedPaginationInnerElement._recreatePaginationDom(),this.setPaginationIndex(this.feedPaginationInnerElement._computeNewIndex(n))}}},{key:"setPaginationIndex",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.computeMaxIndex();if(!(t<1||t>i)){var r=this.getPaginationIndex(),a=t!==this._paginationIndex;this._paginationIndex=t,this.feedPaginationInnerElement.updatePaginationClasses(),!0===a&&(n.userInteraction&&this.feedService.saveFeedIndexHistory(this.getNameParamForLink(),
836t),this.feedPaginationInnerElement._updateListLeftPosition(n.userInteraction),!0===n.animate?this._changeNewsToCurrentIndexWithAnimation({isPriorPage:t<r,isSubsequentPage:t>r}):this._changeNewsToCurrentIndexWithoutAnimation())}}},{key:"_changeNewsToCurrentIndexWithoutAnimation",value:function e(){for(var t=this.getFeedItemsDataArrayForDisplay(),n=0;n<t.length;n++){var i=t[n],r=t[n].feedItemEl;webwave.isDefAndNotNull(i.feedItemData)?(r.style.display=l.a.BLOCK,this.updateSingleFeedItemElData(i,r)):
837r.style.display=l.a.NONE}this.updateFeedDomSizes(),this.updateMinSize()}},{key:"_changeNewsToCurrentIndexWithAnimation",value:function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.getFeedItems({rwdVisibleOnly:!0}),a=this.getAllFeedItemsCount(),o=this.getNewsNumber(),s=Math.min(o,a-(this.getPaginationIndex()-1)*o);this.setAnimationBlock(!0);var u=$(r);u.fadeOut(n.FEED_CHANGE_ANIMATION_TIME).promise().done(function(){if(t._changeNewsToCurrentIndexWithoutAnimation(),
838u.slice(0,s).show(),(i.isSubsequentPage||i.isPriorPage)&&u.length>0){var e=i.isSubsequentPage?u.eq(0):t.getPaginationInnerElement().getPaginationWrapper();t.pageService.scrollPageToElement(e)}u.slice(0,s).fadeIn(n.FEED_CHANGE_ANIMATION_TIME).promise().done(function(){t.setAnimationBlock(!1)})})}},{key:"updateSingleFeedItemElData",value:function e(t,n){this.getFeedLinkElements(n).forEac
838h(function(e){e.setAttribute("href",t.feedItemData.link)})}},{key:"getFeedItemsDataArrayForDisplay",value:function e(){for(var t=
839this.getFeedItems({rwdVisibleOnly:!0}),n=this.getFeedItemsData(),i=this.getNewsNumber(),r=(this.getPaginationIndex()-1)*i,a=[],o=0;o<i;o++)a.push({feedItemEl:t[o],feedItemData:n[r+o]});return a}},{key:"getPaginationIndex",value:function e(){return this._paginationIndex}},{key:"getSingleNewsInnerElement",value:function e(){return this.feedSingleNewsInnerElement}},{key:"getThumbnailInnerElement",value:function e(){return this.feedThumbnailInnerElement}},{key:"getPaginationInnerElement",value:function e(){return this.feedPaginationInnerElement}},
840{key:"getInnerElementNameForIteration",value:function e(){return[]}},{key:"getInnerElementForIteration",value:function e(){return[]}},{key:"calculateMinContentSize",value:function e(){var t=(new h.a(this)).countMinSize(),n=Math.max(0,this.getNewsInRow()-1);return new y.a({width:this.getNewsInRow()*t.getWidth()+n*this.getSingleNewsInnerElement().getHorizontalSpace(),height:d.a.innerDimensions(this.getNewsfeedWrapperEl()).height})}},{key:"getFeedItems",value:function e(){var t=arguments.length>0&&void 0!==
841arguments[0]?arguments[0]:{},n=Array.from(this.getDomObject()[0].querySelectorAll(".feed_item"));return!0===t.rwdVisibleOnly?n.slice(0,this.getNewsNumber()):n}},{key:"addImgLazyLoad",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"addImgLazyLoad",this).call(this),this.getThumbnailInnerElement().addImgLazyLoad()}},{key:"afterDomSizeChange",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"afterDomSizeChange",this).call(this),this.updateFeedDomSizes()}},{key:"updateFeedDomSizes",value:function e(){var t=
842this.getInnerWidth();this.getNewsfeedWrapper().style.width="".concat(t,"px");var n=this.getNewsInRow(),i;t-=(n-1)*this.getSingleNewsInnerElement().getHorizontalSpace();var r=parseInt(t/n),a;
842this.getFeedItems().forEach(function(e){e.style.width="".concat(r,"px"),e.style.height=""}),this._unifyRowsHeight()}},{key:"_unifyFeedItemHeights",value:function e(t){var n=0,i=0;t.forEach(function(e){(i=e.offsetHeight)>n&&(n=i)}),t.forEach(function(e){e.style.height="".concat(n,"px")})}},{key:"_unifyRowsHeight",
843value:function e(){for(var t=this.getNewsInRow(),n=this.getFeedItems(),i=Math.ceil(n.length/t),r=0;r<i;r++)this._unifyFeedItemHeights(n.slice(r*t,(r+1)*t))}},{key:"onVisibilityChange",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(o.a)(Object(c.a)(n.prototype),"onVisibilityChange",this).call(this,t),this.isVisible()&&(this.updateFeedDomSizes(),this.updateMinSize(),this.updatePaginationListSize())}},{key:"getAllFeedItemsCount",value:function e(){var t=this.getFeedItemsData();
844return webwave.isArrayLike(t)?t.length:0}},{key:"computeMaxIndex",value:function e(){var t=this.getNewsNumber();return 0===t||0===this.getAllFeedItemsCount()?1:Math.ceil(this.getAllFeedItemsCount()/t)}},{key:"getFeedItemsData",value:function e(){return webwave.isDefAndNotNull(this._feedItemDataStore)?this._feedItemDataStore:JSON.parse(this.getDomObject()[0].querySelector(".feed_data_container script").innerHTML)}},{key:"setFeedItemDataStore",value:function e(t){this._feedItemDataStore=t}},{key:"updatePaginationListSize",
845value:function e(){this.feedPaginationInnerElement.updatePaginationListSize()}},{key:"_loadInnerElementsRwdStyles",value:function e(t){var n,i,r,a=this.getInnerElementNames();for(var o in a)a.hasOwnProperty(o)&&(i=t[n=a[o]],r=this._innerElementsStyles[n],webwave.isDef(r)&&webwave.isDef(i)&&r.applyRwdProperties(i))}},{key:"getInnerElementNames",value:function e(){}},{key:"_deserializeInnerElementsStyles",value:function e(t){var n={};if(webwave.isDef(t)){var i,r,a=this.getInnerElementNames();for(var o in a)a.hasOwnProperty(o)&&
846(r=a[o],i=t.hasOwnProperty(r)?t[r]:{},n[r]=new p.a(i))}return n}},{key:"_finishAllFeedItemsAnimations",value:function e(){$(this.getFeedItems()).stop(!0,!0)}},{key:"setAnimationBlock",value:function e(t){this._animationBlock=t}},{key:"isAnimationBlocked",value:function e(){return!0===this._animationBlock}},{key:"getNameParamForLink",value:function e(){return"newsfeed_".concat(this.id.split("_")[1],"_page")}},{key:"getFeedLinkElements",value:function e(t){return Array.from(t.querySelectorAll(".feed_name_link"))}},
847{key:"loadAdditionalData",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n;this._finishAllFeedItemsAnimations(),this.getInnerElementForIteration().forEach(function(e){e.loadAdditionalRwdProperties(t)}),this.setNewsNumber(t.newsNumber),this.setNewsInRow(t.newsInRow),webwave.isDef(t.innerElementsStyles)&&this._loadInnerElementsRwdStyles(t.innerElementsStyles),this.updateFeedDomSizes(),this.updateMinSize(),this.feedPaginationInnerElement._updateListLeftPosition(!1)}},
848{key:"setFeedService",value:function e(t){this.feedService=t}},{key:"setPageService",value:function e(t){this.pageService=t}},{key:"getItemElementName",value:function e(){}}]),n}(n(1613).a);S.DEFAULT_INDEX_VALUE=1,S.FEED_CHANGE_ANIMATION_TIME=500},2034:function(e,t,n){t.a={standard:{button_count:{width:120,height:20},box_count:{width:73,height:61},button:{width:74,height:20},standard:{width:450,height:80}},recommend:{button_count:{width:190,height:20},box_count:{width:73,height:86},button:{width:146,
849height:20},standard:{width:450,height:80}}}},2035:function(e,t,n){t.a={headerTitle:"shop.com.webwave.gui.onlineStore.orderPopup.header.title",orderConfirmedError:"shop.c
849om.webwave.gui.onlineStore.orderPopup.header.orderConfirmedError",orderConfirmed:"shop.com.webwave.gui.onlineStore.orderPopup.header.orderConfirmed",backFromPaymentProviderError:"shop.com.webwave.gui.onlineStore.orderPopup.header.backFromPaymentProvider.error",backFromPaymentProviderSuccess:"shop.com.webwave.gui.onlineStore.orderPopup.header.backFromPaymentProvider.success",
850testEnvironment:"shop.com.webwave.gui.onlineStore.orderPopup.header.testEnvironment",headersItems:"shop.com.webwave.gui.onlineStore.orderPopup.tabWraper.headers.items",headersInvoiceData:"shop.com.webwave.gui.onlineStore.orderPopup.tabWraper.headers.invoiceData",headersSummary:"shop.com.webwave.gui.onlineStore.orderPopup.tabWraper.headers.summary",orderItemsPriceSum:"shop.com.webwave.gui.onlineStore.orderPopup.content.step1.orderItemsPriceSum",keepShopping:"shop.com.webwave.gui.onlineStore.orderPopup.button.keepShopping",
851back:"shop.com.webwave.gui.onlineStore.orderPopup.button.back",close:"shop.com.webwave.gui.onlineStore.orderPopup.button.close",ok:"shop.com.webwave.gui.onlineStore.orderPopup.button.ok",next:"shop.com.webwave.gui.onlineStore.orderPopup.button.next",tryAgain:"shop.com.webwave.gui.onlineStore.orderPopup.button.tryAgain",pay:"shop.com.webwave.gui.onlineStore.orderPopup.button.pay",confirmOrder:"shop.com.webwave.gui.onlineStore.orderPopup.button.confirmOrder",testPaymentEnvironmentInfo1:"shop.com.webwave.gui.onlineStore.orderPopup.testEnvironment.content.paragraph.1",
852testPaymentEnvironmentInfo2:"shop.com.webwave.gui.onlineStore.orderPopup.testEnvironment.content.paragraph.2",item:"shop.table.headers.item",count:"shop.table.headers.count",pricePerItem:"shop.table.headers.pricePerItem",price:"shop.table.headers.price",emptyShoppingCart:"shop.com.webwave.gui.onlineStore.orderPopup.content.step1.emptyShoppingCart",invoiceDataHeader:"shop.com.webwave.gui.onlineStore.orderPopup.invoiceData.header",requiredValidatorText:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.required.validatorText",
853order_clientType_individual:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.clientType.individual",order_clientType_company:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.clientType.company",orderClientDataName:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.name",orderClientDataCompanyName:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.companyName",orderClientDataAddress1:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.address1",
854orderClientDataAddress2:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.address2",orderClientDataCity:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.city",orderClientDataZipCode:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.invoiceData.zipCode",orderClientDataCountry:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.country",orderClientDataNoResult:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.noResult",
855orderClientDataCountryNotFound:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.countryNotFound",orderClientDataTaxId:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.invoiceData.taxID",orderClientData_invoiceCheckboxLabel:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.invoiceData.invoiceRequestLabel",postageDataHeader:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.header",notValidPostageOption:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.error.notValidPostageOption",
856sendDataHeader:"shop.com.webwave.gui.onlineStore.orderPopup.sendData.header",invoiceDataActive:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.invoiceData.invoiceDataActive",postageDataParcelNotSelected:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.error.parcelNotSelected",anyPostageAvailable:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.error.anyPostageAvailable",paymentMethodHeader:"shop.com.webwave.gui.onlineStore.orderPopup.paymentMethod.header",online:"shop.c
856om.webwave.gui.onlineStore.orderPopup.paymentOption.online",
857paymentMethod_not_after_order:"shop.com.webwave.gui.onlineStore.orderPopup.paymentOption.notDefinedInfo.afterOrder",paymentMethod_not_before_order:"shop.com.webwave.gui.onlineStore.orderPopup.paymentOption.notDefinedInfo.beforeOrder",delivery_not_available_before_order:"shop.com.webwave.gui.onlineStore.orderPopup.delivery.notAvailableInfo.beforeOrder",delivery_not_defined_before_order:"shop.com.webwave.gui.onlineStore.orderPopup.delivery.notDefinedInfo.beforeOrder",delivery_not_defined_after_order:"shop.com.webwave.gui.onlineStore.orderPopup.delivery.notDefinedInfo.afterOrder",
858freeShippingInfo:"shop.com.webwave.gui.onlineStore.orderPopup.freeShipping.info",parcelLocker:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.inpostEasyPack.parcelLocker",changeParcelButton:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.changeParcelButton",contactDataHeader:"shop.com.webwave.gui.onlineStore.orderPopup.contactData.header",phone:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.phone",email:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.email",
859emailValidatorText:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.email.validatorText",additionalOrderFieldsHeader:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.additionalOrderFields.header",checkBoxValidationMessage:"shop.ui.checkbox.validationMessage.default",termsAndConditionsHeader:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.termsAndConditions.header",termsAndConditionsRequire:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.termsAndConditions.require",
860orderSummaryPostage:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.postage",orderSummaryTax:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.tax",taxValue:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.taxValue",taxSummary:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.taxSummary",toPay:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.toPay",tel:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.phone",e_mail:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.email",
861discountCodeLabel:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.discountCode.label",discountCodeError404:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.discountCode.validation.404",discountCodeError405:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.discountCode.validation.405",verificationMessage:"shop.com.webwave.gui.onlineStore.orderPopup.verificationMessage",notVerifiedYetMessage:"shop.com.webwave.gui.onlineStore.orderPopup.notVerifiedYetMessage",errorMessage:"shop.com.webwave.gui.onlineStore.orderPopup.errorMessage",
862incorrectAuthentication:"shop.com.webwave.gui.onlineStore.orderPopup.incorrectAuthentication",selectProductVariantPopupTitle:"shop.com.webwave.gui.selectProductVariantPopup.title",selectProductVariantPopupHint:"shop.com.webwave.gui.selectProductVariantPopup.hint",selectProductVariantPopupAddToCart:"shop.com.webwave.gui.selectProductVariantPopup.button.addToShopCart",productPrice:"shop.com.webwave.gui.selectProductVariantPopup.priceTable.productPrice",totalPrice:"shop.com.webwave.gui.selectProductVariantPopup.priceTable.totalPrice",
863additionalPriceForVariant:"shop.com.webwave.gui.selectProductVariantPopup.priceTable.additionalPriceForVariant",notAvailableVariantSuffix:"shop.com.webwave.gui.selectProductVariantPopup.notAvailableVariantSuffix",shop:"shop.com.webwave.gui.onlineStore.header.shop",testingOrderNumberWithPayment:"shop.c
863om.webwave.gui.onlineStore.orderMail.headerTesting.orderNumberWithPayment",orderNumber:"shop.com.webwave.gui.onlineStore.shop.mail.orderMail.header.orderNumber",paymentStatusHeader:"snipcart.payment_status",
864providerStatus_overpaid:"shop.com.webwave.gui.onlineStore.shop.mail.orderMail.header.paymentStatus.providerStatus.overpaid",providerStatus_paid:"shop.com.webwave.gui.onlineStore.shop.mail.orderMail.header.paymentStatus.providerStatus.paid",providerStatus_underpaid:"shop.com.webwave.gui.onlineStore.shop.mail.orderMail.header.paymentStatus.providerStatus.underpaid",providerStatus_unpaid:"shop.com.webwave.gui.onlineStore.shop.mail.orderMail.header.paymentStatus.providerStatus.unpaid",summaryOrder:"shop.com.webwave.gui.onlineStore.orderMail.header.summaryOrder.mainHeader",
865paymentOption:"shop.com.webwave.gui.onlineStore.orderPopup.sendData.header",nip:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.nip",postageData:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.header",sendData:"shop.com.webwave.gui.onlineStore.orderPopup.sendData.header",contactData:"shop.com.webwave.gui.onlineStore.orderPopup.contactData.header",additionalData:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.additionalInfo",sellerInfo:"shop.com.webwave.gui.onlineStore.orderMail.header.summaryOrder.sellerInfo",
866invoiceData:"application.com.webwave.finance.invoiceData.defaultText.infoBox.title",discountCode:"shop.com.webwave.gui.onlineStore.orderMail.header.summaryOrder.discountCode",additionalText:"shop.table.headers.additionalText",postage:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.postage",vatTax:"shop.com.webwave.gui.onlineStore.orderMail.header.summaryOrder.vatTax",vatTaxSummary:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.taxSummary",itemsHeader:"shop.table.headers.items",
867itemsName:"shop.table.headers.itemsName",itemsCount:"shop.table.headers.count",pricePerItemMail:"application.com.webwave.webwaveStore.product.productVariants.table.price",totalPriceSum:"shop.table.headers.price",toPayMail:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.toPay",payed:"shop.com.webwave.gui.onlineStore.orderMail.items.payed",description:"application.com.webwave.webwaveStore.product.description.placeholder",termsAndConditions:"shop.com.webwave.gui.onlineStore.orderMail.header.summaryOrder.termsAndConditions",
868termsAndConditionsRequired:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.termsAndConditions.require",termsAndConditionsValue_true:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.termsAndConditions.value.true",termsAndConditionsValue_false:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.termsAndConditions.value.false",productStateException_text:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productStateException.text",productStateException_title:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productStateException.title",
869productNotAvailableException_text:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productNotAvailableException.text",productNotAvailableException_title:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productNotAvailableException.title",productNotAvailableException_yesLabel:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productNotAvailableException.yesLabel",productChangeState_information:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productChangeState.information",notification_minimumAmountNotExceeded_part1:"shop.com.webwave.gui.onlineStore.orderPopup.errors.minimumOrderAmountSettings.information1",
870notification_minimumAmountNotExceeded_part2:"shop.com.webwave.gui.onlineStore.orderPopup.errors.minimumOrderAmountSettings.information2",shippingAddressDifferent:"shop.checkout.shippingAddressDifferent",orderPendingHeader:"shop.checkout.orderPendingHeader",orderConfirmedErrorHeader:"shop.checkout.orderPendingHeader",orderConfirmedHeader:"shop.checkout.orderConfirmedHeader",orderConfirmedText:"shop.checkout.orderConfirmedText",streetAddress:"shop.checkout.streetAddress",apartmentNumber:"shop.checkout.apartmentNumber",
871clientType:"shop.checkout.clientType",goToCheckout:"shop.checkout.goToCheckout",selectPoint:"shop.checkout.selectPoint",activate:"shop.checkout.activate",backToShop:"shop.checkout.backToShop",orderPendingText:"shop.checkout.orderPendingText",postageAndPayment:"shop.checkout.postageAndPayment",clickLinkOnPreviewMessage:"shop.checkout.clickLinkOnPreviewMessage"}},2060:function(e,t,n){n.d(t,"a",function(){return p});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(30),c=n(1597),l=n(122),d=n(106),h=n(1741),
872f=n(1948);function v(e){var t=g();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(a.a)(n,e);
873var t=v(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),(e=t.call(this,r))._animationEnabled=!1,e._animation=void 0,e._hideAnimationEnabled=!1,e._hideAnimation=void 0,e._animationPlayer=void 0,e._animationOnScrollEnabled=!1,e._animationOnScroll=void 0,e.objectAnimationQueueItem=void 0,e}return Object(r.a)(n,[{key:"setAnimationPlayer",value:function e(t){this._animationPlayer=t}},{key:"getAnimation",value:function e(){return this._animation}},
874{key:"getHideAnimation",value:function e(){return this._hideAnimation}},{key:"finishCurrentAnimation",value:function e(){var t;null===(t=this._animationPlayer)||void 0===t||t.finishCurrentAnimation();for(var n=0;n<this.children.length;n++){var i;null===(i=this.children[n])||void 0===i||i.finishCurrentAnimation()}}},{key:"canPlayShowOrHideAnimation",value:function e(){return this.isInitialized()&&!1===this.hasDisabledAnimations()&&(this.getDomSizeMode()!==c.a.CHILDREN_SIZE||this.getAllChildrenForSizeComputation().length>
8750||this.hasEnableVisibilityWithoutChildren())}},{key:"canPlayShowAnimation",value:function e(){var t;return this.canPlayShowOrHideAnimation()&&(!0===this.isAnimationEnabled()&&webwave.isDef(this._animation)||!0===(null===(t=this.getParentWNo
875de())||void 0===t?void 0:t.canPlayShowAnimation()))}},{key:"getShowAnimationToPlay",value:function e(){var t;return this.isAnimationEnabled()?this.getAnimation():null===(t=this.getParentWNode())||void 0===t?void 0:t.getShowAnimationToPlay()}},{key:"collectShowAnimationDelayFromParents",
876value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,n=t.isAnimationEnabled()?t.getAnimation().getDelay():0;return t.isInGroup()&&(n+=this.collectShowAnimationDelayFromParents(t.getParentWNode())),n}},{key:"playCurrentAnimation",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.finishCurrentAnimation(),!1!==this.canPlayShowAnimation()||!0===t.force){var n=this.getShowAnimationToPlay(),i=u.a.getValue("publicatedPageApp.noObjectShowAnimations",
877!1);if(!0!==i?this._animationPlayer.playAnimation(n,{delay:t.delay,skipDelay:t.skipDelay,onComplete:t.onComplete,beforeEachAnimationStart:t.beforeEachAnimationStart,afterEachAnimationStop:t.afterEachAnimationStop,animationType:f.a.SHOW}):t.onComplete(),this.hasChildren())for(var r=this.getChildren(),a=0;a<r.length;a++)if(!0===r[a].isVisibleForInFlow()){var o=webwave.isDef(t.delay)?t.delay:1E3*r[a].collectShowAnimationDelayFromParents();!0!==i&&r[a].playCurrentAnimation({delay:o,skipDelay:t.skipDelay,
878beforeEachAnimationStart:t.beforeEachAnimationStart,afterEachAnimationStop:t.afterEachAnimationStop})}}else webwave.isFunction(t.onComplete)&&t.onComplete()}},{key:"canPlayHideAnimation",value:function e(){var t;return this.canPlayShowOrHideAnimation()&&(!0===this.isHideAnimationEnabled()&&webwave.isDef(this._hideAnimation)||!0===(null===(t=this.getParentWNode())||void 0===t?void 0:t.canPlayHideAnimation()))}},{key:"getHideAnimationToPlay",value:function e(){var t;return this.isHideAnimationEnabled()?
879this.getHideAnimation():null===(t=this.getParentWNode())||void 0===t?void 0:t.getHideAnimationToPlay()}},{key:"playCurrentHideAnimation",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.finishCurrentAnimation(),!1!==this.canPlayHideAnimation()){var n=this.getHideAnimationToPlay();if(this._animationPlayer.playAnimation(n,{delay:t.delay,skipDelay:t.skipDelay,onComplete:t.onComplete,cleanObjectDelay:t.cleanObjectDelay,beforeEachAnimationStart:t.beforeEachAnimationStart,
880afterEachAnimationStop:t.afterEachAnimationStop,animationType:f.a.HIDE}),this.hasChildren())for(var i=this.getChildren(),r=0;r<i.length;r++)!0===i[r].isVisibleForInFlow()&&i[r].playCurrentHideAnimation({delay:t.delay,skipDelay:t.skipDelay,cleanObjectDelay:t.cleanObjectDelay,beforeEachAnimationStart:t.beforeEachAnimationStart,afterEachAnimationStop:t.afterEachAnimationStop})}else webwave.isFunction(t.onComplete)&&t.onComplete()}},{key:"isAnimationEnabled",value:function e(){return this._animationEnabled}},
881{key:"isHideAnimationEnabled",value:function e(){return this._hideAnimationEnabled}},{key:"setAnimation",value:function e(t){this._animation=t}},{key:"setHideAnimation",value:function e(t){this._hideAnimation=t}},{key:"setAnimationEnabled",value:function e(t){this._animationEnabled=t}},{key:"setHideAnimationEnabled",value:function e(t){this._hideAnimationEnabled=t}},{key:"isScrollAnimationEnabled",value:function e(){return this._animationOnScrollEnabled}},{key:"setScrollAnimationEnabled",value:function e(t){var n=
882this._animationOnScrollEnabled!==t;this._animationOnScrollEnabled=t,n&&this.updateScrollAnimationVisibility()}},{key:"setAnimationOnScroll",value:function e(t){var n=this._animationOnScroll!==t;this._animationOnScroll=t,n&&this.updateScrollAnimationVisibility()}},{key:"getAnimationOnScroll",value:function e(){return this._animationOnScroll}},{key:"computeAnimationOnScrollEndPoints",value:function e(){var t=this.getAnimationOnScroll().getStartStageStartValue(),n=this.getAnimationOnScroll().getStartStageStartUnit(),
883i=this.convertVerticalLengthToUnit(new l.a({value:t,unit:n}),d.a.PX).getValue(),r=this.getAnimationOnScroll().computeFinishStageStartValue(),a=this.getAnimationOnScroll().getFinishStageStartUnit(),o;return{START:i,FINISH:this.convertVerticalLengthToUnit(new l.a({value:r,unit:a}),d.a.PX).getValue()}}},{key:"computeScrollAnimationVisibility",value:function e(){var t,n=null===(t=this.pageCanvas)||void 0===t?void 0:t.getCurrentPageAreaScrollY(),i=this.computeAnimationOnScrollEndPoints(),r=this.getAnimationOnScroll().computeStartStageVisibility(),
884a=this.getAnimationOnScroll().computeFinishStageVisibility();return n<i.START?!r:n>=i.START&&n<=i.FINISH?r:n>i.FINISH?a:void 0}},{key:"updateScrollAnimationVisibility",value:function e(){this.isScrollAnimationEnabled()&&webwave.isDef(this.getAnimationOnScroll())?this.visibilities.setScrollAnimationVisibility(this.computeScrollAnimationVisibility()):this.visibilities.setScrollAnimationVisibility(void 0)}},{key:"canChangeAnimationOnScroll",value:function e(){return!0}},{key:"beforeShowRealAnimationStart",
885value:function e(){}},{key:"beforeHideRealAnimationStart",value:function e(){}},{key:"hasDisabledAnimations",value:function e(){return!0===this._wNodeSettings.disableAnimations}},{key:"removeInteractionVisibility",value:function e(t){this.visibilities.setInteractionVisibility(void 0),!0===t&&this.getChildren().forEac
885h(function(e){e.removeInteractionVisibility(t)})}},{key:"setObjectAnimationQueueItem",value:function e(t){var n=this.objectAnimationQueueItem!==t;this.objectAnimationQueueItem=t,n&&(this.updateBaseVisibility(),
886this.getChildren(!0).forEach(function(e){e.updateBaseVisibility()}))}},{key:"hasObjectAnimationQueueItem",value:function e(){return webwave.isDef(this.objectAnimationQueueItem)}}]),n}(h.a)},2061:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(933),o=n(226),s=n(1742),u=n(1148),c=n(126),l=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.backgroundType=t.backgroundType,this.imageId=t.imageId,this.backgroundImage=t.backgroundImage,this.backgroundColor=t.backgroundColor,
887this.gradient=webwave.isDef(t.gradient)?new u.a(t.gradient):void 0,this.verticalPosition=t.verticalPosition,this.horizontalPosition=t.horizontalPosition,this.repeatY=webwave.isDef(t.repeatY)?!1!==t.repeatY:void 0,this.repeatX=webwave.isDef(t.repeatX)?!1!==t.repeatX:void 0,this.backgroundSize=t.backgroundSize,this.backgroundAttachment=t.backgroundAttachment,this.parallax=t.parallax,this.enabled=t.enabled,this.backgroundImageEnabled=t.backgroundImageEnabled}return Object(r.a)(e,[{key:"toCss2Map",value:function e(){var t=
888{};return!1===this.enabled&&!1===this.backgroundImageEnabled?{background:"none"}:(this.enabled?t=this.backgroundType===a.a.BackgroundTypes.COLOR?{backgroundColor:webwave.isDef(this.backgroundColor)?this.backgroundColor:"transparent"}:{backgroundImage:webwave.isDef(this.gradient)?this.gradient.toBackgroundImageString():void 0}:t.backgroundColor="transparent",this.backgroundImageEnabled&&(window.fileManagerService?t.backgroundImage=window.fileManagerService.getUserFileCssUrl(this.imageId,this.backgroundSize===
889o.a.FULL_WIDTH):t.backgroundImage=this.backgroundImage?this.backgroundImage:"none",Object.assign(t,{backgroundSize:this.backgroundSize,backgroundRepeat:this.generateBackgroundRepeatString(),backgroundPosition:this.horizontalPosition+" "+this.verticalPosition})),webwave.isNotDef(t.backgroundImage)&&(t.backgroundImage="none"),t)}},{key:"serialize",value:function e(t){var n,i;(this.gradient instanceof u.a&&(n=this.gradient.serialize()),webwave.isDefAndNotNull(this.imageId)&&webwave.isDefAndNotNull(t.imageIdCorrector))&&
890(this.imageId=null===(i=t.imageIdCorrector)||void 0===i?void 0:i.tryCorrectImageId(this.imageId));return{backgroundType:this.backgroundType,imageId:this.imageId,backgroundColor:this.backgroundColor,gradient:n,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}}},
891{key:"applyPartialBackgroundMap",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.backgroundAttachment)&&(this.backgroundAttachment=t.backgroundAttachment),webwave.isDef(t.backgroundColor)&&(this.backgroundColor=t.backgroundColor),webwave.isDef(t.backgroundSize)&&(this.backgroundSize=t.backgroundSize),webwave.isDef(t.backgroundType)&&(this.backgroundType=t.backgroundType),webwave.isDef(t.gradient)&&(this.gradient=new u.a(t.gradient)),webwave.isDef(t.horizontalPosition)&&(this.horizontalPosition=
892t.horizontalPosition),webwave.isDef(t.verticalPosition)&&(this.verticalPosition=t.verticalPosition),webwave.isDef(t.imageId)&&(this.imageId=t.imageId),webwave.isDef(t.backgroundImage)&&(this.backgroundImage=t.backgroundImage),webwave.isDef(t.repeatX)&&(this.repeatX=t.repeatX),webwave.isDef(t.repeatY)&&(this.repeatY=t.repeatY),webwave.isDef(t.parallax)&&(this.parallax=t.parallax),webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isDef(t.backgroundImageEnabled)&&(this.backgroundImageEnabled=
893t.backgroundImageEnabled))}},{key:"generateBackgroundRepeatString",value:function e(){return s.a.generateBackgroundRepeatString(this.repeatX,this.repeatY)}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i=c.a.changeObjectBackgroundColorPropertyWithWebsiteColor(this,t),r=null===(n=this.gradient)||void 0===n?void 0:n.changeWebsiteColorConnection(t);return i||r}}
893,{key:"clearBackgroundImageProperties",value:function e(){this.backgroundSize=void 0,this.horizontalPosition=void 0,this.verticalPosition=
894void 0,this.imageId=void 0,this.repeatY=void 0,this.repeatX=void 0,this.backgroundImage=void 0,this.parallax=void 0}},{key:"clearNonBackgroundImageProperties",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.backgroundColor=void 0,this.gradient=void 0,this.enabled=void 0,t.clearBackgroundImageEnabled&&(this.backgroundImageEnabled=void 0)}},{key:"isBackgroundImageEnabledAndDefined",value:function e(){return!0===this.backgroundImageEnabled&&webwave.isDefAndNotNull(this.imageId)}},
895{key:"applyImagePropertiesIfNotDefined",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.backgroundAttachment)&&webwave.isNotDef(this.backgroundAttachment)&&(this.backgroundAttachment=t.backgroundAttachment),webwave.isDef(t.backgroundSize)&&webwave.isNotDef(this.backgroundSize)&&(this.backgroundSize=t.backgroundSize),webwave.isDef(t.backgroundType)&&webwave.isNotDef(this.backgroundType)&&(this.backgroundType=t.backgroundType),webwave.isDef(t.horizontalPosition)&&webwave.isNotDef(this.horizontalPosition)&&
896(this.horizontalPosition=t.horizontalPosition),webwave.isDef(t.verticalPosition)&&webwave.isNotDef(this.verticalPosition)&&(this.verticalPosition=t.verticalPosition),webwave.isDef(t.imageId)&&webwave.isNotDef(this.imageId)&&(this.imageId=t.imageId),webwave.isDef(t.backgroundImage)&&webwave.isNotDef(this.backgroundImage)&&(this.backgroundImage=t.backgroundImage),webwave.isDef(t.repeatX)&&webwave.isNotDef(this.repeatX)&&(this.repeatX=t.repeatX),webwave.isDef(t.repeatY)&&webwave.isNotDef(this.repeatY)&&
897(this.repeatY=t.repeatY))}}]),e}()},2062:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(2063),o=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.top=webwave.isDef(t.top)?new a.a(t.top):void 0,this.right=webwave.isDef(t.right)?new a.a(t.right):void 0,this.bottom=webwave.isDef(t.bottom)?new a.a(t.bottom):void 0,this.left=webwave.isDef(t.left)?new a.a(t.left):void 0,this.radius="number"==typeof t.radius?t.radius:void 0,this.enabled=webwave.isBoolean()?t.enabled:
898void 0,this.roundingEnabled=webwave.isBoolean(t.roundingEnabled)?t.roundingEnabled:void 0}return Object(r.a)(e,[{key:"serialize",value:function e(){var t={radius:this.radius,enabled:this.enabled,roundingEnabled:this.roundingEnabled};return webwave.isDef(this.top)&&(t.top=this.top.serialize()),webwave.isDef(this.right)&&(t.right=this.right.serialize()),webwave.isDef(this.bottom)&&(t.right=this.right.serialize()),webwave.isDef(this.left)&&(t.right=this.right.serialize()),t}},{key:"toCss2Map",value:function e(){var t=
899{};return webwave.isDef(this.radius)&&(css2Map.borderRadius=(this.roundingEnabled?this.radius:0)+"px"),webwave.isDef(this.top)&&(t.borderTopWidth=this.enabled?this.top.width:"0px",t.borderTopStyle=this.top.style,t.borderTopColor=this.top.color),webwave.isDef(this.right)&&(t.borderRightWidth=this.enabled?this.right.width:"0px",t.borderRightStyle=this.right.style,t.borderRightColor=this.right.color),webwave.isDef(this.bottom)&&(t.borderBottomWidth=this.enabled?this.bottom.width:"0px",t.borderBottomStyle=
900this.bottom.style,t.borderBottomColor=this.bottom.color),webwave.isDef(this.left)&&(t.borderLeftWidth=this.enabled?this.left.width:"0px",t.borderLeftStyle=this.left.style,t.borderLeftColor=this.left.color),t}},{key:"applyPartialBorderMap",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.top)&&(webwave.isDef(this.top)?this.top.applyPartialSingleBorderMap(t.top):this.top=new a.a(t.top)),webwave.isDef(t.right)&&(webwave.isDef(this.right)?this.right.applyPartialSingleBorderMap(t.right):this.right=
901new a.a(t.right)),webwave.isDef(t.bottom)&&(webwave.isDef(this.bottom)?this.bottom.applyPartialSingleBorderMap(t.bottom):this.bottom=new a.a(t.bottom)),webwave.isDef(t.left)&&(webwave.isDef(this.left)?this.left.applyPartialSingleBorderMap(t.left):this.left=new a.a(t.left)),webwave.isNumberAndNotNaN(t.radius)&&(this.radius=t.radius),webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isBoolean(t.roundingEnabled)&&(this.roundingEnabled=t.roundingEnabled))}},{key:"removeAllBorderWidths",value:function e(){webwave.isDef(this.top)&&
902this.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 e(t){var n,i,r,a,o=!0===(null===(n=this.left)||void 0===n?void 0:n.changeWebsiteColorConnection(t)),s=!0===(null===(i=this.right)||void 0===i?void 0:i.changeWebsiteColorConnection(t)),u=!0===(null===(r=this.top)||void 0===r?void 0:r.changeWebsiteColorConnection(t)),c=!0===
903(null===(a=this.bottom)||void 0===a?void 0:a.changeWebsiteColorConnection(t));return o||s||u||c}}],[{key:"deserialize",value:function t(n){return void 0===n&&(n={}),new e({top:a.a.deserialize(n.top),right:a.a.deserialize(n.right),bottom:a.a.deserialize(n.bottom),left:a.a.deserialize(n.left),radius:n.radius,enabled:n.enabled,roundingEnabled:n.roundingEnabled})}}]),e}()},2063:function(e,t,n){n.d(t,"a",function(){return o}
903);var i=n(0),r=n(1),a=n(126),o=function(){function e(t){Object(i.a)(this,e),void 0===
904t&&(t={}),this.width="number"==typeof t.width?t.width:void 0,this.color="string"==typeof t.color?t.color:void 0,this.style=void 0!==t.style?t.style:void 0}return Object(r.a)(e,[{key:"serialize",value:function e(){return{width:this.width,color:this.color,style:this.style}}},{key:"applyPartialSingleBorderMap",value:function e(t){webwave.isDef(t)&&(webwave.isNumberAndNotNaN(t.width)&&(this.width=t.width),webwave.isDef(t.style)&&(this.style=t.style),webwave.isDef(t.color)&&(this.color=t.color))}},{key:"removeWidth",
905value:function e(){this.width=void 0}},{key:"changeWebsiteColorConnection",value:function e(t){return a.a.changeObjectColorPropertyWithWebsiteColor(this,t)}}]),e}()},2064:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(10),o=n(126),s=function(){function e(t){if(Object(i.a)(this,e),void 0===t&&(t={}),this.enabled=t.enabled,this.color,webwave.isString(t.color))if(a.ColorUtils.isColorStartWithAnyOfPhrase(t.color,["rgba","var"]))this.color=t.color;else if(a.ColorUtils.isColorStartWithRgbPhrase(t.color)){var n=
906webwave.isDef(t.opacity)?t.opacity/100:1;this.color=a.ColorUtils.rgbAndOpacityToRgba(t.color,n)}this.x="number"==typeof t.x?t.x:void 0,this.y="number"==typeof t.y?t.y:void 0,this.blur="number"==typeof t.blur?t.blur:void 0}return Object(r.a)(e,[{key:"serialize",value:function e(){return{enabled:this.enabled,color:this.color,x:this.x,y:this.y,blur:this.blur}}},{key:"toBoxShadowString",value:function e(){var t;return t=!0===this.enabled&&webwave.isDef(this.color)&&webwave.isDef(this.x)&&webwave.isDef(this.y)&&
907webwave.isDef(this.blur)?this.x+"px "+this.y+"px "+this.blur+"px "+this.color:"none"}},{key:"toCss2Map",value:function e(){return{boxShadow:this.toBoxShadowString()}}},{key:"applyPartialShadowMap",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isDef(t.color)&&(this.color=t.color),webwave.isDef(t.x)&&(this.x=t.x),webwave.isDef(t.y)&&(this.y=t.y),webwave.isDef(t.blur)&&(this.blur=t.blur))}},{key:"changeWebsiteColorConnection",value:function e(t){return o.a.changeObjectColorPropertyWithWebsiteColor(this,
908t)}}],[{key:"deserialize",value:function e(t){return newPartialShadowMap(t)}}]),e}()},2065:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(1284),o=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this.padding=a.a.deserialize(t.padding)}return Object(r.a)(e,null,[{key:"deserialize",value:function t(n){return new e(n)}}]),e}()},2066:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(1949),o=function(){function e(t){Object(i.a)(this,e),
909this._interactions=webwave.isArrayLike(t)?t.map(function(e){return new a.a(e)}):[new a.a]}return Object(r.a)(e,[{key:"addInteraction",value:function e(t){-1===this._interactions.indexOf(t)&&this._interactions.push(t)}},{key:"removeInteraction",value:function e(t){var n=webwave.isNumberAndNotNaN(t)?t:this._interactions.indexOf(t);-1!==n&&this._interactions.splice(n,1)}},{key:"getInteractions",value:function e(){return this._interactions}},{key:"getInteractionsList",value:function e(){return this._interactions}},
910{key:"serialize",value:function e(){return this._interactions.map(function(e){return e.serialize()})}}]),e}()},2067:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1677),c;function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;
911if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"getStyle",value:function e(t){return this.get
911State(t).getStyleMap()}}],[{key:"deserialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:
912{};return{normal:new u.a(t.normal),hover:new u.a(t.hover),disabled:new u.a(t.disabled)}}}]),n}(n(1634).a)},2068:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(40),o=function(){function e(t){Object(i.a)(this,e),this.domObject=void 0,this.width=0,this.height=0,this.imageFile=null,this.html=t.html,this.width=t.width,this.height=t.height,this.imageFile=t.imageFile,this.domObject=t.domObject,this.thumbnailMode=!1,this.backgroundSize=t.backgroundSize}return Object(r.a)(e,[{key:"getHtml",
913value:function e(){return this.html}},{key:"getDomObject",value:function e(){return this.domObject}},{key:"getHeight",value:function e(){return this.height}},{key:"getWidth",value:function e(){return this.width}},{key:"isThumbnailMode",value:function e(){return this.thumbnailMode}},{key:"setThumbnailMode",value:function e(t){this.thumbnailMode=t,this._updateImageUrl()}},{key:"getImageSize",value:function e(){return new a.a({width:this.imageFile.width,height:this.imageFile.height})}},{key:"_updateImageUrl",
914value:function e(){var t=this.getDomObject().find(".image");if(webwave.isDef(this.imageFile)){var n=this.isThumbnailMode()?this.imageFile.getThumbnailUrlStringForCss():this.imageFile.getUrlStringForCss();t[0].style.background="".concat(n," center center / ").concat(this.backgroundSize," no-repeat")}}}]),e}()},2069:function(e,t,n){var i=n(1635),r=n(226),a=n(1681),o=n(1553);t.a={autoplay:!0,enable_overlays:!0,enable_slideshow:!0,filmstrip_on_image:!0,filmstrip_position:o.a.BOTTOM,filmstrip_style:"showall",
915frame_gap:8,frame_height:10,frame_width:10,overlay_position:a.a.TOP,panel_animation:i.a.SLIDE,panel_height:300,panel_scale:r.a.COVER,panel_width:400,showFilmstripOnHover:!0,show_filmstrip:!0,show_filmstrip_nav:!1,show_infobar:!1,show_panel_nav:!0,transition_interval:5E3,transition_speed:1E3}},207:function(e,t,n){n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var i=n(0),r=n(1),a=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return Object(i.a)(this,
916e),this.elements=void 0,t instanceof Element?this.elements=[t]:this.elements=n.querySelectorAll(t),new Proxy(this,{get:function e(t,n){return"string"==typeof n&&Number.isInteger(Number(n))?t.elements[n]:t[n]},set:function e(t,n,i){return"string"==typeof n&&Number.isInteger(Number(n))?t.elements[n]=i:t[n]=i}})}return Object(r.a)(e,[{key:"get",value:function e(t){return t<this.elements.length?this.elements[t]:null}},{key:"setInnerHTML",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].innerHTML=
917t}},{key:"toggleClass",value:function e(t,n){return!0===n?this.addClass(t):this.removeClass(t),this}},{key:"removeClass",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].classList.remove(t);return this}},{key:"addClass",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].classList.add(t);return this}},{key:"exists",value:function e(){return this.elements.length>0}},{key:"length",value:function e(){return this.elements.length}},{key:"height",value:function e(t){return this.get(t).offsetHeight}},
918{key:"hasChild",value:function e(t){var n;return(null===(n=this.get(t).children)||void 0===n?void 0:n.length)>0}},{key:"setStyle",value:function e(t,n){for(var i=0;i<this.elements.length;i++)this.elements[i].style[t]=n}},{key:"val",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].value=t}},{key:"getAttribute",value:function e(t){for(var n,i=0;i<this.elements.length;i++)if(n=this.elements[i].getAttribute(t))return n}},{key:"has",value:function e(t){for(var n=0;n<this.elements.length;n++)if(this.elements[n].contains(t))return!0;
919return!1}},{key:"append",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].insertAdjacentHTML("beforeend",t)}},{key:"appendElement",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].insertAdjacentElement("beforeend",t)}},{key:"getScrollParent",value:function e(t){if(!1===this.exists())return document.body;for(var n=this.elements[0],i=getComputedStyle(n),r="absolute"===i.position||"fixed"===i.position,a=t?/(auto|scroll|hidden)/:/(auto|scroll)/,o=
920n;o=o.parentElement;)if(i=getComputedStyle(o),(!r||"static"!==i.position)&&a.test(i.overflow+i.overflowY+i.overflowX))return o;return document.body}},{key:"setAttribute",value:function e(t,n){for(var i=0;i<this.elements.length;i++)this.elements[i].setAttribute(t,n)}}]),e}(),o=function e(t,n){return new a(t,n)}},2070:function(e,t,n){n.d(t,"a",function(){return h});var i=n(1635),r=n(226),a=n(1331),o=n(203),s=n(1681),u=n(1553),c={opacity:1,backgroundColor:"rgba(34, 34, 34, 0)",paddingLeft:"80px",paddingTop:"24px",
921paddingRight:"80px",paddingBottom:"24px"},l={color:a.a.gallery.header.color},d={color:a.a.gallery.header.color},h={animation_autoplay:!0,animation_delay:5E3,animation_duration:1E3,animation_type:i.a.SLIDE,gallery_infobox_enabled:!0,gallery_infobox_position:s.a.TOP,gallery_thumbnails_enabled:!1,gallery_thumbnails_position:u.a.BOTTOM,image_crop_type:r.a.COVER,next_prev_buttons_distance:24,next_previous_buttons_enabled:!0,thumbnailsHeight:10,thumbnailsWidth:10,useOriginalImageSizeInArrows:!0,styles:{header:{textStyleId:o.a.H2,
922styleMap:c,textStyleMap:l},descrition:{textStyleId:o.a.DEFAULT,textStyleMap:d}}};t.b={contentData:h,panel_height:450,panel_width:1200}}
922,208:function(e,t,n){function i(e,t){return(i=Object.setPrototypeOf||function e(t,n){return t.__proto__=n,t})(e,t)}t.a=i},209:function(e,t,n){var i=n(0),r=n(1),a=n(134),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"popupClosed",value:function e(t){}},{key:"popupOpened",value:function e(t){}},{key:"popupDisposed",value:function e(t){}}]),
923e}()},2091:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
924[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getSource",value:function e(){return this._source}}]),n}(n(2092).a)},2092:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this._source=t}return Object(r.a)(e,[{key:"getSource",value:function e(){return this._source}}]),e}()},2093:function(e,t,n){n.d(t,"a",function(){return a});
925var i=n(0),r=n(1),a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.disableAlternateFixedChildren=!1,this.disableAlternateStickyChildren=!1,this.enableFlowWithoutChildren=!1,this.enableVisibilityWithoutChildren=!1,this.disableAnimations=!1,this.enableBindsInheritanceInBothDirections=!1,this.disableCustomBindsPerRwdMode=!1,this.excludedFromSizeComputation=!1,this.supportVariableBackgroundManipulationInHoverState=!1,this.disableShadowStyle=
926!1,this.enableInvokeAutoRwdPopup=!1,this.countPushDownAttrOnUpdate=!1,webwave.isDefAndNotNull(t.disableAlternateFixedChildren)&&(this.disableAlternateFixedChildren=t.disableAlternateFixedChildren),webwave.isDefAndNotNull(t.disableAlternateStickyChildren)&&(this.disableAlternateStickyChildren=t.disableAlternateStickyChildren),webwave.isDefAndNotNull(t.enableFlowWithoutChildren)&&(this.enableFlowWithoutChildren=t.enableFlowWithoutChildren),webwave.isDefAndNotNull(t.enableVisibilityWithoutChildren)&&
927(this.enableVisibilityWithoutChildren=t.enableVisibilityWithoutChildren),webwave.isDefAndNotNull(t.disableAnimations)&&(this.disableAnimations=t.disableAnimations),webwave.isDefAndNotNull(t.enableBindsInheritanceInBothDirections)&&(this.enableBindsInheritanceInBothDirections=t.enableBindsInheritanceInBothDirections),webwave.isDefAndNotNull(t.disableCustomBindsPerRwdMode)&&(this.disableCustomBindsPerRwdMode=t.disableCustomBindsPerRwdMode),webwave.isDefAndNotNull(t.excludedFromSizeComputation)&&(this.excludedFromSizeComputation=
928t.excludedFromSizeComputation),webwave.isDefAndNotNull(t.supportVariableBackgroundManipulationInHoverState)&&(this.supportVariableBackgroundManipulationInHoverState=t.supportVariableBackgroundManipulationInHoverState),webwave.isDefAndNotNull(t.disableShadowStyle)&&(this.disableShadowStyle=t.disableShadowStyle),webwave.isDefAndNotNull(t.countPushDownAttrOnUpdate)&&(this.countPushDownAttrOnUpdate=t.countPushDownAttrOnUpdate)}return Object(r.a)(e,[{key:"hasEnabledBindsInheritanceInBothDirections",value:function e(){return!0===
929this.enableBindsInheritanceInBothDirections}},{key:"hasDisabledCustomBindsPerRwdMode",value:function e(){return this.disableCustomBindsPerRwdMode}},{key:"hasCountPushDownAttrOnUpdate",value:function e(){return this.countPushDownAttrOnUpdate}},{key:"isExcludedFromSizeComputation",value:function e(){return this.excludedFromSizeComputation}},{key:"isShadowStyleDisabled",value:function e(){return!0===this.disableShadowStyle}},{key:"isSupportVariableBackgroundManipulationInHoverState",value:function e(){return!0===
930this.supportVariableBackgroundManipulationInHoverState}},{key:"isEnableInvokeAutoRwdPopup",value:function e(){return!0===this.enableInvokeAutoRwdPopup}}]),e}()},2094:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(3),a=n(4),o=n(2),s;function u(e){var t=c();return function n(){var i=Object(o.a)(e),r;if(t){var s=Object(o.a)(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;
931if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var l=function(e){Object(r.a)(n,e);var t=u(n);function n(){Object(i.a)(this,n);var e={type:"webwave.link.RefundPageLinkData"};return t.call(this,e)}return n}(n(839).a)},2095:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2676),l=n(1733),d=n(10),h=n(1677),f=n(1695),v=n(225),
932g=n(2067);function p(e){var t=y();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.wobject.wbutton.WButton");
933var b=function(e){Object(o.a)(n,e);var t=p(n);function n(e){var r;Object(i.a)(this,n),(r=t.call(this,e))._currentState=v.a.NORMAL;var a=r.getDomObject()[0].getElementsByClassName("ww_button_data")[0];return r._buttonData=JSON.parse(a.text),a.remove(),r._textHtml=r._buttonData.textHtml,r._variableBackgroun
933dImageInHoverState=e.variableBackgroundImageInHoverState,r.initRwdTextContent(),r.cloneComputedStyleToInlineInContent(),r._initTouchEvent(),!0!==r._variableBackgroundImageInHoverState&&r._clearHoverBackgroundImageStyle(),
934r}return Object(r.a)(n,[{key:"createStatesStyles",value:function e(t){return new g.a(g.a.deserialize(t))}},{key:"isHoverAnimatorEnabled",value:function e(){return Object(a.a)(Object(u.a)(n.prototype),"isHoverAnimatorEnabled",this).call(this)&&this._changeTextInStateIsAvailable(v.a.HOVER)}},{key:"setVerticalBackgroundPositionForParallax",value:function e(t){var n,i=this._getStyleMapByState(this.getCurrentVersion(),{full:!0}),r="calc("+i.background.verticalPosition+t+")",a;if(this.getContent()[0].style.backgroundPosition=
935i.background.horizontalPosition+" "+r,null===(n=this._hoverAnimator)||void 0===n?void 0:n.getAnimation()){var o=this.getDomObject().find(".hoverAnimationScene"),s=o.find('[wwButtonState="'+v.a.NORMAL+'"]');if(s.length>0){var u=this._getStyleMapByState(v.a.NORMAL,{full:!0});r="calc("+u.background.verticalPosition+t+")",s.each(function(){this.style.backgroundPosition=u.background.horizontalPosition+" "+r})}var c=o.find('[wwButtonState="'+v.a.HOVER+'"]');if(c.length>0){var l=this._getStyleMapByState(v.a.HOVER,
936{full:!0});r="calc("+l.background.verticalPosition+t+")",c.each(function(){this.style.backgroundPosition=l.background.horizontalPosition+" "+r})}}}},{key:"getNormalStateWrapper",value:function e(){return this.getContent().find(".ww_button_background_image_box.normal")}},{key:"getHoverStateWrapper",value:function e(){return this.getContent().find(".ww_button_background_image_box.hover")}},{key:"getButtonLink",value:function e(){return this.getContent().find(".ww_button_link")}},{key:"initRwdTextContent",
937value:function e(){var t=$(this.getContent()[0].querySelectorAll(".normal.ww_button_text_wrapper .ww_button_text")),n=$(this.getContent()[0].querySelectorAll(".hover.ww_button_text_wrapper .ww_button_text"));t.length>0&&(this._rwdTextContentNormal=new f.a(t)),n.length>0&&(this._rwdTextContentHover=new f.a(n)),this.reloadTextRwdProperties()}},{key:"reloadTextRwdProperties",value:function e(t){webwave.isDefAndNotNull(this._rwdTextContentNormal)&&this._rwdTextContentNormal.loadRwdTextProperties(t),webwave.isDefAndNotNull(this._rwdTextContentHover)&&
938this._rwdTextContentHover.loadRwdTextProperties(t)}},{key:"updateObjectForRwdChange",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"updateObjectForRwdChange",this).call(this,t),this.cloneComputedStyleToInlineInContent(),this.reloadTextRwdProperties()}},{key:"getButtonTextWrapper",value:function e(){return this.getContent().find(".ww_button_text")}},{key:"_loadButtonStyle",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"applyPartialObjectStyle",this).call(this,t),this.getButtonTextWrapper().css({verticalAlign:t.verticalAlign,
939textAlign:t.horizontalAlign})}},{key:"setButtonTextHtml",value:function e(t){this.getButtonTextWrapper().html(t)}},{key:"_getStyleMapByState",value:function e(t){return this.getStateStyle(t)}},{key:"_getHtmlByState",value:function e(t){var n="";if(webwave.isValidEnumValue(t,v.a))return webwave.isNotDef(this._textHtml[t])?(t!==v.a.HOVER&&t!==v.a.DISABLED||(n=this._getHtmlByState(v.a.NORMAL)),t===v.a.NORMAL&&(n="")):n=this._textHtml[t],n}},{key:"setContentStyle",value:function e(t){this.getContent().css(t.toCss2Map())}},
940{key:"setState",value:function e(t){if(Object(a.a)(Object(u.a)(n.prototype),"setState",this).call(this,t),this._changeTextInStateIsAvailable(t)){this._currentState=t;var i=this._getStyleMapByState(t),r=this._getHtmlByState(t);this.setButtonTextHtml(r),this._loadButtonStyle(i),this.getContent().attr("wwButtonState",this._currentState),this.reloadTextRwdProperties()}}},{key:"getCurrentVersion",value:function e(){return this._currentState}},{key:"getStateStyle",value:function e(t){return this.getStatesStyles().getStyle(t)}},
941{key:"getButtonVersionStyle",value:function e(t){return this.getStateStyle(t)}},{key:"setStyleVersion",value:function e(t){this.setState(t)}},{key:"domMouseEnterHandler",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"domMouseEnterHandler",this).call(this),this.customMouseEnterHandler()}},{key:"customMouseEnterHandler",value:function e(){if(d.MobileUtils.isMobileAppleDevice()
941){if(this.getDomObject().find("a[href^=mailto]").length||this.getDomObject().find("a[href^=tel]").length)return;!0===
942this._hasHrefAttr()&&this._getElementForAppleDeviceMouseEnterEvent()[0].click()}}},{key:"domTouchEnterHandler",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"domMouseEnterHandler",this).call(this)}},{key:"domTouchLeaveHandler",value:function e(){this.domMouseLeaveHandler()}},{key:"_getElementForAppleDeviceMouseEnterEvent",value:function e(){return this.getButtonLink()}},{key:"_initTouchEvent",value:function e(){this._initAppleDeviceClickHandler(),this._enableTouchEventListeners()}},{key:"changeStylesBackgroundImageExtensionIfNecessary",
943value:function e(){this.changeStyleBackgroundExtensionIfNecessary(this.getStatesStyles().getState(v.a.NORMAL)),this.changePartialStyleBackgroundExtensionIfNecessary(this.getStatesStyles().getState(v.a.HOVER),this.browserWebPSupportUtils.getHoverWeBPImageAttrName(),this.browserWebPSupportUtils.getHoverWeBPImageDatasetAttrName())}},{key:"changeStyleBackgroundExtensionIfNecessary",value:function e(t){var n=t.styleMap.background.backgroundImage;t.styleMap.background.backgroundImage=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(n,
944this.getContent()[0])}},{key:"changePartialStyleBackgroundExtensionIfNecessary",value:function e(t,n,i){if(webwave.isDef(t.styleMap)){var r=t.styleMap.background.backgroundImage,a=this.getContent().find("[".concat(n,"]"))[0];t.styleMap.background.backgroundImage=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrParameterCheck(r,a,i)}}},{key:"_clearHoverBackgroundImageStyle",value:function e(){var t=this.getButtonVersionStyle(v.a.HOVER);if(webwave.isDef(t)){var n=t.getBackground();webwave.isDef(n)&&
945n.clearBackgroundImageProperties()}}},{key:"useAdvancedTextEditor",value:function e(){return!0}},{key:"_enableTouchEventListeners",value:function e(){var t=this,n;this.getDomObject().on("touchstart",function(e){t._uiEventsLock=new c.a;var n=e.target,i=function e(){t._uiEventsLock=new c.a,n.removeEventListener("touchend",e),n.removeEventListener("touchcancel",e),t.domTouchLeaveHandler()};n.addEventListener("touchend",i),n.addEventListener("touchcancel",i),t.domTouchEnterHandler()})}},{key:"_hasHrefAttr",
946value:function e(){return webwave.isDefAndNotNull(this.getButtonLink().attr("href"))}},{key:"_initAppleDeviceClickHandler",value:function e(){if(d.MobileUtils.isMobileSafari()){var t=this.getButtonLink(),n=t.attr("href"),i=t.attr("target");webwave.isDef(n)&&""!==n&&webwave.isDef(i)&&(t.on("click",function(){return!1}),d.MobileUtils.emulateClickEventForAppleDevice(this.getDomObject(),function(){window.open(t.attr("href"),i)}))}}},{key:"_changeTextInStateIsAvailable",value:function e(t){return!1===
947d.MobileUtils.isAppleDeviceWithTouchScreen()||webwave.isNotDef(this.getButtonLink())}}]),n}(l.a);com.webwave.publication.wobject.wbutton.WButton=b,b.deserializeStyles=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=h.a.deserialize(e[n]));return t}},2096:function(e,t,n){n.d(t,"a",function(){return p});var i=n(14),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(10),d;function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,
948t).enumerable})),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e){var t=g();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;
949r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(s.a)(n,e);var t=v(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(this,n),e=
950t.call(this,i),webwave.isNotDef(e.id)&&(e.id=e.generateId()),e.price=i.price,e._url=i.url,e._thumbnailId=i.thumbnailId,e.thumbnailUrl=i.image,e}return Object(a.a)(n,[{key:"getThumbnailId",value:function e(){return this._thumbnailId}},{key:"substituteId",value:function e(){this._id=this.generateId()}},{key:"generateId",value:function e(){return $("#websiteId").val()+"-"+Math.random().toString(36).substring(2,8)+"-"+Math.random().toString(36).substring(2,8)}},{key:"getUrl",value:function e(){return this._url}},
951{key:"setUrl",value:function e(t){this._url=t}},{key:"serialize",value:function e(){return f(f({},Object(o.a)(Object(c.a)(n.prototype),"serialize",this).call(this)),{},{url:this.getUrl(),image:this.getThumbnailUrl()})}},{key:"deserialize",value:function e(t){return new n(t)}},{key:"getThumbnailUrl",value:function e(){if(webwave.isNotDefOrNull(window.fileManagerService)&&webwave.isString(this.thumbnailUrl))return this.thumbnailUrl;if(webwave.isDef(window.fileManagerService)){var t=fileManagerService.getUserFileById(this.getThumbnailId()),
952n="";return webwave.isDef(t)&&(n=t.getThumbnailUrl()),l.Environment.isDevelopment()&&(n=n.replace("webwaver_front/webwaver_front","
952webwaver_front")),n}}},{key:"clone",value:function e(){return new n(this.serialize())}},{key:"getAttributes",value:function e(){return{id:this.getId(),name:this.name,url:"http://myapp.com/products/bacon",price:this.getPrice(),description:this.description,image:this.getThumbnailUrl()}}}]),n}(n(1217).a)},2097:function(e,t,n){var i={FIT:"fit",CROP:"crop"};t.a=i},2098:function(e,
953t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1954),c=n(2679);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
954[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._rwdProperties=new c.a(e.rwdProperties),r}return Object(r.a)(n,[{key:"getRwdProperties",value:function e(){return this._rwdProperties}},{key:"initialize",value:function e(t){this._rwdProperties.setRwdService(t)}},{key:"getImageSrc",value:function e(){return this.getRwdProperties().getImageSrc()}},{key:"getImageSize",value:function e(){return this.getRwdProperties().getImageSize()}},
955{key:"getCroppedImageSrc",value:function e(){return this.getRwdProperties().getCroppedImageSrc()}},{key:"getCroppedImageSize",value:function e(){return this.getRwdProperties().getCroppedImageSize()}},{key:"getThumbnailSrc",value:function e(){return this.getRwdProperties().getThumbnailSrc()}},{key:"getThumbnailSize",value:function e(){return this.getRwdProperties().getThumbnailSize()}},{key:"getUseWebp",value:function e(){return this.getRwdProperties().getUseWebp()}}]),n}(u.a)},2099:function(e,t,n){n.d(t,
956"a",function(){return g});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(40),l=n(106),d=n(122);function h(e){var t=f();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
957[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WHtmlTool");var v,g=function(e){Object(o.a)(n,e);var t=h(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).dynamicHeight=!1,r}return Object(r.a)(n,[{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return webwave.isDefAndNotNull(i.content.children[0])&&(i.embeddedHtmlContentNode=i.content.children[0]),i}},{key:"getEmbeddedHtmlContentNode",
958value:function e(){return this.cachedDom.embeddedHtmlContentNode}},{key:"initMutationObserver",value:function e(){var t=this,n=webwave.requestAnimationFrame,i=null,r;!1!==webwave.isDef(this.getEmbeddedHtmlContentNode())&&n(function e(){var r=t.computeNewHeight();r!==i&&(i=r,t.updateMinSize()),t.dynamicHeight&&n(e)})}},{key:"computeNewHeight",value:function e(){if(this.dynamicHeight)return this.getEmbeddedHtmlContentNode().scrollHeight;var t=l.a.PX,n,i;return this.pageCanvas.convertHorizontalLengthToUnit(this._size.getHeight(),
959t).value-this.getPaddingAndBorderSizes().vertical}},{key:"calculateMinContentSize",value:function e(){var t=0;return webwave.isDef(this.getEmbeddedHtmlContentNode())&&(t=this.computeNewHeight()),new c.a({width:0,height:t})}},{key:"loadAdditionalData",value:function e(t){webwave.isDef(t)&&webwave.isDef(t.dynamicHeight)&&this.setDynamicHeight(t.dynamicHeight)}},{key:"setDynamicHeight",value:function e(t){this.getDomObject().attr("data-dynamic-height",t),t!==this.dynamicHeight&&(!0===t&&this.initMutationObserver(),
960this.dynamicHeight=t)}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WHtmlTool=g},210:function(e,t,n){var i={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"};t.a=i},2100:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1298),l=n(1676);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,
961r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WMediaPlayer");var f,v=function(e){Object(o.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).videoProperties={},r.playerReady=!1,r.wasAutoPlayed=!1,r.customThumbnailEnabled=
962e.customThumbnailEnabled,r.mediaPlayerService=e.mediaPlayerService,r.fetchVideoPropertiesFromDomObject(),r.initElementPlayer(),r}return Object(r.a)(n,[{key:"isAutoPlayEnabled",value:function e(){return this.videoProperties.autoPlay}},{key:"isLoopEnabled",value:function e(){return this.videoProperties.loop}},{key:"isMuted",value:function e(){return this.videoProperties.muted}},{key:"areControlsHiden",value:function e(){return!this.videoProperties.controls}},{key:"isCustomThumbnailEnabled",value:function e(){return this.customThumbnailEnabled}},
963{key:"getMediaPlayerService",value:function e(){return this.mediaPlayerService}},{key:"shouldVideoBeAutoPlayed",value:function e(){return!0}},{key:"isCustomThumbnailWithoutAutoPlay",value:function e(){return!0===this.isCu
963stomThumbnailEnabled()&&!1===this.isAutoPlayEnabled()}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this.resizeThumbnail()}},{key:"resizeThumbnail",value:function e(){var t=this.getCustomThumbnailImgDomElement();
964if(webwave.isDefAndNotNull(t)){var n={contentWidth:this.getInnerWidth(),contentHeight:this.getInnerHeight(),element:t,imageWidth:t.getAttribute("imageWidth"),imageHeight:t.getAttribute("imageHeight")};domElementService.resizeImgDomElement(n)}}},{key:"tryToAutoPlayVideo",value:function e(){var t=pageService.getWindowScroll()+window.innerHeight;!1===this.wasAutoPlayed&&this.getDomObject().is(":visible")&&this.shouldVideoBeAutoPlayed()&&this.getY()<t&&this.isAutoPlayEnabled()&&(this.removeThumbnail(),
965this.wasAutoPlayed=!0,this.playVideo())}},{key:"initPlayer",value:function e(){this.preparePlayerForShow()}},{key:"initElementPlayer",value:function e(){this.isCustomThumbnailWithoutAutoPlay()?this.initCustomThumbnail():this.initPlayer()}},{key:"removeThumbnail",value:function e(){if(!0===this.isCustomThumbnailEnabled()){var t;null===(t=this.getCustomThumbnailImgDomElement())||void 0===t||t.remove();var n=this.getCustomThumbnailDomElement();null===n||void 0===n||n.querySelectorAll(".icon").forEach(function(e){e.remove()})}}},
966{key:"initCustomThumbnail",value:function e(){this.initThumbnail(this.getCustomThumbnailDomElement())}},{key:"getCustomThumbnailDomElement",value:function e(){return this.getContent()[0].querySelector(".video-custom-thumbnail")}},{key:"getCustomThumbnailImgDomElement",value:function e(){var t;return null===(t=this.getCustomThumbnailDomElement())||void 0===t?void 0:t.querySelector("img")}},{key:"initThumbnail",value:function e(t){var n=this;null===t||void 0===t||t.addEventListener("click",function(){n.initPlayer(),
967n.removeThumbnail()})}},{key:"playCurrentHideAnimation",value:function e(){this.pauseVideo(),Object(a.a)(Object(u.a)(n.prototype),"playCurrentHideAnimation",this).call(this)}},{key:"pauseVideo",value:function e(){}},{key:"playVideo",value:function e(){}},{key:"fetchVideoPropertiesFromDomObject",value:function e(){}},{key:"addImgLazyLoad",value:function e(){if(Object(a.a)(Object(u.a)(n.prototype),"addImgLazyLoad",this).call(this),this.isCustomThumbnailEnabled()){var t=this.getCustomThumbnailImgDomElement();
968webwave.isDefAndNotNull(t)&&(t.hasAttribute(c.a.LAZY_LOAD_ATTR_NAME)?this.createDomWIntersectionObserved(new c.a(t)):t.hasAttribute(l.a.LAZY_LOAD_ATTR_NAME)&&this.createDomWIntersectionObserved(new l.a(t)))}}},{key:"preparePlayerForShow",value:function e(){}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WMediaPlayer=v,v.VIDEO_TYPES={youtube:0,html5Video:1,vimeo:2}},2101:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2);function c(e){var t=
969l();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WMediaPlayer.VimeoVideo");
970var d,h=function(e){Object(o.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"fetchVideoPropertiesFromDomObject",value:function e(){var t=this.getDomObject();this.vimeoDiv=t.find(".vimeoVideo"),this.vimeoDiv.length>0&&(this.videoProperties={videoId:this.vimeoDiv.attr("data-videoid"),controls:"true"===this.vimeoDiv.attr("data-controls"),autoPlay:"true"===this.vimeoDiv.attr("data-autoplay"),loop:"true"===this.vimeoDiv.attr("data-loop"),muted:"true"===
971this.vimeoDiv.attr("data-muted"),targetId:this.vimeoDiv.prop("id")})}},{key:"initPlayer",value:function e(){if(Object(a.a)(Object(u.a)(n.prototype),"initPlayer",this).call(this),webwave.isDef(window.Vimeo)&&webwave.isFunction(window.Vimeo.Player)){var t={id:this.videoProperties.videoId,loop:this.videoProperties.loop,autopause:!1};this.player=new Vimeo.Player(this.videoProperties.targetId,t),this.player.ready().then(this.playerReadyEventListener.bind(this))}else this.getMediaPlayerService().addVimeoPlayerToInitList(this),
972this.getMediaPlayerService().initVimeoApi()}},{key:"playVideo",value:function e(){var t=this;webwave.isDef(this.player)&&this.player.play().then(function(){t.wasAutoPlayed=!0})}},{key:"playerReadyEventListener",value:function e(){this.playerReady=!0,this.isMuted()&&this.player.setVolume(0),this.isCu
972stomThumbnailWithoutAutoPlay()?this.playVideo():this.tryToAutoPlayVideo()}},{key:"pauseVideo",value:function e(){webwave.isDef(this.player)&&this.player.pause()}}]),n}(com.webwave.publication.object.WMediaPlayer)},
9732102:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2);function c(e){var t=l();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
974[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WMediaPlayer.YoutubeVideo");var d,h=-1,f=0,v=1,g=2,p=3,y=5,b=function(e){Object(o.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"fetchVideoPropertiesFromDomObject",value:function e(){var t=this.getDomObject();this.youtubeDiv=t.find(".youtubeVideo");var n=this.youtubeDiv.attr("data-playlist");this.youtubeDiv.length>0&&(this.videoProperties={videoId:this.youtubeDiv.attr("data-videoid"),
975controls:"true"===this.youtubeDiv.attr("data-controls"),autoPlay:"true"===this.youtubeDiv.attr("data-autoplay"),loop:"true"===this.youtubeDiv.attr("data-loop"),muted:"true"===this.youtubeDiv.attr("data-muted"),playlist:webwave.isDef(n)?n:null,events:{onStateChange:this.onStateChange.bind(this),onReady:this.onReady.bind(this)}})}},{key:"initElementPlayer",value:function e(){!1===this.isAutoPlayEnabled()?!0===this.isCustomThumbnailEnabled()?this.initCustomThumbnail():this._initMockThumbnail():this.initPlayer()}},
976{key:"onReady",value:function e(){this.playerReady=!0,this.videoProperties.muted&&this.player.mute(),!1===this.isAutoPlayEnabled()?this.playVideo():this.tryToAutoPlayVideo()}},{key:"initPlayer",value:function e(){if(Object(a.a)(Object(u.a)(n.prototype),"initPlayer",this).call(this),webwave.isDef(window.YT)){var t={videoId:this.videoProperties.videoId,playerVars:{modestbranding:1,controls:this.videoProperties.controls?1:0,rel:0,showinfo:this.videoProperties.loop?0:1},events:{onStateChange:this.videoProperties.events.onStateChange.bind(this),
977onReady:this.videoProperties.events.onReady.bind(this)}};this.player=new YT.Player(this.youtubeDiv.prop("id"),t)}else this.getMediaPlayerService().addYoutubePlayerToInitList(this),this.getMediaPlayerService().initYoutubeApi()}},{key:"shouldVideoBeAutoPlayed",value:function e(){return webwave.isDef(this.player)&&webwave.isFunction(this.player.getPlayerState)&&this.player.getPlayerState()===y&&this.playerReady}},{key:"playVideo",value:function e(){this.isPlaylist()&&this.player.cuePlaylist({listType:"playlist",
978list:this.videoProperties.playlist}),webwave.isDef(this.player)&&(this.player.playVideo(),this.wasAutoPlayed=!0)}},{key:"isPlaylist",value:function e(){return webwave.isDefAndNotNull(this.videoProperties.playlist)}},{key:"onStateChange",value:function e(t){if(this.isPlaylist()){if(t.data===y&&this.isPlaylist()&&!0!==this.playlistCued){var n,i=this.player.getPlaylist().indexOf(this.videoProperties.videoId);i>-1&&(this.firstVideoInPlaylistPlayed=!1,this.player.playVideoAt(i)),this.playlistCued=!0}t.data===
979y&&this.isPlaylist()&&!1===this.firstVideoInPlaylistPlayed&&(this.firstVideoInPlaylistPlayed=!0)}t.data===f&&this.isLoopEnabled()&&this.player.playVideo()}},{key:"pauseVideo",value:function e(){webwave.isDef(this.player)&&this.player.pauseVideo()}},{key:"_initMockThumbnail",value:function e(){this.initThumbnail(this._getYoutubeMockThumbnail())}},{key:"removeThumbnail",value:function e(){if(this.isCustomThumbnailEnabled())Object(a.a)(Object(u.a)(n.prototype),"removeThumbnail",this).call(this);else{var t=
980this._getYoutubeMockThumbnail();webwave.isDefAndNotNull(t)&&t.remove()}}},{key:"_getYoutubeMockThumbnail",value:function e(){return this.getContent()[0].querySelector(".youtubeVideoMock")}},{key:"preparePlayerForShow",value:function e(){this.getContent()[0].classList.add("youtube-player
980-loading")}}]),n}(com.webwave.publication.object.WMediaPlayer)},2103:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(1746),o=n(1995);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||
981e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}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 a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=
982!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function u(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var l=function(){function e(){Object(i.a)(this,
983e)}return Object(r.a)(e,null,[{key:"lazyLoadImages",value:function t(n){if(webwave.isDefAndNotNull(n)){var i=elementAttributeService.getAttributeFromRwdMapForCurrentMode(n,"slidesPerView"),r,a=s(n.querySelectorAll(".".concat(o.a.SLIDE_CLASS,":nth-of-type(-n+").concat(i,")"))),u;try{for(a.s();!(u=a.n()).done;){var c=u.value,l,d=s(c.querySelectorAll("source")),h;try{for(d.s();!(h=d.n()).done;){var f=h.value;f.setAttribute("srcset",f.dataset.srcset)}}catch(e){d.e(e)}finally{d.f()}e.updateImageDimensions(c)}}catch(e){a.e(e)}finally{a.f()}}}},
984{key:"updateImageDimensions",value:function e(t){var n=t.querySelector("img"),i=t.querySelector(".".concat(o.a.IMAGE_WRAPPER_CLASS));if(webwave.isDefAndNotNull(n)){var r=a.a.innerDimensions(i),s=r.width,u=r.height;domElementService.resizeImgDomElement({contentWidth:s,contentHeight:u,element:n,imageWidth:elementAttributeService.getAttributeFromRwdMapForCurrentMode(n,"width"),imageHeight:elementAttributeService.getAttributeFromRwdMapForCurrentMode(n,"height")})}}}]),e}()},2104:function(e,t,n){n.d(t,
985"a",function(){return o});var i=n(0),r=n(1),a=n(1545);webwave.provide("com.webwave.animator.Animator");var o=function(){function e(){Object(i.a)(this,e),this._animationQueue=[],this._running=!1,this._rafPtr}return Object(r.a)(e,[{key:"registerAnimation",value:function e(t){var n;-1===this._animationQueue.indexOf(t)&&(this._animationQueue.push(t),!1===this._running&&this._start())}},{key:"unregisterAnimation",value:function e(t){var n=this._animationQueue.indexOf(t);-1!==n&&this._animationQueue.splice(n,
9861),0===this._animationQueue.length&&this._stop()}},{key:"_handleTick",value:function t(n){var i,r=this._animationQueue.slice(0);this._rafPtr=e.requestAnimationFrame(this._handleTick.bind(this));for(var a=0;a<r.length;a++){i=r[a];try{!1===i.isStarted()&&i.start(n),!0===i.isRunning()&&(i.setCurrentTime(n-i.getStartTime()),i.tick()),i.getCurrentTime()>=i.getDuration()&&i.stop(!0),!0===i.isFinished()&&this.unregisterAnimation(i)}catch(e){webwave.debug(e),this.unregisterAnimation(i)}}}},{key:"_stop",value:function t(){!0===
987this._running&&(this._running=!1,webwave.isDef(this._rafPtr)&&e.cancelAnimationFrame(this._rafPtr))}},{key:"_start",value:function t(){!1===this._running&&(this._running=!0,this._rafPtr=e.requestAnimationFrame(this._handleTick.bind(this)))}}]),e}();o.cancelAnimationFrame=function(e){window.cancelAnimationFrame(e)},o.requestAnimationFrame=function(e){return window.requestAnimationFrame(e)},com.webwave.animator.Animator=o,com.webwave.animator.animator=new o},2105:function(e,t,n){var i={PAGE_DATA_NODE_ID:"pageData"};
988t.a=i},2106:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(3),a=n(4),o=n(2),s=n(46),u=n.n(s),c=n(15),l=n.n(c),d,h;function f(e){var t=v();return function n(){var i=Object(o.a)(e),r;if(t){var s=Object(o.a)(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
989[],function(){})),!0}catch(e){return!1}}var g=(d=Object(c.injectable)())(h=function(e){Object(r.a)(n,e);var t=f(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return n}(s.SimplePropertyChangeEmitter))||h},2107:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e),this._arr=[],this._map=new Map}return Object(r.a)(e,[{key:"add",value:function e(t,n){this._map.has(t)||(this._map.set(t,n),this._arr.push(n))}},{key:"remove",
990value:function e(t){!1!==this._map.has(t)&&(this._map.delete(t),this._arr.splice(this._arr.indexOf(t),1))}},{key:"get",value:function e(t){return this._map.get(t)}},{key:"has",value:function e(t){return this._map.has(t)}},{key:"toArray",value:function e(){return this._arr}}]),e}()},214:function(e,t,n){t.a={FROM:Symbol.for("from"),TO:Symbol.for("to")}},215:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),
991r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}
992return Object(r.a)(n,[{key:"createObject",value:function e(){throw"Not implement";}},{key:"deserializeValue",value:function e(t){if(this._value=new Array(0),webwave.isDef(t))for(var n=0;n<t.length;n++)if(webwave.isDefAndNotNull(t[n])){var i=this.createObject(t[n]);webwave.isDef(i)&&this._value.push(i)}}},{key:"getSerializeValue",value:function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new Array(0),i=0;i<this._value.length;i++)n.push(this._value[i].serialize(t));return n}},
993{key:"addOption",value:function e(t){this._value.push(t)}},{key:"copyValueOption",value:function e(t){webwave.utils.copyToClipboard(t)}},{key:"removeOption",value:function e(t){var n=this._value.findIndex(function(e){return e===t});n>=0&&this._value.splice(n,1)}},{key:"value",get:function e(){return!0===this.enable?this._value.filter(function(e){return!0!==e.deleted}):[]}},{key:"isEmpty",value:function e(){return 0===this._value.length}},{key:"updateEnable",value:function e(){!1===this.isEmpty()?
994this._enable=!0:this._enable=!1}},{key:"getValuesForSaveData",value:function e(){return this._value}}]),n}(n(66).a)},219:function(e,t,n){t.a={optJsonParse:function e(t){return webwave.isValidJSON(decodeURIComponent(t))?JSON.parse(decodeURIComponent(t)):{}},saveJSONParse:function e(t){return webwave.isValidJSON(t)?JSON.parse(t):{}},parseJsonFromNodeWithId:function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{var i=$("#".concat(t));if(i.length>0){var r=JSON.parse(i.html());
995return!0===n&&i.remove(),r}}catch(e){console.error("Error during node JSON data parsing",e)}},tryParseMultiStringifiedText:function e(t,n){for(var i=t,r=0;r<n&&(i=JSON.parse(i),!webwave.isObject(i));r++);return r===n?null:i},findStringifiedJsonInString:function e(t){return t?t.substring(t.indexOf("{"),t.lastIndexOf("}")+1):""},findStringifiedJsonArrayInString:function e(t){return t?t.substring(t.indexOf("["),t.lastIndexOf("]")+1):""},safeOptJsonParse:function e(t){if(!1!==webwave.isStringAndNotEmpty(t))return webwave.isValidJSON(decodeURIComponent(t))?
996JSON.parse(decodeURIComponent(t)):void 0},safeDecodeURIComponent:function e(t){if(!1!==webwave.isStringAndNotEmpty(t))try{return decodeURIComponent(t)}catch(e){return t}}}},22:function(e,t,n){function i(){return[t.INJECT_TAG,t.MULTI_INJECT_TAG,t.NAME_TAG,t.UNMANAGED_TAG,t.NAMED_TAG,t.OPTIONAL_TAG]}
996Object.defineProperty(t,"__esModule",{value:!0}),t.NON_CUSTOM_TAG_KEYS=t.POST_CONSTRUCT=t.DESIGN_PARAM_TYPES=t.PARAM_TYPES=t.TAGGED_PROP=t.TAGGED=t.MULTI_INJECT_TAG=t.INJECT_TAG=t.OPTIONAL_TAG=t.UNMANAGED_TAG=
997t.NAME_TAG=t.NAMED_TAG=void 0,t.NAMED_TAG="named",t.NAME_TAG="name",t.UNMANAGED_TAG="unmanaged",t.OPTIONAL_TAG="optional",t.INJECT_TAG="inject",t.MULTI_INJECT_TAG="multi_inject",t.TAGGED="inversify:tagged",t.TAGGED_PROP="inversify:tagged_props",t.PARAM_TYPES="inversify:paramtypes",t.DESIGN_PARAM_TYPES="design:paramtypes",t.POST_CONSTRUCT="post_construct",t.NON_CUSTOM_TAG_KEYS=i()},220:function(e,t,n){t.a={INNER_TEXT:"innerText"}},222:function(e,t,n){n.d(t,"a",function(){return p});var i=n(0),r=n(1),
998a=n(15),o=n.n(a),s=n(92),u=n(209),c,l,d,h;function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=v(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}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 a=
999!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function v(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==
1000t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var p=(c=Object(a.injectable)())((h=d=function(){function e(){Object(i.a)(this,e),this._visiblePopups=[],this._registeredPopups=[],this.lockService=null}return Object(r.a)(e,[{key:"setLockService",value:function e(t){this.lockService=t}},{key:"_addPopup",value:function t(n){-1===this._visiblePopups.indexOf(n)?(0!==this._visiblePopups.length&&this._handleIdlePopups(),this._visiblePopups.push(n),e._attachPopupToDom(n),
1001n.setLocked(!1)):this.movePopupToFront(n),this._moveFirstPopupToFrontIfAlwaysOnTop(),this.updateLock()}},{key:"_removePopup",value:function e(t){var n=this._visiblePopups.indexOf(t);-1!==n&&(this._visiblePopups.splice(n,1),t.detach(),this._visiblePopups.length>0&&this._visiblePopups[this._visiblePopups.length-1].setLocked(!1)),this.updateLock()}},{key:"_handleIdlePopups",value:function e(){for(var t=this._visiblePopups.length-1;t>=0;t--)this._visiblePopups[t].setLocked(!0)}},{key:"movePopupToFront",
1002value:function t(n){var i=this._visiblePopups.indexOf(n);-1!==i&&(this._visiblePopups.splice(i,1),this._visiblePopups.push(n),e._attachPopupToDom(n),this._handleIdlePopups(),n.setLocked(!1))}},{key:"dispose",value:function e(){for(var t=this._registeredPopups.length-1;t>=0;t--)this.unregisterPopup(this._registeredPopups[t])}},{key:"updateLock",value:function e(){webwave.isDefAndNotNull(this.lockService)&&(0===this.getVisiblePopupsNumber()?this.lockService.unlockAll():this.lockService.lockAll())}},
1003{key:"getVisiblePopupsNumber",value:function e(){for(var t=0,n=0;n<this._visiblePopups.length;n++)!0===this._visiblePopups[n].isVisible()&&t++;return t}},{key:"isAnyPopupVisible",value:function e(){return this.getVisiblePopupsNumber()>0}},{key:"popupClosed",value:function e(t){var n=t.getSource();return this._removePopup(n),n}},{key:"popupOpened",value:function e(t){var n=t.getSource();return this._addPopup(n),n}},{key:"popupDisposed",value:function e(t){this.unregisterPopup(t.getSource())}},{key:"registerPopup",
1004value:function e(t){this._registeredPopups.push(t),t.addPopupEventListener(this)}},{key:"unregisterPopup",value:function e(t){var n=this._registeredPopups.indexOf(t);t.removePopupEventListener(this),this._removePopup(t),-1!==n&&(this._registeredPopups.splice(n,1),t.dis
1004pose())}},{key:"getVisiblePopups",value:function e(){return this._visiblePopups}},{key:"getRegisteredPopups",value:function e(){return this._registeredPopups}},{key:"_moveFirstPopupToFrontIfAlwaysOnTop",value:function e(){var t=f(this._visiblePopups),
1005n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(!0===i.isAlwaysOnTop()){this.movePopupToFront(i);break}}}catch(e){t.e(e)}finally{t.f()}}}],[{key:"_attachPopupToDom",value:function e(t){t.attach($("#screen_popup"))}}]),e}(),d.SCREEN_POPUP_ID="screen_popup",l=h))||l;webwave.provide("com.webwave.ui.popup.SimplyPopupManager"),com.webwave.ui.popup.SimplyPopupManager=p},225:function(e,t,n){var i={NORMAL:"normal",HOVER:"hover",DISABLED:"disabled"};t.a=i},226:function(e,t,n){var i={COVER:"cover",CONTAIN:"contain",
1006FULL_WIDTH:"100% 100%",AUTO:"auto"};t.a=i},234:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(214),c=n(46),l=n.n(c);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;
1007try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),(e=t.call(this,r))._from=r.from,e._to=r.to,e.validator=r.validator,e.placeholder=webwave.isDef(r.placeholder)?r.placeholder:{},e}return Object(r.a)(n,[{key:"inputType",get:function e(){}},{key:"pattern",get:function e(){}},{key:"rightIcon",get:function e(){}},
1008{key:"short",get:function e(){return!1}},{key:"translationPrefix",get:function e(){}},{key:"unit",get:function e(){}},{key:"rangeIsNotOk",value:function e(){return!0}},{key:"valueInRange",value:function e(t){throw new Error("not implemented");}},{key:"from",get:function e(){return this._from},set:function e(t){var n=this._from!==t;this._from=t,n&&this.triggerPropertyChange(u.a.FROM,this._from)}},{key:"to",get:function e(){return this._to},set:function e(t){var n=this._to!==t;this._to=t,n&&this.triggerPropertyChange(u.a.TO,
1009this._to)}}]),n}(c.SimplePropertyChangeEmitter)},235:function(e,t,n){t.a={CONNECT:"connect",DISCONNECT:"disconnect",SWAP:"swap",CHANGE:"change"}},2351:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c;function l(e){var t=d();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;
1010if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(o.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"onOuterChildRectChange",value:function e(t,i){Object(a.a)(Object(u.a)(n.prototype),"onOuterChildRectChange",this).call(this,t,i),this.isDomElementPositionUpdateEnabled()&&pageService.updateBackgroun
1010dSize()}},
1011{key:"isUserGroup",value:function e(){return!1}}]),n}(n(1734).a);webwave.provide("com.webwave.publication.object.RootWObject"),com.webwave.publication.object.RootWObject=h},2352:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||
1012!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"isUserGroup",value:function e(){return!1}}]),n}(n(1734).a);webwave.provide("com.webwave.publication.object.PageWObject"),com.webwave.publication.object.PageWObject=
1013d},2353:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(3),a=n(4),o=n(2),s=n(1713),u=n(1745),c=n(2096);function l(e){var t=d();return function n(){var i=Object(o.a)(e),r;if(t){var s=Object(o.a)(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1014[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(r.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return n}(u.a)},2354:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c;function l(e){var t=d();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||
1015!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(o.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).footerMargin=parseInt(r.getDomObject().attr("footerMargin")),r.rwdMinimalDistances=e.rwdMinimalDistances,r.rwdFooterMargins=webwave.isDef(e.rwdFooterMargins)?e.rwdFooterMargins:{},r}
1016return Object(r.a)(n,[{key:"setFooterMargin",value:function e(t){var n=this.footerMargin!==t;this.footerMargin=t,n&&this.updatePushedDownAttr()}},{key:"getFooterMargin",value:function e(){return this.footerMargin}},{key:"setRwdMode",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"setRwdMode",this).call(this,t);var i=com.webwave.publication.rwd.rwdService.searchForClosestObjectByRwdMode(this.rwdMinimalDistances,t);webwave.isNumber(i)&&this.setMinimalDistance(i);var r=com.webwave.publication.rwd.rwdService.searchForClosestObjectByRwdMode(this.rwdFooterMargins,
1017t);webwave.isNumber(r)&&this.setFooterMargin(r)}},{key:"countPushDownAttr",value:function e(t,i){var r=Object(a.a)(Object(u.a)(n.prototype),"countPushDownAttr",this).call(this,t,!0),o=this.getPadding("top")+this.getBorderWidth("top");return!1===isFinite(t)&&(r=o),Math.max(this.getMinimalDistance()+o,r+this.getFooterMargin())}}]),n}(n(1734).a)},2355:function(e,t,n){n.d(t,"a",function(){return A});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(226),l=n(2098),d=n(2028),h=n(107),f=n(1299),v=n(1606),
1018g=n(1733),p=n(2566),y=n(40),b=n(1553),m=n(2029),w=n(2680);function S(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=O(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1019}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function O(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==
1020t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function k(e){var t=P();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
1021function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WGallery");var A=function(e){Object(o.a)(n,e);var t=k(n);function n(e){var r,a;Object(i.a)(this,n);var o=(r=t.call(this,e))._getGalleryImagesWrapper().querySelector(".ww_element_animation.header_animation");return webwave.isDefAndNotNull(o)&&(a=JSON.parse(o.innerHTML),o.remove()),r._headerInnerElement=new p.a({rwdAnimationMaps:a}),r._thumbnailsWidth=webwave.isNumberAndNotNaN(e.thumbnailsWidth)?e.thumbnailsWidth:n.DEFAULT_THUMBNAIL_SIZE.width,
1022r._thumbnailsHeight=webwave.isNumberAndNotNaN(e.thumbnailsHeight)?e.thumbnailsHeight:n.DEFAULT_THUMBNAIL_SIZE.height,r._thumbnailsCropType=webwave.isValidEnumValue(e.thumbnailsCropType,c.a)?e.thumbnailsCropType:c.a.COVER,r._panelSize=null,r._galleryView=null,r._initGalleryImageClick(),r.kenBurnsService=null,r.browserWebPSupportUtils=null,r._animator=null,r._images=[],r}return Object(r.a)(n,[{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this.setPanelSize(this.calcGalleryWrapSize())}},
1023{key:"getDefaultGalleryViewSettings",value:function e(){var t={};return t.show_filmstrip_nav=d.a.show_filmstrip_nav,t.show_infobar=d.a.show_infobar,t.frame_gap=this.getFrameGap(),t.onOverlayChange=this.overlayChangeHandler.bind(this),t.panel_scale=d.a.panel_scale,t}},{key:"getFrameGap",value:function e(){return d.a.frame_gap}},{key:"createGvImageMapByGalleryImage",value:function e(t){var n,i,r=t.getImageSrc(),a,o,s,u=t.getCroppedImageSize();if(webwave.isDefAndNotNull(u)){var c=t.getCroppedImageSrc();
1024a=this.browserWebPSupportUtils.changeSrcIfWebPSupported(c),o=u.getWidth(),s=u.getHeight()}else a=t.getUseWebp()?this.browserWebPSupportUtils.changeSrcIfWebPSupported(r):r,o=t.getImageSize().getWidth(),s=t.getImageSize().getHeight();return{imageUrl:a,title:t.getTitleHtml(),metaTitle:t.getTitle(),altText:t.alternativeTitle||"",width:parseInt(o,10),height:parseInt(s,10),link:{href:r,target:"_blank",title:t.getTitle()},imageCropData:this._getImageCropDataFromGalleryImage(t),thumbnailUrl:t.getThumbnailSrc(),
1025thumbnailWidth:null===(n=t.getThumbnailSize())||void 0===n?void 0:n.getWidth(),thumbnailHeight:null===(i=t.getThumbnailSize())||void 0===i?void 0:i.getHeight()}}},{key:"_getImageCropDataFromGalleryImage",value:function e(t){return webwave.isDefAndNotNull(null===t||void 0===t?void 0:t.getCropData())?t.getCropData():f.a.createDefaultWithCropType(d.a.panel_scale)}
1025},{key:"createGalleryViewImagesList",value:function e(){for(var t=[],n=this.getImages(),i=0;i<n.length;i++)t.push(this.createGvImageMapByGalleryImage(n[i]));
1026return t}},{key:"createGalleryViewSettings",value:function e(){var t=this.getDefaultGalleryViewSettings(),n=this.getPanelSize();t.panel_width=n.getWidth(),t.panel_height=n.getHeight();var i=this._getGalleryImagesWrapper();t.show_filmstrip=this.isThumbnailsEnabled(),t.filmstrip_position=this.getGalleryThumbnailsPosition(),t.enable_overlays="true"===i.getAttribute("infobox_enabled"),t.overlay_position=i.getAttribute("infobox_position"),t.show_panel_nav="false"!==i.getAttribute("show_panel_nav"),t.autoplay=
1027"false"!==i.getAttribute("animation_autoplay"),t.panel_animation=i.getAttribute("animation_type"),t.transition_speed=parseInt(i.getAttribute("animation_duration")),t.transition_interval=parseInt(i.getAttribute("animation_delay")),t.frame_scale=this.getThumbnailsCropType(),t.frame_width=this.getThumbnailsWidth(),t.frame_height=this.getThumbnailsHeight();var r=parseInt(i.getAttribute("nextPrevButtonsDistance"));t.prevButtonDistance=r,t.nextButtonDistance=r,t.onImageChanged=this.imageChangedHandler.bind(this);
1028var a=i.getAttribute("paragraphtextstyleid");webwave.isDef(a)&&(t.paragraph_text_style_id=a);var o=i.getAttribute("headertextstyleid");return webwave.isDef(o)&&(t.header_text_style_id=o),t.images=this.createGalleryViewImagesList(),t}},{key:"_getGalleryImagesWrapper",value:function e(){return this.getDomObject()[0].querySelector(".galleryList")}},{key:"_updateHeaderInnerElement",value:function e(){var t=this.getHeaderInnerElement(),n=this._getGalleryWrapper().find(".gv_overlayHeaderWrapper");n.length>
10290&&webwave.isDef(t)&&(t.setDomObject(n),t.reloadTextRwdProperties(),n.data("wInnerElement",t))}},{key:"recreateContent",value:function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.getImages().length>0){if(!0===n.force)webwave.isDefAndNotNull(this._galleryView)&&this._galleryView.dispose();else if(webwave.isDefAndNotNull(this._galleryView))return void this._galleryView.resize(this.createGalleryViewSettings(),this.getContent()[0]);var i=document.createElement("div");
1030this.getContent()[0].appendChild(i);var r=this.createGalleryViewSettings();this._galleryView=new com.webwave.webgal.GalleryView(r,i),this._galleryView.setAnimator(this.getAnimator()),this._galleryView.addImageLoadedListener(function(e){0===e&&t.removePreloadWrapper()}),this.updateHeaderVisibility(),this._updateHeaderInnerElement()}}},{key:"initKenBurnsType",value:function e(t){this.setKenBurnsService(t);var n=this._getGalleryImagesWrapper().getAttribute("data-ken-burns-type");this.kenBurnsType=webwave.isValidEnumValue(n,
1031v.a)?n:v.a.DISABLED}},{key:"isKenBurnsEnabled",value:function e(){return this.kenBurnsType!==v.a.DISABLED}},{key:"initKenBurns",value:function e(){if(this.isKenBurnsEnabled()){var t=$(".gv_panel.currentPanel img");this.kenBurns=this.kenBurnsService.initKenBurnsEffectOnElement(t,this.kenBurnsType)}}},{key:"imageChangedHandler",value:function e(t){if(this.isKenBurnsEnabled()&&webwave.isDefAndNotNull(this.kenBurnsService)){var n=t.find("img");webwave.isNotDef(this.kenBurns)?this.kenBurns=this.kenBurnsService.initKenBurnsEffectOnElement(n,
1032this.kenBurnsType):(this.kenBurns.stop(),this.kenBurns.$targetElement=n,this.kenBurns.update())}}},{key:"_initGalleryImageClick",value:function e(){var t=this;this.getDomObject().on("click",".gv_panelWrap a",function(e){e.preventDefault(),t.openLightboxPlugin()}),this.getDomObject().on("mousedown",".gv_panelWrap a",function(e){e.preventDefault()})}},{key:"getCurrentImageIndex",value:function e(){return webwave.isDefAndNotNull(this._galleryView)?this._galleryView.iterator:-1}},{key:"_createPhotoSwipeImageMapByGalleryImage",
1033value:function e(t){var n=t.getImageSrc(),i=t.getImageSize().getWidth(),r=t.getImageSize().getHeight(),a=t.getThumbnailSrc();!1===webwave.isStringAndNotEmpty(a)&&(a=n);var o="",s=t.getDescription();return webwave.isDef(s)&&""!=s&&(o+="<div>".concat(s,"</div>")),{src:n,w:i,h:r,msrc:a,title:o}}},{key:"getImages",value:function e(){return this._images}},{key:"openLightboxPlugin",value:function e(){for(var t=[],n=this.getImages(),i=0;i<n.length;i++)t.push(this._createPhotoSwipeImageMapByGalleryImage(n[i]));
1034this.getPhotoswipeService().openAsLightbox(t,this.getCurrentImageIndex())}},{key:"setPanelSize",value:function e(t){this._panelSize=t}},{key:"getPanelSize",value:function e(){return this._panelSize}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this);var t=this.calcGalleryWrapSize(),i=this.getPanelSize();
1034webwave.isDefAndNotNull(i)&&!1===i.equals(t)&&(this.setPanelSize(t),webwave.isDefAndNotNull(this._galleryView)&&this.recreate())}},
1035{key:"getHeaderInnerElement",value:function e(){return this._headerInnerElement}},{key:"getThumbnailsHeight",value:function e(){return this._thumbnailsHeight}},{key:"setThumbnailsHeight",value:function e(t){this._thumbnailsHeight=t}},{key:"getThumbnailsWidth",value:function e(){return this._thumbnailsWidth}},{key:"setThumbnailsWidth",value:function e(t){this._thumbnailsWidth=t}},{key:"isThumbnailsEnabled",value:function e(){return this._thumbnailsEnabled}},{key:"setThumbnailsEnabled",value:function e(t){this._thumbnailsEnabled=
1036t}},{key:"getThumbnailsCropType",value:function e(){return this._thumbnailsCropType}},{key:"setThumbnailsCropType",value:function e(t){this._thumbnailsCropType=t}},{key:"getGalleryThumbnailsPosition",value:function e(){return this._thumbnailsPosition}},{key:"setGalleryThumbnailsPosition",value:function e(t){this._thumbnailsPosition=t}},{key:"overlayChangeHandler",value:function e(){this.updateHeaderVisibility();var t=this.getHeaderInnerElement(),n;webwave.isDef(t)&&(t.getDomObject().length>0&&(t.reloadTextRwdProperties(),
1037t.playCurrentAnimation()))}},{key:"updateHeaderVisibility",value:function e(){var t=this._getGalleryWrapper().find(".gv_overlayHeaderWrapper");if(t.length>0){var n=t.html(),i=h.a.html2Text(n).length>0,r=n.indexOf("<img")>-1;t.toggle(i||r)}}},{key:"updateObjectForRwdChange",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"updateObjectForRwdChange",this).call(this,t),this._headerInnerElement.loadRwdProperties(t),this._isImagesInitialized()&&(this._loadImagesRwdProperties(t),this.setPanelSize(this.calcGalleryWrapSize()),
1038this.recreateContent({force:!0}))}},{key:"setKenBurnsService",value:function e(t){this.kenBurnsService=t}},{key:"calcGalleryWrapSize",value:function e(){var t=this.getInnerWidth(),n=this.getInnerHeight();if(this.isThumbnailsEnabled()){var i=this.getGalleryThumbnailsPosition();"left"==i||"right"==i?t=t-this.getThumbnailsWidth()-this.getFrameGap():n=n-this.getThumbnailsHeight()-this.getFrameGap()}return new y.a({width:t,height:n})}},{key:"addImgLazyLoad",value:function e(){Object(a.a)(Object(u.a)(n.prototype),
1039"addImgLazyLoad",this).call(this),this.addObjectToIntersectionObserver(new w.a(this))}},{key:"useAdvancedTextEditor",value:function e(){return!0}},{key:"getImagePropertiesFromDom",value:function e(t){var n,i,r,a,o=null===(n=t.querySelector('[itemprop="name"]'))||void 0===n?void 0:n.getAttribute("content"),s=null===(i=t.querySelector('[itemprop="alternateName"]'))||void 0===i?void 0:i.getAttribute("content"),u=null===(r=t.querySelector('[itemprop="description"]'))||void 0===r?void 0:r.getAttribute("content"),
1040c=null===(a=t.querySelector('[itemprop="caption description"]'))||void 0===a?void 0:a.innerHTML,l,d=null===t||void 0===t?void 0:t.querySelector("script");return webwave.isDefAndNotNull(d)&&(l=JSON.parse(d.textContent).rwdProperties),{title:o,alternativeTitle:s,description:u,titleHtml:c,rwdProperties:l}}},{key:"createImageFromDom",value:function e(t){return new l.a(this.getImagePropertiesFromDom(t))}},{key:"initializeImages",value:function e(){this._images=this._deserializeImages();var t=this.getRwdService(),
1041n=S(this._images),i;try{for(n.s();!(i=n.n()).done;){var r;i.value.initialize(t)}}catch(e){n.e(e)}finally{n.f()}this._loadImagesRwdProperties(t.getCurrentRwdMode()),this.recreate()}},{key:"setAnimator",value:function e(t){this._animator=t}},{key:"getAnimator",value:function e(){return this._animator}},{key:"setPhotoswipeService",value:function e(t){this.photoswipeService=t}},{key:"getPhotoswipeService",value:function e(){return this.photoswipeService}},{key:"getInnerElements",value:function e(){var t=
1042Object(a.a)(Object(u.a)(n.prototype),"getInnerElements",this).call(this);return t.push(this.getHeaderInnerElement()),t}},{key:"loadAdditionalData",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"loadAdditionalData",this).call(this,t),this._thumbnailsEnabled=t.thumbnailsEnabled,this._thumbnailsPosition=webwave.isValidEnumValue(t.thumbnailsPosition,b.a)?t.thumbnailsPosition:b.a.BOTTOM}},{key:"_deserializeImages",value:function e(){for(var t=this._getGalleryImagesWrapper().children,n=[],i=
10430;i<t.length;i++)n.push(this.createImageFromDom(t[i]));return n}},{key:"_loadImagesRwdProperties",value:function e(t){for(var n=0;n<this._images.length;n++)this._images[n].loadRwdProperties(t)}},{key:"_isImagesInitialized",value:function e(){return this.getImages().length>0}},{key:"removePreloadWrapper",value:function e(){}},{key:"_getGalleryWrapper",value:function e(){return this.getDomObject().find(".gv_galleryWrap:not(.".concat(m.a.PRELOAD_WRAPPER,")"))}}]),n}(g.a);A.DEFAULT_THUMBNAIL_SIZE=new y.a({width:d.a.gallery_thumbnails_width,
1044height:d.a.gallery_thumbnails_height}),com.webwave.publication.object.WGallery=A},2356:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this._rwdProperties=this.deserialize(t)}return Object(r.a)(e,[{key:"deserialize",value:function e(t){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=this.deserializeProperties(t[i]));return n}},{key:"deserializeProperties",value:function e(){throw new Error("Not supported for abstract class");}},{key:"applyProperties",
1045value:function e(t){throw new Error("Not supported for abstract class and property ".concat(t));}},{key:"loadRwdProperties",value:function e(t){this.applyProperties(this.getRwdService().searchForClosestObjectByRwdMode(this.getRwdPropertiesMaps(),t))}},{key:"getRwdPropertiesMaps",value:function e(){return this._rwdProperties}},{key:"setRwdService",value:function e(t){this._rwdService=t}},{key:"getRwdService",value:function e(){return this._rwdService}}]),e}()},2357:function(e,t,n){n.d(t,"a",function(){return O});
1046var i=n(14),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(839),d=n(973),h=n(40),f=n(2681),v=n(2069),g=n(2029),p=n(2070);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1046t%2?y(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?
1047Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e){var t=w();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;
1048try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WSlider");var S,O=function(e){Object(s.a)(n,e);var t=m(n);function n(e){var i;if(Object(r.a)(this,n),(i=t.call(this,e))._thumbnailsWidth=webwave.isNumberAndNotNaN(e.thumbnailsWidth)?e.thumbnailsWidth:p.b.contentData.thumbnailsWidth,i._thumbnailsHeight=webwave.isNumberAndNotNaN(e.thumbnailsHeight)?e.thumbnailsHeight:p.b.contentData.thumbnailsHeight,
1049i._imagesLinkData=[],webwave.isArrayLike(e.imagesLinkData))for(var a=e.imagesLinkData,o=0;o<a.length;o++)i._imagesLinkData.push(d.a.createLink(a[o]));return i}return Object(a.a)(n,[{key:"createGvImageMapByGalleryImage",value:function e(t){var i=Object(o.a)(Object(c.a)(n.prototype),"createGvImageMapByGalleryImage",this).call(this,t);i.thumbnailUrl=wwConfig.additionalResoucresUrl.images.sliderDotImage,i.thumbnailWidth=this.getThumbnailsWidth(),i.thumbnailHeight=this.getThumbnailsHeight();var r=t.getHref();
1050return webwave.isStringAndNotEmpty(r)?i.link={href:r,target:t.getTarget(),samepage:t.getSamePage()}:i.link=void 0,i}},{key:"_initGalleryImageClick",value:function e(){}},{key:"getLinkData",value:function e(){return this._imagesLinkData[this.getCurrentImageIndex()]}},{key:"getDefaultGalleryViewSettings",value:function e(){var t=Object(o.a)(Object(c.a)(n.prototype),"getDefaultGalleryViewSettings",this).call(this);return t.enable_overlays=!0,t.filmstrip_style=v.a.filmstrip_style,t.filmstrip_on_image=
1051v.a.filmstrip_on_image,t.showFilmstripOnHover=v.a.showFilmstripOnHover,t}},{key:"getFrameGap",value:function e(){return v.a.frame_gap}},{key:"calcGalleryWrapSize",value:function e(){return new h.a({width:this.getInnerWidth(),height:this.getInnerHeight()})}},{key:"afterDomSizeChange",value:function e(){if(Object(o.a)(Object(c.a)(n.prototype),"afterDomSizeChange",this).call(this),this.isInitialized()&&this.getPanelSize()){var t=this.calcGalleryWrapSize();!1===this.getPanelSize().equals(t)&&this.setPanelSize(t)}}},
1052{key:"getImagePropertiesFromDom",value:function e(t){var i=t.querySelector('[itemprop="url"]'),r,a,s;return webwave.isDefAndNotNull(i)&&(r="interactionLinkData"===i.dataset.linkType?"javascript:void(0);":i.getAttribute("href"),a=i.getAttribute("target"),s="true"===i.getAttribute("data-samepage")),b(b({},Object(o.a)(Object(c.a)(n.prototype),"getImagePropertiesFromDom",this).call(this,t)),{href:r,target:a,samePage:s})}},{key:"createImageFromDom",value:function e(t){return new f.a(this.getImagePropertiesFromDom(t))}},
1053{key:"removePreloadWrapper",value:function e(){var t;null===(t=this.getContent()[0].querySelector(".".concat(g.a.PRELOAD_WRAPPER)))||void 0===t||t.remove()}}]),n}(com.webwave.publication.object.WGallery);com.webwave.publication.object.WSlider=O},2358:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(40),l=n(1613);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,
1054a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WSimpleText");var f=function(e){Object(o.a)(n,e);var t=d(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,
1055[{key:"getTextFrameEl",value:function e(){return this.cachedDom.textFrame}},{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return i.textFrame=i.content.children[0],i}},{key:"calculateMinContentSize",value:function e(){var t=this.getTextFrameEl();return new c.a({width:0,height:t.offsetHeight})}},{key:"onVisibilityChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this),this.isVisible()&&this.updateMinSize()}}]),
1056n}(l.a);com.webwave.publication.object.WSimpleText=f},2359:function(e,t,n){n.d(t,"a",function(){return m});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2360),l=n(1606),d=n(210),h=n(1676),f=n(1298),v=n(1656),g=n(30);function p(e){var t=y();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;
1057if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WImg");var b,m=function(e){Object(o.a)(n,e);var t=p(n);function n(e){var r,a;return Object(i.a)(this,n),(a=t.call(this,e)).imageMap={},a.svgImage=null===(r=a._getImgDomNode())||void 0===r?void 0:r.classList.contains("svgImage"),a.kenBurnsService=null,a.browserWebPSupportUtils=null,a.isEnabledImageParallax=!1,
1058a}return Object(r.a)(n,[{key:"onPropertyChange",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"onPropertyChange",this).call(this,t),t.propertyName===c.a.BROWSER_ZOOM_LEVEL&&this.tryToCorrectBorderValues()}},{key:"tryToCorrectBorderValues",value:function e(){var t=this,n=this.getContentEl();
1058Object.values(d.a).forEach(function(e){var i="border-".concat(e,"-width"),r=parseInt(t.getContentComputedProperty(i)),a=t.getBorderWidth(e,!0);if(a>r){var o=a-r;n.style[i]="".concat(a+o,"px")}})}},{key:"init",
1059value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this);var t=this._getImgDomNode();webwave.isDef(t)&&(this.updateImageParallaxPosition(),t.onload=this.onDomImageLoad.bind(this)),this.cloneComputedStyleToInlineInContent(),this.tryToCorrectBorderValues(),this.pageCanvas.addPropertyChangeListener(c.a.BROWSER_ZOOM_LEVEL,this)}},{key:"updateStateStyle",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"updateStateStyle",this).call(this),this.tryToCorrectBorderValues()}},
1060{key:"updateImageParallaxPosition",value:function e(){var t=this._getImgDomNode();webwave.isDefAndNotNull(t)&&(this.updateBackgroundParallaxPosition(),this.isParallaxActive()?this.backgroundParallaxService.addParallaxListener(this):this.backgroundParallaxService.removeParallaxListener(this))}},{key:"setIsEnabledParallax",value:function e(t){this.isEnabledImageParallax=t}},{key:"getIsEnabledParallax",value:function e(){return this.isEnabledImageParallax}},{key:"getImageParallax",value:function e(){var t=
1061this.imageMap.imageParallax;return webwave.isNotDef(t)&&(t=v.a.DEFAULT_PARALLAX_VALUE),t}},{key:"initKenBurnsType",value:function e(t){var n;this.setKenBurnsService(t);var i=null===(n=this._getImgDomNode())||void 0===n?void 0:n.getAttribute("data-ken-burns-type");this.kenBurnsType=webwave.isValidEnumValue(i,l.a)?i:l.a.DISABLED}},{key:"isKenBurnsEnabled",value:function e(){return this.kenBurnsType!==l.a.DISABLED}},{key:"initKenBurns",value:function e(){if(this.isKenBurnsEnabled()){var t=this.getImageWrapper();
1062this.kenBurnsService.initKenBurnsEffectOnElement(t,this.kenBurnsType)}}}
1062,{key:"updateBackgroundParallaxPosition",value:function e(t){if(!0!==g.a.getValue("publicatedPageApp.disableParallaxOnElements")){Object(a.a)(Object(u.a)(n.prototype),"updateBackgroundParallaxPosition",this).call(this,t),webwave.isNotDef(t)&&(t=pageService.getWindowScroll());var i,r=this.imageMap.imageParallax;if(webwave.isNumberAndNotNaN(t)&&100!==r){var o=this._getImgDomNode();if(webwave.isDefAndNotNull(o)){var s=this.getY(),
1063c=t-s,l=parseInt(c-r/100*c);if(this.isBackgroundSizeCover()&&r>100&&webwave.isDefAndNotNull(this.getPageAreaService())){var d=this.getPageAreaService().getWindowHeight(),h,f;l=(r-100)/100*(-t+Math.max(s-d,0))}if(this.isSvgImage()){var v=l<0?" - "+Math.abs(l)+"px":" + "+l+"px";o.style.backgroundPositionY="calc(50%"+v+")"}else o.style.transform="translate3D(0,"+l+"px, 0)"}}}}},{key:"isBackgroundSizeCover",value:function e(){var t=this._getImgDomNode();if(webwave.isDef(t))return"imageCrop"===t.getAttribute("backgroundsize")}},
1064{key:"computeImageHeight",value:function e(){var t=this.getImageParallax(),i=Object(a.a)(Object(u.a)(n.prototype),"getInnerHeight",this).call(this);if(!this.isParallaxActive()||!this.isBackgroundSizeCover())return i;var r=this.getPageAreaService().getWindowHeight(),o,s;if(t<100)return i+(100-t)/100*Math.abs(r-i);if(t>100){var c=this.getComputedPosition().getY(),l=Math.max(c-r,0),d=(t-100)/100,h;return i+Math.abs(d*(-(c+i)+l))}}},{key:"onDomImageLoad",value:function e(){var t=this._getImgDomNode();
1065webwave.isDef(t)&&webwave.isFunction(t.externalImageLoad)?t.externalImageLoad({imgDomNode:t,width:this.getWidth(),height:this.getHeight()}):this.resizeImgDomElement(),webwave.isDef(t)&&!0===g.a.getValue("publicatedPageApp.disableParallaxOnElements")&&(this.imageMap.imageParallax=void 0)}},{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return i.imageWrapper=i.content.children[0],i.imageWrapper&&(i.imgDomNode=i.imageWrapper.getElementsByTagName("img")[0]),
1066i}},{key:"getImageWrapper",value:function e(){return webwave.isNotDef(this._imgWrapper)&&(this._imgWrapper=$(this.cachedDom.imageWrapper)),this._imgWrapper}},{key:"_getImgDomNode",value:function e(){return this.cachedDom.imgDomNode}},{key:"isParallaxActive",value:function e(){return!0!==g.a.getValue("publicatedPageApp.disableParallaxOnElements")&&(Object(a.a)(Object(u.a)(n.prototype),"isParallaxActive",this).call(this)||100!==this.getImageParallax())}},{key:"updateObjectForRwdChange",value:function e(t){var i=
1067this._getImgDomNode();webwave.isDefAndNotNull(i)&&(i.removeAttribute("style"),Object(a.a)(Object(u.a)(n.prototype),"updateObjectForRwdChange",this).call(this,t),this.cloneComputedStyleToInlineInContent(),this.updateImageParallaxPosition(),this._changeLazyLoadedScr(),this.resizeImgDomElement())}},{key:"_changeLazyLoadedScr",value:function e(){var t=com.webwave.publication.intersectionObserver.object.WIntersectionObservedImg,n=this.getDomObject().find("img"),i=n.attr("src"),r=n.attr(t.LAZY_LOAD_ATTR_NAME);
1068r=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(r,n[0]),webwave.isDef(i)&&-1===i.indexOf("data:image/gif;base64")&&n.attr("src",r)}},{key:"isSvgImage",value:function e(){return this.svgImage}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this.resizeImgDomElement()}},{key:"computeContentHeight",value:function e(){return!1===(this.isParallaxActive()&&this.isBackgroundSizeCover())?Object(a.a)(Object(u.a)(n.prototype),
1069"getInnerHeight",this).call(this):this.computeImageHeight()}},{key:"resizeImgDomElement",value:function e(){var t=this._getImgDomNode();if(webwave.isDefAndNotNull(t)){var n={contentWidth:this.getInnerWidth(),contentHeight:this.computeContentHeight(),element:t,imageWidth:t.getAttribute("imageWidth"),imageHeight:t.getAttribute("imageHeight")};this.isSvgImage()?t.style.height="".concat(this.computeImageHeight(),"px"):domElementService.resizeImgDomElement(n)}}},{key:"setKenBurnsService",value:function e(t){this.kenBurnsService=
1070t}},{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}},{key:"addImgLazyLoad",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"addImgLazyLoad",this).call(this);var t=this._getImgDomNode();webwave.isDefAndNotNull(t)&&!0!==g.a.getValue("publicatedPageApp.disableLazyLoad")&&(t.hasAttribute(f.a.LAZY_LOAD_ATTR_NAME)?this.createDomWIntersectionObserved(new f.a(t)):t.hasAttribute(h.a.LAZY_LOAD_ATTR_NAME)&&this.createDomWIntersectionObserved(new h.a(t)))}},{key:"getAnimatingContent",
1071value:function e(){return this.getImageWrapper()}},{key:"loadAdditionalData",value:function e(t){var i=t.imageParallax,r=t.isEnabledImageParallax;!1!==webwave.isNumberAndNotNaN(i)&&!1!==r||(i=n.DEFAULT_PARALLAX_VALUE),this.imageMap.imageParallax=i}}]),n}(com.webwave.publication.object.LinkWElement);com.webwave.publication.object.WImg=m},2360:function(e,t,n){t.a={BROWSER_ZOOM_LEVEL:"browserZoomLevel"}},2361:function(e,t,n){n.d(t,"a",function(){return r});var i=n(0),r=function e(){var t=arguments.length>
10720&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.zoom=t.zoom,this.center=t.center,this.sQuery=t.sQuery,this.mapType=t.mapT
1072ype,this.width=t.width,this.height=t.height}},2362:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a="AIzaSyCJMzPr06tNkQ6l8-Gwv9VxQ3uk_hqAZcY",o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"renderGoogleMapHtml",value:function e(t){var n="key=".concat(a,"&zoom=").concat(t.zoom),i="view";return webwave.isStringAndNotEmpty(t.sQuery)?
1073(n+="&q=".concat(encodeURIComponent(t.sQuery)),i="place"):webwave.isNotDefOrNull(t.center)&&(n+="&center=52.2396615932874,21.042228700000037"),webwave.isDefAndNotNull(t.center)&&(n+="&center=".concat(t.center.latitude,",").concat(t.center.longitude)),n+="&maptype=".concat(t.mapType),'<iframe\n            id="mapIframe"\n            width="'.concat(t.width,'"\n            height="').concat(t.height,'"\n            frameborder="0"\n            style="border:0;"\n            src="https://www.google.com/maps/embed/v1/').concat(i,
1074"?").concat(n,'">\n        <iframe>')}}]),e}()},2363:function(e,t,n){var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2031),l=n(1599);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1075[],function(){})),!0}catch(e){return!1}}var f=function e(t){return function(e){Object(o.a)(n,e);var t=d(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"animateBackwardMenuIcon",value:function e(){throw"Not implemented";}},{key:"animateForwardMenuIcon",value:function e(){throw"Not implemented";}},{key:"getDomObject",value:function e(){return Object(a.a)(Object(u.a)(n.prototype),"getDomObject",this).call(this)}},{key:"getElementService",value:function e(){throw"Not implemented";
1076}},{key:"getMenuFrameWrapper",value:function e(){throw"Not implemented";}},{key:"getMobileMenuPosition",value:function e(){throw"Not implemented";}},{key:"getMobileMenuVisible",value:function e(){throw"Not implemented";}},{key:"hideMobileMenu",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{doNotHideWrapper:!1};if(this.isMobileMenu()&&this.getMobileMenuVisible()){this.animateBackwardMenuIcon();var n=this.getMenuFrameWrapper(),i=this.getDomObject(),r=this.getElementService();
1077!1===t.doNotHideWrapper?this.getMobileMenuPosition()===l.a.LEFT||this.getMobileMenuPosition()===l.a.RIGHT?n.finish().animate({width:0},{always:function e(){n.get(0).style.width=""},done:function e(){n.hide(),r.moveElementBack(i)}}):this.getMobileMenuPosition()===l.a.BOTTOM&&n.finish().animate({height:0},{always:function e(){n.get(0).style.height=""},done:function e(){n.hide(),r.moveElementBack(i)}}):r.moveElementBack(i),this.setMobileMenuVisible(!1)}}},{key:"isMobileMenu",value:function e(){throw"Not implemented";
1078}},{key:"isTargetMenuWrapper",value:function e(t){return this.getMenuFrameWrapper().is(t)}},{key:"prepareMenuFrameToShowMobileMenu",value:function e(t){throw"Not implemented";}},{key:"setMobileMenuVisible",value:function e(t){throw"Not implemented";}},{key:"showMobileMenu",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isMobileMenu()&&!1===this.getMobileMenuVisible()){this.animateForwardMenuIcon();var n=this.getMenuFrameWrapper();if(this.prepareMenuFrameToShowMobileMenu(n),
1079!0!==t.noAnimation)if(this.getMobileMenuPosition()===l.a.LEFT||this.getMobileMenuPosition()===l.a.RIGHT){var i=this.getMenuFrameWrapper().width();n.width(0),this.getElementService().moveElementOnTop(this.getDomObject()),n.animate({width:i},{done:function e(){n.get(0).style.width=""}})}else if(this.getMobileMenuPosition()===l.a.BOTTOM){var r=this.getMenuFrameWrapper().height();n.height(0),this.getElementService().moveElementOnTop(this.getDomObject()),n.animate({height:r},{done:function e(){n.get(0).style.height=
1080""}})}this.setMobileMenuVisible(!0)}}},{key:"getIconImageUrl",value:function e(t){throw"Not implemented";}},{key:"getMobileMenuIcon",value:function e(){throw"Not implemented";}},{key:"updateIconInMobileMenu",value:function e(){var t=this.getIconImageUrl(),n=this.getMobileMenuIcon();c.a.changeMobileMenuImageSrc(n,t)}}]),n}(t)};t.a=f}
1080,2364:function(e,t,n){t.a={TITLE:"title",NAME:"nameText"}},2365:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=
1081l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r,
1082a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;return Object(i.a)(this,n),(r=t.call(this,e,a)).type=o,r.feedItemDataProperty=a.feedItemDataProperty,r.selectorClassName=a.selectorClassName,r}return Object(r.a)(n,[{key:"getTextElement",value:function e(t){return t.querySelector(".".concat(this.selectorClassName))}},{key:"shouldAddToCountMinSize",value:function e(){return!0}},{key:"updateSingleFeedItemElData",value:function e(t){var n=this.getTextElement(t.feedItemEl);
1083webwave.isDefAndNotNull(n)&&webwave.isDefAndNotNull(this.feedItemDataProperty)&&(n.textContent=t.feedItemData[this.feedItemDataProperty])}}]),n}(n(1300).a)},2366:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(40),o=function(){function e(t){Object(i.a)(this,e),this.feed=t,this.minSize=new a.a({}),this.biggestSize=new a.a({})}return Object(r.a)(e,[{key:"addMinSizeWidth",value:function e(t){this.minSize.addWidth(t)}},{key:"countMinSize",value:function e(){this.addMinSizeWidth(this.countMinSizeByInnerElementType(this.feed.getItemElementName()).getWidth());
1084for(var t=this.feed.getInnerElementNameForIteration(),n=new a.a({}),i,r=0;r<t.length;r++){var o=t[r],s=this.feed.getInnerElementByName(o);s.shouldAddToCountMinSize()?(i=this.countMinSizeByInnerElementType(s.type),n.setWidth(Math.max(n.getWidth(),i.getWidth()))):s.shouldAddWidth()&&this.addMinSizeWidth(s.getWidthValueToAdd())}return this.addMinSizeWidth(n.getWidth()),this.minSize}},{key:"countMinSizeByInnerElementType",value:function e(t){var n;return this.feed.getInnerElementByName(t).countMinSize()}}]),
1085e}()},2367:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1086[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getHtml5Object",value:function e(){return this.getDomObject()[0].querySelector("video")}}]),n}(n(2368).a)},2368:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c;function l(e){var t=d();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,
1087arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(o.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"fetchVideoPropertiesFromDomObject",value:function e(){var t=
1088this.getHtml5Object();webwave.isDefAndNotNull(t)&&(this.videoProperties={autoPlay:"true"===t.dataset.autoplay})}},{key:"initPlayer",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"initPlayer",this).call(this),this.player=this.getHtml5Object(),web
1088wave.isDefAndNotNull(this.player)&&(this.player.style.display="block",this.playerReady=!0,this.isCustomThumbnailWithoutAutoPlay()?this.playVideo():this.tryToAutoPlayVideo())}},{key:"getHtml5Object",value:function e(){}},{key:"playVideo",value:function e(){var t;
1089null===(t=this.player)||void 0===t||t.play(),this.wasAutoPlayed=!0}},{key:"pauseVideo",value:function e(){var t;null===(t=this.player)||void 0===t||t.pause()}}]),n}(n(2100).a)},2369:function(e,t){!function(){webwave.provide("com.webwave.util.cssUtils.parseBoxShadow");var e=/,(?![^\(]*\))/,t=/\s(?![^(]*\))/,n=/^[0-9]+[a-zA-Z%]+?$/,i=function e(n){var i=n.split(t),r=i.includes("inset"),s=i.slice(-1)[0],u=i[0],c=a(s)?void 0:s;c||(c=a(u)?void 0:u);var l=i.filter(function(e){return"inset"!==e}).filter(function(e){return e!==
1090c}).map(o);return{inset:r,offsetX:l[0],offsetY:l[1],blurRadius:l[2],spreadRadius:l[3],color:c}},r=function e(t){var n=t.inset,i=t.offsetX?t.offsetX:0,r=t.offsetY?t.offsetY:0,a=t.blurRadius?t.blurRadius:0,o=t.spreadRadius,u=t.color;return[n?"inset":null,i,r,a,o,u].filter(function(e){return null!==e&&void 0!==e}).map(s).map(function(e){return(""+e).trim()}).join(" ")},a=function e(t){return"0"===t||n.test(t)},o=function e(t){if(!/px$/.test(t)&&"0"!==t)return t;var n=parseFloat(t);return isNaN(n)?t:
1091n},s=function e(t){return"number"==typeof t&&0!==t?t+"px":t},u=function t(n){return n.split(e).map(function(e){return e.trim()}).map(i)},c=function e(t){return t.map(r).join(", ")};com.webwave.util.cssUtils.parseBoxShadow=u}()},237:function(e,t,n){t.a={GUI:"gui_panel",CMS:"cms_panel",WM:"wm_panel"}},2370:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(2410),o=n(1122),s=n(1636),u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,
1092e),this.values=new o.a(t.values),this.separators=new a.a(t.separators),this.startCondition=s.a.TOP_VISIBLE,this.onlyOnce=!1}return Object(r.a)(e,[{key:"getValues",value:function e(){return this.values}},{key:"setValues",value:function e(t){this.values=t}},{key:"getSeparators",value:function e(){return this.separators}},{key:"setSeparators",value:function e(t){this.separators=t}},{key:"getStartCondition",value:function e(){return this.startCondition}},{key:"getOnlyOnce",value:function e(){return this.onlyOnce}}]),
1093e}()},2371:function(e,t,n){t.a=Object.freeze({DEFAULT:" ",DOT:".",SPACE:" ",COMMA:",",EMPTY:""})},2398:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(2399),r=n.n(i),a=n(1987),o=n.n(a),s=n(2400),u=n.n(s),c=n(2401),l=n.n(c),d=n(2402),h=n.n(d),f=n(2403),v=n.n(f),g=n(2404),p=n.n(g),y=n(2405),b=n.n(y)},2399:function(e,t){},240:function(e,t,n){n.d(t,"a",function(){return w});var i=n(0),r=n(1),a=n(1560),o=n(1212),s=n(1561),u=n(1541),c=n(66),l=n(1586),d=n(1587),h=n(1588),f=n(1221),
1094v=n(1563),g=n(1589),p=n(1592),y=n(1594),b=n(1595),m=n(10),w=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.id=t.id,this.description1=new c.a(t.description1),this.discountCodes=new l.a(t.discountCodes),this.dotPayEnabled=!!t.dotPayEnabled&&t.dotPayEnabled,this.formSettings=new v.a(t.formSettings),this.orderEmailAddress=new a.a(t.orderEmailAddress),this.orderSuccessInformation=this._parseOrderSuccessInformation(t),this.paymentProviderOptions=
1095new s.a(t.paymentProviderOptions),this.postage=new u.a(t.postage),this.storeColorSettings=new g.a(t.storeColorSettings),this.successPaymentAction=new o.a(t.successPaymentAction),this.termsAndConditions=new y.a(t.termsAndConditions),this.translation=new b.a(t.translation),this.minimumOrderAmountSettings=new h.a(t.minimumOrderAmount),this.generalSettings=new d.a(t.generalSettings),this.productCategories=t.productCategories,this.products=t.products,this.checkoutEnabled=!0===t.checkoutEnabled}return Object(r.a)(e,
1096[{key:"init",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.id=t.id;var n=webwave.isDef(t.shopSettingsPersonalisation)?t.shopSettingsPersonalisation:{};this.dotPayEnabled=t.dotPayEnabled||!1,this.productCategories=t.productCategories,this.products=t.products,this.orderEmailAddress=webwave.isDef(t.orderEmailAddress)?new a.a(t.orderEmailAddress):new a.a,this.postage=webwave.isDef(t.postage)?new u.a(t.postage):new u.a,this.minimumOrderAmountSettings=webwave.isDef(t.minimumOrderAmount)?
1097new h.a(t.minimumOrderAmount):new h.a,this.paymentProviderOptions=webwave.isDef(t.paymentProviderOptions)?new s.a(t.paymentProviderOptions):new s.a,this.generalSettings=webwave.isDef(t.generalSettings)?new d.a(t.generalSettings):new d.a,this.discountCodes=webwave.isDef(t.discountCodes)?new l.a(t.discountCodes):new l.a,this.termsAndConditions=webwave.isDef(t.termsAndConditions)?new y.a(t.termsAndConditions):new y.a,this.shopSett
1097ingsPersonalisation={id:n.id},this.orderSuccessInformation=webwave.isDef(n.orderSuccessInformation)?
1098new p.a(n.orderSuccessInformation):new p.a,this.description1=webwave.isDef(n.description1)?new c.a(n.description1):new c.a(t.description1),this.storeColorSettings=webwave.isDef(n.storeColorSettings)?new g.a(n.storeColorSettings):new g.a,this.formSettings=webwave.isDef(n.formSettings)?new v.a(n.formSettings):new v.a,this.successPaymentAction=webwave.isDef(n.successPaymentAction)?new o.a(n.successPaymentAction):new o.a,this.translation=this._initializeTranslationSettings(n),this.checkoutEnabled=!0===
1099n.checkoutEnabled}},{key:"decorateByServerData",value:function e(t){if(!webwave.isNotDef(t)){this.id=null===t||void 0===t?void 0:t.id;var n=t.shopSettingsPersonalisation;webwave.isDef(n)&&(this.shopSettingsPersonalisation={id:n.id}),webwave.isDef(t.orderEmailAddress)&&(this.orderEmailAddress=new a.a(t.orderEmailAddress)),webwave.isDef(t.postage)&&(this.postage=new u.a(t.postage)),webwave.isDef(t.minimumOrderAmount)&&(this.minimumOrderAmountSettings=new h.a(t.minimumOrderAmount)),webwave.isDef(t.paymentProviderOptions)&&
1100(this.paymentProviderOptions=new s.a(t.paymentProviderOptions)),webwave.isArrayWithMinimumNElements(t.productCategories,1)&&(this.productCategories=t.productCategories),webwave.isArrayWithMinimumNElements(t.products,1)&&(this.products=t.products),webwave.isDef(t.generalSettings)&&this.generalSettings.decorateByServerData(t.generalSettings),webwave.isDef(t.discountCodes)&&this.discountCodes.decorateByServerData(t.discountCodes),webwave.isDef(n.orderSuccessInformation)&&(this.orderSuccessInformation=
1101new p.a(n.orderSuccessInformation)),webwave.isDef(n.description1)&&(this.description1=new c.a(n.description1)),webwave.isDef(n.storeColorSettings)&&(this.storeColorSettings=new g.a(n.storeColorSettings)),webwave.isDef(n.formSettings)&&(this.formSettings=new v.a(n.formSettings)),webwave.isDef(n.translation)&&(this.translation=this._initializeTranslationSettings(n)),webwave.isDef(n.successPaymentAction)&&(this.successPaymentAction=new o.a(n.successPaymentAction)),webwave.isDef(t.termsAndConditions)&&
1102(this.termsAndConditions=new y.a(t.termsAndConditions))}}},{key:"getCurrency",value:function e(){return this.generalSettings.currency}},{key:"getLogoUrl",value:function e(){return this.generalSettings.logoUrl}},{key:"getLogoId",value:function e(){return this.generalSettings.logoId}},{key:"setCurrency",value:function e(t){this.generalSettings.currency=t}},{key:"getDataToOrder",value:function e(){var t=this.storeColorSettings.value.serialize();return Object.assign(t,{taxValue:this.getTaxValue(f.a.CONVERTED_TO_LONG),
1103currency:this.getCurrency(),description1:this.description1.value,sellerInfo:this.orderSuccessInformation.serializeValue,orderEmailAddress:this.orderEmailAddress.value,dotPayEnabled:this.dotPayEnabled,successUrl:this.successPaymentAction.url,freeShippingValue:this.postage.getFreeShippingValue(),checkoutEnabled:this.checkoutEnabled})}},{key:"getPaymentsAvailableForCurency",value:function e(){var t=this,n=[];return!0===this.paymentProviderOptions.enable&&this.paymentProviderOptions.value.forEach(function(e){e.paymentMethodAvailableForCurrency(t.getCurrency())&&
1104n.push(e)}),0===n.length&&(this.paymentProviderOptions.enable=!1),n}},{key:"getTaxValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a.DOUBLE,n=this.generalSettings.getTaxValue();return t===f.a.CONVERTED_TO_LONG?m.MathUtils.setFloatPriceToLong(n):n}},{key:"getStoreLayoutSettings",value:function e(){return this.storeColorSettings.value.getLayoutColors()}},{key:"isAnyPaymentMethodIntegration",value:function e(){return this.paymentProviderOptions.isAnyPaymentMethodIntegration()}},
1105{key:"paymentOnDeliveryEnable",value:function e(){return this.paymentProviderOptions.paymentOnDeliveryEnable()}},{key:"paymentProviderEnabled",value:function e(){return!0===this.paymentProviderOptions.enable}},{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};
1105return{description1:this.description1.serialize(t),discountCodes:this.discountCodes.serialize(t),dotPayEnabled:this.dotPayEnabled,formSettings:this.formSettings.serialize(),generalSettings:this.generalSettings.serialize(),
1106minimumOrderAmount:this.minimumOrderAmountSettings.serialize(t),orderEmailAddress:this.orderEmailAddress.serialize(t),orderSuccessInformation:this.orderSuccessInformation.serialize(t),paymentProviderOptions:this.paymentProviderOptions.serialize(),postage:this.postage.serialize(t),storeColorSettings:this.storeColorSettings.serialize(t),successPaymentAction:this.successPaymentAction.serialize(t),termsAndConditions:this.termsAndConditions.serialize(t),translation:this.translation.serialize(t),checkoutEnabled:this.checkoutEnabled}}},
1107{key:"_parseJson",value:function e(t,n){try{return JSON.parse(t)}catch(e){return console.warn("Failed to parse ".concat(n," JSON:"),e),{}}}},{key:"_initializeTranslationSettings",value:function e(t){if(webwave.isDef(t.translation)){var n=this._parseJson(t.translation.translations,"translation");return new b.a({enable:!0,value:n||{}})}return new b.a}},{key:"_parseOrderSuccessInformation",value:function e(t){return webwave.isDef(t.description2)?new p.a(t.description2):new p.a(t.orderSuccessInformation)}},
1108{key:"getStoreColorSettings",value:function e(){return this.storeColorSettings}},{key:"hasAvailableTaxInvoices",value:function e(){return this.generalSettings.availableTaxInvoices}},{key:"setAvailableTaxInvoices",value:function e(t){this.generalSettings.availableTaxInvoices=t}},{key:"setCheckoutEnabled",value:function e(t){this.checkoutEnabled=t}}]),e}()},2400:function(e,t){},2401:function(e,t){},2402:function(e,t){},2403:function(e,t){},2404:function(e,t){},2405:function(e,t){},2406:function(e,t,
1109n){n.d(t,"a",function(){return u});var i=n(0),r=n(122),a=n(2065),o=n(1203),s=n(1216),u=function e(t){Object(i.a)(this,e),this.positionOrigin=t.positionOrigin,this.position=new o.a(t.position),this.size=new s.a(t.size),this.fullWidth=t.fullWidth,this.additionalProperties=t.additionalProperties,this.animation=t.animation,this.hideAnimation=t.hideAnimation,this.visibility=t.visibility,this.style=a.a.deserialize(t.style),this.binds=t.binds,this.rotationEnabled=t.rotationEnabled,this.rotation=t.rotation,
1110this.animationOnScrollEnabled=t.animationOnScrollEnabled,this.animationOnScroll=t.animationOnScroll,this.fixed=t.fixed,this.sticky=t.sticky,this.stickyStartDistance=new r.a(t.stickyStartDistance),this.stickyEndDistance=new r.a(t.stickyEndDistance),this.stickyEndDistanceEnabled=t.stickyEndDistanceEnabled}},2407:function(e,t,n){var i="visible",r="hidden",a=""},2408:function(e,t,n){var i="afterInitializationServiceInitEvent";t.a="afterInitializationServiceInitEvent"},2409:function(e,t,n){n.d(t,"a",function(){return b});
1111var i=n(14),r=n(0),a=n(1),o=n(3),s=n(4),u=n(2),c=n(1598),l=n(27),d=n(15),h=n.n(d),f=n(17),v,g;function p(e){var t=y();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1112[],function(){})),!0}catch(e){return!1}}var b=(v=Object(d.injectable)())(g=function(e){Object(o.a)(n,e);var t=p(n);function n(){var e;Object(r.a)(this,n);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).objectService=null,e}return Object(a.a)(n,[{key:"removeAllInteractionVisibilities",value:function e(){for(var t=this.objectService.findAllWObjects().filter(function(e){return webwave.isDef(e.visibilities.getInteractionVisibility())}),
1113n=0;n<t.length;n++)t[n].removeInteractionVisibility()}},{key:"_collectStuffedSizeAndPositions",value:function e(t){var n=new Map;if(webwave.isFunction(t.getWGroups))for(var i=[t].concat(t.getWGroups(!0)),r=0;r<i.length;r++){var a=i[r];a.isHideAnimationEnabled()&&n.set(a,{position:a.getComputedPosition().clone(),size:a.getComputedSize().clone()})}return n}},{key:"_applyStuffedSizesAndPositions",value:function e(t){t.forEach(function(e,t){t.setStuffedSizeAndPosition(e)})}},{key:"_performVisibilityChange",
1114value:function e(t,n){var r=t.isVisible(),a=this._collectStuffedSizeAndPositions(t),o=Object(i.a)({},t.getId(),r);
1114t.getChildren(!0).forEach(function(e){o[e.getId()]=e.isVisible()}),n.visibilityChangeAction();var s=t.isVisible(),u;r!==s?!0===s?t.playCurrentAnimation({onComplete:n.onComplete}):(this._applyStuffedSizesAndPositions(a),t.playCurrentHideAnimation({afterEachAnimationStop:function e(t){a.has(t)&&t.setStuffedSizeAndPosition({})},onComplete:n.onComplete})):webwave.isFunction(n.onComplete)&&
1115n.onComplete()}},{key:"changeWObjectInteractionVisibility",value:function e(t,n){this._performVisibilityChange(t,{visibilityChangeAction:function e(){t.visibilities.setInteractionVisibility(n)}})}},{key:"updateWObjectScrollVisibility",value:function e(t){var n=!1;this._performVisibilityChange(t,{visibilityChangeAction:function e(){var i=t.visibilities.getScrollAnimationVisibility();t.updateScrollAnimationVisibility(),(n=i!==t.visibilities.getScrollAnimationVisibility())&&t.finishCurrentAnimation()},
1116onComplete:function e(){n&&t.removeInteractionVisibility()}})}},{key:"setWObjectShowAnimationVisibility",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this._performVisibilityChange(t,{visibilityChangeAction:function e(){t.visibilities.setShowAnimationVisibility(n)},onComplete:i.onComplete})}},{key:"handleInteraction",value:function e(t){var n,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).preview,r=this.objectService.collectWObjectsByIds(t.getWObjects());
1117switch(t.getType()){case c.a.SHOW:for(var a=0;a<r.length;a++)i?r[a].setInteractionPreview(!0,!0):this.changeWObjectInteractionVisibility(r[a],!0);break;case c.a.HIDE:for(var o=0;o<r.length;o++)i?r[o].setInteractionPreview(!0,!1):this.changeWObjectInteractionVisibility(r[o],!1);break;case c.a.TOGGLE:for(var s=[],u=0;u<r.length;u++)r[u].finishCurrentAnimation(),s.push({wObject:r[u],visibility:!r[u].isVisible()});for(var l=0;l<s.length;l++)i?s[l].wObject.setInteractionPreview(!0,s[l].visibility):this.changeWObjectInteractionVisibility(s[l].wObject,
1118s[l].visibility);break}}},{key:"setObjectService",value:function e(t){this.objectService=t}},{key:"onRwdModeChange",value:function e(t){this.removeAllInteractionVisibilities()}}]),n}(l.a))||g},241:function(e,t,n){n.d(t,"a",function(){return p});var i=n(6),r=n(0),a=n(1),o=n(5),s=n(7),u=n(15),c=n.n(u),l=n(16),d,h,f,v,g,p=(d=Object(u.injectable)(),h=Object(u.inject)(l.a.LocationService),d((v=function(){function e(){Object(r.a)(this,e),Object(i.a)(this,"locationService",g,this)}return Object(a.a)(e,[{key:"handleValidationError",
1119value:function e(){}},{key:"handleValidationSuccess",value:function e(){}},{key:"handlePayProcedure",value:function e(t){}},{key:"isKnownError",value:function e(t){return!1}},{key:"getErrorTranslate",value:function e(t){return"errorMessage"}},{key:"hasExternalConfigurationLinks",value:function e(){return!1}},{key:"getExternalConfigurationLinksList",value:function e(){return[]}},{key:"getExternalConfigurationLink",value:function e(){return""}}]),e}(),g=Object(o.a)(v.prototype,"locationService",[h],
1120{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=v))||f)},2410:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(10),o=n(2371),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.decimalSeparator=webwave.isDef(t.decimalSeparator)?t.decimalSeparator:a.DecimalSeparators.DEFAULT,this.thousandsPlaceSeparator=webwave.isDef(t.thousandsPlaceSeparator)?t.thousandsPlaceSeparator:o.a.DEFAULT,this.ownSeparatorsEnabled=
1121!!webwave.isDef(t.ownSeparatorsEnabled)&&t.ownSeparatorsEnabled}return Object(r.a)(e,[{key:"getDecimalSeparator",value:function e(){return this.decimalSeparator}},{key:"getThousandsPlaceSeparator",value:function e(){return this.ownSeparatorsEnabled?this.thousandsPlaceSeparator:o.a.DEFAULT}},{key:"setDecimalSeparator",value:function e(t){this.decimalSeparator=t}},{key:"setThousandsPlaceSeparators",value:function e(t){this.thousandsPlaceSeparator=t}},{key:"setOwnSeparatorsEnabled",value:function e(t){this.ownSeparatorsEnabled=
1122t}},{key:"getOwnSeparatorsEnabled",value:function e(){return this.ownSeparatorsEnabled}}]),e}()},2411:function(e,t,n){n.d(t,"a",function(){return S});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(140),c=n(2412),l=n(2413),d=n(27),h=n(40),f=n(2414),v=n(2416),g=n(15),p=n.n(g),y,b;function m(e){var t=w();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function w(){if("undefined"==
1123typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var S=(y=Object(g.injectable)())(b=function(e){Object(a.a)(n,e);var t=m(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).pageAreaService=null,e.objectService=null,e.browserWebPSupportUtils=
1124null,e.pageCanvas=null,e}
1124return Object(r.a)(n,[{key:"updateBackgroundSize",value:function e(){var t=this.objectService.getRootWObject(),n=t.getComputedPosition().getY()+t.getComputedSize().getHeight(),i=this.pageAreaService.getWindowHeight();this.pageAreaService.setBodyHeight(Math.max(n+this.getAdvertisementHeight()+this.getCommentsHeaderHeight(),i)),this.pageAreaService.updateScrollVisibility()}},{key:"getAdvertisementHeight",value:function e(){var t=$("#ww_advertisement_bottom_container_wrapper");
1125return 1==t.length?t[0].offsetHeight:0}},{key:"getCommentsHeaderHeight",value:function e(){var t=$("#headerBoxPublication");return 1===t.length&&t.is(":visible")?t.outerHeight():0}},{key:"disableScrollPreventEvents",value:function e(){var t;$("html,body").off("scroll.pageScroll mousedown.pageScroll wheel.pageScroll DOMMouseScroll.pageScroll mousewheel.pageScroll keyup.pageScroll touchmove.pageScroll")}},{key:"scrollPageToElement",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?
1126arguments[1]:{};if(t.length){if(this._scrollIsNotAvailableForTargetElement(t))return;var i=webwave.isNumberAndNotNaN(parseInt(n.margin))?parseInt(n.margin):0,r;if(!0===n.forceTop)(r=new l.a({element:t[0],margin:i})).setPageCanvas(this.getPageCanvas());else{var a=this.objectService.pageCanvas.getPositionRelativeToPageArea(t[0]),o=new u.a({size:new h.a({width:t[0].offsetWidth,height:t[0].offsetHeight}),position:a}),s=this.objectService.pageCanvas.getViewPort(),d=s.getY1();o.getY1()<s.getY1()?d=o.getY1()-
1127i:o.getY2()+i+this.getAdvertisementHeight()>s.getY2()&&(d=o.getY2()+i+this.getAdvertisementHeight()-s.getHeight()),r=new c.a({yPosition:d})}(new f.a({scrollArea:new v.a,scrollTarget:r})).scroll()}}},{key:"initLinkScroll",value:function e(){var t=this,n=utilService.extractGETParameter("anchorElement"),i=utilService.extractGETParameter("scrollMargin");n&&setTimeout(function(){t.scrollPageToElement($("#".concat(n)),{margin:i,forceTop:!0})},0)}},{key:"getPathForAjax",value:function e(){var t,n="";return-1!==
1128document.URL.indexOf("localhost")&&(n="/webwaver_front"),n}},{key:"getWebsiteId",value:function e(){return $("#websiteId").val()}},{key:"getWindowScroll",value:function e(){return webwave.isDef(window.pageYOffset)?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop}},{key:"getWindowWidth",value:function e(){return window.innerWidth}},{key:"initDownloadProtection",value:function e(){var t=$("#ww_download_protection");t.length>0&&"true"===t.val()&&$(window).on("contextmenu.downloadProtection",
1129function(e){var t;t=(null===e||void 0===e?void 0:e.originalEvent)instanceof CustomEvent?e.detail.target:e.target,$(t).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>0&&(e.preventDefault(),alert($("#ww_download_protection_text").val()))})}},{key:"getPageId",value:function e(){return document.getElementById("pageId").getAttribute("value")}},
1130{key:"isCurrentPageNewspage",value:function e(){var t=this.getPageId();return!!webwave.isString(t)&&t.startsWith("newspage")}},{key:"addPageTypeClassToBody",value:function e(){this.isCurrentPageNewspage()&&$(document.body).addClass("newspage")}},{key:"setPageAreaService",value:function e(t){this.pageAreaService=t}},{key:"setObjectService",value:function e(t){this.objectService=t}},{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}},{key:"setPageCanvas",value:function e(t){this.pageCanvas=
1131t}},{key:"getPageCanvas",value:function e(){return this.pageCanvas}},{key:"_scrollIsNotAvailableForTargetElement",value:function e(t){var n=this.objectService.getWObjectById(t.attr("id"));return webwave.isDef(n)&&!1===n.canBeTargetScroll()}}]),n}(d.a))||b},2412:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=
1132i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;
1132return Object(i.a)(this,n),(r=t.call(this))._yPosition=e.yPosition,r}return Object(r.a)(n,[{key:"getYPositionToScroll",value:function e(){return this._yPosition}}]),
1133n}(n(1996).a)},2413:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1996);function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1134[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this))._element=e.element,r._margin=e.margin,r}return Object(r.a)(n,[{key:"getYPositionToScroll",value:function e(){var t;return this.pageCanvas.getPositionRelativeToPageArea(this._element).getY()-this._margin}},{key:"setPageCanvas",value:function e(t){this.pageCanvas=t}},{key:"_calculateAnimationTimeBaseOnTargetPosition",value:function e(){var t=this.pageCanvas.getViewPort(),
1135n=Math.abs(this.getYPositionToScroll()-t.getY1());return Math.min(Math.floor(n/2),u.a.MAX_ANIMATION_TIME)}}]),n}(u.a)},2414:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(10),o=n(2415),s=function(){function e(t){Object(i.a)(this,e),this._interactionWasCalled=!1,this._scrollTarget=t.scrollTarget,this._scrollArea=t.scrollArea,this._interactionHandler=this._turnOnInteractionCalledFlag.bind(this)}return Object(r.a)(e,[{key:"scroll",value:function e(){this._enableTurnOffScrollingOnInteraction(),
1136this._startScrolling()}},{key:"_enableTurnOffScrollingOnInteraction",value:function t(){var n=this;e.INTERACTIONS.forEach(function(e){n._getElementToInteractionListener().addEventListener(e,n._interactionHandler)})}},{key:"_getCurrentScrollPosition",value:function e(){return this._scrollArea.getCurrentScrollPosition()}},{key:"_getElementToInteractionListener",value:function e(){return document.querySelector("body")}},{key:"_normalizeScrollProgress",value:function e(t){return a.MathUtils.limitValue(t,
11370,1)}},{key:"_removeInteractionListeners",value:function t(){var n=this;e.INTERACTIONS.forEach(function(e){n._getElementToInteractionListener().removeEventListener(e,n._interactionHandler)})}},{key:"_startScrolling",value:function e(){var t=this,n=this._scrollTarget.getAnimationTime(),i=this._getCurrentScrollPosition(),r=null,a=function e(a){var s=t._scrollTarget.getYPositionToScroll(),u=a-(r=webwave.isNotDefOrNull(r)?a:r),c=t._normalizeScrollProgress(u/n),l=i+(s-i)*c;if(t._scrollToPosition(l),!0===
1138t._interactionWasCalled)return t._stopScrolling(),void t._removeInteractionListeners();u<n?o.a.requestAnimationFrame(e):(l!==s&&t._scrollToPosition(s),t._removeInteractionListeners())};o.a.requestAnimationFrame(a)}},{key:"_scrollToPosition",value:function e(t){this._scrollArea.scrollTo(t)}},{key:"_stopScrolling",value:function e(){this._scrollToPosition(this._getCurrentScrollPosition())}},{key:"_turnOnInteractionCalledFlag",value:function e(){this._interactionWasCalled=!0}}]),e}();s.INTERACTIONS=
1139["scroll","mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"]},2415:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"requestAnimationFrame",value:function e(t){window.requestAnimationFrame(t)}}]),e}()},2416:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;
1140r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getCurrentScrollPosition",
1141value:function e(){return window.pageYOffset}},{key:"scrollTo",value:function e(t){window.scrollTo(0,t)}}]),n}(n(2417).a)},2417:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"getCurrentScrollPosition",value:function e(){return 0}},{key:"scrollTo",value:function e(t){}}]),e}()},2418:function(e,t,n){n.d(t,"a",function(){return h});var i=n(26),r=n(0),a=n(1),o=n(25),s=n.n(o),u=n(15),c=n.n(u),l,d,h=(l=Object(u.injectable)())(d=
1142function(){function e(){Object(r.a)(this,e)}return Object(a.a)(e,[{key:"sendG4Event",value:function(){var e=Object(i.a)(s.a.mark(function e(t,n){return s.a.wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:case "end":return t.stop()}},e)}));function t(t,n){return e.apply(this,arguments)}return t}()}]),e}())||d},2419:function(e,t,n){n.d(t,"a",function(){return w});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2107),c=n(2707),l=n(27),d=n(1237),h=n(1682),f=n(15),v=n.n(f),g=n(17),p,y;function b(e){var t=
1143m();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var w=(p=Object(f.injectable)())(y=function(e){Object(a.a)(n,e);var t=
1144b(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).objectService=null,e.relationMatrixes=[],e.nodes={},e.rootNodes={},e._updatesEnabled=!0,e}return Object(r.a)(n,[{key:"_addToRootNodes",value:function e(t){this.rootNodes[t.getId()]=t}},{key:"removeFromRootNodes",value:function e(t){delete this.rootNodes[t.getId()]}},{key:"addNode",value:function e(t){this.nodes[t.getId()]=t,this._addToRootNodes(t)}},
1145{key:"_removeNode",value:function e(t){this.removeFromRootNodes(t),delete this.nodes[t.getId()],t.dispose()}},{key:"hasNodeWithId",value:function e(t){return webwave.isDef(this.nodes[t])}},{key:"getNodeById",value:function e(t){return this.nodes[t]}},{key:"_checkCircuralDependency",value:function e(t,n){return(!0===t.getHeads(!0).includes(n)||!0===n.getTails(!0).includes(t))&&(webwave.log("circural dependency foun
1145d in ".concat(t.wObject.id," and ").concat(n.wObject.id)),!0)}},{key:"createAndAddRelation",
1146value:function e(t,n){var i=this.objectService.getWObjectById(t.relatedWNodes[0]),r=this.objectService.getWObjectById(t.relatedWNodes[1]);if(!webwave.isNotDefOrNull(i)&&!webwave.isNotDefOrNull(r)&&(null===i||void 0===i?void 0:i.getParentWNode())===(null===r||void 0===r?void 0:r.getParentWNode())){if(!1===this.hasNodeWithId(i.getId())){var a=new c.a({id:i.getId(),wObject:i});this.addNode(a)}if(!1===this.hasNodeWithId(r.getId())){var o=new c.a({id:r.getId(),wObject:r});this.addNode(o)}switch(t.typeOfRelation){case d.a.VERTICAL:var s=
1147this.getNodeById(i.getId()),u=this.getNodeById(r.getId());webwave.isDefAndNotNull(s)&&webwave.isDefAndNotNull(u)&&!1===this._checkCircuralDependency(s,u)&&(s.addToTails(u),u.addToHeads(s,t),this.removeFromRootNodes(u),!0!==n&&(s.shakeIt(),u.shakeIt()));break;case d.a.HORIZONTAL:var l=this.getNodeById(i.getId()),h=this.getNodeById(r.getId());webwave.isDefAndNotNull(l)&&webwave.isDefAndNotNull(h)&&(l.addToSides(h),h.addToSides(l),!0!==n&&(l.shakeIt(),h.shakeIt()));break}}}},{key:"_updateRelationNodeState",
1148value:function e(t){!1===t.hasAnyRelation()?this._removeNode(t):!1===t.hasHeads()&&this._addToRootNodes(t)}},{key:"removeRelation",value:function e(t,n,i){var r=this.getNodeById(t.getId()),a=this.getNodeById(n.getId());webwave.isDefAndNotNull(r)&&webwave.isDefAndNotNull(a)&&(r.removeFromHeads(a),r.removeFromTails(a),r.removeFromSides(a),a.removeFromHeads(r),a.removeFromTails(r),a.removeFromSides(r),!0!==i&&(r.shakeIt(),a.shakeIt()),this._updateRelationNodeState(r),this._updateRelationNodeState(a))}},
1149{key:"clearRelations",value:function e(){for(var t in this.nodes)this.nodes.hasOwnProperty(t)&&this.nodes[t].dispose();this.nodes={},this.rootNodes={}}},{key:"_scheduleAllNodesPushingDisabledChangeInWorker",value:function e(t,n){var i=this;t.addToQueue(function(){for(var e in i.nodes)i.nodes.hasOwnProperty(e)&&i.nodes[e].setPushingDisabled(n)})}},{key:"_collectRelationNodesInUpdateOrder",value:function e(){var t=new u.a;for(var n in this.rootNodes)this.rootNodes.hasOwnProperty(n)&&this.rootNodes[n].collectDownPath(t);
1150return t.toArray().sort(function(e,t){return e.level-t.level}).map(function(e){return e.node})}},{key:"shakeIt",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new h.a;this._scheduleAllNodesPushingDisabledChangeInWorker(n,!0);for(var i=this._collectRelationNodesInUpdateOrder(),r=function e(t){var r=i[t];n.addToQueue(function(){r.shakeIt()})},a=0;a<i.length;a++)r(a);if(this._scheduleAllNodesPushingDisabledChangeInWorker(n,!1),t.async)return new Promise(function(e){n.addToQueue(function(){e()}),
1151n.dequeue()});n.dequeueSync()}},{key:"setObjectService",value:function e(t){this.objectService=t}}]),n}(l.a))||y},242:function(e,t,n){t.a=r;var i=n(138);function r(e){if(Array.isArray(e))return Object(i.a)(e)}},243:function(e,t,n){function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.a=i},244:function(e,t,n){function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1152}t.a=i},245:function(e,t,n){var i=function(e){var t=Object.prototype,n=t.hasOwnProperty,i,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var r=t&&t.prototype instanceof p?t:p,a=Object.create(r.prototype),o=new I(i||[]);return a._invoke=
1153P(e,n,o),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",h="suspendedYield",f="executing",v="completed",g={};function p(){}function y(){}function b(){}var m={};m[a]=function(){return this};var w=Object.getPrototypeOf,S=w&&w(w(T([])));S&&S!==t&&n.call(S,a)&&(m=S);var O=b.prototype=p.prototype=Object.create(m);function _(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function k(e,
1154t){function i(r,a,o,s){var u=l(e[r],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){i("next",e,o,s)},function(e){i("throw",e,o,s)}):t.resolve(d).then(function(e){c.value=e,o(c)},function(e){return i("throw",e,o,s)})}s(u.arg)}var r;function a(e,n){function a(){return new t(function(t,r){i(e,n,t,r)})}return r=r?r.then(a,a):a()}this._invoke=a}function P(e,t,n){var i=d;return function r(a,o){if(i===f)throw new Error("Generator is already running");
1155if(i===v){if("throw"===a)throw o;return N()}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=A(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=f;var c=l(e,t,n);if("normal"===c.type){if(i=n.done?v:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=v,n.method="throw",n.arg=c.arg)}}}function A(e,t){var n=e.iterator[t.method];
1156if(n===i){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&
1156(t.method="return",t.arg=i,A(e,t),"throw"===t.method))return g;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,g;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=i),t.delegate=null,g):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),
1157t.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=
1158!1,t;return t.value=i,t.done=!0,t};return o.next=o}}return{next:N}}function N(){return{value:i,done:!0}}return y.prototype=O.constructor=b,b.constructor=y,y.displayName=u(b,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},
1159_(k.prototype),k.prototype[o]=function(){return this},e.AsyncIterator=k,e.async=function(t,n,i,r,a){void 0===a&&(a=Promise);var o=new k(c(t,n,i,r),a);return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},_(O),u(O,s,"Generator"),O[a]=function(){return this},O.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=
1160!0,n}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=i)},stop:function(){this.done=!0;var e,t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return s.type=
1161"throw",s.arg=e,t.next=n,r&&(t.method="next",t.arg=i),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<
1162o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?
1163this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;C(n)}return r}}throw new Error("illegal catch attempt");
1164},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=i),g}},e}(e.exports);try{regeneratorRuntime=i}catch(e){Function("r","regeneratorRuntime = r")(i)}},25:function(e,t,n){e.exports=n(245)},2565:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=function(){function e(t,n,r){Object(i.a)(this,e),this.id=t,this.width=n,this.disabled=r}return Object(r.a)(e,[{key:"getId",value:function e(){return this.id}},{key:"getWidth",
1165value:function e(){return this.width}}]),e}(),o,s=function(){function e(){Object(i.a)(this,e),this.rwdModeChangeListeners=[]}return Object(r.a)(e,[{key:"init",value:function e(){rwdModeService.init(),o=rwdModeService.getCurrentRwdMode()}},{key:"deserializeRwdModes",value:function e(t){for(var n=[],i=0;i<t.length;i++){var r=new a(t[i].id,t[i].width,t[i].disabled);n.push(r)}return n}},{key:"deserializeRwdMode",value:function e(t){if(webwave.isDef(t))return new a(t.id,t.width,t.disabled)}},{key:"getActiveRwdModes",
1166value:function e(){return this.deserializeRwdModes(rwdModeService.getActiveRwdModes())}},{key:"getAllRwdModes",value:function e(){return this.deserializeRwdModes(rwdModeService.getAllRwdModes())}},{key:"getCurrentMode",value:function e(){return this.getCurrentRwdMode()}},{key:"getCurrentRwdMode",value:function e(){return this.deserializeRwdMode(rwdModeService.getCurrentRwdMode())}},{key:"_notifyRwdModeChangeListeners",value:function e(t){for(var n=0;n<this.rwdModeChangeListeners.length;n++)this.rwdModeChangeListeners[n].onRwdModeChange(t)}
1166},
1167{key:"handleWindowResize",value:function e(){var t=this.deserializeRwdMode(rwdModeService.handleWindowResize());void 0!==this.getActiveRwdMode()&&t.id==this.getActiveRwdMode().id||(o=t,this._notifyRwdModeChangeListeners(t))}},{key:"getActiveRwdMode",value:function e(){return o}},{key:"changeElementsAttributes",value:function e(t,n){if(!webwave.isNotDefOrNull(t)&&!webwave.isNotDefOrNull(this.elementAttributeService))for(var i=this.elementAttributeService.getElementsWithRwdAttribute(t),r=0;r<i.length;r++){var a=
1168i[r],o=this.elementAttributeService.getElementRwdProperties(a);for(var s in o)if(o.hasOwnProperty(s)){var u=this.searchForClosestObjectByRwdMode(o[s],n);a.setAttribute(s,u)}}}},{key:"searchForClosestObjectByRwdMode",value:function e(t,n){if(webwave.isDef(t)&&webwave.isDef(n)){var i=n.getId(),r=t[i];if(webwave.isNotDef(r))for(var a=n;webwave.isDef(a=this.getPreviousRwdMode(a));)if(i=a.getId(),webwave.isDef(t[i])){r=t[i];break}return r}}},{key:"getRwdModeIndex",value:function e(t,n){for(var i=0;i<t.length;i++)if(t[i].getId()===
1169n.getId())return i}},{key:"getPreviousRwdMode",value:function e(t){if(webwave.isDef(t)){var n=this.deserializeRwdModes(rwdModeService.getAllRwdModes()),i=this.getRwdModeIndex(n,t);return i>0?n[i-1]:void 0}}},{key:"isFirstRwdMode",value:function e(t){webwave.isNotDef(t)&&(t=this.getCurrentMode());var n=this.deserializeRwdModes(rwdModeService.getAllRwdModes());return 0===this.getRwdModeIndex(n,t)}},{key:"addRwdModeChangeListener",value:function e(t){-1===this.rwdModeChangeListeners.indexOf(t)&&this.rwdModeChangeListeners.push(t)}},
1170{key:"setElementAttributeService",value:function e(t){this.elementAttributeService=t}}]),e}();webwave.provide("com.webwave.publication.rwd.RwdMode"),com.webwave.publication.rwd.RwdMode=a,webwave.provide("com.webwave.publication.rwd.rwdService"),com.webwave.publication.rwd.rwdService=new s,window.rwdService=com.webwave.publication.rwd.rwdService,window.RwdMode=com.webwave.publication.rwd.RwdMode},2566:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=
1171n(2567),l=n(1695);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(o.a)(n,
1172e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._rwdTextContent=null,r}return Object(r.a)(n,[{key:"setDomObject",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"setDomObject",this).call(this,t),null!==this._rwdTextContent&&this._rwdTextContent.dispose(),this._rwdTextContent=new l.a(t.find(".innerElementContent")),this._rwdTextContent.initLinkBlockEvent()}},{key:"loadRwdProperties",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"loadRwdProperties",
1173this).call(this,t),this.reloadTextRwdProperties(t)}},{key:"reloadTextRwdProperties",value:function e(t){webwave.isDefAndNotNull(this._rwdTextContent)&&this._rwdTextContent.loadRwdTextProperties(t)}}]),n}(c.a)},2567:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(40),o=n(1946),s=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this._$domObject=void 0,this._rwdAnimationMaps=webwave.isDef(t.rwdAnimationMaps)?t.rwdAnimationMaps:{},this._animation=void 0,this._animationPlayer=
1174void 0,this.loadRwdProperties(com.webwave.publication.rwd.rwdService.getCurrentRwdMode()),this._opacity=100,this.visibilities=new o.a}return Object(r.a)(e,[{key:"setAnimationPlayer",value:function e(t){this._animationPlayer=t}},{key:"getDomObject",value:function e(){return webwave.isDef(this._$domObject)?this._$domObject:$()}},{key:"setDomObject",value:function e(t){this._$domObject=t,t.data("wInnerElement",this);var n=parseFloat(this.getContent().css("opacity"));isNaN(n)&&(n=1),this._opacity=100*
1175n}},{key:"loadRwdProperties",value:function e(t){}},{key:"setAnimationEnabled",value:function e(t,n){}},{key:"triggerAnimationChanged",value:function e(t){}},{key:"isAnimationEnabled",value:function e(){return webwave.isDef(this._animation)}},{key:"canChangeAnimationEnabled",value:function e(){}},{key:"setAnimation",value:function e(t){this._animation=t}},{key:"getAnimation",value:function e(){return this._animation}},{key:"playCurrentAnimation",value:function e(t){this._animationPlayer.playCurrentAnimation(t)}},
1176{key:"finishCurrentAnimation",value:function e(){this._animationPlayer.finishCurrentAnimation()}},{key:"getContent",value:function e(){return this.getDomObject().children(".innerElementContent")}},{key:"getOpacity",value:function e(){return this._opacity}},{key:"getComputedOpacity",value:function e(){return this.getOpacity()}},{key:"isRotated",value:function e(){return!1}},{key:"getRotation",value:function e(){return 0}},{key:"getRotationTransformCss",value:function e(){return this.canBeRotated()&&
1177this.isRotated()?"rotate("+this.getRotation()+"deg)":""}}
1177,{key:"canBeRotated",value:function e(){return!1}},{key:"getShadowSizeCorrection",value:function e(){return{top:0,right:0,bottom:0,left:0}}},{key:"getContentSize",value:function e(){return new a.a({width:this.getContent().outerWidth(),height:this.getContent().outerHeight()})}},{key:"beforeShowRealAnimationStart",value:function e(){}},{key:"beforeHideRealAnimationStart",value:function e(){}},{key:"getRwdAnimationMaps",value:function e(){return this._rwdAnimationMaps}},
1178{key:"getBackgroundOverlayDom",value:function e(){return $()}},{key:"getElementsForAnimation",value:function e(){for(var t=[this.getContent()[0],this.getBackgroundOverlayDom()[0]],n=t.length-1;n>=0;n--)webwave.isNotDefOrNull(t[n])&&t.splice(n,1);return t}}]),e}()},2568:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(10),o=function(){function e(){Object(i.a)(this,e),this._webPSupported=null}return Object(r.a)(e,[{key:"init",value:function e(){var t=this;return new Promise(function(e){t._checkWebPSupport(function(n){t.setWebPSupport(n),
1179e(n)})})}},{key:"changeSrcIfWebPSupported",value:function e(t){return this.isWebPSupported()?this.replaceImageSrcToWebP(t):t}},{key:"changeSrcIfWebPSupportedWithAttrCheck",value:function t(n,i){return webwave.isDefAndNotNull(i)&&(n="true"===i.dataset[e.USE_WEBP_IMAGE_ATTR]?this.changeSrcIfWebPSupported(n):n),n}},{key:"changeSrcIfWebPSupportedWithAttrParameterCheck",value:function e(t,n,i){return webwave.isDefAndNotNull(n)&&"true"===n.dataset[i]?this.changeSrcIfWebPSupported(t):t}},{key:"isWebPSupported",
1180value:function e(){return this._webPSupported}},{key:"replaceImageSrcToWebP",value:function e(t){return a.StringUtils.replaceExtensionInSrc(t,"webp")}},{key:"setWebPSupport",value:function e(t){this._webPSupported=t}},{key:"_checkWebPSupport",value:function e(t){var n="UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",i=new Image;i.onload=function(){var e=i.width>0&&i.height>0;t(e)},i.onerror=function(){t(!1)},i.src="data:image/webp;base64,"+
1181n}},{key:"getWeBPImageAttrName",value:function t(){return e.USE_WEBP_IMAGE_ATTR}},{key:"getHoverWeBPImageDatasetAttrName",value:function t(){return e.USE_HOVER_WEBP_IMAGE_DATASET_ATTR}},{key:"getHoverWeBPImageAttrName",value:function t(){return e.USE_HOVER_WEBP_IMAGE_ATTR}}]),e}();o.USE_WEBP_IMAGE_ATTR="usedWebpImage",o.USE_HOVER_WEBP_IMAGE_DATASET_ATTR="hoverUsedWebpImage",o.USE_DISABLED_WEBP_IMAGE_DATASET_ATTR="disabledUsedWebpImage",o.USE_HOVER_WEBP_IMAGE_ATTR="data-hover-used-webp-image",o.USE_DISABLED_WEBP_IMAGE_ATTR=
1182"data-disabled-used-webp-image"},2569:function(e,t,n){n.d(t,"a",function(){return y});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(27),c=n(40),l=n(15),d=n.n(l),h=n(17),f,v;function g(e){var t=p();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;
1183try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var y=(f=Object(l.injectable)())(v=function(e){Object(a.a)(n,e);var t=g(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"rotateSelectedWElements",value:function e(t,n){t=isNaN(t)?0:t,this.rotateWElements(this.getSelectedWElementsForRotation(),t)}},{key:"getSelectedWElementsForRotation",value:function e(){return elementService.getSelectedWElements({includeLayoutObjects:!0,
1184unlockedLayoutObjectsOnly:!0,includeFooterObjects:!0})}},{key:"rotateWElements",value:function e(t,n){for(var i=0;i<t.length;i++)t[i].setRotation(n,{userInteraction:!0,isActionUndoable:!0})}},{key:"setRotationEnabledSelectedWElements",value:function e(t){var n;(this.getSelectedWElementsForRotation()||[]).forEach(function(e){e.setRotationEnabled(t)})}},{key:"transformSizesToRotation",value:function e(t,n,i){!1===webwave.isNumberAndNotNaN(i)&&(i=0);var r=i*(Math.PI/180),a=Math.abs(Math.sin(r)),o=Math.abs(Math.cos(r));
1185return new c.a({width:Math.round(o*t+a*n),height:Math.round(a*t+o*n)})}}]),n}(u.a))||v},2570:function(e,t,n){n.d(t,"a",function(){return c});var i=n(0),r=n(1),a=n(71),o=n(1920),s=n(1955),u=n(1956),c=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"validate",value:function t(n,i){var r=!0,a=this;return n.find(i).each(function(){var t=$(this),n=s.a.getFormItemFromRow(t);if(0!==n.length){var i=t.data("required"),o=!1;i&&(o=a._requiredFieldIsInvalid(n)),!1===o&&(o=a._customValidatorIsInvalid(n,
1186i)),o?(t.attr(e.DATA_VALID_PROP,!1),r=!1):t.removeAttr(e.DATA_VALID_PROP)}}),!1===r?n.attr(e.DATA_VALID_PROP,!1):n.removeAttr(e.DATA_VALID_PROP),r}},{key:"validateFileInput",value:function t(n){var i,r=n.form.find("input"),a=n.fileInput.closest(".ww_form_cell_2"),o=this._getAllFilesAddedToF
1186orm(r),s;this._calculateAddedFilesSize(o)>e.CONTACT_FORM_MAX_FILESIZE_15_MB?(n.fileInput.val(""),a.attr(e.DATA_VALID_PROP,!1),n.fileInput.attr("title",i18n.t("form.maximalFileSizeReached"))):(a.removeAttr(e.DATA_VALID_PROP),
1187n.fileInput.removeAttr("title"),n.fileInput.data("file",n.files[0]))}},{key:"_calculateAddedFilesSize",value:function e(t){var n=0;return t.forEach(function(e){for(var t=0;t<e.length;t++)n+=e[t].size}),n}},{key:"_customValidatorIsInvalid",value:function e(t,n){var i=!1,r=s.a.getFieldValue(t),u;if(!1===n&&!1===webwave.isStringAndNotEmpty(r))return!1;switch(t.data("validator")){case o.a.PHONE:var c=s.a.getPhoneMultiFieldInputElement(t).val();if(!1===n&&!1===webwave.isStringAndNotEmpty(c))return!1;i=
1188s.a.isMultiFieldItemValue(t)?!1===a.a.PHONE_NUMBER.validate(r):!1===a.a.PHONE_NUMBER_WITHOUT_EXPECTED_PREFIX.validate(r);break;case o.a.EMAIL:i=!1===a.a.EMAIL.validate(t.val());break}return i}},{key:"_getAllFilesAddedToForm",value:function e(t){for(var n,i=[],r=0;r<t.length;r++)n=t[r].files,webwave.isDefAndNotNull(n)&&i.push(n);return i}},{key:"_requiredFieldIsInvalid",value:function e(t){var n=!1;return!0===t.is(":checkbox")&&!1===t.prop("checked")?n=!0:t.hasClass("ww_multiple_select_wrapper")?0===
1189t.find("input:checked").length&&(n=!0):t.hasClass(u.a.MULTI_FIELD_ITEM_ROW)?n=webwave.isNotDefOrNullOrEmptyString(s.a.getMultiFieldItemValue(t)):!1===webwave.isDefAndNotEmpty(t.val())&&(n=!0),n}}]),e}();c.DATA_VALID_PROP="data-valid",c.CONTACT_FORM_MAX_FILESIZE_15_MB=15E6},2571:function(e,t,n){n.d(t,"a",function(){return S});var i=n(0),r=n(1),a=n(11),o=n(3),s=n(4),u=n(2),c=n(10),l=n(3070),d=n(2367),h=n(27),f=n(2101),v=n(2102),g=n(15),p=n.n(g),y,b;function m(e){var t=w();return function n(){var i=
1190Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var S=(y=Object(g.injectable)())(b=function(e){Object(o.a)(n,e);var t=m(n);function n(){var e;return Object(i.a)(this,
1191n),e=t.call(this),window.onYouTubeIframeAPIReady=e.initAllYoutubePlayers.bind(Object(a.a)(e)),e.youtubeApiInitialized=!1,e.vimeoApiInitialized=!1,e.youtubeVideosToInit=[],e.vimeoVideosToInit=[],e.scrollListeners=[],e.initScrollListener(),e}return Object(r.a)(n,[{key:"createNewWMediaPlayerFromMap",value:function e(t){var n,i=t.domObject;return t.mediaPlayerService=this,i.find(".youtubeVideo").length>0?n=new v.a(t):i.find(".vimeoVideo").length>0?n=new f.a(t):i.find("video").length>0?n=new d.a(t):i.find("audio").length>
11920&&(n=new l.a(t)),n.isAutoPlayEnabled()&&this.scrollListeners.push(n),n}},{key:"initYoutubeApi",value:function e(){this.isYoutubeApiInitialized()||(this.youtubeApiInitialized=!0,this.loadYoutubeApiScript())}},{key:"loadYoutubeApiScript",value:function e(){var t=document.createElement("script");t.src="https://www.youtube.com/iframe_api";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)}},{key:"initAllVimeoPlayers",value:function e(){if(!c.Environment.isTest())for(var t=
11930;t<this.vimeoVideosToInit.length;t++)this.vimeoVideosToInit[t].initPlayer()}},{key:"initVimeoApi",value:function e(){this.isVimeoApiInitialized()||(this.vimeoApiInitialized=!0,this.loadVimeoApiScript())}},{key:"loadVimeoApiScript",value:function e(){var t=document.createElement("script");t.onload=this.vimeoApiOnLoad.bind(this),t.src="//player.vimeo.com/api/player.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)}},{key:"vimeoApiOnLoad",value:function e(){this.initAllVimeoPlayers()}},
1194{key:"isVimeoApiInitialized",value:function e(){return this.vimeoApiInitialized}},{key:"isYoutubeApiInitialized",value:function e(){return this.youtubeApiInitialized}},{key:"addYoutubePlayerToInitList",value:function e(t){this.youtubeVideosToInit.push(t)}},{key:"addVimeoPlayerToInitList",value:function e(t){this.vimeoVideosToInit.push(t)}},{key:"initAllYoutubePlayers",value:function e(){if(!c.Environment.isTest())for(var t=0;t<this.youtubeVideosToInit.length;t++)this.youtubeVideosToInit[t].initPlayer()}},
1195{key:"triggerScrollListeners",value:function e(){for(var t=0;t<this.scrollListeners.length;t++)this.scrollListeners[t].tryToAutoPlayVideo()}},{key:"initScrollListener",value:function e(){var t=this;$(window).on("scroll",function(e){t.triggerScrollListeners()})}}]),n}(h.a))||b},2572:function(e,t,n){n.d(t,"a",function(){return Se});var i=n(34),r=n(26),a=n(6),o=n(0),s=n(1),u=n(11),c=n(3),l=n(4),d=n(2),h=n(5),f=n(7),v=n(25),g=n.n(v),p=n(219),y=n(106),b=n(1220),m=n(2352),w=n(49),S=n(1128),O=n(2351),_=
1196n(27),k=n(3072),P=n(3073),A=n(3075),E=n(3076),C=n(3078),I=n(82),T=n(2354),N=n(2355),D=n(2359),j=n(3079),R=n(1658),L=n(3080),M=n(1682),x=n(1734),B=n(2357),F=n(2353),V=n(15),W=n.n(V),U=n(1027),H=n(17),z,G,Y,X,K,q,Z,J,Q,ee,te,ne,ie,re,ae,oe,se,ue,ce,le,de;function he(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1196if(!n){if(Array.isArray(e)||(n=fe(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:
1197{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}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 a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function fe(e,t){if(e){if("string"==typeof e)return ve(e,t);var n=Object.prototype.toString.call(e).slice(8,
1198-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ve(e,t):void 0}}function ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ge(e){var t=pe();return function n(){var i=Object(d.a)(e),r;if(t){var a=Object(d.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(l.a)(this,r)}}function pe(){if("undefined"==
1199typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var ye="ww-layout-objects-customData",be="ww-layout-objects-visibility",me="WW_LAYOUT_OBJECTS_STORE",we="WW_OBJECTS_STORE",Se=(z=Object(V.injectable)(),G=Object(V.inject)(U.a.BackgroundParallaxService),Y=Object(V.inject)(U.a.ElementRotationService),X=Object(V.inject)(U.a.ModularObjectContentService),
1200K=Object(V.inject)(H.a.StoreAnalyticsManager),q=Object(V.inject)(U.a.PageService),Z=Object(V.inject)(U.a.RwdService),J=Object(V.inject)(U.a.UserService),Q=Object(V.inject)(U.a.FeedService),z((de=le=function(e){Object(c.a)(n,e);var t=ge(n);function n(){var e;return Object(o.a)(this,n),e=t.call(this),Object(a.a)(e,"backgroundParallaxService",ne,Object(u.a)(e)),Object(a.a)(e,"elementRotationService",ie,Object(u.a)(e)),Object(a.a)(e,"modularObjectContentService",re,Object(u.a)(e)),Object(a.a)(e,"storeAnalyticsManager",
1201ae,Object(u.a)(e)),Object(a.a)(e,"pageService",oe,Object(u.a)(e)),Object(a.a)(e,"rwdService",se,Object(u.a)(e)),Object(a.a)(e,"userService",ue,Object(u.a)(e)),Object(a.a)(e,"feedService",ce,Object(u.a)(e)),e.wIntersectionObserver=null,e.browserWebPSupportUtils=null,e.animator=null,e.init=function(){this._objects={}},e._objectsData={},e._objects={},e._sections=[],e.menutoolService=null,e.pageAreaService=null,e.interactionsService=null,e.orderPopupService=null,e.pageCanvas=null,e._layoutObjectsVisibility=
1202{},e.relationManagerService=null,e._rootWObject=null,e._pageWObject=null,e._defaultSection=null,e._wLayoutGroup=null,e}return Object(s.a)(n,[{key:"createAndAddWElementByDomObject",value:function e(t){try{var n=t[0].id,i={id:n,domObject:t},r=this.getObjectData(n);null!==r&&Object.assign(i,r),i.pageCanvas=this.pageCanvas,i.backgroundParallaxService=this.backgroundParallaxService,i.elementRotationService=this.elementRotationService,i.objectService=this;var a=this._getWElement(t,i);return a.setPageAreaService(this.pageAreaService),
1203webwave.isFunction(a.setInteractionsService)&&a.setInteractionsService(this.interactionsService),webwave.isFunction(a.setOrderPopupService)&&a.setOrderPopupService(this.orderPopupService),a.setBrowserWebPSupportUtils(this.browserWebPSupportUtils),a.setWIntersectionObserver(this.wIntersectionObserver),a.setRwdService(this.rwdService),this._objects[n]=a,a}catch(e){console.log(e)}}},{key:"_getWElement",value:function e(t,n){var i;switch(t[0].getAttribute("data-element-type")){case I.a.AIWIDGET:i=new A.a(n);
1204break;case I.a.BUTTON:i=new com.webwave.publication.wobject.wbutton.WButton(n);break;case I.a.CAROUSEL:(i=new E.a(n)).setModularObjectContentService(this.modularObjectContentService);break;case I.a.COUNTER:i=new C.a(n);break;case I.a.LIGHTBOX:(i=new com.webwave.publication.object.WLightbox(n)).setPhotoswipeService(this.getPhotoswipeService());break;case I.a.GALLERY:(i=new N.a(n)).setAnimator(this.getAnimator()),i.setPhotoswipeService(this.getPhotoswipeService());break;case I.a.SLIDER:(i=new B.a(n)).setAnimator(this.getAnimator());
1205break;case I.a.TEXT:(i=new com.webwave.publication.object.WText(n)).setPhotoswipeService(this.getPhotoswipeService()),i.setPageService(this.pageService);break;case I.a.IMG:(i=new D.a(n)).setBrowserWebPSupportUtils(this.browserWebPSupportUtils);break;case I.a.LOGIN:i=new com.webwave.publication.object.WLoginTool(n,this.userService.userLogged());break;case I.a.MEDIAPLAYER:i=com.webwave.publication.object.mediaPlayerService.createNewWMediaPlayerFromMap(n);break;case I.a.GOOGLEMAPS:i=new com.webwave.publication.object.WGoogleMaps(n);
1206break;case I.a.RECTANGLE:i=new com.webwave.publication.object.WRectangle(n);break;case I.a.MENU:i=new com.webwave.publication.object.WMenu(n);break;case I.a.HTMLTOOL:i=new com.webwave.publication.object.WHtmlTool(n);break;case I.a.NEWSFEED:(i=new com.webwave.publication.object.WNewsfeed(n)).setPageService(this.pageService),i.setFeedService(this.feedService);break;case I.a.PRODUCTFEED:(i=new L.a(n)).setPageService(this.pageService),i.setFeedService(this.feedService);break;case I.a.STORE_PRODUCT:n.storeType===
1207b.a.WEBWAVE?(n.storeAnalyticsManager=this.storeAnalyticsManager,i=new P.a(n)):i=new F.a(n);break;case I.a.STORE_CART:i=new k.a(n);break;case I.a.FBCOMMENTS:i=new com.webwave.publication.object.WFbComments(n);break;case I.a.SOCIALMEDIA:i=new com.webwave.publication.object.WSocialMedia(n);break;case I.a.LANGUAGESELECTOR:i=new com.webwave.publication.object.WLanguageSelector(n);break;case I.a.FORM:i=new com.webwave.publication.object.WForm(n);break;case I.a.SIMPLETEXT:i=new com.webwave.publication.object.WSimpleText(n);
1208break;case I.a.DATE:i=new com.webwave.publication.object.WDate(n);break;default:i=new com.webwave.publication.object.WElement(n);break}return i}},{key:"createAndAddWGroupByDomObject",value:function e(t){try{var i,r=t.attr("id"),a={id:r,domObject:t},o=this.getObjectData(r);switch(null!==o&&Object.assign(a,o),a.pageCanvas=this.pageCanvas,a.backgroundParallaxService=this.backgroundParallaxService,a.elementRotationService=this.elementRotationService,a.objectService=this,t.attr("data-element-type")){case "footer":a.binds=
1209{pageWObject:{relatedWNodes:["pageWObject",r],typeOfRelation:"vertical"}},a.wNodeSettings={disableAlternateFixedChildren:!0},i=new T.a(a);break;case "WSection":a.wNodeSettings={enableFlowWithoutChildren:!0,enableVisibilityWithoutChildren:!0,enableBindsInheritanceInBothDirections:!0},i=new x.a(a),!0===a.defaultSection&&(this._defaultSection=i);break;case n.LAYOUT_GROUP_ATTRIBUTE_TYPE:i=new j.a(a);break;default:a.wNodeSettings={disableAlternateFixedChildren:!0,disableAlternateStickyChildren:!0},i=new com.webwave.publication.object.WGroup(a)}return this._objects[r]=
1210i,i.setPageAreaService(this.pageAreaService),i.setBrowserWebPSupportUtils(this.browserWebPSupportUtils),i.setWIntersectionObserver(this.wIntersectionObserver),i.setRwdService(this.rwdService),i}catch(e){console.log(e)}}},{key:"_findLayoutGroupIdFromCustomData",value:function e(){for(var t in this._objectsData)if(t.endsWith("layoutGroup"))return t}},{key:"collectWObjectsByIdArray",value:function e(t){for(var n=[],i=0;i<t.length;i++){var r=this.getObjectById(t[i]);webwave.isDef(r)&&n.push(r)}return n}},
1211{key:"_createMainObjects",value:function e(){var t=new O.a({id:"rootWObject",domObject:$("<div></div>"),objectService:this,pageCanvas:this.pageCanvas});this._rootWObject=t,t.setInFlow(!0);var i=$('#container > [data-element-type="footer"]').attr("id"),r={};webwave.isStringAndNotEmpty(i)&&(r[i]=new R.a({relatedWNodes:["pageWObject",i],typeOfRelation:"vertical"}));var a=new m.a({id:"pageWObject",domObject:$("<div></div>"),objectService:this,pageCanvas:this.pageCanvas});a.binds=r,this._pageWObject=a,
1212a.setInFlow(!0),this._objects[t.getId()]=t,this._objects[a.getId()]=a;var o=this._findLayoutGroupIdFromCustomData();webwave.isStringAndNotEmpty(o)&&(this._wLayoutGroup=this.createAndAddWGroupByDomObject($("<div id=".concat(o,' data-element-type="').concat(n.LAYOUT_GROUP_ATTRIBUTE_TYPE,'"></div>'))),this._wLayoutGroup.setAttached(!0),this._wLayoutGroup._wNodeSettings.disableAnimation=!0)}},{key:"initObjects",value:function(){var e=Object(r.a)(g.a.mark(function e(){var t=this,n,a,o,s,u,c,l,d;return g.a.wrap(function e(h){for(;;)switch(h.prev=
1213h.next){case 0:for((n=new M.a).addToQueue(function(){t.loadObjectsData()}),n.addToQueue(function(){t._loadLayoutObjectVisibility()}),n.addToQueue(function(){t._createMainObjects()}),a=$(".ww_element"),o=function e(i){var r=$(a[i]);n.addToQueue(function(){t.createAndAddWElementByDomObject(r)})},s=0;s<a.length;s++)o(s);for(c=$(".group, .ww_footer, .WSection"),l=function e(i){n.addToQueue(function(){var e=t.createAndAddWGroupByDomObject($(c[i]));e.addElements(),e instanceof T.a&&(u=e)}
1213)},d=0;d<c.length;d++)l(d);
1214return n.addToQueue(function(){var e=$(".ww_element, .group, .WSection"),n=[],r=[],a=[],o=t;if(e.each(function(){var e=$(this),t=o.getWObjectById(e.attr("id"));webwave.isDef(t)&&(t.setAttached(!0),void 0===e.attr("groupid")&&(e.hasClass("WSection")?a.push(t):n.push(t)))}),t._sections=a.reverse(),webwave.isDefAndNotNull(t._wLayoutGroup)&&(r=t.collectWObjectsByIdArray(t.getObjectData(t._wLayoutGroup.getId()).children)),n.push.apply(n,Object(i.a)(r)),webwave.isDefAndNotNull(t._defaultSection)?(t._defaultSection.swapChildren(t._defaultSection.getChildren().concat(n)),
1215t._pageWObject.swapChildren(t.getSections())):t._pageWObject.swapChildren(n),webwave.isDefAndNotNull(t._wLayoutGroup)){for(var s=0;s<r.length;s++)r[s].setCustomVisibilityParent(t._wLayoutGroup);t._wLayoutGroup.setLayoutChildren(r)}}),n.addToQueue(Object(r.a)(g.a.mark(function e(){return g.a.wrap(function e(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,t._initializeAllWObjects(n);case 2:case "end":return i.stop()}},e)}))),n.addToQueue(function(){var e,n,i=[t._pageWObject];webwave.isDef(u)&&
1216(u.setAttached(!0),i.push(u)),null===(e=t._wLayoutGroup)||void 0===e||e.setBulkMode(!1),null===(n=t._wLayoutGroup)||void 0===n||n.setAttached(!0),t._pageWObject.setAttached(!0),t._rootWObject.setAttached(!0),t._rootWObject.swapChildren(i),t._rootWObject.setBulkMode(!1)}),n.addToQueue(function(){t._loadAllRelations()}),n.addToQueue(this.relationManagerService.shakeIt.bind(this.relationManagerService,{async:!0})),n.addToQueue(function(){t._enabledAndUpdateDomElementPositionForAllObjects()}),h.abrupt("return",
1217new Promise(function(e){n.addToQueue(function(){e()}),n.dequeue()}));case 17:case "end":return h.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"getObjectById",value:function e(t){return this._objects[t]}},{key:"getWObjectById",value:function e(t){return this._objects[t]}},{key:"onRwdModeChange",value:function e(t){for(var n in this._objects)if(this._objects.hasOwnProperty(n)){var i=this._objects[n];i!==this._rootWObject&&i!==this._pageWObject&&i.updateObjectForRwdChange(t)}}},
1218{key:"findAllWObjectsByClass",value:function e(t){return this.findAllWObjectsByClasses([t])}},{key:"findAllWObjectsByClasses",value:function e(t){var n=[],i;for(var r in this._objects)if(this._objects.hasOwnProperty(r)){i=this._objects[r];var a=he(t),o;try{for(a.s();!(o=a.n()).done;){var s;if(i instanceof o.value){n.push(i);break}}}catch(e){a.e(e)}finally{a.f()}}return n}},{key:"getAllWGroups",value:function e(){var t=[],n;for(var i in this._objects)this._objects.hasOwnProperty(i)&&(n=this._objects[i])instanceof
1219com.webwave.publication.object.WGroup&&t.push(n);return t}},{key:"countWObjectsByClass",value:function e(t){return this.findAllWObjectsByClass(t).length}},{key:"getAllFixedObjects",value:function e(){var t=[],n={};for(var i in this._objects)this._objects.hasOwnProperty(i)&&(n=this._objects[i]).isFixed()&&t.push(n);return t}},{key:"getAllFullWidthObjects",value:function e(){var t=[],n={};for(var i in this._objects)this._objects.hasOwnProperty(i)&&(n=this._objects[i]).isFullWidth()&&t.push(n);return t}},
1220{key:"findAllWObjects",value:function e(t){var n=[];for(var i in this._objects)this._objects.hasOwnProperty(i)&&(webwave.isFunction(t)?!0===t(this._objects[i])&&n.push(this._objects[i]):n.push(this._objects[i]));return n}},{key:"findAllWObjectsByType",value:function e(t){return this.findAllWObjects(function(e){return e.getType()===t})}},{key:"updateObjectsAfterWindowResize",value:function e(){for(var t=this.findAllWObjects(function(e){return e.isFullWidth()||e.isFixed()||e.isSticked()||e.getPositionOrigin()===
1221S.a.SCREEN_TOP_LEFT||e.getPositionOrigin()===S.a.SCREEN_TOP_RIGHT||e.isObjectSizeAndPositionShouldBeConvertedToPX()}),n=0;n<t.length;n++)t[n].updateDomSizeAndPosition();webwave.isDefAndNotNull(this.menutoolService)&&this.menutoolService.updateMenusAfterWindowResize(),this.updateAllFontDependentWObjects()}},{key:"updateRotatedObjectsAfterFontsHasBeenLoaded",value:function e(){for(var t=this.findAllWObjects(function(e){return e.isRotated()}),n=0;n<t.length;n++)t[n].updateDomSize()}},{key:"isFontDependent",
1222value:function e(t){for(var n=[com.webwave.publication.object.WSimpleText,com.webwave.publication.object.WText,com.webwave.publication.object.WForm,com.webwave.publication.object.WMenu,com.webwave.publication.object.WLightbox,com.webwave.publication.object.WNewsfeed],i=0;i<n.length;i++)if(t instanceof n[i])return!0;return!1}},{key:"updateAllFontDependentWObjects",value:function e(){for(var t=this,n=this.findAllWObjects(function(e){return t.isFontDependent(e)}),i=0;i<n.length;i++)n[i].updateMinSize()}},
1223{key:"_assignCustomLayoutData",value:function e(t){if(!webwave.isNotDefOrNull(t))for(var n in t)if(t.hasOwnProperty(n)&&this._objectsData.hasOwnProperty(n))for(var i in t[n])t[n].hasOwnProperty(i)&&this._objectsData[n].rwdProperties.hasOwnProperty(i)&&(webwave.isDef(t[n][i].position)&&(this._objectsData[n].rwdProperties[i].position=t[n][i].position),webwave.isDef(t[n][i].size)&&(this._objectsData[n].rwdProperties[i].size=t[n][i].size))}},{key:"loadObjectsData",value:function e(){try{this._objectsData=
1224{}
1224,Object.assign(this._objectsData,window.WW_OBJECTS_STORE),webwave.isDefAndNotNull(window.WW_LAYOUT_OBJECTS_STORE)&&Object.assign(this._objectsData,window.WW_LAYOUT_OBJECTS_STORE),this._assignCustomLayoutData(p.a.parseJsonFromNodeWithId(ye,!0))}catch(e){console.error("Error during object data loading",e),this._objectsData={}}}},{key:"_loadLayoutObjectVisibility",value:function e(){try{var t=$("#ww-layout-objects-visibility");1===t.length&&(this._layoutObjectsVisibility=JSON.parse(t.html()),t.remove())}catch(e){console.error("Error during loading layout objects visibility",
1225e)}}},{key:"getObjectsData",value:function e(){return this._objectsData}},{key:"getLayoutObjectsVisibility",value:function e(){return this._layoutObjectsVisibility}},{key:"getLayoutObjectVisibility",value:function e(t){var n=this._layoutObjectsVisibility;return webwave.isDefAndNotNull(n)&&webwave.isDef(n[t])?n[t]:null}},{key:"getObjectData",value:function e(t){return webwave.isDefAndNotNull(this._objectsData)&&webwave.isDef(this._objectsData[t])?this._objectsData[t]:null}},{key:"setObjectData",value:function e(t,
1226n){return webwave.isDefAndNotNull(this._objectsData)?this._objectsData[t]=n:null}},{key:"setMenutoolService",value:function e(t){this.menutoolService=t}},{key:"collectWObjectsByIds",value:function e(t){for(var n=[],i=0;i<t.length;i++){var r=this.getWObjectById(t[i]);webwave.isDefAndNotNull(r)&&n.push(r)}return n}},{key:"setPageAreaService",value:function e(t){this.pageAreaService=t}},{key:"setInteractionsService",value:function e(t){this.interactionsService=t}},{key:"setRelationManagerService",value:function e(t){this.relationManagerService=
1227t}},{key:"setOrderPopupService",value:function e(t){this.orderPopupService=t}},{key:"getOrderPopupService",value:function e(){return this.orderPopupService}},{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}},{key:"setAnimator",value:function e(t){this._animator=t}},{key:"getAnimator",value:function e(){return this._animator}},{key:"setPhotoswipeService",value:function e(t){this.photoswipeService=t}},{key:"getPhotoswipeService",value:function e(){return this.photoswipeService}},
1228{key:"loadWObjectRelations",value:function e(t){var n=t.getBinds();for(var i in n)if(n.hasOwnProperty(i)){var r=this.getWObjectById(n[i].getOtherWNodeId(t.getId()));webwave.isDefAndNotNull(r)&&t.isAttached()&&r.isAttached()&&this.relationManagerService.createAndAddRelation(n[i],!0)}}},{key:"removeAllRelationsByWObject",value:function e(t){var n=t.getBinds();for(var i in n)if(n.hasOwnProperty(i)){var r=this.getWObjectById(i);webwave.isDefAndNotNull(r)&&this.relationManagerService.removeRelation(t,
1229r)}}},{key:"loadWObjectsRelations",value:function e(t){for(var n=0;n<t.length;n++){var i=t[n];this.loadWObjectRelations(i),this.loadWObjectsRelations(i.getChildren())}}},{key:"_loadAllRelations",value:function e(){this.loadWObjectsRelations(this.findAllWObjects())}},{key:"setPageCanvas",value:function e(t){this.pageCanvas=t}},{key:"normal2FixedCoords",value:function e(t){var n=this.getPageareaOffset();return new w.a({x:t.getX()+n.left,y:t.getY()+n.top})}},{key:"getPageareaOffset",value:function e(){return{left:this.pageAreaService.getContainerX(),
1230top:0}}},{key:"getRootWObject",value:function e(){return this._rootWObject}},{key:"updateRelationsByWObject",value:function e(){}},{key:"setWIntersectionObserver",value:function e(t){this.wIntersectionObserver=t}},{key:"initLazyLoadForObjects",value:function e(){var t,n=he(this.findAllWObjects()),i;try{for(n.s();!(i=n.n()).done;){var r;i.value.addImgLazyLoad()}}catch(e){n.e(e)}finally{n.f()}}},{key:"initObjectInViewportListeners",value:function e(){var t,n=he(this.findAllWObjects()),i;try{for(n.s();!(i=
1231n.n()).done;){var r;i.value.addObjectInViewPortListener()}}catch(e){n.e(e)}finally{n.f()}}},{key:"updatePercentDependentObjectParams",value:function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.findAllWObjects().filter(function(e){var n=e.getPosition(),i=e.getSize();return!0===t.vertical&&(n.getYUnit()===y.a.PERCENT||i.getHeightUnit()===y.a.PERCENT)||!0===t.horizontal&&(n.getXUnit()===y.a.PERCENT||i.getWidthUnit()===y.a.PERCENT)}),i=0;i<n.length;i++)n[i].updateDomSizeAndPosition()}},
1232{key:"restoreBindsFromJSON",value:function e(t,n){var i,r=null===(i=this.rwdService)||void 0===i?void 0:i.getCurrentMode();for(var a in n)if(n.hasOwnProperty(a)){var o,s=n[a],u=s.relatedWNodes[0]!==t.getId()?s.relatedWNodes[0]:s.relatedWNodes[1],c=this.getWObjectById(u),l=null===c||void 0===c?void 0:c._halfBinds[t.getId()];!1===webwave.isDefAndNotNull(l)||(null===(o=l)||void 0===o?void 0:o.getRwdModeId())!==r.getId()?(s.rwdModeId=r.getId(),l=new R.a(s),t._halfBinds[u]=l):(delete c._halfBinds[t.getId()],
1233c.getBinds()[t.getId()]=l,t.getBinds()[a]=l)}}},{key:"detachBinds",value:function e(t){var n=t.getBinds();for(var i in n)if(n.hasOwnProperty(i)){var r=n[i],a=this.getWObjectById(r.getOtherWNodeId(t.getId())),o=null===a||void 0===a?void 0:a.getBinds();webwave.isDef(a)&&o.hasOwnProperty(t.getId())&&(delete o[t.getId()],delete n[i],a._halfBinds[t.getId()]=r)}t._halfBinds={},t.setBinds({})}},{key:"findAllStickyWObjects",value:function e(){return this.findAllWObjects().filter(function(e){return e.isSticky()})}},
1234{key:"findAllWObjectsWithAnimationOnScroll",value:function e(){return this.findAllWObjects().filter(function(e){return e.isScrollAnimationEnabled()})}},{key:"updateStickyWNodes",value:function e(){for(var t=this.findAllStickyWObjects(),n=0;n<t.length;n++)t[n].isVisibleForInFlow()&&t[n].updateDomPosition()}},{key:"updateAnimationOnScrollWObjects",value:function e(){for(var t,n=this.findAllWObjectsWithAnimationOnScroll(),i=0;i<n.length;i++)t=n[i],this.interactionsService.updateWObjectScrollVisibility(t)}},
1235{key:"onPageAreaScrollChange",value:function e(t,n){n!=t&&(this.updateStickyWNodes(),this.updateAnimationOnScrollWObjects())}},{key:"findAllWCounters",value:function e(){return this.findAllWObjectsByClass(C.a)}},{key:"findAllWMenus",value:function e(){return this.findAllWObjectsByClass(com.webwave.publication.object.WMenu)}},{key:"findAllWElementsSupportedKenBurns",value:function e(){return this.findAllWObjectsByClasses(n.KEN_BURNS_CLASSES)}},{key:"createSelectorForObjectTypes",value:function e(t){var i=
1236"";if(t.length>0){var r=he(t),a;try{for(r.s();!(a=r.n()).done;){var o=a.value;i+="[".concat(n.OBJECT_TYPE_ATTR_NAME,"=").concat(o,"],")}}catch(e){r.e(e)}finally{r.f()}i=i.substring(0,i.length-1)}return i}},{key:"_enabledAndUpdateDomElementPositionForAllObjects",value:function e(){var t,n=he(this.findAllWObjects()),i;try{for(n.s();!(i=n.n()).done;){var r=i.value;r.setDomElementPositionUpdateEnabled(!0),r.updateDomElementPosition()}}catch(e){n.e(e)}finally{n.f()}}},{key:"getNextSection",value:function e(t){var n=
1237this.getSections().indexOf(t);return n>=this.getSections().length-1?null:this.getSections()[n+1]}},{key:"getPreviousSection",value:function e(t){var n=this.getSections().indexOf(t);return n<1?null:this.getSections()[n-1]}},{key:"getSections",value:function e(){return this._sections}},{key:"_initializeAllWObjects",value:function(){var e=Object(r.a)(g.a.mark(function e(){var t,n,i,r,a;return g.a.wrap(function e(o){for(;;)switch(o.prev=o.next){case 0:t=new M.a({continueOnError:!0}),n=this.findAllWObjects(),
1238i=he(n);try{for(a=function e(){var n=r.value;t.addToQueue(function(){n.init()})},i.s();!(r=i.n()).done;)a()}catch(e){i.e(e)}finally{i.f()}return o.abrupt("return",new Promise(function(e){t.addToQueue(function(){e()}),t.dequeue()}));case 5:case "end":return o.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()}],[{key:"getInstance",value:function e(){return n.__instance}}]),n}(_.a),le.KEN_BURNS_CLASSES=[N.a,D.a,B.a],le.LAYOUT_GROUP_ATTRIBUTE_TYPE="WLayoutGroup",le.OBJECT_TYPE_ATTR_NAME=
1239"data-element-type",te=de,ne=Object(h.a)(te.prototype,"backgroundParallaxService",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=Object(h.a)(te.prototype,"elementRotationService",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=Object(h.a)(te.prototype,"modularObjectContentService",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ae=Object(h.a)(te.prototype,"storeAnalyticsManager",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),
1240oe=Object(h.a)(te.prototype,"pageService",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}
1240),se=Object(h.a)(te.prototype,"rwdService",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ue=Object(h.a)(te.prototype,"userService",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ce=Object(h.a)(te.prototype,"feedService",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=te))||ee)},2573:function(e,t,n){n.d(t,"a",function(){return a});var i=
1241n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"renderCounterText",value:function t(n){return n>e.MAX_COUNT?"+".concat(e.MAX_COUNT):"".concat(n)}}]),e}();a.MAX_COUNT=99},2574:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this.animationQueueItem=null,this.wObject=null,this.animationPlayed=!1,this.wObject=t,this.wObject.addWObjectEventListener(this)}return Object(r.a)(e,[{key:"updateAnimationStartPoint",
1242value:function e(){null!==this.animationQueueItem&&this.animationQueueItem.updateAnimationStartPoint()}},{key:"wObjectSizeChanged",value:function e(){this.updateAnimationStartPoint()}},{key:"wObjectPositionChanged",value:function e(){this.updateAnimationStartPoint()}},{key:"wObjectVisibilityChanged",value:function e(){}},{key:"setAnimationQueueItem",value:function e(t){this.animationQueueItem=t,null===t&&(this.animate(),this.setAnimationPlayed(!1))}},{key:"_tryToPlayCounterAnimation",value:function e(){var t=
1243this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._canPlayAnimation(n)&&(this.wObject.playCounterAnimation({onComplete:function e(){null!==t.animationQueueItem&&t.animationQueueItem.setCounterAnimationFinished(),t.setAnimationPlayed(!1)}}),this.setAnimationPlayed(!0))}},{key:"onShowAnimationStart",value:function e(){this._tryToPlayCounterAnimation({playInvisibleOrWithAnimationEnabled:!0})}},{key:"animate",value:function e(){this._tryToPlayCounterAnimation()}},{key:"setAnimationPlayed",
1244value:function e(t){this.animationPlayed=t}},{key:"onInteractionVisibilityChange",value:function e(){this._tryToPlayCounterAnimation()}},{key:"_canPlayAnimation",value:function e(){var t;return((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).playInvisibleOrWithAnimationEnabled||this.wObject.isVisible()&&!1===this.wObject.isAnimationEnabled())&&!1===this.animationPlayed&&!1===this.wObject.getCounterAnimationData().getOnlyOnce()}}]),e}()},2575:function(e,t,n){var i=n(0),r=n(1),a=n(18),o=
1245n(3),s=n(4),u=n(2),c=n(2104),l=n(2704);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=
1246function e(t){return function(e){Object(o.a)(n,e);var t=d(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"onVisibilityChange",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this,t),this.getCounterAnimationManager().onInteractionVisibilityChange()}},{key:"beforeShowRealAnimationStart",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"beforeShowRealAnimationStart",this).call(this),this.getCounterAnimationManager().onShowAnimationStart()}},
1247{key:"formatNumber",value:function e(t){var n=this.getCounterAnimationData(),i=n.getSeparators().getThousandsPlaceSeparator(),r;return n.getValues().getFinalValue().printFormattedValue(t,i)}},{key:"generateFinalNumber",value:function e(){return this.getCounterAnimationData().getValues().getFinalValue().printFormattedValue()}},{key:"stopCounterAnimation",value:function e(){null!==this.getCounterAnimation()&&(this.getCounterAnimation().stop(!0),this.setCounterAnimation(null))}},{key:"playCounterAnimation",
1248value:function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.stopCounterAnimation();var i=new c.a,r=this.getCounterAnimationData().getValues().getOwnAnimationStartNumberEnabled()?this.getCounterAnimationData().getValues().getInitialValue().getValue():0;this.setCounterAnimation(new l.a({easing:"easeOutQuint",element:this.getAnimationElement(),initialValue:r,finalValue:this.getCounterAnimationData().getValues().getFinalValue().getValue(),duration:this.getCounterAnimationData().getValues().getAnimationTime(),
1249formatFunction:this.formatNumber.bind(this),onComplete:function e(){t.setCounterAnimation(null),webwave.isFunction(n.onComplete)&&n.onComplete()},step:function e(){t.updateMinSize()}})),i.registerAnimation(this.getCounterAnimation())}},{key:"getCounterAnimation",value:function e(){throw"Not implemented";}},{key:"setCounterAnimation",value:function e(t){throw"Not implemented";}},{key:"getCounterAnimationManager",value:function e(){throw"Not implemented";}},{key:"getCounterAnimationData",value:function e(){throw"Not implemented";
1250}},{key:"getAnimationElement",value:function e(){throw"Not implemented";}}]),n}(t)};t.a=f},2576:function(e,t,n){n.d(t,"a",function(){return k});var i=n(6),r=n(0),a=n(1),o=n(11),s=n(3),u=n(4),c=n(2),l=n(5),d=n(7),h=n(1217),f=n(27),v=n(15),g=n.n(v),p=n(16),y,b,m,w,S;function O(e){var t=_();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function _(){if("undefined"==typeof Reflect||
1251!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var k=(y=Object(v.injectable)(),b=Object(v.inject)(p.a.EnvironmentUtils),y((w=function(e){Object(s.a)(n,e);var t=O(n);function n(){var e;
1251return Object(r.a)(this,n),e=t.call(this),Object(i.a)(e,"environmentUtils",S,Object(o.a)(e)),e._orderPopup=null,e._selectProductVariantPopup=null,e._popupService=
1252null,e}return Object(a.a)(n,[{key:"getStoreSettings",value:function e(){throw new Error("not implemented");}},{key:"setOrderPopup",value:function e(t){this._orderPopup=t}},{key:"setPopupService",value:function e(t){this._popupService=t}},{key:"setSelectPopupVariantPopup",value:function e(t){this._selectProductVariantPopup=t}},{key:"showPopup",value:function e(t){var n=this;if(this._orderPopup)if(webwave.isDef(t)){var i=t.getProductId();this.getProductData(i).then(function(e){var t=new h.a(e.data);
1253t.isAvailable()?0===t.getNotEmptyVariant().length?n._orderPopup.show(t):n._selectProductVariantPopup.show(t,n._orderPopup.getLanguageId(),n._orderPopup.show.bind(n._orderPopup)):n._showNotAvailableProductPopup()}).catch(function(e){webwave.error(e),n._showNotAvailableProductPopup()})}else this._orderPopup.show()}},{key:"hide",value:function e(){this._orderPopup.hide()}},{key:"getProductData",value:function e(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(e,
1254r){webwave.utils.makeAjxaCall({url:"/v2/shop/getProductDetails/".concat(t),data:{website:n.environmentUtils.getWebsiteId()},noLoadingBox:!webwave.isBoolean(i.noLoadingBox)||i.noLoadingBox,noErrorPopup:!0},e,r)})}},{key:"_getTranslation",value:function e(){throw new Error("not implemented");}},{key:"_showNotAvailableProductPopup",value:function e(){var t=this._getTranslation();this._popupService.showUnexpectedErrorWarning({text:t.getTranslate("productNotAvailableException_text"),title:t.getTranslate("productNotAvailableException_title"),
1255yesLabel:t.getTranslate("productNotAvailableException_yesLabel")})}},{key:"getOrderClientData",value:function e(){return this._orderPopup.getOrderClientData()}},{key:"getOrderItems",value:function e(){return this._orderPopup.getOrderItems()}}]),n}(f.a),S=Object(l.a)(w.prototype,"environmentUtils",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function e(){return null}}),m=w))||m)},2577:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,
1256e)}return Object(r.a)(e,null,[{key:"getElementsByClassName",value:function e(t){return document.getElementsByClassName(t)}},{key:"existElementWithClassName",value:function t(n){return e.getElementsByClassName(n).length>0}},{key:"getDOMElementStylePropertyValue",value:function e(t,n){var i;return webwave.isDefAndNotNull(t)&&(i=t.style[n]),i}},{key:"setDOMElementStylePropertyValue",value:function e(t,n,i){webwave.isDefAndNotNull(t)&&(t.style[n]=i)}}]),e}()},2578:function(e,t,n){n.d(t,"a",function(){return f});
1257var i=n(0),r=n(1),a=n(15),o=n.n(a),s=n(1662),u,c;function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1258}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function d(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==
1259t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var f=(u=Object(a.injectable)())(c=function(){function e(){Object(i.a)(this,e),this._storeCarts=[]}return Object(r.a)(e,[{key:"onPropertyChange",value:function e(t){switch(t.propertyName){case s.a.PRODUCT_COUNTER_PROPERTY_NAME:this._onProductCountChange(t.newValue);break}}},{key:"updateStoreCartsList",value:function e(){throw new Error("Not implemented");}},{key:"_onProductCountChange",value:function e(t){var n=l(this._storeCarts),
1260i;try{for(n.s();!(i=n.n()).done;){var r;i.value.onProductCountChange(t)}
1260}catch(e){n.e(e)}finally{n.f()}}}]),e}())||c},2579:function(e,t,n){t.a={LOCAL_STORAGE_CLIENT_DATA_KEY:"clientData",LOCAL_STORAGE_ITEMS_KEY:"items"}},2580:function(e,t,n){n.d(t,"a",function(){return w});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2106),c=n(1922),l=n(1662),d=n(15),h=n.n(d),f,v;function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=p(e))||t&&e&&"number"==
1261typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}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 a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;
1262}}}}function p(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function b(e){var t=m();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;
1263r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var w=(f=Object(d.injectable)())(v=function(e){Object(a.a)(n,e);var t=b(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),
1264o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a)))._orderItems=[],e}return Object(r.a)(n,[{key:"addItem",value:function e(t){this.getOrderItemsByCurrentLang().push(t),this._onStoreItemsChange()}},{key:"addItemFromProductData",value:function e(t){var n=this.findItemByProduct(t);n?n.setProductDataAndChangeCount(t):this.addItem(new c.a(t)),this._onStoreItemsChange()}},{key:"cleanOrderItemsInCurrentLang",value:function e(){var t=this.getLanguageId();this._orderItems=this._orderItems.filter(function(e){return e.language!==
1265t}),this._onStoreItemsChange()}},{key:"decreaseItemCount",value:function e(t){var n=this.findItemByProductId(t);n&&(n.decreaseCount(),0===n.getCount()&&this.removeItem(t)),this._onStoreItemsChange()}},{key:"findItemByProduct",value:function e(t){return this.getOrderItemsByCurrentLang().find(function(e){return e.equals(t)})}},{key:"findIndexItemByProductId",value:function e(t){return this.getOrderItemsByCurrentLang().findIndex(function(e){return e._productData.getIdForOrderItem()===t})}},{key:"findItemByProductId",
1266value:function e(t){return this.getOrderItemsByCurrentLang().find(function(e){return e._productData.getIdForOrderItem()===t})}},{key:"getLanguageId",value:function e(){throw new Error("Not implemented");}},{key:"getOrderItemsByCurrentLang",value:function e(){var t=this.getLanguageId(),n=this._orderItems.filter(function(e){return e.language===t})[0];return!1===webwave.isDef(n)&&(n={language:this.getLanguageId(),items:[]},this._orderItems.push(n)),n.items}},{key:"setItemCount",value:function e(t,n){var i=
1267this.findItemByProductId(t);i&&i.setCount(n),this._onStoreItemsChange()}},{key:"incrementItemCount",value:function e(t){var n=this.findItemByProductId(t);n&&n.incrementCount(),this._onStoreItemsChange()}},{key:"removeItem",value:function e(t){var n=this.findIndexItemByProductId(t);n>-1&&this.getOrderItemsByCurrentLang().splice(n,1),this._onStoreItemsChange()}},{key:"_dispatchItemCountForListeners",value:function e(t){this.triggerPropertyChange(l.a.PRODUCT_COUNTER_PROPERTY_NAME,t)}},{key:"_getItemsCount",
1268value:function e(){var t,n=0,i=g(this.getOrderItemsByCurrentLang()),r;try{for(i.s();!(r=i.n()).done;){var a;n+=r.value.getCount()}}catch(e){i.e(e)}finally{i.f()}return n}},{key:"_onStoreItemsChange",value:function e(){this._dispatchItemCountForListeners(this._getItemsCount())}}]),n}(u.a))||v},26:function(e,t,n){function i(e,t,n,i,r,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(i,r)}function r(e){return function(){var t=this,n=arguments;return new Promise(function(r,
1269a){var o=e.apply(t,n);function s(e){i(o,r,a,s,u,"next",e)}function u(e){i(o,r,a,s,u,"throw",e)}s(void 0)})}}t.a=r},262:function(e,t,n){n.d(t,"b",function(){return a});var i={AUTOPAY:"autopay",DOT_PAY:"dotPay",ON_DELIVERY:"onDelivery",PAYPAL:"payPal",PRZELEWY24:"przelewy24",NETOPIA:"netopia",STRIPE:"stripe",TRADITIONAL_TRANSFER:"traditionalTransfer"},r=[i.AUTOPAY,i.PAYPAL,i.PRZELEWY24,i.STRIPE,i.TRADITIONAL_TRANSFER,i.ON_DELIVERY,i.DOT_PAY,i.NETOPIA],a=function e(t,n){var i=r.indexOf(t),a=r.indexOf(n);
1270return-1===i&&(i=r.length),-1===a&&(a=r.length),i-a};t.a=i},263:function(e,t,n){t.a=r;var i=n(2);function r(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(i.a)(e)););return e}}
1270,2674:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"parseBoxShadow",function(){return G}),n.d(t,"locationService",function(){return z}),n.d(t,"initialiseModules",function(){return H});var i=n(2398),r=n(2675),a=n.n(r),o=n(2565),s=n(10),u=n(1656),c=n(1613),l=n(1733),d=n(1951),
1271h=n(2351),f=n(2352),v=n(2095),g=n(2353),p=n(2677),y=n(2354),b=n(2678),m=n(2355),w=n(2357),S=n(2358),O=n(2682),_=n(2359),k=n(2683),P=n(2684),A=n(2686),E=n(2687),C=n(2099),I=n(2688),T=n(2698),N=n(2699),D=n(2700),j=n(2701),R=n(2702),L=n(2100),M=n(2367),x=n(2101),B=n(2102),F=n(2369),V=n.n(F),W=n(975);function U(e){s.Environment.isNotTest()&&setTimeout(function(){e.main()},0)}function H(e){var t=window.WWNamespace;document.addEventListener("DOMContentLoaded",function(){var n=window[t.LOAD_MODULE_SERVICE],
1272i=[n.addListener(window[t.MODULES].GALLERY_LIB),n.addListener(window[t.MODULES].I18N),n.addListener(window[t.MODULES].JQUERY),n.addListener(window[t.MODULES].OBJECTS_STORE),n.addListener(window[t.MODULES].PHOTOSWIPE)];webwave.isDefAndNotNull(document.querySelector('script[data-store-type="layout"]'))&&i.push(n.addListener(window[t.MODULES].LAYOUT_OBJECTS_STORE)),window[t.LOAD_MODULE_SERVICE].waitForAll(i,U.bind(null,e))})}n.d(t,"publicationStylesEntry",function(){return i.default}),n.d(t,"publication",
1273function(){return a.a}),n.d(t,"RwdService",function(){return o.a}),n.d(t,"Environment",function(){return s.Environment}),n.d(t,"WObject",function(){return u.a}),n.d(t,"WElement",function(){return c.a}),n.d(t,"LinkWElement",function(){return l.a}),n.d(t,"WGroup",function(){return d.a}),n.d(t,"RootWObject",function(){return h.a}),n.d(t,"PageWObject",function(){return f.a}),n.d(t,"WButton",function(){return v.a}),n.d(t,"WSnipcartProduct",function(){return g.a}),n.d(t,"WSnipcartShopCart",function(){return p.a}),
1274n.d(t,"WFooter",function(){return y.a}),n.d(t,"WLightbox",function(){return b.a}),n.d(t,"WGallery",function(){return m.a}),n.d(t,"WSlider",function(){return w.a}),n.d(t,"WSimpleText",function(){return S.a}),n.d(t,"WText",function(){return O.a}),n.d(t,"WImg",function(){return _.a}),n.d(t,"WLoginTool",function(){return k.a}),n.d(t,"WGoogleMaps",function(){return P.a}),n.d(t,"WRectangle",function(){return A.a}),n.d(t,"WMenu",function(){return E.default}),n.d(t,"WHtmlTool",function(){return C.a}),n.d(t,
1275"WNewsfeed",function(){return I.a}),n.d(t,"WFbComments",function(){return T.a}),n.d(t,"WSocialMedia",function(){return N.a}),n.d(t,"WLanguageSelector",function(){return D.a}),n.d(t,"WForm",function(){return j.a}),n.d(t,"WDate",function(){return R.a}),n.d(t,"WMediaPlayer",function(){return L.a}),n.d(t,"Html5Video",function(){return M.a}),n.d(t,"VimeoVideo",function(){return x.a}),n.d(t,"YoutubeVideo",function(){return B.a});var z=com.webwave.utils.location.locationService,G=com.webwave.util.cssUtils.parseBoxShadow},
12762675:function(e,t){},2676:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1277[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this))._lockDate=Date.now(),e}return Object(r.a)(n,[{key:"isLocked",value:function e(){var t;return Date.now()<this._lockDate+n.LOCK_DURATION_MS}}]),n}(n(1945).a);d.LOCK_DURATION_MS=500},2677:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1623),c;function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=
1278Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).linkData=new u.a,
1279r}return Object(r.a)(n,[{key:"getLinkData",value:function e(){return this.linkData}}]),n}(n(1745).a)},2678:function(e,t,n){n.d(t,"a",function(){return S});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2097),l=n(973),d=n(2068),h=n(40),f=n(10),v=n(1298),g=n(1716),p=n(30);function y(e){var t=b();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function b(){if("undefined"==
1280typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WLightbox");var m,w={horizontal:["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],vertical:["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"]},S=function(e){Object(o.a)(n,e);var t=y(n);function n(e){var r;
1281if(Object(i.a)(this,n),(r=t.call(this,e)).layout=e.layout,r.imagesInRow=e.imagesInRow,r._imagesLinkData=[],webwave.isArrayLike(e.imagesLinkData))for(var a=e.imagesLinkData,o=0;o<a.length;o++)r._imagesLinkData.push(l.a.createLink(a[o]));return r._initLightboxImageClick(),r._imageGroups=[],r._renderedImages=[],r._imageSpacing=0,r._imageHeight=0,r._cropType=e.cropType,r._readImagesFromDom(),r}return Object(r.a)(n,[{key:"_initLightboxImageClick",value:function e(){for(var t=this,n,i=this.getDomObject().find(".lightbox_wrapper"),
1282r=0;r<i.length;r++){var a=$(i[r]).find('a[data-link-type="interactionLinkData"]');a.length>0?a.on("click",function(e){e.preventDefault();var n=t.getImageIndex($(this));t._handleInteractionsLinkClick(t._imagesLinkData[n])}):$(i[r]).find("a[data-lightbox]").on("click",function(e){e.preventDefault(),t.openLightboxPlugin(t.getImageIndex($(this)))})}}},{key:"getImageIndex",value:function e(t){return t.closest(".lightbox_wrapper").index()}},{key:"_createPhotoSwipeImageMapByLightboxImage",value:function e(t){var n=
1283t.find(".lightbox_image"),i=t.find("img"),r="",a=i.attr("title");webwave.isDef(a)&&""!=a&&(r+="<div><b>"+a+"</b></div>");var o=n.attr("data-description");
1283webwave.isDef(o)&&""!=o&&(r+="<div>"+o+"</div>");var s=n.attr("url");return webwave.isDef(s)&&""!=s&&(r+='<div><a href="'+f.StringUtils.getValidHref(s)+'" class="ww_customStyle_custom_link" target="_blank">'+s+"</a></div>"),{src:n.attr("href"),w:n.attr("data-width"),h:n.attr("data-height"),msrc:i.attr("src"),title:r,el:i[0]}}},{key:"getImages",value:function e(){return this.getLightboxWrapper().find(".lightbox_wrapper")}},
1284{key:"getImgDomElements",value:function e(){return this.getLightboxWrapper().find("img")}},{key:"openLightboxPlugin",value:function e(t){for(var n=[],i=this.getImages(),r=0;r<i.length;r++)n.push(this._createPhotoSwipeImageMapByLightboxImage($(i[r])));this.getPhotoswipeService().openAsLightbox(n,t)}},{key:"_updateImageContainerSize",value:function e(){var t=this.getLightboxWrapperEl();if(webwave.isDefAndNotNull(t)){var n="auto";switch(this.getLayout()){case g.a.MASONRY_VERTICAL:for(var i=0,r=0;r<this._imageGroups.length;r++){for(var a=
12850,o=0;o<this._imageGroups[r].length;o++){var s=this._imageGroups[r][o],u=window.getComputedStyle?getComputedStyle(s,null):s.currentStyle,c=parseFloat(u.marginTop)||0;a+=s.getBoundingClientRect().height+c}i=Math.max(i,a)}n=i+"px";break}t.style.height=n}}},{key:"getLightboxWrapper",value:function e(){return this.getContent().find(".ww_lightbox")}},{key:"getLightboxWrapperEl",value:function e(){return this.cachedDom.lightboxWrapper}},{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),
1286"cacheDom",this).call(this,t);return i.lightboxWrapper=i.content.children[0],i}},{key:"calculateMinContentSize",value:function e(){this._updateImageContainerSize();var t=this.getLightboxWrapperEl(),n=0===this.getRenderedImages().length?this.getImageHeight():0;return new h.a({width:0,height:webwave.isDefAndNotNull(t)?t.scrollHeight:n})}},{key:"onVisibilityChange",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",
1287this).call(this,t),this.isVisible()&&this.updateMinSize()}},{key:"_cacheImageGroups",value:function e(){this._imageGroups=[];for(var t=0;t<this.imagesInRow;t++)this._imageGroups.push([]);for(var n=this.getImages(),i=0;i<n.length;i++){var r=n[i],a=$(r).css("order");webwave.isDef(this._imageGroups[a])&&this._imageGroups[a].push(r)}}},{key:"_clearImageWrapperSizes",value:function e(){if(this.isInitialized())for(var t=this.getRenderedImages(),n=0;n<t.length;n++){var i,r=t[n].getDomObject();r[0].style.width=
1288"",r[0].style.height=""}}},{key:"onLayoutChange",value:function e(t,n){n===g.a.MASONRY_VERTICAL&&t!==g.a.MASONRY_VERTICAL&&this._clearImageWrapperSizes(),this.updateAutoHeight()}},{key:"setLayout",value:function e(t){var n=this.layout;this.layout=t,n!==t&&this.onLayoutChange(t,n)}},{key:"getLayout",value:function e(){return this.layout}},{key:"setImagesInRow",value:function e(t){this.imagesInRow=t}},{key:"setImageSpacing",value:function e(t){this._imageSpacing=t}},{key:"setImageHeight",value:function e(t){this._imageHeight=
1289t}},{key:"getImageHeight",value:function e(){return this._imageHeight}},{key:"loadAdditionalData",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"loadAdditionalData",this).call(this,t),this.setImagesInRow(t.imagesInRow),this.setLayout(t.layout),this.setImageSpacing(t.imageSpacing),this.setImageHeight(t.imageHeight),this._cacheImageGroups(),this._readImagesFromDom(),this.updateInnerSizes()}},{key:"getImagesInRow",value:function e(){return this.imagesInRow}},{key:"getImageSpacing",value:function e(){return this._imageSpacing}},
1290{key:"_countDynamicImageWidth",value:function e(){var t=this.getImagesInRow();return parseInt((this.getInnerWidth()-(t-1)*this.getImageSpacing())/t)}},{key:"_readImagesFromDom",value:function e(){this._renderedImages=[];for(var t=this.getImages(),n=0;n<t.length;n++){var i,r=$(t[n]).find("img"),a=parseInt(r.attr("width")),o=parseInt(r.attr("height"));this._renderedImages.push(new d.a({domObject:$(t[n]),width:a,height:o}))}}},{key:"getRenderedImages",value:function e(){return this._renderedImages}},
1291{key:"_updateMasonryVerticalInnerSizes",value:function e(){for(var t=this._countDynamicImageWidth(),n=this._readImageBorderAndPadding(),i=this.getRenderedImages(),r=0;r<i.length;r++){var a=i[r],o=a.getDomObject(),s=a.getDomObject().find("img"),u=a.getDomObject().find(".lightbox_title"),c=a.getWidth(),l=a.getHeight(),d=t-n.horizontal,h=d/c,f=Math.round(l*h),v=u.length>0?u.outerHeight():0;o[0].style.width=t+"px",o[0].style.height=f+n.vertical+v+"px",s.attr("width",d),s.attr("height",f)}i.length>=this.getImagesInRow()&&
1292this._distributeUnallocatedWrapperSpaceInMasonry()}},{key:"getImageCropType",value:function e(){return this._cropType}},{key:"hasCoverCropType",value:function e(){return this.getImageCropType()===c.a.CROP}},{key:"_readImageBorderAndPadding",value:function e(){var t=this.getDomObject().find(".image_lightbox_outer_wrapper"),n={vertical:0,horizontal:0};if(t.length>0)for(var i in w)if(w.hasOwnProperty(i))for(var r=0;r<w[i].length;r++){var a=parseInt(t.css(w[i][r]));!1===isNaN(a)&&(n[i]+=a)}return n}},
1293{key:"_updateFluidWidthInnerSizes",value:function e(){for(var t=this._countDynamicImageWidth(),n=this._readImageBorderAndPadding(),i=this.getRenderedImages(),r=this.getImagesInRow(),a=Math.floor(this._getSpaceDifferenceBetweenWrapperAndContent()),o=Math.trunc(a/r),s=Math.trunc(a%r),u=0!==s?Math.sign(s):0,c=Math.abs(s),l=i.length>=r,d=0;d<i.length;d++){var h=i[d],f=h.getDomObject(),v=h.getDomObject().find("img"),g=h.getWidth(),p=h.getHeight(),y=t,b,m,w=(t-n.horizontal)/g,S=f.find(".
1293image_lightbox_outer_wrapper").height()/
1294p,O=void 0,_=g*(O=this.hasCoverCropType()?Math.max(w,S):Math.min(w,S)),k=p*O;v.attr("height",k),y+=o,_+=o,l&&d%this.getImagesInRow()<c&&(y+=u,_+=u),f[0].style.width=y+"px",v.attr("width",_)}}},{key:"updateInnerSizes",value:function e(){if(!1!==this.isInitialized())switch(this.getLayout()){case g.a.MASONRY_VERTICAL:this._updateMasonryVerticalInnerSizes();break;case g.a.FLUID_WIDTH:this._updateFluidWidthInnerSizes();break}}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),
1295"afterDomSizeChange",this).call(this),this.updateInnerSizes(),this.updateMinSize()}},{key:"_isMasonryVertical",value:function e(){return this.getLayout()===g.a.MASONRY_VERTICAL}},{key:"_isFluidWith",value:function e(){return this.getLayout()===g.a.FLUID_WIDTH}},{key:"computeAutoHeight",value:function e(){return this._isMasonryVertical()||this._isFluidWith()}},{key:"addImgLazyLoad",value:function e(){var t=this;Object(a.a)(Object(u.a)(n.prototype),"addImgLazyLoad",this).call(this),this.getImgDomElements().each(function(e,
1296n){if(!0!==p.a.getValue("publicatedPageApp.disableLazyLoad")&&n.hasAttribute(v.a.LAZY_LOAD_ATTR_NAME)){var i=new v.a(n);t.createDomWIntersectionObserved(i)}})}},{key:"setPhotoswipeService",value:function e(t){this.photoswipeService=t}},{key:"getPhotoswipeService",value:function e(){return this.photoswipeService}},{key:"_distributeUnallocatedWrapperSpaceInMasonry",value:function e(){for(var t=this._getSpaceDifferenceBetweenWrapperAndContent(),n=this._countDynamicImageWidth(),i=0;i<this._imageGroups.length;i++)if(t>
12970){t--;for(var r=0;r<this._imageGroups[i].length;r++){var a=this._imageGroups[i][r],o;a.style.width="".concat(n+1,"px"),a.querySelector("img").setAttribute("width","".concat(n+1))}}}},{key:"_getImageWrapperWidth",value:function e(){var t=this.getLightboxWrapperEl();return webwave.isDefAndNotNull(t)?t.offsetWidth:0}},{key:"_getImageWrapperContentWidth",value:function e(){var t=this.getImageSpacing(),n=this.getImagesInRow();return this._countDynamicImageWidth()*n+t*(n-1)}},{key:"_getSpaceDifferenceBetweenWrapperAndContent",
1298value:function e(){return this._getImageWrapperWidth()-this._getImageWrapperContentWidth()}}]),n}(com.webwave.publication.object.LinkWElement);com.webwave.publication.object.WLightbox=S},2679:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1299),c=n(2356),l=n(40);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,
1299r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._imageCropData=null,r._imageSrc=null,r._imageSize=null,r._croppedImageSrc=null,r._croppedImageSize=null,r._thumbnailSrc=null,r._thumbnailSize=
1300null,r._useWebp=null,r}return Object(r.a)(n,[{key:"deserializeProperties",value:function e(t){return{imageCropData:webwave.isDefAndNotNull(t.imageCropData)?new u.a(t.imageCropData):null,imageSize:webwave.isDefAndNotNull(t.imageSize)?new l.a(t.imageSize):null,imageSrc:t.imageSrc,croppedImageSrc:t.croppedImageSrc,croppedImageSize:webwave.isDefAndNotNull(t.croppedImageSize)?new l.a(t.croppedImageSize):null,thumbnailSrc:t.thumbnailSrc,thumbnailSize:webwave.isDefAndNotNull(t.thumbnailSize)?new l.a(t.thumbnailSize):
1301null}}},{key:"applyProperties",value:function e(t){this._imageCropData=null===t||void 0===t?void 0:t.imageCropData,this._imageSrc=null===t||void 0===t?void 0:t.imageSrc,this._imageSize=null===t||void 0===t?void 0:t.imageSize,this._croppedImageSrc=null===t||void 0===t?void 0:t.croppedImageSrc,this._croppedImageSize=null===t||void 0===t?void 0:t.croppedImageSize,this._thumbnailSrc=null===t||void 0===t?void 0:t.thumbnailSrc,this._thumbnailSize=null===t||void 0===t?void 0:t.thumbnailSize}},{key:"getCropData",
1302value:function e(){return this._imageCropData}},{key:"getImageSrc",value:function e(){return this._imageSrc}},{key:"getImageSize",value:function e(){return this._imageSize}},{key:"getThumbnailSrc",value:function e(){return this._thumbnailSrc}},{key:"getThumbnailSize",value:function e(){return this._thumbnailSize}},{key:"getUseWebp",value:function e(){return this._useWebp}},{key:"getCroppedImageSrc",value:function e(){return this._croppedImageSrc}},{key:"getCroppedImageSize",value:function e(){return this._croppedImageSize}}]),
1303n}(c.a)},2680:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1692),c=n(1298);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1304[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this))._galleryObject=e,r}return Object(r.a)(n,[{key:"getDomObject",value:function e(){return this.getGalleryObject().getDomObject()[0]}},{key:"getGalleryObject",value:function e(){return this._galleryObject}},{key:"enteredViewportHandler",value:function e(){var t=this.getGalleryObject();webwave.isDef(t)&&(this._handleLazyLoadImagesInHeader(t),t.initializeImages())}},
1305{key:"_handleLazyLoadImagesInHeader",value:function e(t){for(var n,i=t._getGalleryImagesWrapper().querySelectorAll("img"),r=0;r<i.length;r++){var a=i[r],o=a.getAttribute(c.a.LAZY_LOAD_ATTR_NAME);a.setAttribute("src",o)}}}]),n}(u.a)},2681:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);
1306return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._href=e.href,r._target=e.target,r._samePage=e.samePage,r}return Object(r.a)(n,[{key:"getHref",value:function e(){return this._href}},
1307{key:"getTarget",value:function e(){return this._target}},{key:"getSamePage",value:function e(){return this._samePage}}]),n}(n(2098).a)},2682:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1695),l=n(40),d=n(10);function h(e){var t=f();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function f(){if("undefined"==typeof Reflect||
1308!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WText");var v,g=function(e){Object(o.a)(n,e);var t=h(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._rwdTextContent=new c.a($(e.domObject[0].childNodes[0].childNodes[0])),r._rwdTextContent.loadRwdTextProperties(),r}return Object(r.a)(n,
1309[{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this._addToImagesInsideEventListener(),this._addTolLinksEventListener(),this._addPhotoSwipeEvent()}},{key:"calculateMinContentSize",value:function e(){var t,n=this.getTextFrameEl().offsetHeight;return new l.a({width:0,height:n})}},{key:"updateObjectForRwdChange",value:function e(t){this._rwdTextContent.loadRwdTextProperties(t),Object(a.a)(Object(u.a)(n.prototype),"updateObjectForRwdChange",this).call(this,
1310t)}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this.updateMinSize()}},{key:"_addToImagesInsideEventListener",value:function e(){var t=this,n;this.getDomObject().find("img").each(function(){$(this)[0].addEventListener("load",function(){t.updateMinSize()})})}},{key:"_addTolLinksEventListener",value:function e(){for(var t=this,n=this.getDomObject()[0].querySelectorAll("a.custom_link"),i=function e(i){var r=n[i];r.addEventListener("click",
1311function(e){t.scrollIfLinkToAnchor(r)&&e.preventDefault()})},r=0;r<n.length;r++)i(r)}},{key:"_addPhotoSwipeEvent",value:function e(){var t;null===(t=this.getPhotoswipeService())||void 0===t||t.bindImgClickOnHtmlText(this.getDomObject())}},{key:"useAdvancedTextEditor",value:function e(){return!0}},{key:"setPhotoswipeService",value:function e(t){this.photoswipeService=t}},{key:"getPhotoswipeService",value:function e(){return this.photoswipeService}},{key:"setPageService",value:function e(t){this.pageService=
1312t}},{key:"getPageService",value:function e(){return this.pageService}},{key:"scrollIfLinkToAnchor",value:function e(t){var n=this._tryToObtainAnchorIdFromLink(t);return!!webwave.isStringAndNotEmpty(n)&&(this._scrollToAnchor($(n)),!0)}},{key:"_isLinkToAnchor",value:function e(t){return t.startsWith("#")}},{key:"_tryToObtainAnchorIdFromLink",value:function e(t){var n;if(t.hasAttribute("href")){var i=t.getAttribute("href");this._isLinkToAnchor(i)&&(n=d.StringUtils.escapeStringForRegexp(i))}return n}},
1313{key:"_scrollToAnchor",value:function e(t){this.getPageService().scrollPageToElement(t,{forceTop:!0})}}]),n}(com.webwave.publication.object.WSimpleText);com.webwave.publication.object.WText=g},2683:function(e,t,n){n.d(t,"a",function(){return g});
1313var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(933),c=n(1697),l=n(1677),d=n(1676);function h(e){var t=f();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,
1314r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WLoginTool");var v,g=function(e){Object(a.a)(n,e);var t=h(n);function n(e,r){var a,o;Object(i.a)(this,n),(o=t.call(this,e))._styles=l.a.deserializeObjectCombinedStyles(null===(a=e.contentData)||void 0===
1315a?void 0:a.styles),o._currentState=r?c.a.LOGGED_IN:c.a.NOT_LOGGED_IN;var s=o.getStyleMapByVersion(o._currentState);return o.applyPartialObjectStyle(s),o.rewriteButtonImageIfRequire(),o}return Object(r.a)(n,[{key:"rewriteButtonImageIfRequire",value:function e(){var t=this.objectStyle.background;this._isImageUrlToRewrite(t)?this.getContent()[0].setAttribute(d.a.LAZY_LOAD_ATTR_NAME,this._getBackgroundImageUrl()):this.getContent()[0].removeAttribute(d.a.LAZY_LOAD_ATTR_NAME)}},{key:"getCombinedStyleByVersion",
1316value:function e(t){var n=this._styles[t];return webwave.isNotDef(n)&&(n=new l.a,this._styles[t]=n),n}},{key:"getStyleMapByVersion",value:function e(t){var n=this.getCombinedStyleByVersion(t);return webwave.isDef(n)?n.styleMap:void 0}},{key:"_isImageUrlToRewrite",value:function e(t){return t.backgroundType===u.a.BackgroundTypes.COLOR&&webwave.isDef(this.getContent()[0])&&"none"!==t.backgroundImage}},{key:"_getBackgroundImageUrl",value:function e(){return this.objectStyle.background.backgroundImage.slice(5,
1317-2).replace(/"/g,"")}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WLoginTool=g},2684:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2361),l=n(2362),d=n(2685);function h(e){var t=f();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;
1318if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WGoogleMaps");var v,g=function(e){Object(o.a)(n,e);var t=h(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._mapType=e.mapType,r._sQuery=e.sQuery,r._center=e.center,r._zoom=e.zoom,r._mapInitialized=!1,r}return Object(r.a)(n,[{key:"addObjectInViewPortListener",
1319value:function e(){this.createDomWIntersectionObserved(new d.a(this))}},{key:"initializeGoogleMap",value:function e(){this._mapInitialized=!0,this._rerenderMapDom()}},{key:"_getGoogleMapsElement",value:function e(){return this.getDomObject()[0].getElementsByClassName("ww_googleMaps_element")[0]}},{key:"_rerenderMapDom",value:function e(){var t=this._getGoogleMapsElement();webwave.isDef(t)&&(webwave.isDefAndNotNull(t.firstChild)&&t.firstChild.remove(),t.innerHTML=l.a.renderGoogleMapHtml(this.getGoogleMapData()))}},
1320{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this)}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),!0===this._mapInitialized&&this._rerenderMapDom()}},{key:"getGoogleMapData",value:function e(){return new c.a({mapType:this._mapType,sQuery:this._sQuery,zoom:this._zoom,center:this._center,width:this.getInnerWidth(),height:this.getInnerHeight()})}}]),n}(com.webwave.publication.object.WElement);
1321com.webwave.publication.object.WGoogleMaps=g},2685:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1322[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e.getDomObject()[0]))._wGoogleMaps=e,r}return Object(r.a)(n,[{key:"enteredViewportHandler",value:function e(){this._wGoogleMaps.initializeGoogleMap()}}]),n}(n(1568).a)},2686:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(3),a=n(4),o=n(2);function s(e){var t=u();return function n(){var i=Object(o.a)(e),r;if(t){var s=Object(o.a)(this).constructor;
1323r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WRectangle");var c,l=function(e){Object(r.a)(n,e);var t=s(n);function n(e){return Object(i.a)(this,n),t.call(this,
1324e)}return n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WRectangle=l},2687:function(e,t,n){var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(14),l=n(1659),d=n(2030),h=n(1599),f=n(1660),v=n(1991),g=n(40),p=n(2363);function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1324if(!n){if(Array.isArray(e)||(n=b(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},
1325e:function e(t){throw t;},f:r}}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 a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function b(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===
1326n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function w(e){var t=S();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function S(){if("undefined"==typeof Reflect||
1327!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}!function(){var e,t=com.webwave.publication.object.WElement;webwave.provide("com.webwave.publication.object.WMenu");var n="data-samePage",s="ww_menu_list",b="left",m="right",S="auto",O={TOP:"top",BOTTOM:"bottom",AUTO:"auto"},_="slideUp",k="slideDown",P=(e={},Object(c.a)(e,_,"submenuSlideUpTimeoutId"),
1328Object(c.a)(e,k,"submenuSlideDownTimeoutId"),e),A=function(e){Object(o.a)(n,e);var t=w(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).dom={},r._mobileMenuVisible=!1,r._mobileMenuSize=void 0,r._mobileMenuPosition=void 0,r._mobileMenuIconAlign=void 0,r._mobileMenuImageUrl=void 0,r._mobileMenuActiveImageUrl=void 0,r._mobileMenuImageAnimationType=e.mobileMenuImageAnimationType,r._lastScheduledSlideDownRoot=void 0,r._lastScheduledSlideDownAt=0,r}return Object(r.a)(n,[{key:"afterDomSizeChange",
1329value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this.updateMobileMenuSizeAndPosition()}},{key:"getElementService",value:function e(){return window.elementService}},{key:"getMobileMenuVisible",value:function e(){return this._mobileMenuVisible}},{key:"getMenuItemsByPageId",value:function e(t){return this.getMenuFrame().querySelectorAll("a[pageId='".concat(t,"']"))}},{key:"markItemsLinkingToPageActive",value:function e(t){var n=this,i,r=y(this.getMenuItemsByPageId(t)),
1330a;try{for(r.s();!(a=r.n()).done;){var o=a.value,s,u="".concat(o.getAttribute("class"),"_active").split(" ");o.classList.add(u[u.length-1]);var c=o.getElementsByClassName("ww_menu_link_text")[0],l=o.parentNode,d=this.getHoverOutStyle(l);d&&c.classList.remove(d),o.classList.add("ww_active");var h=this.getHoverOutStyle(l);h&&c.classList.add(h)}}catch(e){r.e(e)}finally{r.f()}}},{key:"markItemsLinkingToCurrentPageActive",value:function e(){var t=pageService.getPageId();this.markItemsLinkingToPageActive(t)}},
1331{key:"prepareMenuFrameToShowMobileMenu",value:function e(t){t.finish().show()}},{key:"_addMenuItemCustomStyleHoverEventListener",value:function e(){var t=this;
1331this.dom.$wwMenuItems.hover(function(){var e=$(this);t.updateSubmenuPosition(e);var n=t.getHoverOutStyle(e[0]);n&&e.find("> .ww_menu_row > .ww_menu_item_link > .ww_menu_link_text").removeClass(n);var i=e.attr("data-hover_style_id");i&&e.find("> .ww_menu_row > .ww_menu_item_link > .ww_menu_link_text").addClass(i)},function(){var e=$(this),n;
1332e.attr("data-hover_style_id")&&e.find("> .ww_menu_row > .ww_menu_item_link > .ww_menu_link_text").removeClass(e.attr("data-hover_style_id"));var i=t.getHoverOutStyle(e[0]);i&&e.find("> .ww_menu_row > .ww_menu_item_link > .ww_menu_link_text").addClass(i)})}},{key:"_addMenuExpandingEventListener",value:function e(){this.dom.$firstLevelLis.on("mouseenter",this._handleFirstLevelMouseEnter.bind(this)),this.dom.$firstLevelLis.on("mouseleave",this._handleFirstLevelMouseLeave.bind(this)),this.getDomObject().on("mouseleave",
1333this._handleMenuFrameMouseLeave.bind(this)),this.dom.$firstLevelLis.find(".ww_submenu_toggle").on("click",this._handleSubmenuToggleClick.bind(this)),this.dom.$firstLevelLis.find("> .ww_menu_row > .ww_no_action").on("click",this._handleSubmenuToggleClick.bind(this)),this.dom.$wwMenuItems.on("mouseenter",function(e){$(this).addClass("hover")}),this.dom.$wwMenuItems.on("mouseleave",function(){$(this).removeClass("hover")})}},{key:"_isTouchDevice",value:function e(){return window.matchMedia("(hover: none) and (pointer: coarse)").matches}},
1334{key:"_handleFirstLevelMouseEnter",value:function e(t){if(!this.isMobileMenu()||!this._isTouchDevice()){var n=$(t.currentTarget);this._clearItemTimeout(n,_),this._closeOtherFirstLevelSubmenus(n),this._scheduleSlideDownFirstLevelMenu(n)}}},{key:"_handleFirstLevelMouseLeave",value:function e(t){if(!this.isMobileMenu()||!this._isTouchDevice()){var n=$(t.currentTarget);webwave.isDef(t.relatedTarget)&&n[0].contains(t.relatedTarget)||this._scheduleSlideUpFirstLevelMenu(n)}}},{key:"_handleSubmenuToggleClick",
1335value:function e(t){t.preventDefault();var n=$(t.currentTarget).closest("li"),i=this._getFirstLevelSubmenu(n);this._isSubmenuVisible(i)?this._slideUpFirstLevelMenu(n):(this.isMobileMenu()&&this._closeOtherMobileFirstLevelSubmenus(n),this._scheduleSlideDownFirstLevelMenu(n))}},{key:"_handleMenuFrameMouseLeave",value:function e(){this.isMobileMenu()||this._closeAllFirstLevelSubmenus()}},{key:"_getDesktopSubmenuMaxHeightPx",value:function e(t){var n=this.getPageAreaService().getWindowHeight(),i=t[0].getBoundingClientRect(),
1336r=this.getMenuFrame();return this.isMenuVertical()?Math.max(0,n-i.top):r.classList.contains("ww_submenu_top")?Math.max(0,i.top):Math.max(0,n-i.bottom)}},{key:"_getTimeoutDataKey",value:function e(t){return P[t]||null}},{key:"_setItemTimeout",value:function e(t,n,i){var r=this._getTimeoutDataKey(n);webwave.isNotDefOrNull(r)||t.data(r,i)}},{key:"_clearItemTimeout",value:function e(t,n){var i=this._getTimeoutDataKey(n);if(!webwave.isNotDefOrNull(i)){var r=t.data(i);webwave.isDefAndNotNull(r)&&(window.clearTimeout(r),
1337t.removeData(i))}}},{key:"_clearAllItemTimeouts",value:function e(t){this._clearItemTimeout(t,_),this._clearItemTimeout(t,k)}},{key:"_getFirstLevelSubmenu",value:function e(t){return t.children("ol")}},{key:"_isSubmenuVisible",value:function e(t){return t.length>0&&t.height()>0}},{key:"_isSubmenuOpening",value:function e(t){return t.length>0&&t.hasClass(n.SLIDING_DOWN_ANIMATION_NAME)}},{key:"_isSubmenuSlideDownScheduled",value:function e(t){return Boolean(t.data(this._getTimeoutDataKey(k)))}},{key:"_hasAnyOpenOrOpeningFirstLevelSubmenu",
1338value:function e(){for(var t=this.dom.$firstLevelLis.get(),n=0;n<t.length;n++){var i=$(t[n]);if(this._isSubmenuSlideDownScheduled(i))return!0;var r=this._getFirstLevelSubmenu(i);if(this._isSubmenuOpening(r)||this._isSubmenuVisible(r))return!0}return!1}},{key:"_scheduleSlideUpFirstLevelMenu",value:function e(t){var i=this;this._clearAllItemTimeouts(t);var r=window.setTimeout(function(){t.removeData(i._getTimeoutDataKey(_)),i._slideUpFirstLevelMenu(t)},n.SUB_MENU_CLOSE_DELAY);this._setItemTimeout(t,
1339_,r)}},{key:"_scheduleSlideDownFirstLevelMenu",value:function e(t){var i=this,r;if(0!==this._getFirstLevelSubmenu(t).length){this._clearItemTimeout(t,k),this._lastScheduledSlideDownRoot=t[0],this._lastScheduledSlideDownAt=Date.now();var a=window.setTimeout(function(){t.removeData(i._getTimeoutDataKey(k)),i._executeSlideDownFirstLevelMenu(t)},n.SUB_MENU_HOVER_PROPAGATION_DELAY);this._setItemTimeout(t,k,a)}}},{key:"_bringMenuToFront",value:function e(){this.getElementService().moveElementOnTop(this.getDomObject()),
1340this.getDomObject().addClass(n.SUB_MENU_OPENED)}},{key:"_shouldKeepMenuOnTop",value:function e(){return!(!this.isMobileMenu()||!this.getMobileMenuVisible())||this._hasA
1340nyOpenOrOpeningFirstLevelSubmenu()}},{key:"_bringMenuBackIfNoActiveSubmenu",value:function e(){!1===this._shouldKeepMenuOnTop()&&(this.getDomObject().removeClass(n.SUB_MENU_OPENED),this.getElementService().moveElementBack(this.getDomObject()))}},{key:"_closeOtherFirstLevelSubmenus",value:function e(t){var n=this;this.isMobileMenu()||
1341this.dom.$firstLevelLis.each(function(e,i){var r=$(i);if(r[0]!==t[0]){n._clearAllItemTimeouts(r);var a=n._getFirstLevelSubmenu(r),o;if(0!==a.length)!1!==(n._isSubmenuVisible(a)||n._isSubmenuOpening(a))&&n._slideUpFirstLevelMenu(r,!0)}})}},{key:"_closeOtherMobileFirstLevelSubmenus",value:function e(t){var i=this;this.dom.$firstLevelLis.each(function(e,r){var a=$(r);if(a[0]!==t[0]){i._clearAllItemTimeouts(a),a.removeClass("hover");var o=i._getFirstLevelSubmenu(a),s;if(0!==o.length)!1!==(i._isSubmenuVisible(o)||
1342i._isSubmenuOpening(o))&&(o.stop(!0,!0),o.removeClass(n.SLIDING_DOWN_ANIMATION_NAME),o.height(0),o[0].style.overflow="",o[0].style.removeProperty("max-height"),o[0].style.removeProperty("overflow-y"))}}),this._updateMobileBottomMenuSizeIfNeeded()}},{key:"_updateMobileBottomMenuSizeIfNeeded",value:function e(){this.isMobileMenu()&&this.getMobileMenuPosition()===h.a.BOTTOM&&this.updateMobileMenuSizeAndPosition()}},{key:"_closeAllFirstLevelSubmenus",value:function e(){var t=this;this.dom.$firstLevelLis.each(function(e,
1343n){var i=$(n);t._clearAllItemTimeouts(i),i.removeClass("hover");var r=t._getFirstLevelSubmenu(i),a=t._isSubmenuVisible(r)||t._isSubmenuOpening(r);0!==r.length&&!1!==a&&t._slideUpFirstLevelMenu(i,!0)})}},{key:"_slideUpFirstLevelMenu",value:function e(t){var i=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._clearItemTimeout(t,k);var a=this._getFirstLevelSubmenu(t);0!==a.length&&window.setTimeout(function(){var e=i._lastScheduledSlideDownRoot===t[0],o=Date.now()-i._lastScheduledSlideDownAt,
1344s,u;!1===r&&e&&o<n.SUB_MENU_TOUCH_FLICKER_GUARD_MS||(i._isSubmenuVisible(a)||!0===r&&i._isSubmenuOpening(a))&&a.stop(!0,!1).animate({height:0},{duration:400,always:function e(){t.removeClass("hover"),a[0].style.overflow="",a[0].style.removeProperty("max-height"),a[0].style.removeProperty("overflow-y"),i._bringMenuBackIfNoActiveSubmenu(),i._updateMobileBottomMenuSizeIfNeeded()}})},n.SUB_MENU_HOVER_PROPAGATION_DELAY)}},{key:"_executeSlideDownFirstLevelMenu",value:function e(t){var i=this,r=this._getFirstLevelSubmenu(t);
1345if(0!==r.length&&!this._isSubmenuOpening(r)){var a=r[0].scrollHeight,o=a,s=!1,u=0;!1===this.isMobileMenu()&&(u=this._getDesktopSubmenuMaxHeightPx(t),o=Math.min(a,u),s=a>u),r.stop(!0,!1).animate({height:o},{start:function e(){t.addClass("hover"),r.addClass(n.SLIDING_DOWN_ANIMATION_NAME),i._bringMenuToFront()},always:function e(){r.removeClass(n.SLIDING_DOWN_ANIMATION_NAME)},complete:function e(){if(i.isMobileMenu())return r.first().height("auto"),void i._updateMobileBottomMenuSizeIfNeeded();s?(r[0].style.maxHeight=
1346"".concat(u,"px"),r[0].style.overflowY=v.a.AUTO):r.first().height("auto")}})}}},{key:"_initEventsForLinksInMenu",value:function e(){var t=this,n=$(this.getContent()[0].querySelectorAll(".ww_menu_item > .ww_menu_row > a[href]"));n.off("click.menuNav"),n.on("click.menuNav",function(e){var n=$(e.currentTarget);if(n.is('a[href*="?anchorElement"]['.concat("data-samePage","]"))){e.preventDefault();var i=n.attr("href"),r=i.substr(i.indexOf("?"),i.length),a=utilService.extractGETParameter("anchorElement",
1347r),o=utilService.extractGETParameter("scrollMargin",r),s=$("#".concat(a));s.length>0&&pageService.scrollPageToElement(s,{margin:o,forceTop:!0}),t.dom.$firstLevelLis.trigger("mouseleave"),$(".ww_menu_item.hover").removeClass("hover"),t.getDomObject().find("a").removeClass("ww_active"),t.isMobileMenu()&&t._mobileMenuVisible&&t.hideMobileMenu()}})}},{key:"cacheDomElements",value:function e(){this.dom.$wwMenuItems=$(this.getMenuFrame().getElementsByClassName("ww_menu_item")),this.dom.$firstLevelLis=$(this.getMenuFrame()).children("li")}},
1348{key:"getMenuFrameWrapper",value:function e(){return $(this.getContent()[0].getElementsByClassName("ww_menu_content_wrapper").item(0))}},{key:"getMenuFrame",value:function e(){return this.getContent()[0].getElementsByClassName("ww_menu_list")[0]}},{key:"getMobileMenuIcon",value:function e(){return this.getContent().find(".mobileMenuIcon")}},{key:"getMobileMenuIconAlign",value:function e(){return this._mobileMenuIconAlign}},{key:"isMobileMenu",value:function e(){return"mobile"===this.getOrientation()}},
1349{key:"getMobileMenuPosition",value:function e(){return this._mobileMenuPosition}},{key:"setMobileMenuIconAlign",value:function e(t){this._mobileMenuIconAlign=t}},{key:"setMobileMenuPosition",value:function e(t){this._mobileMenuPosition=t,this.getMenuFrameWrapper().attr("data-mobile-menu-position",t)}},{key:"getMobileMenuActiveImageUrl",value:function e(){return this._mobileMenuActiveImageUrl}},{key:"setMobileMenuActiveImageUrl",value:function e(t){this._mobileMenuActiveImageUrl=t}},{key:"getMobileMenuImageUrl",
1350value:function e(){return this._mobileMenuImageUrl}},{key:"setMobileMenuImageUrl",value:function e(t){this._mobileMenuImageUrl=t}},{key:"getMobileMenuSize",value:function e(){return this._mobileMenuSize}},{key:"setMobileMenuSize",value:function e(t){this._mobileMenuSize=t,this.getMenuFrameWrapper().attr("data-mobile-menu-size",t)}},{key:"getMobileMenuImageAnimationType",value:function e(){return this._mobileMenuImageAnimationType}},{key:"getMenuIconTransitionAnimator",value:function e(){return this.menuTransitionAnimator}},
1351{key:"setMenuIconTransitionAnimator",value:function e(t){this.menuTransitionAnimator=t}},{key:"canAnimateMenuIcon",value:function e(){return this._mobileMenuImageAnimationType!==d.a._NO_ANIMATION&&webwave.isDefAndNotNull(this.getMenuIconTransitionAnimator())}},{key:"animateForwardMenuIcon",value:function e(){var t;this.canAnimateMenuIcon()&&this.getMenuIconTransitionAnimator().animateForward()}},{key:"animateBackwardMenuIcon",value:function e(){var t;this.canAnimateMenuIcon()&&this.getMenuIconTransitionAnimator().animateBackward()}},
1352{key:"setMobileMenuVisible",value:function e(t){var n=this._mobileMenuVisible!==t;this._mobileMenuVisible=t,n&&!1===this.canAnimateMenuIcon()&&this.updateIconInMobileMenu()}},{key:"getIconImageUrlString",value:function e(t){var n=this.getIconImageUrl(t);
1352return"url(".concat(n,")")}},{key:"getIconImageUrl",value:function e(t){var n=t;return webwave.isNotBoolean(n)&&(n=!0===this._mobileMenuVisible),n?this.getMobileMenuActiveImageUrl():this.getMobileMenuImageUrl()}},{key:"toggleMobileMenu",value:function e(){this.isMobileMenu()&&
1353(this._mobileMenuVisible?this.hideMobileMenu():this.showMobileMenu())}},{key:"_enableMobileMenuEvents",value:function e(){var t=this;this._disableMobileMenuEvents(),this.getContent().on("click.mobileMenu",function(e){var i=t.getMenuFrameWrapper();i.is(e.target)||0!==i.has(e.target).length||(t._mobileMenuVisible?t.hideMobileMenu():($(window).trigger(n.MOBILE_MENU_OPEN_EVENT,[t.getId()]),t.showMobileMenu()),e.stopPropagation())}),$(window).on("click.windowMobileMenu".concat(this.getId()),function(e){var n=
1354t.getContent();n.is(e.target)||0!==n.has(e.target).length||t.hideMobileMenu()}),$(window).on("".concat(n.MOBILE_MENU_OPEN_EVENT,".").concat(this.getId()),function(e,n){n!==t.getId()&&t.hideMobileMenu()})}},{key:"_disableMobileMenuEvents",value:function e(){this.getContent().off("click.mobileMenu"),$(window).off("click.windowMobileMenu".concat(this.getId())),$(window).off("".concat(n.MOBILE_MENU_OPEN_EVENT,".").concat(this.getId()))}},{key:"initEvents",value:function e(){this._addMenuItemCustomStyleHoverEventListener(),
1355this._addMenuExpandingEventListener(),this._initEventsForLinksInMenu(),this.isMobileMenu()&&this._enableMobileMenuEvents()}},{key:"getHoverOutStyle",value:function e(t){var n,i;return i=t.getElementsByClassName("ww_menu_item_link")[0].classList.contains("ww_active")?t.getAttribute("data-active_style_id"):t.getAttribute("data-normal_style_id"),webwave.isDef(i)&&(n=i),n}},{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this.cacheDomElements(),this.markItemsLinkingToCurrentPageActive(),
1356this.initEvents(),this.updateMobileMenuSizeAndPosition()}},{key:"isMenuVertical",value:function e(){return"vertical"===this.getOrientation()}},{key:"getSubmenuVerticalPosition",value:function e(){var t=this.getMenuFrame();return t.classList.contains("ww_submenu_left")?b:t.classList.contains("ww_submenu_right")?m:S}},{key:"getSubmenuHorizontalPosition",value:function e(){var t=this.getMenuFrame();return t.classList.contains("ww_submenu_top")?O.LEFT:t.classList.contains("ww_submenu_bottom")?O.RIGHT:
1357O.AUTO}},{key:"updateHorizontalSubmenuPosition",value:function e(t,n){var i=$(window),r=i.scrollTop(),a=$("#container"),o=a.width(),s=a.offset(),u=i.width(),c=i.height(),l=t.offset();l.top-=r;var d=t.outerWidth(),h=t.outerHeight(),f=n.outerWidth(),v=n.outerHeight(),g,p,y;this.getSubmenuVerticalPosition()===S&&(l.left+d+f>s.left+o?(p="auto",y="100%"):(p="100%",y="auto"),n.css({left:p,right:y}))}},{key:"updateVerticalSubmenuPosition",value:function e(t,n){var i=$(window),r=i.scrollTop(),a=pageService.pageAreaService.getWindowWidth(),
1358o=i.width(),s=i.height(),u=t.offset();u.top-=r;var c=t.outerWidth(),l=t.outerHeight(),d=n.outerWidth(),h=n.outerHeight(),f;if(this.getSubmenuHorizontalPosition()===O.AUTO){var v=u.top,g=s-(u.top+l),p=h>g&&g<v?"100%":"auto";n.css("bottom",p)}var y=u.left+d,b=Math.max(0,y-a),m=Math.min(0,c-d),w=Math.max(m,-parseInt(t.css("borderLeftWidth"))-b);n.css("left",w)}},{key:"updateSubmenuPosition",value:function e(t){var n=t.children("ol");1===n.length&&(this.isMenuVertical()?this.updateHorizontalSubmenuPosition(t,
1359n):this.updateVerticalSubmenuPosition(t,n))}},{key:"clearOrientationStyles",value:function e(){var t=this.getMenuFrameWrapper();t.finish();var n=t[0];n.style.left="",n.style.width="",n.style.display=""}},{key:"onOrientationChange",value:function e(){this.getNavigationTag().dataset.menuOrientation=this.orientation,"mobile"===this.orientation?(this._enableMobileMenuEvents(),this.getDomObject()[0].classList.add("mobileMenu")):(this._disableMobileMenuEvents(),this.getDomObject()[0].classList.remove("mobileMenu")),
1360this._updateSubmenuTogglesAccessibility()}},{key:"_updateSubmenuTogglesAccessibility",value:function e(){var t,n,i=y(this.getMenuFrame().querySelectorAll(".ww_submenu_toggle")),r;try{for(i.s();!(r=i.n()).done;){var a=r.value,o;this.isMobileMenu()&&this._isFirstLevelSubmenuToggle(a)?(a.removeAttribute("tabindex"),a.removeAttribute("aria-hidden")):(a.setAttribute("tabindex","-1"),a.setAttribute("aria-hidden","true"))}}catch(e){i.e(e)}finally{i.f()}}},{key:"_isFirstLevelSubmenuToggle",value:function e(t){var n=
1361t.closest("li");return!webwave.isNotDefOrNull(n)&&n.parentElement===this.getMenuFrame()}},{key:"setOrientation",value:function e(t){this.orientation!==t&&(this.orientation=t,this.onOrientationChange()),this.hideMobileMenu()}},{key:"getOrientation",value:function e(){return this.orientation}},{key:"loadAdditionalData",value:function e(t){this.setMobileMenuSize(t.mobileMenuSize),this.setMobileMenuPosition(t.mobileMenuPosition),this.setMobileMenuActiveImageUrl(t.mobileMenuActiveImageUrl),this.setMobileMenuIconAlign(t.mobileMenuIconAlign),
1362this.setMobileMenuImageUrl(t.mobileMenuImageUrl),this.setOrientation(t.orientation),this.clearOrientationStyles(),this.updateIconInMobileMenu()}},{key:"updateMobileMenuSizeAndPosition",value:function e(){if(this.isMobileMenu()&&this.getMobileMenuPosition()===h.a.BOTTOM){var t=this.getPageAreaService().getWindowHeight(),n=this.getMenuFrameWrapper()[0].getBoundingClientRect().top,i=Math.max(0,t-n);if(this.getMenuFrameWrapper().css({maxHeight:i,overflowY:v.a.AUTO}),this.getMobileMenuSize()===f.a.FULL_WIDTH)this.getMenuFrameWrapper().css({left:-this.objectService.getPageareaOffset().left-
1363this.getComputedPosition().getX(),width:Math.max(this.getPageAreaService().getWindowWidth(),this.getPageAreaService().getContainerWidth())});else if(this._isMobileMenuBeyoundPageArea()){var r=this.getComputedPosition().getX()+this.getMenuFrameWrapper().width(),a=this.objectService.getPageareaOffset().left+this.getPageAreaService().getContainerWidth(),o=Math.max(0,r-a),s=-1*Math.abs(o);this.getMenuFrameWrapper().css("left",s)}else this.getMenuFrameWrapper().css("left","")}}},{key:"_isMobileMenuBeyoundPageArea",
1364value:function e(){var t=Math.max(this.getPageAreaService().getWindowWidth(),this.getPageAreaService().getContainerWidth());return this.getComputedPosition().getX()+this.getMenuFrameWrapper().width()+this.objectService.getPageareaOffset().left>t}},{key:"getMenuFrameSize",value:function e(){var t=this.getOrientation(),n=new g.a({width:0,height:0}),i=this.getMenuFrame(),r=window.getComputedStyle(i);return t===l.a.HORIZONTAL?(n.setWidth(parseInt(r.width,10)),n.setHeight(parseInt(r.height,10))):t===l.a.VERTICAL&&
1365(i.style.width="auto",this.getNavigationTag().style.width="auto",n.setWidth(parseInt(r.width,10)),n.setHeight(parseInt(r.height,10)),i.style.width="",this.getNavigationTag().style.width=""),n}},{key:"calculateMinContentSize",value:function e(){return this.getMenuFrameSize()}},{key:"getNavigationTag",value:function e(){return this.getDomObject()[0].querySelector(".w-menu-navigation")}}]),n}(Object(p.a)(t));A.SLIDING_DOWN_ANIMATION_NAME="slidingDownAnimation",A.SUB_MENU_OPENED="menu-submenu-opened",
1366A.SUB_MENU_CLOSE_DELAY=120,A.SUB_MENU_HOVER_PROPAGATION_DELAY=60,A.MOBILE_MENU_OPEN_EVENT="webwave.mobileMenuOpened",A.SUB_MENU_TOUCH_FLICKER_GUARD_MS=250,com.webwave.publication.object.WMenu=A}()},2688:function(e,t,n){n.d(t,"a",function(){return S});var i=n(14),r=n(0),a=n(1),o=n(11),s=n(18),u=n(3),c=n(4),l=n(2),d=n(2689),h=n(2032),f=n(2364),v=n(2690),g=n(2691),p=n(2365),y=n(918),b=n(2033);function m(e){var t=w();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;
1367r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WNewsfeed");var S=function(e){Object(u.a)(n,e);var t=m(n);function n(e){var i;return Object(r.a)(this,n),(i=
1368t.call(this,e))._firstNewsToShowIndex=0,i.newsFeedService=null,i.feedDateInnerElement=new d.a(Object(o.a)(i)),i.feedReadMoreInnerElement=new v.a(Object(o.a)(i)),i.feedS
1368hortInnerElement=new g.a(Object(o.a)(i)),i.feedHeaderInnerElement=new p.a(Object(o.a)(i),{selectorClassName:h.a.FEED_NAME,feedItemDataProperty:f.a.TITLE},y.a.HEADER),i}return Object(a.a)(n,[{key:"getNewsfeedWrapper",value:function e(){return this.getContent()[0].querySelector(".feed_content")}},{key:"getShortInnerElement",value:function e(){return this.feedShortInnerElement}},
1369{key:"getReadMoreInnerElement",value:function e(){return this.feedReadMoreInnerElement}},{key:"getFeedDateInnerElement",value:function e(){return this.feedDateInnerElement}},{key:"getFeedHeaderInnerElement",value:function e(){return this.feedHeaderInnerElement}},{key:"setFirstNewsToShowIndex",value:function e(t){this._firstNewsToShowIndex=t}},{key:"getFirstNewsToShowIndex",value:function e(){return this._firstNewsToShowIndex}},{key:"getInnerElementForIteration",value:function e(){return[this.getShortInnerElement(),
1370this.getReadMoreInnerElement(),this.getFeedDateInnerElement(),this.getThumbnailInnerElement(),this.getSingleNewsInnerElement()]}},{key:"getInnerElementNames",value:function e(){return y.a}},{key:"getInnerElementNameForIteration",value:function e(){return[y.a.SHORT,y.a.THUMBNAIL,y.a.HEADER,y.a.DATE,y.a.NEWS,y.a.READ_MORE]}},{key:"getInnerElementByName",value:function e(t){var n;return(n={},Object(i.a)(n,y.a.THUMBNAIL,this.getThumbnailInnerElement()),Object(i.a)(n,y.a.READ_MORE,this.getReadMoreInnerElement()),
1371Object(i.a)(n,y.a.DATE,this.getFeedDateInnerElement()),Object(i.a)(n,y.a.SHORT,this.getShortInnerElement()),Object(i.a)(n,y.a.NEWS,this.get
1371SingleNewsInnerElement()),Object(i.a)(n,y.a.HEADER,this.getFeedHeaderInnerElement()),n)[t]}},{key:"getItemElementName",value:function e(){return y.a.NEWS}},{key:"updateSingleFeedItemElData",value:function e(t,i){Object(s.a)(Object(l.a)(n.prototype),"updateSingleFeedItemElData",this).call(this,t,i),this.getFeedHeaderInnerElement().updateSingleFeedItemElData(t),
1372this.getShortInnerElement().updateSingleFeedItemElData(t),this.getFeedDateInnerElement().updateSingleFeedItemElData(t),this.getThumbnailInnerElement().updateSingleFeedItemElData(t)}}]),n}(b.a);com.webwave.publication.object.WNewsfeed=S},2689:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1300),c=n(918);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,
1373arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a)).showDate=void 0,r.type=c.a.DATE,r}return Object(r.a)(n,
1374[{key:"getNewsDateElement",value:function e(t){return t.querySelector(".feed_date")}},{key:"isShowDate",value:function e(){return this._showDate}},{key:"setShowDate",value:function e(t){this._showDate=t}},{key:"shouldAddToCountMinSize",value:function e(){return!0===this.isShowDate()}},{key:"updateSingleFeedItemElData",value:function e(t){var n=this.getNewsDateElement(t.feedItemEl);webwave.isDefAndNotNull(n)&&(n.textContent=t.feedItemData.date)}},{key:"loadAdditionalRwdProperties",value:function e(t){this.setShowDate(t.showDate)}}]),
1375n}(u.a)},2690:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1300),c=n(918);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1376[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a))._showReadMore=void 0,r.type=c.a.READ_MORE,r}return Object(r.a)(n,[{key:"isShowReadMore",value:function e(){return this._showReadMore}},{key:"setShowReadMore",value:function e(t){this._showReadMore=t}},{key:"shouldAddToCountMinSize",value:function e(){return!0===this.isShowReadMore()}},{key:"loadAdditionalRwdProperties",
1377value:function e(t){this.setShowReadMore(t.showReadMore)}}]),n}(u.a)},2691:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1300),c=n(918),l=n(10);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==
1378typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a))._showShortOfNews=void 0,r._showShortOfNewsDots=void 0,r._wordsInShort=void 0,r.type=c.a.SHORT,r}return Object(r.a)(n,[{key:"getNewsShortElement",value:function e(t){return t.querySelector(".feed_short")}},
1379{key:"setShowShortOfNews",value:function e(t){this._showShortOfNews=t}},{key:"isShowShortOfNews",value:function e(){return this._showShortOfNews}},{key:"setShowShortOfNewsDots",value:function e(t){this._showShortOfNewsDots=t}},{key:"getShowShortOfNewsDots",value:function e(){return this._showShortOfNewsDots}},{key:"getWordsInShort",value:function e(){return this._wordsInShort}},{key:"setWordsInShort",value:function e(t){this._wordsInShort=t;for(var n=this.getParentWObject().getFeedItemsDataArrayForDisplay(),
1380i=0;i<n.length;i++){var r=n[i].feedItemEl,a=n[i].feedItemData;if(webwave.isDefAndNotNull(a)){var o=this.getNewsShortElement(r);webwave.isDefAndNotNull(o)&&(o.textContent=this.getShortForNews(a.short))}}}},{key:"getShortForNews",value:function e(t){return l.StringUtils.cutStringAfterNWord({text:t,wordsNumber:this.getWordsInShort(),showDots:this.getShowShortOfNewsDots()})}},{key:"shouldAddToCountMinSize",value:function e(){return!0===this.isShowShortOfNews()}},{key:"updateSingleFeedItemElData",value:function e(t){var n=
1381this.getNewsShortElement(t.feedItemEl);webwave.isDefAndNotNull(n)&&(n.textContent=this.getShortForNews(t.feedItemData.short))}},{key:"loadAdditionalRwdProperties",value:function e(t){this.setWordsInShort(t.wordsInShort),this.setShowShortOfNewsDots(t.showShortOfNewsDots),this.setShowShortOfNews(t.showShortOfNews)}}]),n}(u.a)},2692:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1607),c=n(1746),l=n(1300),d=n(107),h=n(2693);function f(e){var t=v();return function n(){var i=
1382Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=function(e){Object(a.a)(n,e);var t=f(n);function n(e){var r,a=arguments.length>1&&void 0!==
1383arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a))._paginationIndex=0,r.initNewsfeedPagination(),r}return Object(r.a)(n,[{key:"initNewsfeedPagination",value:function e(){var t=this,n=this.getContent();this.updatePaginationListSize(),n.on("click",".feed_pagination_next_icon",function(){t.wFeed.setPaginationIndex(t.wFeed.getPaginationIndex()+1,{animate:!0,userInteraction:!0})}),n.on("click",".feed_pagination_prev_icon",function(){t.wFeed.setPaginationIndex(t.wFeed.getPaginationIndex()-
13841,{animate:!0,userInteraction:!0})}),n.on("click",".feed_pagination_elem_index",function(e){t.wFeed.setPaginationIndex(parseInt($(e.target).text()),{animate:!0,userInteraction:!0})})}},{key:"getDomObject",value:function e(){return this.wFeed.getDomObject()}},{key:"getContent",value:function e(){return this.wFeed.getContent()}},{key:"computeMaxIndex",value:function e(){return this.wFeed.computeMaxIndex()}},{key:"getPaginationWrapper",value:function e(){return this.wFeed.getContent().find(".feed_pagination_wrapper")}},
1385{key:"getPaginationListItems",value:function e(){return Array.from(this.getDomObject()[0].querySelectorAll(".feed_pagination_wrapper .list > .feed_pagination_elem_index"))}},{key:"getPaginationIndex",value:function e(){return this.wFeed.getPaginationIndex()}},{key:"getNewsNumber",value:function e(){return this.wFeed.getNewsNumber()}},{key:"updatePaginationListSize",value:function e(){var t=this.getContent()[0],n=c.a.innerDimensions(t).width,i=t.querySelector(".list");if(webwave.isDefAndNotNull(i)){var r=
1386t.querySelector(".feed_pagination_prev_icon"),a=t.querySelector(".feed_pagination_next_icon"),o=r.offsetWidth+a.offsetWidth,s=i.getBoundingClientRect().width,u=Math.min(n-o,s);i.parentNode.style.width="".concat(u,"px")}}},{key:"getTextStyleForPaginationSelectedIndex",value:function e(){var t=this.getContent()[0].querySelector(".feed_pagination_wrapper");return null===t||void 0===t?void 0:t.getAttribute("textstyleidforselectedpaginationindex")}},{key:"getTextStyleForPaginationIndex",value:function e(){var t=
1387this.getContent()[0].querySelector(".feed_pagination_wrapper");return null===t||void 0===t?void 0:t.getAttribute("textstyleidforpaginationindex")}},{key:"_recreatePaginationDom",value:function e(){var t=this.computeMaxIndex(),n=this.getPaginationWrapper()[0];if(webwave.isDefAndNotNull(n)){var i=n.querySelector(".list");if(i.innerHTML="",t>1){n.style.display=u.a.BLOCK;var r=this.getTextStyleForPaginationIndex(),a;!1===webwave.isStringAndNotEmpty(r)&&(r="");for(var o=0;o<t;o++)a=d.a.htmlToElements(Object(h.a)({index:o+
13881,textStyleClass:r}))[0],i.appendChild(a)}else n.style.display=u.a.NONE;this.updatePaginationListSize()}}},{key:"updatePaginationClasses",value:function e(){this._removeSelectedPaginationClasses(),this._addSelectedPaginationClasses(),this.updatePaginationListSize()}},{key:"_addSelectedPaginationClasses",value:function e(){var t=this.getTextStyleForPaginationSelectedIndex(),i=this.getTextStyleForPaginationIndex(),r=this.getPaginationListItems()[this.getPaginationIndex()-1];webwave.isDefAndNotNull(r)&&
1389(r.classList.add(n.SELECTED_INDEX_CLASS_NAME),webwave.isDefAndNotNull(i)&&r.classList.remove(i),webwave.isDefAndNotNull(t)&&r.classList.add(t))}},{key:"_removeSelectedPaginationClasses",value:function e(){var t=this.getTextStyleForPaginationSelectedIndex(),i=this.getTextStyleForPaginationIndex(),r=this.getContent()[0].querySelector(".".concat(n.SELECTED_INDEX_CLASS_NAME));webwave.isDefAndNotNull(r)&&(r.classList.remove(n.SELECTED_INDEX_CLASS_NAME),r.classList.add(n.INDEX_CLASS_NAME),webwave.isDefAndNotNull(t)&&
1390r.classList.remove(t),webwave.isDefAndNotNull(i)&&r.classList.add(i))}},{key:"_updateListLeftPosition",value:function e(t){var n,i=this.getPaginationListItems()[this.getPaginationIndex()-1];if(!webwave.isNotDefOrNull(i)){var r=this.getContent()[0].querySelector(".list"),a=c.a.innerDimensions(r.parentNode).width,o=c.a.innerDimensions(r).width,s=i.offsetWidth,u,l=a-o,d=0,h=a/2-i.offsetLeft-s/2;h=Math.min(Math.max(l,h),0),!0===t?$(r).animate({left:"".concat(h,"px")},150):r.style.left="".concat(h,"px")}}},
1391{key:"_computeNewIndex",value:function e(t){var n=this.getNewsNumber(),i,r=t*(this.getPaginationIndex()-1);return Math.floor(r/n)+1}}]),n}(l.a);g.SELECTED_INDEX_CLASS_NAME="feed_pagination_elem_index_selected",g.INDEX_CLASS_NAME="feed_pagination_elem_index"},2693:function(e,t,n){n.d(t,"a",function(){return i});var i=function e(t){var n=t.index,i=t.textStyleClass;return'\n    <div \n        class="feed_pagination_elem_index '.concat(i,'"\n    >\n        ').concat(n,"\n    </div>\n")}},2694:function(e,
1392t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1300),c=n(918),l=n(82),d=n(1661);function h(e){var t=f();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1393[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(a.a)(n,e);var t=h(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a)).horizontalSpace=void 0,r.type=r.detectTypeByFeed(e),r}return Object(r.a)(n,[{key:"detectTypeByFeed",value:function e(t){return t.getType()===l.a.NEWSFEED?c.a.NEWS:d.a.ITEM}},{key:"getHorizontalSpace",value:function e(){return this._horizontalSpace}},{key:"setHorizontalSpace",value:function e(t){this._horizontalSpace=
1394t}},{key:"loadAdditionalRwdProperties",value:function e(t){this.setHorizontalSpace(t.horizontalSpace)}}]),n}(u.a)},2695:function(e,t,n){n.d(t,"a",function(){return p});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1607),c=n(1300),l=n(918),d=n(40),h=n(1735),f=n(2696);function v(e){var t=g();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function g(){if("undefined"==typeof Reflect||
1395!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(a.a)(n,e);var t=v(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a))._thumbnailPosition=void 0,r._thumbnailWidth=void 0,r._thumbnailHeight=void 0,r._showThumbnails=void 0,r.type=l.a.THUMBNAIL,
1396r}return Object(r.a)(n,[{key:"getThumbnailPosition",value:function e(){return this._thumbnailPosition}},{key:"setThumbnailPosition",value:function e(t){this._thumbnailPosition=t,this.wFeed.getNewsfeedWrapper().setAttribute("data-thumbnail-position",t)}},{key:"getThumbnailWidth",value:function e(){return this._thumbnailWidth}},{key:"setThumbnailWidth",value:function e(t){this._thumbnailWidth=t}},{key:"getThumbnailHeight",value:function e(){return this._thumbnailHeight}},{key:"setThumbnailHeight",value:function e(t){this._thumbnailHeight=
1397t}},{key:"isShowThumbnails",value:function e(){return this._showThumbnails}},{key:"setShowThumbnails",value:function e(t){this._showThumbnails=t}},{key:"_getThumbnailsImages",value:function e(){return this.getParentWObject().getContent().find(".feed_thumbnail_image")}},{key:"addImgLazyLoad",value:function e(){var t=this;this._getThumbnailsImages().each(function(e,n){if(n.hasAttribute(f.a.LAZY_LOAD_ATTR_NAME)){var i=new f.a(n);t.getParentWObject().createDomWIntersectionObserved(i)}})}},{key:"getWidthValueToAdd",
1398value:function e(){return this.getThumbnailWidth()}},{key:"onLeftOrRight",value:function e(){return this.getThumbnailPosition()===h.a.LEFT||this.getThumbnailPosition()===h.a.RIGHT}},{key:"countMinSize",value:function e(){return new d.a({width:this.getThumbnailWidth(),height:this.getThumbnailHeight()})}},{key:"shouldAddToCountMinSize",value:function e(){return!0===this.isShowThumbnails()&&!1===this.onLeftOrRight()}},{key:"shouldAddWidth",value:function e(){return!0===this.isShowThumbnails()&&this.onLeftOrRight()}},
1399{key:"updateSingleFeedItemElData",value:function e(t){var n=t.feedItemEl,i=t.feedItemData.thumbnail,r=n.querySelector(".feed_thumbnail");if(webwave.isDefAndNotNull(r)){var a=n.querySelector(".feed_thumbnail_image"),o="none";""!==i?(o='url("'.concat(i,'")'),r.style.display=u.a.BLOCK):r.style.display=u.a.NONE,webwave.isDefAndNotNull(a.getAttribute("data-lazy-load-style"))?a.setAttribute("data-lazy-load-style","background-image: ".concat(o,";")):a.style.backgroundImage=o}}},{key:"loadAdditionalRwdProperties",
1400value:function e(t){this.setThumbnailPosition(t.thumbnailPosition),this.setThumbnailWidth(t.thumbnailWidth),this.setThumbnailHeight(t.thumbnailHeight),this.setShowThumbnails(t.showThumbnails)}}]),n}(c.a)},2696:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}
1401function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"enteredViewportHandler",value:function e(){var t=$(this.getDomObject()),i=t.attr(n.LAZY_LOAD_ATTR_NAME);t.attr("style",
1402this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(i,this.getDomObject())),t.removeAttr(n.LAZY_LOAD_ATTR_NAME)}}]),n}(n(1568).a);d.LAZY_LOAD_ATTR_NAME="data-lazy-load-style",webwave.provide("com.webwave.publication.intersectionObserver.object.WIntersectionObservedNewsfeedThumbnail"),com.webwave.publication.intersectionObserver.object.WIntersectionObservedNewsfeedThumbnail=d},2697:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function
1402 e(t){Object(i.a)(this,
1403e),webwave.isNotDef(t)&&(t={}),this._horizontalBorder=webwave.isNumberAndNotNaN(t.horizontalBorder)?t.horizontalBorder:0,this._horizontalPadding=0}return Object(r.a)(e,[{key:"getHorizontalBorder",value:function e(){return this._horizontalBorder}},{key:"setHorizontalBorder",value:function e(t){this._horizontalBorder=t}},{key:"getHorizontalPadding",value:function e(){return this._horizontalPadding}},{key:"setHorizontalPadding",value:function e(t){this._horizontalPadding=t}},{key:"getHorizontalSpace",
1404value:function e(){return this.getHorizontalPadding()+this.getHorizontalBorder()}},{key:"applyRwdProperties",value:function e(t){webwave.isNumberAndNotNaN(t.horizontalPadding)&&this.setHorizontalPadding(t.horizontalPadding)}}]),e}()},2698:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(40);function l(e){var t=d();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,
1405arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WFbComments");var h,f=function(e){Object(o.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._fbInitialized=!1,r}return Object(r.a)(n,
1406[{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return i.fbCommentsFrame=i.content.children[0],i}},{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this._reRenderCommentsDom()}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this._reRenderCommentsDom()}},{key:"_getCommentsFrame",value:function e(){return this.getDomObject().find(".fb-comments_frame")}},
1407{key:"getFbCommentsFrameEl",value:function e(){return this.cachedDom.fbCommentsFrame}},{key:"_getFbContainer",value:function e(){return this._getCommentsFrame().find("> .fb-comments")}},{key:"_initFbFrameSizeChangeListener",value:function e(){var t=this._getFbContainer().find("> span")[0],n;webwave.isDefAndNotNull(t)&&(new MutationObserver(this._fbFrameSizeChangeHandler.bind(this))).observe(t,{attributes:!0,attributeFilter:["style"]})}},{key:"_fbFrameSizeChangeHandler",value:function e(t){this.updateMinSize()}},
1408{key:"_reRenderCommentsDom",value:function e(){var t=this,n=parseInt(this._getFbContainer().attr("width")),i=this.getInnerWidth();n!==i&&(this._setFbInitialized(!1),this._getFbContainer().attr("width",i),facebookService.executeAction(function(){FB.XFBML.parse(t.getFbCommentsFrameEl(),function(){t._setFbInitialized(!0),setTimeout(function(){t._initFbFrameSizeChangeListener(t._getCommentsFrame()),t.updateMinSize()},100)})}))}},{key:"_setFbInitialized",value:function e(t){this._fbInitialized=t}},{key:"_isFbInitialized",
1409value:function e(){return this._fbInitialized}},{key:"applyComputedSizeModifiers",value:function e(t){this._isFbInitialized()&&t.setHeight(0)}},{key:"calculateMinContentSize",value:function e(){return new c.a({width:0,height:this.getFbCommentsFrameEl().offsetHeight})}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WFbComments=f},2699:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2034),l=n(40);function d(e){var t=h();
1410return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WSocialMedia");var f,
1411v=function(e){Object(o.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._facebookIncludeShareButton=e.facebookIncludeShareButton,r._facebookLayout=e.facebookLayout,r}return Object(r.a)(n,[{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this._recreateFbLikeContent()}},{key:"getFacebookIncludeShareButton",value:function e(){return this._facebookIncludeShareButton}},{key:"getFacebookLayout",value:function e(){return this._facebookLayout}},
1412{key:"calculateMinContentSize",value:function e(){var t=this.getFacebookLayout(),n,i=!0===this.getFacebookIncludeShareButton()?c.a.recommend[t]:c.a.standard[t];return!1===webwave.isDef(i)&&(i={width:0,height:0}),new l.a(i)}},{key:"_getFbLikeContainer",value:function e(){return this.getDomObject().find(".fb-like")}},{key:"_recreateFbLikeContent",value:function e(){var t=this;facebookService.executeAction(function(){FB.XFBML.parse(t._getFbLikeContainer()[0],function(){})})}},{key:"canBeRotated",value:function e(){return!1}}]),
1413n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WSocialMedia=v},27:function(e,t,n){n.d(t,"a",function(){return y});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(46),c=n.n(u),l=n(15),d=n.n(l),h=n(17),f,v;function g(e){var t=p();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;
1414if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}
1414var y=(f=Object(l.injectable)())(v=function(e){Object(a.a)(n,e);var t=g(n);function n(){var e;return Object(i.a)(this,n),e=t.call(this),webwave.isFunction(e.__wCommandRegister)&&e.__wCommandRegister(),e}return Object(r.a)(n,[{key:"init",value:function e(){}}]),n}(u.SimplePropertyChangeEmitter))||v},2700:function(e,t,n){n.d(t,
1415"a",function(){return v});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1992),l=n(40);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1416[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WLanguageSelector");var f,v=function(e){Object(o.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._orientation=c.a.HORIZONTAL,r._flags=r.getDomObject().find(".language_selector_flag").toArray(),r}return Object(r.a)(n,[{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this._updateFlagSizes()}},{key:"getFlagsNumber",value:function e(){return this._flags.length}},
1417{key:"getOrientation",value:function e(){return this._orientation}},{key:"setOrientation",value:function e(t){var n=this._orientation!==t;this._orientation=t,n&&(this.updateMinSize(),this._updateFlagSizes())}},{key:"isVertical",value:function e(){return this._orientation===c.a.VERTICAL}},{key:"loadAdditionalData",value:function e(t){webwave.isDef(t)&&webwave.isDef(t.orientation)&&this.setOrientation(t.orientation)}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),
1418"afterDomSizeChange",this).call(this),this._updateFlagSizes()}},{key:"calculateMinContentSize",value:function e(){var t=n.DEFAULT_FLAG_SIZE,i=this.getFlagsNumber(),r,a;return this.isVertical()?(r=t,a=i*t):(r=i*t,a=t),new l.a({width:r,height:a})}},{key:"_updateFlagSizes",value:function e(){var t;if(this.getFlagsNumber()>0)for(var n=this._getSingleLanguageFlagSize(),i=this._getFlagsDomObjects(),r,a=i.length-1;a>=0;a--)(r=i[a]).style.width=n.width+"px",r.style.height=n.height+"px"}},{key:"_getSingleLanguageFlagSize",
1419value:function e(){var t=this.getFlagsNumber(),n=this.getInnerWidth(),i=this.getInnerHeight(),r,a;return t>0?this.isVertical()?(r=n,a=Math.floor(i/t)):(r=Math.floor(n/t),a=i):(r=n,a=i),{width:r,height:a}}},{key:"_getFlagsDomObjects",value:function e(){return this._flags}}]),n}(com.webwave.publication.object.WElement);v.DEFAULT_FLAG_SIZE=25,com.webwave.publication.object.WLanguageSelector=v},2701:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1695),
1420l=n(40),d=n(1613),h=n(1955);function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=v(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}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 a=!0,o=!1,
1421s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function v(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&
1422(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function p(e){var t=y();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),
1423!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WForm");var b=function(e){Object(o.a)(n,e);var t=p(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).setAutoHeight(!0),r.loadRwdTextProperties(),r}return Object(r.a)(n,[{key:"cacheDom",value:function e(t){var i,r=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return r.formFrame=null===(i=r.content.children[0])||void 0===i?void 0:i.children[0],r}},{key:"loadRwdTextProperties",value:function e(t){var n,
1424i=f(this._findAllRwdTextContentWrapper()),r;try{for(i.s();!(r=i.n()).done;){var a=r.value;this._rwdTextContent=new c.a($(a)),this._rwdTextContent.loadRwdTextProperties(t)}}catch(e){i.e(e)}finally{i.f()}}},{key:"_findAllRwdTextContentWrapper",value:function e(){return this.getDomObject()[0].querySelectorAll(".ww_form_label_wrapper , .ww_multiple_select_label")}},{key:"updateObjectForRwdChange",value:function e(t){this.loadRwdTextProperties(t),Object(a.a)(Object(u.a)(n.prototype),"updateObjectForRwdChange",
1425this).call(this,t)}},{key:"getFromFrameEl",value:function e(){return this.cachedDom.formFrame}},{key:"calculateMinContentSize",value:function e(){var t=this.getFromFrameEl()?this.getFromFrameEl().scrollHeight:0;return new l.a({width:0,height:t})}},{key:"onVisibilityChange",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this,t),this.isVisible()?this.updateMinSize():this._resetForm(this.getDomObject())}},
1426{key:"endAnimationTextForFormButton",value:function e(t){t.find(".ww_form_submit").finish(),t.find(".ww_form_frame_info_wrapper").finish()}},{key:"resetFormValues",value:function e(t){t.find(".ww_form_cell_2").each(function(){var e=h.a.getFormItemFromRow($(this));e.removeAttr("data-valid"),1==e.is(":checkbox")?e.prop("checked",!1):1==e.is("select")?1==e.is("[multiple]")?e.find("option").prop("selected",!1):e.find("option:eq(0)").prop("selected",!0):e.hasClass("ww_multiple_select_wrapper")?e.find("input:checkbox").prop("checked",
1427!1):e.is('[type="file"]')?(e.val(""),e.removeData("file")):h.a.isMultiFieldItemValue(e)?h.a.resetMultiFieldItemValue(e):e.val("")}
1427)}},{key:"_resetForm",value:function e(t){this.resetFormValues(t),this.endAnimationTextForFormButton(t)}}]),n}(d.a);com.webwave.publication.object.WForm=b},2702:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(40);function l(e){var t=d();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;
1428r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WDate");var h,f=function(e){Object(o.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,
1429arguments)}return Object(r.a)(n,[{key:"getTextFrameEl",value:function e(){return this.cachedDom.textFrame}},{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return i.textFrame=i.content.children[0],i}},{key:"calculateMinContentSize",value:function e(){var t=this.getTextFrameEl(),n=Math.ceil(t.offsetHeight);return new c.a({width:0,height:n})}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WDate=f},2703:function(e,
1430t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),
1431!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getAdditionalResourcesObjectConfig",value:function e(){return wwConfig.additionalResoucresUrl}},{key:"loadPreLoadedCss",value:function e(t){var n;this.loadCss(t),null===(n=document.getElementById(t.getId()))||void 0===n||n.remove()}},{key:"loadPreLoadedJs",value:function e(t){var n;this.loadJs(t),null===(n=document.getElementById(t.getId()))||
1432void 0===n||n.remove()}},{key:"loadCss",value:function e(t){return new Promise(function(e){var n=document.createElement("link");n.rel="stylesheet",n.href=t.getLink(),n.id=t.getId(),n.onload=e,document.head.appendChild(n)})}},{key:"loadJs",value:function e(t){var n=document.createElement("script");n.type="text/javascript",n.src=t.getLink(),n.id=t.getId(),document.head.appendChild(n)}},{key:"preLoadCss",value:function e(t){this._addPreloadLink({id:t.getId(),link:t.getLink(),as:"style"})}},{key:"preLoadJavascript",
1433value:function e(t){this._addPreloadLink({id:t.getId(),link:t.getLink(),as:"script"})}},{key:"_addPreloadLink",value:function e(t){var n=document.createElement("link");n.href=t.link,n.rel="preload",n.as=t.as,n.id=t.id,document.head.appendChild(n)}}]),n}(n(27).a)},2704:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=
1434i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._easing=webwave.isDef(e.easing)?e.easing:n.DEFAULT_EASING_FUNCTION,webwave.isString(r._easing)&&
1435(r._easing=jQuery.easing[r._easing]),r._element=e.element,r._initalValue=e.initialValue,r._finalValue=e.finalValue,r._currentValue=r._initalValue,r._valueDelta=r._finalValue-r._initalValue,r._formatFunction=e.formatFunction,r}
1435return Object(r.a)(n,[{key:"updateValues",value:function e(){var t=this._easing(this._progress);this._currentValue=this._initalValue+this._valueDelta*t}},{key:"render",value:function e(){webwave.isDefAndNotNull(this._element)&&(this._element.innerText=webwave.isFunction(this._formatFunction)?
1436this._formatFunction(this._currentValue):this._currentValue)}},{key:"finish",value:function e(){this._running=!1,this._finished=!0,this.setCurrentTime(this.getDuration()),this.updateValues(),this.render(),this.clean(),webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"tick",value:function e(){this.updateValues(),this.render(),webwave.isFunction(this._stepCallback)&&this._stepCallback()}}]),n}(n(1748).a);d.DEFAULT_EASING_FUNCTION="swing"},2705:function(e,t,n){n.d(t,"a",function(){return w});
1437var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2360),c=n(122),l=n(106),d=n(49),h=n(1128),f=n(140),v=n(46),g=n.n(v),p=n(40),y=n(30);function b(e){var t=m();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1438[],function(){})),!0}catch(e){return!1}}var w=function(e){Object(a.a)(n,e);var t=b(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).pageAreaService=null,e.windowService=null,e}return Object(r.a)(n,[{key:"convertPointFromOrigin",value:function e(t,n){var i=t.clone();switch(n){case h.a.SCREEN_TOP_LEFT:i.setX(i.getX()-this.getPageAreaX());break;case h.a.PAGE_TOP_RIGHT:i.setX(this.getPageAreaWidth()-
1439i.getX());break;case h.a.SCREEN_TOP_RIGHT:i.setX(this.getViewPortWidth()-this.getPageAreaX()-i.getX());break;case h.a.PAGE_TOP_LEFT:break}return i}},{key:"convertPointToOrigin",value:function e(t,n){var i=t.clone();switch(n){case h.a.SCREEN_TOP_LEFT:i.setX(i.getX()-this.getPageAreaX());break;case h.a.PAGE_TOP_RIGHT:i.setX(this.getPageAreaWidth()-i.getX());break;case h.a.SCREEN_TOP_RIGHT:i.setX(this.getViewPortWidth()-this.getPageAreaX()-i.getX());break;case h.a.PAGE_TOP_LEFT:break}return i}},{key:"getFullWidthObjectParams",
1440value:function e(){return{width:this.getViewPortWidth(),x:-this.getPageAreaX()}}},{key:"getPageAreaWidth",value:function e(){return this.pageAreaService.getContainerWidth()}},{key:"getPageAreaHeight",value:function e(){return this.pageAreaService.getContainerHeight()}},{key:"getPageAreaX",value:function e(){return this.pageAreaService.getContainerX()}},{key:"getPageAreaY",value:function e(){return this.pageAreaService.getContainerY()}},{key:"getViewPortHeight",value:function e(){var t=this.pageAreaService.getWindowHeight();
1441return!0===y.a.getValue("publicatedPageApp.fullViewportHeight")&&(t=parseInt(document.querySelector("body").style.height,10)),t}},{key:"getViewPortWidth",value:function e(){return Math.max(this.pageAreaService.getWindowWidth(),com.webwave.publication.rwd.rwdService.getCurrentRwdMode().getWidth())}},{key:"getPageareaRect",value:function e(){return this.pageAreaService.getContainerRect()}},{key:"convertVerticalLengthToRenderedValue",value:function e(t){switch(t.getUnit()){case l.a.PERCENT:return Math.round(t.getValue()*
1442this.getPageAreaHeight()/100);break;case l.a.VW:return Math.round(t.getValue()*this.getViewPortWidth()/100);break;case l.a.VH:return Math.round(t.getValue()*this.getViewPortHeight()/100);break;default:return t.getValue()}}},{key:"convertHorizontalLengthToRenderedValue",value:function e(t){switch(t.getUnit()){case l.a.PERCENT:return Math.round(t.getValue()*this.getPageAreaWidth()/100);break;case l.a.VW:return Math.round(t.getValue()*this.getViewPortWidth()/100);break;case l.a.VH:return Math.round(t.getValue()*
1443this.getViewPortHeight()/100);break;default:return t.getValue()}}},{key:"convertVerticalLengthToUnit",value:function e(t,n){var i=t instanceof c.a?t:new c.a({value:t,unit:l.a.PX});if(i.getUnit()===n)return i;switch(i.getUnit()!==l.a.PX&&(i=this.convertVerticalLengthFromUnit(i)),n){case l.a.PERCENT:return new c.a({value:i.getValue()/this.getPageAreaHeight()*100,unit:l.a.PERCENT});break;case l.a.VW:return new c.a({value:i.getValue()/this.getViewPortWidth()*100,unit:l.a.VW});break;case l.a.VH:return new c.a({value:i.getValue()/
1444this.getViewPortHeight()*100,unit:l.a.VH});break;default:return i}}},{key:"convertHorizontalLengthFromUnit",value:function e(t){return new c.a({value:this.convertHorizontalLengthToRenderedValue(t),unit:l.a.PX})}},{key:"convertVerticalLengthFromUnit",value:function e(t){return new c.a({value:this.convertVerticalLengthToRenderedValue(t),unit:l.a.PX})}},{key:"convertHorizontalLengthToUnit",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.a.PX,i=t instanceof c.a?t:new c.a({value:t,
1445unit:l.a.PX});switch(i.getUnit()!==l.a.PX&&(i=this.convertHorizontalLengthFromUnit(i)),n){case l.a.PERCENT:return new c.a({value:i.getValue()/this.getPageAreaWidth()*100,unit:l.a.PERCENT});break;case l.a.VW:return new c.a({value:i.getValue()/this.getViewPortWidth()*100,unit:l.a.VW});break;case l.a.VH:return new c.a({value:i.getValue()/this.getViewPortHeight()*100,unit:l.a.VH});break;default:return i}}},{key:"setPageAreaService",value:function e(t){this.pageAreaService=t}},{key:"getCurrentPageAreaScrollY",
1446value:function e(){return pageService.getWindowScroll()}},{key:"getPositionRelativeToPageArea",value:function e(t){if(!1===webwave.isDomElement(t))throw new Error("Passed parameter is not a DOM object");var n=t.getBoundingClientRect(),i=document.querySelector("#container").getBoundingClientRect();return new d.a({x:n.x-i.x,y:n.y-i.y})}},{key:"getViewPort",value:function e(){return new f.a({size:new p.a({width:this.getViewPortWidth(),height:this.getViewPortHeight()}),position:new d.a({x:this.getPageAreaX(),
1447y:this.getPageAreaY()+this.getCurrentPageAreaScrollY()})})}},{key:"isObjectInPageAreaVerticalViewport",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fullyContain:!0};if(!1===webwave.isDomElement(t))throw new Error("Passed parameter is not a DOM object");var i=this.getPositionRelativeToPageArea(t),r=new f.a({size:new p.a({width:t.offsetWidth,height:t.offsetHeight}),position:i}),a=this.getViewPort();return n.fullyContain?a.contains(r):a.intersects(r)}},{key:"getRenderedHeight",
1448value:function e(){return this.getViewPortHeight()}},{key:"setWindowService",value:function e(t){this.windowService=t,t.addSizeChangeListener(this),t.addBrowserZoomLevelChangeListener(this)}},{key:"onWindowSizeChange",value:function e(t,n){this.triggerPropertyChange("renderedHeight",t,n)}},{key:"onBrowserZoomLevelChange",value:function e(t,n){this.triggerPropertyChange(u.a.BROWSER_ZOOM_LEVEL,t,n)}}]),n}(v.SimplePropertyChangeEmitter)},2706:function(e,t,n){n.d(t,"a",function(){return m});var i=n(0),
1449r=n(1),a=n(3),o=n(4),s=n(2),u=n(10),c=n(49),l=n(140),d=n(27),h=n(40),f=n(15),v=n.n(f),g,p;function y(e){var t=b();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1450[],function(){})),!0}catch(e){return!1}}var m=(g=Object(f.injectable)())(p=function(e){Object(a.a)(n,e);var t=y(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this))._vScrollVisible=!1,e._hScrollVisible=!1,e._bodyHeight=0,e}return Object(r.a)(n,[{key:"getContainerWidth",value:function e(){return this.getContainerNode().offsetWidth}},{key:"getContainerHeight",value:function e(){return this._bodyHeight}},{key:"getWindowWidth",value:function e(){return document.documentElement.clientWidth}},
1451{key:"getWindowHeight",value:function e(){var t;return u.MobileUtils.isMobileDevice()?window.innerHeight:document.documentElement.clientHeight}},{key:"getContainerRect",value:function e(){return new l.a({size:new h.a({width:this.getContainerWidth(),height:this.getContainerHeight()}),position:new c.a({x:this.getContainerX(),y:this.getContainerY()})})}},{key:"setVScrollVisible",value:function e(t){var n=this._vScrollVisible!==t;this._vScrollVisible=t,n&&com.webwave.publication.object.ObjectService.getInstance().updateObjectsAfterWindowResize()}},
1452{key:"setHScrollVisible",value:function e(t){var n=this._hScrollVisible!==t;this._hScrollVisible=t,n&&com.webwave.publication.object.ObjectService.getInstance().updateObjectsAfterWindowResize()}},{key:"updateScrollVisibility",value:function e(){document.body&&(this.setVScrollVisible(document.body.scrollHeight>window.innerHeight),this.setHScrollVisible(document.body.scrollWidth>window.innerWidth))}},{key:"getContainerX",value:function e(){var t,n=0;return this.getContainerNode()&&(n=this.getContainerNode().getBoundingClientRect().left),
1453n}},{key:"getContainerNode",value:function e(){return document.getElementById("container")}},{key:"getContainerY",value:function e(){return parseInt($("#container").css("top"),10)}},{key:"setBodyHeight",value:function e(t){var n=this._bodyHeight!==t;
1453this._bodyHeight=t,n&&(this.getDocumentBody().style.height="".concat(t,"px"),com.webwave.publication.object.ObjectService.getInstance().updatePercentDependentObjectParams({vertical:!0}),this.updateScrollVisibility())}},{key:"getDocumentBody",value:function e(){return document.body}}]),
1454n}(d.a))||p},2707:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(2107),o=n(2708),s=n(2709),u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.id=t.id,this.wObject=t.wObject,this.tails=[],this.heads=[],this.sides=[],this._bottomEdge=-1/0,this.wObject.setRelationNode(this),this._pushingDisabled=!1}return Object(r.a)(e,[{key:"getId",value:function e(){return this.id}},{key:"getWObject",value:function e(){return this.wObject}},
1455{key:"updateBottomEdge",value:function e(){this.setBottomEdge(this.computeBottomEdge())}},{key:"setBottomEdge",value:function e(t){var n=this._bottomEdge;this._bottomEdge=t,n!==t&&this.onBottomEdgeChange()}},{key:"getBottomEdge",value:function e(){return this._bottomEdge}},{key:"computeBottomEdge",value:function e(){if(!1===this.wObject.isAlwaysPushing()&&(!1===this.wObject.isVisibleForInFlow()||!1===this.wObject.isInFlow()))return-1/0;if(!0===this.wObject.isAlwaysPushing()&&(!1===this.wObject.isVisibleForInFlow()||
1456!1===this.wObject.isInFlow()))return this.getBottomEdgeFromHeads();var t=webwave.isDefAndNotNull(this.wObject.getParentWNode())?this.wObject.getParentWNode().getOffset().getY():0;return this.wObject.getRenderedRectangle().getY2()-t}},{key:"_getHeadVerticalNodeConnectionByNode",value:function e(t){return this.heads.find(function(e){return e.getHead()===t})}},{key:"containsInHead",value:function e(t){return webwave.isDef(this._getHeadVerticalNodeConnectionByNode(t.getHead()))}},{key:"addToHeads",value:function e(t,
1457n){var i=new s.a(t,this,n);!1===this.containsInHead(i)?this.heads.push(i):i.dispose()}},{key:"removeFromHeads",value:function e(t){var n=this._getHeadVerticalNodeConnectionByNode(t);webwave.isDef(n)&&(this.heads.splice(this.heads.indexOf(n),1),n.dispose())}},{key:"containsInTails",value:function e(t){return-1!==this.tails.indexOf(t)}},{key:"addToTails",value:function e(t){!1===this.containsInTails(t)&&this.tails.push(t)}},{key:"removeFromTails",value:function e(t){var n=this.tails.indexOf(t);-1!==
1458n&&this.tails.splice(n,1)}},{key:"getSides",value:function e(){return this.sides}},{key:"addToSides",value:function e(t){t!==this&&-1===this.sides.indexOf(t)&&this.sides.push(t)}},{key:"removeFromSides",value:function e(t){-1!==this.sides.indexOf(t)&&this.sides.splice(this.sides.indexOf(t),1)}},{key:"dispose",value:function e(){if(!0!==this._beingDisposed){this._beingDisposed=!0,this.wObject.setRelationNode(null);for(var t=0;t<this.heads.length;t++)this.heads[t].dispose();for(var n=0;n<this.tails.length;n++)this.tails[n].dispose()}}},
1459{key:"getBottomEdgeFromHeads",value:function e(){for(var t=-1/0,n=0;n<this.heads.length;n++){var i=this.heads[n];t=Math.max(t,i.getHead().getBottomEdge())}return t}},{key:"updatePushedDown",value:function e(){for(var t=-1/0,n=!1,i=0;i<this.heads.length;i++){var r=this.heads[i];t=Math.max(t,r.getHead().getBottomEdge()+r.getValue()),!1===n&&!0===r.relation.hasDisabledPulling()&&(n=!0),t=Math.trunc(t)}this.wObject.setMostBottomFromOtherPushes(t);var a=this.wObject.countPushDownAttr(t,n);this.wObject.setPushedDownAttr(a)}},
1460{key:"collectSides",value:function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[this],n=[],i=0;i<this.sides.length;i++){var r=this.sides[i];-1===t.indexOf(r)&&n.push(r)}for(var a=n.slice(),o=0;o<a.length;o++)n=n.concat(n[o].collectSides(t.concat(n)));return n}},{key:"updateBoundHeightModifiers",value:function e(){for(var t=-1/0,n=this.collectSides(),i=0;i<n.length;i++)n[i]!==this&&(t=Math.max(t,n[i].computeBottomEdge()-n[i].wObject.getBoundHeightModifier()));var r=Math.max(t-
1461(this.wObject.getComputedPosition().getY()+this.wObject.getComputedSize().getHeight()-this.wObject.getBoundHeightModifier()),0);this.wObject.setBoundHeightModifier(r)}},{key:"onHeadBottomEdgeChange",value:function e(){this.isPushingDisabled()||this.updatePushedDown()}},{key:"onSideSizeChange",value:function e(){this.isPushingDisabled()||this.updateBoundHeightModifiers()}},{key:"onSidePositionChange",value:function e(){this.isPushingDisabled()||this.updateBoundHeightModifiers()}},{key:"onBottomEdgeChange",
1462value:function e(){if(!this.isPushingDisabled())for(var t=0;t<this.tails.length;t++)this.tails[t].onHeadBottomEdgeChange()}},{key:"_shouldSkipWObjectEventHandling",value:function e(){return this.isPushingDisabled()||this.wObject.isBulkMode()||this.wObject.isNoPushing()||this.wObject.isFixed()}},{key:"onWObjectSizeChange",value:function e(){if(!this._shouldSkipWObjectEventHandling()){this.updatePushedDown(),this.updateBottomEdge();for(var t=0;t<this.sides.length;t++)this.sides[t].onSideSizeChange()}}},
1463{key:"onWObjectPositionChange",value:function e(){if(!this._shouldSkipWObjectEventHandling()){this.updatePushedDown(),this.updateBottomEdge();for(var t=0;t<this.sides.length;t++)this.sides[t].onSidePositionChange()}}},{key:"onWObjectVisibilityChange",value:function e(){if(!this._shouldSkipWObjectEventHandling()){this.updatePushedDown(),this.updateBottomEdge();for(var t=0;t<this.sides.length;t++)this.sides[t].onSidePositionChange()}}},{key:"hasHeads",value:function e(){return this.heads.length>0}},
1464{key:"getHeads",value:function e(t){for(var n=[],i=0;i<this.heads.length;i++)n.push(this.heads[i].getHead()),t&&(n=n.concat(this.heads[i].getHead().getHeads(t)));return n}},{key:"hasTails",value:function e(){return this.tails.length>0}},{key:"getTails",value:function e(t){for(var n=[],i=0;i<this.tails.length;i++)n.push(this.tails[i]),t&&(n=n.concat(this.tails[i].getTails(t)));return n}},{key:"hasSides",value:function e(){return this.sides.length>0}},{key:"hasAnyRelation",value:function e(){return this.hasHeads()||
1465this.hasTails()||this.hasSides()}},{key:"shakeIt",value:function e(){this.updatePushedDown(),this.updateBoundHeightModifiers(),this.updateBottomEdge()}},{key:"getInFlowHeads",value:function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[],i=0;i<this.heads.length;i++){var r=this.heads[i].getHead();!1===this.heads[i].relation.hasDisabledPulling()&&(r.wObject.isAlwaysPushing()||r.wObject.isInFlow()&&r.wObject.isVisibleForInFlow())&&(n.push(r),!0===t.deep&&(n=n.concat(r.getInFlowHeads({deep:!0}))))}return n}},
1466{key:"setPushingDisabled",value:function e(t){this._pushingDisabled=t}},{key:"isPushingDisabled",value:function e(){return this._pushingDisabled}},{key:"collectDownPath",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new a.a,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=t.get(this.wObject.id);if(!(t.has(this.wObject.id)&&i.level>=n)){webwave.isNotDefOrNull(i)?(i=new o.a({node:this,level:n}),t.add(this.wObject.id,i)):i.level=n;for(var r=0;r<this.tails.length;r++)this.tails[r].collectDownPath(t,
1467n+1);this.wObject.forEachAncestor(function(e){null!==e.getRelationNode()&&e.getRelationNode().collectDownPath(t,n+1)})}}}]),e}()}
1467,2708:function(e,t,n){n.d(t,"a",function(){return r});var i=n(0),r=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.level=t.level,this.node=t.node}},2709:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(2710),o=n(106),s=function(){function e(t,n,r){Object(i.a)(this,e),this.head=null,this.tails=null,
1468this.head=t,this.tail=n,this.relation=r;var s={};s[o.a.VH]={object:t.wObject.getPageCanvas(),property:"renderedHeight"},this._lengthProxy=new a.a(r.getDistance(),{valueChangeHandler:this.onValueChange.bind(this),lengthParents:s}),this.relation.addPropertyChangeListener("distance",this),this.value=this._lengthProxy.getValue()}return Object(r.a)(e,[{key:"getHead",value:function e(){return this.head}},{key:"getTail",value:function e(){return this.tail}},{key:"getDistance",value:function e(){return this.relation.getDistance()}},
1469{key:"onValueChange",value:function e(t){this.value=this._lengthProxy.getValue(),this.tail.updatePushedDown()}},{key:"onPropertyChange",value:function e(t){this._lengthProxy.setLength(t.getNewValue())}},{key:"dispose",value:function e(){this.relation.removePropertyChangeListener("distance",this),this._lengthProxy.dispose()}},{key:"getValue",value:function e(){return this.value}}]),e}()},2710:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(10),o=function(){function e(t){var n=
1470arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(i.a)(this,e),this.length=null,this.value=0,this.length=t,this.valueChangeHandler=n.valueChangeHandler,this._lengthParents=n.lengthParents,this._parentProxy=null,this._updateParentProxy(),this.value=this.computeValue()}return Object(r.a)(e,[{key:"setParentProxy",value:function e(t){null!==this._parentProxy&&this._parentProxy.object.removePropertyChangeListener(this._parentProxy.property,this),this._parentProxy=t,null!==this._parentProxy&&
1471this._parentProxy.object.addPropertyChangeListener(this._parentProxy.property,this)}},{key:"_updateParentProxy",value:function e(){var t,n=null,i=null===(t=this.length)||void 0===t?void 0:t.getUnit();webwave.isDefAndNotNull(this._lengthParents[i])&&(n=this._lengthParents[i]),this.setParentProxy(n)}},{key:"onValueChange",value:function e(t,n){webwave.isFunction(this.valueChangeHandler)&&this.valueChangeHandler(t,n,this)}},{key:"getValue",value:function e(){return this.value}},{key:"setValue",value:function e(t){var n=
1472this.value;this.value=t,t!==n&&this.onValueChange(t,n)}},{key:"computeValue",value:function e(){if(webwave.isNotDefOrNull(this.length))return 0;if(null!==this._parentProxy){var t="get".concat(a.StringUtils.capitalizeFirstLetter(this._parentProxy.property)),n;if(webwave.isFunction(this._parentProxy.object[t]))return this._parentProxy.object[t]()*this.length.getValue()/100}
1472return this.length.getValue()}},{key:"updateValue",value:function e(){this.setValue(this.computeValue())}},{key:"setLength",value:function e(t){this.length=
1473t,this._updateParentProxy(),this.updateValue()}},{key:"onPropertyChange",value:function e(t){this.updateValue()}},{key:"dispose",value:function e(){null!==this._parentProxy&&this._parentProxy.object.removePropertyChangeListener(this._parentProxy.property,this)}}]),e}()},284:function(e,t,n){var i=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n(function(t){t(e)})}return new (n||(n=Promise))(function(n,a){function o(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i.throw(e))}catch(e){a(e)}}
1474function u(e){e.done?n(e.value):r(e.value).then(o,s)}u((i=i.apply(e,t||[])).next())})},r=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");for(;n;)try{if(i=1,r&&(a=2&o[0]?r.return:o[0]?
1475r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return n.label++,{value:o[1],done:!1};case 5:n.label++,r=o[1],o=[0];continue;case 7:o=n.ops.pop(),n.trys.pop();continue;default:if(!(a=(a=n.trys).length>0&&a[a.length-1])&&(6===o[0]||2===o[0])){n=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(6===o[0]&&n.label<a[1]){n.label=a[1],a=o;break}if(a&&n.label<a[2]){n.label=a[2],
1476n.ops.push(o);break}a[2]&&n.ops.pop(),n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e],r=0}finally{i=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},a=this&&this.__spreadArray||function(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.Container=void 0;var o=n(285),s=n(32),u=n(43),c=n(22),l=n(163),d=n(286),h=n(293),f=n(295),v=n(55),g=n(65),p=n(298),y=n(299),b=function(){function e(e){this._appliedMiddleware=
1477[];var t=e||{};if("object"!=typeof t)throw new Error(""+s.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT);if(void 0===t.defaultScope)t.defaultScope=u.BindingScopeEnum.Transient;else if(t.defaultScope!==u.BindingScopeEnum.Singleton&&t.defaultScope!==u.BindingScopeEnum.Transient&&t.defaultScope!==u.BindingScopeEnum.Request)throw new Error(""+s.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE);if(void 0===t.autoBindInjectable)t.autoBindInjectable=!1;else if("boolean"!=typeof t.autoBindInjectable)throw new Error(""+s.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE);
1478if(void 0===t.skipBaseClassChecks)t.skipBaseClassChecks=!1;else if("boolean"!=typeof t.skipBaseClassChecks)throw new Error(""+s.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK);this.options={autoBindInjectable:t.autoBindInjectable,defaultScope:t.defaultScope,skipBaseClassChecks:t.skipBaseClassChecks},this.id=v.id(),this._bindingDictionary=new y.Lookup,this._snapshots=[],this._middleware=null,this.parent=null,this._metadataReader=new l.MetadataReader}return e.merge=function(t,n){for(var i=[],r=2;r<arguments.length;r++)i[r-
14792]=arguments[r];var o=new e,s=a([t,n],i).map(function(e){return d.getBindingDictionary(e)}),u=d.getBindingDictionary(o);
1479function c(e,t){e.traverse(function(e,n){n.forEach(function(e){t.add(e.serviceIdentifier,e.clone())})})}return s.forEach(function(e){c(e,u)}),o},e.prototype.load=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this._getContainerModuleHelpersFactory(),i=0,r=e;i<r.length;i++){var a=r[i],o=n(a.id);a.registry(o.bindFunction,o.unbindFunction,o.isboundFunction,
1480o.rebindFunction)}},e.prototype.loadAsync=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(this,void 0,void 0,function(){var t,n,i,a,o;return r(this,function(r){switch(r.label){case 0:t=this._getContainerModuleHelpersFactory(),n=0,i=e,r.label=1;case 1:return n<i.length?(a=i[n],o=t(a.id),[4,a.registry(o.bindFunction,o.unbindFunction,o.isboundFunction,o.rebindFunction)]):[3,4];case 2:r.sent(),r.label=3;case 3:return n++,[3,1];case 4:return[2]}})})},e.prototype.unload=function(){for(var e=
1481this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=function(e){return function(t){return t.moduleId===e}};t.forEach(function(t){var n=i(t.id);e._bindingDictionary.removeByCondition(n)})},e.prototype.bind=function(e){var t=this.options.defaultScope||u.BindingScopeEnum.Transient,n=new o.Binding(e,t);return this._bindingDictionary.add(e,n),new f.BindingToSyntax(n)},e.prototype.rebind=function(e){return this.unbind(e),this.bind(e)},e.prototype.unbind=function(e){try{this._bindingDictionary.remove(e)}catch(t){throw new Error(s.CANNOT_UNBIND+
1482" "+g.getServiceIdentifierAsString(e));}},e.prototype.unbindAll=function(){this._bindingDictionary=new y.Lookup},e.prototype.isBound=function(e){var t=this._bindingDictionary.hasKey(e);return!t&&this.parent&&(t=this.parent.isBound(e)),t},e.prototype.isBoundNamed=function(e,t){return this.isBoundTagged(e,c.NAMED_TAG,t)},e.prototype.isBoundTagged=function(e,t,n){var i=!1;if(this._bindingDictionary.hasKey(e)){var r=this._bindingDictionary.get(e),a=d.createMockRequest(this,e,t,n);i=r.some(function(e){return e.constraint(a)})}return!i&&
1483this.parent&&(i=this.parent.isBoundTagged(e,t,n)),i},e.prototype.snapshot=function(){this._snapshots.push(p.ContainerSnapshot.of(this._bindingDictionary.clone(),this._middleware))},e.prototype.restore=function(){var e=this._snapshots.pop();if(void 0===e)throw new Error(s.NO_MORE_SNAPSHOTS_AVAILABLE);this._bindingDictionary=e.bindings,this._middleware=e.middleware},e.prototype.createChild=function(t){var n=new e(t||this.options);return n.parent=this,n},e.prototype.applyMiddleware=function(){for(var e=
1484[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._appliedMiddleware=this._appliedMiddleware.concat(e);var n=this._middleware?this._middleware:this._planAndResolve();this._middleware=e.reduce(function(e,t){return t(e)},n)},e.prototype.applyCustomMetadataReader=function(e){this._metadataReader=e},e.prototype.get=function(e){return this._get(!1,!1,u.TargetTypeEnum.Variable,e)},e.prototype.getTagged=function(e,t,n){return this._get(!1,!1,u.TargetTypeEnum.Variable,e,t,n)},e.prototype.getNamed=function(e,
1485t){return this.getTagged(e,c.NAMED_TAG,t)},e.prototype.getAll=function(e){return this._get(!0,!0,u.TargetTypeEnum.Variable,e)},e.prototype.getAllTagged=function(e,t,n){return this._get(!1,!0,u.TargetTypeEnum.Variable,e,t,n)},e.prototype.getAllNamed=function(e,t){return this.getAllTagged(e,c.NAMED_TAG,t)},e.prototype.resolve=function(e){var t=this.createChild();return t.bind(e).toSelf(),this._appliedMiddleware.forEach(function(e){t.applyMiddleware(e)}),t.get(e)},e.prototype._getContainerModuleHelpersFactory=
1486function(){var e=this,t=function(e,t){e._binding.moduleId=t},n=function(n){return function(i){var r,a=e.bind.bind(e)(i);return t(a,n),a}},i=function(t){return function(t){var n;e.unbind.bind(e)(t)}},r=function(t){return function(t){var n;return e.isBound.bind(e)(t)}},a=function(n){return function(i){var r,a=e.rebind.bind(e)(i);return t(a,n),a}};return function(e){return{bindFunction:n(e),isboundFunction:r(e),rebindFunction:a(e),unbindFunction:i(e)}}},e.prototype._get=function(e,t,n,i,r,a){var o=null,
1487u={avoidConstraints:e,contextInterceptor:function(e){return e},isMultiInject:t,key:r,serviceIdentifier:i,targetType:n,value:a};if(this._middleware){if(void 0===(o=this._middleware(u))||null===o)throw new Error(s.INVALID_MIDDLEWARE_RETURN);}else o=this._planAndResolve()(u);return o},e.prototype._planAndResolve=function(){var e=this;return function(t){var n=d.plan(e._metadataReader,e,t.isMultiInject,t.targetType,t.serviceIdentifier,t.key,t.value,t.avoidConstraints),i;return n=t.contextInterceptor(n),
1488h.resolve(n)}},e}();t.Container=b}
1488,285:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Binding=void 0;var i=n(43),r=n(55),a=function(){function e(e,t){this.id=r.id(),this.activated=!1,this.serviceIdentifier=e,this.scope=t,this.type=i.BindingTypeEnum.Invalid,this.constraint=function(e){return!0},this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.dynamicValue=null}return e.prototype.clone=function(){var t=new e(this.serviceIdentifier,
1489this.scope);return t.activated=t.scope===i.BindingScopeEnum.Singleton&&this.activated,t.implementationType=this.implementationType,t.dynamicValue=this.dynamicValue,t.scope=this.scope,t.type=this.type,t.factory=this.factory,t.provider=this.provider,t.constraint=this.constraint,t.onActivation=this.onActivation,t.cache=this.cache,t},e}();t.Binding=a},286:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getBindingDictionary=t.createMockRequest=t.plan=void 0;var i=n(287),r=n(32),a=n(43),
1490o=n(22),s=n(164),u=n(65),c=n(288),l=n(36),d=n(289),h=n(290),f=n(292),v=n(166);function g(e){return e._bindingDictionary}function p(e,t,n,i,r,a){var s=e?o.MULTI_INJECT_TAG:o.INJECT_TAG,u=new l.Metadata(s,n),c=new v.Target(t,i,n,u);if(void 0!==r){var d=new l.Metadata(r,a);c.metadata.push(d)}return c}function y(e,t,n,r,a){var o=w(n.container,a.serviceIdentifier),s=[];return o.length===i.BindingCount.NoBindingsAvailable&&n.container.options.autoBindInjectable&&"function"==typeof a.serviceIdentifier&&
1491e.getConstructorMetadata(a.serviceIdentifier).compilerGeneratedMetadata&&(n.container.bind(a.serviceIdentifier).toSelf(),o=w(n.container,a.serviceIdentifier)),s=t?o:o.filter(function(e){var t=new f.Request(e.serviceIdentifier,n,r,e,a);return e.constraint(t)}),b(a.serviceIdentifier,s,a,n.container),s}function b(e,t,n,a){switch(t.length){case i.BindingCount.NoBindingsAvailable:if(n.isOptional())return t;var o=u.getServiceIdentifierAsString(e),s=r.NOT_REGISTERED;throw s+=u.listMetadataForTarget(o,n),
1492s+=u.listRegisteredBindingsForServiceIdentifier(a,o,w),new Error(s);case i.BindingCount.OnlyOneBindingAvailable:if(!n.isArray())return t;case i.BindingCount.MultipleBindingsAvailable:default:if(n.isArray())return t;var o=u.getServiceIdentifierAsString(e),s=r.AMBIGUOUS_MATCH+" "+o;throw s+=u.listRegisteredBindingsForServiceIdentifier(a,o,w),new Error(s);}}function m(e,t,n,i,o,s){var u,c;if(null===o){u=y(e,t,i,null,s),c=new f.Request(n,i,null,u,s);var l=new d.Plan(i,c);i.addPlan(l)}else u=y(e,t,i,o,
1493s),c=o.addChildRequest(s.serviceIdentifier,u,s);u.forEach(function(t){var n=null;if(s.isArray())n=c.addChildRequest(t.serviceIdentifier,t,s);else{if(t.cache)return;n=c}if(t.type===a.BindingTypeEnum.Instance&&null!==t.implementationType){var o=h.getDependencies(e,t.implementationType);if(!i.container.options.skipBaseClassChecks){var u=h.getBaseClassDependencyCount(e,t.implementationType);if(o.length<u){var l=r.ARGUMENTS_LENGTH_MISMATCH(h.getFunctionName(t.implementationType));throw new Error(l);}}o.forEach(function(t){m(e,
1494!1,t.serviceIdentifier,i,n,t)})}})}function w(e,t){var n=[],i=g(e);return i.hasKey(t)?n=i.get(t):null!==e.parent&&(n=w(e.parent,t)),n}function S(e,t,n,i,r,a,o,l){void 0===l&&(l=!1);var d=new c.Context(t),h=p(n,i,r,"",a,o);try{return m(e,l,r,d,null,h),d}catch(e){throw s.isStackOverflowExeption(e)&&d.plan&&u.circularDependencyToException(d.plan.rootRequest),e;}}function O(e,t,n,i){var r=new v.Target(a.TargetTypeEnum.Variable,"",t,new l.Metadata(n,i)),o=new c.Context(e),s;return new f.Request(t,o,null,
1495[],r)}t.getBindingDictionary=g,t.plan=S,t.createMockRequest=O},287:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingCount=void 0;var i={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1};t.BindingCount=i},288:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Context=void 0;var i=n(55),r=function(){function e(e){this.id=i.id(),this.container=e}return e.prototype.addPlan=function(e){this.plan=e},e.prototype.setCurrentRequest=function(e){this.currentRequest=
1496e},e}();t.Context=r}
1496,289:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Plan=void 0;var i=function(){function e(e,t){this.parentContext=e,this.rootRequest=t}return e}();t.Plan=i},290:function(e,t,n){var i=this&&this.__spreadArray||function(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.getFunctionName=t.getBaseClassDependencyCount=t.getDependencies=void 0;var r=n(165),a=n(32),o=n(43),s=n(22),u=n(65);Object.defineProperty(t,
1497"getFunctionName",{enumerable:!0,get:function(){return u.getFunctionName}});var c=n(166);function l(e,t){var n,i;return d(e,u.getFunctionName(t),t,!1)}function d(e,t,n,r){var o=e.getConstructorMetadata(n),s=o.compilerGeneratedMetadata;if(void 0===s){var u=a.MISSING_INJECTABLE_ANNOTATION+" "+t+".";throw new Error(u);}var c=o.userGeneratedMetadata,l=Object.keys(c),d=0===n.length&&l.length>0,h=l.length>n.length,g,p=f(r,t,s,c,d||h?l.length:n.length),y=v(e,n),b;return i(i([],p),y)}function h(e,t,n,i,s){var u=
1498s[e.toString()]||[],l=p(u),d=!0!==l.unmanaged,h=i[e],f=l.inject||l.multiInject;if((h=f||h)instanceof r.LazyServiceIdentifer&&(h=h.unwrap()),d){var v=h===Object,g=h===Function,y,b;if(!t&&(v||g||void 0===h)){var m=a.MISSING_INJECT_ANNOTATION+" argument "+e+" in class "+n+".";throw new Error(m);}var w=new c.Target(o.TargetTypeEnum.ConstructorArgument,l.targetName,h);return w.metadata=u,w}return null}function f(e,t,n,i,r){for(var a=[],o=0;o<r;o++){var s,u=h(o,e,t,n,i);null!==u&&a.push(u)}return a}function v(e,
1499t){for(var n=e.getPropertiesMetadata(t),r=[],a,s=0,u=Object.keys(n);s<u.length;s++){var l=u[s],d=n[l],h=p(n[l]),f=h.targetName||l,g=h.inject||h.multiInject,y=new c.Target(o.TargetTypeEnum.ClassProperty,f,g);y.metadata=d,r.push(y)}var b=Object.getPrototypeOf(t.prototype).constructor;if(b!==Object){var m=v(e,b);r=i(i([],r),m)}return r}function g(e,t){var n=Object.getPrototypeOf(t.prototype).constructor;if(n!==Object){var i,r=d(e,u.getFunctionName(n),n,!0),a=r.map(function(e){return e.metadata.filter(function(e){return e.key===
1500s.UNMANAGED_TAG})}),o=[].concat.apply([],a).length,c=r.length-o;return c>0?c:g(e,n)}return 0}function p(e){var t={};return e.forEach(function(e){t[e.key.toString()]=e.value}),{inject:t[s.INJECT_TAG],multiInject:t[s.MULTI_INJECT_TAG],targetName:t[s.NAME_TAG],unmanaged:t[s.UNMANAGED_TAG]}}t.getDependencies=l,t.getBaseClassDependencyCount=g},291:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.QueryableString=void 0;var i=function(){function e(e){this.str=e}return e.prototype.startsWith=
1501function(e){return 0===this.str.indexOf(e)},e.prototype.endsWith=function(e){var t="",n=e.split("").reverse().join("");return t=this.str.split("").reverse().join(""),this.startsWith.call({str:t},n)},e.prototype.contains=function(e){return-1!==this.str.indexOf(e)},e.prototype.equals=function(e){return this.str===e},e.prototype.value=function(){return this.str},e}();t.QueryableString=i},292:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0;var i=n(55),r=function(){function e(e,
1502t,n,r,a){this.id=i.id(),this.serviceIdentifier=e,this.parentContext=t,this.parentRequest=n,this.target=a,this.childRequests=[],this.bindings=Array.isArray(r)?r:[r],this.requestScope=null===n?new Map:null}return e.prototype.addChildRequest=function(t,n,i){var r=new e(t,this.parentContext,this,n,i);return this.childRequests.push(r),r},e}();t.Request=r},293:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.resolve=void 0;var i=n(32),r=n(43),a=n(164),o=n(65),s=n(294),u=function(e,t,n){try{return n()}catch(n){throw a.isStackOverflowExeption(n)?
1503new Error(i.CIRCULAR_DEPENDENCY_IN_FACTORY(e,t.toString())):n;}},c=function(e){return function(t){t.parentContext.setCurrentRequest(t);var n=t.bindings,a=t.childRequests,l=t.target&&t.target.isArray(),d=!(t.parentRequest&&t.parentRequest.target&&t.target&&t.parentRequest.target.matchesArray(t.target.serviceIdentifier));if(l&&d)return a.map(function(t){var n;return c(e)(t)});var h=null;if(!t.target.isOptional()||0!==n.length){var f=n[0],v=f.scope===r.BindingScopeEnum.Singleton,g=f.scope===r.BindingScopeEnum.Request;
1504if(v&&f.activated)return f.cache;if(g&&null!==e&&e.has(f.id))return e.get(f.id);if(f.type===r.BindingTypeEnum.ConstantValue)h=f.cache,f.activated=!0;else if(f.type===r.BindingTypeEnum.Function)h=f.cache,f.activated=!0;else if(f.type===r.BindingTypeEnum.Constructor)h=f.implementationType;else if(f.type===r.BindingTypeEnum.DynamicValue&&null!==f.dynamicValue)h=u("toDynamicValue",f.serviceIdentifier,function(){return f.dynamicValue(t.parentContext)});else if(f.type===r.BindingTypeEnum.Factory&&null!==
1505f.factory)h=u("toFactory",f.serviceIdentifier,function(){return f.factory(t.parentContext)});else if(f.type===r.BindingTypeEnum.Provider&&null!==f.provider)h=u("toProvider",f.serviceIdentifier,function(){return f.provider(t.parentContext)});else{if(f.type!==r.BindingTypeEnum.Instance||null===f.implementationType){var p=o.getServiceIdentifierAsString(t.serviceIdentifier);throw new Error(i.INVALID_BINDING_TYPE+" "+p);}h=s.resolveInstance(f.implementationType,a,c(e))}return"function"==typeof f.onActivation&&
1506(h=f.onActivation(t.parentContext,h)),v&&(f.cache=h,f.activated=!0),g&&null!==e&&!e.has(f.id)&&e.set(f.id,h),h}}};function l(e){var t;return c(e.plan.rootRequest.requestScope)(e.plan.rootRequest)}t.resolve=l},294:function(e,t,n){var i=this&&this.__spreadArray||function(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e};
1506Object.defineProperty(t,"__esModule",{value:!0}),t.resolveInstance=void 0;var r=n(32),a=n(43),o=n(22);function s(e,t,n){var i=t.filter(function(e){return null!==
1507e.target&&e.target.type===a.TargetTypeEnum.ClassProperty}),r=i.map(n);return i.forEach(function(t,n){var i="";i=t.target.name.value();var a=r[n];e[i]=a}),e}function u(e,t){return new (e.bind.apply(e,i([void 0],t)))}function c(e,t){if(Reflect.hasMetadata(o.POST_CONSTRUCT,e)){var n=Reflect.getMetadata(o.POST_CONSTRUCT,e);try{t[n.value]()}catch(t){throw new Error(r.POST_CONSTRUCT_ERROR(e.name,t.message));}}}function l(e,t,n){var i=null,r,o;t.length>0?i=s(i=u(e,t.filter(function(e){return null!==e.target&&
1508e.target.type===a.TargetTypeEnum.ConstructorArgument}).map(n)),t,n):i=new e;return c(e,i),i}t.resolveInstance=l},295:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingToSyntax=void 0;var i=n(32),r=n(43),a=n(296),o=n(167),s=function(){function e(e){this._binding=e}return e.prototype.to=function(e){return this._binding.type=r.BindingTypeEnum.Instance,this._binding.implementationType=e,new a.BindingInWhenOnSyntax(this._binding)},e.prototype.toSelf=function(){if("function"!=typeof this._binding.serviceIdentifier)throw new Error(""+
1509i.INVALID_TO_SELF_VALUE);var e=this._binding.serviceIdentifier;return this.to(e)},e.prototype.toConstantValue=function(e){return this._binding.type=r.BindingTypeEnum.ConstantValue,this._binding.cache=e,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)},e.prototype.toDynamicValue=function(e){return this._binding.type=r.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=
1510e,this._binding.implementationType=null,new a.BindingInWhenOnSyntax(this._binding)},e.prototype.toConstructor=function(e){return this._binding.type=r.BindingTypeEnum.Constructor,this._binding.implementationType=e,this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)},e.prototype.toFactory=function(e){return this._binding.type=r.BindingTypeEnum.Factory,this._binding.factory=e,this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)},
1511e.prototype.toFunction=function(e){if("function"!=typeof e)throw new Error(i.INVALID_FUNCTION_BINDING);var t=this.toConstantValue(e);return this._binding.type=r.BindingTypeEnum.Function,this._binding.scope=r.BindingScopeEnum.Singleton,t},e.prototype.toAutoFactory=function(e){return this._binding.type=r.BindingTypeEnum.Factory,this._binding.factory=function(t){var n;return function(){return t.container.get(e)}},this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)},
1512e.prototype.toProvider=function(e){return this._binding.type=r.BindingTypeEnum.Provider,this._binding.provider=e,this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)},e.prototype.toService=function(e){this.toDynamicValue(function(t){return t.container.get(e)})},e}();t.BindingToSyntax=s},296:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingInWhenOnSyntax=void 0;var i=n(297),r=n(108),a=n(109),o=function(){function e(e){this._binding=e,this._bindingWhenSyntax=
1513new a.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new r.BindingOnSyntax(this._binding),this._bindingInSyntax=new i.BindingInSyntax(e)}return e.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},e.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},e.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},e.prototype.when=function(e){return this._bindingWhenSyntax.when(e)},e.prototype.whenTargetNamed=
1514function(e){return this._bindingWhenSyntax.whenTargetNamed(e)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)},e.prototype.whenInjectedInto=function(e){return this._bindingWhenSyntax.whenInjectedInto(e)},e.prototype.whenParentNamed=function(e){return this._bindingWhenSyntax.whenParentNamed(e)},e.prototype.whenParentTagged=function(e,t){return this._bindingWhenSyntax.whenParentTagged(e,
1515t)},e.prototype.whenAnyAncestorIs=function(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)}
1515,e.prototype.whenNoAncestorIs=function(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)},e.prototype.whenAnyAncestorNamed=function(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)},e.prototype.whenNoAncestorNamed=function(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)},e.prototype.whenNoAncestorTagged=
1516function(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)},e.prototype.whenAnyAncestorMatches=function(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)},e.prototype.whenNoAncestorMatches=function(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)},e.prototype.onActivation=function(e){return this._bindingOnSyntax.onActivation(e)},e}();t.BindingInWhenOnSyntax=o},297:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingInSyntax=void 0;var i=n(43),
1517r=n(167),a=function(){function e(e){this._binding=e}return e.prototype.inRequestScope=function(){return this._binding.scope=i.BindingScopeEnum.Request,new r.BindingWhenOnSyntax(this._binding)},e.prototype.inSingletonScope=function(){return this._binding.scope=i.BindingScopeEnum.Singleton,new r.BindingWhenOnSyntax(this._binding)},e.prototype.inTransientScope=function(){return this._binding.scope=i.BindingScopeEnum.Transient,new r.BindingWhenOnSyntax(this._binding)},e}();t.BindingInSyntax=a},298:function(e,
1518t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ContainerSnapshot=void 0;var i=function(){function e(){}return e.of=function(t,n){var i=new e;return i.bindings=t,i.middleware=n,i},e}();t.ContainerSnapshot=i},299:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Lookup=void 0;var i=n(32),r=function(){function e(){this._map=new Map}return e.prototype.getMap=function(){return this._map},e.prototype.add=function(e,t){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);if(null===
1519t||void 0===t)throw new Error(i.NULL_ARGUMENT);var n=this._map.get(e);void 0!==n?(n.push(t),this._map.set(e,n)):this._map.set(e,[t])},e.prototype.get=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);var t=this._map.get(e);if(void 0!==t)return t;throw new Error(i.KEY_NOT_FOUND);},e.prototype.remove=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);if(!this._map.delete(e))throw new Error(i.KEY_NOT_FOUND);},e.prototype.removeByCondition=function(e){var t=this;this._map.forEach(function(n,
1520i){var r=n.filter(function(t){return!e(t)});r.length>0?t._map.set(i,r):t._map.delete(i)})},e.prototype.hasKey=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);return this._map.has(e)},e.prototype.clone=function(){var t=new e;return this._map.forEach(function(e,n){e.forEach(function(e){return t.add(n,e.clone())})}),t},e.prototype.traverse=function(e){this._map.forEach(function(t,n){e(n,t)})},e}();t.Lookup=r},2992:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),
1521n.d(t,"default",function(){return ae});var i=n(26),r=n(0),a=n(1),o=n(25),s=n.n(o),u=n(982),c=n(15),l=n.n(c),d=n(2408),h=n(3064),f=n(3065),v=n(2568),g=n(2569),p=n(3066),y=n(10),b=n(843),m=n(3067),w=n(3068),S=n(1717),O=n(3069),_=n(2409),k=n(219),P=n(844),A=n(2703),E=n(1718),C=n(2571),I=n(3071),T=n(2993),N=n(1747),D=n(1957),j=n(2572),R=n(2411),L=n(1616),M=n(2705),x=n(3082),B=n(2994),F=n(3083),V=n(3084),W=n(2995),U=n(2706),H=n(2419),z=n(46),G=n.n(z),Y=n(222),X=n(3085),K=n(1720),q=n(1619),Z=n(3086),J=
1522n(1682),Q=n(30),ee=n(16),te=n(1027),ne=n(17),ie=n(1752),re=n(3087),ae=function(){function e(){Object(r.a)(this,e),this.container=new c.Container,this.globalWebsiteData={},this._requireResize=!1,this.servicesToInit=[]}return Object(a.a)(e,[{key:"run",value:function(){var e=Object(i.a)(s.a.mark(function e(){var t=this,n;return s.a.wrap(function e(i){for(;;)switch(i.prev=i.next){case 0:this._initResizeHandler(),(n=new J.a).addToQueue(function(){t.injectDependencies()}),n.addToQueue(function(){t.init()}),
1523n.dequeue(),this._initPolyfill(),this._initFontsLoadedEventListener();case 7:case "end":return i.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"injectDependencies",value:function e(){var t=this.container;Reflect.hasMetadata("inversify:paramtypes",z.SimplePropertyChangeEmitter)||c.decorate(c.injectable(),z.SimplePropertyChangeEmitter),t.bind(ee.a.Container).toConstantValue(t),t.bind(ee.a.PhoneNumberUtils).to(L.a).inSingletonScope(),t.bind(ee.a.StoreStorage).to(W.a).inSingletonScope(),
1524t.bind(ee.a.StoreCartsProductCounterService).to(V.a).inSingletonScope(),t.bind(ee.a.EnvironmentUtils).to(b.a).inSingletonScope(),t.get(ee.a.EnvironmentUtils).setEnvironment(y.Environment),t.bind(ee.a.WindowService).to(q.a).inSingletonScope(),t.bind(te.a.Backgroun
1524dParallaxService).to(h.a).inSingletonScope(),t.bind(te.a.BrowserHistoryService).to(f.a).inSingletonScope(),t.bind(te.a.ElementRotationService).to(g.a).inSingletonScope(),t.bind(te.a.ElementAttributeService).toConstantValue(window.elementAttributeService),
1525t.bind(te.a.ElementService).to(p.a).inSingletonScope(),t.bind(te.a.FacebookService).to(m.a).inSingletonScope(),t.bind(ee.a.FrontendTranslation).to(S.a).inSingletonScope(),t.bind(ee.a.LocationService).toConstantValue(com.webwave.utils.location.locationService),t.bind(te.a.GroupService).to(O.a).inSingletonScope(),t.bind(te.a.LocalStorageService).to(E.a).inSingletonScope(),t.bind(te.a.LoadResourceUtils).to(A.a).inSingletonScope(),t.bind(te.a.MediaPlayerService).to(C.a).inSingletonScope(),t.bind(te.a.MenutoolService).to(I.a).inSingletonScope(),
1526t.bind(te.a.FeedService).to(w.a).inSingletonScope(),t.bind(te.a.ObjectService).to(j.a).inSingletonScope(),t.bind(te.a.PageService).to(R.a).inSingletonScope(),t.bind(te.a.PublicatedScrollService).to(x.a).inSingletonScope(),t.bind(te.a.PublishedPageAreaService).to(U.a).inSingletonScope(),t.bind(te.a.RwdService).toConstantValue(window.rwdService),t.bind(te.a.UserService).to(X.a).inSingletonScope(),t.bind(te.a.UtilService).to(K.a).inSingletonScope(),t.bind(te.a.ModularObjectContentService).to(T.a).inSingletonScope(),
1527t.bind(ne.a.StoreAnalyticsManager).to(F.a).inSingletonScope(),t.bind(ne.a.OrderPopupService).to(B.a).inSingletonScope(),t.bind(ne.a.InteractionsService).to(_.a).inSingletonScope(),t.bind(ee.a.LoadingBoxService).to(P.a).inSingletonScope(),t.bind(ne.a.RelationManagerService).to(H.a).inSingletonScope(),webwave.utils.setEnvironmentUtils(this.container.get(ee.a.EnvironmentUtils)),window.utilService=this.container.get(te.a.UtilService),webwave.provide("com.webwave.publication.object.ObjectService");var n=
1528this.container.get(te.a.PageService);window.pageService=n,y.MobileUtils.reloadIfBackForwadCacheInAppleDevice();var i=this.container.get(te.a.ObjectService);j.a.__instance=i,com.webwave.publication.object.ObjectService=j.a;var r=this.container.get(te.a.GroupService);window.groupService=r;var a=this.container.get(te.a.ElementService);window.elementService=a;var o=this.container.get(te.a.FacebookService);window.facebookService=o;var s=this.container.get(te.a.MediaPlayerService);com.webwave.publication.object.mediaPlayerService=
1529s;var u=this.container.get(te.a.MenutoolService);window.menutoolService=u,window[window.WWNamespace.POPUP_MANAGER]=new Y.a,this.preInitMethods()}},{key:"init",value:function(){var e=Object(i.a)(s.a.mark(function e(){var t,n=this,i,r,a,o,u,c,l,d,h,f,g,p,b,m,w,S,O,_,P,A;return s.a.wrap(function e(s){for(;;)switch(s.prev=s.next){case 0:return this._setAppAsInitializing(),y.MobileUtils.reloadIfBackForwadCacheInAppleDevice(),i=this.container.get(te.a.PageService),r=this.container.get(te.a.ObjectService),
1530a=this.container.get(te.a.GroupService),o=this.container.get(te.a.ElementService),u=this.container.get(te.a.FeedService),this.servicesToInit.push(this.container.get(te.a.BrowserHistoryService),u),i.addPageTypeClassToBody(),c=k.a.parseJsonFromNodeWithId("ww-data"),webwave.isObject(c)&&(this.globalWebsiteData=c),o.setHighestZIndex(null===(t=this.getGlobalWebsiteData())||void 0===t?void 0:t.highestPageZIndex),l=this.container.get(te.a.PublicatedScrollService),d=this.container.get(ne.a.RelationManagerService),
1531a.setRelationManagerService(d),h=new v.a,f=new Z.a,(g=window.rwdService).setElementAttributeService(this.container.get(te.a.ElementAttributeService)),g.addRwdModeChangeListener(a),g.addRwdModeChangeListener(r),g.init(),this.container.get(te.a.ModularObjectContentService).init(),p=this.container.get(te.a.MenutoolService),b=this.container.get(te.a.PublishedPageAreaService),p.setObjectService(r),u.setObjectService(r),r.setMenutoolService(p),r.setPageAreaService(b),r.setRelationManagerService(d),r.setBrowserWebPSupportUtils(h),
1532r.setAnimator(com.webwave.animator.animator),r.setPhotoswipeService(com.webwave.photoswipe.PhotoswipeService.getInstance()),r.setWIntersectionObserver(f),r.setOrderPopupService(this.container.get(ne.a.OrderPopupService)),d.setObjectService(r),m=this.container.get(ee.a.WindowService),(w=new M.a).setWindowService(m),w.setPageAreaService(b),r.setPageCanvas(w),i.setPageCanvas(w),(S=this.container.get(ne.a.InteractionsService)).setObjectService(r),r.setInteractionsService(S),g.addRwdModeChangeListener(S),
1533O=this.container.get(te.a.BackgroundParallaxService),i.setObjectService(r),i.setBrowserWebPSupportUtils(h),f.init(),i.setPageAreaService(b),s.next=53,r.initObjects();case 53:for(!0!==Q.a.getValue("publicatedPageApp.doNotSetAdditionalServices")&&(o.initFbElements(),O.triggerScrollListeners(),i.updateBackgroundSize(),(_=[O,r]).forEach(function(e){l.addScrollListener(e)}),l.initScrollTickListener()),i.initDownloadProtection(),o.initAllLinksScroll(),i.initLinkScroll(),o.addButtonHoverEvent(),u.updateHeightForNewsInAllFeeds(),
1534u.setBrowserWebPSupportUtils(h),h.init().then(function(e){r.initLazyLoadForObjects(),!0===e&&(u.changeFeedsContainerThumbnailToWebP(),o.changeButtonBackgroundImageToWebP())}),r.initObjectInViewportListeners(),"complete"===document.readyState?this.onLoadCallback():window.addEventListener("load",function(){n.onLoadCallback()}),this._windowSizeChangeHandler=function(){if(!0!==Q.a.getValue("publicatedPageApp.doNotSetAdditionalServices")){b.updateScrollVisibility();var e=com.webwave.publication.object.ObjectService.getInstance().getRootWObject();
1535null!==e&&e.setBulkMode(!0),u.updateHeightForNewsInAllFeeds(),g.handleWindowResize(window.innerWidth),u.updatePaginationListSizeInFeeds(),r.updateObjectsAfterWindowResize(),null!==e&&e.setBulkMode(!1)}},(P=new CustomEvent(ie.a)).context=this,document.dispatchEvent(P),this.setAppStatus(ie.b.INITIALIZED),this._addListenerToAfterInitializationServices(),A=0;A<this.servicesToInit.length;A++)this.servicesToInit[A].init();this._injectDependenciesToAsynchronousModules(),this._requireResize&&this._windowSizeChangeHandler();
1536case 72:case "end":return s.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"onLoadCallback",value:function e(){this._onLoadInitialization()}},{key:"_onLoadInitialization",value:function e(){var t=this,n=new J.a({continueOnError:!0});n.addToQueue(function(){com.webwave.publication.object.ObjectService.getInstance().updateRotatedObjectsAfterFontsHasBeenLoaded()}),n.addToQueue(function(){t.container.get(te.a.FeedService).updateHeightForNewsInAllFeeds()}),n.addToQueue(function(){t._initAdverts()}),
1537n.addToQueue(function(){t._handleFontLoad()}),n.addToQueue(function(){t.container.get(te.a.PublicatedScrollService).enableCallingActionsOnListeners()}),n.addToQueue(function(){t.container.get(te.a.ObjectService).updateStickyWNodes()}),n.addToQueue(function(){elementService.initForms()}),n.dequeue()}},{key:"addGoogleFontLoadHandler",value:function e(){var t=this;webwave.isDef(document.fonts)?document.fonts.ready.then(function(){t.updateGoogleFontsElements()}):this.updateGoogleFontsElements()}},{key:"updateGoogleFontsElements",
1538value:function e(){com.webwave.publication.object.ObjectService.getInstance().updateAllFontDependentWObjects()}},{key:"setAppStatus",value:function e(t){var n,i;this.container.get(te.a.PublishedPageAreaService).getDocumentBody().dataset.pageAppStatus=t}},{key:"isInitialized",value:function e(){var t;return this.container.get(te.a.PublishedPageAreaService).getDocumentBody().dataset.pageAppStatus===ie.b.INITIALIZED}},{key:"getServiceFromContainer",value:function e(t){return this.container.get(t)}},
1539{key:"getGlobalWebsiteData",value:function e(){return this.globalWebsiteData}},{key:"preInitMethods",value:function e(){}},{key:"_injectAfterInitializationService",value:function e(t){t.inject(this)}},{key:"_setAppAsInitializing",value:function e(){var t=this.container.get(te.a.PublishedPageAreaService),n=t.getDocumentBody();t.setBodyHeight(n.scrollHeight),this.setAppStatus(ie.b.INITIALIZING)}},{key:"_handleFontLoad",value:function e(){var t=this;!0===window.webwaveFontsLoadedFlag?this.addGoogleFontLoadHandler():
1540window.addEventListener("webwave.fontsLoadedEvent",function(){t.addGoogleFontLoadHandler()})}},{key:"_initAdverts",value:function e(){"undefined"!=typeof webwaveAdsService&&webwaveAdsService.initAdvertButton()}},{key:"_addListenerToAfterInitializationServices",value:function e(){var t=this;document.addEventListener(d.a,function(e){t._injectAfterInitializationService(e.service)})}},{key:"_injectDependenciesToAsynchronousModules",value:function e(){var t=this;D.a.waitForLoad(N.a.STORE_APP).then(function(e){e.injectDependenciesFromOtherApp({storeAnalyticsManager:t.container.get(ne.a.StoreAnalyticsManager),
1541orderPopupService:t.container.get(ne.a.OrderPopupService),storeStorage:t.container.get(ee.a.StoreStorage)})})}},{key:"_initResizeHandler",value:function e(){var t=this;$(window).resize(function(e){e.target===window&&(webwave.isFunction(t._windowSizeChangeHandler)?t._windowSizeChangeHandler():t._requireResize=!0)})}},{key:"_initFontsLoadedEventListener",value:function e(){var t=this;document.fonts.addEventListener("loadingdone",function(){t.addGoogleFontLoadHandler()})}},{key:"_initPolyfill",value:function e(){y.MobileUtils.isAppleDeviceWithTouchScreen()&&
1542(new re.a).init()}}]),e}()},2993:function(e,t,n){n.d(t,"a",function(){return k});var i=n(6),r=n(0),a=n(1),o=n(11),s=n(18),u=n(3),c=n(4),l=n(2),d=n(5),h=n(7),f=n(1994),v=n(27),g=n(1957),p=n(1027),y=n(15),b=n.n(y),m,w,S;function O(e){var t=_();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;
1543if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var k=(m=Object(y.inject)(p.a.LoadResourceUtils),w=function(e){Object(u.a)(n,e);var t=O(n);function n(){var e;Object(r.a)(this,n);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return e=t.call.apply(t,[this].concat(s)),Object(i.a)(e,"loadResourceUtils",S,Object(o.a)(e)),e._loadedModularContent={},e._modularContentResources=void 0,
1544e}return Object(a.a)(n,[{key:"init",value:function e(){Object(s.a)(Object(l.a)(n.prototype),"init",this).call(this),this._modularContentResources=wwConfig.additionalResoucresUrl.modularObjectContent}},{key:"createModularContent",value:function e(t){var n=this;return new Promise(function(e){!1===n._isModuleLoaded(t)?(g.a.waitForLoad(t).then(function(i){n._loadedModularContent[t]=i,e(n._createModularContentInstance(t))}
1544),n._loadModule(t)):e(n._createModularContentInstance(t))})}},{key:"_createModularContentInstance",
1545value:function e(t){return new this._loadedModularContent[t]}},{key:"_loadModule",value:function e(t){var n,i,r=null===(n=this._modularContentResources[t])||void 0===n?void 0:n.js,a=null===(i=this._modularContentResources[t])||void 0===i?void 0:i.css;webwave.isDef(r)&&this.loadResourceUtils.loadJs(new f.a({link:r})),webwave.isDef(a)&&this.loadResourceUtils.loadCss(new f.a({link:a}))}},{key:"_isModuleLoaded",value:function e(t){return!0===this._loadedModularContent.hasOwnProperty(t)}}]),n}(v.a),S=
1546Object(d.a)(w.prototype,"loadResourceUtils",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w)},2994:function(e,t,n){n.d(t,"a",function(){return M});var i=n(26),r=n(6),a=n(0),o=n(1),s=n(11),u=n(18),c=n(3),l=n(4),d=n(2),h=n(5),f=n(7),v=n(25),g=n.n(v),p=n(10),y=n(2576),b=n(2105),m=n(832),w=n(240),S=n(1027),O=n(16),_=n(15),k=n.n(_),P,A,E,C,I,T,N,D,j;function R(e){var t=L();return function n(){var i=Object(d.a)(e),r;if(t){var a=Object(d.a)(this).constructor;r=Reflect.construct(i,arguments,
1547a)}else r=i.apply(this,arguments);return Object(l.a)(this,r)}}function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var M=(P=Object(_.injectable)(),A=Object(_.inject)(O.a.LoadingBoxService),E=Object(_.inject)(O.a.StoreStorage),C=Object(_.inject)(S.a.UtilService),P((T=function(e){Object(c.a)(n,e);var t=
1548R(n);function n(){var e;return Object(a.a)(this,n),e=t.call(this),Object(r.a)(e,"loadingBoxService",N,Object(s.a)(e)),Object(r.a)(e,"storeStorage",D,Object(s.a)(e)),Object(r.a)(e,"utilService",j,Object(s.a)(e)),e.loadStoreService=void 0,e.TIME_TO_CHECK_TRANSLATION_LOADED=50,e._storeSettings=null,e._translation=null,e._fetchSettingsSemaphore=new p.AsyncSemaphore,e}return Object(o.a)(n,[{key:"getStoreSettings",value:function(){var e=Object(i.a)(g.a.mark(function e(){var t=this;return g.a.wrap(function e(n){for(;;)switch(n.prev=
1549n.next){case 0:if(!webwave.isNotDefOrNull(this._storeSettings)){n.next=3;break}return n.next=3,this._fetchSettingsSemaphore.run(Object(i.a)(g.a.mark(function e(){return g.a.wrap(function e(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t._fetchWebwaveStoreSettings();case 2:t._storeSettings=n.sent;case 3:case "end":return n.stop()}},e)})));case 3:return n.abrupt("return",this._storeSettings);case 4:case "end":return n.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},
1550{key:"showPopup",value:function(){var e=Object(i.a)(g.a.mark(function e(t){return g.a.wrap(function e(i){for(;;)switch(i.prev=i.next){case 0:if(!1!==this._isOrderPopupInitialized()){i.next=5;break}return i.next=3,this._loadResources();case 3:i.next=8;break;case 5:if(!1!==this._isTranslationLoaded()){i.next=8;break}return i.next=8,this._waitForPopupInitialization();case 8:Object(u.a)(Object(d.a)(n.prototype),"showPopup",this).call(this,t);case 9:case "end":return i.stop()}},e,this)}));function t(t){return e.apply(this,
1551arguments)}return t}()},{key:"initStore",value:function(){var e=Object(i.a)(g.a.mark(function e(){var t;return g.a.wrap(function e(n){for(;;)switch(n.prev=n.next){case 0:if(!0!==(null===(t=this._orderPopup)||void 0===t?void 0:t.shouldByShowImmediately())){n.next=4;break}return n.next=3,this._waitForPopupInitialization();case 3:this._orderPopup.showImmediatelyIfNecessary();case 4:case "end":return n.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"setStorageSettings",
1552value:function e(t){this._storeSettings=t}},{key:"_getTranslation",value:function e(){return webwave.isNotDefOrNull(this._translation)&&(this._translation=new m.a({clientTranslation:this._storeSettings.translation.value})),this._translation}},{key:"_loadResources",value:function(){var e=Object(i.a)(g.a.mark(function e(){return g.a.wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return this.loadingBoxService.showLoadingBox(),this.loadStoreService.loadResources(),t.next=4,this._waitForPopupInitialization();
1553case 4:case "end":return t.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"_isOrderPopupInitialized",value:function e(){return!0===webwave.isDefAndNotNull(this._orderPopup)}},{key:"_isTranslationLoaded",value:function e(){return!0===this.loadStoreService.isTranslationLoaded()}},{key:"_waitForPopupInitialization",value:function(){var e=Object(i.a)(g.a.mark(function e(){var t=this;return g.a.wrap(function e(n){for(;;)switch(n.prev=n.next){case 0:return this.loadingBoxService.showLoadingBox(),
1554n.abrupt("return",new Promise(function(e){var n=setInterval(function(){!0===t._isOrderPopupInitialized()&&!0===t._isTranslationLoaded()&&(clearInterval(n),t.loadingBoxService.hideLoadingBox(),e(!0))},t.TIME_TO_CHECK_TRANSLATION_LOADED)}));case 2:case "end":return n.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()}
1554,{key:"setLoadStoreService",value:function e(t){this.loadStoreService=t}},{key:"_fetchWebwaveStoreSettings",value:function e(){var t=this;return new Promise(function(e){var n=
1555new w.a;webwave.utils.makeAjxaCall({url:"/v2/shopSettings/getStoreSettings",data:{serviceId:t.environmentUtils.getWebsiteId(),languageVersion:t.utilService.getLanguageCode()},noLoadingBox:!0},function(t){webwave.isDefAndNotNull(t.data)&&n.init(t.data),e(n)})})}},{key:"getStoreStorage",value:function e(){return this.storeStorage}}]),n}(y.a),N=Object(h.a)(T.prototype,"loadingBoxService",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=Object(h.a)(T.prototype,"storeStorage",[E],{configurable:!0,
1556enumerable:!0,writable:!0,initializer:null}),j=Object(h.a)(T.prototype,"utilService",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=T))||I)},2995:function(e,t,n){n.d(t,"a",function(){return C});var i=n(6),r=n(0),a=n(1),o=n(11),s=n(18),u=n(3),c=n(4),l=n(2),d=n(5),h=n(7),f=n(1751),v=n(2579),g=n(2580),p=n(1027),y=n(15),b=n.n(y),m,w,S,O,_,k,P;function A(e){var t=E();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;r=Reflect.construct(i,arguments,
1557a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function E(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var C=(m=Object(y.injectable)(),w=Object(y.inject)(p.a.LocalStorageService),S=Object(y.inject)(p.a.UtilService),m((_=function(e){Object(u.a)(n,e);var t=A(n);function n(){var e;Object(r.a)(this,
1558n);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return e=t.call.apply(t,[this].concat(s)),Object(i.a)(e,"localStorageService",k,Object(o.a)(e)),Object(i.a)(e,"utilService",P,Object(o.a)(e)),e}return Object(a.a)(n,[{key:"addItemFromProductData",value:function e(t){Object(s.a)(Object(l.a)(n.prototype),"addItemFromProductData",this).call(this,t),this.saveDataInStorage()}},{key:"cleanOrderItemsInCurrentLang",value:function e(){Object(s.a)(Object(l.a)(n.prototype),"cleanOrderItemsInCurrentLang",
1559this).call(this),this.localStorageService.removeLocalStorageItem(this._getLocalStorageOrderItemsKey())}},{key:"decreaseItemCount",value:function e(t){Object(s.a)(Object(l.a)(n.prototype),"decreaseItemCount",this).call(this,t),this.saveDataInStorage()}},{key:"getLanguageId",value:function e(){return this.utilService.getLanguageCode()}},{key:"getObjectFromLocalStorage",value:function e(){return this.localStorageService.getObjectFromLocalStorage(this._getLocalStorageOrderItemsKey())}},{key:"getProductIdsFromLocalStorage",
1560value:function e(){var t=this.getObjectFromLocalStorage();return webwave.isDefAndNotNull(t)?t.map(function(e){var t;return null===e||void 0===e?void 0:null===(t=e.productData)||void 0===t?void 0:t.id}):[]}},{key:"incrementItemCount",value:function e(t){Object(s.a)(Object(l.a)(n.prototype),"incrementItemCount",this).call(this,t),this.saveDataInStorage()}},{key:"setItemCount",value:function e(t,i){Object(s.a)(Object(l.a)(n.prototype),"setItemCount",this).call(this,t,i),this.saveDataInStorage()}},{key:"informListenersAboutLocalStorageItemCount",
1561value:function e(){this._dispatchItemCountForListeners(this._countObjectsFromLocalStorage())}},{key:"addItem",value:function e(t){Object(s.a)(Object(l.a)(n.prototype),"addItem",this).call(this,t),this.saveDataInStorage()}},{key:"removeItem",value:function e(t){Object(s.a)(Object(l.a)(n.prototype),"removeItem",this).call(this,t),this.saveDataInStorage()}},{key:"saveDataInStorage",value:function e(){for(var t=[],n=this.getOrderItemsByCurrentLang(),i=0;i<n.length;i++)t.push(n[i].serialize());this.localStorageService.setLocalStorageObject(t,
1562this._getLocalStorageOrderItemsKey())}},{key:"_countObjectsFromLocalStorage",value:function e(){var t=this.getObjectFromLocalStorage();return webwave.isDefAndNotNull(t)?t.reduce(function(e,t){return e+t.count},0):0}},{key:"_getLocalStorageOrderItemsKey",value:function e(){return"".concat(f.a.SHOP_DATA,".").concat(this.getLanguageId(),".").concat(v.a.LOCAL_STORAGE_IT
1562EMS_KEY)}}]),n}(g.a),k=Object(d.a)(_.prototype,"localStorageService",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),
1563P=Object(d.a)(_.prototype,"utilService",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=_))||O)},3:function(e,t,n){t.a=r;var i=n(208);function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(i.a)(e,t)}},30:function(e,t,n){n.d(t,"a",function(){return o});var i=
1564n(0),r=n(1),a=n(107),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"setWindowConfigValue",value:function t(n,i){e.setValue(window.config,n,i)}},{key:"setValue",value:function e(t,n,i){if(webwave.isString(n)){for(var r=n.split("."),a=webwave.isDef(t)?t:window.config,o=0;o<r.length-1;o++)webwave.isNotDef(a[r[o]])&&(a[r[o]]={}),a=a[r[o]];a[r[r.length-1]]=i}}},{key:"getValue",value:function e(t,n,i){if(webwave.isString(t)){var r=t.split("."),a=webwave.isDef(i)?i:window.config;
1565if(webwave.isNotDef(a))return n;for(var o=0;o<r.length;o++){if(!webwave.isDef(a[r[o]]))return n;a=a[r[o]]}return a}return null}},{key:"getDecodedJSON",value:function t(n){var i=a.a.decodeHtml(e.getValue(n));return webwave.isValidJSON(i)?JSON.parse(i):{}}},{key:"isValueExists",value:function t(n,i){return webwave.isDef(e.getValue(n,i))}}]),e}()},300:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncContainerModule=t.ContainerModule=void 0;var i=n(55),r=function(){function e(e){this.id=
1566i.id(),this.registry=e}return e}();t.ContainerModule=r;var a=function(){function e(e){this.id=i.id(),this.registry=e}return e}();t.AsyncContainerModule=a},301:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.injectable=void 0;var i=n(32),r=n(22);function a(){return function(e){if(Reflect.hasOwnMetadata(r.PARAM_TYPES,e))throw new Error(i.DUPLICATED_INJECTABLE_DECORATOR);var t=Reflect.getMetadata(r.DESIGN_PARAM_TYPES,e)||[];return Reflect.defineMetadata(r.PARAM_TYPES,t,e),e}}t.injectable=
1567a},302:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.tagged=void 0;var i=n(36),r=n(48);function a(e,t){return function(n,a,o){var s=new i.Metadata(e,t);"number"==typeof o?r.tagParameter(n,a,o,s):r.tagProperty(n,a,s)}}t.tagged=a},303:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.named=void 0;var i=n(22),r=n(36),a=n(48);function o(e){return function(t,n,o){var s=new r.Metadata(i.NAMED_TAG,e);"number"==typeof o?a.tagParameter(t,n,o,s):a.tagProperty(t,n,s)}}t.named=
1568o},304:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.optional=void 0;var i=n(22),r=n(36),a=n(48);function o(){return function(e,t,n){var o=new r.Metadata(i.OPTIONAL_TAG,!0);"number"==typeof n?a.tagParameter(e,t,n,o):a.tagProperty(e,t,o)}}t.optional=o},305:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.unmanaged=void 0;var i=n(22),r=n(36),a=n(48);function o(){return function(e,t,n){var o=new r.Metadata(i.UNMANAGED_TAG,!0);a.tagParameter(e,t,n,o)}}t.unmanaged=
1569o},306:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.multiInject=void 0;var i=n(22),r=n(36),a=n(48);function o(e){return function(t,n,o){var s=new r.Metadata(i.MULTI_INJECT_TAG,e);"number"==typeof o?a.tagParameter(t,n,o,s):a.tagProperty(t,n,s)}}t.multiInject=o},3064:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(27),c=n(15),l=n.n(c),d,h;function f(e){var t=v();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;
1570r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=(d=Object(c.injectable)())(h=function(e){Object(a.a)(n,e);var t=f(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),
1571o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a)))._scrollListeners=[],e}return Object(r.a)(n,[{key:"triggerScrollListeners",value:function e(t){for(var n=this._scrollListeners.length-1;n>=0;
1571n--)this._scrollListeners[n].updateBackgroundParallaxPosition(t)}},{key:"onPageAreaScrollChange",value:function e(t,n){n!=t&&this.triggerScrollListeners(t)}},{key:"addParallaxListener",value:function e(t){-1===this._scrollListeners.indexOf(t)&&this._scrollListeners.push(t)}},{key:"removeParallaxListener",
1572value:function e(t){var n=this._scrollListeners.indexOf(t);-1!==n&&this._scrollListeners.splice(n,1)}},{key:"getScrollListeners",value:function e(){return this._scrollListeners}}]),n}(u.a))||h},3065:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(10),o=n(15),s=n.n(o),u,c,l=(u=Object(o.injectable)())(c=function(){function e(){Object(i.a)(this,e),this._changeStateHandlersList=[]}return Object(r.a)(e,[{key:"init",value:function e(){this._handleStateChange()}},{key:"pushHandler",
1573value:function e(t){this._changeStateHandlersList.push(t)}},{key:"saveCurrentState",value:function e(t){window.history.pushState(a.StringUtils.generateRandomPasswordString(),"Title",t)}},{key:"_handleStateChange",value:function e(){var t=this;window.onpopstate=function(){for(var e=0;e<t._changeStateHandlersList.length;e++)t._changeStateHandlersList[e]()}}}]),e}())||c},3066:function(e,t,n){n.d(t,"a",function(){return L});var i=n(6),r=n(0),a=n(1),o=n(11),s=n(3),u=n(4),c=n(2),l=n(5),d=n(7),h=n(10),f=
1574n(27),v=n(1955),g=n(2570),p=n(15),y=n.n(p),b=n(16),m=n(1027),w=n(207),S,O,_,k,P,A,E,C,I,T,N;function D(e){var t=j();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function j(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1575[],function(){})),!0}catch(e){return!1}}var R=com.webwave.publication.wobject.wbutton.WButton,L=(S=Object(p.injectable)(),O=Object(p.inject)(b.a.PhoneNumberUtils),_=Object(p.inject)(m.a.ObjectService),k=Object(p.inject)(m.a.UtilService),S((N=T=function(e){Object(s.a)(n,e);var t=D(n);function n(){var e,a;return Object(r.a)(this,n),a=t.call(this),Object(i.a)(a,"phoneNumberUtils",E,Object(o.a)(a)),Object(i.a)(a,"objectService",C,Object(o.a)(a)),Object(i.a)(a,"utilService",I,Object(o.a)(a)),a._wFormValidator=
1576void 0,a._highestZIndex=0,a.recaptchaSiteKey=null===(e=document.getElementById(n.RECAPTCHA_API_ID))||void 0===e?void 0:e.getAttribute("siteKey"),a}return Object(a.a)(n,[{key:"initAllLinksScroll",value:function e(){var t=this;$("body").on("click",'a[href*="?anchorElement"]['+n.SAME_PAGE_ELEMENT_LINK_ATTRIBUTE_NAME+"]:not(.ww_menu_item_link)",function(e){e.preventDefault(),t.executePageScrollLinkEvent($(this))})}},{key:"executePageScrollLinkEvent",value:function e(t){var n=t.attr("href"),i=n.substr(n.indexOf("?"),
1577n.length),r=utilService.extractGETParameter("anchorElement",i),a=utilService.extractGETParameter("scrollMargin",i),o=$("#"+r);if(o.length)return pageService.scrollPageToElement(o,{forceTop:!0,margin:a}),!1}},{key:"initFbElements",value:function e(){$(".fb-comments").length+$(".fb-like").length>0&&facebookService.init()}},{key:"initForms",value:function e(){this._wFormValidator=new g.a,this.initSendButton(),this._initPhonePrefixSelects()}},{key:"initSendButton",value:function e(){var t=this;$('#container .ww_form_frame input[type="file"]').length>
15780?utilService.getDynamicallyJSFile(wwConfig.additionalResoucresUrl.js.fileUploadPlugin,function(){t.initFormsAction(!0)}):this.initFormsAction(!1)}},{key:"_findFormSubmitButtonContent",value:function e(t){return t.find(".ww_submit_button_content")}},{key:"setFormSubmitButtonBusyState",value:function e(t,i){this._findFormSubmitButtonContent(t).toggleClass(n.FORM_SUBMIT_BUTTON_BUSY_CLASS_NAME,i)}},{key:"initFormsAction",value:function e(t){var n=this;
1578$("#container .ww_form").each(function(){var e=$(this);
1579t&&void 0!==e.fileupload&&e.fileupload({url:pageService.getPathForAjax()+"/publishedWebsite/sendMailsFromForm",autoUpload:!1,multiple:!1,replaceFileInput:!1,singleFileUploads:!1,multipart:!0,change:function e(t,i){n._wFormValidator.validateFileInput(i)},done:function t(i,r){n.sendFormSuccessCallback(e)}}),e[0].onkeypress=function(i){var r;13===(i.charCode||i.keyCode||0)&&"TEXTAREA"!==i.target.nodeName&&(i.preventDefault(),n.submitClickHandler(e,t))};var i=n._findFormSubmitButtonContent(e);h.MobileUtils.isMobileAppleDevice()?
1580h.MobileUtils.emulateClickEventForAppleDevice(i,function(){n.submitClickHandler(e,t)}):i.click(function(){n.submitClickHandler(e,t)})})}},{key:"submitClickHandler",value:function e(t,i){var r=t;if(1==this.checkIsAllRequiredFieldsAreValid(r)){var a=[];if(i){var o=[];t.find('input[type="file"]').each(function(e){var t=$(this).data("file");void 0!==t&&t.size>0&&(a.push(t),o.push("file_"+e))})}var s={};s.params=JSON.stringify(this.getFormMap(t)),s.websiteId=pageService.getWebsiteId(),s.mails=t.attr("receiveremails"),
1581s.emailTitle=t.attr("emailTitle"),s.replyTo=t.attr("replyTo"),s.hashId=t.attr("hashid"),s.toolType=t.attr("tooltype"),s.pageId=pageService.getPageId(),s.apiVersion=n.CURRENT_FORM_API_VERSION,s.formId=t.attr("id"),this.sendFormMessage(s,t,a)}else this.animateTextForFormButton(t)}},{key:"sendFormMessage",value:function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.recaptchaSiteKey?window.grecaptcha.ready(function(){window.grecaptcha.execute(i.recaptchaSiteKey,
1582{action:"submit"}).then(function(e){t.recaptchaToken=e,i._sendFormAjax(t,n,r)})}):this._sendFormAjax(t,n,r)}},{key:"_sendFormAjax",value:function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.setFormSubmitButtonBusyState(n,!0);var a={url:pageService.getPathForAjax()+"/publishedWebsite/sendMailsFromForm",type:"post",data:t,success:function e(t){i.sendFormSuccessCallback(n)},complete:function e(){i.setFormSubmitButtonBusyState(n,!1)}};if(r&&r.length>0){a.processData=
1583!1,a.contentType=!1;var o=new FormData;Object.keys(t).forEach(function(e){o.append(e,t[e])}),r.forEach(function(e,t){o.append("file_".concat(t),e)}),a.data=o}$.ajax(a)}},{key:"sendFormSuccessCallback",value:function e(t){var n,i=t.find(".ww_submit_button_wrapper").find("a"),r=i.attr("href"),a;this.animateTextForFormButton(t),this.objectService.getWObjectById(this._getElementId(t)).resetFormValues(t),webwave.isDef(r)&&i[0].click()}},{key:"getFormMap",value:function e(t){var n=this,i=[];return t.find(".ww_form_cell_2").each(function(){var e=
1584v.a.getFormItemFromRow($(this));e.length>0&&i.push({label:$(this).attr("label"),value:n._getFormFieldValue.call(n,e)})}),i}},{key:"_getFormFieldValue",value:function e(t){return 1==t.is(":checkbox")?t.is(":checked")?i18n.t("default.yesLabel"):i18n.t("default.noLabel"):1==t.is("select")&&1==t.is("[multiple]")?this.getMultipleSelectValues(t):t.hasClass("ww_multiple_select_wrapper")?this.getMultipleCheckboxValues(t):v.a.isMultiFieldItemValue(t)?v.a.getMultiFieldItemValue(t):t.is('[type="file"]')?t[0].files.length>
15850?t[0].files[0].name:"":t.val()}},{key:"checkIsAllRequiredFieldsAreValid",value:function e(t){return this._wFormValidator.validate(t,".ww_form_cell_2")}},{key:"getMultipleSelectValues",value:function e(t){var n=[];return t.find(":selected").each(function(e,t){n.push($(t).text())}),n}},{key:"getMultipleCheckboxValues",value:function e(t){var n=[];
1585return t.find(":checkbox").each(function(){var e=$(this),t=e.next().find(".ww_inner_element_content");e.is(":checked")&&n.push(t.html())}),n}},{key:"_getElementId",
1586value:function e(t){var n;return t.closest(".ww_element").attr("id")}},{key:"animateTextForFormButton",value:function e(t){var n=t.find(".ww_form_submit"),i,r="flex"!==t.find(".form_content_wrapper").css("display"),a=t.find(".ww_form_frame_info_wrapper"),o=400,s=this.objectService.getWObjectById(this._getElementId(t));n.animate({opacity:"0"},400,function(){r&&n.hide(),a.css("display","inline-block"),s.updateMinSize(),a.animate({opacity:"1"}).delay(3E3).animate({opacity:"0"},400,function(){r&&n.show(),
1587a.hide(),n.animate({opacity:"1"},400,function(){s.updateMinSize()}),s.updateMinSize()})})}},{key:"addButtonHoverEvent",value:function e(){var t=this;$(".ww_button_content").hover(function(){var e=$(this),n=t.getBackgroundBoxForButtonNormalState(e),i=t.getTextBoxForButtonNormalState(e),r;n.addClass("ww_transparent"),e.find(".hover.ww_button_text_wrapper").length>0&&i.addClass("ww_transparent")},function(){var e=t.getBackgroundBoxForButtonNormalState($(this)),n=t.getTextBoxForButtonNormalState($(this));
1588e.removeClass("ww_transparent"),n.removeClass("ww_transparent")})}},{key:"getBackgroundBoxForButtonNormalState",value:function e(t){return t.find(".ww_button_background_image_box.normal")}},{key:"getTextBoxForButtonNormalState",value:function e(t){return t.find(".ww_button_text_wrapper.normal")}},{key:"getBackgroundBoxForButtonHoverState",value:function e(t){return t.find(".ww_button_background_image_box.hover")}},{key:"getTextBoxForButtonHoverState",value:function e(t){return t.find(".ww_button_text_wrapper.hover")}},
1589{key:"sameBackgroundProperties",value:function e(t,n){var i=!1;return t.css("background-image")==n.css("background-image")&&t.css("background-size")==n.css("background-size")&&t.css("background-position")==n.css("background-position")&&t.css("background-repeat")==n.css("background-repeat")&&(i=!0),i}},{key:"sameFont",value:function e(t,n){var i=!1,r=t.find(".ww_button_text"),a=n.find(".ww_button_text");return t.find("span").text()==n.find("span").text()&&r.css("font-size")==a.css("font-size")&&r.css("font-style")==
1590a.css("font-style")&&r.css("color")==a.css("color")&&r.css("font-weight")==a.css("font-weight")&&r.css("font-family")==a.css("font-family")&&r.css("text-align")==a.css("text-align")&&r.css("vertical-align")==a.css("vertical-align")&&(i=!0),i}},{key:"isTransparent",value:function e(t){var n=!1,i,r,a;return"transparent"===t?n=!0:t.startsWith("rgba")&&(i=/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d|\d\.\d*)\)/,(r=t.match(i))&&5===r.length&&(a=parseFloat(r[4]),(a=Math.max(a,0))<1&&(n=
1591!0))),n}},{key:"findAllWButton",value:function e(){return com.webwave.publication.object.ObjectService.getInstance().findAllWObjectsByClass(R)}},{key:"changeButtonBackgroundImageToWebP",value:function e(){for(var t=this.findAllWButton(),n=0;n<t.length;n++)t[n].changeStylesBackgroundImageExtensionIfNecessary()}},{key:"moveElementOnTop",value:function e(t){t.css("zIndex",this.getHighestZIndex())}},{key:"moveElementBack",value:function e(t){t.css("zIndex","")}},{key:"setHighestZIndex",value:function e(t){this._highestZIndex=
1592t}},{key:"getHighestZIndex",value:function e(){return this._highestZIndex}},{key:"_initPhonePrefixSelects",value:function e(){var t=this,i=Object(w.b)(".".concat(n.MULTI_FIELD_ITEM_ROW_CLASS_NAME," select"));i.exists()&&this.utilService.getViewerCountryCode().then(function(e){var n=t.phoneNumberUtils.getPrefixByCountry(e);i.val(n)})}}]),n}(f.a),T.SAME_PAGE_ELEMENT_LINK_ATTRIBUTE_NAME="data-samePage",T.CURRENT_FORM_API_VERSION="v2.0",T.MULTI_FIELD_ITEM_ROW_CLASS_NAME="multi-field-item-row-phone ",
1593T.RECAPTCHA_API_ID="google-recaptcha-api",T.FORM_SUBMIT_BUTTON_BUSY_CLASS_NAME="ww_submit_button_content--busy",A=N,E=Object(l.a)(A.prototype,"phoneNumberUtils",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=Object(l.a)(A.prototype,"objectService",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=Object(l.a)(A.prototype,"utilService",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=A))||P)},3067:function(e,t,n){n.d(t,"a",function(){return b});
1594var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(27),c=n(15),l=n.n(c),d=n(1921),h,f,v,g;function p(e){var t=y();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
1595function(){})),!0}catch(e){return!1}}var b=(h=Object(c.injectable)())((g=v=function(e){Object(a.a)(n,e);var t=p(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).facebookAPIReady=!1,e.actionsQueue=[],e}return Object(r.a)(n,[{key:"init",value:function e(){var t=this,i=$("#ww_language_locale").val(),r,a="//connect.facebook.net/"+(void 0!==i?i:n.DEFAULT_LANGUAGE_LOCALE)+"/sdk.js#xfbml=1&version="+
1596d.a.FACEBOOK_GRAPH_VERSION;$.ajaxSetup({cache:!0}
1596),window.fbAsyncInit=function(){FB.init({status:!1,cookie:!1,xfbml:!0,version:d.a.FACEBOOK_GRAPH_VERSION}),t.facebookAPIReady=!0,FB.Event.subscribe("comment.create",t.commentCallback.bind(t)),FB.Event.subscribe("comment.remove",t.commentCallback.bind(t)),FB.Event.subscribe("xfbml.render",t.commentCallback.bind(t)),t.executeActionsQueue()},$.getScript(a)}},{key:"commentCallback",value:function e(t){var n=webwave.isStringAndNotEmpty(t.href)?$('.fb-comments[data-href="'+
1597t.href+'"]').parent():$(".fb-comments").parent();setTimeout(function(){var e=com.webwave.publication.object.ObjectService.getInstance();n.each(function(){var t=e.getObjectById(utilService.getParentBaseElementId($(this)));webwave.isDef(t)&&t.updateMinSize()})},200)}},{key:"executeActionsQueue",value:function e(){for(var t=0;t<this.actionsQueue.length;t++)"function"==typeof this.actionsQueue[t].callback&&this.actionsQueue[t].callback()}},{key:"executeAction",value:function e(t){"function"==typeof t&&
1598(this.facebookAPIReady?t():this.actionsQueue.push({callback:t}))}},{key:"setFacebookAPIReady",value:function e(t){this.facebookAPIReady=!0===t}},{key:"getFacebookAPIReady",value:function e(){return this.facebookAPIReady}}]),n}(u.a),v.DEFAULT_LANGUAGE_LOCALE="en_US",f=g))||f},3068:function(e,t,n){n.d(t,"a",function(){return P});var i=n(6),r=n(0),a=n(1),o=n(11),s=n(3),u=n(4),c=n(2),l=n(5),d=n(7),h=n(27),f=n(10),v=n(2033),g=n(1027),p=n(15),y=n.n(p),b,m,w,S,O;function _(e){var t=k();return function n(){var i=
1599Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var P=(b=Object(p.injectable)(),m=Object(p.inject)(g.a.BrowserHistoryService),b((S=function(e){Object(s.a)(n,
1600e);var t=_(n);function n(){var e;Object(r.a)(this,n);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return e=t.call.apply(t,[this].concat(s)),Object(i.a)(e,"browserHistoryService",O,Object(o.a)(e)),e.objectService=null,e.browserWebPSupportUtils=null,e}return Object(a.a)(n,[{key:"init",value:function e(){this.browserHistoryService.pushHandler(this.initPageIndexes.bind(this)),this.initPageIndexes()}},{key:"initPageIndexes",value:function e(){for(var t=this.objectService.findAllWObjectsByType(v.a),
1601n=0;n<t.length;n++){var i=webwave.getParamFromLocation(t[n].getNameParamForLink()),r=webwave.isStringAndNotEmpty(i)?i:v.a.DEFAULT_INDEX_VALUE;t[n].setPaginationIndex(r)}}},{key:"changeFeedsContainerThumbnailToWebP",value:function e(){for(var t=this.objectService.findAllWObjectsByClass(v.a),n=0;n<t.length;n++)for(var i=t[n].getFeedItemsData(),r=0;r<i.length;r++)!0===i[r][this.browserWebPSupportUtils.getWeBPImageAttrName()]&&(i[r].thumbnail=this.browserWebPSupportUtils.replaceImageSrcToWebP(i[r].thumbnail))}},
1602{key:"updatePaginationListSizeInFeeds",value:function e(){for(var t=this.objectService.findAllWObjectsByClass(v.a),n=0;n<t.length;n++)t[n].updatePaginationListSize()}},{key:"updateHeightForNewsInAllFeeds",value:function e(){for(var t=this.objectService.findAllWObjectsByClass(v.a),n=0;n<t.length;n++)t[n].updateFeedDomSizes()}},{key:"saveFeedIndexHistory",value:function e(t,n){var i=f.StringUtils.updateOrAddParameterToUrl(window.location.href,t,n);this.browserHistoryService.saveCurrentState(i)}},{key:"setObjectService",
1603value:function e(t){this.objectService=t}},{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}}]),n}(h.a),O=Object(l.a)(S.prototype,"browserHistoryService",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=S))||w)},3069:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(27),c=n(15),l=n.n(c),d,h;function f(e){var t=v();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,
1604arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=(d=Object(c.injectable)())(h=function(e){Object(a.a)(n,e);var t=f(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];
1605return(e=t.call.apply(t,[this].concat(a))).objectAnimationService=null,e.relationManagerService=null,e}return Object(r.a)(n,[{key:"getFixedElemPosition",value:function e(t){var n=t.offset();return n.top-=window.scrollY,n.left-=window.scrollX,n}},{key:"getElemPosition",value:function e(t){return{left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)}}},{key:"getGroupEdgePosition",value:function e(t,n){var i,r="fixed"===t.css("position")?this.getFixedElemPosition:this.getElemPosition,a=this.getGroupElements(t),
1606o=null;switch(n){case "top":return(o=a.reduce(function(e,t){var n=parseInt(r(t).top,10);return n<e?n:e},1/0))-this.getPadding(t,"top")-this.getBorderWidth(t,"top");case "bottom":return(o=a.reduce(function(e,t){var n=parseInt(r(t).top,10)+parseInt(t.css("height"),10);return n>e?n:e},-1/0))+this.getPadding(t,"bottom")+this.getBorderWidth(t,"bottom");case "right":return(o=a.reduce(function(e,t){var n=parseInt(r(t).left,10)+parseInt(t.css("width"),10);return n>e?n:e},-1/0))+this.getPadding(t,"right")+
1607this.getBorderWidth(t,"right");
1607case "left":return(o=a.reduce(function(e,t){var n=parseInt(r(t).left,10);return n<e?n:e},1/0))-this.getPadding(t,"left")-this.getBorderWidth(t,"left")}}},{key:"updateVerticalDimensionValues",value:function e(t){var n=this.getGroupElements(t).length>0,i=n?this.getGroupEdgePosition(t,"top"):0,r=n?this.getGroupEdgePosition(t,"bottom"):0;t.css("top",i),t.css("bottom",r),t.css("height",r-i),t.css("overflow",n?"visible":"hidden ")}},{key:"updateHorizontalDimensionValues",
1608value:function e(t){var n="fixed"===t.css("position"),i=this.getGroupEdgePosition(t,"left"),r=this.getGroupEdgePosition(t,"right");t.css("left",i),t.css("right",r),n&&t.css("margin-left","0"),t.css("width",r-i)}},{key:"getPadding",value:function e(t,n){var i,r=t.children(".content");switch(n){case "left":i=parseInt(r.css("padding-left"));break;case "right":i=parseInt(r.css("padding-right"));break;case "top":i=parseInt(r.css("padding-top"));break;case "bottom":i=parseInt(r.css("padding-bottom"));break}return isNaN(i)?
16090:i}},{key:"getBorderWidth",value:function e(t,n){var i=t.children(".content"),r;switch(n){case "left":r=parseInt(i.css("borderLeftWidth"));break;case "top":r=parseInt(i.css("borderTopWidth"));break;case "right":r=parseInt(i.css("borderRightWidth"));break;case "bottom":r=parseInt(i.css("borderBottomWidth"));break}return isNaN(r)?0:r}},{key:"getGroupElements",value:function e(t){var n=[],i=com.webwave.publication.object.ObjectService.getInstance().getWObjectById(t.attr("id"));if(webwave.isDef(i))for(var r=
1610i.getAllChildrenForSizeComputation(),a=0,o=r.length;a<o;a++)n.push(r[a].getDomObject());return n}},{key:"disablePointerEventsForTransparentGroup",value:function e(){var t=this;
1610$(".group").each(function(){var e=$(this);1==t.isTranpsarent(e.children(".content"))&&e.css("pointer-events","none")})}},{key:"isTranpsarent",value:function e(t){var n=!1;return 0==parseInt(100*parseFloat(t.css("opacity")))&&(n=!0),"none"!=t.css("backgroundImage")||"transparent"!=t.css("backgroundColor")&&"rgba(0, 0, 0, 0)"!=
1611t.css("backgroundColor")||(n=!0),n}},{key:"isGroup",value:function e(t){return t.hasClass("group")}},{key:"filterEmptyGroups",value:function e(t){var n=this,i=t;return void 0!==i&&(i=t.filter(function(){var e=!0;return n.isGroup($(this))&&(e=n.getGroupElements($(this)).length>0),e})),i}},{key:"onRwdModeChange",value:function e(t){this.disablePointerEventsForTransparentGroup()}},{key:"setObjectAnimationService",value:function e(t){this.objectAnimationService=t}},{key:"setRelationManagerService",value:function e(t){this.relationManagerService=
1612t}}]),n}(u.a))||h},307:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.targetName=void 0;var i=n(22),r=n(36),a=n(48);function o(e){return function(t,n,o){var s=new r.Metadata(i.NAME_TAG,e);a.tagParameter(t,n,o,s)}}t.targetName=o},3070:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,
1613arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getHtml5Object",value:function e(){return this.getDomObject()[0].querySelector("audio")}}]),
1614n}(n(2368).a)},3071:function(e,t,n){n.d(t,"a",function(){return b});var i=n(34),r=n(0),a=n(1),o=n(3),s=n(4),u=n(2),c=n(1599),l=n(1660),d=n(27),h=n(15),f=n.n(h),v,g;function p(e){var t=y();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;
1615try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=(v=Object(h.injectable)())(g=function(e){Object(o.a)(n,e);var t=p(n);function n(){var e;return Object(r.a)(this,n),(e=t.call(this)).objectService=null,e}return Object(a.a)(n,[{key:"setObjectService",value:function e(t){this.objectService=t}},{key:"findAllFullWidthMobileMenus",value:function e(){return this.objectService.findAllWObjects(function(e){if(e instanceof com.webwave.publication.object.WMenu){var t=
1616e;return t.isMobileMenu()&&t.getMobileMenuPosition()===c.a.BOTTOM&&t.getMobileMenuSize()===l.a.FULL_WIDTH}return!1})}},{key:"findAllAutoWidthMobileMenus",value:function e(){return this.objectService.findAllWObjects(function(e){if(e instanceof com.webwave.publication.object.WMenu){var t=e;return t.isMobileMenu()&&t.getMobileMenuPosition()===c.a.BOTTOM&&t.getMobileMenuSize()===l.a.AUTO}return!1})}},{key:"updateMenusAfterWindowResize",value:function e(){for(var t=this.findAllFullWidthMobileMenus(),n=
1617this.findAllAutoWidthMobileMenus(),r=[].concat(Object(i.a)(t),Object(i.a)(n)),a=0;a<r.length;a++)r[a].updateMobileMenuSizeAndPosition()}}]),n}(d.a))||g},3072:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1745),l=n(1623),d=n(2573),h=n(1662);function f(e){var t=v();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function v(){if("undefined"==
1618typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=function(e){Object(o.a)(n,e);var t=f(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).linkData=new l.a,r._productC
1618ountEnabled=!1,r}return Object(r.a)(n,[{key:"getLinkData",value:function e(){return this.linkData}},{key:"getProductCounterEnabled",value:function e(){return webwave.isDefAndNotNull(this._getProductCounter())}},
1619{key:"onVisibilityChange",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this,t),this._updateProductCounterVisibility()}},{key:"onProductCountChange",value:function e(t){this._computeProductCountEnabled(t),this._productCountEnabled&&(this._getProductCounter().innerHTML=d.a.renderCounterText(t)),this._updateProductCounterVisibility()}},{key:"_computeProductCountEnabled",value:function e(t){this._productCountEnabled=t>0}},{key:"_getProductCounter",value:function e(){return this.getContentEl().querySelector(".".concat(h.a.PRODUCT_COUNTER_CLASS_NAME))}},
1620{key:"_updateProductCounterVisibility",value:function e(){var t=this.getComputedVisibility();webwave.isDefAndNotNull(this._getProductCounter())&&(this._getProductCounter().style.visibility=t&&this._productCountEnabled?"visible":"hidden")}}]),n}(c.a)},3073:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1713),l=n(2568),d=n(1579),h=n(1745),f=n(1600),v=n(225),g=n(3074);function p(e){var t=y();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;
1621r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=function(e){Object(o.a)(n,e);var t=p(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).linkData=new c.a(e.productId),r._storeAnalyticsManager=
1622e.storeAnalyticsManager,r}return Object(r.a)(n,[{key:"addObjectInViewPortListener",value:function e(){this.createDomWIntersectionObserved(new g.a(this))}},{key:"changeStylesBackgroundImageExtensionIfNecessary",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"changeStylesBackgroundImageExtensionIfNecessary",this).call(this),this.changePartialStyleBackgroundExtensionIfNecessary(this.getStatesStyles().getState(v.a.DISABLED),l.a.USE_DISABLED_WEBP_IMAGE_ATTR,l.a.USE_DISABLED_WEBP_IMAGE_DATASET_ATTR)}},
1623{key:"getProductId",value:function e(){return this.linkData.getProductId()}},{key:"setState",value:function e(t){!1===this.isInitialized()&&Object(a.a)(Object(u.a)(n.prototype),"setState",this).call(this,t),this._currentState!==v.a.DISABLED&&(Object(a.a)(Object(u.a)(n.prototype),"setState",this).call(this,t),t===v.a.DISABLED&&(this.linkData=new d.a({})))}},{key:"sendViewPortEvent",value:function e(){this._storeAnalyticsManager.sendG4Event(f.a.ViewItemEvent,this.getProductId())}},{key:"_changeTextInStateIsAvailable",
1624value:function e(t){return Object(a.a)(Object(u.a)(n.prototype),"_changeTextInStateIsAvailable",this).call(this,t)||t===v.a.DISABLED}}]),n}(h.a)},3074:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;
1625if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this))._storeProduct=e,r}return Object(r.a)(n,[{key:"getDomObject",value:function e(){return this._storeProduct.getDomObject()[0]}},{key:"enteredViewportHandler",value:function e(){this._storeProduct.sendViewPortEvent()}},
1626{key:"isSingleHandler",value:function e(){return!1}}]),n}(n(1568).a)},3075:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;
1627try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"isFullWidth",value:function e(){return!0}}]),n}(n(2099).a)},3076:function(e,t,n){n.d(t,"a",function(){return _});var i=n(14),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(973),d=n(1733),h=n(1747),f=n(2103),v=n(1995),g=n(3077);function p(e,t){var n="undefined"!=
1628typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1628if(!n){if(Array.isArray(e)||(n=y(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}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 a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();
1629return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function y(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];
1630return i}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,
1631t,Object.getOwnPropertyDescriptor(n,t))})}return e}function S(e){var t=O();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}
1632var _=function(e){Object(s.a)(n,e);var t=S(n);function n(e){var i;return Object(r.a)(this,n),(i=t.call(this,e))._content=null,i._contentProperties=e.contentProperties,i._imagesLinkData=i._deserializeSlidesLinkData(e.imagesLinkData),i}return Object(a.a)(n,[{key:"init",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"init",this).call(this),this._initLinkData()}},{key:"initContent",value:function e(){var t=this;this._content=this.modularObjectContentService.createModularContent(h.a.WCAROUSEL).then(function(e){t._content=
1633e,t._content.init(t.getDomObject()[0].querySelector(".".concat(v.a.WRAPPER_CLASS)),t._contentProperties)})}},{key:"recreateContent",value:function e(){this._carouselRendered()&&this._content.recreate(this._contentProperties)}},{key:"updateObjectForRwdChange",value:function e(t){Object(o.a)(Object(c.a)(n.prototype),"updateObjectForRwdChange",this).call(this,t),this.recreateContent(),this._updateImagesDimensions()}},{key:"addImgLazyLoad",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"addImgLazyLoad",
1634this).call(this),this.addObjectToIntersectionObserver(new g.a(this))}},{key:"afterDomSizeChange",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"afterDomSizeChange",this).call(this),webwave.isDefAndNotNull(this._content)&&this._content.updateSwiperSize(),this._updateImagesDimensions()}},{key:"loadAdditionalData",value:function e(t){this._contentProperties=w(w({},this._contentProperties),t)}},{key:"setModularObjectContentService",value:function e(t){this.modularObjectContentService=t}},{key:"_carouselRendered",
1635value:function e(){return webwave.isDefAndNotNull(this._content)}},{key:"_deserializeSlidesLinkData",value:function e(t){var n=[];if(webwave.isArrayLike(t))for(var i=0;i<t.length;i++)n.push(l.a.createLink(t[i]));return n}},{key:"_initLinkData",value:function e(){for(var t=this,n=this.getDomObject()[0].querySelectorAll("a"),i=0;i<n.length;i++)n[i].addEventListener("click",function(e){var n=e.target.closest(".".concat(v.a.SLIDE_CLASS));if(webwave.isDefAndNotNull(n)){var i=t._imagesLinkData[n.dataset.swiperSlideIndex];
1636t.linkClickHandler(i)}})}},{key:"_updateImagesDimensions",value:function e(){var t,n=p(this.getDomObject()[0].querySelectorAll(".".concat(v.a.SLIDE_CLASS))),i;try{for(n.s();!(i=n.n()).done;){var r=i.value;f.a.updateImageDimensions(r)}}catch(e){n.e(e)}finally{n.f()}}}]),n}(d.a)},3077:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2103),c=n(1995),l=n(1692),d=n(30);function h(e){var t=f();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;
1637r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(a.a)(n,e);var t=h(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this))._wCarousel=e,r}return Object(r.a)(n,[{key:"getDomObject",
1638value:function e(){return this.getWCarouselObject().getDomObject()[0]}},{key:"getWCarouselObject",value:function e(){return this._wCarousel}},{key:"enteredViewportHandler",value:function e(){var t=this.getWCarouselObject();!0!==d.a.getValue("publicatedPageApp.disableLazyLoad")&&webwave.isDef(t)&&(this._handleLazyLoadImages(t),t.initContent())}},{key:"_handleLazyLoadImages",value:function e(){var t=this.getDomObject().querySelector(".".concat(c.a.WRAPPER_CLASS));u.a.lazyLoadImages(t)}}]),n}(l.a)},
16393078:function(e,t,n){n.d(t,"a",function(){return y});var i=n(0),r=n(1),a=n(11),o=n(3),s=n(4),u=n(2),c=n(40),l=n(2370),d=n(2574),h=n(2575),f=n(2358),v=n(30);function g(e){var t=p();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;
1640try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var y=function(e){Object(o.a)(n,e);var t=g(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).counterAnimationData=new l.a(e.counterAnimationData),r._counterAnimation=null,r._counterAnimationManager=new d.a(Object(a.a)(r)),r.setAutoHeight(!0),r}return Object(r.a)(n,[{key:"calculateMinContentSize",value:function e(){var t=this.getTextFrameEl();t.style.whiteSpace="nowrap",t.style.breakWord=
1641"keep-all",t.style.display="inline-block";var n=t.offsetWidth,i=t.offsetHeight;return t.style.whiteSpace="",t.style.breakWord="",t.style.display="",new c.a({width:n,height:i})}},{key:"getCounterAnimationManager",value:function e(){return this._counterAnimationManager}},{key:"getCounterAnimationData",value:function e(){return this.counterAnimationData}},{key:"getCounterAnimation",value:function e(){return this._counterAnimation}},{key:"setCounterAnimation",value:function e(t){this._counterAnimation=
1642t}},{key:"getAnimationElement",value:function e(){return this.getTextFrameEl()}}]),n}(Object(h.a)(f.a))},3079:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;
1643if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a)))._layoutChildren=[],e}return Object(r.a)(n,[{key:"setLayoutChildren",value:function e(t){this._layoutChildren=t}},{key:"getChildren",value:function e(){return this._layoutChildren}}]),
1644n}(n(1951).a)}
1644,308:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.postConstruct=void 0;var i=n(32),r=n(22),a=n(36);function o(){return function(e,t,n){var o=new a.Metadata(r.POST_CONSTRUCT,t);if(Reflect.hasOwnMetadata(r.POST_CONSTRUCT,e.constructor))throw new Error(i.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(r.POST_CONSTRUCT,o,e.constructor)}}t.postConstruct=o},3080:function(e,t,n){n.d(t,"a",function(){return m});var i=n(14),r=n(0),a=n(1),o=n(11),s=n(18),u=n(3),c=
1645n(4),l=n(2),d=n(2032),h=n(2364),f=n(3081),v=n(2365),g=n(2033),p=n(1661);function y(e){var t=b();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),
1646!0}catch(e){return!1}}var m=function(e){Object(u.a)(n,e);var t=y(n);function n(e){var i;return Object(r.a)(this,n),(i=t.call(this,e)).feedPriceInnerElement=new f.a(Object(o.a)(i),e.innerElementsData.price),i.feedNameInnerElement=new v.a(Object(o.a)(i),{selectorClassName:d.a.PRODUCTFEED_NAME,feedItemDataProperty:h.a.NAME},p.a.NAME),i}return Object(a.a)(n,[{key:"getPriceInnerElement",value:function e(){return this.feedPriceInnerElement}},{key:"getNameInnerElement",value:function e(){return this.feedNameInnerElement}},
1647{key:"getNewsfeedWrapper",value:function e(){return this.getContent()[0].querySelector(".newsfeedFrame")}},{key:"getInnerElementForIteration",value:function e(){return[this.getThumbnailInnerElement(),this.getSingleNewsInnerElement(),this.getPriceInnerElement(),this.getNameInnerElement()]}},{key:"getInnerElementNames",value:function e(){return p.a}},{key:"getInnerElementNameForIteration",value:function e(){return[p.a.THUMBNAIL,p.a.ITEM,p.a.PRICE,p.a.NAME]}},{key:"getInnerElementByName",value:function e(t){var n;
1648return(n={},Object(i.a)(n,p.a.THUMBNAIL,this.getThumbnailInnerElement()),Object(i.a)(n,p.a.ITEM,this.getSingleNewsInnerElement()),Object(i.a)(n,p.a.PRICE,this.getPriceInnerElement()),Object(i.a)(n,p.a.NAME,this.getNameInnerElement()),n)[t]}},{key:"getItemElementName",value:function e(){return p.a.ITEM}},{key:"updateSingleFeedItemElData",value:function e(t,i){Object(s.a)(Object(l.a)(n.prototype),"updateSingleFeedItemElData",this).call(this,t,i),this.getNameInnerElement().updateSingleFeedItemElData(t),
1649this.getPriceInnerElement().updateSingleFeedItemElData(t),this.getThumbnailInnerElement().updateSingleFeedItemElData(t)}}]),n}(g.a)},3081:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2032),c=n(1300),l=n(1661);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||
1650!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a))._showPrice=a.showPrice,r.type=l.a.PRICE,r}return Object(r.a)(n,[{key:"getPriceElement",value:function e(t){return t.querySelector(".".concat(u.a.FEED_PRICE))}},
1651{key:"isShowPrice",value:function e(){return this._showPrice}},{key:"setShowPrice",value:function e(t){this._showPrice=t}},{key:"shouldAddToCountMinSize",value:function e(){return!0===this.isShowPrice()}},{key:"updateSingleFeedItemElData",value:function e(t){var n=this.getPriceElement(t.feedItemEl);webwave.isDefAndNotNull(n)&&(n.textContent=t.feedItemData.priceText)}}]),n}(c.a)},3082:function(e,t,n){n.d(t,"a",function(){return c});var i=n(0),r=n(1),a=n(15),o=n.n(a),s,u,c=(s=Object(a.injectable)())(u=
1652function(){function e(){Object(i.a)(this,e),this._scrollListeners=[],this._enableCallActionsOnListenerFlag=!1}return Object(r.a)(e,[{key:"initScrollTickListener",value:function e(){var t=this,n=pageService.getWindowScroll(),i=webwave.requestAnimationFrame,r;(function e(){var r=n;n=pageService.getWindowScroll(),t.triggerScrollListeners(n,r),i(e)})()}},{key:"triggerScrollListeners",value:function e(t,n){var i=this;
1652n!==t&&this._scrollListeners.forEach(function(e){!0===i._enableCallActionsOnListenerFlag&&
1653e.onPageAreaScrollChange(t,n)})}},{key:"addScrollListener",value:function e(t){-1===this._scrollListeners.indexOf(t)&&this._scrollListeners.push(t)}},{key:"enableCallingActionsOnListeners",value:function e(){this._enableCallActionsOnListenerFlag=!0}}]),e}())||u},3083:function(e,t,n){n.d(t,"a",function(){return M});var i=n(26),r=n(6),a=n(0),o=n(1),s=n(11),u=n(3),c=n(4),l=n(2),d=n(5),h=n(7),f=n(25),v=n.n(f),g=n(2577),p=n(1747),y=n(2418),b=n(1600),m=n(15),w=n.n(m),S=n(1027),O=n(17),_,k,P,A,E,C,I,T,N,
1654D,j;function R(e){var t=L();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var M=(_=Object(m.injectable)(),k=Object(m.inject)(O.a.LocalStorageService),
1655P=Object(m.inject)(S.a.ModularObjectContentService),A=Object(m.inject)(O.a.OrderPopupService),_((j=D=function(e){Object(u.a)(n,e);var t=R(n);function n(){var e;Object(a.a)(this,n);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return e=t.call.apply(t,[this].concat(o)),Object(r.a)(e,"localStorageService",I,Object(s.a)(e)),Object(r.a)(e,"modularObjectContentService",T,Object(s.a)(e)),Object(r.a)(e,"orderPopupService",N,Object(s.a)(e)),e._initLoad=!1,e._storeSendAnalyticsEventService=
1656void 0,e}return Object(o.a)(n,[{key:"sendG4Event",value:function(){var e=Object(i.a)(v.a.mark(function e(t,n){return v.a.wrap(function e(i){for(;;)switch(i.prev=i.next){case 0:this._isInitializedClientG4()&&(webwave.isDef(this._storeSendAnalyticsEventService)?this._storeSendAnalyticsEventService.sendG4Event(t,n):(this._loadAnalyticsModule(),this._addEvent(t,n)));case 1:case "end":return i.stop()}},e,this)}));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"_addEvent",value:function e(t,
1657n){if(t===b.a.ViewItemEvent){var i=this._getItems();i.push({eventType:t,object:webwave.isFunction(null===n||void 0===n?void 0:n.serialize)?n.serialize():n}),this._setItems(i)}}},{key:"_clearEventQue",value:function e(){this._setItems([])}},{key:"_getItems",value:function e(){var t=this.localStorageService.getObjectFromLocalStorage(n.NAME_STORAGE_EVENTS);return!1===webwave.isArrayLike(t)&&(t=[]),t}},{key:"_isInitializedClientG4",value:function e(){return g.a.existElementWithClassName("client_analytics_id")}},
1658{key:"_loadAnalyticsModule",value:function e(){var t=this;!1===this._initLoad&&(this._initLoad=!0,this.modularObjectContentService.createModularContent(p.a.STORE_ANALYTICS).then(function(e){t._storeSendAnalyticsEventService=e,t._storeSendAnalyticsEventService.injectDependenciesFromOtherApp({orderPopupService:t.orderPopupService}),t._storeSendAnalyticsEventService.init(t._getItems()),t._clearEventQue()}))}},{key:"_setItems",value:function e(t){this.localStorageService.setLocalStorageObject(t,n.NAME_STORAGE_EVENTS)}}]),
1659n}(y.a),D.NAME_STORAGE_EVENTS="storeAnalyticsEventQue",C=j,I=Object(d.a)(C.prototype,"localStorageService",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=Object(d.a)(C.prototype,"modularObjectContentService",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=Object(d.a)(C.prototype,"orderPopupService",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=C))||E)},3084:function(e,t,n){n.d(t,"a",function(){return k});var i=n(6),r=n(0),a=n(1),o=n(11),
1660s=n(3),u=n(4),c=n(2),l=n(5),d=n(7),h=n(2578),f=n(82),v=n(1027),g=n(15),p=n.n(g),y,b,m,w,S;function O(e){var t=_();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
1661[],function(){})),!0}catch(e){return!1}}var k=(y=Object(g.injectable)(),b=Object(g.inject)(v.a.ObjectService),y((w=function(e){Object(s.a)(n,e);var t=O(n);function n(){var e;Object(r.a)(this,n);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return e=t.call.apply(t,[this].concat(s)),Object(i.a)(e,"objectService",S,Object(o.a)(e)),e}return Object(a.a)(n,[{key:"updateStoreCartsList",value:function e(){this._storeCarts=this.objectService.findAllWObjectsByType(f.a.STORE_CART).filter(function(e){return!0===
1662e.getProductCounterEnabled()})}}]),n}(h.a),S=Object(l.a)(w.prototype,"objectService",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=w))||m)},3085:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||
1663!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"userLogged",value:function e(){return"true"===$("#ww_user_logged_info").attr("userLogged")}}]),n}(n(27).a)},3086:function(e,t,n){n.d(t,"a",function(){return a});
1664var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e),this._observer=void 0,this._observedObjects={}}
1664return Object(r.a)(e,[{key:"init",value:function e(){this._observer=this._createIntersectionObserver()}},{key:"_createIntersectionObserver",value:function e(){var t=this,n;return"IntersectionObserver"in window&&(n=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&t._handleObjectsEntryToViewport(e.target)})},{root:null,threshold:0,rootMargin:"0px 0px 200px 0px"})),
1665n}},{key:"_handleObjectsEntryToViewport",value:function e(t){var n=this._getDomObjectIntersectionAttr(t);if(this._observedObjects.hasOwnProperty(n)){var i=this._observedObjects[n];webwave.isDef(i)&&(i.enteredViewportHandler(),i.isSingleHandler()&&(this._observer.unobserve(i.getDomObject()),delete this._observedObjects[n]))}}},{key:"addObject",value:function e(t){if(webwave.isDef(this._observer)){var n=this._getNextAttr();this._observedObjects[n]=t,this._setDomObjectIntersectionAttr(t.getDomObject(),
1666n),this._observer.observe(t.getDomObject())}else t.enteredViewportHandler()}},{key:"_getNextAttr",value:function t(){return e.INTERSECTION_ATTR_PREFIX+ ++e._intersectionAttrCounter}},{key:"_setDomObjectIntersectionAttr",value:function t(n,i){n.dataset[e.INTERSECTION_ATTR_NAME]=i}},{key:"_getDomObjectIntersectionAttr",value:function t(n){return n.dataset[e.INTERSECTION_ATTR_NAME]}}]),e}();a._intersectionAttrCounter=0,a.INTERSECTION_ATTR_PREFIX="wIntersectionObserver",a.INTERSECTION_ATTR_NAME="wIntersectionObserverObjectId"},
16673087:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"init",value:function t(){var n;window.addEventListener("touchstart",function(t){n=setTimeout(function(){var e=new CustomEvent("contextmenu",{detail:{target:t.target},target:t.target});window.dispatchEvent(e)},e.TRIGGER_CONTEXT_MENU_EVENT_TIMEOUT)}),window.addEventListener("touchmove",function(){n&&(clearTimeout(n),n=null)}),window.addEventListener("touchend",
1668function(){n&&(clearTimeout(n),n=null)})}}]),e}();a.TRIGGER_CONTEXT_MENU_EVENT_TIMEOUT=500},309:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.multiBindToService=void 0;var i=function(e){return function(t){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return n.forEach(function(n){return e.bind(n).toService(t)})}}};t.multiBindToService=i},32:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.STACK_OVERFLOW=t.CIRCULAR_DEPENDENCY_IN_FACTORY=
1669t.POST_CONSTRUCT_ERROR=t.MULTIPLE_POST_CONSTRUCT_METHODS=t.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK=t.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE=t.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE=t.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT=t.ARGUMENTS_LENGTH_MISMATCH=t.INVALID_DECORATOR_OPERATION=t.INVALID_TO_SELF_VALUE=t.INVALID_FUNCTION_BINDING=t.INVALID_MIDDLEWARE_RETURN=t.NO_MORE_SNAPSHOTS_AVAILABLE=t.INVALID_BINDING_TYPE=t.NOT_IMPLEMENTED=t.CIRCULAR_DEPENDENCY=t.UNDEFINED_INJECT_ANNOTATION=t.MISSING_INJECT_ANNOTATION=
1670t.MISSING_INJECTABLE_ANNOTATION=t.NOT_REGISTERED=t.CANNOT_UNBIND=t.AMBIGUOUS_MATCH=t.KEY_NOT_FOUND=t.NULL_ARGUMENT=t.DUPLICATED_METADATA=t.DUPLICATED_INJECTABLE_DECORATOR=void 0,t.DUPLICATED_INJECTABLE_DECORATOR="Cannot apply @injectable decorator multiple times.",t.DUPLICATED_METADATA="Metadata key was used more than once in a parameter:",t.NULL_ARGUMENT="NULL argument",t.KEY_NOT_FOUND="Key Not Found",t.AMBIGUOUS_MATCH="Ambiguous match found for serviceIdentifier:",t.CANNOT_UNBIND="Could not unbind serviceIdentifier:",
1671t.NOT_REGISTERED="No matching bindings found for serviceIdentifier:",t.MISSING_INJECTABLE_ANNOTATION="Missing required @injectable annotation in:",t.MISSING_INJECT_ANNOTATION="Missing required @inject or @multiInject annotation in:";var i=function(e){return"@inject called with undefined this could mean that the class "+e+" has a circular dependency problem. You can use a LazyServiceIdentifer to  overcome this limitation."};t.UNDEFINED_INJECT_ANNOTATION=i,t.CIRCULAR_DEPENDENCY="Circular dependency found:",
1672t.NOT_IMPLEMENTED="Sorry, this feature is not fully implemented yet.",t.INVALID_BINDING_TYPE="Invalid binding type:",t.NO_MORE_SNAPSHOTS_AVAILABLE="No snapshot available to restore.",t.INVA
1672LID_MIDDLEWARE_RETURN="Invalid return type in middleware. Middleware must return!",t.INVALID_FUNCTION_BINDING="Value provided to function binding must be a function!",t.INVALID_TO_SELF_VALUE="The toSelf function can only be applied when a constructor is used as service identifier",t.INVALID_DECORATOR_OPERATION=
1673"The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.";var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"The number of constructor arguments in the derived class "+e[0]+" must be >= than the number of constructor arguments of its base class."};t.ARGUMENTS_LENGTH_MISMATCH=r,t.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",
1674t.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').",t.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",t.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",t.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class";var a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=
1675arguments[t];return"@postConstruct error in class "+e[0]+": "+e[1]};t.POST_CONSTRUCT_ERROR=a;var o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"It looks like there is a circular dependency in one of the '"+e[0]+"' bindings. Please investigate bindings withservice identifier '"+e[1]+"'."};t.CIRCULAR_DEPENDENCY_IN_FACTORY=o,t.STACK_OVERFLOW="Maximum call stack size exceeded"},34:function(e,t,n){t.a=s;var i=n(242),r=n(243),a=n(142),o=n(244);function s(e){return Object(i.a)(e)||
1676Object(r.a)(e)||Object(a.a)(e)||Object(o.a)()}},36:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var i=n(22),r=function(){function e(e,t){this.key=e,this.value=t}return e.prototype.toString=function(){return this.key===i.NAMED_TAG?"named: "+this.value.toString()+" ":"tagged: { key:"+this.key.toString()+", value: "+this.value+" }"},e}();t.Metadata=r},37:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==
1677typeof window&&(n=window)}e.exports=n},38:function(e,t,n){n.d(t,"a",function(){return $n}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return cn}),n.d(t,"f",function(){return hn}),n.d(t,"g",function(){return ln}),n.d(t,"h",function(){return dn});var i=n(57),r=n(10);const a={CA:{prefix:"+1",validLength:[10]},UM:{prefix:"+1",validLength:[10]},US:{prefix:"+1",validLength:[10]},KZ:{prefix:"+7",validLength:[10]},RU:{prefix:"+7",validLength:[10]},
1678EG:{prefix:"+20",validLength:[10]},ZA:{prefix:"+27",validLength:[9]},GR:{prefix:"+30",validLength:[10]},NL:{prefix:"+31",validLength:[9]},BE:{prefix:"+32",validLength:[9]},FR:{prefix:"+33",validLength:[9]},ES:{prefix:"+34",validLength:[9]},HU:{prefix:"+36",validLength:[9]},IT:{prefix:"+39",validLength:[10]},RO:{prefix:"+40",validLength:[9]},CH:{prefix:"+41",validLength:[9]},AT:{prefix:"+43",validLength:[10]},GB:{prefix:"+44",validLength:[10]},DK:{prefix:"+45",validLength:[8]},SE:{prefix:"+46",validLength:[9]},
1679NO:{prefix:"+47",validLength:[8]},SJ:{prefix:"+47",validLength:[8]},PL:{prefix:"+48",validLength:[9]},DE:{prefix:"+49",validLength:[11]},PE:{prefix:"+51",validLength:[9]},MX:{prefix:"+52",validLength:[10]},CU:{prefix:"+53",validLength:[8]},AR:{prefix:"+54",validLength:[10]},BR:{prefix:"+55",validLength:[10]},CL:{prefix:"+56",validLength:[9]},CO:{prefix:"+57",validLength:[10]},VE:{prefix:"+58",validLength:[10]},MY:{prefix:"+60",validLength:[9]},AU:{prefix:"+61",validLength:[9]},CC:{prefix:"+61",validLength:[9]},
1680CX:{prefix:"+61",validLength:[9]},ID:{prefix:"+62",validLength:[10]},PH:{prefix:"+63",validLength:[10]},NZ:{prefix:"+64",validLength:[9]},SG:{prefix:"+65",validLength:[8]},TH:{prefix:"+66",validLength:[9]},JP:{prefix:"+81",validLength:[10]},KR:{prefix:"+82",validLength:[10]},VN:{prefix:"+84",validLength:[9]},CN:{prefix:"+86",validLength:[11]},TR:{prefix:"+90",validLength:[10]},IN:{prefix:"+91",validLength:[10]},PK:{prefix:"+92",validLength:[10]},AF:{prefix:"+93",validLength:[9]},LK:{prefix:"+94",
1681validLength:[9]},MM:{prefix:"+95",validLength:[9]},IR:{prefix:"+98",validLength:[10]},SS:{prefix:"+211",validLength:[9]},EH:{prefix:"+212",validLength:[9]},MA:{prefix:"+212",validLength:[9]},DZ:{prefix:"+213",validLength:[9]},TN:{prefix:"+216",validLength:[8]},LY:{prefix:"+218",validLength:[9]},GM:{prefix:"+220",validLength:[7]},SN:{prefix:"+221",validLength:[9]},MR:{prefix:"+222",validLength:[8]},ML:{prefix:"+223",validLength:[8]},GN:{prefix:"+224",validLength:[8]},CI:{prefix:"+225",validLength:[8]},
1682BF:{prefix:"+226",validLength:[8]},NE:{prefix:"+227",validLength:[8]},TG:{prefix:"+228",validLength:[8]},BJ:{prefix:"+229",validLength:[8]},MU:{prefix:"+230",validLength:[7]},LR:{prefix:"+231",validLength:[7]},SL:{prefix:"+232",validLength:[8]},GH:{prefix:"+233",validLength:[9]},NG:{prefix:"+234",validLength:[10,11]},TD:{prefix:"+235",validLength:[8]},CF:{prefix:"+236",validLength:[8]},CM:{prefix:"+237",validLength:[9]},CV:{prefix:"+238",validLength:[7]},ST:{prefix:"+239",validLength:[7]},GQ:{prefix:"+240",
1683validLength:[9]},GA:{prefix:"+241",validLength:[7]},CG:{prefix:"+242",validLength:[9]},CD:{prefix:"+243",validLength:[9]},AO:{prefix:"+244",validLength:[9]},GW:{prefix:"+245",validLength:[7]},IO:{prefix:"+246",validLength:[7]},SC:{prefix:"+248",validLength:[7]},SD:{prefix:"+249",validLength:[9]},RW:{prefix:"+250",validLength:[9]},ET:{prefix:"+251",validLength:[9]},SO:{prefix:"+252",validLength:[9]},DJ:{prefix:"+253",validLength:[9]},KE:{prefix:"+254",validLength:[9]},TZ:{prefix:"+255",validLength:[9]},
1684UG:{prefix:"+256",validLength:[9]},BI:{prefix:"+257",validLength:[9]},MZ:{prefix:"+258",validLength:[9]},ZM:{prefix:"+260",validLength:[9]},MG:{prefix:"+261",validLength:[9]},RE:{prefix:"+262",validLength:[9]},YT:{prefix:"+262",validLength:[9]},ZW:{prefix:"+263",validLength:[9]},NA:{prefix:"+264",validLength:[9]},MW:{prefix:"+265",validLength:[9]},LS:{prefix:"+266",validLength:[8]},BW:{prefix:"+267",validLength:[7]},SZ:{prefix:"+268",validLength:[8]},KM:{prefix:"+269",validLength:[7]},SH:{prefix:"+290",
1685validLength:[4]},ER:{prefix:"+291",validLength:[7]},AW:{prefix:"+297",validLength:[7]},FO:{prefix:"+298",validLength:[6]},GL:{prefix:"+299",validLength:[5]},GI:{prefix:"+350",validLength:[8]},PT:{prefix:"+351",validLength:[9]},LU:{prefix:"+352",validLength:[9]},IE:{prefix:"+353",validLength:[9]},IS:{prefix:"+354",validLength:[7]},AL:{prefix:"+355",validLength:[9]},MT:{prefix:"+356",validLength:[8]},CY:{prefix:"+357",validLength:[8]},FI:{prefix:"+358",validLength:[9]},BG:{prefix:"+359",validLength:[9]},
1686LT:{prefix:"+370",validLength:[8]},LV:{prefix:"+371",validLength:[8]},EE:{prefix:"+372",validLength:[7,8]},MD:{prefix:"+373",validLength:[8]},AM:{prefix:"+374",validLength:[8]},BY:{prefix:"+375",validLength:[9]},AD:{prefix:"+376",validLength:[6]},MC:{prefix:"+377",validLength:[8]},SM:{prefix:"+378",validLength:[8]},VA:{prefix:"+379",validLength:[6]},UA:{prefix:"+380",validLength:[9]},RS:{prefix:"+381",validLength:[9]},ME:{prefix:"+382",validLength:[8]},HR:{prefix:"+385",validLength:[9]},SI:{prefix:"+386",
1687validLength:[9]},BA:{prefix:"+387",validLength:[8]},MK:{prefix:"+389",validLength:[8]},CZ:{prefix:"+420",validLength:[9]},SK:{prefix:"+421",validLength:[9]},LI:{prefix:"+423",validLength:[7]},FK:{prefix:"+500",validLength:[5]},BZ:{prefix:"+501",validLength:[7]},GT:{prefix:"+502",validLength:[8]},SV:{prefix:"+503",validLength:[8]},HN:{prefix:"+504",validLength:[8]},NI:{prefix:"+505",validLength:[8]},CR:{prefix:"+506",validLength:[8]},PA:{prefix:"+507",validLength:[8]},PM:{prefix:"+508",validLength:[6]},
1688HT:{prefix:"+509",validLength:[8]},BL:{prefix:"+590",validLength:[9]}
1688,GP:{prefix:"+590",validLength:[9]},MF:{prefix:"+590",validLength:[9]},BO:{prefix:"+591",validLength:[8]},GY:{prefix:"+592",validLength:[7]},EC:{prefix:"+593",validLength:[9]},GF:{prefix:"+594",validLength:[9]},PY:{prefix:"+595",validLength:[9]},MQ:{prefix:"+596",validLength:[9]},SR:{prefix:"+597",validLength:[7]},UY:{prefix:"+598",validLength:[8]},BQ:{prefix:"+599",validLength:[7]},CW:{prefix:"+599",validLength:[7]},SX:{prefix:"+599",
1689validLength:[7]},TL:{prefix:"+670",validLength:[8]},NF:{prefix:"+672",validLength:[6]},BN:{prefix:"+673",validLength:[7]},NR:{prefix:"+674",validLength:[7]},PG:{prefix:"+675",validLength:[8]},TO:{prefix:"+676",validLength:[5]},SB:{prefix:"+677",validLength:[7]},VU:{prefix:"+678",validLength:[7]},FJ:{prefix:"+679",validLength:[7]},PW:{prefix:"+680",validLength:[7]},WF:{prefix:"+681",validLength:[6]},CK:{prefix:"+682",validLength:[4]},NU:{prefix:"+683",validLength:[4]},WS:{prefix:"+685",validLength:[7]},
1690KI:{prefix:"+686",validLength:[5]},NC:{prefix:"+687",validLength:[6]},TV:{prefix:"+688",validLength:[5]},PF:{prefix:"+689",validLength:[6]},TK:{prefix:"+690",validLength:[4]},FM:{prefix:"+691",validLength:[7]},MH:{prefix:"+692",validLength:[7]},KP:{prefix:"+850",validLength:[9]},HK:{prefix:"+852",validLength:[8]},MO:{prefix:"+853",validLength:[8]},KH:{prefix:"+855",validLength:[9]},LA:{prefix:"+856",validLength:[9]},PN:{prefix:"+870",validLength:[6]},BD:{prefix:"+880",validLength:[10]},TW:{prefix:"+886",
1691validLength:[9]},MV:{prefix:"+960",validLength:[7]},LB:{prefix:"+961",validLength:[8]},JO:{prefix:"+962",validLength:[9]},SY:{prefix:"+963",validLength:[9]},IQ:{prefix:"+964",validLength:[10]},KW:{prefix:"+965",validLength:[8]},SA:{prefix:"+966",validLength:[9]},YE:{prefix:"+967",validLength:[9]},OM:{prefix:"+968",validLength:[8]},PS:{prefix:"+970",validLength:[9]},AE:{prefix:"+971",validLength:[9]},IL:{prefix:"+972",validLength:[9]},BH:{prefix:"+973",validLength:[8]},QA:{prefix:"+974",validLength:[8]},
1692BT:{prefix:"+975",validLength:[8]},MN:{prefix:"+976",validLength:[8]},NP:{prefix:"+977",validLength:[10]},TJ:{prefix:"+992",validLength:[9]},TM:{prefix:"+993",validLength:[8]},AZ:{prefix:"+994",validLength:[9]},GE:{prefix:"+995",validLength:[9]},KG:{prefix:"+996",validLength:[9]},UZ:{prefix:"+998",validLength:[9]},BS:{prefix:"+1-242",validLength:[10]},BB:{prefix:"+1-246",validLength:[10]},AI:{prefix:"+1-264",validLength:[10]},AG:{prefix:"+1-268",validLength:[10]},VG:{prefix:"+1-284",validLength:[10]},
1693VI:{prefix:"+1-340",validLength:[10]},KY:{prefix:"+1-345",validLength:[10]},BM:{prefix:"+1-441",validLength:[10]},GD:{prefix:"+1-473",validLength:[10]},TC:{prefix:"+1-649",validLength:[10]},MS:{prefix:"+1-664",validLength:[10]},MP:{prefix:"+1-670",validLength:[10]},GU:{prefix:"+1-671",validLength:[10]},AS:{prefix:"+1-684",validLength:[10]},LC:{prefix:"+1-758",validLength:[10]},DM:{prefix:"+1-767",validLength:[10]},VC:{prefix:"+1-784",validLength:[10]},PR:{prefix:"+1-787",validLength:[10]},DO:{prefix:"+1-809",
1694validLength:[10]},TT:{prefix:"+1-868",validLength:[10]},KN:{prefix:"+1-869",validLength:[10]},JM:{prefix:"+1-876",validLength:[10]},AX:{prefix:"+358-18",validLength:[7]},GG:{prefix:"+44-1481",validLength:[10]},JE:{prefix:"+44-1534",validLength:[10]},IM:{prefix:"+44-1624",validLength:[10]}},o=Object.keys(a).reduce((e,t)=>(e[t]=a[t].prefix,e),{});class s{static getCountryFromPrefix(e){if(!1===i.default.isDefAndNotNull(e))return null;let t=e.startsWith("+")?e:`+${e}`;return Object.keys(a).find(e=>a[e].prefix===
1695t)||null}static isValidPhoneLength(e,t){const n=a[e];return!1!==i.default.isDefAndNotNull(null==n?void 0:n.validLength)&&n.validLength.includes(t)}static getAllPrefixes(){return[...(new Set(Object.values(a).map(e=>e.prefix)))]}}class u{static validate(e,t){return!!i.default.isDefAndNotNull(e)&&(e=e.replace(/[\s-]/g,""),i.default.isDefAndNotNull(t)?u.validateByPrefix(e,t):u.validateFullNumber(e))}static validateSeparateFields(e,t){if(!1===i.default.isDefAndNotNull(t)||!1===i.default.isDefAndNotNull(e))return!1;
1696let n=s.getCountryFromPrefix(t);if(!1===i.default.isDefAndNotNull(n))return!1;let r=e.replace(/[\s-]/g,"");return s.isValidPhoneLength(n,r.length)&&/^\d+$/.test(r)}static validateByCountry(e,t){if(!1===i.default.isDefAndNotNull(e)||!1===i.default.isDefAndNotNull(t))return!1;let n=t.replace(/[\s-]/g,"");return s.isValidPhoneLength(e,n.length)&&/^\d+$/.test(n)}static validateFullNumber(e){if(!1===i.default.isDefAndNotNull(e))return!1;let t=e.replace(/[\s-]/g,""),n=s.getAllPrefixes().sort((e,t)=>
1696t.length-
1697e.length).find(e=>t.startsWith(e));if(!1===i.default.isDefAndNotNull(n))return!1;let r=t.substring(n.length);return u.validateSeparateFields(r,n)}static validateByPrefix(e,t){let n=s.getCountryFromPrefix(t);return!1===i.default.isDefAndNotNull(n)?null!==e.match(/[0-9]{9}$/):u.validateByCountry(n,e)}static validateWithSpecificPrefix(e,t){if(!1===i.default.isDefAndNotNull(e)||!1===i.default.isDefAndNotNull(t))return!1;let n=String(e).replace(/[\s-]/g,"");if(u.validateSeparateFields(n,t))return!0;if(n.startsWith(t)){let e=
1698n.substring(t.length);return u.validateSeparateFields(e,t)}return!1}static parsePhoneWithPrefix(e){if(!1===i.default.isDefAndNotNull(e))return{prefix:null,number:"",country:null};let t=e.trim();if(t.startsWith("+")){let e=Object.entries(a).map(([e,t])=>({country:e,prefix:t.prefix})).sort((e,t)=>t.prefix.length-e.prefix.length);for(let {country:n,prefix:i}of e)if(t.startsWith(i)){let e;return{prefix:i,number:t.substring(i.length).trim(),country:n}}}return{prefix:null,number:t,country:null}}}const c=
1699"GIR[ ]?0AA|^((AB|AL|B|BA|BB|BD|BH|BL|BN|BR|BS|BT|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(\\d[\\dA-Z]?[ ]?\\d[ABD-HJLN-UW-Z]{2}))$|^BFPO[ ]?\\d{1,4}",l="JE\\d[\\dA-Z]?[ ]?\\d[ABD-HJLN-UW-Z]{2}",d="GY\\d[\\dA-Z]?[ ]?\\d[ABD-HJLN-UW-Z]{2}",
1700h="IM\\d[\\dA-Z]?[ ]?\\d[ABD-HJLN-UW-Z]{2}",f="\\d{5}([ \\-]\\d{4})?",v="[ABCEGHJKLMNPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z][ ]?\\d[ABCEGHJ-NPRSTV-Z]\\d",g="\\d{5}",p="\\d{3}-\\d{4}",y="(?!(0{2})|(9(6|9))[ ]?\\d{3})(\\d{2}[ ]?\\d{3})",b="\\d{4}",m="\\d{5}",w="\\d{4}",S="\\d{4}",O="\\d{5}",_="\\d{4}[ ]?[A-Z]{2}",k="\\d{4}",P="\\d{4}",A="\\d{3}[ ]?\\d{2}",E="(?!0000)\\d{4}",C="\\d{5}[\\-]?\\d{3}",I="\\d{4}([\\-]\\d{3})?",T="\\d{5}",N="22\\d{3}",D="\\d{3}[\\-]\\d{3}",j="\\d{6}",R="\\d{3}(\\d{2})?",L="\\d{6}",
1701M="\\d{5}",x="AD\\d{3}",B="([A-HJ-NP-Z])?\\d{4}([A-Z]{3})?",F="(37)?\\d{4}",V="\\d{4}",W="((1[0-2]|[2-9])\\d{2})?",U="\\d{4}",H="(BB\\d{5})?",z="\\d{6}",G="[A-Z]{2}[ ]?[A-Z0-9]{2}",Y="\\d{5}",$="BBND 1ZZ",X="[A-Z]{2}[ ]?\\d{4}",K="\\d{4}",q="\\d{5}",Z="\\d{4}",J="\\d{7}",Q="\\d{4,5}|\\d{3}-\\d{4}",ee="\\d{5}",te="\\d{4}",ne="\\d{3}[ ]?\\d{2}",ie="\\d{5}",re="([A-Z]\\d{4}[A-Z]|(?:[A-Z]{2})?\\d{6})?",ae="\\d{5}",oe="\\d{5}",se="\\d{3}",ue="\\d{4}",ce="\\d{3}[ ]?\\d{2}",le="39\\d{2}",de="\\d{5}",he=
1702"\\d{4}",fe="(?:\\d{5})?",ve="\\d{4}",ge="\\d{3}",pe="\\d{6}",ye="\\d{5}",be="[\\dA-Z]{3} ?[\\dA-Z]{4}",me="\\d{5}",we="\\d{5}",Se="\\d{6}",Oe="\\d{5}",_e="\\d{5}",ke="\\d{5}",Pe="(LV-)?\\d{4}",Ae="(\\d{4}([ ]?\\d{4})?)?",Ee="(948[5-9])|(949[0-8])",Ce="\\d{5}",Ie="\\d{4}",Te="\\d{4}",Ne="\\d{5}",De="\\d{5}",je="[A-Z]{3}[ ]?\\d{2,4}",Re="\\d{5}",Le="\\d{5}",Me="\\d{4}",xe="980\\d{2}",Be="\\d{5}",Fe="\\d{5}",Ve="\\d{4}",We="((\\d{4}-)?\\d{3}-\\d{3}(-\\d{1})?)?",Ue="(\\d{6})?",He="(PC )?\\d{3}",ze="\\d{5}",
1703Ge="\\d{4}",Ye="\\d{4}",$e="\\d{2}-\\d{3}",Xe="00[679]\\d{2}([ \\-]\\d{4})?",Ke="\\d{6}",qe="\\d{6}",Ze="4789\\d",Je="\\d{5}",Qe="\\d{5}",et="\\d{3}[ ]?\\d{2}",tt="\\d{4}",nt="\\d{4}",it="\\d{5}",rt="\\d{6}",at="\\d{5}",ot="\\d{4}",st="\\d{5}",ut="\\d{6}",ct="\\d{5}",lt="\\d{5}",dt="\\d{6}",ht="00120",ft="\\d{4}",vt="\\d{5}",gt="96799",pt="6799",yt="\\d{4}",bt="\\d{5}",mt="8\\d{4}",wt="\\d{5}",St="\\d{5}",Ot="6798",_t="\\d{4}",kt="FIQQ 1ZZ",Pt="2899",At="(9694[1-4])([ \\-]\\d{4})?",Et="9[78]3\\d{2}",
1704Ct="\\d{3}",It="9[78][01]\\d{2}",Tt="SIQQ 1ZZ",Nt="969[123]\\d([ \\-]\\d{4})?",Dt="\\d{4}",jt="\\d{4}",Rt="\\d{5}",Lt="\\d{6}",Mt="\\d{4}",xt="\\d{3}",Bt="\\d{3}",Ft="969[67]\\d([ \\-]\\d{4})?",Vt="\\d{6}",Wt="9695[012]([ \\-]\\d{4})?",Ut="9[78]2\\d{2}",Ht="988\\d{2}",zt="\\d{4}",Gt="008(([0-4]\\d)|(5[01]))([ \\-]\\d{4})?",Yt="987\\d{2}",$t="\\d{3}",Xt="9[78]5\\d{2}",Kt="PCRN 1ZZ",qt="96940",Zt="9[78]4\\d{2}",Jt="(ASCN|STHL) 1ZZ",Qt="\\d{4}",en="\\d{5}",tn="[HLMS]\\d{3}",nn="TKCA 1ZZ",rn="986\\d{2}",
1705an="976\\d{2}",on="\\d{6}",sn="VC\\d{4}",un={GB:c,JE:l,GG:d,IM:h,US:f,CA:v,DE:g,JP:p,FR:y,AU:b,IT:m,CH:w,AT:S,ES:O,NL:_,BE:k,DK:P,SE:A,NO:E,BR:C,PT:I,FI:T,AX:N,KR:D,CN:j,TW:R,SG:L,DZ:M,AD:x,AR:B,AM:F,AZ:V,BH:W,BD:U,BB:H,BY:z,BM:G,BA:Y,IO:$,BN:X,BG:K,KH:q,CV:Z,CL:J,CR:Q,HR:ee,CY:te,CZ:ne,DO:ie,EC:re,EG:ae,EE:oe,FO:se,GE:ue,GR:ce,GL:le,GT:de,HT:he,HN:fe,HU:ve,IS:ge,IN:pe,ID:ye,IE:be,IL:me,JO:we,KZ:Se,KE:Oe,KW:_e,LA:ke,LV:Pe,LB:Ae,LI:Ee,LT:Ce,LU:Ie,MK:Te,MY:Ne,MV:De,MT:je,MU:Re,MX:Le,MD:Me,MC:xe,MA:Be,
1706NP:Fe,NZ:Ve,NI:We,NG:Ue,OM:He,PK:ze,PY:Ge,PH:Ye,PL:$e,PR:Xe,RO:Ke,RU:qe,SM:Ze,SA:Je,SN:Qe,SK:et,SI:tt,ZA:nt,LK:it,TJ:rt,TH:at,TN:ot,TR:st,TM:ut,UA:ct,UY:lt,UZ:dt,VA:ht,VE:ft,ZM:vt,AS:gt,CC:pt,CK:yt,RS:bt,ME:mt,CS:wt,YU:St,CX:Ot,ET:_t,FK:kt,NF:Pt,FM:At,GF:Et,GN:Ct,GP:It,GS:Tt,GU:Nt,GW:Dt,HM:jt,IQ:Rt,KG:Lt,LR:Mt,LS:xt,MG:Bt,MH:Ft,MN:Vt,MP:Wt,MQ:Ut,NC:Ht,NE:zt,VI:Gt,PF:Yt,PG:$t,PM:Xt,PN:Kt,PW:qt,RE:Zt,SH:Jt,SJ:Qt,SO:en,SZ:tn,TC:nn,WF:rn,YT:an,VN:on,VC:sn};class cn{static isSupportedCountry(e){return!1!==
1707i.default.isStringAndNotEmpty(e)&&Object.prototype.hasOwnProperty.call(un,e)}static validate(e,t){return!1===cn.isSupportedCountry(t)||!1!==i.default.isDefAndNotNull(e)&&(new RegExp(`^${un[t]}$`)).test(String(e))}}const ln={requireProp:e=>""!==e&&i.default.isDefAndNotNull(e)&&e.toString().trim().length>0,pageNameLength:e=>(null==e?void 0:e.length)>=3,isValidProductAmount:e=>null!==(e=e.toString()).match(/^\d{0,4}$/),isVatTax:e=>i.default.isString(e)?null!==e.match(/^(([0-9]{1,2})|([0-9]{1,2}[,.][0-9]{0,2}))%?$|^100%?$/):
1708!!i.default.isNumber(e)&&(e>=0&&e<=100),email:e=>r.StringUtils.isValidEmail(e),zipCodePL:e=>null!==e.match(/^\d{2}-\d{3}$/),addressPL:e=>r.StringUtils.isValidPolishStreetAddress(e),NIPPL(e){let t=[6,5,7,2,3,4,5,6,7];if(10===(e=e.replace(/[\s-]/g,"")).length&&parseInt(e)>0){let n=0;for(let i=0;i<9;i++)n+=e[i]*t[i];return n%11==e[9]}return!1},isMinLength:(e,t)=>e.length>=t,fullName:e=>null!==e.match(/^(.+)\s(.+)$/),cardCVCNumber:e=>null!==e.match(/^[0-9]{3,4}$/),ninPesel(e){if(11===e.length){let t=
1709[1,3,7,9,1,3,7,9,1,3],n=0;for(let i=0;i<10;i++)n+=t[i]*e[i];return(n=n%10==0?0:10-n%10)==e[10]}return!1},ninCNP(e){let t=/^([1-8])(0[0-9]|[1-9][0-9])(0[1-9]|1[0-2])(\d{2})(\d{2})(\d{3})(\d)$/.exec(e);if(t.length>0){let e=parseInt(t[3]),n=parseInt(t[4]);switch(e){case 2:if(n>29)return!1;case 3:case 4:case 6:case 9:case 11:if(n>30)return!1;default:if(n>31)return!1}let i=parseInt(t[5]);if(i<0||i>46&&i<51||i>52||parseInt(t[6])<0)return!1;let r="279146358279",a=0;for(let e=0;e<r.length;e++)a+=parseInt(t[0].charAt(e))*
1710r.charAt(e);let o=a%11;return o<10&&o==t[0].charAt(12)||10==o&&1==t[0].charAt(12)}return!1},price:e=>null!==(e=e.toString()).toString().match(/^[0-9]+(\s[0-9]{3})*[.,]?[0-9]{0,2}
1710$/),additionalPrice:e=>null!==(e=e.toString()).match(/^[+-]?[0-9]{1,9}(?:[.,][0-9]{1,2})?$/),isDiscountValue:e=>i.default.isString(e)?null!==e.match(/^[0-9]{1,2}%?$|^100?$/):!!i.default.isNumber(e)&&(e>=0&&e<=100),isPositiveNaturalNumber:(e="")=>null!==(e=e.toString()).match(/^[1-9][0-9]*$/),isPositiveNaturalNumberWithZero:(e=
1711"")=>null!==(e=e.toString()).match(/^\d+$/),isNaturalNumber:e=>null!==(e=e.toString()).match(/^[0-9]*$/),isDate:e=>e instanceof Date,isValidUrl:e=>/^https?:\/\/?([a-zA-Z0-9\-.]+)\.([a-zA-Z]{2,16})(\/.*)?$/.test(e),hasNoWhitespaces:e=>null===(e=e.toString()).match(/\s/),isValidReflink:e=>/^[A-Za-z0-9-_.~]+$/.test(e),isValidGoogleAnalytics4Code(e){let t=/^g-[A-Z0-9]{10}$/i;return e.length>0&&t.test(e)},isDateFromGreaterThanDateTo(e){let t,n;return new Date(e.dateFrom)>new Date(e.dateTo)},isValidPasswordMinLength:(e,
1712t=8,n=!1)=>!(!n||!1!==i.default.isStringAndNotEmpty(e))||i.default.isStringAndNotEmpty(e)&&e.length>=t,isValidJSON(e){try{return JSON.parse(e),!0}catch(e){return!1}}},dn={CUSTOM:0,REQUIRE:1,EMAIL:2,ADDRESS_PL:3,PHONE_PL:4,NIP_PL:5,ZIP_CODE_PL:6,FULL_NAME:7,CARD_CVC_NUMBER:8,NIN_PESEL:9,NIN_CNP:10,PRICE:11,PAGE_NAME:12,PHONE:13,VAT_TAX:14,DISCOUNT_VALUE:15,DATE:16,NATURAL_NUMBER:17,POSITIVE_NATURAL_NUMBER:18,AVAILABLE_PRODUCT_AMOUNT:19,URL_VALIDATOR:20,POSITIVE_NATURAL_NUMBER_WITH_ZERO:21,DISCOUNT_CODE:22,
1713REFLINK:23,GOOGLE_ANALYTICS_4_CODE:24,DATE_FROM_GREATER_THAN_DATE_TO:25,PHONE_WITH_EXPECTED_PREFIX:26,MIN_LENGTH:27,PASSWORD_VALIDATOR:28,JSON_VALIDATOR:29,POST_CODE_BY_COUNTRY:30};class hn{constructor(e,t,n={}){this.type=e,this.errorMsg=t,this.validationErrorList=n.validationErrorList,e===dn.CUSTOM&&i.default.isFunction(n.customFunction)&&(this.customFunction=n.customFunction),this.canBeEmpty=n.canBeEmpty,this.minLength=n.minLength,this.i18nLabel=n.i18nLabel,this.phonePrefix=n.phonePrefix,this.country=
1714n.country,this.passwordOptions=n.passwordOptions}getErrorMessage(){return i.default.isDefAndNotEmpty(this.errorMsg)?this.errorMsg:i18n.t(this.i18nLabel)}validate(e){if(this.canBeEmpty&&!1===ln.requireProp(e))return!0;if(!1===this.canBeEmpty&&!1===ln.requireProp(e))return!1;let t;switch(this.type){case dn.CUSTOM:t=this.customFunction(e,this);break;case dn.REQUIRE:t=ln.requireProp(e);break;case dn.VAT_TAX:t=ln.isVatTax(e);break;case dn.DATE:t=ln.isDate(e);break;case dn.NATURAL_NUMBER:t=ln.isNaturalNumber(e);
1715break;case dn.POSITIVE_NATURAL_NUMBER:t=ln.isPositiveNaturalNumber(e);break;case dn.POSITIVE_NATURAL_NUMBER_WITH_ZERO:t=ln.isPositiveNaturalNumberWithZero(e);break;case dn.DISCOUNT_VALUE:t=ln.isDiscountValue(e);break;case dn.ZIP_CODE_PL:t=ln.zipCodePL(e);break;case dn.POST_CODE_BY_COUNTRY:t=cn.validate(e,this.country);break;case dn.ADDRESS_PL:t=ln.addressPL(e);break;case dn.PHONE_PL:t=u.validate(e,o.PL);break;case dn.PHONE:t=u.validateFullNumber(e);break;case dn.PHONE_WITH_EXPECTED_PREFIX:t=i.default.isDefAndNotNull(this.phonePrefix)?
1716u.validateWithSpecificPrefix(e,this.phonePrefix):u.validateFullNumber(e);break;case dn.MIN_LENGTH:t=ln.isMinLength(e,this.minLength);break;case dn.EMAIL:t=ln.email(e);break;case dn.NIP_PL:t=ln.NIPPL(e);break;case dn.FULL_NAME:t=ln.fullName(e);break;case dn.CARD_CVC_NUMBER:t=ln.cardCVCNumber(e);break;case dn.NIN_PESEL:t=ln.ninPesel(e);break;case dn.NIN_CNP:t=ln.ninCNP(e);break;case dn.PRICE:t=ln.price(e);break;case dn.AVAILABLE_PRODUCT_AMOUNT:t=ln.isValidProductAmount(e);break;case dn.PAGE_NAME:t=
1717ln.requireProp(e),this.errorMsg=this.validationErrorList[dn.REQUIRE],!0===t&&(t=ln.pageNameLength(e),this.errorMsg=this.validationErrorList[dn.PAGE_NAME]);break;case dn.URL_VALIDATOR:t=ln.isValidUrl(e);break;case dn.DISCOUNT_CODE:t=ln.hasNoWhitespaces(e);break;case dn.REFLINK:t=ln.isValidReflink(e);break;case dn.GOOGLE_ANALYTICS_4_CODE:t=ln.isValidGoogleAnalytics4Code(e);break;case dn.DATE_FROM_GREATER_THAN_DATE_TO:t=ln.isDateFromGreaterThanDateTo(e);break;case dn.PASSWORD_VALIDATOR:t=ln.isValidPasswordMinLength(e,
1718this.minLength,this.canBeEmpty);break;case dn.JSON_VALIDATOR:t=ln.isValidJSON(e);break;default:throw new Error(`Provided type ${this.type} is unsupported`);}return t}setErrorMsg(e){this.errorMsg=e}}const fn=(e,t,n)=>new hn(e,void 0,{i18nLabel:`com.webwave.formConstrains.validatorErrorText.${t}`,canBeEmpty:null==n?void 0:n.canBeEmpty,minLength:null==n?void 0:n.minLength,phonePrefix:null==n?void 0:n.phonePrefix}),vn=fn(dn.PRICE,"price",{canBeEmpty:!1}),gn=fn(dn.PRICE,"price",{canBeEmpty:!0}),pn=fn(dn.AVAILABLE_PRODUCT_AMOUNT,
1719"availableProductAmount",{canBeEmpty:!1}),yn=fn(dn.NATURAL_NUMBER,"commission",{canBeEmpty:!1}),bn=fn(dn.DATE,"date",{canBeEmpty:!0}),mn=fn(dn.DATE_FROM_GREATER_THAN_DATE_TO,"",{canBeEmpty:!0}),wn=fn(dn.DATE,"date",{canBeEmpty:!0}),Sn=fn(dn.DISCOUNT_CODE,"discountCode"),On=fn(dn.DISCOUNT_VALUE,"discountValue"),_n=fn(dn.EMAIL,"email"),kn=fn(dn.EMAIL,"email",{canBeEmpty:!0}),Pn=fn(dn.ADDRESS_PL,"address",{canBeEmpty:!1}),An=fn(dn.FULL_NAME,"fullName",{canBeEmpty:!1}),En=fn(dn.ZIP_CODE_PL,"zipCode",
1720{canBeEmpty:!1}
1720),Cn=fn(dn.GOOGLE_ANALYTICS_4_CODE,"ga4Code",{canBeEmpty:!1}),In=fn(dn.NIN_CNP,"ninCnp",{canBeEmpty:!1}),Tn=fn(dn.NIN_PESEL,"ninPesel",{canBeEmpty:!1}),Nn=fn(dn.NIP_PL,"nipPl",{canBeEmpty:!1}),Dn=fn(dn.NIP_PL,"nip",{canBeEmpty:!0}),jn=fn(dn.POSITIVE_NATURAL_NUMBER,"naturalNumber",{canBeEmpty:!0}),Rn=fn(dn.REQUIRE,"password",{canBeEmpty:!1}),Ln=fn(dn.PHONE,"phone"),Mn=fn(dn.PHONE_PL,"phone"),xn=(e,t=!0)=>fn(dn.PHONE_WITH_EXPECTED_PREFIX,"phone",{canBeEmpty:t,phonePrefix:e}),Bn=fn(dn.PRICE,
1721"positiveFloatValue.default",{canBeEmpty:!1}),Fn=fn(dn.PRICE,"positiveFloatValue.short",{canBeEmpty:!1}),Vn=fn(dn.POSITIVE_NATURAL_NUMBER,"naturalNumber"),Wn=fn(dn.POSITIVE_NATURAL_NUMBER_WITH_ZERO,"productWeight"),Un=fn(dn.REFLINK,"reflink",{canBeEmpty:!1}),Hn=fn(dn.REQUIRE,"require"),zn=fn(dn.VAT_TAX,"tax",{canBeEmpty:!0}),Gn=fn(dn.URL_VALIDATOR,"url",{canBeEmpty:!0}),Yn=e=>fn(dn.MIN_LENGTH,"minLength",{canBeEmpty:!1,minLength:e});class $n{static getScriptRegex(){return/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi}static getScriptsFromText(e){return!1===
1722i.default.isDefAndNotNull(e)?[]:e.match($n.getScriptRegex())||[]}static getScriptsCountFromText(e){if(!1===i.default.isDefAndNotNull(e))return 0;let t=e.match($n.getScriptRegex());return t?t.length:0}}},4:function(e,t,n){t.a=a;var i=n(42),r=n(11);function a(e,t){if(t&&("object"===Object(i.a)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Object(r.a)(e)}},40:function(e,t,n){n.d(t,"a",function(){return o});var i=
1723n(0),r=n(1),a=n(49),o=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this.width=webwave.isNumberAndNotNaN(t.width)?t.width:0,this.height=webwave.isNumberAndNotNaN(t.height)?t.height:0}return Object(r.a)(e,[{key:"getWidth",value:function e(){return this.width}},{key:"setWidth",value:function e(t){this.width=t}},{key:"getHeight",value:function e(){return this.height}},{key:"setHeight",value:function e(t){this.height=t}},{key:"clone",value:function t(){return new e({width:this.width,
1724height:this.height})}},{key:"serialize",value:function e(){return{width:this.width,height:this.height}}},{key:"equals",value:function e(t){return this.width===t.width&&this.height===t.height}},{key:"add",value:function e(t){return this.width+=t.getWidth(),this.height+=t.getHeight(),this}},{key:"subtract",value:function e(t){return this.width-=t.getWidth(),this.height-=t.getHeight(),this}},{key:"multiply",value:function e(t){return this.width*=t,this.height*=t,this}},{key:"applyLimits",value:function e(){var t=
1725arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};webwave.isDef(t.width)&&(webwave.isNumber(t.width.min)&&(this.width=Math.max(this.width,t.width.min)),webwave.isNumber(t.width.max)&&(this.width=Math.min(this.width,t.width.max))),webwave.isDef(t.height)&&(webwave.isNumber(t.height.min)&&(this.height=Math.max(this.height,t.height.min)),webwave.isNumber(t.height.max)&&(this.height=Math.min(this.height,t.height.max)))}},{key:"toString",value:function e(){return"{".concat(this.width,",").concat(this.height,
1726"}}")}},{key:"toVector",value:function e(){return new a.a({x:this.getWidth(),y:this.getHeight()})}},{key:"addHeight",value:function e(t){this.height+=t}},{key:"subtractHeight",value:function e(t){this.height-=t}},{key:"addWidth",value:function e(t){this.width+=t}},{key:"subtractWidth",value:function e(t){this.width-=t}},{key:"ceil",value:function e(){this.width=Math.ceil(this.width),this.height=Math.ceil(this.height)}}]),e}();o.deserialize=function(e){return webwave.isNotDef(e)?new o({width:0,height:0}):
1727new o(e)}},42:function(e,t,n){function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.a=i},43:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TargetTypeEnum=t.BindingTypeEnum=t.BindingScopeEnum=void 0;var i={Request:"Request",Singleton:"Singleton",Transient:"Transient"};t.BindingScopeEnum=
1728i;var r={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"};t.BindingTypeEnum=r;var a={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"};t.TargetTypeEnum=a}
1728,46:function(e,t,n){!function i(r,a){if(1)e.exports=a(n(57));else if("function"==typeof define&&define.amd)define(["@webwave/type"],a);else{var o=a("object"==typeof t?require("@webwave/type"):
1729r["@webwave/type"]);for(var s in o)("object"==typeof t?t:r)[s]=o[s]}}("undefined"!=typeof self?self:this,function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",
1730t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){var i=n(4),r=n(1),a=n.n(r);class o{constructor(){this._propertyChangeListeners=[]}addPropertyChangeListener(e,t){let n=a.a.isStringOrSymbol(e)?new i.a(t,e):new i.a(e);for(let e=0;e<this._propertyChangeListeners.length;e++)if(this._propertyChangeListeners[e].equals(n))return;this._propertyChangeListeners.push(n)}removePropertyChangeListener(e,t){let n=a.a.isStringOrSymbol(e)?new i.a(t,e):new i.a(t);
1731for(let e=0;e<this._propertyChangeListeners.length;e++)if(this._propertyChangeListeners[e].equals(n)){this._propertyChangeListeners.splice(e,1);break}}dispatch(e){for(let t=0;t<this._propertyChangeListeners.length;t++){let n=this._propertyChangeListeners[t],i=n.getPropertyName();(a.a.isNotDef(i)||i===e.getPropertyName())&&n.dispatchEvent(e)}}dispose(){for(let e=0;e<this._propertyChangeListeners.length;e++)this.removePropertyChangeListener(this._propertyChangeListeners[e])}getPropertyListenersByPropertyName(e){return this._propertyChangeListeners.filter(t=>
1732t.getPropertyName()===e)}}t.a=o},function(t,n){t.exports=e},function(e,t,n){class i{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.source=e.source,this.propertyName=e.propertyName,this.previousValue=e.previousValue,this.newValue=e.newValue,this.extraData=e.extraData}getPropertyName(){return this.propertyName}getNewValue(){return this.newValue}getPreviousValue(){return this.previousValue}getSource(){return this.source}getExtraData(){return this.extraData}propertyChange(e){}}
1733t.a=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(2),a=n(5);n.d(t,"PropertyChangeDispatcher",function(){return i.a}),n.d(t,"PropertyChangeEvent",function(){return r.a}),n.d(t,"SimplePropertyChangeEmitter",function(){return a.a})},function(e,t,n){var i=n(1),r=n.n(i);class a{constructor(e,t){this.propertyChangeListener=e,this.propertyName=t}getPropertyChangeListener(){return this.propertyChangeListener}getPropertyName(){return this.propertyName}equals(e){return this.getPropertyName()===
1734e.getPropertyName()&&this.getPropertyChangeListener()===e.getPropertyChangeListener()}dispatchEvent(e){var t;r.a.isFunction(this.propertyChangeListener)?this.propertyChangeListener(e):r.a.isFunction(null==(t=this.propertyChangeListener)?void 0:t.onPropertyChange)&&this.propertyChangeListener.onPropertyChange(e)}}t.a=a},function(e,t,n){var i=n(0),r=n(2);class a{constructor(){this._propertyChangeDispatcher=new i.a}addPropertyChangeListener(e,t){this._propertyChangeDispatcher.addPropertyChangeListener(e,
1735t)}removePropertyChangeListener(e,t){this._propertyChangeDispatcher.removePropertyChangeListener(e,t)}notifyPropertyChangeListeners(e){this._propertyChangeDispatcher.dispatch(e)}triggerPropertyChange(e,t,n,i){this.notifyPropertyChangeListeners(new r.a({source:this,propertyName:e,previousValue:n,newValue:t,extraData:i}))}}t.a=a}])})},48:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.tagProperty=t.tagParameter=t.decorate=void 0;var i=n(32),r=n(22);function a(e,t,n,i){var a;s(r.TAGGED,
1736e,t,i,n)}function o(e,t,n){var i;s(r.TAGGED_PROP,e.constructor,t,n)}function s(e,t,n,r,a){var o={},s="number"==typeof a,u=void 0!==a&&s?a.toString():n;if(s&&void 0!==n)throw new Error(i.INVALID_DECORATOR_OPERATION);Reflect.hasOwnMetadata(e,t)&&(o=Reflect.getMetadata(e,t));var c=o[u];if(Array.isArray(c))for(var l=0,d=c;l<d.length;l++){var h=d[l];
1736if(h.key===r.key)throw new Error(i.DUPLICATED_METADATA+" "+h.key.toString());}else c=[];c.push(r),o[u]=c,Reflect.defineMetadata(e,o,t)}function u(e,t){Reflect.decorate(e,
1737t)}function c(e,t){return function(n,i){t(n,i,e)}}function l(e,t,n){"number"==typeof n?u([c(n,e)],t):"string"==typeof n?Reflect.decorate([e],t,n):u([e],t)}t.tagParameter=a,t.tagProperty=o,t.decorate=l},49:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t,n){Object(i.a)(this,e),this.y=0,this.x=0,webwave.isNumberAndNotNaN(t)?(this.x=t,webwave.isNumberAndNotNaN(n)&&(this.y=n)):webwave.isDef(t)&&(webwave.isNumberAndNotNaN(t.x)&&(this.x=t.x),webwave.isNumberAndNotNaN(t.y)&&
1738(this.y=t.y))}return Object(r.a)(e,[{key:"getX",value:function e(){return this.x}},{key:"setX",value:function e(t){this.x=t}},{key:"getY",value:function e(){return this.y}},{key:"setY",value:function e(t){this.y=t}},{key:"subtract",value:function e(t){return this.x-=t.x,this.y-=t.y,this}},{key:"add",value:function e(t){return this.x+=t.x,this.y+=t.y,this}},{key:"multiply",value:function e(t){return this.x*=t,this.y*=t,this}},{key:"serialize",value:function e(){return{x:this.x,y:this.y}}},{key:"clone",
1739value:function t(){return new e({x:this.x,y:this.y})}},{key:"equals",value:function e(t){return this.x===t.x&&this.y===t.y}},{key:"lt",value:function e(t){return this.x<t.x&&this.y<t.y}},{key:"lte",value:function e(t){return this.x<=t.x&&this.y<=t.y}},{key:"gt",value:function e(t){return this.x>t.x&&this.y>t.y}},{key:"gte",value:function e(t){return this.x>=t.x&&this.y>=t.y}},{key:"toString",value:function e(){return"{".concat(this.x,",").concat(this.y,"}}")}}],[{key:"deserialize",value:function t(n){return webwave.isNotDef(n)?
1740new e(0,0):new e(n.x,n.y)}},{key:"countDistance",value:function e(t,n){return Math.sqrt(Math.abs(t.getX()-n.getX())*Math.abs(t.getY()-n.getY()))}}]),e}()},5:function(e,t,n){function i(e,t,n,i,r){var a={};
1740return Object.keys(i).forEach(function(e){a[e]=i[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,i){return i(e,t,n)||n},a),r&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(r):
1741void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}t.a=i},55:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.id=void 0;var i=0;function r(){return i++}t.id=r},56:function(e,t,n){var i={OK:1,CANCEL:0,CLOSE:-1};t.a=i},57:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"arrayHasSameItems",function(){return $}),n.d(t,"arrayIncludeArray",function(){return X}),n.d(t,"default",function(){return K}),n.d(t,"isArrayLike",function(){return q}),
1742n.d(t,"isArrayWithExactlyNElements",function(){return Z}),n.d(t,"isArrayWithExactlyOneElement",function(){return J}),n.d(t,"isArrayWithMinimumNElements",function(){return Q}),n.d(t,"isArraysEqual",function(){return ee}),n.d(t,"isBoolean",function(){return te}),n.d(t,"isDate",function(){return ne}),n.d(t,"isDef",function(){return ie}),n.d(t,"isDefAndNotEmpty",function(){return re}),n.d(t,"isDefAndNotNull",function(){return ae}),n.d(t,"isDomElement",function(){return oe}),n.d(t,"isEmptyString",function(){return se}),
1743n.d(t,"isFile",function(){return ue}),n.d(t,"isFunction",function(){return ce}),n.d(t,"isNestedObjectExist",function(){return le}),n.d(t,"isNonEmptyArray",function(){return de}),n.d(t,"isNotBoolean",function(){return he}),n.d(t,"isNotDef",function(){return fe}),n.d(t,"isNotDefOrNull",function(){return ve}),n.d(t,"isNotDefOrNullOrEmptyString",function(){return ge}),n.d(t,"isNotNull",function(){return pe}),n.d(t,"isNotString",function(){return ye}),n.d(t,"isNumber",function(){return be}),n.d(t,"isNumberAndNotNaN",
1744function(){return me}),n.d(t,"isObject",function(){return we}),n.d(t,"isObjectAndNotNull",function(){return Se}),n.d(t,"isString",function(){return Oe}),n.d(t,"isStringAndNotEmpty",function(){return _e}),n.d(t,"isStringOrSymbol",function(){return ke}),n.d(t,"isSymbol",function(){return Pe}),n.d(t,"isValidEnumValue",function(){return Ae}),n.d(t,"isValidJSON",function(){return Ee});var i={d:(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,
1745t)},r={};i.d(r,{$5:()=>w,$P:()=>I,Ay:()=>Y,Bm:()=>R,C8:()=>g,EI:()=>U,Et:()=>T,FP:()=>M,Gv:()=>D,H0:()=>O,I$:()=>f,Kg:()=>P,LL:()=>y,Lm:()=>N,N2:()=>V,Pe:()=>S,Rg:()=>H,SU:()=>p,Tl:()=>b,Tn:()=>_,Xj:()=>x,ZR:()=>k,fS:()=>v,fo:()=>B,fz:()=>W,gI:()=>F,jw:()=>E,kI:()=>L,nX:()=>j,w7:()=>m,x0:()=>h,z9:()=>G,zC:()=>A,zG:()=>C,zM:()=>z});const a="undefined",o="function",s="string",u="number",c="boolean",l="object",d=typeof Symbol("test");function h(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}
1746function f(e,t){return!(!x(e)||!x(t)||t.length!==e.length)&&v(e,t)}function v(e,t){return t.every(t=>e.includes(t))}function g(e){if(0===arguments.length)return!1;for(var t=0;t<arguments.length;t++)if(typeof arguments[t]===a)return!1;return!0}function p(e,t,n="."){if(y(e))return!1;let i=t.split(n),r=e;for(var a=0;a<i.length;a++)if(y(r=r[i[a]]))return!1;return!0}function y(e){return typeof e===a}function b(e){return typeof e===a||null===e}function m(e){return b(e)||E(e)}function w(e){return D(e)&&
1747S(e)}function S(e){return null!==e}function O(e){return g(e)&&null!==e}function _(e){return typeof e===o}function k(e){return O(e)&&e.length>0}function P(e){return typeof e===s}function A(e){return P(e)&&""!==e}function E(e){return P(e)&&""===e}function C(e){return typeof e!==s}function I(e){return e instanceof Date}function T(e){return typeof e===u}function N(e){return typeof e===c}function D(e){return typeof e===l}function j(e){return P(e)||R(e)}function R(e){return typeof e===d}function L(e){return typeof e!==
1748c}function M(e){return typeof e===u&&!1===isNaN(e)}function x(e){return"object"==typeof e&&null!==e&&"number"==typeof e.length}function B(e){return e instanceof File}function F(e){return V(e,1)}function V(e,t){return x(e)&&e.length===t}function W(e,t){return x(e)&&e.length>=t}function U(e){return W(e,1)}function H(e,t){if(g(e)&&g(t))for(var n in t)if(t.hasOwnProperty(n)&&t[n]===e)return!0;return!1}function z(e){try{return JSON.parse(e),!0}catch(e){return!1}}function G(e){return e instanceof Element}
1749const Y={arrayHasSameItems:f,arrayIncludeArray:v,isArrayLike:x,isArraysEqual:h,isArrayWithExactlyNElements:V,isArrayWithExactlyOneElement:F,isArrayWithMinimumNElements:W,isBoolean:N,isDate:I,isDef:g,
1749isDefAndNotEmpty:k,isDefAndNotNull:O,isDomElement:G,isEmptyString:E,isFile:B,isFunction:_,isNestedObjectExist:p,isNonEmptyArray:U,isNotBoolean:L,isNotDef:y,isNotDefOrNull:b,isNotDefOrNullOrEmptyString:m,isNotNull:S,isNotString:C,isNumber:T,isNumberAndNotNaN:M,isObject:D,isObjectAndNotNull:w,isString:P,
1750isStringAndNotEmpty:A,isStringOrSymbol:j,isSymbol:R,isValidEnumValue:H,isValidJSON:z};var $=r.I$,X=r.fS,K=r.Ay,q=r.Xj,Z=r.N2,J=r.gI,Q=r.fz,ee=r.x0,te=r.Lm,ne=r.$P,ie=r.C8,re=r.ZR,ae=r.H0,oe=r.z9,se=r.jw,ue=r.fo,ce=r.Tn,le=r.SU,de=r.EI,he=r.kI,fe=r.LL,ve=r.Tl,ge=r.w7,pe=r.Pe,ye=r.zG,be=r.Et,me=r.FP,we=r.Gv,Se=r.$5,Oe=r.Kg,_e=r.zC,ke=r.nX,Pe=r.Bm,Ae=r.Rg,Ee=r.zM},5787:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(161),r=n.n(i),a=n(2674),o=n(5788);a.initialiseModules(o.a)},
17515788:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(2992),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"main",value:function e(t,n){var i;(new a.default).run()}}]),e}()},6:function(e,t,n){function i(e,t,n,i){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(i):void 0})}t.a=i},65:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}
1751),t.circularDependencyToException=
1752t.listMetadataForTarget=t.listRegisteredBindingsForServiceIdentifier=t.getServiceIdentifierAsString=t.getFunctionName=void 0;var i=n(32);function r(e){var t,t;return"function"==typeof e?(t=e).name:"symbol"==typeof e?e.toString():t=e}function a(e,t,n){var i="",r=n(e,t);return 0!==r.length&&(i="\nRegistered bindings:",r.forEach(function(e){var t="Object";null!==e.implementationType&&(t=l(e.implementationType)),i=i+"\n "+t,e.constraint.metaData&&(i=i+" - "+e.constraint.metaData)})),i}function o(e,t){return null!==
1753e.parentRequest&&(e.parentRequest.serviceIdentifier===t||o(e.parentRequest,t))}function s(e){function t(e,n){void 0===n&&(n=[]);var i=r(e.serviceIdentifier);return n.push(i),null!==e.parentRequest?t(e.parentRequest,n):n}var n;return t(e).reverse().join(" --\x3e ")}function u(e){e.childRequests.forEach(function(e){if(o(e,e.serviceIdentifier)){var t=s(e);throw new Error(i.CIRCULAR_DEPENDENCY+" "+t);}u(e)})}function c(e,t){if(t.isTagged()||t.isNamed()){var n="",i=t.getNamedTag(),r=t.getCustomTags();
1754return null!==i&&(n+=i.toString()+"\n"),null!==r&&r.forEach(function(e){n+=e.toString()+"\n"})," "+e+"\n "+e+" - "+n}return" "+e}function l(e){if(e.name)return e.name;var t=e.toString(),n=t.match(/^function\s*([^\s(]+)/);return n?n[1]:"Anonymous function: "+t}t.getServiceIdentifierAsString=r,t.listRegisteredBindingsForServiceIdentifier=a,t.circularDependencyToException=u,t.listMetadataForTarget=c,t.getFunctionName=l},66:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){var t=
1755arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),webwave.isDefAndNotNull(t)?(this._id=t.id,this._enable=!!webwave.isDefAndNotNull(t.enable)&&t.enable,this.deserializeValue(t.value)):(this._enable=!1,this.deserializeValue())}return Object(r.a)(e,[{key:"deserializeValue",value:function e(t){webwave.isString(t)&&(this._value=t)}},{key:"id",get:function e(){return this._id}},{key:"getSerializeValue",value:function e(){return this._value}},{key:"getValuesForSaveData",value:function e(){return this._value}},
1756{key:"value",get:function e(){if(!0===this.enable)return this._value},set:function e(t){this._value=t}},{key:"enable",get:function e(){return this._enable},set:function e(t){this._enable=t}},{key:"toggleEnable",value:function e(){this.enable=!this._enable}},{key:"serialize",value:function e(){var t;return{id:!0===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).disableDBIndexSerialize?void 0:this.id,enable:this.enable,value:this.getSerializeValue()}}}]),e}()},7:function(e,t,n){function i(e,
1757t){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.");}},71:function(e,t,n){var i=n(38),r=function e(t,n,r){return new i.f(t,void 0,{i18nLabel:"com.webwave.formConstrains.validatorErrorText.".concat(n),canBeEmpty:null===r||void 0===r?void 0:r.canBeEmpty,minLength:null===r||void 0===r?void 0:r.minLength,phonePrefix:null===r||void 0===r?void 0:r.phonePrefix,country:null===r||void 0===r?void 0:r.country})},
1758a={ADDITIONAL_PRICE:r(i.h.PRICE,"price",{canBeEmpty:!1}),ADDITIONAL_PRICE_NON_REQUIRE:r(i.h.PRICE,"price",{canBeEmpty:!0}),AVAILABLE_PRODUCT_AMOUNT:r(i.h.AVAILABLE_PRODUCT_AMOUNT,"availableProductAmount",{canBeEmpty:!1}),COMMISSION:r(i.h.NATURAL_NUMBER,"commission",{canBeEmpty:!1}),DATE:r(i.h.DATE,"date",{canBeEmpty:!0}),DATE_FROM_GREATER_THAN_DATE_TO_VALIDATOR:r(i.h.DATE_FROM_GREATER_THAN_DATE_TO,"",{canBeEmpty:!0}),DATE_NOT_REQUIRE:r(i.h.DATE,"date",{canBeEmpty:!0}),DISCOUNT_CODE:r(i.h.DISCOUNT_CODE,
1759"discountCode"),DISCOUNT_VALUE:r(i.h.DISCOUNT_VALUE,"discountValue"),EMAIL:r(i.h.EMAIL,"email"),EMAIL_NOT_REQUIRE:r(i.h.EMAIL,"email",{canBeEmpty:!0}),ADDRESS_PL:r(i.h.ADDRESS_PL,"address",{canBeEmpty:!1}),FULL_NAME:r(i.h.FULL_NAME,"fullName",{canBeEmpty:!1}),ZIP_CODE_PL:r(i.h.ZIP_CODE_PL,"zipCode",{canBeEmpty:!1}),GOOGLE_ANALYTICS_4_VALIDATOR:r(i.h.GOOGLE_ANALYTICS_4_CODE,"ga4Code",{canBeEmpty:!1}),NIN_CNP:r(i.h.NIN_CNP,"ninCnp",{canBeEmpty:!1}),NIN_PESEL:r(i.h.NIN_PESEL,"ninPesel",{canBeEmpty:!1}),
1760NIP_PL:r(i.h.NIP_PL,"nipPl",{canBeEmpty:!1}),NIP_PL_VALIDATOR:r(i.h.NIP_PL,"nip",{canBeEmpty:!0}),NUMBER_USAGE_NOT_REQUIRE:r(i.h.POSITIVE_NATURAL_NUMBER,"naturalNumber",{canBeEmpty:!0}),PASSWORD:r(i.h.REQUIRE,"password",{canBeEmpty:!1}),PHONE_NUMBER:r(i.h.PHONE,"phone"),PHONE_NUMBER_WITHOUT_EXPECTED_PREFIX:r(i.h.PHONE_PL,"phone"),PHONE_NUMBER_WITH_EXPECTED_PREFIX:function e(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];
1760return r(i.h.PHONE_WITH_EXPECTED_PREFIX,"phone",{canBeEmpty:n,
1761phonePrefix:t})},POST_CODE_BY_COUNTRY:function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r(i.h.POST_CODE_BY_COUNTRY,"postCode",{canBeEmpty:n,country:t})},POSITIVE_FLOAT_VALUE:r(i.h.PRICE,"positiveFloatValue.default",{canBeEmpty:!1}),POSITIVE_FLOAT_VALUE_SHORT_MESSAGE:r(i.h.PRICE,"positiveFloatValue.short",{canBeEmpty:!1}),POSITIVE_NUMBER:r(i.h.POSITIVE_NATURAL_NUMBER,"naturalNumber"),PRODUCT_WEIGHT:r(i.h.POSITIVE_NATURAL_NUMBER_WITH_ZERO,"productWeight"),REFLINK_VALIDATOR:r(i.h.REFLINK,
1762"reflink",{canBeEmpty:!1}),REQUIRE:r(i.h.REQUIRE,"require"),TAX:r(i.h.VAT_TAX,"tax",{canBeEmpty:!0}),URL_VALIDATOR:r(i.h.URL_VALIDATOR,"url",{canBeEmpty:!0}),MIN_LENGTH:function e(t){return r(i.h.MIN_LENGTH,"minLength",{canBeEmpty:!1,minLength:t})}};t.a=a},78:function(e,t,n){var i=n(0),r=n(1),a=n(158),o=n.n(a),s=n(30),u=n(120),c,l=new (function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"isLoggedUserHasPlLanguage",value:function e(){return config.language===config.definedLanguagCodes.polish}},
1763{key:"getPluralForm",value:function e(t,n,i){var r=t;return n>1&&(r+=n<=4?"_plural1":"_plural2"),i18n.t(r,i)}},{key:"getPluralSimpleForm",value:function e(t,n,i){var r=t;return n>1?r+="_plural2":1===n&&(r+="_plural1"),i18n.t(r,i)}},{key:"isGlobalLanguage",value:function e(){return["en","au"].includes(this.getCurrentLang())}},{key:"formatPriceToLocalString",value:function e(t){return t.toLocaleString(void 0,{maximumFractionDigits:2,minimumFractionDigits:Number.isInteger(t)?0:2})}},{key:"formatNumberToLocaleString",
1764value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{maximumFractionDigits:2,minimumFractionDigits:2};return t.toLocaleString(n,i)}},{key:"formatPriceWithCurrency",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"code",r="string"==typeof t?parseFloat(t):t,a=webwave.isDefAndNotNull(n)?n:u.a.USD,o=this.formatNumberToLocaleString(r,void 0,{maximumFractionDigits:2,minimumFractionDigits:2}),s="com.webwave.currency.format.".concat(i,".").concat(a.toLowerCase());
1765if(i18n.exists(s))return i18n.t(s,{price:o,rawPrice:r});var c="com.webwave.currency.format.".concat(i);if(i18n.exists(c)){var l=i18n.t("com.webwave.currency.symbol.".concat(a.toLowerCase()),{defaultValue:a.toLowerCase()}),d=i18n.t("com.webwave.currency.name.".concat(a.toLowerCase()),{defaultValue:a.toLowerCase()}),h=i18n.t(c,{price:o,rawPrice:r,currency:a,currencySymbol:l,currencyName:d});if(h&&h!==c)return h}var f="";switch(i){case "symbol":f=i18n.t("com.webwave.currency.symbol.".concat(a.toLowerCase()),
1766{defaultValue:a.toLowerCase()});break;case "name":f=i18n.t("com.webwave.currency.name.".concat(a.toLowerCase()),{defaultValue:a.toLowerCase()});break;default:f=a}return"".concat(o," ").concat(f)}},{key:"getCurrentLang",value:function e(){return s.a.getValue("language")}},{key:"getAvailableLanguagesList",value:function e(){return["pl","en","ro","au"]}},{key:"isLanguageSupportedByWebwave",value:function e(t){return this.getAvailableLanguagesList().includes(t)}}]),e}());webwave.provide("com.webwave.common.utils.languageUtils"),
1767com.webwave.common.utils.languageUtils=l,t.a=l},80:function(e,t,n){var i={UNLABELED:"unlabeled",CRITICAL_UNEXPECTED:"critical.unexpected",AI_GENERIC:"ai.generic",AI_DEDUCTION_ERROR:"ai.deduction.error",AJAX_FORBIDDEN_403:"ajax.forbidden.403",ADD_WEBSITE_AI_ERROR:"addWebsite.ai.error",ADD_WEBMASTER_UNEXPECTED:"addWebmaster.unexpected",ADMIN_EDIT_WEBSITE_SAVE_ERROR:"admin.editWebsite.saveError",ADMIN_CRM_EXTEND_DOMAIN_ERROR:"admin.crm.extendDomain.error",ADMIN_CHANGE_CREATOR_INVALID_WEBMASTER:"admin.changeCreator.invalidWebmaster",
1768ADMIN_EDIT_EMAIL_ERROR:"admin.editEmail.error",DISCOUNT_CODE_ACTIVE_CODE_EXISTS:"discountCode.activeCodeExists",DOMAINS_LIST_ERROR:"domains.list.error",GUI_LOAD_JSON_CONNECTION_TIMEOUT:"gui.loadJson.connectionTimeout",GUI_LOAD_JSON_SERVER_ERROR:"gui.loadJson.serverError",FILE_MANAGER_ERROR:"fileManager.error",FILE_MANAGER_UPDATE_FILE_ERROR:"fileManager.updateFileError",FILE_MANAGER_DELETE_FILE_ERROR:"fileManager.deleteFileError",FILE_PICKER_INVA
1768LID_FILE:"filePicker.invalidFile",MEDIA_LIBRARY_DIRECTORY_UPDATE_ERROR:"mediaLibrary.directory.updateError",
1769PAYMENT_PAYPAL_NOT_SUCCESSFUL:"payment.paypal.notSuccessful",PAYMENT_STRIPE_ERROR:"payment.stripe.error",PAYMENT_CARD_ERROR:"payment.card.error",PUBLISH_ERROR:"publish.error",PUBLISH_CONNECTION_ERROR:"publish.connectionError",STORE_INTEGRATION_VERIFICATION_ERROR:"store.integration.verificationError",TEMPLATE_PUBLISH_ALL_AI_ERROR:"template.publishAllAi.error",TEMPLATE_INVALID_FORM_DATA:"template.invalidFormData",TEMPLATE_TAG_CONFIG_SAVE_ERROR:"template.tagConfig.saveError",TEMPLATE_NOT_VALID_DATA:"template.notValidData",
1770TEMPLATE_TEMPLATE_ID_REQUIRED:"template.templateIdRequired",TEMPLATE_UPDATE_FAILED:"template.updateFailed",WEBSITE_EMAIL_CREATE_EMAIL_ERROR:"websiteEmail.createEmail.error",WEBSITE_EXPORT_ERROR:"websiteExport.error"};t.a=i,webwave.provide("com.webwave.analytics.editor.ErrorReason"),com.webwave.analytics.editor.ErrorReason=i},82:function(e,t,n){var i={RECTANGLE:"rectangle",GALLERY:"gallery",SLIDER:"slider",LIGHTBOX:"lightbox",IMG:"img",SIMPLETEXT:"simpleText",TEXT:"text",BUTTON:"button",PAGETHUMBNAIL:"pageThumbnail",
1771HTMLTOOL:"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",PRODUCTFEED:"productfeed",AIWIDGET:"aiwidget"};t.a=i},832:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(2035),o=n(1276),s=function(){function e(){var t=
1772arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._clientTranslation=t.clientTranslation,this._defaultTranslation=new o.a(a.a),this._storeTranslation=t.storeTranslation}return Object(r.a)(e,[{key:"setStoreTranslation",value:function e(t){this._storeTranslation=t}},{key:"getTranslate",value:function e(t){return webwave.isDefAndNotNull(this._clientTranslation)&&webwave.isStringAndNotEmpty(this._clientTranslation.getValueByKey(t))?this._clientTranslation.getValueByKey(t):
1773i18n.t(this._defaultTranslation[t])}},{key:"getTranslationCustom",value:function e(t){return webwave.isDefAndNotNull(this._clientTranslation)&&webwave.isStringAndNotEmpty(this._clientTranslation.getValueByKey(t))?this._clientTranslation.getValueByKey(t):this._getDefaultCustomValue(t)}},{key:"_getDefaultCustomValue",value:function e(t){if(webwave.isDefAndNotNull(this._storeTranslation)){switch(t){case "orderClientDataZipCode":return this._storeTranslation.getOrderClientDataTranslations().getZipCodeLabel();
1774case "orderClientDataTaxId":return this._storeTranslation.getOrderClientDataTranslations().getTaxIdLabel();case "taxValue":return this._storeTranslation.getOrderSummaryTranslations().getTaxValueLabel()}return""}}}]),e}()},839:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(1614),o=n(1615),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),void 0===t.type&&(t.type=o.a.NO_LINK),void 0===t.target&&(t.target=a.a.SELF),this.type=
1775t.type,this.target=t.target}return Object(r.a)(e,[{key:"getShortName",value:function e(){return this.type}},{key:"getType",value:function e(){return this.type}},{key:"setTarget",value:function e(t){this.target=t}},{key:"getTarget",value:function e(){return this.target}},{key:"getLinkDefaultName",value:function e(){return""}},{key:"isValid",value:function e(){return!0}},{key:"isEmptyLink",value:function e(){return!1}},{key:"toJSON",value:function e(){return{type:this.type,target:this.target}}}]),e}()},
1776841:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this._source=t}return Object(r.a)(e,[{key:"getSource",value:function e(){return this._source}}]),e}()},842:function(e,t,n){var i={filemanager_popup:"openPopupMediaLibrary",editMenuPopup:"openPopupEditMenu",form_editor_box:"openPopupEditForm"};t.a=i},843:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(848),o=n(237),s=n(30),u=n(15),c=n.n(u),l,d,h=(l=Object(u.injectable)())(d=
1777function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"setEnvironment",value:function e(t){this.environment=t}},{key:"getPathForAjax",value:function e(){return webwave.isDefAndNotNull(this.environment)&&this.environment.isDevelopment()?"/webwaver_front":""}},{key:"getPanelType",value:function e(){var t;switch($("#panelType").val()){case o.a.CMS:return o.a.CMS;case o.a.GUI:return o.a.GUI;default:return o.a.WM}}},{key:"getEnvironmentPrefix",value:function e(){var t;switch(this.getPanelType()){case o.a.CMS:t=
1778"/cms/";break;case o.a.WM:t="/WM/";break;case o.a.GUI:t="/gui/";break}return t}},{key:"isGuiPanel",value:function e(){return this.getPanelType()===o.a.GUI}},{key:"isWMPanel",value:function e(){return this.getPanelType()===o.a.WM}},{key:"isCMSPanel",value:function e(){return this.getPanelType()===o.a.CMS}},{key:"isWebsitePublishedAndVisible",value:function e(){return"true"===$("#firstPublished").val()&&"true"===$("#websiteVisibility").val()}},{key:"getWebsiteId",value:function e(){return $("#websiteId").val()}},
1779{key:"getWebsiteName",value:function e(){return $("#websiteName").val()}},{key:"isWhiteLabelActive",value:function e(){var t;return t=this.isWMPanel()?s.a.getValue("whiteLabel.active",!1):"true"===$("#webmasterProfessionalAccount").val()}},{key:"isWebmaster",value:function e(){return s.a.getValue("loggedUser.isWebmaster",!1)}},{key:"getLinkDependingOnEnvironment",value:function e(t){return this.getPathForAjax()+t}},{key:"getAiWebsiteObject",value:function e(){var t=s.a.getDecodedJSON("openAIWebsite");
1780return new a.a(t)}},{key:"getAIWebsiteSubject",value:function e(){var t;return null===(t=this.getAiWebsiteObject())||void 0===t?void 0:t.websiteSubject}}]),e}())||d},844:function(e,t,n){n.d(t,"a",function(){return w});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(10),c=n(856),l=n(197),d=n(27),h=n(865),f=n(15),v=n.n(f),g=n(159),p,y;function b(e){var t=m();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);
1781return Object(o.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var w=(p=Object(f.injectable)())(y=function(e){Object(a.a)(n,e);var t=b(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).wasHidden=
1782!1,e._progressProcesses=[],e.LOADING_IMAGE_ID="loading-image",e.LoadingImageClass=null,e.popupManager=void 0,e}return Object(r.a)(n,[{key:"showLoadingBox",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!1===this.isAnyLoadingProgressActive()&&(this.wasHidden=!1,"none"==$("#screen_popup_wrapper").css("display")&&(this.wasHidden=!0),$("#screen_popup_background").hide(),$("#loadingBoxWrapper").show(),!0===t.solidBackground?$("#loadingBoxBackground").addClass("loadingBoxBackground--solid"):
1783$("#loadingBoxBackground").addClass("loadingBoxBackground--semi-transparent"),!0!==t.noScrollDisable&&g.a.setBodyScrollOff())}},{key:"getLoadingBoxAdapter",value:function e(){return this}},{key:"hideLoadingBox",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$("#screen_popup_background").show(),this._removeBackgroundModifiers(),$("#loadingBoxWrapper").hide(),!0===this.wasHidden&&!1!==t.unlockPagearea&&this.canHideScreenPopupWrapper()&&$("#screen_popup_wrapper").hide(),
1784!0!==t.noBodyScrollRevert&&g.a.setBodyScrollOn()}},{key:"showProgressBox",value:function e(){$("#loadingSpinnerWrapper").show()}},{key:"showProgressBoxWithoutBar",value:function e(){$("#loadingSpinnerProgress").hide(),$("#loadingSpinnerWrapper").show()}},{key:"hideProgressBox",value:function e(t){var n=$("#loadingSpinnerWrapper");u.Environment.isNotTest()&&webwave.isNumberAndNotNaN(t)?n.css("opacity",1).animate({opacity:"0"},{duration:t,always:function e(){n.css("opacity","").hide()}}):n.hide()}},
1785{key:"setProgressLabel",value:function e(t){$("#loadingSpinnerProgress .text").text(t)}},{key:"setProgressValue",value:function e(t){var n=parseInt(t);(isNaN(n)||n<0)&&(n=0),n>100&&(n=100),$("#loadingSpinnerProgress .fill").css("width",n+"%")}},{key:"updatePageareaLoadingProgress",value:function e(t){var n=t.get$Wrapper();!0===t.isNoProgressValue()?n.find(".progressWrapper .progress_value").hide():(n.find(".progressWrapper .progress_value").show(),n.find(".progressWrapper .progress_value").text("".concat(t.getValue(),
1786"/").concat(t.getMaxValue()))),n.find(".progressWrapper .fill").css("width",100*t.getProgress()+"%")}},{key:"getCurrentLoadingProcess",value:function e(){return this._progressProcesses[
17860]}},{key:"hideCurrentProgress",value:function e(){var t=this.getCurrentLoadingProcess(),n;t.get$Wrapper().hide(),t.getWrapper()===l.a.PAGEAREA&&$("#pagearea").css("opacity","")}},{key:"isAnyLoadingProgressActive",value:function e(){return this._progressProcesses.length>0}},{key:"loadingImageElementExists",value:function e(t){var n=
1787document.getElementById(t);return webwave.isDefAndNotNull(n)}},{key:"updateProgressData",value:function e(){var t=this.getCurrentLoadingProcess(),n=t.get$Wrapper();webwave.isDefAndNotNull(t)&&(this.hideLoadingBox({unlockPagearea:!0,noBodyScrollRevert:!1}),n.show(),this.updatePageareaLoadingProgress(t),n.find(".progress_label").text(t.getProgressText()),n.find(".progressWrapper").toggle(!0!==t.isNoProgressBar()),n.find(".footer_label").text(t.getFooterText()),!0===t.isNoProgressText()?(n.find(".progressWrapper .text").hide(),
1788n.find(".footer_label").hide()):(n.find(".progressWrapper .text").show(),n.find(".footer_label").show()),t.isTransparentBackground()?n.css("backgroundColor","transparent"):n.css("backgroundColor",""))}},{key:"progressChanged",value:function e(t){this.updateProgressData()}},{key:"valueChanged",value:function e(t){this.updateProgressData()}},{key:"addLoadingProcess",value:function e(t){-1===this._progressProcesses.indexOf(t)&&this._progressProcesses.push(t),this.updateFirstLoadingProcess()}},{key:"removeLoadingProcess",
1789value:function e(t){var n=this._progressProcesses.indexOf(t);-1!==n&&(this.hideCurrentProgress(),this._progressProcesses.splice(n,1),t.removeProgressListener(this),this.updateFirstLoadingProcess())}},{key:"updateFirstLoadingProcess",value:function e(){var t;!0===this.isAnyLoadingProgressActive()&&(this.getCurrentLoadingProcess().addProgressListener(this),this.updateProgressData())}},{key:"startProgressLoadingBox",value:function e(t){var n=new c.a(t),i="".concat(n.getWrapper(),"__").concat(this.LOADING_IMAGE_ID);
1790return!0===this.loadingImageElementExists(i)&&(this.progressLoadingImage=new this.LoadingImageClass({el:"#".concat(i),propsData:{loadingProcess:n,imageId:i}})),webwave.isDefAndNotNull(t.customImage)&&this.progressLoadingImage.setCustomImageSrc(t.customLoadingImage),this.addLoadingProcess(n),n}},{key:"startSimulatedTimedProgress",value:function e(t){var n=this.startProgressLoadingBox({maxValue:100,noProgressBar:!1,progressText:t.progressText,customLoadingImage:t.loadingImage?t.loadingImage:i18n.t("gui.aiWebsite.loadingBox.websiteColors.image"),
1791transparentBackground:!0,noProgressValue:!0,wrapper:l.a.WINDOW}),i=t.approxTime?t.approxTime:this.DEFAULT_CREATION_APPROX_TIME,r=new h.a(n,i);return r.start(),r}},{key:"stopPageAreaLoadingBox",value:function e(t){this.removeLoadingProcess(t)}},{key:"getPopupBackground",value:function e(){return $("#screen_popup_background")}}
1791,{key:"setLoadingImageClass",value:function e(t){this.LoadingImageClass=t}},{key:"_removeBackgroundModifiers",value:function e(){$("#loadingBoxBackground").removeClass("loadingBoxBackground--solid"),
1792$("#loadingBoxBackground").removeClass("loadingBoxBackground--semi-transparent")}},{key:"setPopupManager",value:function e(t){Object.defineProperty(this,"popupManager",{value:t,configurable:!1,writable:!0})}},{key:"canHideScreenPopupWrapper",value:function e(){return webwave.isNotDefOrNull(this.popupManager)||!1===this.popupManager.isAnyPopupVisible()}}]),n}(d.a))||y},848:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(219),a=function e(t){Object(i.a)(this,e),this.websiteId=t.websiteId,
1793this.websiteSubject=r.a.safeDecodeURIComponent(t.websiteSubject),this.fonts=r.a.safeOptJsonParse(t.fonts),this.style=t.style,this.palette=r.a.safeOptJsonParse(t.palette),this.imageColor=t.imageColor,this.imageKeys=r.a.safeDecodeURIComponent(t.imageKeys),this.functions=r.a.safeOptJsonParse(t.functions),this.storeName=r.a.safeDecodeURIComponent(t.storeName),this.gusSubject=r.a.safeOptJsonParse(t.gusSubject)}},856:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(197),o=function(){function e(){var t=
1794arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._value=0,this._maxValue=100,this._progress=0,this._type=null,this.noProgressBar=!1,this.noProgressText=!1,this.noProgressValue=!1,this.withSpinner=!1,this.transparentBackground=!1,this.progressText=null,this.footerText=null,this._maxValue=webwave.isNumberAndNotNaN(t.maxValue)&&t.maxValue>0?t.maxValue:100,this._loadingProgressListeners=[],this.noProgressBar=!0===t.noProgressBar,this.noProgressText=!0===t.noProgressText,
1795this.noProgressValue=!0===t.noProgressValue,this.transparentBackground=!0===t.transparentBackground,this.withSpinner=!0===t.withSpinner,this.progressText=webwave.isString(t.progressText)?t.progressText:null,this.customLoadingImage=t.customLoadingImage?t.customLoadingImage:void 0,this.wrapper=t.wrapper?t.wrapper:a.a.PAGEAREA,this.footerText=t.footerText||null}return Object(r.a)(e,[{key:"setValue",value:function e(t){var n=Math.min(this._maxValue,Math.max(t,0)),i=this._value!==n;this._value=n,i&&(this._notifyValueListeners(),
1796this._updateProgress())}},{key:"setToEnd",value:function e(){this.setValue(this._maxValue)}},{key:"getValue",value:function e(){return this._value}},{key:"_setProgress",value:function e(t){var n=this._progress!==t;this._progress=t,n&&this._notifyProgressListeners()}},{key:"getProgress",value:function e(){return this._progress}},{key:"_updateProgress",value:function e(){this._setProgress(this._value/this._maxValue)}},{key:"_notifyProgressListeners",value:function e(){for(var t=0;t<this._loadingProgressListeners.length;t++)this._loadingProgressListeners[t].progressChanged(this)}},
1797{key:"_notifyValueListeners",value:function e(){for(var t=0;t<this._loadingProgressListeners.length;t++)this._loadingProgressListeners[t].valueChanged(this)}},{key:"getMaxValue",value:function e(){return this._maxValue}},{key:"getWrapper",value:function e(){return this.wrapper}},{key:"get$Wrapper",value:function e(){return $("#".concat(this.wrapper))}},{key:"addProgressListener",value:function e(t){-1===this._loadingProgressListeners.indexOf(t)&&this._loadingProgressListeners.push(t)}},{key:"removeProgressListener",
1798value:function e(t){var n=this._loadingProgressListeners.indexOf(t);-1!==n&&this._loadingProgressListeners.splice(n,1)}},{key:"isNoProgressBar",value:function e(){return this.noProgressBar}},{key:"isNoProgressValue",value:function e(){return this.noProgressValue}},{key:"isNoProgressText",value:function e(){return this.noProgressText}},{key:"isTransparentBackground",value:function e(){return this.transparentBackground}},{key:"isWithSpinner",value:function e(){return this.withSpinner}},{key:"getProgressText",
1799value:function e(){return this.progressText}},{key:"setCustomLoadingImage",value:function e(t){this.customLoadingImage=t,this._notifyValueListeners()}},{key:"setProgressText",value:function e(t){this.progressText=t,this._notifyValueListeners()}},{key:"increaseProgress",value:function e(){this.setValue(this.getValue()+1)}},{key:"getFooterText",value:function e(){return webwave.isDefAndNotNull(this.footerText)&&webwave.isStringAndNotEmpty(this.footerText)?this.footerText:""}}]),e}()},858:function(e,
1800t,n){n.d(t,"a",function(){return o}
1800);var i=n(0),r=n(1),a=n(10),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"getShadowColorArrayFromString",value:function e(t){return null===t||void 0===t?void 0:t.match(/((rgba|rgb|var)?\(.+\))/g)}},{key:"getShadowSettingsArrayFromString",value:function e(t){return null===t||void 0===t?void 0:t.match(/(-?\d+px)/g)}},{key:"composeShadowValueByColorAndDirectionSettings",value:function e(t,n){var i;return[t].concat(n).join(" ")}},{key:"getShadowObjectFromString",
1801value:function e(t,n){if(!webwave.isString(t))return n;var i=t.match(/((rgba|rgb|var)?\(.+\))/g),r=t.match(/(-?\d+px)/g);return null===i||null===r||1!==i.length||3!==r.length?n:{x:parseInt(r[0],10),y:parseInt(r[1],10),blur:parseInt(r[2],10),color:i[0],enabled:!0}}},{key:"getShadowStringFromShadowMap",value:function e(t){var n="none";if(webwave.isDef(t)&&"none"!==t&&t.enabled){var i="rgb(0,0,0,1)";if(webwave.isString(t.color))if(a.ColorUtils.isColorStartWithAnyOfPhrase(t.color,["rgba","var"]))i=t.color;
1802else if(a.ColorUtils.isColorStartWithRgbPhrase(t.color)){var r=webwave.isDef(t.opacity)?t.opacity/100:1;i=a.ColorUtils.rgbAndOpacityToRgba(t.color,r)}n="".concat(t.x,"px ").concat(t.y,"px ").concat(t.blur,"px ").concat(i)}return n}}]),e}()},865:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t,n){Object(i.a)(this,e),this._loadingProcess=t,this._duration=n,this._intervalId=null,this._startTime=null}return Object(r.a)(e,[{key:"complete",value:function e(){this.stop(),
1803this._loadingProcess.setToEnd()}},{key:"getLoadingProcess",value:function e(){return this._loadingProcess}},{key:"start",value:function e(){var t=this;this._startTime=Date.now(),this._intervalId=setInterval(function(){return t._updateProgress()},100)}},{key:"stop",value:function e(){this._intervalId&&(clearInterval(this._intervalId),this._intervalId=null)}},{key:"_updateProgress",value:function e(){var t=(Date.now()-this._startTime)/1E3,n=this._calculateProgress(t);(n>=100||t>=this._duration)&&(this.stop(),
1804n=100),this._loadingProcess.setValue(n)}},{key:"_calculateProgress",value:function e(t){var n=t/this._duration;if(n<.1)return 300*n;if(n<.8){var i=30+(n-.1)/.7*60;return Math.min(i,90)}var r=90+(n-.8)/.2*10;return Math.min(r,99)}}]),e}()},873:function(e,t,n){t.a={OK:200,BAD_REQUEST:400,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,REQUEST_TIMEOUT:408,CONFLICT:409,INTERNAL_SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504}},901:function(e,t,n){n.d(t,"a",function(){return o});
1805var i=n(0),r=n(1),a=n(10),o=function(){function e(t){Object(i.a)(this,e),this.value=0,this.separator=a.DecimalSeparators.NONE,this.fractalLength=0,this.decimalLength=0,this.invalid=!1,this.strValue="0.0",this.strValue=webwave.isString(t)?t:"";var n=this.strValue.match(e.regex);if(null!==n){if(webwave.isStringAndNotEmpty(n[1])){var r=parseInt(n[1],10);this.value=r,this.fractalLength=n[1].length}else this.invalid=!0;if(webwave.isStringAndNotEmpty(n[2])&&(this.separator=n[2]),webwave.isStringAndNotEmpty(n[3])){var o=
1806parseFloat(".".concat(n[3]));this.value+=o,this.decimalLength=n[3].length}}else this.invalid=!0}return Object(r.a)(e,[{key:"toString",value:function e(){return this.value.toFixed(this.decimalLength)}},{key:"toJSON",value:function e(){return this.printFormattedValue()}},{key:"isInvalid",value:function e(){return this.invalid}},{key:"clone",value:function t(){return new e(this.strValue)}},{key:"getValue",value:function e(){return this.value}},{key:"printFormattedValue",value:function e(t){var n=arguments.length>
18071&&void 0!==arguments[1]?arguments[1]:"",i=webwave.isNumberAndNotNaN(t)?t:this.value,r="";if(this.decimalLength>0){var a,o,s=(i-Math.floor(i)).toFixed(this.decimalLength).split("."),u;r="".concat(this.separator).concat(s[1]),parseInt(s[0],10)>0&&(i+=1)}var c=(new Intl.NumberFormat("en-us")).format(parseInt(i,10)).replace(/,/g,n);return"".concat(c).concat(r)}},{key:"equals",value:function e(t){return this.strValue===t.strValue}}]),e}();o.regex=/([-]?[0-9]+)(?:([,.]?)([0-9]*))?/},918:function(e,t,n){var i=
1808{NEWS:"news",SHORT:"short",HEADER:"header",THUMBNAIL:"thumbnail",READ_MORE:"readMore",DATE:"date",PAGINATION_INDEX:"paginationIndex",SELECTED_PAGINATION_INDEX:"selectedPaginationIndex"};t.a=i},92:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(134),o=n(56),s=n(15),u=n.n(s),c,l,d=(c=Object(s.injectable)())(l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._element=null,this._$element=null,this._visibility=!1,this._popupEventListeners=
1809[],this._locked=!1,this._initialized=!1,this.deactivateSendPageView=t.deactivateSendPageView,this._showPopupData=null,this.analyticsPageView=t.analyticsPageView,this._alwaysOnTop=t.alwaysOnTop}return Object(r.a)(e,[{key:"_uninitEvents",value:function e(){}},{key:"readAnalyticsData",value:function e(){webwave.isStringAndNotEmpty(this.analyticsPageView)||webwave.isDefAndNotNull(this._element)&&(webwave.isDefAndNotNull(this._element.dataset)&&webwave.isStringAndNotEmpty(this._element.dataset.analyticsPageView)?
1810this.analyticsPageView=this._element.dataset.analyticsPageView:null!==this._element.getAttribute("id")&&(this.analyticsPageView=this._element.getAttribute("id")))}},{key:"setAnalyticsPageView",value:function e(t){this.analyticsPageView=t}},{key:"dispose",value:function e(){this._uninitEvents(),this.get$Element().remove();for(var t=0;t<this._popupEventListeners.length;t++)this._popupEventListeners[t].popupDisposed(new a.a(this))}},{key:"_closeButtonHandler",value:function e(){this.hide()}},{key:"initEvents",
1811value:function e(){var t=this._$element.find('.close_button, [data-role="popupCloseButton"]');t.off("click.popup"),t.on("click.popup",this._closeButtonHandler.bind(this))}},{key:"_createElement",value:function e(){}},{key:"isInitialized",value:function e(){return this._initialized}},{key:"init",value:function e(){!0!==this._initialized?this.setElement(this._createElement()):webwave.error("Popup is already initialized!",this)}},{key:"getElement",value:function e(){return this._element}},{key:"get$Element",
1812value:function e(){return null!==this._$element?this._$element:$()}},{key:"show",value:function e(t){!1===this.isInitialized()&&this.init(),this._visibility=!0,this.get$Element().css("display","block"),this._showPopupData=t;for(var n=0;n<this._popupEventListeners.length;n++)this._popupEventListeners[n].popupOpened(new a.a(this));this.onShow()}},{key:"onShow",value:function e(){}},{key:"onToggle",value:function e(t){}},{key:"onHide",value:function e(t,n){}},{key:"hide",value:function e(t,n){!1===this.isInitialized()&&
1813this.init(),this._visibility=!1,this.get$Element().hide();for(var i=0;i<this._popupEventListeners.length;i++)this._popupEventListeners[i].popupClosed(new a.a(this));
1813this.onHide(t,n),webwave.isDefAndNotNull(this._showPopupData)&&(webwave.isFunction(this._showPopupData.onClose)&&this._showPopupData.onClose.call(this._showPopupData.onClose,n,t),webwave.isFunction(this._showPopupData.onSuccess)&&t===o.a.OK&&this._showPopupData.onSuccess.call(this._showPopupData.onSuccess,n),webwave.isFunction(this._showPopupData.onDecline)&&
1814t===o.a.CANCEL&&this._showPopupData.onDecline.call(this._showPopupData.onDecline,n),webwave.isFunction(this._showPopupData.onCheckboxTick)&&webwave.isDef(n)&&!0===n.checkboxTick&&this._showPopupData.onCheckboxTick.call(this._showPopupData.onCheckboxTick,n))}},{key:"setLocked",value:function e(t){this._locked=t,this.get$Element().toggle(!1===t),this.onToggle(!1===t)}},{key:"isVisible",value:function e(){return this._visibility}},{key:"addPopupEventListener",value:function e(t){this._popupEventListeners.push(t)}},
1815{key:"removePopupEventListener",value:function e(t){var n=this._popupEventListeners.indexOf(t);-1!==n&&this._popupEventListeners.splice(n,1)}},{key:"attach",value:function e(t){t.append(this.get$Element())}},{key:"detach",value:function e(){this.get$Element().detach()}},{key:"isAlwaysOnTop",value:function e(){return!0===this._alwaysOnTop}},{key:"setElement",value:function e(t){this.get$Element().remove(),this._element=t,this._$element=$(t),this.initEvents(),this.readAnalyticsData(),this._initialized=
1816!0}}]),e}())||l;webwave.provide("com.webwave.ui.popup.Popup"),com.webwave.ui.popup.Popup=d},925:function(e,t,n){var i={TOP:"top",TOP_LEFT:"top left",TOP_EXTENDS_LEFT:"top extends left",TOP_RIGHT:"top right",TOP_EXTENDS_RIGHT:"top extends right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom left",BOTTOM_EXTENDS_LEFT:"bottom extends left",BOTTOM_RIGHT:"bottom right",BOTTOM_EXTENDS_RIGHT:"bottom extends right",LEFT:"left",LEFT_EXTENDS_TOP:"left extends top",LEFT_EXTENDS_BOTTOM:"left extends bottom",RIGHT:"right",
1817RIGHT_EXTENDS_TOP:"right extends top",RIGHT_EXTENDS_BOTTOM:"right extends bottom"};t.a=i},927:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"ignoreCaseTextComparator",value:function t(n,i){var r=null===n||void 0===n?void 0:n.toLowerCase(),a=null===i||void 0===i?void 0:i.toLowerCase();return e.defaultComparator(r,a)}},{key:"defaultComparator",value:function e(t,n){return webwave.isString(t)&&webwave.isString(n)?
1818t.localeCompare(n,void 0,{numeric:!0,sensitivity:"base"}):t<n?-1:t>n?1:0}}]),e}()},933:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(1578),o=n(226),s=n(1278),u=n(1742),c=n(10),l=n(1148),d=n(126),h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.backgroundType=t.backgroundType,t.backgroundType===e.BackgroundTypes.GRADIENT?this.backgroundType=e.BackgroundTypes.GRADIENT:this.backgroundType=e.BackgroundTypes.COLOR,
1819this.backgroundImage=webwave.isDef(t.backgroundImage)?t.backgroundImage:"none",this.imageId=null!==t.imageId?t.imageId:void 0,"string"==typeof t.backgroundColor&&t.backgroundColor.length>0?this.backgroundColor=t.backgroundColor:this.backgroundColor="rgba(0, 0, 0, 0)",this.sessionBackgroundColor=this.backgroundColor,this.gradient=new l.a(t.gradient),void 0===t.verticalPosition?this.verticalPosition="top":this.verticalPosition=t.verticalPosition,void 0===t.horizontalPosition?this.horizontalPosition=
1820"left":this.horizontalPosition=t.horizontalPosition,this.repeatY=!1!==t.repeatY,this.repeatX=!1!==t.repeatX,"string"==typeof t.backgroundSize&&t.backgroundSize.length>0?this.backgroundSize=t.backgroundSize:this.backgroundSize="cover","string"==typeof t.backgroundAttachment&&t.backgroundAttachment.length>0?this.backgroundAttachment=t.backgroundAttachment:this.backgroundAttachment="scroll",webwave.isNumberAndNotNaN(t.parallax)?this.parallax=t.parallax:this.parallax=100,webwave.isDef(t.enabled)?this.enabled=
1821t.enabled:this.enabled=this._computeEnabledValue(),webwave.isDef(t.backgroundImageEnabled)?this.backgroundImageEnabled=t.backgroundImageEnabled:this.backgroundImageEnabled=this._computeBackgroun
1821dImageEnabledValue()}return Object(r.a)(e,[{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n,i;(this.gradient instanceof l.a&&(n=this.gradient.serialize()),webwave.isDefAndNotNull(this.imageId)&&webwave.isDefAndNotNull(t.imageIdCorrector))&&(this.imageId=
1822null===(i=t.imageIdCorrector)||void 0===i?void 0:i.tryCorrectImageId(this.imageId));return{backgroundType:this.backgroundType,imageId:this.imageId,backgroundColor:this.backgroundColor,gradient:n,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",
1823value:function t(){var n=webwave.isDef(this.backgroundColor)&&""!==this.backgroundColor&&"transparent"!==this.backgroundColor&&(new c.Color(this.backgroundColor)).a>0,i=this.backgroundType===e.BackgroundTypes.GRADIENT,r=webwave.isDef(this.gradient);return!!(n||r&&i)}},{key:"_computeBackgroundImageEnabledValue",value:function e(){var t;return!!webwave.isDef(this.imageId)}},{key:"toCss2Map",value:function t(){var n={};return!1===this.enabled&&!1===this.backgroundImageEnabled?{background:"none"}:(this.enabled?
1824n=this.backgroundType===e.BackgroundTypes.COLOR?{backgroundColor:webwave.isDef(this.backgroundColor)?this.backgroundColor:"transparent"}:{backgroundImage:webwave.isDef(this.gradient)?this.gradient.toBackgroundImageString():void 0}:n.backgroundColor="transparent",this.backgroundImageEnabled&&(webwave.isDef(window.fileManagerService)?n.backgroundImage=window.fileManagerService.getUserFileCssUrl(this.imageId,this.backgroundSize===o.a.FULL_WIDTH):n.backgroundImage=webwave.isDef(this.backgroundImage)?
1825this.backgroundImage:"none",Object.assign(n,{backgroundSize:this.backgroundSize,backgroundRepeat:this.generateBackgroundRepeatString(),backgroundPosition:this.horizontalPosition+" "+this.verticalPosition})),webwave.isNotDef(n.backgroundImage)&&(n.backgroundImage="none"),n)}},{key:"applyPartialBackgroundMap",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.backgroundAttachment)&&(this.backgroundAttachment=t.backgroundAttachment),webwave.isDef(t.backgroundColor)&&(this.backgroundColor=t.backgroundColor),
1826webwave.isDef(t.backgroundSize)&&(this.backgroundSize=t.backgroundSize),webwave.isDef(t.backgroundType)&&(this.backgroundType=t.backgroundType),webwave.isDef(t.gradient)&&(this.gradient=new l.a(t.gradient)),webwave.isDef(t.horizontalPosition)&&(this.horizontalPosition=t.horizontalPosition),webwave.isDef(t.verticalPosition)&&(this.verticalPosition=t.verticalPosition),webwave.isDef(t.backgroundImage)&&(this.backgroundImage=t.backgroundImage),webwave.isDef(t.imageId)&&(this.imageId=null!==t.imageId?
1827t.imageId:void 0),webwave.isDef(t.repeatX)&&(this.repeatX=t.repeatX),webwave.isDef(t.repeatY)&&(this.repeatY=t.repeatY),webwave.isDef(t.parallax)&&(this.parallax=t.parallax),webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isDef(t.backgroundImageEnabled)&&(this.backgroundImageEnabled=t.backgroundImageEnabled))}},{key:"setBackgroundColor",value:function e(t){this.backgroundColor=t}},{key:"generateBackgroundRepeatString",value:function e(){return u.a.generateBackgroundRepeatString(this.repeatX,
1828this.repeatY)}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i=d.a.changeObjectBackgroundColorPropertyWithWebsiteColor(this,t),r=null===(n=this.gradient)||void 0===n?void 0:n.changeWebsiteColorConnection(t);return i||r}},{key:"isBackgroundImageEnabledAndDefined",value:function e(){return!0===this.backgroundImageEnabled&&webwave.isDefAndNotNull(this.imageId)}},{key:"isParallaxActive",value:function e(){return webwave.isDefAndNotNull(this.parallax)&&
1829100!==this.parallax&&this.isBackgroundImageEnabledAndDefined()}},{key:"isBackgroundColorEnabledAndWithoutTransparency",value:function e(){return!0===this.enabled&&!1===c.ColorUtils.isTransparentOrSomeLevelOfTransparency(this.backgroundColor)}}
1829,{key:"isNonTransparentBackgroundAvailable",value:function e(){return this.isBackgroundColorEnabledAndWithoutTransparency()||this.isBackgroundImageEnabledAndDefined()}}]),e}();h.BackgroundTypes=s.a,h.AttachmentTypes=a.a,h.BackgroundSizes=o.a,h.toBackgroundString=
1830function(){return"background: none"}},970:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(1214),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"constraints",get:function e(){throw"Not implement";}},{key:"translationPrefix",get:function e(){throw"Not implement";}},{key:"getTitle",value:function e(t){return"".concat(this.translationPrefix,t?".title.create":".title.edit")}},{key:"isExpired",value:function e(){return!1}},{key:"validate",value:function e(){throw"Not implement";
1831}},{key:"getFields",value:function e(){var t=this,n=[],i;return Object.keys(this).forEach(function(e){n.push(new a.a({name:e,placeholder:"".concat(t.translationPrefix,".").concat(e,".placeholder"),validator:t.constraints[e],label:"".concat(t.translationPrefix,".").concat(e,".label")}))}),n}}]),e}()},972:function(e,t,n){var i={TOP:"top",TOP_RIGHT:"topRight",RIGHT:"right",BOTTOM_RIGHT:"bottomRight",BOTTOM:"bottom",BOTTOM_LEFT:"bottomLeft",LEFT:"left",TOP_LEFT:"topLeft",CENTER:"center"};t.a=i},973:function(e,
1832t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(1950),o=n(1544),s=n(1579),u=n(1715),c=n(1569),l=n(1615),d=n(1622),h=n(1279),f=n(2094),v=n(1623),g=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"createLink",value:function e(t){if(webwave.isDefAndNotNull(t))switch(t.type){case "webwave.link.PageLinkData":return new h.a(t);case "webwave.link.ObjectLinkData":return new d.a(t);case "webwave.link.FileLinkData":return new u.a(t);case "webwave.link.CustomLinkData":return new o.a(t);
1833case "webwave.link.EmptyLinkData":return new s.a(t);case "webwave.link.InteractionsLinkData":case "com.webwaver.website.render.link.InteractionsLinkData":return new c.a(t);case "webwave.link.AnchorLinkData":return new a.a(t);case "webwave.link.ShowShopCardLinkData":return new v.a(t);case "webwave.link.RefundPageLinkData":return new f.a}}},{key:"cloneLink",value:function t(n){if(webwave.isDefAndNotNull(n))return e.createLink(JSON.parse(JSON.stringify(n)))}},{key:"getLinkTypeByLinkData",value:function e(t){if(webwave.isDefAndNotNull(t))switch(!0){case t instanceof
1834h.a:return webwave.isString(t.pageId)&&t.pageId.startsWith("webpage")?l.a.WEBPAGE:webwave.isString(t.pageId)&&t.pageId.startsWith("newspage")?l.a.NEWSPAGE:l.a.PRODUCTPAGE;case t instanceof d.a:return l.a.OBJECT;case t instanceof o.a:return l.a.CUSTOM;case t instanceof s.a:return l.a.NO_LINK;case t instanceof c.a:return l.a.INTERACTION;case t instanceof a.a:return l.a.ANCHOR;case t instanceof f.a:return l.a.REFUNDPAGE}return l.a.NO_LINK}}]),e}()},975:function(e,t,n){var i=n(0),r=n(1),a=n(10);function o(e,
1835t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}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 a=!0,o=!1,u;return{s:function t(){n=n.call(e)},n:function e(){var t=
1836n.next();return a=t.done,t},e:function e(t){o=!0,u=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw u;}}}}function s(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=
1837e[n];return i}!function(){webwave.provide("com.webwave.utils.location.locationService");var e={},t="/businessPanel",n="/webmasterPanel",s=function(){function t(){Object(i.a)(this,t)}return Object(r.a)(t,[{key:"addForceCountryParamIfSetInPath",value:function e(t){var n=t,i="forceCountry",r=this.getParameterByName("forceCountry");return webwave.isDefAndNotEmpty(r)&&(n+="?".concat("forceCountry","=").concat(r)),n}},{key:"closeTab",value:function t(n){var i=e[n];webwave.isDefAndNotNull(i)&&i.close()}},
1838{key:"getParameterByName",value:function e(t,n){void 0===n&&(n=location.search),t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i,r=(new RegExp("[\\?&]"+t+"=([^&#]*)")).exec(n);return null==r?"":decodeURIComponent(r[1].replace(/\+/g," "))}},{key:"setEnvironmentUtils",value:function e(t){this._environmentUtils=t}},{key:"openUrl",value:function t(n,i){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==i)if("_blank"===i)window.open(n,i);else{var a=e[i];void 0!==a&&!0===
1839r&&a.close(),(a=window.open(n,i)).focus(),e[i]=a}else window.location=n}},{key:"openUrlForApp",value:function e(t,n,i){this.openUrl(this._environmentUtils.getPathForAjax()+t,n,i)}},{key:"openUrlWithTimeout",value:function e(t,n){var i=this;setTimeout(function(){i.openUrl(t)},n)}},{key:"openEditor",value:function e(t,n){com.webwave.utils.location.locationService.openUrl(this._environmentUtils.getPathForAjax()+"/gui/gui/"+t,n)}},{key:"openWebsite",value:function e(t,n){com.webwave.utils.location.locationService.openUrl(this._environmentUtils.getPathForAjax()+
1840"/"+t,n)}},{key:"openWebmasterPanel",value:function e(t){com.webwave.utils.location.locationService.openUrl(com.webwave.utils.location.locationService.getWebmasterPanelLink(),t)}},{key:"openWebmasterPanelWithVersionCheck",value:function e(){var t=this,n=$("#webmasterFAId").val();webwave.utils.makeAjxaCall({url:"/_app/webmasterFinancialAccount/getPanel
1840Version/".concat(n),type:"GET"},function(e){var n;(null===(n=e.data.businessPanelVersion)||void 0===n?void 0:n.name)===a.PanelTypes.NEW?t.openUrlForApp("/businessPanel"):
1841t.openUrlForApp("/webmasterPanel")})}},{key:"getWebmasterPanelLink",value:function e(){return"".concat(this._environmentUtils.getPathForAjax(),"/businessPanel/")}},{key:"replaceQueryParam",value:function e(t,n,i){var r=new RegExp("([?;&])"+t+"[^&;]*[;&]?"),a=i.replace(r,"$1").replace(/&$/,"");return(a.length>2?a+"&":"?")+(n?t+"="+n:"")}},{key:"getHash",value:function e(){return window.location.hash.replace("#","")}},{key:"removeHash",value:function e(){history.pushState("",document.title,window.location.pathname+
1842window.location.search)}},{key:"removeHashAndParams",value:function e(){history.pushState("",document.title,window.location.pathname)}},{key:"reloadPage",value:function e(){window.location.reload()}},{key:"reloadPageWithForceParam",value:function e(t){window.location+="?force=".concat(t)}},{key:"getCurrentPath",value:function e(){return window.location.pathname}},{key:"getCurrentUrlHostWithProtocol",value:function e(){return"".concat(window.location.origin)}},{key:"getCurrentUrl",value:function e(){return"".concat(this.getCurrentUrlHostWithProtocol()).concat(this.getCurrentPath())}},
1843{key:"createLinkWithParams",value:function e(t,n){var i="".concat(t,"?"),r=o(n),a;try{for(r.s();!(a=r.n()).done;){var s=a.value;i+="".concat(s.getName(),"=").concat(s.getValue(),"&")}}catch(e){r.e(e)}finally{r.f()}return i}},{key:"getHostWithProtocolFromUrl",value:function e(t){return(new URL(t)).origin}},{key:"getHashParamForPanel",value:function e(){var t=com.webwave.utils.location.locationService.getHash();return""===t&&(t=webwave.utils.getGETparam("hash")),t}},{key:"getAllGetParams",value:function e(){var t=
1844new URLSearchParams(window.location.search);return Object.fromEntries(t.entries())}}]),t}();com.webwave.utils.location.locationService=new s}()},976:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(990),o=n(1213),s=n(1325),u=n(1326),c=n(1327),l=n(1328),d=n(262),h=n(1282),f=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.update(t)}return Object(r.a)(e,[{key:"clean",value:function e(){this._name=void 0,this.description=
1845void 0,this.key1=void 0,this.key2=void 0,this.key3=void 0,this._valid=!1,this.thumbnailId=void 0,this.thumbnailUrl=void 0}},{key:"equals",value:function t(n){return n instanceof e!=!1&&(this.uniqueId===n.uniqueId&&this.name===n.name&&this.isTestMode()===n.isTestMode())}},{key:"name",get:function e(){return webwave.isStringAndNotEmpty(this._name)?this._name:webwave.isDef(this._paymentProvider)?i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider)):
1846void 0}},{key:"paymentMethodName",get:function e(){return webwave.isStringAndNotEmpty(this._name)?this._name:webwave.isDef(this._paymentProvider)?i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider)):void 0}},{key:"isPaymentMethodIntegration",get:function e(){return!(!webwave.isDef(this._paymentProvider)||this._paymentProvider===d.a.ON_DELIVERY||this._paymentProvider===d.a.TRADITIONAL_TRANSFER)}},{key:"paymentOnDeliveryEnable",
1847get:function e(){return this._paymentProvider===d.a.ON_DELIVERY||void 0===this._paymentProvider}},{key:"paymentProvider",get:function e(){return this._paymentProvider}},{key:"isP24",value:function e(){return this._paymentProvider===d.a.PRZELEWY24}},{key:"paymentConfigurationReferralLink",value:function e(){return[d.a.AUTOPAY,d.a.PRZELEWY24].includes(this._paymentProvider)}},{key:"isTestMode",value:function e(){return webwave.isDef(this._testMode)?this._testMode:!1===(webwave.isStringAndNotEmpty(this.key2)&&
1848webwave.isStringAndNotEmpty(this.key1))}},{key:"paymentIntegrationExists",value:function e(t){return this.paymentProvider===t&&!0===this.isPaymentMethodIntegration}},{key:"setPaymentProvider",value:function e(t){this._providerChanged(t)&&(this.clean(),this._paymentProvider=t,this._val
1848id=this._getIsValid())}},{key:"serialize",value:function e(){var t;return{id:!0===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).disableDBIndexSerialize?void 0:this.id,name:this._name,key1:this.key1,key2:this.key2,
1849key3:this.key3,valid:this._valid,paymentProvider:this._paymentProvider,paymentOnDeliveryEnable:this.paymentOnDeliveryEnable,uniqueId:this.uniqueId,description:this.description,thumbnailId:this.thumbnailId,thumbnailUrl:this.thumbnailUrl}}},{key:"getDataToOrder",value:function e(){return{paymentMethodId:this.uniqueId}}},{key:"paymentMethodAvailableForCurrency",value:function e(t){var n=c.a.AVAILABLE_CURRENCIES;switch(this.paymentProvider){case d.a.TRADITIONAL_TRANSFER:case d.a.ON_DELIVERY:return!0;
1850case d.a.PRZELEWY24:n=c.a.AVAILABLE_CURRENCIES;break;case d.a.PAYPAL:n=l.a.AVAILABLE_CURRENCIES;break;case d.a.STRIPE:n=h.a.AVAILABLE_CURRENCIES;break;case d.a.AUTOPAY:n=s.a.AVAILABLE_CURRENCIES;break;case d.a.NETOPIA:n=u.a.AVAILABLE_CURRENCIES;break}return!0===n.includes(t)}},{key:"setValid",value:function e(t){this._valid=t}},{key:"isNotValid",value:function e(){return!0!==this._valid}},{key:"setDeleted",value:function e(){this.deleted=!0}},{key:"update",value:function e(t){this.id=t.id,this.key1=
1851t?t.key1:void 0,this.key2=t?t.key2:void 0,this.key3=t?t.key3:void 0,this._paymentProvider=t?t.paymentProvider:void 0,this._valid=t?this._getIsValid(t.valid):void 0,this._testMode=t.testMode,this._name=t?this._getOrLoadDefaultName(t.name):void 0,this.uniqueId=this._isUniqueIdSet(t)?t.uniqueId:Object(a.a)(),this.description=t?this._getOrLoadDefaultDescription(t.description):void 0,this.deleted=!1,this.thumbnailId=t.thumbnailId,this.thumbnailUrl=t.thumbnailUrl}},{key:"_getOrLoadDefaultDescription",value:function e(t){if(webwave.isStringAndNotEmpty(t))return t;
1852if(!1===this.isPaymentMethodIntegration){var n="shop.com.webwave.gui.onlineStore.orderPopup.paymentOption.notDefinedInfo.beforeOrder";return i18n.t(n)}}},{key:"_getIsValid",value:function e(t){switch(this._paymentProvider){case d.a.DOT_PAY:return!(!this.key2||!this.key1);default:return!!t||!(!this.key2||!this.key1)}}},{key:"_getOrLoadDefaultName",value:function e(t){return webwave.isStringAndNotEmpty(t)?t:webwave.isDef(this._paymentProvider)?i18n.t("shop.com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider)):
1853void 0}},{key:"_isUniqueIdSet",value:function e(t){return webwave.isDef(t)&&webwave.isDefAndNotNull(t.uniqueId)}},{key:"_providerChanged",value:function e(t){return this._paymentProvider!==t}},{key:"getSelectOptions",value:function e(t){return[(new o.a(this,t.getTranslate("online"))).getMap()]}},{key:"checkUniqueId",value:function e(t){return this.uniqueId===t}},{key:"getIdForPaymentOptionSelector",value:function e(){return this.uniqueId}},{key:"getUniqueIdForVariant",value:function e(t){return this.getIdForPaymentOptionSelector()}}]),
1854e}()},979:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"update",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._id=t.id,this._deleted=t.deleted}},{key:"serialize",value:function e(){return{id:this._id,deleted:this._deleted}}},{key:"isExpired",value:function e(){return!1}},{key:"setDeleted",value:function e(t){this._deleted=t}},{key:"deleted",get:function e(){return this._deleted},
1855set:function e(t){this._deleted=t}},{key:"id",get:function e(){return this._id},set:function e(t){this._id=t}}]),e}()},982:function(e,t,n){var i=n(42),r=n(14),a=n(80),o=n(873),s=n(986);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),
1856!0).forEach(function(t){Object(r.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEac
1856h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}webwave.provide("webwave.utils"),webwave.utils=function(){var e=function e(t){return t.returnValue=i18n.t("confirmToQuitText"),t},t={URL_NAME:"url",DATA_PARAMS:"data",ERROR_CODE:"600",SUCCESS_CODE:"200"},n=[o.a.REQUEST_TIMEOUT,o.a.INTERNAL_SERVER_ERROR,
1857o.a.BAD_GATEWAY,o.a.SERVICE_UNAVAILABLE,o.a.GATEWAY_TIMEOUT],r=1024,u=1048576,l=null;function d(e){l=e}function h(e,t){for(var n=e.length-1;n>=0;n--)e[n]==t&&e.splice(n,1)}function f(e,t){for(var n=e.length-1;n>=0;n--)-1==t.indexOf(e[n])&&e.splice(n,1)}function v(e){}function g(e,i,r){var o=!0!==e.urlIsAbsolute?"".concat(l.getPathForAjax()).concat(e.url):e.url;return!0!==e.noLoadingBox&&loadingBoxService.showLoadingBox({noScrollDisable:e.noScrollDisable,solidBackground:e.solidBackground}),new Promise(function(u,
1858d){var h;(new s.a(c(c({},e),{},{url:o,success:function n(a,o,s){if(!0!==e.noLoadingBox&&loadingBoxService.hideLoadingBox({unlockPagearea:!1,noBodyScrollRevert:e.noScrollDisable}),a==t.ERROR_CODE)popupService.showUnexpectedErrorWarning(),d(a);else if(1==a.failure)if(!0!==e.noErrorPopup){var c="string"==typeof a.title?a.title:i18n.t("popupService.unexpectedErrorTitle");if("string"==typeof a.html)popupService.showHtmlPopup({html:a.html,title:c,position:e.position},function(){webwave.isFunction(r)&&r(a),
1859d(a)});else{var l="string"==typeof a.msg?a.msg:i18n.t("popupService.unexpectedErrorText");popupService.showDialogInformation({html:l,title:c,position:e.position},function(){webwave.isFunction(r)&&r(a),d(a)})}}else webwave.isFunction(r)&&r(a,o,s),d(a);else webwave.isFunction(i)&&i(a,o,s),u(a)},error:function t(i,o,s){if(!0!==e.noLoadingBox&&loadingBoxService.hideLoadingBox({unlockPagearea:!1,noBodyScrollRevert:e.noScrollDisable}),401===i.status){var u={text:i18n.t("userLoggedOut.desc"),title:i18n.t("userLoggedOut.title")};
1860popupService.showDialogInformation(u,function(){loadingBoxService.showLoadingBox({noScrollDisable:e.noScrollDisable}),window.location.href=l.getPathForAjax()+"/?login=true"})}else 403===i.status?popupService.showDialogInformationError({title:i18n.t("forbiddenAction.title"),text:i18n.t("forbiddenAction.desc"),errorReason:a.a.AJAX_FORBIDDEN_403,httpStatus:i.status}):n.indexOf(i.status)>-1?popupService.showDialogInformationWarning({title:i18n.t("connectionError.title",{statusCode:i.status}),text:i18n.t("connectionError.text"),
1861yesLabel:i18n.t("connectionError.yesLabel"),onYes:function e(){window.location.reload()}}):!0!==e.noErrorPopup&&popupService.showUnexpectedErrorWarning();401===i.status&&!0!==e.resolveFailOnUnathorizedError||(webwave.isFunction(r)&&r(i,o,s),d(i))}}))).send()})}function p(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function y(e,t){var n=function e(){this.contentWindow.location.reload(!0),this.removeEventListener("load",e,!1),this.parentElement.removeChild(this),"function"==typeof t&&
1862t()},i=document.createElement("iframe");i.style.position="fixed",i.style.left="-10000px",i.style.top="-10000px",i.addEventListener("load",n,!1),i.addEventListener("error",t,!1),i.src=e,document.body.appendChild(i)}function b(){var e,t;return(new Error("stackTrace")).stack}function m(e){return"object"===Object(i.a)(e)&&null!==e&&"number"==typeof e.length}function w(e){return"number"==typeof e?e/u:0}function S(e){var t=!1,n=e.val().toString().trim().toLowerCase();if(stringUtils.isValidEmail(n))e.removeClass("error"),
1863t=!0;else{e.addClass("error");var i=webwave.utils.getInputErrorField(e);""===n?i.text(i18n.t("stringUtils.email.errors.cantBeEmpty")):i.text(i18n.t("stringUtils.email.errors.invalidSyntax"))}return t}function O(e){var t=!0,n=e.val();if(stringUtils.isValidPassword(n,stringUtils.passwordTypes.SIMPLE))e.removeClass("error");else{var i=webwave.utils.getInputErrorField(e);e.addClass("error"),t=!1,i.text(i18n.t("stringUtils.password.errors.requirementsNotMet")),stringUtils.isValidPassword(n,stringUtils.passwordTypes.SIMPLE_WITHOUT_RESTRICTIONS)&&
1864i.text(i18n.t("stringUtils.password.errors.invalidCharacters"))}return t}function _(e){return e.siblings(".errorField").first()}function k(){return $("#webmasterFAId").val()}
1864function P(e){var t="string"==typeof e.stack?e.stack:void 0;return{name:e.name,message:e.message,stack:t}}function A(e,t,n,i){for(var r=performance.now(),a=0;a<e;a++)t.apply(n,i);var o;return performance.now()-r}function E(){var e=window.location.toString();e.indexOf("?")>0&&(e=e.substring(0,e.indexOf("?")),window.history.replaceState({},
1865document.title,e))}function C(e){for(var t,n=window.location.search.substr(1).split("&"),i={},r=0;r<n.length;r++){var a=n[r].split("=");i[a[0]]=a[1]}return i[e]}function I(e){var t=document.createElement("textarea");document.body.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),document.body.removeChild(t)}function T(){return screen.width+"x"+screen.height}function N(){window.addEventListener("beforeunload",e)}function D(){window.removeEventListener("beforeunload",e)}function j(e){var t=
1866document.getElementById(e);if(webwave.isDefAndNotNull(t))return t.getAttribute("value")}return{ajaxCallParams:t,bytesToMegabytes:w,filterArrayByArray:f,getCurrentStackTrace:b,getObjectKeys:p,isArrayLike:m,makeAjxaCall:g,refreshUri:y,removeFromArray:h,validateEmail:S,validatePassword:O,getInputErrorField:_,getLoggedWebmasterId:k,serializeError:P,getExecutionSpeed:A,removeGetParamsFromUrl:E,getGETparam:C,setEnvironmentUtils:d,getScreenResolution:T,copyToClipboard:I,addBeforeUnloadFunction:N,removeBeforeUnloadFunction:D,
1867getValueFromInput:j}}()},986:function(e,t,n){n.d(t,"a",function(){return u});var i=n(14),r=n(0),a=n(1);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?
1868Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(r.a)(this,e),this.autoRetryCodes=[0,401,403],this.jQAjaxOptions={url:t.url,data:t.data,type:webwave.isDef(t.type)?t.type:e.DefaultJqAjaxSettings.type,async:webwave.isDef(t.async)?t.async:e.DefaultJqAjaxSettings.async,processData:webwave.isDef(t.processData)?
1869t.processData:e.DefaultJqAjaxSettings.processData,cache:webwave.isDef(t.cache)?t.cache:e.DefaultJqAjaxSettings.cache,contentType:webwave.isDef(t.contentType)?t.contentType:e.DefaultJqAjaxSettings.contentType},this.callbacks={error:t.error,success:t.success},this.retryState=e._generateRetryState(t)}return Object(a.a)(e,[{key:"_handleRealSuccess",value:function e(t,n,i){this.callbacks.success.call(this.callbacks.success,t,n,i)}},{key:"_handleRealError",value:function e(t,n,i){this.callbacks.error.call(this.callbacks.error,
1870t,n,i)}},{key:"_handleError",value:function e(t,n,i){var r=this,a=null===t||void 0===t?void 0:t.status;(!0===this.retryState.retryOnError||this.autoRetryCodes.includes(a))&&this.retryState.count<this.retryState.retryLimit?(this.retryState.count+=1,!0===this.jQAjaxOptions.async?setTimeout(function(){r.send()},this.retryState.retryDelay):this.send()):this._handleRealError(t,n,i)}},{key:"send",value:function e(){var t=this;$.ajax(s(s({},this.jQAjaxOptions),{},{success:function e(n,i,r){!0===n.ajaxAutoLoginRequest?
1871t._handleError({status:403,text:"session expired but redirect login is successfull"},"session expired but redirect login is successfull"):t._handleRealSuccess(n,i,r)},error:function e(n,i,r){t._handleError(n,i,r)}}))}}],[{key:"_generateRetryState",value:function e(t){return{retryOnError:!0===t.retryOnError,count:0,retryLimit:webwave.isNumberAndNotNaN(t.retryLimit)?t.retryLimit:2,retryDelay:webwave.isNumberAndNotNaN(t.retryDelay)?t.retryDelay:2E3,lastErrorData:{}}}}]),e}();u.DefaultJqAjaxSettings=
1872{type:"post",async:!0,data:{},processData:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",cache:!0}},990:function(e,t,n){t.a=function(){return"$".concat(Math.random().toString(36).slice(2,10))}},991:function(e,t,n){var i,r={CUSTOM:"custom",INPOST_EASYPACK:"inpostEasypack",ELECTRONIC:"electronic",SELF_PICKUP:"selfPickup",FURGONETKA:"Furgonetka"};n(10).TranslationPrefix.addTranslationPrefix(r,"com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.postageOption.postageType"),
1873t.a=r}});var process=process||{env:{NODE_ENV:"development"}};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.