1//# sourceMappingURL=objectAnimationModule.js.map 2var process=process||{env:{NODE_ENV:"development"}}; 3!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=6799)}({0:function(e,t,n){function i(e,t){if(!(e instanceof 4t))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", 5function(){return Qe}),n.d(t,"ApiResponse",function(){return it}),n.d(t,"ArrayUtils",function(){return T}),n.d(t,"AsyncSemaphore",function(){return _}),n.d(t,"AsyncUtils",function(){return N}),n.d(t,"AutopayAvailableCurrencies",function(){return Ke}),n.d(t,"AutopayRecurringActions",function(){return Ze}),n.d(t,"AutopayUtils",function(){return qe}),n.d(t,"CardPaymentTypes",function(){return Je}),n.d(t,"Color",function(){return R}),n.d(t,"ColorUtils",function(){return M}),n.d(t,"Config",function(){return x}), 6n.d(t,"ContentTypes",function(){return et}),n.d(t,"Currency",function(){return H}),n.d(t,"DateUtils",function(){return B}),n.d(t,"DecimalSeparators",function(){return W}),n.d(t,"DelayedThrottler",function(){return z}),n.d(t,"Direction2D",function(){return Y}),n.d(t,"DomUtils",function(){return G}),n.d(t,"EnumUtils",function(){return y}),n.d(t,"Environment",function(){return Z}),n.d(t,"Environments",function(){return X}),n.d(t,"FileUtils",function(){return q}),n.d(t,"HtmlUtils",function(){return L}), 7n.d(t,"HttpMethods",function(){return tt}),n.d(t,"HttpStatus",function(){return v}),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 ce}),n.d(t,"ObjectComparators", 8function(){return ue}),n.d(t,"ObjectUtils",function(){return le}),n.d(t,"Orientation2D",function(){return fe}),n.d(t,"PanelTypes",function(){return he}),n.d(t,"Point2D",function(){return de}),n.d(t,"RegexTypes",function(){return me}),n.d(t,"RequestUtils",function(){return p}),n.d(t,"Resize",function(){return ye}),n.d(t,"SingleActionThrottler",function(){return ve}),n.d(t,"Size2D",function(){return ge}),n.d(t,"SliderInputReturnTypes",function(){return Q}),n.d(t,"SortArrayOfObjects",function(){return pe}), 9n.d(t,"StoreUtils",function(){return be}),n.d(t,"StringUtils",function(){return ze}),n.d(t,"TranslationPrefix",function(){return w}),n.d(t,"UrlParam",function(){return Ye}),n.d(t,"VariableUtils",function(){return Ge}),n.d(t,"VueUtils",function(){return Xe}),n.d(t,"buildFormData",function(){return ct}),n.d(t,"createApiClient",function(){return ft}),n.d(t,"generateApiUrl",function(){return at}),n.d(t,"getFullUrl",function(){return ot}),n.d(t,"parseCSSColor",function(){return C}),n.d(t,"parseHeaders", 10function(){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,c=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&u(e,n,t[n]);if(o)for(var n of o(t))c.call(t,n)&&u(e,n,t[n]);return e},f=(e,t,n)=>u(e,"symbol"!=typeof t?t+"":t,n),h=(e,t,n)=>new Promise((i,r)=>{var a= 11e=>
11{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 d="autoSorting",m=e=>{Object.defineProperty(e,d,{value:!0,enumerable:!1})},y=Object.freeze(Object.defineProperty({__proto__:null,AUTO_SORTING:d,addTranslationSorting:m},Symbol.toStringTag,{value:"Module"})),v={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, 12BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},g=e=>parseInt(e)===v.OK,p=Object.freeze(Object.defineProperty({__proto__:null,isHttpStringStatusOK:g},Symbol.toStringTag,{value:"Module"})),b="_translationPrefix",S="_translationSuffix",O=(e,t,n)=>{Object.defineProperty(e,b,{value:t,enumerable:!1}),i.default.isDefAndNotNull(n)&&Object.defineProperty(e,S,{value:n,enumerable:!1})},A=(e,t,n)=>i.default.isDefAndNotNull(n)&&i18n.exists(`${e[b]}.${t}.${n}`)?i18n.t(`${e[b]}.${t}.${n}`):i18n.t(`${e[b]}.${t}`), 13w=Object.freeze(Object.defineProperty({__proto__:null,TRANSLATION_PREFIX_KEY:b,TRANSLATION_SUFFIX_KEY:S,addTranslationPrefix:O,translateEnumValue:A},Symbol.toStringTag,{value:"Module"}));class T{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=== 14i.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)&& 15r)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> 16r)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=> 17!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);T.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)? 18e.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)=>e?`${e}, "${t}"`:`"${t}"`,"")}static mapToIdsArray(e){let t=[];return i.default.isArrayLike(e)&&e.length>0&&(t=e.map(e=> 19e.getId())),t}}
19class _{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 N{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, 20onError:s}){e&&e();let c=Date.now(),u=null,l=!1;for(;!0!==l;){try{if(null!==(u=yield n())){l=!0;break}}catch(e){if(s&&(u=s(e)),!0===t)return l=!0,i&&i(),u}yield N.sleep(a),Date.now()-c>r&&(l=!0,u=o?yield o():null)}return i&&i(),u})}}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, 2143,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, 2250,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, 23215,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, 24211,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, 25219,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, 261],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, 27206,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 I(e){return(e=Math.round(e))<0?0:e>255?255:e}function k(e){return e<0?0:e>1?1:e} 28function D(e){return"%"===e[e.length-1]?I(parseFloat(e)/100*255):I(parseInt(e))}function P(e){return"%"===e[e.length-1]?k(parseFloat(e)/100):k(parseFloat(e))}function j(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 C(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&& 29(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,c,u,l;switch(e){case "rgba":if(4!==n.length)return null;a=P(n.pop());case "rgb":return 3!==n.length?null:[D(n[0]),D(n[1]),D(n[2]),a];case "hsla":if(4!==n.length)return null;a=P(n.pop());case "hsl":return 3!==n.length?null:(o=(parseFloat(n[0])%360+360)%360/360,s=P(n[1]),[I(255*j(u=2* 30(c=P(n[2]))-(l=c<=.5?c*(s+1):c+s-c*s),l,o+1/3)),I(255*j(u,l,o)),I(255*j(u,l,o-1/3)),a]);default:return null}}return null}void 0!==e&&e.exports&&(exports.parseCSSColor=C);class R{constructor(e){if(this.r=0,this.g=0,this.b=0,this.a=0,i.default.isString(e)){let t=C(e);
30null!==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)&& 31(this.a=e.a))}toRgbaString(){return`rgba(${this.r}, ${this.g}, ${this.b}, ${this.a})`}toRgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`}subtract(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)? 32e="#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, 3316)},${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)); 34let 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),c=s?o===t?(n-r)/s:o===n?2+(r-t)/s:4+(t-n)/s:0;return{H:60*c<0?60*c+360:60*c,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()), 35this.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 M{static rgbaOrRgb2hexAndOpacity(e){let t,n,r,a={hex:"#000000",opacity:1},o=e=>{let t=parseInt(e);return Number.isNaN(t)?"00": 36(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= 37o(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===M.rgbaOrRgb2hexAndOpacity(e).opacity}static isTransparentOrSomeLevelOfTransparency(e){return"transparent"===e||M.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*\)/, 38(r=e.match(n))&&4===r.length?(a={r:parseInt(r[1]),g:parseInt(r[2]),b:parseInt(r[3])},M.rgbObjectAndOpacityToRgbaString(a,t)):"rgba(0,0,0,1)"}static isColorStartWithRgbPhrase(e){return M.isColorStartWithAnyOfPhrase(e,["rgb"])}static isColorStartWithVarPhrase(e){return M.isColorStartWithAnyOfPhrase(e,["var"])}static isColorStartWithAnyOfPhrase(e,t){return t.some(t=>e.startsWith(t))}static isValueContainGradientOrIconPhrase(e){return e.indexOf("gradient")>-1||M.isValueContainsIconPhrase(e)}static isValueContainsIconPhrase(e){return e.indexOf("ww_icon")> 39-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(${`${M.generateRandomColor(0,255)}`}, ${`${M.generateRandomColor(0, 40255)}`}, ${`${M.generateRandomColor(0,255)}`})`}static generateRandomColor(e,t){return Math.round(Math.random()*(t-e)+e)}}const F=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, 41a)}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> </p>"}static getTextContentWithoutRedundantNewLines(e, 42t={}){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> </div>":`<div>${e}</div>`)).join("")}return e}static isPlainText(e){return!1!==i.default.isStringAndNotEmpty(e)&&!/<[^>]*>/.test(e)}};f(F,"htmlToElements",e=>{let t=document.createElement("template");return t.innerHTML=e.trim(),t.content.childNodes}), 43f(F,"multipleNewLineCharRegex",/(\n)((\s)*(\n))+/g);let L=F;class x{static setWindowConfigValue(e,t){x.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;
43e++)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; 44a=a[r[e]]}return a}return null}static getDecodedJSON(e){let t=L.decodeHtml(x.getValue(e));return i.default.isValidJSON(t)?JSON.parse(t):{}}static isValueExists(e,t){return i.default.isDef(x.getValue(e,t))}}const H={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", 45CRC:"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", 46MUR:"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", 47XAF:"XAF",XCD:"XCD",XOF:"XOF",XPF:"XPF",YER:"YER",ZAR:"ZAR",ZMW:"ZMW"},U=(e,t)=>`${1E15+e}`.slice(-2),V=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(),c=U(t.getFullYear()),u=t.getHours(),l=t.getMinutes(),f=t.getSeconds(),h=t.getMilliseconds(), 48d;switch(n){case "dd/mm/yyyy":d=`${U(a)}/${U(o)}/${s}`;break;case "dd.mm.yyyy":d=`${U(a)}.${U(o)}.${s}`;break;case "dd/mm/yy":d=`${U(a)}/${U(o)}/${c}`;break;case "yyyy/mm/dd":d=`${s}/${U(o)}/${U(a)}`;break;case "yy/mm/dd":d=`${c}/${U(o)}/${U(a)}`;break;case "d mmmm yyyy":d=`${a} ${e.getMonthNameByLanguage(o,i)} ${s}`;break;case "dd mmmm yyyy":d=`${U(a)} ${e.getMonthNameByLanguage(o,i)} ${s}`;break;case "dd.mm.yyyy hh:mm":d=`${U(a)}.${U(o)}.${s} ${U(u)}:${U(l)}`;break;case "dd-mm-yyyy":d=`${U(a)}-${U(o)}-${s}`; 49break;case e.availableFormats.DATA_RANGE_FILTER_DATE_FORMAT:d=`${s}-${U(o)}-${U(a)}`;break;case e.availableFormats.DATE_PICKER_DATE_TIME_FORMAT:d=`${U(a)}-${U(o)}-${s} ${U(u)}:${U(l)}`;break;case e.availableFormats.INPUT_DATE_TIME_FORMAT:d=`${s}-${U(o)}-${U(a)}T${U(u)}:${U(l)}`;break;case e.availableFormats.ISO_8601_FORMAT:d=`${s}-${U(o)}-${U(a)}T${U(u)}:${U(l)}:${U(f)}Z`;break;case e.availableFormats.yyyymmdd:d=s+U(o)+U(a);break;case e.availableFormats.WERBWAVE_BACKEND_BINDING:d=`${s}-${U(o)}-${U(a)} ${U(u)}:${U(l)}:${U(f)}.${U(h)}`; 50break;case e.availableFormats.FULL_TIME:d=`${U(u)}:${U(l)}:${U(f)}`;break;case e.availableFormats.STORE_ORDER_DATE:d=`${s}-${U(o)}-${U(a)} ${U(u)}:${U(l)}`;break;default:r.a.error(`Nieznany format daty! ('${n}')`),d=`${a}/${o}/${s}`;break}return d}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= 51e.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), 52e}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,c,u,l,f,h;switch(n){case "dd-mm-yyyy":a=(f=t.split("-"))[0],o=f[1],s=e.convertYearToClose
52stCentury(parseInt(f[2]));break;case e.availableFormats.DATE_PICKER_DATE_TIME_FORMAT:a=(f=null==(i=(l=t.split(" "))[0])?void 0:i.split("-"))[0],o=f[1],s=e.convertYearToClosestCentury(parseInt(f[2])),(h=null==(r=l[1])?void 0:r.split(":"))&&(c=h[0],u=h[1]);break}return c&&u?new Date(s, 53o-1,a,c,u):new Date(s,o-1,a)}};f(V,"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", 54DATA_RANGE_FILTER_DATE_FORMAT:"yyyy-mm-dd",SHORT_ISO_DATE:"yy-mm-dd"}),f(V,"DAY_IN_MILLIS",864E5);let B=V;const W=Object.freeze({DEFAULT:"",DOT:".",COMMA:",",EMPTY:""}),$=300;class z{constructor(e={}){this._delay=i.default.isNumberAndNotNaN(e.delay)&&e.delay>0?e.delay:$,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), 55this._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 G{static copyToClipboard(e){return h(this,null,function*(){if(i.default.isNotDefOrNull(e))return!1;if(navigator.clipboard&& 56window.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", 57PRE_PRODUCTION:"pre_production",QUALITY_ASSURANCE:"quality_assurance",PRODUCTION:"production"};let K;class Z{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!== 58X.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)}}Z.readEnv();class q{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", 59a:"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", 60alignVertical:"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", 61deltaIndicatorPositiveRange:"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", 62imgMenu:"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", 63objectHelp:"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", 64productfeed:"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", 65timelineSuccess:"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": 66n}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, 67K7: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
67: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= 68(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, 69t){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]))/ 70oe.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, 71t)=>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]= 72e=>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!== 73navigator.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(); 74i.default.isArrayLike(e)&&e.length>0&&window.location.reload()}})}}const ce={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)=>
74i.default.isNumberAndNotNaN(t)?e-e*(t/100):e,calculateTaxValue:(e,t)=>parseFloat(e*(t/100)),convertIntegerToFloat:e=>e/100,convertFloatToInteger:e=> 75Math.round(100*e)};class ue{static ignoreCaseTextComparator(e,t){let n=null==e?void 0:e.toLowerCase(),i=null==t?void 0:t.toLowerCase();return ue.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= 76!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= 77t[i];e.hasOwnProperty(r)&&(n[r]=e[r])}return n}}const fe={HORIZONTAL:"horizontal",VERTICAL:"vertical"},he={CLASSIC:"classic",NEW:"new"};O(he,"com.webwave.panelSelector.panelTypes.versions");class de{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= 78e}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 de({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)? 79new de(0,0):new de(e.x,e.y)}static countDistance(e,t){return Math.sqrt(Math.abs(e.getX()-t.getX())*Math.abs(e.getY()-t.getY()))}}const me={NO_BREAK_SPACE:/\u00a0/g,ONLY_LETTERS:/[a-zA-Z]/g};class ye{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= 80e.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); 81break;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= 82e-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 ve{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)&& 83this.jobHandler(e)},this.timeoutDelay)}clean(){clearTimeout(this.timerId)}}class ge{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 ge({width:this.width,height:this.height})}serialize(){return{width:this.width,height:this.height}}equals(e){return this.width=== 84e.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= 85Math.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 de({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)}}ge.deserialize=e=>i.default.isNotDef(e)?new ge({width:0,height:0}):new ge(e); 86class pe{static stringAsc(e,t){return e.sort((e,n)=>ue.ignoreCaseTextComparator(e[t],n[t]))}static stringDesc(e,t){return e.sort((e,n)=>-1*ue.ignoreCaseTextComparator(e[t],n[t]))}static dateAsc(e,t){return e.sort((e,n)=>ue.defaultComparator(e[t],n[t]))}static dateDesc(e,t){return e.sort((e,n)=>-1*ue.defaultComparator(e[t],n[t]))}static numberAsc(e,t){return e.sort((e,n)=>ue.defaultComparator(e[t],n[t]))}static numberDesc(e,t){return e.sort((e,n)=>-1*ue.defaultComparator(e[t],n[t]))}}class be{static getValidTaxValue(e){let t= 87be.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}}
87function Se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oe={exports:{}},Ae,we,Te,_e,Ne,Ee;function Ie(){if(Ae)return Oe.exports; 88Ae=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);Oe.exports=function(){return e(t),t}}else{var n=new Array(16);Oe.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 Oe.exports}function ke(){if(Te)return we;Te=1;for(var e=[],t= 890;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 we=n}function De(){if(Ne)return _e;Ne=1;var e=Ie(),t=ke();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]| 90128,i)for(var s=0;s<16;++s)i[a+s]=o[s];return i||t(o)}return _e=n}const Pe=Se(De());let je=200,Ce=/^[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,Me=/^((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+[A-Za-z]{2,10}$/i,Fe=/^[0-9]{8,13}$/,Le=/^[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,}))$/,xe=/^(?=.*\d)(?=.*[a-zA-Z `\-=[\];'\\,./~!@#$%^&*()_+{}:"|<>?])([a-zA-Z0-9 `\-=[\];'\\,./~!@#$%^&*()_+{}:"|<>?]{8,})$/, 91He=/^(?=.*?\d)(?=.*?\D).{8,}/,Ue=/^.*$/i,Ve=/[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,Be={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},We,$e=RegExp(`[${["-","[","]","/","{","}","(",")","*","+","?",".","\\","^", 92"$","\\ ","|"].join("\\")}]`,"g");class ze{static generateRandomPasswordString(){let e=Math.random().toString(36).slice(-10);return!1===ze.isValidPassword(e,ze.passwordTypes.SIMPLE)?ze.generateRandomPasswordString():e}static isValidEmail(e){return"string"==typeof e&&e.length>0&&null!=e.match(Le)}static isValidEmailName(e){return"string"==typeof e&&e.length>0&&null!==e.match(Ce)}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, 93"")}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(Me)&&(t=!0),t}static checkIsValidPhone(e){let t=!1;return null!=e.match(Fe)&&(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, 94t){if("string"==typeof e&&e.length>4)switch(t){case ze.passwordTypes.SIMPLE:return null!==e.match(xe);case ze.passwordTypes.SIMPLE_WITHOUT_RESTRICTIONS:return null!==e.match(He);default:return null!==e.match(Ue)}return!1}static escapeStringForRegexp(e){return e.replace($e,"\\$&")}static isValidPolishStreetAddress(e){return"string"==typeof e&&Ve.test(e)}static isValidLength(e,t,n){return i.default.isDef(n)||(n=ze.fieldMinLength.EMPTY),e.length<=t&&e.length>n}static isValidMaxLength(e,t){return e.length<= 95t}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=>Be[e])}static removeHtml(e){return String(e).replace(/<\/?[^>]+(>|$)/g,"")}static normalizeTextForUrl(e){return i.default.isString(e)&&(e=e.toLowerCase(),e=ze.removeUnsafeCharactersFromTextForUrl(e),e=(e=ze.removeUnwantedCharactersFromTextForUrl(e)).replace(/[ \u00A0]/g,"-")),e}static normalizeTextForRefUrl(e){return i.default.isString(e)&&(e= 96(e=e.replace(/\s/g,"")).substring(0,254),!1===/([a-zA-Z-])+/g.test(e)&&(e=e.replace(/\d/g,"")),e=ze.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}
96static valueNonNumericChars(e){return me.ONLY_LETTERS.test(e)}static replaceExtensionInSrc(e,t){return i.default.isString(e)&&i.default.isString(t)&& 97(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===ze.checkIsValidUrl(e)){let t=`https://${e}`;if(ze.checkIsValidUrl(t))return t}return e}static updateOrAddParameterToUrl(e,t,n){let i=new RegExp(`([?&])${t}=.*?(&|$)`,"i"),r= 98-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 ze.isHeaderOnly(e)?ze.removeBoldFromHeader(e):ze.removeHeader(e)}static trimMarkdown(e){let t= 99/```(\w+)\s*([\s\S]*?)\s*```/,n=e.match(t);return n?n[2].trim():""}static trimMarkdownIfExists(e){return e.includes("```")?ze.trimMarkdown(e):e}static convertNaturalTextToCamelCase(e){let t=e.split(" "),n=t.shift();return(t=t.map(e=>ze.capitalizeFirstLetter(e))).unshift(n),t.join("")}static convertToVerticalText(e){return e.toString().split("").join("<br>")}static generateUUID(){return Pe()}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, 100t,n={}){return t.some(t=>ze.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,je-t))}static trimToLength(e,t){return i.default.isStringAndNotEmpty(e)?e.substring(0,Math.min(e.length, 101t)):e}static simplifyNewAddress(e){e=(e=(e=ze.truncateLink(e)).trim()).split("/");for(let t=0;t<e.length;t++)e[t]=ze.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; 102for(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())}}ze.passwordTypes={SIMPLE:"simple", 103SIMPLE_WITHOUT_RESTRICTIONS:"SIMPLE_WITHOUT_RESTRICTIONS",NORMAL:"normal"},ze.fieldMaxLength={NORMAL:255},ze.fieldMinLength={NORMAL:0,EMPTY:-1},window.stringUtils=ze;class Ye{constructor(e,t){this._name=e,this._value=t}getName(){return this._name}getValue(){return this._value}}class Ge{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=Ge.findVariablesValuesInString(e); 104return 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}.`:"",c=i.default.isStringAndNotEmpty(a.tooltipPrefix)?`${a.tooltipPrefix}.`:s,u=i.default.isStringAndNotEmpty(a.suffix)?`.${a.suffix}`:"",l=i.default.isStringAndNotEmpty(a.tooltipSuffix)?`.${a.tooltipSuffix}`:".tooltip",f=i.default.isArrayLike(e)? 105e:Object.values(e);for(let e=0;e<f.length;e++){let t=f[e],n=!0===a.withTooltip?i18n.t(`${c}${t}${l}`):void 0,i=!0===a.withId?t:void 0;o.push({value:t,label:i18n.t(`${s}${t}${u}`),id:i,tooltip:n})}return(!0===r.enableSort||!0===e.autoSorting)&&o.sort((e,t)=>
105e.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")|| 106!0!==e.config.silent&&r.a.warn("[Vue warn]: ",t,i)}}}const Ke={ZLOTY:"PLN"},Ze={INIT_WITH_PAYMENT:"INIT_WITH_PAYMENT",INIT_WITH_REFUND:"INIT_WITH_REFUND",AUTO:"AUTO",MANUAL:"MANUAL",DEACTIVATE:"DEACTIVATE"};class qe{static computeCardsGateHost(){return x.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; 107let 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, 108arguments,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; 109let 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= 110this.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}}f(qe,"NEW_WIDGET_SCRIPT_SUFFIX","/widget-new/widget-communication.min.js"), 111f(qe,"CARDS_GATE_HOST_PRODUCTION","https://cards.autopay.eu"),f(qe,"CARDS_GATE_HOST_TEST","https://testcards.autopay.eu"),f(qe,"EXAMPLE_AUTOPAY_URL","https://testcards.autopay.eu/widget-new/partner"),f(qe,"DEFAULT_AMOUNT",1.23);const Je={AUTOPAY_CREDIT_CARD:"autopay_credit_card",PAYLANE_CREDIT_CARD:"paylane_credit_card",STRIPE_CREDIT_CARD:"stripe_credit_card"};class Qe extends Error{constructor(e,t=null,n=null,i=null){super(e),this.name="ApiError",this.status=t,this.response=n,this.originalError= 112i,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, 113FORBIDDEN: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}
113getRawData(){return this.parsedData}getHeaders(){return this.headers}getHeader(e){return this.headers[e]|| 114null}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})): 115a.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://")? 116e:`http://${e}`:"",st=e=>{let t={};return e&&"function"==typeof e.forEach&&e.forEach((e,n)=>{t[n]=e}),t},ct=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},ut=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= 117this._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)|| 118!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, 119t,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);case 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= 120(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),c=l({},e.headers||{}),u=e.signal,f,h;return{method:t,isUnsafeMethod:n,fullUrl:`${this.baseUrl||""}${at(r,a)}`,preparedBody:this._prepareBody(o,s,c),headers:c,signal:u}}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, 121headers: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, 122arguments,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, 123url:e},t))})}};f(ut,"SAFE_HTTP_METHODS",[tt.GET,tt.HEAD,tt.OPTIONS]);let lt=ut;
123const ft=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"), 124FeedService: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"), 125ProductCounterService: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), 126r=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): 127n[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", 128value: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> </p>"}},{key:"getTextContentWithoutRedundantNewLines", 129value: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); 130return(n=n.map(function(e){return""===e?"<div> </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},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"); 131return e}t.a=i},119:function(e,t,n){var i={HORIZONTAL:"horizontal",VERTICAL:"vertical"};t.a=i},122: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, 132a.a)&&(this.unit=t)}},{key:"getValue",value:function e(){return this.value}},{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}}, 133{key:"equals",value:function e(t){return this.getUnit()===t.getUnit()&&this.getValue()===t.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), 134"px")}},{key:"parseLengthUnitString",value:function e(t){var n,i=String(t).match(/%|em|vh|vw/);return 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; 135return new e({value:!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).withoutRounding?Math.round(n):n,unit:a.a.PX})}}]),e}()},1224: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.propertyName=t.propertyName,this.template=t.template,this.noClear=t.noClear,this.startValues=t.startValues,this.finalValues=t.finalValues,this.valueDeltas=[];for(var n=0;n<this.finalValues.length;n++)this.valueDeltas.push(this.finalValues[n]- 136this.startValues[n])}
136return Object(r.a)(e,[{key:"generateStyleString",value:function e(t){for(var n=this.template,i=0;i<this.valueDeltas.length;i++)n=n.replace("${".concat(i,"}"),this.startValues[i]+this.valueDeltas[i]*t);return n}}]),e}()},1236:function(e,t,n){var i={LEFT:"left",CENTER:"center",RIGHT:"right"};t.a=i},1240:function(e,t,n){var i=n(14),r=n(2890),a=n(2891);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, 137t).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?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var c=s(s({},r.a),a.a);t.a=c},1244:function(e,t,n){var i=n(10),r=n(1543);t.a={BRAND:i.VariableUtils.createVariableById(r.a.BRAND), 138SECONDARY: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)}},1301:function(e,t,n){var i=n(210);t.a={DEFAULT_ANIMATION_TIME:300,DEFAULT_DIRECTION:i.a.TOP}},1303:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(1224),o=n(1719),s=n(1636),c=.5,u=0,l=200,f=o.a.SWING,h=0,d=function(){function e(t){Object(i.a)(this, 139e),webwave.isNotDef(t)&&(t={}),this._duration=webwave.isNumberAndNotNaN(t.duration)?t.duration:c,this._delay=webwave.isNumberAndNotNaN(t.delay)?t.delay:u,this._distance=webwave.isNumberAndNotNaN(t.distance)?t.distance:l,this._onlyOnce=!0===t.onlyOnce,this._easing=webwave.isDef(t.easing)?t.easing:f,this._startCondition=webwave.isValidEnumValue(t.startCondition,s.a)?t.startCondition:e.DEFAULT_START_CONDITION,this._startConditionDistance=webwave.isDef(t.startConditionDistance)?t.startConditionDistance: 140h}return Object(r.a)(e,[{key:"getDuration",value:function e(){return this._duration}},{key:"setDuration",value:function e(t){var n=this._getValidFloatValue(t);webwave.isDef(n)&&(this._duration=n)}},{key:"getDelay",value:function e(){return this._delay}},{key:"getDelayInMs",value:function e(){return 1E3*this._delay}},{key:"setDelay",value:function e(t){var n=this._getValidFloatValue(t);webwave.isDef(n)&&(this._delay=n)}},{key:"getDistance",value:function e(){return this._distance}},{key:"setDistance", 141value:function e(t){webwave.isString(t)&&(t=parseInt(t)),webwave.isNumberAndNotNaN(t)&&(this._distance=t)}},{key:"getOnlyOnce",value:function e(){return this._onlyOnce}},{key:"setOnlyOnce",value:function e(t){this._onlyOnce=!0===t}},{key:"getEasing",value:function e(){return this._easing}},{key:"setEasing",value:function e(t){this._easing=t}},{key:"getStartCondition",value:function e(){return this._startCondition}},{key:"setStartCondition",value:function e(t){this._startCondition=t}},{key:"getStartConditionDistance", 142value:function e(){return this._startConditionDistance}},{key:"setStartConditionDistance",value:function e(t){webwave.isString(t)&&(t=parseInt(t)),webwave.isNumberAndNotNaN(t)&&(this._startConditionDistance=t)}},{key:"serialize",value:function e(){return{duration:this._duration,delay:this._delay,distance:this._distance,onlyOnce:this._onlyOnce,easing:this._easing,startCondition:this._startCondition,startConditionDistance:this._startConditionDistance}}},{key:"getMapToCopyAnimationSettings",value:function e(){var t= 143this.serialize();return delete t.direction,t}},{key:"getAnimationPropsData",value:function e(t){return[]}},{key:"prepareAnimatableObjectForAnimation",value:function e(t){t.visibilities.setDuringAnimationVisibility(!0),t.getDomObject()[0].style.pointerEvents="none"}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){t.visibilities.setDuringAnimationVisibility(void 0),t.getDomObject()[0].style.pointerEvents=""}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"getType", 144value:function e(){}},{key:"_getValidFloatValue",value:function e(t){if(webwave.isString(t)&&"."!==t[t.length-1]&&(t=parseFloat(t)),webwave.isNumberAndNotNaN(t))return t}}]),e}();d.DEFAULT_START_CONDITION=s.a.TOP_VISIBLE},1336: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:"stripQuotesAndBackslashes",value:function e(t){return webwave.isDef(t)?t.replace(/["'\\]/g,""):""}}
144,{key:"stripBackgroundImageUrl", 145value:function e(t){return t.substring(4,t.length-1).toLowerCase()}},{key:"setCssPropertyForElement",value:function t(n,i,r){n.style[i]=e.tryToFixValueToBeAcceptableByDOMApi(i,r)}},{key:"tryToFixValueToBeAcceptableByDOMApi",value:function e(t,n){var i=n;return["left","right","top","bottom"].indexOf(t)>-1&&webwave.isNumberAndNotNaN(n)&&(i="".concat(i,"px")),i}},{key:"setCssPropertiesForElement",value:function t(n,i){for(var r in i)i.hasOwnProperty(r)&&e.setCssPropertyForElement(n,r,i[r])}},{key:"setCssPropertiesForElements", 146value:function t(n,i){for(var r=0;r<n.length;r++)e.setCssPropertiesForElement(n[r],i)}}]),e}()},137:function(e,t,n){n.d(t,"a",function(){return O});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 c(){return a}function u(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 f(...e){l(0)&&console.log(...e)}function h(...e){l(1)&&console.info(...e)}function d(...e){l(2)&& 147console.warn(...e)}function m(...e){l(3)&&console.error(...e)}function y(e,...t){l(0)&&console.log(e,...t)}function v(e){u(e)}function g(){return{enabled:a,level:o}}function p(e){s(e)}function b(){return c()}function S(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 O={debug:(...e)=>f(...e),info:(...e)=>h(...e),log:(...e)=>h(...e),warn:(...e)=>d(...e),error:(...e)=>m(...e),debugWithPrefix:(e,...t)=>y(e,...t),configure:{set:e=> 148v(e),get:()=>g(),setEnabled:e=>p(e),isEnabled:()=>b(),setLevel:e=>S(e)},LogLevel:r}},138:function(e,t,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, 149"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},14:function(e,t,n){function i(e,t,n){return t in e?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 u});var i=n(0),r=n(1),a=n(119),o=n(49),s=n(925),c=n(40),u=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this._position=new o.a(t.position),this._size=new c.a(t.size)}return Object(r.a)(e,[{key:"getSize",value:function e(){return this._size}}, 150{key:"setSize",value:function e(t){this._size=t}},{key:"getPosition",value:function e(){return this._position}},{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()}}, 151{key:"setX1",value:function e(t){var n=t-this.getPosition().getX();this.getSize().setWidth(this.getSize().getWidth()-n),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()- 152n),this.getPosition().setY(t)}},{key:"getY2",value:function e(){return this.getPosition().getY()+this.getSize().getHeight()}},{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()}}
152,{key:"setHeight",value:function e(t){this.getSize().setHeight(t)}},{key:"intersects", 153value:function e(t){return this.getX1()<=t.getX2()&&this.getX2()>=t.getX1()&&this.getY1()<=t.getY2()&&this.getY2()>=t.getY1()}},{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(); 154return 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(),t.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", 155value: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)||this.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()&& 156this.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,0)})}},{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", 157value: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())};return 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(), 158n.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",value: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()> 159t.getY2()}},{key:"isRectangleBelow",value:function e(t){return this.getY2()<t.getY1()}},{key:"isRectangleOnTheRight",value:function e(t){return this.getX2()<t.getX1()}},{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: 160s.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:this.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: 161s.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)&&(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()- 162t.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);break;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); 163function 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):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(e,t):void 0}}},1543:function(e,t,n){t.a={BRAND:"brand",SECONDARY:"secondary",COMPLEMENTARY:"complementary",FIRST_NEUTRAL:"neutral1",SECOND_NEUTRAL:"neutral2"}},1545:function(e,t,n){n.d(t,"a",function(){return s}); 164var 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",value:function e(t){this._startTime=t}},{key:"setCurrentTime",value:function e(t){this._currentTime=Math.min(t,this._duration), 165this._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}},{key:"start",value:function e(t){!1===this._started&&(this.setStartTime(t),this._started=!0,this._running=!0)}},{key:"isStarted", 166value: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}()},1573:function(e,t,n){var i={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",getOppositeDirection:function(e){switch(e){case i.TOP:return i.BOTTOM; 167case i.RIGHT:return i.LEFT;case i.BOTTOM:return i.TOP;case i.LEFT:return i.RIGHT}return e}};t.a=i},1606:function(e,t,n){t.a={DISABLED:"disabled",BASIC_KEN_BURNS:"basicKenBurns"}},1636:function(e,t,n){var i={TOP_VISIBLE:"topVisible",BOTTOM_VISIBLE:"bottomVisible",DISTANCE_FROM_TOP:"distanceFromTop"};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";function n(n){e.push(n),window.postMessage(t,"*")}function i(n){var i; 168n.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,Array.prototype.slice.call(arguments,1
168)))}},{key:"dequeue", 169value: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,t.args)}catch(e){webwave.log("error occured during Worker.dequeueSync", 170this,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},1693:function(e,t,n){t.a={DOM_POSITION:"domPosition",DOM_SIZE:"domSize"}},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"), 171AINewsGenerationService:Symbol.for("AINewsGenerationService"),AISectionGenerationService:Symbol.for("AISectionGenerationService"),AISeoWriterService:Symbol.for("AISeoWriterService"),AIWebsiteColorsService:Symbol.for("AIWebsiteColorsService"),AIWebsiteCookiesService:Symbol.for("AIWebsiteCookiesService"),AIWebsiteFontsService:Symbol.for("AIWebsiteFontsService"),AIWebsiteSeoService:Symbol.for("AIWebsiteSeoService"),AIWebsiteStoreService:Symbol.for("AIWebsiteStoreService"),AIWebsiteTranslationService:Symbol.for("AIWebsiteTranslationService"), 172AIWebsiteService:Symbol.for("AIWebsiteService"),AIWebsiteWObjectManager:Symbol.for("AIWebsiteWObjectManager"),AIWebsiteWPagesService:Symbol.for("AIWebsiteWPagesService"),AIWidgetService: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"), 173WebsiteDataStoreService:Symbol.for("WebsiteDataStoreService"),AutoSaveService:Symbol.for("AutoSaveService"),AutomaticImportService:Symbol.for("AutomaticImportService"),BackgroundMapCreatorService:Symbol.for("BackgroundMapCreatorService"),BackgroundParallaxService:Symbol.for("BackgroundParallaxService"),BackupService:Symbol.for("BackupService"),BasicFontService:Symbol.for("BasicFontService"),BrowserDetectService:Symbol.for("BrowserDetectService"),ButtonService:Symbol.for("ButtonService"),CKEditorOpenAI:Symbol.for("CKEditorOpenAI"), 174CarouselService:Symbol.for("CarouselService"),CheckoutIntegrationService:Symbol.for("CheckoutIntegrationService"),ClipboardService:Symbol.for("ClipboardService"),CommandService: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"), 175CoreService:Symbol.for("CoreService"),CreateAIWebsiteTemplateService:Symbol.for("CreateAIWebsiteTemplateService"),DatePickerService:Symbol.for("DatePickerService"),DispatchActionIcon:Symbol.for("DispatchActionIcon"),DownloadProtectionService:Symbol.for("DownloadProtectionService"),DropImageUpload:Symbol.for("DropImageUpload"),DuplicateService:Symbol.for("DuplicateService"),DynamicMenuService:Symbol.for("DynamicMenuService"),DropdownMenuItemFactory:Symbol.for("DropdownMenuItemFactory"),EditorControlsOverlayService:Symbol.for("EditorControlsOverlayService"), 176EditorMouseoverManager:Symbol.for("EditorMouseoverManager"),EditorRoleService: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"), 177FeedService:Symbol.for("FeedService"),FeedCategoryService:Symbol.for("FeedCategoryService"),FeedInnerElementFactory: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"), 178GalleryService:Symbol.for("GalleryService"),GeneralSettingsService:Symbol.for("GeneralSettingsService"),GoogleFontService:Symbol.for("GoogleFontService"),GoogleMapsService:Symbol.for("GoogleMapsService"),GradientService:Symbol.for("GradientService"),GroupService:Symbol.for("GroupService"),GuiEditorBaseShortcuts:Symbol.for("GuiEditorBaseShortcuts"),GuiModeService:Symbol.for("GuiModeService"),GuideService:Symbol.for("GuideService"),GuideStoreService:Symbol.for("GuideStoreService"),HeadCodeService:Symbol.for("HeadCodeService"), 179HeaderBoxService:Symbol.for("HeaderBoxService"),HtmlEditorService:Symbol.for("HtmlEditorService"),IdGeneratorService:Symbol.for("IdGeneratorService"),ImageBankService:Symbol.for("ImageBankService"),ImageEditorService:Symbol.for("ImageEditorService"),ImgService:Symbol.for("ImgService"),InfoboxService:Symbol.for("InfoboxService"),InitGUIService:Symbol.for("InitGUIService"),InnerElementControlsVisualiser:Symbol.for("InnerElementControlsVisualiser"),InnerElementService:Symbol.for("InnerElementService"), 180InpostEasyPackService:Symbol.for("InpostEasyPackService"),InteractionsService:Symbol.for("InteractionsService"),JsonUpgradeService:Symbol.for("JsonUpgradeService"),KenBurnsService:Symbol.for("KenBurnsService"),KeyboardService:Symbol.for("Ke
180yboardService"),LanguageService:Symbol.for("LanguageService"),LayerFooterButtonService:Symbol.for("LayerFooterButtonService"),LayerManager:Symbol.for("LayerManager"),LayerNodeFactory:Symbol.for("LayerNodeFactory"),LayerNodeService:Symbol.for("LayerNodeService"), 181LayerNodeStore:Symbol.for("LayerNodeStore"),LayerService:Symbol.for("LayerService"),LayerStackFactory: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"), 182MediaService:Symbol.for("MediaService"),MenuItemService:Symbol.for("MenuItemService"),MenuManagerService: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"), 183NavigationTopService:Symbol.for("NavigationTopService"),NavigationTopView:Symbol.for("NavigationTopView"),NewLanguageService:Symbol.for("NewLanguageService"),NewsCategoryManagerService:Symbol.for("NewsCategoryManagerService"),NewsManagerService:Symbol.for("NewsManagerService"),NewsCategoryService:Symbol.for("NewsCategoryService"),NewsLayoutManagerService:Symbol.for("NewsLayoutManagerService"),NewsLayoutService:Symbol.for("NewsLayoutService"),FeedPaginationService:Symbol.for("FeedPaginationService"), 184NewsService:Symbol.for("NewsService"),NewsfeedService:Symbol.for("NewsfeedService"),NotificationHeaderService: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"), 185ObjectRelationService:Symbol.for("ObjectRelationService"),ObjectService: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"), 186PaletteService:Symbol.for("PaletteService"),PaymentService:Symbol.for("PaymentService"),PhotoswipeService: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"), 187ProductCategoryStore:Symbol.for("ProductCategoryStore"),ProductDescriptionService:Symbol.for("ProductDescriptionService"),ProductLayoutService: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"), 188ProjectService:Symbol.for("ProjectService"),PublicationRestrictionService:Symbol.for("PublicationRestrictionService"),PublishService:Symbol.for("PublishService"),RelationManagerService:Symbol.for("RelationManagerService"),RwdPropertiesService:Symbol.for("RwdPropertiesService"),RwdService:Symbol.for("RwdService"),RwdSizeTransformerFactory:Symbol.for("RwdSizeTransformerFactory"),SalesmanagoEventService:Symbol.for("SalesmanagoEventService"),SchemaGeneratorService:Symbol.for("SchemaGeneratorService"), 189SchemaGeneratorFactory:Symbol.for("SchemaGeneratorFactory"),SchemaOrganizationGenerator:Symbol.for("SchemaOrganizationGenerator"),SchemaImageGenerator: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"), 190SchemaProductPageGenerator:Symbol.for("SchemaProductPageGenerator"),SchemaPageService:Symbol.for("SchemaPageService"),SchemaSettingsStore:Symbol.for("SchemaSettingsStore"),ScrollService:Symbol.for("ScrollService"),SectionIcons:Symbol.for("SectionIcons"),SectionModeService:Symbol.for("SectionModeService"),SeoAutomatonManagerService:Symbol.for("SeoAutomatonManagerService"),SeoAutomatonService:Symbol.for("SeoAutomatonService"),SeoCriterion
190Factory:Symbol.for("SeoCriterionFactory"),SeoElementFinder:Symbol.for("SeoElementFinder"), 191SeoSettingsPopupService:Symbol.for("SeoSettingsPopupService"),ShowPaymentPopupService:Symbol.for("ShowPaymentPopupService"),SimpleTextEditorService: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"), 192StoreP24PaymentProvider:Symbol.for("StoreP24PaymentProvider"),StorePayPalPaymentProvider:Symbol.for("StorePayPalPaymentProvider"),StoreAutoPayPaymentProvider: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"), 193StyleableComponentSelectorFactory:Symbol.for("StyleableComponentSelectorFactory"),StyleService: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"), 194UserChatService:Symbol.for("UserChatService"),UserFlowService:Symbol.for("UserFlowService"),UserFontService:Symbol.for("UserFontService"),UsersPopupService:Symbol.for("UsersPopupService"),VisibilityKnowledgeService:Symbol.for("VisibilityKnowledgeService"),WElementFactory:Symbol.for("WElementFactory"),WElementImageCropperFactory:Symbol.for("WElementImageCropperFactory"),WFooterFactory:Symbol.for("WFooterFactory"),WGroupFactory:Symbol.for("WGroupFactory"),WLayoutGroupFactory:Symbol.for("WLayoutGroupFactory"), 195WObjectComponentSelectorService:Symbol.for("WObjectComponentSelectorService"),WObjectControlsVisualiser: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"), 196WObjectSnapService:Symbol.for("WObjectSnapService"),WPageDuplicateService:Symbol.for("WPageDuplicateService"),WPageFactory:Symbol.for("WPageFactory"),WPageStore:Symbol.for("WPageStore"),WSectionFactory:Symbol.for("WSectionFactory"),WSectionService:Symbol.for("WSectionService"),WebmasterObjectLibraryService:Symbol.for("WebmasterObjectLibraryService"),WebmasterObjectService:Symbol.for("WebmasterObjectService"),WebpageBackgroun
196dService:Symbol.for("WebpageBackgroundService"),WebpageService:Symbol.for("WebpageService"), 197WebpageWithSectionsService:Symbol.for("WebpageWithSectionsService"),WebsiteColorPropertyFactory: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"), 198ZoomService:Symbol.for("ZoomService"),PagePanService:Symbol.for("PagePanService")}},1719:function(e,t,n){var i={SWING:"swing",LINEAR:"linear",EASE_IN:"ease-in",EASE_OUT:"ease-out",EASE_IN_OUT:"ease-in-out",BOUNCE_IN:"bounce-in",BOUNCE_OUT:"bounce-out",BOUNCE_IN_OUT:"bounce-in-out"};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),c=n(1545),u=n(1719);function l(e){var t=f();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor; 199r=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 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=webwave.isDef(e.easing)?e.easing:n.DEFAULT_EASING_FUNCTION, 200webwave.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(),webwave.isFunction(this._onComplete)&&this._onComplete()}}, 201{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}(c.a);h.DEFAULT_EASING_FUNCTION=u.a.SWING},1752:function(e,t,n){n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r}); 202var 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)}},1926:function(e,t,n){n.d(t,"a",function(){return y});var i=n(0),r=n(2318),a=n(3158), 203o=n(3001),s=n(3159),c=n(3002),u=n(3160),l=n(2596),f=n(3003),h=n(2892),d=n(3161),m=n(1240),y=function e(){Object(i.a)(this,e)};y.createObjectAnimationByMap=function(e){if(!webwave.isNotDef(e))switch(e.class){case "webwave.gui.animation.FadeInAnimation":return new o.a(e);break;case "webwave.gui.animation.FadeOutAnimation":return new s.a(e);break;case "webwave.gui.animation.FlyInAnimation":return new r.a(e);break;case "webwave.gui.animation.FlyOutAnimation":return new a.a(e);break;case "webwave.gui.animation.ExpandInAnimation":return new c.a(e); 204break;case "webwave.gui.animation.ExpandOutAnimation":return new u.a(e);break;case "webwave.gui.animation.FoldInAnimation":return new l.a(e);break;case "webwave.gui.animation.FoldOutAnimation":return new f.a(e);break;case "webwave.gui.animation.RevealAnimation":return new h.a(e);break;case "webwave.gui.animation.HideAnimation":return new d.a(e);break;default:return void webwave.debug('Error during animation deserialization! class:"'+e.class);break}},y.createNewObjectAnimationByTypeAndMap=function(e, 205t){switch(e){case m.a.FLY_IN:return new r.a(t);break;case m.a.FLY_OUT:return new a.a(t);break;case m.a.FADE_IN:return new o.a(t);break;case m.a.FADE_OUT:return new s.a(t);break;case m.a.EXPAND_IN:return new c.a(t);break;case m.a.EXPAND_OUT:return new u.a(t);break;case m.a.FOLD_IN:return new l.a(t);break;case m.a.FOLD_OUT:return new f.a(t);break;case m.a.REVEAL:return new h.a(t);break;case m.a.HIDE:return new d.a(t);break}}},1949:function(e,t,n){t.a={SHOW:"show",HIDE:"hide"}},1992:function(e,t,n){t.a=
206{HIDDEN:"hidden",VISIBLE:"visible",AUTO:"auto"}},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},2006:function(e,t,n){var i={SHOW_ELEMENT:"showElement",HIDE_ELEMENT:"hideElement"};t.a=i},2007:function(e,t,n){var i={DONT_HIDE:"dontHide",HIDE_WHEN:"hideWhen"};t.a=i},2008:function(e,t,n){var i={DONT_SHOW:"dontShow",SHOW_WHEN:"showWhen"};t.a=i},2009:function(e,t,n){t.a={START:"start",FINISH:"finish"}}, 2072032: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:"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}()},2059:function(e, 208t,n){n.d(t,"b",function(){return r}),n.d(t,"a",function(){return a});var i=n(34),r=function e(t){for(var n=Object(i.a)(t),r=[],a=function e(t){r=r.concat(t)},o=0;o<n.length;o++)a(n[o].getChildren(!0));for(var s=0;s<r.length;s++){var c=n.indexOf(r[s]);c>-1&&n.splice(c,1)}return n},a=function e(t){return JSON.parse(JSON.stringify(t))}},2075: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),c;function u(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a= 209Object(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 f=function(e){Object(a.a)(n,e);var t=u(n);function n(e){var r;return Object(i.a)(this,n),webwave.isNotDef(e.duration)&&(e.duration= 210n.DEFAULT_AUTO_ANIMATION_TIME),(r=t.call(this,e))._animation=e.animation,r._initialAnimProgress=e.animation.getCurrentProgress(),r._direction=e.direction,r._finalAnimProgress="backward"===e.direction?0:1,r._animationProgressDelta=r._finalAnimProgress-r._initialAnimProgress,r._animation._onComplete=e.onComplete,r}return Object(r.a)(n,[{key:"tick",value:function e(){var t=this._initialAnimProgress+this._animationProgressDelta*this._progress;this._animation.setCurrentTime(t*this._animation.getDuration()), 211this._animation.updateValues(),this._animation.render(),webwave.isFunction(this._animation._stepCallback)&&this._animation._stepCallback()}},{key:"finish",value:function e(){this._animation.finish()}}],[{key:"createRevertAnimation",value:function e(t){if(t instanceof n){var i="backward"===t._direction?"forward":"backward",r="forward"===i?t._animation.getDuration()-t._animation.getCurrentTime():t._animation.getCurrentTime();return new n({animation:t._animation,onComplete:t._animation._onComplete,duration:r, 212direction:i})}return new n({animation:t,direction:"backward",duration:t.getCurrentTime(),onComplete:t._onComplete})}}]),n}(n(1545).a);f.DEFAULT_AUTO_ANIMATION_TIME=150},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},2086:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(2631),o=n(2550),s=n(140),c=n(1636),u=n(1693),l=function(){function e(t){Object(i.a)(this,e),this.interactionsService=t.interactionsService, 213this.wObject=t.wObject,this.animationStartPoint=this._countAnimationStartPoint(),this.secondAnimationStartPoint=this._countSecondAnimationStartPoint(),this.animationStatus=a.a.INITIAL,this.setMode(o.a.ONE_DIRECTION),this.addSpecificData(t),this.wObject.setObjectAnimationQueueItem(this)}return Object(r.a)(e,[{key:"addSpecificData",value:function e(t){!0===t.hideWObject&&this.wObject.visibilities.setShowAnimationVisibility(!1),this.wObject.addPropertyChangeListener(u.a.DOM_SIZE,this),this.wObject.addPropertyChangeListener(u.a.DOM_POSITION, 214this)}},{key:"_animateWObject",value:function e(){var t=this;this.interactionsService.setWObjectShowAnimationVisibility(this.wObject,void 0,{onComplete:function e(){var n;t.animationStatus=!0===(null===(n=t.wObject.getAnimation())||void 0===n?void 0:n.getOnlyOnce())?a.a.DISABLED:a.a.FINISHED}})}},{key:"doAnimation",value:function e(){this.animationStatus=a.a.IN_PROGRESS,this._animateWObject()}},{key:"undoAnimation",value:function e(){this.wObject.finishCurrentAnimation(),this.wObject.visibilities.setShowAnimationVisibility(!1), 215this.animationStatus=a.a.INITIAL}},{key:"isAnimationInitial",value:function e(){return this.animationStatus===a.a.INITIAL}},{key:"isAnimationFinished",value:function e(){return this.animationStatus===a.a.FINISHED}},{key:"getAnimationStartPoint",value:function e(){return this.animationStartPoint}},{key:"updateAnimationStartPoint",value:function e(){this.animationStartPoint=this._countAnimationStartPoint(),this.secondAnimationStartPoint=this._countSecondAnimationStartPoint()}},{key:"dispose",value:function e(){this.wObject.finishCurrentAnimation(), 216this.wObject.visibilities.setShowAnimationVisibility(void 0),this.wObject.removePropertyChangeListener(u.a.DOM_SIZE,this),this.wObject.removePropertyChangeListener(u.a.DOM_POSITION,this),this.wObject.setObjectAnimationQueueItem(void 0)}},{key:"onPropertyChange",value:function e(t){switch(t.propertyName){case u.a.DOM_SIZE:case u.a.DOM_POSITION:this.updateAnimationStartPoint();break}}},{key:"_getAnimationToCalculateStartPoint",value:function e(){var t;return null===(t=this.wObject)||void 0===t?void 0: 217t.getAnimation()}},{key:"_countAnimationStartPoint",value:function e(){var t=0,n=this._getAnimationToCalculateStartPoint(),i;
217if(webwave.isDef(n))switch(n.getStartCondition()){case c.a.TOP_VISIBLE:t=this.wObject.getRenderedRectangle().getY1();break;case c.a.BOTTOM_VISIBLE:t=this.wObject.getRenderedRectangle().getY2()-1;break;case c.a.DISTANCE_FROM_TOP:t=this.wObject.getRenderedRectangle().getY1()+n.getStartConditionDistance();break}return t}},{key:"_countSecondAnimationStartPoint",value:function e(){var t= 2180,n=this._getAnimationToCalculateStartPoint(),i;if(webwave.isDef(n))switch(n.getStartCondition()){case c.a.TOP_VISIBLE:t=this.wObject.getRenderedRectangle().getY2()-1;break;case c.a.BOTTOM_VISIBLE:t=this.wObject.getRenderedRectangle().getY1();break;case c.a.DISTANCE_FROM_TOP:break}return t}},{key:"canDoAnimation",value:function e(t){var n=!1;return this.mode===o.a.ONE_DIRECTION?n=this.animationStartPoint<t.getY2():this.mode===o.a.BOTH_DIRECTIONS&&(n=t.crossCollidesY(this.getBothDirectionWayAnimationStartRectangle())), 219n}},{key:"getBothDirectionWayAnimationStartRectangle",value:function e(){var t=this.secondAnimationStartPoint>this.animationStartPoint?[this.animationStartPoint,this.secondAnimationStartPoint]:[this.secondAnimationStartPoint,this.animationStartPoint];return new s.a({position:{y:t[0]},size:{height:t[1]-t[0]}})}},{key:"canUndoAnimation",value:function e(t){var n=!1;return this.mode===o.a.ONE_DIRECTION?n=this.isAnimatedWObjectBelowViewPort(t):this.mode===o.a.BOTH_DIRECTIONS&&(n=this.isAnimatedWObjectBelowViewPort(t)|| 220this.isAnimatedWObjectAboveViewPort(t)),n}},{key:"isAnimatedWObjectBelowViewPort",value:function e(t){return t.isRectangleBelow(this.wObject.getRenderedRectangle())}},{key:"isAnimatedWObjectAboveViewPort",value:function e(t){return t.isRectangleAbove(this.wObject.getRenderedRectangle())}},{key:"setMode",value:function e(t){this.mode=t}}]),e}()},210:function(e,t,n){var i={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"};t.a=i},220:function(e,t,n){t.a={INNER_TEXT:"innerText"}},225:function(e,t, 221n){var i={NORMAL:"normal",HOVER:"hover",DISABLED:"disabled"};t.a=i},2318: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),c=n(2),u=n(1240),l=n(1224),f=n(1336),h=n(1301),d=n(972),m;function y(e){var t=v();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(s.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1; 222if("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=y(n);function n(e){var r;return Object(i.a)(this,n),r=t.call(this,e),webwave.isNotDef(e)&&(e={}),r._direction=webwave.isDef(e.direction)?e.direction:h.a.DEFAULT_DIRECTION,r}return Object(r.a)(n,[{key:"serialize",value:function e(){var t=Object(a.a)(Object(c.a)(n.prototype),"serialize",this).call(this);return t.class= 223"webwave.gui.animation.FlyInAnimation",t.direction=this._direction,t}},{key:"setDirection",value:function e(t){webwave.isValidEnumValue(t,d.a)&&(this._direction=t)}},{key:"getDirection",value:function e(){return this._direction}},{key:"prepareAnimatableObjectForAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"prepareAnimatableObjectForAnimation",this).call(this,t),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{opacity:0})}},{key:"getInitialCss",value:function e(){var t= 2240,n=0;switch(this._direction){case d.a.TOP:n=-this._distance;break;case d.a.TOP_RIGHT:t=this._distance,n=-this._distance;break;case d.a.RIGHT:t=this._distance;break;case d.a.BOTTOM_RIGHT:t=this._distance,n=this._distance;break;case d.a.BOTTOM:n=this._distance;break;case d.a.BOTTOM_LEFT:t=-this._distance,n=this._distance;break;case d.a.LEFT:t=-this._distance;break;case d.a.TOP_LEFT:t=-this._distance,n=-this._distance;break}return{translateX:t,translateY:n,opacity:0}}},{key:"getAnimationPropsData", 225value:function e(t){var n=this.getInitialCss(),i="translateX(${0}px) translateY(${1}px)";return t.isRotated()&&(i+=" rotateZ(".concat(t.getRotation(),"deg)")),[new l.a({propertyName:"transform",startValues:[n.translateX,n.translateY],finalValues:[0,0],template:i}),new l.a({propertyName:"opacity",startValues:[n.opacity],finalValues:[t.getComputedOpacity()/100],template:"${0}"})]}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"cleanAnimatableObjectAfterAnimation", 226this).call(this,t),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{transform:t.getRotationTransformCss(),opacity:t.getComputedOpacity()/100})}},{key:"clone",value:function e(){return new n(this.serialize())}},{key:"getType",value:function e(){return u.a.FLY_IN}}]),n}(n(1303).a)},2319:function(e,t,n){t.a=function(e,t){return 0===e?"0.001"+t:e.toString()+t.toString()}},2378:function(e,t,n){n.d(t,"a",function(){return o}
226);var i=n(0),r=n(1),a=n(1573),o=function(){function e(t){Object(i.a)(this, 227e),webwave.isNotDef(t)&&(t={}),this._type=webwave.isDef(t.type)?t.type:e.DEFAULT_TYPE,this._duration=webwave.isDef(t.duration)?t.duration:e.DEFAULT_DURATION,this._easing=webwave.isDef(t.easing)?t.easing:e.DEFAULT_EASING,this._direction=webwave.isDef(t.direction)?t.direction:e.DEFAULT_DIRECTION,this._enabled=webwave.isDef(t.enabled)?t.enabled:e.DEFAULT_ENABLED}return Object(r.a)(e,[{key:"setType",value:function e(t){this._type=t}},{key:"setEnabled",value:function e(t){this._enabled=t}},{key:"isEnabled", 228value:function e(){return this._enabled}},{key:"getType",value:function t(){return this._enabled?this._type:e.DEFAULT_TYPE}},{key:"setDuration",value:function e(t){webwave.isNumberAndNotNaN(t)&&t>=0&&(this._duration=t)}},{key:"getDuration",value:function e(){return this._enabled?this._duration:0}},{key:"setEasing",value:function e(t){this._easing=t}},{key:"getEasing",value:function e(){return this._easing}},{key:"setDirection",value:function e(t){this._direction=t}},{key:"getDirection",value:function e(t){return!0=== 229t?a.a.getOppositeDirection(this._direction):this._direction}},{key:"equals",value:function e(t){return this._direction===t._direction&&this._duration===t._duration&&this._easing===t._easing&&this._type===t._type&&this._enabled===t._enabled}},{key:"serialize",value:function e(){return{direction:this._direction,duration:this._duration,easing:this._easing,type:this._type,enabled:this._enabled}}},{key:"clone",value:function t(){return new e(this.serialize())}}]),e}();o.DEFAULT_TYPE="advancedFadeAnimation", 230o.DEFAULT_DURATION=400,o.DEFAULT_EASING="swing",o.DEFAULT_DIRECTION="left",o.DEFAULT_ENABLED=!0},2409:function(e,t,n){var i="afterInitializationServiceInitEvent";t.a="afterInitializationServiceInitEvent"},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."); 231}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 c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,i){var r=t&&t.prototype instanceof v?t:v,a=Object.create(r.prototype),o=new k(i||[]);return a._invoke= 232_(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=u;var f="suspendedStart",h="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function p(){}var b={};b[a]=function(){return this};var S=Object.getPrototypeOf,O=S&&S(S(D([])));O&&O!==t&&n.call(O,a)&&(b=O);var A=p.prototype=v.prototype=Object.create(b);function w(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function T(e, 233t){function i(r,a,o,s){var c=l(e[r],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then(function(e){i("next",e,o,s)},function(e){i("throw",e,o,s)}):t.resolve(f).then(function(e){u.value=e,o(u)},function(e){return i("throw",e,o,s)})}s(c.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 _(e,t,n){var i=f;return function r(a,o){if(i===d)throw new Error("Generator is already running"); 234if(i===m){if("throw"===a)throw o;return P()}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var c=N(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=d;var u=l(e,t,n);if("normal"===u.type){if(i=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=m,n.method="throw",n.arg=u.arg)}}}function N(e,t){var n=e.iterator[t.method]; 235if(n===i){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&
vendor: 4,743 bytes, lines 235-244
235(t.method="return",t.arg=i,N(e,t),"throw"===t.method))return y;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,y;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,y):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"), 236t.delegate=null,y)}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 I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function D(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= 237!1,t;return t.value=i,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:i,done:!0}}return g.prototype=A.constructor=p,p.constructor=g,g.displayName=c(p,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,s,"GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}}, 238w(T.prototype),T.prototype[o]=function(){return this},e.AsyncIterator=T,e.async=function(t,n,i,r,a){void 0===a&&(a=Promise);var o=new T(u(t,n,i,r),a);return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},w(A),c(A,s,"Generator"),A[a]=function(){return this},A.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= 239!0,n}},e.values=D,k.prototype={constructor:k,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(I),!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= 240"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 c=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev< 241o.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,y):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type? 242this.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),y},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),I(n),y}},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;I(n)}return r}}throw new Error("illegal catch attempt"); 243},delegateYield:function(e,t,n){return this.delegate={iterator:D(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=i),y}},e}(e.exports);try{regeneratorRuntime=i}catch(e){Function("r","regeneratorRuntime = r")(i)}},25:function(e,t,n){e.exports=n(245)},2518:function(e,t,n){n.d(t,"a",function(){return h});var i=n(14),r=n(0),a=n(1),o=n(3162),s=n(3163),c=n(2597),u=n(1949);function l(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, 244t).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]:{};
244t%2?l(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var h=function(){function e(t){Object(r.a)(this,e),this._animatableObject=t,this._animationIsRunning= 245!1,this._animationTimeoutId=void 0,this._onComplete=void 0}return Object(a.a)(e,[{key:"_easingToJqueryEasing",value:function e(t){return s.a[t]}},{key:"_startAnimation",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.getDuration(),r=t.getEasing();this._animatableObject.finishCurrentAnimation(),this._onComplete=n.onComplete,this._afterEachAnimationStop=n.afterEachAnimationStop,webwave.isFunction(n.beforeEachAnimationStart)&&n.beforeEachAnimationStart(this._animatableObject), 246this._currentAnimation=t;var a=t.getAnimationPropsData(this._animatableObject),o=this._animatableObject.getElementsForAnimation();this._prepareObjectForAnimation();var s=this._currentAnimation.clone();this._animationIsRunning=!0;var l=this,f=function e(){n.animationType===u.a.SHOW?l._animatableObject.beforeShowRealAnimationStart():n.animationType===u.a.HIDE&&l._animatableObject.beforeHideRealAnimationStart(),l._toggleElementsAnimationInProgressClass(o,!0);var t=new c.a({elements:o,props:a,easing:l._easingToJqueryEasing(r), 247duration:1E3*i,onComplete:function e(){l._toggleElementsAnimationInProgressClass(o,!1),l._animationIsRunning=!1,l._cleanObjectAfterAnimation(s,n.cleanObjectDelay),l._currentAnimation=void 0,webwave.isFunction(n.onComplete)&&n.onComplete(),webwave.isFunction(n.afterEachAnimationStop)&&n.afterEachAnimationStop(l._animatableObject)}});com.webwave.animator.animator.registerAnimation(t),l._currentStyleAnimation=t};n.delay>0?this._animationTimeoutId=setTimeout(f,n.delay):f()}},{key:"_toggleElementsAnimationInProgressClass", 248value:function t(n,i){o.a.toggleClassToListOfElements(n,e.ANIMATION_IN_PROGRESS,i)}},{key:"_prepareObjectForAnimation",value:function e(){var t=this._currentAnimation;webwave.isDef(t)&&t.prepareAnimatableObjectForAnimation(this._animatableObject)}},{key:"_cleanObjectAfterAnimation",value:function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._currentAnimation,i=arguments.length>1?arguments[1]:void 0;webwave.isDef(n)&&(webwave.isDef(i)&&i>0?setTimeout(function(){n.cleanAnimatableObjectAfterAnimation(t._animatableObject)}, 249i):n.cleanAnimatableObjectAfterAnimation(this._animatableObject))}},{key:"playCurrentAnimation",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!0===this._animatableObject.isAnimationEnabled()&&webwave.isDef(this._animatableObject.getAnimation())){var n=f(f({},t),{animationType:u.a.SHOW});this.playAnimation(this._animatableObject.getAnimation(),n)}}},{key:"playCurrentHideAnimation",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]: 250{};if(!0===this._animatableObject.isHideAnimationEnabled()&&webwave.isDef(this._animatableObject.getHideAnimation())){var n=f(f({},t),{animationType:u.a.HIDE});this.playAnimation(this._animatableObject.getHideAnimation(),n)}}},{key:"playAnimation",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};webwave.isDefAndNotNull(t)&&(!0===n.skipDelay?n.delay=0:!1===webwave.isNumberAndNotNaN(n.delay)&&(n.delay=t.getDelayInMs()),this._startAnimation(t,n))}},{key:"finishCurrentAnimation", 251value:function e(){if(!0===this._animationIsRunning){clearTimeout(this._animationTimeoutId);var t=this._currentAnimation;webwave.isDefAndNotNull(this._currentStyleAnimation)&&(this._currentStyleAnimation.stop(!0),this._currentStyleAnimation=void 0),this._toggleElementsAnimationInProgressClass(this._animatableObject.getElementsForAnimation(),!1),webwave.isDef(t)&&this._cleanObjectAfterAnimation(t),this._animationIsRunning=!1,this._currentAnimation=void 0,webwave.isFunction(this._onComplete)&&this._onComplete(), 252webwave.isFunction(this._afterEachAnimationStop)&&this._afterEachAnimationStop(this._animatableObject)}}}]),e}();h.ANIMATION_IN_PROGRESS="animation-in-progress"},2520:function(e,t,n){t.a={ADVANCED_FADE_ANIMATION:"advancedFadeAnimation",FADE_IN_OVER:"fadeInOver",SLIDE:"slide",CUBE:"cube",OPEN:"open"}},2550:function(e,t,n){var i={ONE_DIRECTION:1,BOTH_DIRECTIONS:2};t.a=i},2596: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),c=n(2),u=n(1240),l=n(1224),f=n(1336), 253h=n(1301),d=n(1303),m=n(210),y=n(2319);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(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= 254function(e){Object(o.a)(n,e);var t=v(n);function n(e){var r;return Object(i.a)(this,n),webwave.isNotDef(e)&&(e={}),(r=t.call(this,e))._direction=webwave.isValidEnumValue(e.direction,m.a)?e.direction:h.a.DEFAULT_DIRECTION,r}return Object(r.a)(n,[{key:"serialize",value:function e(){var t=Object(a.a)(Object(c.a)(n.prototype),"serialize",this).call(this);return t.class="webwave.gui.animation.FoldInAnimation",t.direction=this._direction,t}},{key:"getDirection",value:function e(){return this._direction}}, 255{key:"setDirection",value:function e(t){webwave.isValidEnumValue(t,m.a)&&(this._direction=t)}},{key:"getType",value:function e(){return u.a.FOLD_IN}},{key:"getInitialCssProperties",value:function e(t){var n={rotateX:0,rotateY:0},i=0,r=0,a=t.getContentSize(),o,s=t.getRotation()*(Math.PI/180),c=Math.sin(s),u=Math.cos(s),l=a.width,f=a.height;switch(this._direction){case m.a.TOP:n.rotateX=-90,r=Math.min(u*f,c*l,u*f+c*l,0);break;case m.a.RIGHT:n.rotateY=-90,i=Math.max(-c*f,u*l,-c*f+u*l,0);break;case m.a.BOTTOM:n.rotateX=
25690,r=Math.max(u*f,c*l,u*f+c*l,0);break;case m.a.LEFT:n.rotateY=90,i=Math.min(-c*f,u*l,-c*f+u*l,0);break}var h="translate(".concat(Object(y.a)(-i,"px"),", ").concat(Object(y.a)(-r,"px"),")"),d="translate(".concat(Object(y.a)(i,"px"),", ").concat(Object(y.a)(r,"px"),")"),v;if(v=0!==n.rotateX?{transform:[d+" rotateX(0) "+h,d+" rotateX(".concat(Object(y.a)(n.rotateX,"deg"),") ")+h]}:{transform:[d+" rotateY(0) "+h,d+" rotateY(".concat(Object(y.a)(n.rotateY,"deg"),") ")+h]},t.isRotated()){var g=t.getRotation(); 257v.transform[0]+=" rotateZ(".concat(Object(y.a)(g,"deg"),")"),v.transform[1]+=" rotateZ(".concat(Object(y.a)(g,"deg"),")")}return v}},{key:"getAnimationPropsData",value:function e(t){var n={rotateX:0,rotateY:0},i=0,r=0,a=t.getContentSize(),o,s=t.getRotation()*(Math.PI/180),c=Math.sin(s),u=Math.cos(s),f=a.width,h=a.height;switch(this._direction){case m.a.TOP:n.rotateX=-90,r=Math.min(u*h,c*f,u*h+c*f,0);break;case m.a.RIGHT:n.rotateY=-90,i=Math.max(-c*h,u*f,-c*h+u*f,0);break;case m.a.BOTTOM:n.rotateX= 25890,r=Math.max(u*h,c*f,u*h+c*f,0);break;case m.a.LEFT:n.rotateY=90,i=Math.min(-c*h,u*f,-c*h+u*f,0);break}var d="translate(".concat(Object(y.a)(-i,"px"),", ").concat(Object(y.a)(-r,"px"),")"),v="translate(".concat(Object(y.a)(i,"px"),", ").concat(Object(y.a)(r,"px"),")"),g=0!==n.rotateX?"".concat(v," rotateX(${0}deg) ").concat(d):"".concat(v," rotateY(${0}deg) ").concat(d),p=0!==n.rotateX?[n.rotateX]:[n.rotateY],b=[0];if(t.isRotated()){var S=t.getRotation();g+=" rotateZ(".concat(Object(y.a)(S,"deg"), 259")")}return[new l.a({propertyName:"transform",startValues:p,finalValues:b,template:g})]}},{key:"_getInitialTransformMap",value:function e(){var t={perspectiveOriginX:0,perspectiveOriginY:0,perspective:"1000px",rotateX:0,rotateY:0};switch(this._direction){case m.a.TOP:t.perspectiveOriginX="50%",t.perspectiveOriginY="0",t.rotateX=-90;break;case m.a.RIGHT:t.perspectiveOriginX="100%",t.perspectiveOriginY="50%",t.rotateY=-90;break;case m.a.BOTTOM:t.perspectiveOriginX="50%",t.perspectiveOriginY="100%", 260t.rotateX=90;break;case m.a.LEFT:t.perspectiveOriginX="0",t.perspectiveOriginY="50%",t.rotateY=90;break}return t}},{key:"prepareAnimatableObjectForAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"prepareAnimatableObjectForAnimation",this).call(this,t);var i=this._getInitialTransformMap();t.getDomObject().css({perspectiveOrigin:i.perspectiveOriginX+" "+i.perspectiveOriginY,perspective:i.perspective});var r=this.getInitialCssProperties(t);f.a.setCssPropertiesForElements(t.getElementsForAnimation(), 261{transformOrigin:"0px 0px 0px",transform:r.transform[1]})}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"cleanAnimatableObjectAfterAnimation",this).call(this,t),t.getDomObject().css({perspectiveOrigin:"",perspective:""}),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{transformOrigin:"",transform:t.getRotationTransformCss()})}},{key:"clone",value:function e(){return new n(this.serialize())}}]),n}(d.a)},2597:function(e,t,n){n.d(t, 262"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),c;function u(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(){})), 263!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=u(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._elements=e.elements,r.props=e.props,r.multiplier=0,r}return Object(r.a)(n,[{key:"updateValues",value:function e(){this.multiplier=this._easing(this._progress)}},{key:"clean",value:function e(){for(var t=0;t<this.props.length;t++)if(!0!==this.props[t].noClear)for(var n=0;n<this._elements.length;n++)webwave.isDefAndNotNull(this._elements[n])&&(this._elements[n].style[this.props[t].propertyName]= 264"")}},{key:"render",value:function e(){for(var t=0;t<this.props.length;t++)for(var n=this.props[t],i=0;i<this._elements.length;i++)webwave.isDefAndNotNull(this._elements[i])&&(this._elements[i].style[n.propertyName]=n.generateStyleStr
264ing(this.multiplier))}}]),n}(n(1748).a)},2598:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(2075),o=n(40),s=n(2378);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&& 265e&&"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=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s; 266}}}}function u(e,t){if(e){if("string"==typeof e)return l(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)?l(e,t):void 0}}function l(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 f=function(){function e(t,n){Object(i.a)(this,e),webwave.isNotDef(n)&&(n={}),this._wObject=t,this._animationData= 267new s.a(n.animationData),this._currentAnimation=null,this._disabled=!1}return Object(r.a)(e,[{key:"_addAnimationSceneToHtml",value:function e(t){}},{key:"_renderAnimationScene",value:function e(){}},{key:"renderPanel",value:function e(t){}},{key:"renderNextPanel",value:function e(t){}},{key:"playAnimation",value:function e(t){var n=this.getWObject(),i=this._getSceneSize(),r=this._renderAnimationScene(n),a=this.renderPanel(i),s=this.renderNextPanel(i);if(!0===t){var u={tmp:a};a=s,s=u.tmp}r.append(a, 268s),this.beforeAnimation(),this._addAnimationSceneToHtml(r);var l=this,f=this.getAnimationData(),h=n.getAnimatingContent(),d=h.length>0?r[0].getElementsByClassName(h[0].classList):[],m,y=com.webwave.webgal.animation.ChangeAnimationService.getInstance().createAnimationByName(f.getType(),{panel:a,nextPanel:s,panelParent:r,panelSize:new o.a({width:i.getWidth(),height:i.getHeight()}),duration:f.getDuration(),easing:f.getEasing(),direction:f.getDirection(!0!==t),step:function e(){var t=n.getAnimatingContent(); 269if(t.hasClass("animation-in-progress")){var i=t[0].style,r=c(d),a;try{for(r.s();!(a=r.n()).done;){var o=a.value;o.style.transform=i.transform,o.style.transformOrigin=i.transformOrigin,o.style.opacity=i.opacity,o.style.clip=i.clip}}catch(e){r.e(e)}finally{r.f()}}},onComplete:function e(){l.removeAnimation(),l.afterAnimation()}});com.webwave.animator.animator.registerAnimation(y),this._currentAnimation=y,this._$scene=r}},{key:"reverseCurrentAnimation",value:function e(){if(null!==this._currentAnimation){var t= 270a.a.createRevertAnimation(this._currentAnimation);com.webwave.animator.animator.unregisterAnimation(this._currentAnimation),com.webwave.animator.animator.registerAnimation(t),this._currentAnimation=t}}},{key:"startInAnimation",value:function e(){this.playAnimation(!1)}},{key:"startOutAnimation",value:function e(){this.playAnimation(!0)}},{key:"stopAnimation",value:function e(){null!==this._currentAnimation&&(this._currentAnimation.finish(),this._currentAnimation=null)}},{key:"setDisabled",value:function e(t){this.hasAnimation()&& 271this.stopAnimation(),this._disabled=!0===t}},{key:"isDisabled",value:function e(){return this._disabled}},{key:"hasAnimation",value:function e(){return null!==this._currentAnimation}},{key:"getAnimation",value:function e(){return this._currentAnimation}},{key:"removeAnimation",value:function e(){webwave.isDef(this._$scene)&&(this._$scene.remove(),this._$scene=void 0),this.setAnimation(null)}},{key:"setAnimation",value:function e(t){this._currentAnimation=t}},{key:"serialize",value:function e(){return{animationData:this._animationData.serialize()}}}, 272{key:"setAnimationData",value:function e(t){this._animationData=t}},{key:"getAnimationData",value:function e(){return this._animationData}},{key:"animateBackward",value:function e(){this.isDisabled()||(this.hasAnimation()?this.reverseCurrentAnimation():this.startOutAnimation())}},{key:"animateForward",value:function e(){this.isDisabled()||(this.hasAnimation()?this.reverseCurrentAnimation():this.startInAnimation())}},{key:"beforeAnimation",value:function e(){}},{key:"afterAnimation",value:function e(){}}, 273{key:"_getSceneSize",value:function e(){var t=this.getWObject().getContent()[0];return new o.a({width:t.offsetWidth,height:t.offsetHeight})}},{key:"getWObject",value:function e(){return this._wObject}}]),e}();f.TRANSITION_ANIMATION_RUNNING_CLASS="transitionAnimationRunning"},26:function(e,t,n){function i(e,t,n,i,r,a,o){try{var s=e[a](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(i,r)}function r(e){return function(){var t=this,n=arguments;return new Promise(function(r, 274a){var o=e.apply(t,n);function s(e){i(o,r,a,s,c,"next",e)}function c(e){i(o,r,a,s,c,"throw",e)}s(void 0)})}}t.a=r},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}},2631:function(e,t,n){var i={INITIAL:"initial",IN_PROGRESS:"IN_PROGRESS",FINISHED:"FINISHED",DISABLED:"DISABLED"};t.a=i},2888:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(2998),o=n(2006),s=n(2007),c=n(2009),u=n(2008),l=n(122), 275f=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.stages={start:new a.a({startLength:t.startStageStartValue,type:webwave.isDef(t.startStageType)?t.startStageType:o.a.SHOW_ELEMENT}),finish:new a.a({startLength:t.finishStageStartValue,type:webwave.isDef(t.finishStageType)?t.f
275inishStageType:s.a.DONT_HIDE})}}return Object(r.a)(e,[{key:"recreateFinishStage",value:function e(t){this.stages[c.a.FINISH]=new a.a({type:t})}},{key:"getStage",value:function e(t){return this.stages[t]}}, 276{key:"setStartStageType",value:function e(t){this.getStage(c.a.START).setName(t)}},{key:"getStartStageType",value:function e(){return this.getStage(c.a.START).getType()}},{key:"setFinishStageType",value:function e(t){this.getStage(c.a.FINISH).setName(t)}},{key:"getFinishStageType",value:function e(){return this.getStage(c.a.FINISH).getType()}},{key:"setStartStageStartValue",value:function e(t){this.getStage(c.a.START).setStartValue(t)}},{key:"addValueToStartStageStartValue",value:function e(t){var n= 277this.getStage(c.a.START).getStartValue();this.getStage(c.a.START).setStartValue(n+t)}},{key:"getStartStageStartValue",value:function e(){return this.getStage(c.a.START).getStartValue()}},{key:"setStartStageStartUnit",value:function e(t){this.getStage(c.a.START).setStartUnit(t)}},{key:"getStartStageStartUnit",value:function e(){return this.getStage(c.a.START).getStartUnit()}},{key:"setFinishStageStartValue",value:function e(t){this.getStage(c.a.FINISH).setStartValue(t)}},{key:"addValueToFinishStageStartValue", 278value:function e(t){var n=this.getStage(c.a.FINISH).getStartValue();this.getStage(c.a.FINISH).setStartValue(n+t)}},{key:"getFinishStageStartValue",value:function e(){return this.getStage(c.a.FINISH).getStartValue()}},{key:"setFinishStageStartUnit",value:function e(t){this.getStage(c.a.FINISH).setStartUnit(t)}},{key:"getFinishStageStartUnit",value:function e(){return this.getStage(c.a.FINISH).getStartUnit()}},{key:"computeFinishStageStartValue",value:function e(){var t=this.getFinishStageType(),n; 279return t===u.a.SHOW_WHEN||t===s.a.HIDE_WHEN?this.getFinishStageStartValue():1/0}},{key:"computeStartStageVisibility",value:function e(){return this.getStartStageType()===o.a.SHOW_ELEMENT}},{key:"computeFinishStageVisibility",value:function e(){var t=this.getFinishStageType();return t===u.a.SHOW_WHEN||t===s.a.DONT_HIDE}},{key:"serialize",value:function e(){return{startStageStartValue:this.getStage(c.a.START).getStartLength().serialize(),startStageType:this.getStage(c.a.START).getType(),finishStageStartValue:this.getStage(c.a.FINISH).getStartLength().serialize(), 280finishStageType:this.getStage(c.a.FINISH).getType()}}},{key:"clone",value:function t(){return new e(this.serialize())}}],[{key:"deserialize",value:function t(n){return new e(n)}}]),e}()},2890:function(e,t,n){var i={FLY_OUT:"flyOut",FADE_OUT:"fadeOut",EXPAND_OUT:"expandOut",FOLD_OUT:"foldOut",HIDE:"hide"};t.a=i},2891:function(e,t,n){var i={FLY_IN:"flyIn",FADE_IN:"fadeIn",EXPAND_IN:"expandIn",FOLD_IN:"foldIn",REVEAL:"reveal"};t.a=i},2892:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r= 281n(1),a=n(18),o=n(3),s=n(4),c=n(2),u=n(1240),l=n(1224),f=n(1336),h=n(1301),d=n(1303),m=n(210);function y(e){var t=v();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(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, 282[],function(){})),!0}catch(e){return!1}}var g=function(e){Object(o.a)(n,e);var t=y(n);function n(e){var r;return Object(i.a)(this,n),webwave.isNotDef(e)&&(e={}),(r=t.call(this,e))._direction=webwave.isValidEnumValue(e.direction,m.a)?e.direction:h.a.DEFAULT_DIRECTION,r.previousHeight=webwave.isDefAndNotNull(e.previousHeight)?e.previousHeight:null,r.previousLeft=webwave.isDefAndNotNull(e.previousLeft)?e.previousLeft:null,r}return Object(r.a)(n,[{key:"serialize",value:function e(){var t=Object(a.a)(Object(c.a)(n.prototype), 283"serialize",this).call(this);return t.class="webwave.gui.animation.RevealAnimation",t.direction=this._direction,t.previousHeight=this.previousHeight,t.previousLeft=this.previousLeft,t}},{key:"getDirection",value:function e(){return this._direction}},{key:"setDirection",value:function e(t){webwave.isValidEnumValue(t,m.a)&&(this._direction=t)}},{key:"_createAnimationPropsMap",value:function e(t){var n={top:t.top,right:t.right,bottom:t.bottom,left:t.left},i={top:t.top,right:t.right,bottom:t.bottom,left:t.left}; 284switch(this._direction){case m.a.TOP:n.bottom=n.top;break;
284case m.a.RIGHT:n.left=n.right;break;case m.a.BOTTOM:n.top=n.bottom;break;case m.a.LEFT:n.right=n.left;break}return[new l.a({propertyName:"clip",startValues:[n.top,n.right,n.bottom,n.left],finalValues:[i.top,i.right,i.bottom,i.left],template:"rect(${0}px ${1}px ${2}px ${3}px)"})]}},{key:"getAnimationPropsData",value:function e(t){var n=t.getShadowSizeCorrection(),i=t.getContentSize();return this._createAnimationPropsMap({top:-n.top,right:i.getWidth()+ 285n.right,bottom:i.getHeight()+n.bottom,left:-n.left})}},{key:"prepareAnimatableObjectForAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"prepareAnimatableObjectForAnimation",this).call(this,t);var i=t.getDomObject();this.previousLeft=t.getContent().css("left");var r=webwave.isStringAndNotEmpty(this.previousLeft)?this.previousLeft:"0px";"auto"===r&&(r="0px"),this.previousHeight=i[0].style.height,i[0].style.height=i[0].clientHeight+"px",f.a.setCssPropertiesForElements(t.getElementsForAnimation(), 286{position:"absolute",left:r,right:0,clip:"rect(0, 0, 0, 0)"})}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"cleanAnimatableObjectAfterAnimation",this).call(this,t),t.getDomObject()[0].style.height=this.previousHeight,f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{position:"",left:webwave.isStringAndNotEmpty(this.previousLeft)?this.previousLeft:"",right:"",clip:""})}},{key:"clone",value:function e(){return new n(this.serialize())}}, 287{key:"getType",value:function e(){return u.a.REVEAL}}]),n}(d.a)},2927:function(e,t,n){var i=n(1236),r=n(1244);t.a={DEFAULT_MENU_COLOR:r.a.SECOND_NEUTRAL,DEFAULT_MOBILE_MENU_ACTIVE_IMAGE_ID:"ww_icon;set2-close-outline;#111318",DEFAULT_MOBILE_MENU_ANIMATION_DURATION:750,DEFAULT_MOBILE_MENU_IMAGE_ID:"ww_icon;set2-menu;#111318",DEFAULT_MOBILE_MENU_ICON_ALIGN:i.a.CENTER}},2998:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(122),o=n(2006),s=n(2007),c=n(2008),u=function(){function e(){var t= 288arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.startLength=new a.a(t.startLength),this.type=t.type}return Object(r.a)(e,[{key:"getStartLength",value:function e(){return this.startLength}},{key:"setStartValue",value:function e(t){this.getStartLength().setValue(t)}},{key:"setStartUnit",value:function e(t){this.getStartLength().setUnit(t)}},{key:"getStartUnit",value:function e(){return this.getStartLength().getUnit()}},{key:"getStartValue",value:function e(){return this.getStartLength().getValue()}}, 289{key:"getType",value:function e(){return this.type}},{key:"setName",value:function e(t){this.type=t}},{key:"isShowElementAnimation",value:function e(){return this.getType()===o.a.SHOW_ELEMENT}},{key:"isHideElementAnimation",value:function e(){return this.getType()===o.a.HIDE_ELEMENT}},{key:"isDontHide",value:function e(){return this.getType()===s.a.DONT_HIDE}},{key:"isHideWhen",value:function e(){return this.getType()===s.a.HIDE_WHEN}},{key:"isDontShow",value:function e(){return this.getType()=== 290c.a.DONT_SHOW}},{key:"isShowWhen",value:function e(){return this.getType()===c.a.SHOW_WHEN}}]),e}()},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=n(0),r=n(1),a=n(107), 291o=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;if(webwave.isNotDef(a))return n; 292for(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):{}}
292},{key:"isValueExists",value:function t(n,i){return webwave.isDef(e.getValue(n,i))}}]),e}()},3001:function(e,t,n){n.d(t,"a",function(){return y});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),c=n(2),u=n(1240),l=n(1224),f=n(1336),h;function d(e){var t=m();return function n(){var i=Object(c.a)(e), 293r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.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 y=function(e){Object(o.a)(n,e);var t=d(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n, 294[{key:"serialize",value:function e(){var t=Object(a.a)(Object(c.a)(n.prototype),"serialize",this).call(this);return t.class="webwave.gui.animation.FadeInAnimation",t}},{key:"prepareAnimatableObjectForAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"prepareAnimatableObjectForAnimation",this).call(this,t),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{opacity:0})}},{key:"getAnimationPropsData",value:function e(t){return[new l.a({propertyName:"opacity",startValues:[0], 295finalValues:[t.getComputedOpacity()/100],template:"${0}"})]}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"cleanAnimatableObjectAfterAnimation",this).call(this,t),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{opacity:t.getComputedOpacity()/100})}},{key:"clone",value:function e(){return new n(this.serialize())}},{key:"getType",value:function e(){return u.a.FADE_IN}}]),n}(n(1303).a)},3002:function(e,t,n){n.d(t,"a",function(){return y}); 296var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),c=n(2),u=n(1240),l=n(1224),f=n(1336),h;function d(e){var t=m();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(s.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(){})), 297!0}catch(e){return!1}}var y=function(e){Object(o.a)(n,e);var t=d(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"serialize",value:function e(){var t=Object(a.a)(Object(c.a)(n.prototype),"serialize",this).call(this);return t.class="webwave.gui.animation.ExpandInAnimation",t}},{key:"prepareAnimatableObjectForAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"prepareAnimatableObjectForAnimation",this).call(this,t),f.a.setCssPropertiesForElements(t.getElementsForAnimation(), 298{opacity:0,transformOrigin:"top left"})}},{key:"getAnimationPropsData",value:function e(t){var n=t.getContentSize(),i="translate(".concat(-n.width/2,"px, ").concat(-n.height/2,"px)"),r="translate(".concat(n.width/2,"px, ").concat(n.height/2,"px)"),a="".concat(r," scale(${0}) ").concat(i);return t.isRotated()&&(a="rotateZ(".concat(t.getRotation(),"deg) ").concat(a)),[new l.a({propertyName:"transform",startValues:[0],finalValues:[1],template:a}),new l.a({propertyName:"opacity",startValues:[0],finalValues:[t.getComputedOpacity()/ 299100],template:"${0}"})]}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"cleanAnimatableObjectAfterAnimation",this).call(this,t),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{transform:t.getRotationTransformCss(),opacity:t.getComputedOpacity()/100,transformOrigin:""})}},{key:"clone",value:function e(){return new n(this.serialize())}},{key:"getType",value:function e(){return u.a.EXPAND_IN}}]),n}(n(1303).a)},3003:function(e,t,n){n.d(t, 300"a",function(){return p});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),c=n(2),u=n(1240),l=n(1224),f=n(1336),h=n(1301),d=n(1303),m=n(210),y=n(2319);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(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, 301[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(o.a)(n,e);var t=v(n);function n(e){var r;return Object(i.a)(this,n),webwave.isNotDef(e)&&(e={}),(r=t.call(this,e))._direction=webwave.isValidEnumValue(e.direction,m.a)?e.direction:h.a.DEFAULT_DIRECTION,r}return Object(r.a)(n,[{key:"serialize",value:function e(){var t=Object(a.a)(Object(c.a)(n.prototype),"serialize",this).call(this);return t.class="webwave.gui.animation.FoldOutAnimation",t.direction=this._direction,t}},{key:"getDirection", 302value:function e(){return this._direction}},{key:"setDirection",value:function e(t){webwave.isValidEnumValue(t,m.a)&&(this._direction=t)}},{key:"getType",value:function e(){return u.a.FOLD_OUT}},{key:"getAnimationPropsData",value:function e(t){var n={rotateX:0,rotateY:0},i=0,r=0,a=t.getContentSize(),o,s=t.getRotation()*(Math.PI/180),c=Math.sin(s),u=Math.cos(s),f=a.width,h=a.height;switch(this._direction){case m.a.TOP:n.rotateX=-90,r=Math.min(u*h,c*f,u*h+c*f,0);break;case m.a.RIGHT:n.rotateY=-90,i= 303Math.max(-c*h,u*f,-c*h+u*f,0);break;
303case m.a.BOTTOM:n.rotateX=90,r=Math.max(u*h,c*f,u*h+c*f,0);break;case m.a.LEFT:n.rotateY=90,i=Math.min(-c*h,u*f,-c*h+u*f,0);break}var d="translate(".concat(Object(y.a)(-i,"px"),", ").concat(Object(y.a)(-r,"px"),")"),v="translate(".concat(Object(y.a)(i,"px"),", ").concat(Object(y.a)(r,"px"),")"),g=0!==n.rotateX?"".concat(v," rotateX(${0}deg) ").concat(d):"".concat(v," rotateY(${0}deg) ").concat(d),p=[0],b=0!==n.rotateX?[n.rotateX]:[n.rotateY];if(t.isRotated()){var S= 304t.getRotation();g+=" rotateZ(".concat(Object(y.a)(S,"deg"),")")}return[new l.a({propertyName:"transform",startValues:p,finalValues:b,template:g,noClear:!0})]}},{key:"_getOutitialTransformMap",value:function e(){var t={transformOriginX:0,transformOriginY:0,perspectiveOriginX:0,perspectiveOriginY:0,perspective:"1000px",rotateX:0,rotateY:0};switch(this._direction){case m.a.TOP:t.perspectiveOriginX="50%",t.perspectiveOriginY="0",t.rotateX=-90;break;case m.a.RIGHT:t.transformOriginX="100%",t.perspectiveOriginX= 305"100%",t.perspectiveOriginY="50%",t.rotateY=-90;break;case m.a.BOTTOM:t.transformOriginY="100%",t.perspectiveOriginX="50%",t.perspectiveOriginY="100%",t.rotateX=90;break;case m.a.LEFT:t.perspectiveOriginX="0",t.perspectiveOriginY="50%",t.rotateY=90;break}return t}},{key:"prepareAnimatableObjectForAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"prepareAnimatableObjectForAnimation",this).call(this,t);var i=this._getOutitialTransformMap();t.getDomObject().css({perspectiveOrigin:i.perspectiveOriginX+ 306" "+i.perspectiveOriginY,perspective:i.perspective}),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{transformOrigin:"top left"})}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"cleanAnimatableObjectAfterAnimation",this).call(this,t),t.getDomObject().css({perspectiveOrigin:"",perspective:""}),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{transformOrigin:"",transform:t.getRotationTransformCss()})}},{key:"clone",value:function e(){return new n(this.serialize())}}]), 307n}(d.a)},3005: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),c=n(2520),u=n(1992),l=n(225),f=n(2598);function h(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, 308[],function(){})),!0}catch(e){return!1}}var m=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:"_getOverflowValueForSpecificHoverAnimationType",value:function e(){var t;switch(this.getAnimationData().getType()){case c.a.SLIDE:return u.a.HIDDEN;default:return u.a.VISIBLE}}},{key:"_renderAnimationScene",value:function e(){var t=this.getWObject().getContent(),i=t[0],r=n.getFinalStyle(i,["width","height","top","left","transformOrigin"]), 309a=t.hasClass("animation-in-progress")?"opacity: ".concat(i.style.opacity,";"):"";return $('\n <div class="hoverAnimationScene" style="\n display: block;\n position: absolute;\n left: '.concat(r.left,";\n top: ").concat(r.top,";\n width : ").concat(r.width,";\n height: ").concat(r.height,";\n overflow: ").concat(this._getOverflowValueForSpecificHoverAnimationType(),";\n pointer-events: none;\n transform: ").concat(i.style.transform, 310";\n transform-origin: ").concat(r.transformOrigin,";\n ").concat(a,"\n clip: ").concat(i.style.clip,';\n border-width: 0px;\n border-style: none;\n padding : 0px;\n box-sizing: border-box;\n ">\n '))}},{key:"_renderButtonContent",value:function e(t,n){var i=this.getWObject().getState().getName();this.getWObject().setStyleVersion(t);var r=this.getWObject().getContent().clone(),
311a=this.getWObject().getBackgroundOverlayDom().clone();return r.removeClass("content").removeAttr("id"),r.css({position:"absolute",boxSizing:"border-box",top:"0",left:"0",width:n.getWidth(),height:n.getHeight(),transform:"",transformOrigin:"",overflow:"hidden",clip:""}),a.css({position:"absolute",boxSizing:"border-box",width:n.getWidth(),height:n.getHeight()}),this.getWObject().setStyleVersion(i),$("<div/>").append(r,a)}},{key:"renderPanel",value:function e(t){return this._renderButtonContent(l.a.NORMAL, 312t)}},{key:"renderNextPanel",value:function e(t){return this._renderButtonContent(l.a.HOVER,t)}},{key:"_addAnimationSceneToHtml",value:function e(t){this.getWObject().getDomObject().prepend(t)}},{key:"beforeAnimation",value:function e(){this.getWObject().getDomObject().addClass(f.a.TRANSITION_ANIMATION_RUNNING_CLASS)}},{key:"afterAnimation",value:function e(){this.getWObject().getDomObject().removeClass(f.a.TRANSITION_ANIMATION_RUNNING_CLASS)}},{key:"onMouseEnter",value:function e(){this.animateForward()}}, 313{key:"onMouseLeave",value:function e(){this.animateBackward()}}],[{key:"getFinalStyle",value:function e(t,n){n instanceof Array||(n=[n]);var i=t.parentNode;if(i&&i.style){var r=i.style.display;i.style.display="none"}for(var a=getComputedStyle(t),o={},s=0;s<n.length;s++)"width"!==n[s]||"auto"!==a[n[s]]?o[n[s]]=a[n[s]]:o[n[s]]="100%";return i&&i.style&&(i.style.display=r),o}}]),n}(f.a)},3021: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),c=n(1236),u=n(2032),l= 314n(2598);function f(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 d=function(e){Object(a.a)(n,e);var t= 315f(n);function n(e,r){return Object(i.a)(this,n),t.call(this,e,r)}return Object(r.a)(n,[{key:"modifyAnimationSceneSize",value:function e(t){var n=this._calculateDefaultSceneSize();t[0].style.height=n.height,t[0].style.width=n.width}},{key:"_renderAnimationScene",value:function e(){var t=$('\n <div class="'.concat(n.MENU_ICON_ANIMATION_SCENE_CLASS,'" style="\n display: block;\n position: absolute;\n ">\n '));return this.modifyAnimationSceneSize(t), 316t}},{key:"renderPanel",value:function e(){return this._renderMobileMenuIcon(!1)}},{key:"renderNextPanel",value:function e(){return this._renderMobileMenuIcon(!0)}},{key:"_renderMobileMenuIcon",value:function e(t){var n=this.getWObject().getMobileMenuIcon().clone(),i=this.getWObject().getIconImageUrl(t);return u.a.changeMobileMenuImageSrc(n,i),this._addAdditionalCssValues(n),n}},{key:"_addAdditionalCssValues",value:function e(t){var n=this.getWObject().getMobileMenuIconAlign(),i={position:"absolute", 317margin:"auto auto",top:0,bottom:0};switch(t.css(i),n){case c.a.CENTER:Object.assign(i,{left:"0",right:"0"});break;case c.a.LEFT:Object.assign(i,{left:"0",right:"auto"});break;case c.a.RIGHT:Object.assign(i,{left:"auto",right:"0"});break}t.css(i)}},{key:"_addAnimationSceneToHtml",value:function e(t){this.getWObject().getContent().prepend(t)}},{key:"_calculateDefaultSceneSize",value:function e(){var t=getComputedStyle(this.getWObject().getContent()[0]),n="".concat(parseInt(t.paddingTop,10)+parseInt(t.paddingBottom, 31810),"px"),i="".concat(parseInt(t.paddingLeft,10)+parseInt(t.paddingRight,10),"px"),r={};return r.height="calc(100% - ".concat(n,")"),r.width="calc(100% - ".concat(i,")"),r}},{key:"beforeAnimation",value:function e(){this.getWObject().getMobileMenuIcon().addClass(l.a.TRANSITION_ANIMATION_RUNNING_CLASS)}},{key:"afterAnimation",value:function e(){this.getWObject().getMobileMenuIcon().removeClass(l.a.TRANSITION_ANIMATION_RUNNING_CLASS),this.getWObject().updateIconInMobileMenu()}}]),n}(l.a);d.MENU_ICON_ANIMATION_SCENE_CLASS= 319"menuIconAnimationScene"},3047:function(e,t,n){var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),c=n(2086),u=n(3746),l=n(2059);function f(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, 320[],function(){})),!0}catch(e){return!1}}var d=function e(t){return function(e){Object(a.a)(n,e);var t=f(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this))._currentAnimationsArray=[],e._showAnimations=[],e._counterAnimatinos=[],e}return Object(r.a)(n,[{key:"_updateCurrentAnimationsArray",value:function e(){this._currentAnimationsArray=this._counterAnimatinos.slice(),!0===this._objectAnimationsEnabled&&(this._currentAnimationsArray=this._currentAnimationsArray.concat(this._showAnimations))}}, 321{key:"performAnimations",value:function e(){throw"Not implemented";}},{key:"updateCurrentObjectAnimationsArray",value:function e(){throw"Not implemented";}},{key:"_disposeCurrentAnimationsArray",value:function e(){for(var t=0;t<this._showAnimations.length;t++)this._currentAnimationsArray[t].dispose();this._currentAnimationsArray=[]}},{key:"_disposeShowAnimations",value:function e(){for(var t=0;t<this._showAnimations.length;t++)this._showAnimations[t].dispose();this._showAnimations=[]}},{key:"_disposeCounterAnimations", 322value:function e(){for(var t=0;t<this._counterAnimatinos.length;t++)this._counterAnimatinos[t].dispose();this._counterAnimatinos=[]}},{key:"finishAllAnimations",value:function e(){this._disposeShowAnimations()}},{key:"containsCounterInInCounterAnimationsQueue",value:function e(t){return this._counterAnimatinos.some(function(e){return e.wObject===t})}},{key:"addCounterToQueue",value:function e(t){this.containsCounterInInCounterAnimationsQueue(t)||(this._counterAnimatinos.push(new u.a({wObject:t})), 323this._updateCurrentAnimationsArray())}},{key:"removeCounterFromQueue",value:function e(t){for(var n=0;n<this._counterAnimatinos.length;n++){var i=this._counterAnimatinos[n];if(i.wObject===t){this._counterAnimatinos.splice(n,1),i.dispose();break}}}},{key:"containsWObjectInShowAnimation",value:function e(t){return this._showAnimations.some(function(e){return e.wObject===t})}},{key:"addShowAnimationToQueue",value:function e(t){this.containsWObjectInShowAnimation(t)||this._showAnimations.push(new c.a({wObject:t, 324hideWObject:!0===this._objectAnimationsEnabled,interactionsService:this.interactionsService}))}},{key:"removeFromShowAnimation",value:function e(t){for(var n=0;n<this._showAnimations.length;n++){var i=this._showAnimations[n];if(i.wObject===t){this._showAnimations.splice(n,1),i.dispose();break}}}},{key:"collectCounterWObjects",value:function e(){for(var t=[],n=0;n<this._counterAnimatinos.length;n++)t.push(this._counterAnimatinos[n].wObject);return t}},{key:"collectShowAnimationWObjects",value:function e(){for(var t= 325[],n=0;n<this._showAnimations.length;n++)t.push(this._showAnimations[n].wObject);return t}}]),n}(t)};t.a=d},3158: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),c=n(2),u=n(1240),l=n(1224),f=n(1336),h=n(1301),d=n(972),m;function y(e){var t=v();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(s.a)(this,r)}}function v(){if("undefined"==typeof Reflect|| 326!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=y(n);function n(e){var r;return Object(i.a)(this,n),r=t.call(this,e),webwave.isNotDef(e)&&(e={}),r._direction=webwave.isDef(e.direction)?e.direction:h.a.DEFAULT_DIRECTION,r}return Object(r.a)(n,[{key:"serialize",value:function e(){var t=Object(a.a)(Object(c.a)(n.prototype),
327"serialize",this).call(this);return t.class="webwave.gui.animation.FlyOutAnimation",t.direction=this._direction,t}},{key:"setDirection",value:function e(t){webwave.isValidEnumValue(t,d.a)&&(this._direction=t)}},{key:"getDirection",value:function e(){return this._direction}},{key:"getFinalCss",value:function e(){var t=0,n=0;switch(this._direction){case d.a.TOP:n=-this._distance;break;case d.a.TOP_RIGHT:t=this._distance,n=-this._distance;break;case d.a.RIGHT:t=this._distance;break;case d.a.BOTTOM_RIGHT:t= 328this._distance,n=this._distance;break;case d.a.BOTTOM:n=this._distance;break;case d.a.BOTTOM_LEFT:t=-this._distance,n=this._distance;break;case d.a.LEFT:t=-this._distance;break;case d.a.TOP_LEFT:t=-this._distance,n=-this._distance;break}return{translateX:t,translateY:n,opacity:0}}},{key:"getAnimationPropsData",value:function e(t){var n=this.getFinalCss(),i="translateX(${0}px) translateY(${1}px)";return t.isRotated()&&(i+=" rotateZ(".concat(t.getRotation(),"deg)")),[new l.a({propertyName:"transform", 329startValues:[0,0],finalValues:[n.translateX,n.translateY],template:i,noClear:!0}),new l.a({propertyName:"opacity",startValues:[t.getComputedOpacity()/100],finalValues:[0],template:"${0}",noClear:!0})]}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"cleanAnimatableObjectAfterAnimation",this).call(this,t),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{transform:t.getRotationTransformCss(),opacity:t.getComputedOpacity()/100})}},{key:"clone", 330value:function e(){return new n(this.serialize())}},{key:"getType",value:function e(){return u.a.FLY_OUT}}]),n}(n(1303).a)},3159:function(e,t,n){n.d(t,"a",function(){return y});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),c=n(2),u=n(1240),l=n(1224),f=n(1336),h;function d(e){var t=m();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(s.a)(this,r)}}function m(){if("undefined"==typeof Reflect|| 331!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(o.a)(n,e);var t=d(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"serialize",value:function e(){var t=Object(a.a)(Object(c.a)(n.prototype),"serialize",this).call(this);return t.class="webwave.gui.animation.FadeOutAnimation",t}},{key:"getAnimationPropsData", 332value:function e(t){return[new l.a({propertyName:"opacity",startValues:[t.getComputedOpacity()/100],finalValues:[0],template:"${0}",noClear:!0})]}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"cleanAnimatableObjectAfterAnimation",this).call(this,t),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{opacity:t.getComputedOpacity()/100})}},{key:"clone",value:function e(){return new n(this.serialize())}},{key:"getType",value:function e(){return u.a.FADE_OUT}}]), 333n}(n(1303).a)},3160:function(e,t,n){n.d(t,"a",function(){return y});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),c=n(2),u=n(1240),l=n(1224),f=n(1336),h;function d(e){var t=m();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(s.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, 334[],function(){})),!0}catch(e){return!1}}var y=function(e){Object(o.a)(n,e);var t=d(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"serialize",value:function e(){var t=Object(a.a)(Object(c.a)(n.prototype),"serialize",this).call(this);return t.class="webwave.gui.animation.ExpandOutAnimation",t}},{key:"getAnimationPropsData",value:function e(t){var n=t.getContentSize(),i="translate(".concat(-n.width/2,"px, ").concat(-n.height/2,"px)"),r="translate(".concat(n.width/ 3352,"px, ").concat(n.height/2,"px)"),a="".concat(r," scale(${0}) ").concat(i);return t.isRotated()&&(a="rotateZ(".concat(t.getRotation(),"deg) ").concat(a)),[new l.a({propertyName:"transform",startValues:[1],finalValues:[0],template:a,noClear:!0}),new l.a({propertyName:"opacity",startValues:[t.getComputedOpacity()/100],finalValues:[0],template:"${0}",noClear:!0})]}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"cleanAnimatableObjectAfterAnimation", 336this).call(this,t),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{transform:t.getRotationTransformCss(),opacity:t.getComputedOpacity()/100,transformOrigin:""})}},{key:"clone",value:function e(){return new n(this.serialize())}},{key:"getType",value:function e(){return u.a.EXPAND_OUT}}]),n}(n(1303).a)},3161: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),c=n(2),u=n(1240),l=n(1224),f=n(1336),h=n(1301),d=n(1303),m=n(210),y=n(2319);function v(e){var t= 337g();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(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; 338return Object(i.a)(this,n),webwave.isNotDef(e)&&(e={}),(r=t.call(this,e))._direction=webwave.isValidEnumValue(e.direction,m.a)?e.direction:h.a.DEFAULT_DIRECTION,r}return Object(r.a)(n,[{key:"serialize",value:function e(){var t=Object(a.a)(Object(c.a)(n.prototype),"serialize",this).call(this);return t.class="webwave.gui.animation.HideAnimation",t.direction=this._direction,t}},{key:"getDirection",value:function e(){return this._direction}},{key:"setDirection",value:function e(t){webwave.isValidEnumValue(t, 339m.a)&&(this._direction=t)}},{key:"_createAnimationPropsMap",value:function e(t){var n={top:t.top,right:t.right,bottom:t.bottom,left:t.left},i={top:t.top,right:t.right,bottom:t.bottom,left:t.left};switch(this._direction){case m.a.TOP:n.bottom=n.top;break;
339case m.a.RIGHT:n.left=n.right;break;case m.a.BOTTOM:n.top=n.bottom;break;case m.a.LEFT:n.right=n.left;break}return[new l.a({propertyName:"clip",startValues:[i.top,i.right,i.bottom,i.left],finalValues:[n.top,n.right,n.bottom,n.left],template:"rect(${0}px ${1}px ${2}px ${3}px)", 340noClear:!0})]}},{key:"getAnimationPropsData",value:function e(t){var n=t.getShadowSizeCorrection(),i=t.getContentSize();return this._createAnimationPropsMap({top:-n.top,right:i.getWidth()+n.right,bottom:i.getHeight()+n.bottom,left:-n.left})}},{key:"prepareAnimatableObjectForAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"prepareAnimatableObjectForAnimation",this).call(this,t),this.previousLeft=t.getContent().css("left");var i=webwave.isStringAndNotEmpty(this.previousLeft)?this.previousLeft: 341"0px";"auto"===i&&(i="0px"),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{position:"absolute",left:i,right:0})}},{key:"cleanAnimatableObjectAfterAnimation",value:function e(t){Object(a.a)(Object(c.a)(n.prototype),"cleanAnimatableObjectAfterAnimation",this).call(this,t),f.a.setCssPropertiesForElements(t.getElementsForAnimation(),{position:"",left:webwave.isStringAndNotEmpty(this.previousLeft)?this.previousLeft:0,right:0,clip:""})}},{key:"clone",value:function e(){return new n(this.serialize())}}, 342{key:"getType",value:function e(){return u.a.HIDE}}]),n}(d.a)},3162: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:"toggleClassToListOfElements",value:function t(n,i,r){for(var a=0;a<n.length;a++)e.toggleClass(n[a],i,r)}},{key:"toggleClass",value:function e(t,n,i){t.classList.toggle(n,i)}},{key:"addClass",value:function t(n,i){e.toggleClass(n,i,!0)}},{key:"removeClass",value:function t(n,i){e.toggleClass(n, 343i,!1)}}]),e}()},3163:function(e,t,n){t.a={swing:"swing",linear:"linear","ease-in":"easeInCubic","ease-out":"easeOutCubic","ease-in-out":"easeInOutCubic","bounce-in":"easeInBack","bounce-out":"easeOutBack","bounce-in-out":"easeInOutBack"}},3190:function(e,t,n){n.d(t,"a",function(){return c});var i=n(0),r=n(1),a=n(1224),o=n(2597),s=n(1606),c=function(){function e(t){Object(i.a)(this,e),this.type=t.type,this.$targetElement=t.targetElement,this.currentCornerIndex=null,this.animationIndex=1,this.zoom= 344null,this.alternativeZoom=null,this.duration=null,this.effectPlaying=!1,this._currentAnimation=null}return Object(r.a)(e,[{key:"_loadOptions",value:function t(){this.isNotDisabled()&&(this.setZoom(e.options[this.type].zoom),this.setAlternativeZoom(e.options[this.type].alternativeZoom),this.setDuration(e.options[this.type].duration))}},{key:"initEffect",value:function e(){this.isNotDisabled()&&(this._loadOptions(),this._start())}},{key:"setType",value:function e(t){webwave.isValidEnumValue(t,s.a)&& 345(this.type=t,t===s.a.DISABLED?this.stop():this.initEffect())}},{key:"getDuration",value:function e(){return this.duration}},{key:"setDuration",value:function e(t){this.duration=t}},{key:"getZoom",value:function e(){return this.zoom}},{key:"setZoom",value:function e(t){this.zoom=t}},{key:"getAlternativeZoom",value:function e(){return this.alternativeZoom}},{key:"setAlternativeZoom",value:function e(t){this.alternativeZoom=t}},{key:"getTargetElement",value:function e(){return webwave.isDef(this.$targetElement)? 346this.$targetElement:$()}},{key:"_start",value:function e(){this._startAnimation(this.getFirstAnimationPhaseAnimationOptions())}},{key:"update",value:function e(){this.isNotDisabled()&&this.initEffect()}},{key:"_startAnimation",value:function e(t){var n=this;this._currentAnimation=new o.a({elements:[this.getTargetElement()[0]],duration:1E3*this.getDuration(),easing:"easeInOutCubic",onComplete:function e(){n.animationIndex++,n._startNextAnimationPhase()},props:t}),com.webwave.animator.animator.registerAnimation(this._currentAnimation), 347this.setEffectPlaying(!0)}},{key:"setEffectPlaying",value:function e(t){this.effectPlaying=t}},{key:"isEffectPlaying",value:function e(){return this.effectPlaying}},{key:"_startNextAnimationPhase",value:function e(){this._startAnimation(this.getNextCornerAnimationProperties())}},{key:"restart",value:function e(){}},{key:"getType",value:function e(){return this.type}},{key:"isNotDisabled",value:function e(){return this.getType()!==s.a.DISABLED}},{key:"isDisabled",value:function e(){return this.getType()=== 348s.a.DISABLED}},{key:"stop",value:function e(){this.setZoom(null),this.setAlternativeZoom(null),this.setDuration(null),null!==this._currentAnimation&&(this._currentAnimation.stop(),this._currentAnimation=null),this.deleteAddedCssPropertiesFromTargetElement(),this.setEffectPlaying(!1)}},{key:"deleteAddedCssPropertiesFromTargetElement",value:function e(){this.getTargetElement().css({"transform-origin":"",transform:""})}},{key:"getFirstAnimationPhaseAnimationOptions",value:function e(){var t=this.generateAndGetRandomCornerTransformProperties(); 349return[new a.a({propertyName:"transform",startValues:[1],finalValues:[this.getZoom()],template:"scale(${0})",noClear:!0}),new a.a({propertyName:"transformOrigin",startValues:[50,50],finalValues:t,template:"${0}% ${1}%",noClear:!0})]}},{key:"getRandomCornerIndex",value:function t(){var n;do n=Math.floor(Math.random()*e.cornersArray.length);while(n===this.currentCornerIndex);return n}},{key:"getOppositeCornerIndex",value:function e(){return(this.currentCornerIndex+2)%4}},{key:"getZoomProperty",value:function e(){return this.animationIndex% 3502==0?this.getZoom():this.getAlternativeZoom()}},{key:"getNextZoomProperty",value:function e(){return this.animationIndex%2==0?this.getAlternativeZoom():this.getZoom()}},{key:"getNextCornerAnimationProperties",value:function e(){var t=this.getCurrentCornerTransformProperties(),n=this.generateAndGetOppositeCornerTransformProperties();return[new a.a({propertyName:"transform",startValues:[this.getZoomProperty()],finalValues:[this.getNextZoomProperty()],template:"scale(${0})",noClear:!0}),new a.a({propertyName:"transformOrigin", 351startValues:t,finalValues:n,template:"${0}% ${1}%",noClear:!0})]}},{key:"getCurrentCornerTransformProperties",value:function t(){return e.cornersArray[this.currentCornerIndex]}},{key:"generateAndGetRandomCornerTransformProperties",value:function e(){return this.currentCornerIndex=this.getRandomCornerIndex(),this.getCurrentCornerTransformProperties()}},{key:"generateAndGetOppositeCornerTransformProperties",value:function e(){return this.currentCornerIndex=this.getOppositeCornerIndex(),this.getCurrentCornerTransformProperties()}}], 352[{key:"getDefaultType",value:function e(){return s.a.DISABLED}}]),e}();c.options={basicKenBurns:{zoom:1.3,alternativeZoom:1.2,duration:15}},c.corners={topLeft:[0,0],topRight:[100,0],bottomRight:[100,100],bottomLeft:[0,100]},c.cornersArray=[c.corners.topLeft,c.corners.topRight,c.corners.bottomRight,c.corners.bottomLeft]},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)||Object(r.a)(e)||Object(a.a)(e)||Object(o.a)()}},3746:function(e,t,n){n.d(t,"a", 353function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),c=n(2086),u=n(2631),l=n(2550);function f(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, 354[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=f(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).mode=l.a.BOTH_DIRECTIONS,r}return Object(r.a)(n,[{key:"addSpecificData",value:function e(t){this.wObject.getCounterAnimationManager().setAnimationQueueItem(this)}},{key:"_getAnimationToCalculateStartPoint",value:function e(){return this.wObject.getCounterAnimationData()}},{key:"_animateWObject",value:function e(){this.wObject.getCounterAnimationManager().animate()}}, 355{key:"setCounterAnimationFinished",value:function e(){this.animationStatus=!0===this.wObject.getCounterAnimationData().getOnlyOnce()?u.a.DISABLED:u.a.FINISHED}},{key:"undoAnimation",value:function e(){this.animationStatus=u.a.INITIAL}},{key:"dispose",value:function e(){this.wObject.getCounterAnimationManager().setAnimationQueueItem(null)}}]),n}(c.a)},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"); 356return Object(r.a)(e)}},40:function(e,t,n){n.d(t,"a",function(){return o}
356);var i=n(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= 357t}},{key:"clone",value:function t(){return new e({width:this.width,height: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*= 358t,this.height*=t,this}},{key:"applyLimits",value:function e(){var t=arguments.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", 359value:function e(){return"{".concat(this.width,",").concat(this.height,"}}")}},{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}(); 360o.deserialize=function(e){return webwave.isNotDef(e)?new o({width:0,height:0}):new 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},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= 3610,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)&&(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+= 362t.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",value: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>= 363t.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)?new 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}()},57:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"arrayHasSameItems",function(){return G}),n.d(t,"arrayIncludeArray",function(){return X}),n.d(t,"default", 364function(){return K}),n.d(t,"isArrayLike",function(){return Z}),n.d(t,"isArrayWithExactlyNElements",function(){return q}),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, 365"isDomElement",function(){return oe}),n.d(t,"isEmptyString",function(){return se}
365),n.d(t,"isFile",function(){return ce}),n.d(t,"isFunction",function(){return ue}),n.d(t,"isNestedObjectExist",function(){return le}),n.d(t,"isNonEmptyArray",function(){return fe}),n.d(t,"isNotBoolean",function(){return he}),n.d(t,"isNotDef",function(){return de}),n.d(t,"isNotDefOrNull",function(){return me}),n.d(t,"isNotDefOrNullOrEmptyString",function(){return ye}),n.d(t,"isNotNull",function(){return ve}),n.d(t,"isNotString", 366function(){return ge}),n.d(t,"isNumber",function(){return pe}),n.d(t,"isNumberAndNotNaN",function(){return be}),n.d(t,"isObject",function(){return Se}),n.d(t,"isObjectAndNotNull",function(){return Oe}),n.d(t,"isString",function(){return Ae}),n.d(t,"isStringAndNotEmpty",function(){return we}),n.d(t,"isStringOrSymbol",function(){return Te}),n.d(t,"isSymbol",function(){return _e}),n.d(t,"isValidEnumValue",function(){return Ne}),n.d(t,"isValidJSON",function(){return Ee});var i={d:(e,t)=>{for(var n in t)i.o(t, 367n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},r={};i.d(r,{$5:()=>S,$P:()=>k,Ay:()=>Y,Bm:()=>R,C8:()=>y,EI:()=>B,Et:()=>D,FP:()=>F,Gv:()=>j,H0:()=>A,I$:()=>d,Kg:()=>_,LL:()=>g,Lm:()=>P,N2:()=>U,Pe:()=>O,Rg:()=>W,SU:()=>v,Tl:()=>p,Tn:()=>w,Xj:()=>L,ZR:()=>T,fS:()=>m,fo:()=>x,fz:()=>V,gI:()=>H,jw:()=>E,kI:()=>M,nX:()=>C,w7:()=>b,x0:()=>h,z9:()=>z,zC:()=>N,zG:()=>I,zM:()=>$});const a="undefined",o="function",s="string",c="number", 368u="boolean",l="object",f=typeof Symbol("test");function h(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function d(e,t){return!(!L(e)||!L(t)||t.length!==e.length)&&m(e,t)}function m(e,t){return t.every(t=>e.includes(t))}function y(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 v(e,t,n="."){if(g(e))return!1;let i=t.split(n),r=e;for(var a=0;a<i.length;a++)if(g(r=r[i[a]]))return!1;return!0}function g(e){return typeof e=== 369a}function p(e){return typeof e===a||null===e}function b(e){return p(e)||E(e)}function S(e){return j(e)&&O(e)}function O(e){return null!==e}function A(e){return y(e)&&null!==e}function w(e){return typeof e===o}function T(e){return A(e)&&e.length>0}function _(e){return typeof e===s}function N(e){return _(e)&&""!==e}function E(e){return _(e)&&""===e}function I(e){return typeof e!==s}function k(e){return e instanceof Date}function D(e){return typeof e===c}function P(e){return typeof e===u}function j(e){return typeof e=== 370l}function C(e){return _(e)||R(e)}function R(e){return typeof e===f}function M(e){return typeof e!==u}function F(e){return typeof e===c&&!1===isNaN(e)}function L(e){return"object"==typeof e&&null!==e&&"number"==typeof e.length}function x(e){return e instanceof File}function H(e){return U(e,1)}function U(e,t){return L(e)&&e.length===t}function V(e,t){return L(e)&&e.length>=t}function B(e){return V(e,1)}function W(e,t){if(y(e)&&y(t))for(var n in t)if(t.hasOwnProperty(n)&&t[n]===e)return!0;return!1} 371function $(e){try{return JSON.parse(e),!0}catch(e){return!1}}function z(e){return e instanceof Element}const Y={arrayHasSameItems:d,arrayIncludeArray:m,isArrayLike:L,isArraysEqual:h,isArrayWithExactlyNElements:U,isArrayWithExactlyOneElement:H,isArrayWithMinimumNElements:V,isBoolean:P,isDate:k,isDef:y,isDefAndNotEmpty:T,isDefAndNotNull:A,isDomElement:z,isEmptyString:E,isFile:x,isFunction:w,isNestedObjectExist:v,isNonEmptyArray:B,isNotBoolean:M,isNotDef:g,isNotDefOrNull:p,isNotDefOrNullOrEmptyString:b, 372isNotNull:O,isNotString:I,isNumber:D,isNumberAndNotNaN:F,isObject:j,isObjectAndNotNull:S,isString:_,isStringAndNotEmpty:N,isStringOrSymbol:C,isSymbol:R,isValidEnumValue:W,isValidJSON:$};var G=r.I$,X=r.fS,K=r.Ay,Z=r.Xj,q=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,ce=r.fo,ue=r.Tn,le=r.SU,fe=r.EI,he=r.kI,de=r.LL,me=r.Tl,ye=r.w7,ve=r.Pe,ge=r.zG,pe=r.Et,be=r.FP,Se=r.Gv,Oe=r.$5,Ae=r.Kg,we=r.zC,Te=r.nX,_e=r.Bm,Ne=r.Rg,Ee=r.zM},5805:function(e,t,n){n.d(t,"a",function(){return T}); 373var i=n(26),r=n(0),a=n(1),o=n(3),s=n(4),c=n(2),u=n(25),l=n.n(u),f=n(2888),h=n(2086),d=n(5806),m=n(1926),y=n(2518),v=n(2059),g=n(1682),p=n(3047);function b(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
373if(!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."); 374}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 S(e,t){if(e){if("string"==typeof e)return O(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)?O(e,t):void 0}}function O(e,t){(null== 375t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function A(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(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,[], 376function(){})),!0}catch(e){return!1}}var T=function(e){Object(o.a)(n,e);var t=A(n);function n(){var e;return Object(r.a)(this,n),(e=t.call(this)).pageService=void 0,e.objectService=void 0,e.rwdService=void 0,e.interactionsService=void 0,e._objectAnimationsEnabled=!0,e._animatedElementsArray=[],e}return Object(a.a)(n,[{key:"initObjectsAnimations",value:function e(){var t,n=b(this.objectService.findAllWObjects()),i;try{for(n.s();!(i=n.n()).done;){var r=i.value;r.setAnimationPlayer(new y.a(r)),!0=== 377r.getDomObject()[0].classList.contains(d.a.ANIMATED_OBJECT_CLASS)&&this.addAnimationToElement(r);var a=b(r.getInnerElements()),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;s.setAnimationPlayer(new y.a(s))}}catch(e){a.e(e)}finally{a.f()}}}catch(e){n.e(e)}finally{n.f()}}},{key:"initWCounters",value:function e(){var t=this,n;this.objectService.findAllWCounters().forEach(function(e){t.addCounterToQueue(e)})}},{key:"addAnimationToElement",value:function e(t){-1===this._animatedElementsArray.indexOf(t)&& 378this._animatedElementsArray.push(t)}},{key:"performAnimations",value:function e(){if(this._currentAnimationsArray.length>0){var t=this.pageService.getPageCanvas().getViewPort(),n,i=this.pageService.getAdvertisementHeight();t.getSize().subtractHeight(i);for(var r=0;r<this._currentAnimationsArray.length;r++)(n=this._currentAnimationsArray[r]).isAnimationInitial()?n.canDoAnimation(t)&&n.doAnimation():n.isAnimationFinished()&&n.canUndoAnimation(t)&&n.undoAnimation()}}},{key:"updateObjectsVisibilityAnimationsArray", 379value:function(){var e=Object(i.a)(l.a.mark(function e(){var t=this,n,i,r,a;return l.a.wrap(function e(o){for(;;)switch(o.prev=o.next){case 0:for(this._disposeShowAnimations(),(n=(n=this._animatedElementsArray).filter(function(e){return e.isToAnimate()})).length>0&&(n=Object(v.b)(n)),i=new g.a,r=function e(r){i.addToQueue(function(){t._showAnimations.push(new h.a({interactionsService:t.interactionsService,wObject:n[r],hideWObject:!0}))})},a=0;a<n.length;a++)r(a);return i.addToQueue(function(){t._updateCurrentAnimationsArray()}), 380o.abrupt("return",new Promise(function(e){i.addToQueue(function(){e()}),i.dequeue()}));case 9:case "end":return o.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"updateCurrentObjectAnimationsArray",value:function(){var e=Object(i.a)(l.a.mark(function e(){return l.a.wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.updateObjectsVisibilityAnimationsArray();case 2:this.performAnimations();case 3:case "end":return t.stop()}},e,this)}));function t(){return e.apply(this, 381arguments)}return t}()},{key:"updateCurrentObjectAnimationsArrayStartPoints",value:function e(){for(var t=0;t<this._currentAnimationsArray.length;t++)this._currentAnimationsArray[t].updateAnimationStartPoint()}},{key:"onPageAreaScrollChange",value:function e(t,n){n!==t&&this.performAnimations()}},{key:"onRwdModeChange",value:function(){var e=Object(i.a)(l.a.mark(function e(t){return l.a.wrap(function e(n){for(;;)switch(n.prev=n.next){case 0:return this.loadAnimationsForRwd(t),n.next=3,this.updateCurrentObjectAnimationsArray(); 382case 3:case "end":return n.stop()}},e,this)}));function t(t){return e.apply(this,arguments)}return t}()},{key:"setObjectService",value:function e(t){this.objectService=t}},{key:"setPageService",value:function e(t){this.pageService=t}},{key:"setRwdService",value:function e(t){this.rwdService=t}},{key:"setInteractionsService",value:function e(t){this.interactionsService=t}},{key:"loadAnimationsForRwd",value:function e(t){var n,i=b(this.objectService.findAllWObjects()),r;try{for(i.s();!(r=i.n()).done;){var a= 383r.value;this._loadObjectAnimationForRwd(a,t)}}catch(e){i.e(e)}finally{i.f()}}},{key:"_loadObjectAnimationForRwd",value:function e(t,n){var i=this.rwdService.searchForClosestObjectByRwdMode(t.getRwdProperties(),n);webwave.isDefAndNotNull(i)&&(t.setAnimation(m.a.createObjectAnimationByMap(i.animation)),t.setHideAnimation(m.a.createObjectAnimationByMap(i.hideAnimation)),t.setAnimationEnabled(webwave.isDef(i.animation)),t.setHideAnimationEnabled(webwave.isDef(i.hideAnimation)),t.setScrollAnimationEnabled(!0=== 384i.animationOnScrollEnabled),webwave.isDef(i.animationOnScroll)&&t.setAnimationOnScroll(f.a.deserialize(i.animationOnScroll)),t.setAnimationsInitliazed(!0));var r=b(t.getInnerElements()),a;try{for(r.s();!(a=r.n()).done;){var o=a.value,s=o.getRwdAnimationMaps()[n.getId()];o.setAnimation(m.a.createObjectAnimationByMap(s))}}catch(e){r.e(e)}finally{r.f()}}}]),n}(Object(p.a)(Object))},5806:function(e,t,n){t.a={ANIMATED_OBJECT_CLASS:"ww_animated"}},5812:function(e,t,n){n.d(t,"a",function(){return s});var i= 385n(0),r=n(1),a=n(2409),o=n(1752),s=function(){function e(){Object(i.a)(this,e),this.app=void 0}return Object(r.a)(e,[{key:"init",value:function e(){var t=this,n=new CustomEvent(a.a);n.service=this,document.dispatchEvent(n),document.addEventListener(o.a,function(e){t.inject(e.context)})}},{key:"getApp",value:function e(){return this.app}},{key:"globalWebsiteData",value:function e(){return this.getApp().getGlobalWebsiteData()}},{key:"getServiceFromApp",value:function e(t){return this.getApp().getServiceFromContainer(t)}}, 386{key:"inject",value:function e(t){this.app=t,this.run()}},{key:"run",value:function e(){}},{key:"injectDependencies",value:function e(){}}]),e}()},6799:function(e,t,n){var i;
386Object.defineProperty(t,"__esModule",{value:!0}),(new (n(6800).a)).init()},6800:function(e,t,n){n.d(t,"a",function(){return A});var i=n(26),r=n(0),a=n(1),o=n(3),s=n(4),c=n(2),u=n(25),l=n.n(u),f=n(5812),h=n(6801),d=n(5805),m=n(6802),y=n(6803),v=n(30),g=n(1027),p=n(17),b=n(1682);function S(e){var t=O();return function n(){var i= 387Object(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(s.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}}var A=function(e){Object(o.a)(n,e);var t=S(n);function n(){var e;Object(r.a)(this,n);for(var i= 388arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).animationService=void 0,e.kenBurnsService=void 0,e.objectService=void 0,e.wObjectHoverAnimationService=void 0,e.wMenuIconAnimatorService=void 0,e}return Object(a.a)(n,[{key:"run",value:function e(){var t=this,n=new b.a;n.addToQueue(function(){t.injectDependencies()}),n.addToQueue(function(){t._initAnimations()}),n.dequeue()}},{key:"injectDependencies",value:function e(){this.objectService=this.getServiceFromApp(g.a.ObjectService), 389this.animationService=new d.a,this.animationService.setObjectService(this.objectService),this.animationService.setPageService(this.getServiceFromApp(g.a.PageService)),this.animationService.setInteractionsService(this.getServiceFromApp(p.a.InteractionsService)),this.getServiceFromApp(g.a.PublicatedScrollService).addScrollListener(this.animationService),this.getServiceFromApp(g.a.GroupService).setObjectAnimationService(this.animationService);var t=this.getServiceFromApp(g.a.RwdService);t.addRwdModeChangeListener(this.animationService), 390this.animationService.setRwdService(t),this.kenBurnsService=new h.a,this.wObjectHoverAnimationService=new y.a,this.wObjectHoverAnimationService.setObjectService(this.objectService),this.wMenuIconAnimatorService=new m.a,this.wMenuIconAnimatorService.setObjectService(this.objectService)}},{key:"_initAnimations",value:function e(){this._initShowHideObjectAnimations(),this._initWCounters(),this._initKenBurns(),this._initObjectHoverAnimations(),this._initWMenuIconTransitionAnimations()}},{key:"_initShowHideObjectAnimations", 391value:function e(){var t=this;this.animationService.initObjectsAnimations(),this.animationService.loadAnimationsForRwd(this.getServiceFromApp(g.a.RwdService).getCurrentRwdMode()),webwave.addLoadListener(Object(i.a)(l.a.mark(function e(){return l.a.wrap(function e(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.animationService.updateCurrentObjectAnimationsArray();case 2:case "end":return n.stop()}},e)})))}},{key:"_initWCounters",value:function e(){this.animationService.initWCounters()}}, 392{key:"_initKenBurns",value:function e(){this.kenBurnsService.setObjectService(this.objectService),this.kenBurnsService.initElements()}},{key:"_initObjectHoverAnimations",value:function e(){this.wObjectHoverAnimationService.initAnimationForObjects()}},{key:"_initWMenuIconTransitionAnimations",value:function e(){this.wMenuIconAnimatorService.initAnimationForWMenus()}},{key:"_getServiceFromApp",value:function e(t){return this.app.getServiceFromContainer(t)}}]),n}(f.a)},6801:function(e,t,n){n.d(t,"a", 393function(){return u});var i=n(0),r=n(1),a=n(3190);function o(e,t){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."); 394}var a=!0,o=!1,c;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,c=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw c;}}}}function s(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== 395t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var u=function(){function e(){Object(i.a)(this,e),this.kenBurnsEffects=[]}return Object(r.a)(e,[{key:"initElements",value:function e(){var t,n=o(this.objectService.findAllWElementsSupportedKenBurns()),i;try{for(n.s();!(i=n.n()).done;){var r=i.value;r.initKenBurnsType(this),r.initKenBurns()}}catch(e){n.e(e)}finally{n.f()}}},{key:"initKenBurnsEffectOnElement",value:function e(t,n){var i=new a.a({type:n,targetElement:t}); 396return i.initEffect(),this.kenBurnsEffects.push(i),i}},{key:"setObjectService",value:function e(t){this.objectService=t}}]),e}()},6802:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(3021),o=n(2927);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
396if(!n){if(Array.isArray(e)||(n=c(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; 397},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 c(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&& 398(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]=e[n];return i}var l=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"initAnimationForWMenus",value:function e(){var t,n=s(this.objectService.findAllWMenus()),i;try{for(n.s();!(i=n.n()).done;){var r=i.value;r.setMenuIconTransitionAnimator(new a.a(r, 399{animationData:{type:r.getMobileMenuImageAnimationType(),duration:o.a.DEFAULT_MOBILE_MENU_ANIMATION_DURATION}}))}}catch(e){n.e(e)}finally{n.f()}}},{key:"setObjectService",value:function e(t){this.objectService=t}}]),e}()},6803:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(3005);function o(e,t){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, 400n: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,c;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,c=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw c;}}}}function s(e,t){if(e){if("string"==typeof e)return c(e, 401t);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 u=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"initAnimationForObjects",value:function e(){var t,n=o(this.objectService.findAllWObjects()), 402i;try{for(n.s();!(i=n.n()).done;){var r=i.value;r.setHoverAnimator(new a.a(r,r.getHoverAnimatorData()))}}catch(e){n.e(e)}finally{n.f()}}},{key:"setObjectService",value:function e(t){this.objectService=t}}]),e}()},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", 403LEFT:"left",LEFT_EXTENDS_TOP:"left extends top",LEFT_EXTENDS_BOTTOM:"left extends bottom",RIGHT:"right",RIGHT_EXTENDS_TOP:"right extends top",RIGHT_EXTENDS_BOTTOM:"right extends bottom"};t.a=i},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}});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.