1//# sourceMappingURL=galleryModule.js.map 2var process=process||{env:{NODE_ENV:"development"}}; 3!function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function e(){return t.default}:function e(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=6797)}({0:function(t,e,i){function n(t,e){if(!(t instanceof 4e))throw new TypeError("Cannot call a class as a function");}e.a=n},1:function(t,e,i){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}e.a=r},10:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),function(t){i.d(e,"ApiClient",function(){return ce}),i.d(e,"ApiError", 5function(){return Qt}),i.d(e,"ApiResponse",function(){return ne}),i.d(e,"ArrayUtils",function(){return T}),i.d(e,"AsyncSemaphore",function(){return x}),i.d(e,"AsyncUtils",function(){return S}),i.d(e,"AutopayAvailableCurrencies",function(){return Kt}),i.d(e,"AutopayRecurringActions",function(){return qt}),i.d(e,"AutopayUtils",function(){return Zt}),i.d(e,"CardPaymentTypes",function(){return Jt}),i.d(e,"Color",function(){return k}),i.d(e,"ColorUtils",function(){return M}),i.d(e,"Config",function(){return L}), 6i.d(e,"ContentTypes",function(){return te}),i.d(e,"Currency",function(){return F}),i.d(e,"DateUtils",function(){return W}),i.d(e,"DecimalSeparators",function(){return z}),i.d(e,"DelayedThrottler",function(){return U}),i.d(e,"Direction2D",function(){return Y}),i.d(e,"DomUtils",function(){return X}),i.d(e,"EnumUtils",function(){return g}),i.d(e,"Environment",function(){return q}),i.d(e,"Environments",function(){return G}),i.d(e,"FileUtils",function(){return Z}),i.d(e,"HtmlUtils",function(){return H}), 7i.d(e,"HttpMethods",function(){return ee}),i.d(e,"HttpStatus",function(){return m}),i.d(e,"IconsNamesReferences",function(){return J}),i.d(e,"InputUtils",function(){return tt}),i.d(e,"KeyBindings",function(){return et}),i.d(e,"KeyCodes",function(){return it}),i.d(e,"LocationUtils",function(){return nt}),i.d(e,"MathOutputFormat",function(){return rt}),i.d(e,"MathUtils",function(){return st}),i.d(e,"MobileUtils",function(){return ot}),i.d(e,"NumberUtils",function(){return lt}),i.d(e,"ObjectComparators", 8function(){return ut}),i.d(e,"ObjectUtils",function(){return ct}),i.d(e,"Orientation2D",function(){return ht}),i.d(e,"PanelTypes",function(){return pt}),i.d(e,"Point2D",function(){return dt}),i.d(e,"RegexTypes",function(){return ft}),i.d(e,"RequestUtils",function(){return y}),i.d(e,"Resize",function(){return gt}),i.d(e,"SingleActionThrottler",function(){return mt}),i.d(e,"Size2D",function(){return vt}),i.d(e,"SliderInputReturnTypes",function(){return Q}),i.d(e,"SortArrayOfObjects",function(){return yt}), 9i.d(e,"StoreUtils",function(){return _t}),i.d(e,"StringUtils",function(){return Ut}),i.d(e,"TranslationPrefix",function(){return N}),i.d(e,"UrlParam",function(){return Yt}),i.d(e,"VariableUtils",function(){return Xt}),i.d(e,"VueUtils",function(){return Gt}),i.d(e,"buildFormData",function(){return le}),i.d(e,"createApiClient",function(){return he}),i.d(e,"generateApiUrl",function(){return ae}),i.d(e,"getFullUrl",function(){return se}),i.d(e,"parseCSSColor",function(){return E}),i.d(e,"parseHeaders", 10function(){return oe}),i.d(e,"processNestedObject",function(){return re});var n=i(57),r=i(137),a=Object.defineProperty,s=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(t,e,i)=>e in t?a(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,c=(t,e)=>{for(var i in e||(e={}))o.call(e,i)&&u(t,i,e[i]);if(s)for(var i of s(e))l.call(e,i)&&u(t,i,e[i]);return t},h=(t,e,i)=>u(t,"symbol"!=typeof e?e+"":e,i),p=(t,e,i)=>new Promise((n,r)=>{var a= 11t=>{try{o(i.next(t))}catch(t){r(t)}},s=t=>{try{o(i.throw(t))}catch(t){r(t)}},o=t=>t.done?n(t.value):Promise.resolve(t.value).then(a,s);o((i=i.apply(t,e)).next())});const d="autoSorting",f=t=>{Object.defineProperty(t,d,{value:!0,enumerable:!1})},g=Object.freeze(Object.defineProperty({__proto__:null,AUTO_SORTING:d,addTranslationSorting:f},Symbol.toStringTag,{value:"Module"}
11)),m={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},v=t=>parseInt(t)===m.OK,y=Object.freeze(Object.defineProperty({__proto__:null,isHttpStringStatusOK:v},Symbol.toStringTag,{value:"Module"})),_="_translationPrefix",b="_translationSuffix",w=(t,e,i)=>{Object.defineProperty(t,_,{value:e,enumerable:!1}),n.default.isDefAndNotNull(i)&&Object.defineProperty(t,b,{value:i,enumerable:!1})},O=(t,e,i)=>n.default.isDefAndNotNull(i)&&i18n.exists(`${t[_]}.${e}.${i}`)?i18n.t(`${t[_]}.${e}.${i}`):i18n.t(`${t[_]}.${e}`), 13N=Object.freeze(Object.defineProperty({__proto__:null,TRANSLATION_PREFIX_KEY:_,TRANSLATION_SUFFIX_KEY:b,addTranslationPrefix:w,translateEnumValue:O},Symbol.toStringTag,{value:"Module"}));class T{static sortArrayOfObjectsByKeyAscending(t,e){let i=[];return t&&e&&(i=Array.from(t)).sort((t,i)=>{let r=t[e],a=i[e];if(n.default.isString(r)&&n.default.isString(a)&&(r=r.toLowerCase(),a=a.toLowerCase()),n.default.isDefAndNotNull(r)&&n.default.isDefAndNotNull(a)){if(r>a)return 1;if(r<a)return-1}else if(!1=== 14n.default.isDef(r)||""===r){if(a)return 1}else if((!1===n.default.isDef(a)||""===a)&&r)return-1;return 0}),i}static sortArrayOfObjectsByKeyDescending(t,e){let i=[];return t&&e&&(i=Array.from(t)).sort((t,i)=>{let r=t[e],a=i[e];if(n.default.isString(r)&&n.default.isString(a)&&(r=r.toLowerCase(),a=a.toLowerCase()),n.default.isDefAndNotNull(r)&&n.default.isDefAndNotNull(a)){if(r>a)return-1;if(r<a)return 1}else if(!1===n.default.isDef(r)||""===r){if(a)return-1}else if((!1===n.default.isDef(a)||""===a)&& 15r)return 1;return 0}),i}static sortArrayAscending(t){let e=[];return t&&(e=t).sort((t,e)=>{let i=t,r=e;if(n.default.isString(i)&&n.default.isString(r)&&(i=i.toLowerCase(),r=r.toLowerCase()),n.default.isDefAndNotNull(i)&&n.default.isDefAndNotNull(r)){if(i>r)return 1;if(i<r)return-1}return 0}),e}static sortArrayDescending(t){let e=[];return t&&(e=t).sort((t,e)=>{let i=t,r=e;if(n.default.isString(i)&&n.default.isString(r)&&(i=i.toLowerCase(),r=r.toLowerCase()),n.default.isDefAndNotNull(i)&&n.default.isDefAndNotNull(r)){if(i> 16r)return-1;if(i<r)return 1}return 0}),e}static sortArrayByDefinedSortingValueAscending(t){let e=[];return t.array&&(e=t.array).sort((e,i)=>{let r=t.getValueCallback(e),a=t.getValueCallback(i);if(n.default.isDefAndNotNull(r)&&n.default.isDefAndNotNull(a)){if(r>a)return 1;if(r<a)return-1}if(n.default.isFunction(t.equalValuesAdditionalCallback)){if((r=t.equalValuesAdditionalCallback(e))>(a=t.equalValuesAdditionalCallback(i)))return 1;if(r<a)return-1}return 0}),e}static isArrayHasOnlyTruthyValues(t){return t.every(t=> 17!0===t)}static shuffle(t){let e=t.length,i;for(;e>0;)i=Math.floor(Math.random()*e),e-=1,[t[e],t[i]]=[t[i],t[e]];return t}static permute(t,e,i=[]){if(0===t.length)e.push(i);else for(let n=0;n<t.length;n++){let r=t.slice(),a=r.splice(n,1);T.permute(r.slice(),e,i.concat(a))}}static findValueClosestToNumericValue(t,e){if(0===e.length)return null;let i=0,n=1/0;for(let r=0;r<e.length;r++){let a=e[r],s=Math.abs(t-a);s<n&&(n=s,i=r)}return e[i]}static subtractCommonElementsFromArray(t,e,i){return n.default.isDef(i)? 18t.filter(t=>!e.some(e=>t[i]===e[i])):t.every(t=>n.default.isObject(t))?t.filter(t=>!e.some(e=>JSON.stringify(e)===JSON.stringify(t))):t.filter(t=>!e.includes(t))}static getUniqueElements(t){return t.filter((t,e,i)=>e===i.findIndex(e=>(!1===n.default.isFunction(e.equals)&&r.a.error("object has not equals method"),e.equals(t))))}static array2stringWithQuota(t){return t.reduce((t,e)=>t?`${t}, "${e}"`:`"${e}"`,"")}static mapToIdsArray(t){let e=[];return n.default.isArrayLike(t)&&t.length>0&&(e=t.map(t=> 19t.getId())),e}}class x{constructor(){this._currentPromise=null}run(t){return p(this,null,function*(){return this._currentPromise?this._currentPromise:(this._currentPromise=p(this,null,function*(){try{return yield t()}finally{this._currentPromise=null}}),this._currentPromise)})}}class S{static sleep(t){return p(this,null,function*(){return new Promise(e=>{setTimeout(()=>{e()},t)})})}static polledAction(t){return p(this,arguments,function*({before:t,exitOnError:e,poll:i,after:n,timeout:r,delay:a,onTimeout:s, 20onError:o}){t&&t();let l=Date.now(),u=null,c=!1;for(;!0!==c;){try{if(null!==(u=yield i())){c=!0;break}}catch(t){if(o&&(u=o(t)),!0===e)return c=!0,n&&n(),u}yield S.sleep(a),Date.now()-l>r&&(c=!0,u=s?yield s():null)}return n&&n(),u})}}let D={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 A(t){return(t=Math.round(t))<0?0:t>255?255:t}function P(t){return t<0?0:t>1?1:t} 28function R(t){return"%"===t[t.length-1]?A(parseFloat(t)/100*255):A(parseInt(t))}function C(t){return"%"===t[t.length-1]?P(parseFloat(t)/100):P(parseFloat(t))}function I(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function E(t){let e=t.replace(/ /g,"").toLowerCase();if(e in D)return D[e].slice();var i,i;if("#"===e[0])return 4===e.length?(i=parseInt(e.substr(1),16))>=0&&i<=4095?[(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,1]:null:7===e.length&& 29(i=parseInt(e.substr(1),16))>=0&&i<=16777215?[(16711680&i)>>16,(65280&i)>>8,255&i,1]:null;let n=e.indexOf("("),r=e.indexOf(")");if(-1!==n&&r+1===e.length){let t=e.substr(0,n),i=e.substr(n+1,r-(n+1)).split(","),a=1,s,o,l,u,c;switch(t){case "rgba":if(4!==i.length)return null;a=C(i.pop());case "rgb":return 3!==i.length?null:[R(i[0]),R(i[1]),R(i[2]),a];case "hsla":if(4!==i.length)return null;a=C(i.pop());case "hsl":return 3!==i.length?null:(s=(parseFloat(i[0])%360+360)%360/360,o=C(i[1]),[A(255*I(u=2* 30(l=C(i[2]))-(c=l<=.5?l*(o+1):l+o-l*o),c,s+1/3)),A(255*I(u,c,s)),A(255*I(u,c,s-1/3)),a]);default:return null}}return null}void 0!==t&&t.exports&&(exports.parseCSSColor=E);class k{constructor(t){if(this.r=0,this.g=0,this.b=0,this.a=0,n.default.isString(t)){let e=E(t);null!==e&&(this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3])}else n.default.isDef(t)&&(n.default.isNumberAndNotNaN(t.r)&&(this.r=t.r),n.default.isNumberAndNotNaN(t.g)&&(this.g=t.g),n.default.isNumberAndNotNaN(t.b)&&(this.b=t.b),n.default.isNumberAndNotNaN(t.a)&& 31(this.a=t.a))}toRgbaString(){return`rgba(${this.r}, ${this.g}, ${this.b}, ${this.a})`}toRgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`}
31subtract(t){return this.r-=t.r,this.g-=t.g,this.b-=t.b,this.a-=t.a,this}add(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this.a+=t.a,this}multiply(t){return this.r=Math.round(this.r*t),this.g=Math.round(this.g*t),this.b=Math.round(this.b*t),this.multiplyAlpha(t),this}multiplyAlpha(t){this.a*=t}clone(){return new k(this)}static rgb2hex(t){return n.default.isNotString(t)? 32t="#000000":-1!==t.indexOf("#")?t:null!=(t=t.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?`#${k._hex(t[1])}${k._hex(t[2])}${k._hex(t[3])}`:""}static hex2rgb(t){if(n.default.isNotString(t))return"rgb(0, 0, 0)";let e=0,i=0,r=0;return 4===t.length?(e=`0x${t[1]}${t[1]}`,i=`0x${t[2]}${t[2]}`,r=`0x${t[3]}${t[3]}`):7===t.length&&(e=`0x${t[1]}${t[2]}`,i=`0x${t[3]}${t[4]}`,r=`0x${t[5]}${t[6]}`),`rgb(${+e}, ${+i}, ${+r})`}static hex2Rgba(t,e){let i=(t=t.slice(-6)).slice(0,2),n=t.slice(2,4),r=t.slice(4);return`rgba(${parseInt(i, 3316)},${parseInt(n,16)},${parseInt(r,16)},${e})`}static hex2RgbObject(t){return t=t.slice(-6),{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4),16)}}static isHex(t){return/^#[0-9A-F]{3,6}$/i.test(t)}static isRgba(t){return/^rgba\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/.test(t)}static isRgb(t){return/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/.test(t)}static rgb2hsl(t){if(n.default.isNotString(t))return{H:0,S:0,L:0};"#"===t[0]&&(t=this.hex2rgb(t)); 34let e=0,i=0,r=0,a;e=(a=t.slice(4,-1).split(",").map(t=>+t))[0],i=a[1],r=a[2],e/=255,i/=255,r/=255;let s=Math.max(e,i,r),o=s-Math.min(e,i,r),l=o?s===e?(i-r)/o:s===i?2+(r-e)/o:4+(e-i)/o:0;return{H:60*l<0?60*l+360:60*l,S:100*(o?s<=.5?o/(2*s-o):o/(2-(2*s-o)):0),L:100*(2*s-o)/2}}invert(){this.r=255-this.r,this.g=255-this.g,this.b=255-this.b}static _hex(t){return null!==t?`0${parseInt(t).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(t){let e=t.replace(/[^\d,]/g,"").split(",");return`rgb(${e[0]}, ${e[1]}, ${e[2]})`}static obtainRgbValue(t){let e;return e=k.isHex(t)?k.hex2rgb(t):k.isRgba(t)?k.rgba2Rgb(t):t}static obtainHexValue(t){let e;if(k.isRgb(t))e=k.rgb2hex(t);else if(k.isRgba(t)){let i=k.rgba2Rgb(t);e=k.rgb2hex(i)}else e=t;return e}}class M{static rgbaOrRgb2hexAndOpacity(t){let e,i,r,a={hex:"#000000",opacity:1},s=t=>{let e=parseInt(t);return Number.isNaN(e)?"00": 36(e=Math.max(e,0),1===(e=(e=Math.min(e,255)).toString(16)).length?`0${e}`:e)};if(n.default.isString(t))if("transparent"===t&&(a.opacity=0),t.startsWith("rgba")){if(e=/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d|\d\.\d*)\)/,(i=t.match(e))&&5===i.length){let t=s(i[1]),e=s(i[2]),n=s(i[3]);a.hex=`#${t}${e}${n}`,r=parseFloat(i[4]),r=Math.max(r,0),r=Math.min(r,1),a.opacity=r}}else if(t.startsWith("rgb")&&(e=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,(i=t.match(e))&&4===i.length)){let t= 37s(i[1]),e=s(i[2]),n=s(i[3]);a.hex=`#${t}${e}${n}`,a.opacity=1}return a}static isTransparent(t){return"transparent"===t||0===M.rgbaOrRgb2hexAndOpacity(t).opacity}static isTransparentOrSomeLevelOfTransparency(t){return"transparent"===t||M.rgbaOrRgb2hexAndOpacity(t).opacity<1}static rgbObjectAndOpacityToRgbaString(t,e){return`rgba(${t.r},${t.g},${t.b},${e})`}static rgbAndOpacityToRgba(t,e){let i,r,a;return n.default.isNotString(t)&&(t="rgb(0,0,0)"),n.default.isNumberAndNotNaN(e)||(e=1),i=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/, 38(r=t.match(i))&&4===r.length?(a={r:parseInt(r[1]),g:parseInt(r[2]),b:parseInt(r[3])},M.rgbObjectAndOpacityToRgbaString(a,e)):"rgba(0,0,0,1)"}static isColorStartWithRgbPhrase(t){return M.isColorStartWithAnyOfPhrase(t,["rgb"])}static isColorStartWithVarPhrase(t){return M.isColorStartWithAnyOfPhrase(t,["var"])}static isColorStartWithAnyOfPhrase(t,e){return e.some(e=>t.startsWith(e))}static isValueContainGradientOrIconPhrase(t){return t.indexOf("gradient")>-1||M.isValueContainsIconPhrase(t)}static isValueContainsIconPhrase(t){return t.indexOf("ww_icon")> 39-1}static checkIfColorSame(t,e){let i=!1;if(n.default.isDefAndNotNull(t)&&n.default.isDefAndNotNull(e)){let n,r;if(k.isRgba(t))n=t;else{let e=t.replace(/[^\d,]/g,"").split(",");n=`rgba(${e[0]}, ${e[1]}, ${e[2]}, 1)`}if(k.isRgba(e))r=e;else{let t=e.replace(/[^\d,]/g,"").split(",");r=`rgba(${t[0]}, ${t[1]}, ${t[2]}, 1)`}i=(null==n?void 0:n.replace(/\s/g,""))===(null==r?void 0:r.replace(/\s/g,""))}return i}static generateRgbRandomColor(){let t,e,i;return`rgb(${`${M.generateRandomColor(0,255)}`}, ${`${M.generateRandomColor(0, 40255)}`}, ${`${M.generateRandomColor(0,255)}`})`}static generateRandomColor(t,e){return Math.round(Math.random()*(e-t)+t)}}const $=class t{static _normalizeTable(t){t.replaceWith(`<div>${t.text().replace(/\s+/g," ").trim()}</div>`)}static htmlElementToText(e,i={}){let r;if(!0===i.preserveWhiteSpaces){let a=n.default.isDefAndNotNull(i.replaceValue)?i.replaceValue:"\n";r="innerText"===i.property?e[0].innerText.replace(t.multipleNewLineCharRegex,a):e[0].textContent.replace(t.multipleNewLineCharRegex, 41a)}else r=e.text();return r}static changeCssPropertyForEachChildrenElementInTextElement(t,e){let i=t.find(`*[style*="${e.cssProperty}"]`);for(let t=0;t<i.length;t++)i[t].style[e.cssProperty]=e.newCssValue;return i}static convertMarkdownBoldToHtmlStrong(t){return!1===n.default.isString(t)?"":t.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>")}static decodeHtml(t){let e=document.createElement("textarea");e.innerHTML=t;let i=e.value;return e.remove(),i}static getEmptyParagraph(){return"<p> </p>"}static getTextContentWithoutRedundantNewLines(t, 42e={}){let i="",n=t[0].childNodes;for(let t=0;t<n.length;t++){let r;i+=n[t].textContent,t!==n.length-1&&(!0===e.withSpace?i+=" ":i+="\n")}return i}static textToHTMLWithDivs(t){if(n.default.isStringAndNotEmpty(t)){let e=t.split(/\n/g);return(e=e.map(t=>""===t?"<div> </div>":`<div>${t}</div>`)).join("")}return t}static isPlainText(t){return!1!==n.default.isStringAndNotEmpty(t)&&!/<[^>]*>/.test(t)}};h($,"htmlToElements",t=>{let e=document.createElement("template");return e.innerHTML=t.trim(),e.content.childNodes}), 43h($,"multipleNewLineCharRegex",/(\n)((\s)*(\n))+/g);let H=$;class L{static setWindowConfigValue(t,e){L.setValue(window.config,t,e)}static setValue(t,e,i){if(n.default.isString(e)){let r=e.split("."),a=n.default.isDef(t)?t:window.config;for(let t=0;t<r.length-1;t++)n.default.isNotDef(a[r[t]])&&(a[r[t]]={}),a=a[r[t]];a[r[r.length-1]]=i}}static getValue(t,e,i){if(n.default.isString(t)){let r=t.split("."),a=n.default.isDef(i)?i:window.config;
43if(n.default.isNotDef(a))return e;for(let t=0;t<r.length;t++){if(!n.default.isDef(a[r[t]]))return e; 44a=a[r[t]]}return a}return null}static getDecodedJSON(t){let e=H.decodeHtml(L.getValue(t));return n.default.isValidJSON(e)?JSON.parse(e):{}}static isValueExists(t,e){return n.default.isDef(L.getValue(t,e))}}const F={AED:"AED",AFN:"AFN",ALL:"ALL",AMD:"AMD",ANG:"ANG",AOA:"AOA",ARS:"ARS",AUD:"AUD",AWG:"AWG",AZN:"AZN",BAM:"BAM",BBD:"BBD",BDT:"BDT",BGN:"BGN",BIF:"BIF",BMD:"BMD",BND:"BND",BOB:"BOB",BRL:"BRL",BSD:"BSD",BWP:"BWP",BYN:"BYN",BZD:"BZD",CAD:"CAD",CDF:"CDF",CHF:"CHF",CLP:"CLP",CNY:"CNY",COP:"COP", 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"},j=(t,e)=>`${1E15+t}`.slice(-2),V=class t{static addDays(e,i){return new Date((new Date(e)).getTime()+i*t.DAY_IN_MILLIS)}static getMonthNameByLanguage(t,e){void 0===e&&(e=i18n.lng);let i=`months.${t}`,n;return n=i18n.exists(i,{lng:e})?i18n.t(i,{lng:e}):i18n.t(i,{lng:"en"})}static dateToString(e,i,n){let a=e.getDate(),s=e.getMonth()+1,o=e.getFullYear(),l=j(e.getFullYear()),u=e.getHours(),c=e.getMinutes(),h=e.getSeconds(),p=e.getMilliseconds(), 48d;switch(i){case "dd/mm/yyyy":d=`${j(a)}/${j(s)}/${o}`;break;case "dd.mm.yyyy":d=`${j(a)}.${j(s)}.${o}`;break;case "dd/mm/yy":d=`${j(a)}/${j(s)}/${l}`;break;case "yyyy/mm/dd":d=`${o}/${j(s)}/${j(a)}`;break;case "yy/mm/dd":d=`${l}/${j(s)}/${j(a)}`;break;case "d mmmm yyyy":d=`${a} ${t.getMonthNameByLanguage(s,n)} ${o}`;break;case "dd mmmm yyyy":d=`${j(a)} ${t.getMonthNameByLanguage(s,n)} ${o}`;break;case "dd.mm.yyyy hh:mm":d=`${j(a)}.${j(s)}.${o} ${j(u)}:${j(c)}`;break;case "dd-mm-yyyy":d=`${j(a)}-${j(s)}-${o}`; 49break;case t.availableFormats.DATA_RANGE_FILTER_DATE_FORMAT:d=`${o}-${j(s)}-${j(a)}`;break;case t.availableFormats.DATE_PICKER_DATE_TIME_FORMAT:d=`${j(a)}-${j(s)}-${o} ${j(u)}:${j(c)}`;break;case t.availableFormats.INPUT_DATE_TIME_FORMAT:d=`${o}-${j(s)}-${j(a)}T${j(u)}:${j(c)}`;break;case t.availableFormats.ISO_8601_FORMAT:d=`${o}-${j(s)}-${j(a)}T${j(u)}:${j(c)}:${j(h)}Z`;break;case t.availableFormats.yyyymmdd:d=o+j(s)+j(a);break;case t.availableFormats.WERBWAVE_BACKEND_BINDING:d=`${o}-${j(s)}-${j(a)} ${j(u)}:${j(c)}:${j(h)}.${j(p)}`; 50break;case t.availableFormats.FULL_TIME:d=`${j(u)}:${j(c)}:${j(h)}`;break;case t.availableFormats.STORE_ORDER_DATE:d=`${o}-${j(s)}-${j(a)} ${j(u)}:${j(c)}`;break;default:r.a.error(`Nieznany format daty! ('${i}')`),d=`${a}/${s}/${o}`;break}return d}static isValidDate(t){return"[object Date]"===Object.prototype.toString.call(t)&&!Number.isNaN(t.getTime())}static convertTwoDigitYearToFull(e){let i=t.getNowDateYear(),n=100*Math.floor(i/100)+e;return n<i&&(n+=100),n}static convertYearToClosestCentury(e){let i= 51t.getNowDateYear();if(e<100){let t=100*Math.floor(i/100),n=t+e,r=t+e-100,a=t+e+100;e=Math.abs(i-a)<Math.abs(i-n)?a:Math.abs(i-n)<Math.abs(i-r)?n:r}else if(e<1E3){let t,n=10*e,r=1E3*Math.floor(i/1E3)+e-1E3;e=Math.abs(i-n)<Math.abs(i-r)?n:r}return e}static getNowDateYear(){return(new Date).getFullYear()}static daysBetween(e,i){let n=Math.abs(e-i);return Math.round(n/t.DAY_IN_MILLIS)}static dateIsGreaterThenNow(t){return t>new Date}static getBeginOfTheDay(t){return t.setHours(0),t.setMinutes(0),t.setSeconds(0), 52t}static getEndOfTheDay(t){return t.setHours(23),t.setMinutes(59),t.setSeconds(59),t}static stringToDate(e,i){var n,r;let a,s,o,l,u,c,h,p;switch(i){case "dd-mm-yyyy":a=(h=e.split("-"))[0],s=h[1],o=t.convertYearToClose
52stCentury(parseInt(h[2]));break;case t.availableFormats.DATE_PICKER_DATE_TIME_FORMAT:a=(h=null==(n=(c=e.split(" "))[0])?void 0:n.split("-"))[0],s=h[1],o=t.convertYearToClosestCentury(parseInt(h[2])),(p=null==(r=c[1])?void 0:r.split(":"))&&(l=p[0],u=p[1]);break}return l&&u?new Date(o, 53s-1,a,l,u):new Date(o,s-1,a)}};h(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"}),h(V,"DAY_IN_MILLIS",864E5);let W=V;const z=Object.freeze({DEFAULT:"",DOT:".",COMMA:",",EMPTY:""}),B=300;class U{constructor(t={}){this._delay=n.default.isNumberAndNotNaN(t.delay)&&t.delay>0?t.delay:B,this._handler=null,this._caller=null,this._args=void 0,this._timeout=void 0}_runFunc(){}_onDelayFinish(){n.default.isFunction(this._handler)&&this._handler.apply(this._caller,this._args)}throttleRun(t,e,i){window.clearTimeout(this._timeout), 55this._timeout=void 0,this._handler=t,this._caller=e,this._args=i,this._timeout=window.setTimeout(this._onDelayFinish.bind(this),this._delay)}isWaiting(){return n.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 X{static copyToClipboard(t){return p(this,null,function*(){if(n.default.isNotDefOrNull(t))return!1;if(navigator.clipboard&& 56window.isSecureContext)try{return yield navigator.clipboard.writeText(t),!0}catch(t){r.a.warn("navigator.clipboard failed, trying fallback:",t)}try{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.left="-999999px",e.style.top="-999999px",document.body.appendChild(e),e.focus(),e.select();let i=document.execCommand("copy");return document.body.removeChild(e),i}catch(t){return r.a.error("Fallback copy method failed:",t),!1}})}}const G={TEST:"test",DEVELOPMENT:"development", 57PRE_PRODUCTION:"pre_production",QUALITY_ASSURANCE:"quality_assurance",PRODUCTION:"production"};let K;class q{static readEnv(){if(n.default.isDef(window.config)&&n.default.isDef(window.config.environment))for(let t in G)if(G.hasOwnProperty(t)&&G[t]===window.config.environment)return void(K=G[t]);K=G.PRODUCTION}static getCurrent(){return K}static isDevelopment(){return K===G.DEVELOPMENT}static isNotDevelopment(){return K!==G.DEVELOPMENT}static isProduction(){return K===G.PRODUCTION}static isNotProduction(){return K!== 58G.PRODUCTION}static isTest(){return K===G.TEST}static isNotTest(){return K!==G.TEST}static isQA(){return K===G.PRE_PRODUCTION}static setEnvironment(t){n.default.isValidEnumValue(t,G)&&(K=t)}}q.readEnv();class Z{static urlToFile(t,e,i){return p(this,null,function*(){try{if(!t||""===t.trim())return null;let n=yield fetch(t);if(!n.ok)return null;let a=yield n.blob();return a&&0!==a.size?new File([a],e,{type:i}):null}catch(t){return r.a.error("Error converting URL to file:",t),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 tt{static isReturnTypeNumeric(t){return t===Q.INT||t===Q.FLOAT}static normalizeInputValue(t,e){let i=t.trim();return 0===i.length&&this.isReturnTypeNumeric(e)?"0": 66i}static parseValueToReturnType(t,e){switch(e){case Q.FLOAT:return parseFloat(t);case Q.INT:return parseInt(parseFloat(t));default:return NaN}}}class et{constructor(t={}){this.enabled=!!n.default.isDef(t.enabled)&&t.enabled,this.max=n.default.isNumberAndNotNaN(t.max)?t.max:null,this.min=n.default.isNumberAndNotNaN(t.min)?t.min:null,this.step=n.default.isNumberAndNotNaN(t.step)?t.step:null}}const it={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 nt{static addForceCountryParamIfSetInPath(t){let e=t,i="forceCountry",r=nt.getParameterByName(i);return n.default.isDefAndNotEmpty(r)&&(e+=`?${i}=${r}`),e}static getParameterByName(t,e){n.default.isNotDef(e)&&(e=window.location.search),t=t.replace(/\[/,"\\[").replace(/\]/,"\\]");let i= 68(new RegExp(`[?&]${t}=([^&#]*)`)).exec(e);return null==i?"":decodeURIComponent(i[1].replace(/\+/g," "))}static openUrl(t,e){n.default.isDef(e)?window.open(t,e):window.location=t}static openUrlWithTimeout(t,e){setTimeout(()=>{nt.openUrl(t)},e)}static getHash(){return window.location.hash.replace("#","")}static removeHash(){window.history.pushState("",document.title,window.location.pathname+window.location.search)}static reloadPageWithForceParam(t){window.location+=`?force=${t}`}static getCurrentUrlHostWithProtocol(){return`${window.location.origin}`}static getCurrentUrl(){return`${nt.getCurrentUrlHostWithProtocol()}${nt.getCurrentPath()}`}static getCurrentPath(){return window.location.pathname}static createLinkWithParams(t, 69e){let i=`${t}?`;for(let t of e)i+=`${t.getName()}=${t.getValue()}&`;return i}static getHostWithProtocolFromUrl(t){return(new URL(t)).origin}static getAllGetParams(){let t=new URLSearchParams(window.location.search);return Object.fromEntries(t.entries())}}const rt={COMPACT:"compact"},at={};class st{static formatOutput(t,e){return n.default.isDefAndNotNull(at[t])?at[t](e):e}static sumArrayValues(t){return t.reduce((t,e)=>t+e,0)}static weightedMean(t,e){return st.sumArrayValues(t.map((t,i)=>t*e[i]))/ 70st.sumArrayValues(e)}static isValueInRange(t,e={}){return t>=e.min&&t<=e.max}static limitValue(t,e,i){let r=t;return n.default.isNumberAndNotNaN(i)&&(r=Math.min(i,r)),n.default.isNumberAndNotNaN(e)&&(r=Math.max(e,r)),r}static cartesianProduct(...t){return!0===n.default.isArrayLike(t)&&0===t.length?[]:t.reduce((t,e)=>t.flatMap(t=>e.map(e=>[t,e].flat()))).map(t=>n.default.isArrayLike(t)?t:[t])}static cartesianProductNumber(t){return!0===n.default.isArrayLike(t)&&0===t.length?0:t.map(t=>t.length).reduce((t, 71e)=>t*e)}static setFloatPriceToLong(t){let e=t,i=100;return n.default.isString(t)&&(e=t.replace(",",".")),Math.round(parseFloat(e)*i)}static roundValueToTwoDecimals(t){return Math.round(100*t)/100}static returnIfNumberOrParseInt(t){return n.default.isNumber(t)?t:parseInt(t)}static returnUndefinedIfNaN(t){return Number.isNaN(t)?void 0:t}static formatToCompactNumber(t){return(new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:1})).format(Number(t))}}at[rt.COMPACT]= 72t=>st.formatToCompactNumber(t);class ot{static emulateClickEventForAppleDevice(t,e){t.on("touchstart.iphoneDoubleTap",()=>{let i=!1;t.one("touchend.iphoneDoubleTap",()=>{!1===i&&e(),t.off("touchmove.iphoneDoubleTap")}),t.one("touchmove.iphoneDoubleTap",()=>{i=!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 ot.isMobileAppleDevice()||null!==navigator.userAgent.match(/(Macintosh)/i)&&ot.isTouchScreenDevice()}static isMobileSafari(){return ot.isAppleDeviceWithTouchScreen()&&!!navigator.userAgent.match(/Version\/[\d.]+.*Safari/)}static reloadIfBackForwadCacheInAppleDevice(){this.isMobileAppleDevice()&&window.$(window).on("pageshow",t=>{if(t.originalEvent.persisted){let t=window.elementService.findAllWButton(); 74n.default.isArrayLike(t)&&t.length>0&&window.location.reload()}})}}const lt={getDecimalSeparator:t=>Intl.NumberFormat(t).formatToParts(1.1).find(t=>"decimal"===t.type).value,normalizeStringForNumberParsing:t=>t.replace(/[+\-\s]/g,"").replace(",","."),convertStringToNumber(t){return parseFloat(this.normalizeStringForNumberParsing(t))}
74,calculatePriceWithDiscount:(t,e)=>n.default.isNumberAndNotNaN(e)?t-t*(e/100):t,calculateTaxValue:(t,e)=>parseFloat(t*(e/100)),convertIntegerToFloat:t=>t/100,convertFloatToInteger:t=> 75Math.round(100*t)};class ut{static ignoreCaseTextComparator(t,e){let i=null==t?void 0:t.toLowerCase(),n=null==e?void 0:e.toLowerCase();return ut.defaultComparator(i,n)}static defaultComparator(t,e){return Object(n.isString)(t)&&Object(n.isString)(e)?t.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"}):t<e?-1:t>e?1:0}}class ct{static overrideFalsyValuesFromFistMapIfEquivalentValuesIsTruthy(t,e){Object.keys(e).forEach(i=>{let r=e[i];Object(n.isDef)(t[i])&&!1===t[i]&&!0===r&&(t[i]=!0)})}static isObjectHasOnlyTruthyValues(t){let e= 76!0,i=Object.keys(t);for(let n=0;n<i.length;n++)if(!0!==t[i[n]]){e=!1;break}return e}static isShallowEqual(t,e){let i=Object.keys(t),n=Object.keys(e);if(i.length!==n.length)return!1;for(let n of i)if(t[n]!==e[n])return!1;return!0}static getKeysFromFlatObject(t){let e=[];return Object.entries(t).forEach(([t])=>{e.push(t)}),e}static isClassInheritedFrom(t,e){let i=t.prototype;for(;null!=i;){if(i===e.prototype)return!0;i=i.__proto__}return!1}static filterObject(t,e){let i={};for(let n=0;n<e.length;n++){let r= 77e[n];t.hasOwnProperty(r)&&(i[r]=t[r])}return i}}const ht={HORIZONTAL:"horizontal",VERTICAL:"vertical"},pt={CLASSIC:"classic",NEW:"new"};w(pt,"com.webwave.panelSelector.panelTypes.versions");class dt{constructor(t,e){this.y=0,this.x=0,n.default.isNumberAndNotNaN(t)?(this.x=t,n.default.isNumberAndNotNaN(e)&&(this.y=e)):n.default.isDef(t)&&(n.default.isNumberAndNotNaN(t.x)&&(this.x=t.x),n.default.isNumberAndNotNaN(t.y)&&(this.y=t.y))}getX(){return this.x}setX(t){this.x=t}getY(){return this.y}setY(t){this.y= 78t}subtract(t){return this.x-=t.x,this.y-=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}multiply(t){return this.x*=t,this.y*=t,this}serialize(){return{x:this.x,y:this.y}}clone(){return new dt({x:this.x,y:this.y})}equals(t){return this.x===t.x&&this.y===t.y}lt(t){return this.x<t.x&&this.y<t.y}lte(t){return this.x<=t.x&&this.y<=t.y}gt(t){return this.x>t.x&&this.y>t.y}gte(t){return this.x>=t.x&&this.y>=t.y}toString(){return`{${this.x},${this.y}}}`}static deserialize(t){return n.default.isNotDef(t)? 79new dt(0,0):new dt(t.x,t.y)}static countDistance(t,e){return Math.sqrt(Math.abs(t.getX()-e.getX())*Math.abs(t.getY()-e.getY()))}}const ft={NO_BREAK_SPACE:/\u00a0/g,ONLY_LETTERS:/[a-zA-Z]/g};class gt{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(t){this.direction=t.direction?t.direction:Y.BOTTOM_RIGHT,this.targetNode=t.targetNode,this.handlerNode= 80t.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(t){if(t.preventDefault(),this.resizing&&n.default.isDefAndNotNull(this.targetNode))switch(this.direction){case Y.BOTTOM_RIGHT:this._resizeSouthEast(t.clientX,t.clientY);break;case Y.BOTTOM:this._resizeSouth(t.clientY); 81break;case Y.RIGHT:this._resizeEast(t.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(t){let e= 82t-this.targetNode.getBoundingClientRect().left;this.targetNode.style.width=`${e}px`}_resizeSouth(t){let e=t-this.targetNode.getBoundingClientRect().top;this.targetNode.style.height=`${e}px`}_resizeSouthEast(t,e){this._resizeSouth(e),this._resizeEast(t)}}class mt{constructor(t={}){this.timeoutDelay=n.default.isNumberAndNotNaN(t.timeoutDelay)?t.timeoutDelay:1E3,this.timerId=null,this.jobHandler=n.default.isFunction(t.jobHandler)?t.jobHandler:null}run(t){this.clean(),this.timerId=setTimeout(()=>{n.default.isFunction(this.jobHandler)&& 83this.jobHandler(t)},this.timeoutDelay)}clean(){clearTimeout(this.timerId)}}class vt{constructor(t){n.default.isNotDef(t)&&(t={}),this.width=n.default.isNumberAndNotNaN(t.width)?t.width:0,this.height=n.default.isNumberAndNotNaN(t.height)?t.height:0}getWidth(){return this.width}setWidth(t){this.width=t}getHeight(){return this.height}setHeight(t){this.height=t}clone(){return new vt({width:this.width,height:this.height})}serialize(){return{width:this.width,height:this.height}}equals(t){return this.width=== 84t.width&&this.height===t.height}add(t){return this.width+=t.getWidth(),this.height+=t.getHeight(),this}subtract(t){return this.width-=t.getWidth(),this.height-=t.getHeight(),this}multiply(t){return this.width*=t,this.height*=t,this}applyLimits(t={}){n.default.isDef(t.width)&&(n.default.isNumber(t.width.min)&&(this.width=Math.max(this.width,t.width.min)),n.default.isNumber(t.width.max)&&(this.width=Math.min(this.width,t.width.max))),n.default.isDef(t.height)&&(n.default.isNumber(t.height.min)&&(this.height= 85Math.max(this.height,t.height.min)),n.default.isNumber(t.height.max)&&(this.height=Math.min(this.height,t.height.max)))}toString(){return`{${this.width},${this.height}}}`}toVector(){return new dt({x:this.getWidth(),y:this.getHeight()})}addHeight(t){this.height+=t}subtractHeight(t){this.height-=t}addWidth(t){this.width+=t}subtractWidth(t){this.width-=t}ceil(){this.width=Math.ceil(this.width),this.height=Math.ceil(this.height)}}vt.deserialize=t=>n.default.isNotDef(t)?new vt({width:0,height:0}):new vt(t); 86class yt{static stringAsc(t,e){return t.sort((t,i)=>ut.ignoreCaseTextComparator(t[e],i[e]))}static stringDesc(t,e){return t.sort((t,i)=>-1*ut.ignoreCaseTextComparator(t[e],i[e]))}static dateAsc(t,e){return t.sort((t,i)=>ut.defaultComparator(t[e],i[e]))}static dateDesc(t,e){return t.sort((t,i)=>-1*ut.defaultComparator(t[e],i[e]))}static numberAsc(t,e){return t.sort((t,i)=>ut.defaultComparator(t[e],i[e]))}static numberDesc(t,e){return t.sort((t,i)=>-1*ut.defaultComparator(t[e],i[e]))}}class _t{static getValidTaxValue(t){let e= 87_t.parseTaxValue(t);return n.default.isDefAndNotNull(e)?e:i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.default.taxValue")}static parseTaxValue(t){if(n.default.isDef(t)&&(n.default.isNumber(t)||n.default.isStringAndNotEmpty(t)&&(t.includes(",")&&(t=t.replace(",",".")),t=parseFloat(t),n.default.isNumberAndNotNaN(t))))return t}}function bt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var wt={exports:{}},Ot,Nt,Tt,xt,St,Dt;
87function At(){if(Ot)return wt.exports; 88Ot=1;var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var e=new Uint8Array(16);wt.exports=function(){return t(e),e}}else{var i=new Array(16);wt.exports=function(){for(var t=0,e;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}return wt.exports}function Pt(){if(Tt)return Nt;Tt=1;for(var t=[],e= 890;e<256;++e)t[e]=(e+256).toString(16).substr(1);function i(e,i){var n=i||0,r=t;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")}return Nt=i}function Rt(){if(St)return xt;St=1;var t=At(),e=Pt();function i(i,n,r){var a=n&&r||0;"string"==typeof i&&(n="binary"===i?new Array(16):null,i=null);var s=(i=i||{}).random||(i.rng||t)();if(s[6]=15&s[6]|64,s[8]=63&s[8]| 90128,n)for(var o=0;o<16;++o)n[a+o]=s[o];return n||e(s)}return xt=i}const Ct=bt(Rt());let It=200,Et=/^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*$/i,kt=/^((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+[A-Za-z]{2,10}$/i,Mt=/^((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+[A-Za-z]{2,10}$/i,$t=/^[0-9]{8,13}$/,Ht=/^[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,}))$/,Lt=/^(?=.*\d)(?=.*[a-zA-Z `\-=[\];'\\,./~!@#$%^&*()_+{}:"|<>?])([a-zA-Z0-9 `\-=[\];'\\,./~!@#$%^&*()_+{}:"|<>?]{8,})$/, 91Ft=/^(?=.*?\d)(?=.*?\D).{8,}/,jt=/^.*$/i,Vt=/[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,Wt={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},zt,Bt=RegExp(`[${["-","[","]","/","{","}","(",")","*","+","?",".","\\","^", 92"$","\\ ","|"].join("\\")}]`,"g");class Ut{static generateRandomPasswordString(){let t=Math.random().toString(36).slice(-10);return!1===Ut.isValidPassword(t,Ut.passwordTypes.SIMPLE)?Ut.generateRandomPasswordString():t}static isValidEmail(t){return"string"==typeof t&&t.length>0&&null!=t.match(Ht)}static isValidEmailName(t){return"string"==typeof t&&t.length>0&&null!==t.match(Et)}static checkIsValidUrl(t){try{return!!new URL(t)}catch(t){return!1}}static checkIsValidName(t){return!!t.includes(" ")}static deleteWhiteSpace(t){return t.replace(/\s/g, 93"")}static checkIsValidDomain(t){let e=!1;return null!==t.match(kt)&&-1===t.indexOf(window.config.hostSettings.domain)&&(e=!0),e}static checkIsValidSubdomain(t){let e=!1;return null!=t.match(Mt)&&(e=!0),e}static checkIsValidPhone(t){let e=!1;return null!=t.match($t)&&(e=!0),e}static countWords(t){if(!0===n.default.isNotDefOrNull(t)||0===t.length)return 0;let e=t.split(/(\s+)/).filter(t=>!/\s+$/.test(t));return(e=e.filter(t=>""!==t)).length}static textStartsWithTagOpening(t){return"<"===t[0]}static isValidPassword(t, 94e){if("string"==typeof t&&t.length>4)switch(e){case Ut.passwordTypes.SIMPLE:return null!==t.match(Lt);case Ut.passwordTypes.SIMPLE_WITHOUT_RESTRICTIONS:return null!==t.match(Ft);default:return null!==t.match(jt)}return!1}static escapeStringForRegexp(t){return t.replace(Bt,"\\$&")}static isValidPolishStreetAddress(t){return"string"==typeof t&&Vt.test(t)}static isValidLength(t,e,i){return n.default.isDef(i)||(i=Ut.fieldMinLength.EMPTY),t.length<=e&&t.length>i}static isValidMaxLength(t,e){return t.length<= 95e}static isValidMinLength(t,e){return t.length>e}static isEqualLength(t,e){return t.length===e}static escapeHtml(t){return String(t).replace(/[&<>"'/]/g,t=>Wt[t])}static removeHtml(t){return String(t).replace(/<\/?[^>]+(>|$)/g,"")}static normalizeTextForUrl(t){return n.default.isString(t)&&(t=t.toLowerCase(),t=Ut.removeUnsafeCharactersFromTextForUrl(t),t=(t=Ut.removeUnwantedCharactersFromTextForUrl(t)).replace(/[ \u00A0]/g,"-")),t}static normalizeTextForRefUrl(t){return n.default.isString(t)&&(t= 96(t=t.replace(/\s/g,"")).substring(0,254),!1===/([a-zA-Z-])+/g.test(t)&&(t=t.replace(/\d/g,"")),t=Ut.normalizeTextForUrl(t)),t}static removeUnwantedCharactersFromTextForUrl(t){return n.default.isString(t)&&(t=t.replace(/[.,\r\n]/g,"")),t}static removeUnsafeCharactersFromTextForUrl(t){return n.default.isString(t)&&(t=t.replace(/[[\]`~&^%@"<>\\/#|?:;={}$+]/g,"")),t}static valueNonNumericChars(t){return ft.ONLY_LETTERS.test(t)}static replaceExtensionInSrc(t,e){return n.default.isString(t)&&n.default.isString(e)&& 97(t=t.replace(/\.[^.]+$/,`.${e}`)),t}static joinArrayUsingCut(t){let e=t[0];for(let i=1;i<t.length;i++)e+=`, ${t[i]}`;return e}static joinArrayUsingChar(t,e){let i=t[0];for(let n=1;n<t.length;n++)i+=`${e} ${t[n]}`;return i}static capitalizeFirstLetter(t){return t.charAt(0).toUpperCase()+t.slice(1)}static getValidHref(t){if(!1===Ut.checkIsValidUrl(t)){let e=`https://${t}`;if(Ut.checkIsValidUrl(e))return e}return t}static updateOrAddParameterToUrl(t,e,i){let n=new RegExp(`([?&])${e}=.*?(&|$)`,"i"),r= 98-1!==t.indexOf("?")?"&":"?";return t.match(n)?t.replace(n,`$1${e}=${i}$2`):`${t+r+e}=${i}`}static trimFirstAndLastQuote(t){return n.default.isStringAndNotEmpty(t)?t.replace(/^"|"$/g,""):t}static isHeaderOnly(t){return/^\*\*(.*)\*\*$/.test(t.trim())}static removeBoldFromHeader(t){return t.replace(/^\*\*(.*)\*\*$/,"$1").trim()}static removeHeader(t){return t.replace(/^\*\*.*\*\*\s*/,"").trim()}static trimHeaderAndRemoveBold(t){return Ut.isHeaderOnly(t)?Ut.removeBoldFromHeader(t):Ut.removeHeader(t)}static trimMarkdown(t){let e= 99/```(\w+)\s*([\s\S]*?)\s*```/,i=t.match(e);return i?i[2].trim():""}static trimMarkdownIfExists(t){return t.includes("```")?Ut.trimMarkdown(t):t}static convertNaturalTextToCamelCase(t){let e=t.split(" "),i=e.shift();return(e=e.map(t=>Ut.capitalizeFirstLetter(t))).unshift(i),e.join("")}static convertToVerticalText(t){return t.toString().split("").join("<br>")}static generateUUID(){return Ct()}static stringToHash(t){let e=0,i=t.length,n=0;if(i>0)for(;n<i;)e=(e<<5)-e+t.charCodeAt(n++)|0;return e}static isStringEndWithAnyOfPhrases(t, 100e,i={}){return e.some(e=>Ut.isStringEndWithPhrase(t,e,i))}static isStringEndWithPhrase(t,e,i={}){return i.skipCaseSensitive&&(t=t.toLowerCase(),e=e.toLowerCase()),!0===t.endsWith(e)}static extendsStringWithSymbolToReachMinLength(t,e,i){let r=t;if(n.default.isString(t)&&!(r.length>=e)&&n.default.isDef(i))for(;!(r.length>=e);)r+=i;return r}static truncateLink(t,e=0){return t.substring(0,Math.min(t.length,It-e))}static trimToLength(t,e){return n.default.isStringAndNotEmpty(t)?t.substring(0,Math.min(t.length, 101e)):t}static simplifyNewAddress(t){t=(t=(t=Ut.truncateLink(t)).trim()).split("/");for(let e=0;e<t.length;e++)t[e]=Ut.removeUnsafeCharactersFromTextForUrl(t[e]);let e=t.join("/");return e=e.replace(/^\/+/g,"")}static truncateText(t,e){return t.length>e?`${t.slice(0,e-3).trim()}...`:t}static camelCaseToSeparateWords(t){return t.replace(/([a-z])([A-Z])/g,"$1 $2").toLowerCase()}static cutStringAfterNWord(t={}){if(n.default.isString(t.text)&&n.default.isNumberAndNotNaN(t.wordsNumber)){let e=0,i,n=t.text; 102for(let r=0;r<t.wordsNumber&&null!=(i=/\s*\S+/.exec(n));r++)n=n.substring(i[0].length),e+=i[0].length;return t.showDots?`${t.text.substr(0,e)}...`:t.text.substr(0,e)}return t.text}static trimAndReplaceSpaces(t){return t.trim().replace(/\s+/g," ")}static convertPriceToDotFormat(t){return t.replace(/,/g,".").replace(/\s/g,"").replace(/[^\d.]/g,"").replace(/\.(?=.*\.)/g,"")}static snakeCaseToCamelCase(t){return t.toLowerCase().replace(/_([a-z])/g,(t,e)=>e.toUpperCase())}}Ut.passwordTypes={SIMPLE:"simple",
103SIMPLE_WITHOUT_RESTRICTIONS:"SIMPLE_WITHOUT_RESTRICTIONS",NORMAL:"normal"},Ut.fieldMaxLength={NORMAL:255},Ut.fieldMinLength={NORMAL:0,EMPTY:-1},window.stringUtils=Ut;class Yt{constructor(t,e){this._name=t,this._value=e}getName(){return this._name}getValue(){return this._value}}class Xt{static createVariableById(t){return`var(--${t})`}static findVariablesValuesInString(t){return n.default.isDefAndNotNull(t)?t.match(/--[a-zA-Z_0-9]*/g):null}static isVariableExistInString(t){let e=Xt.findVariablesValuesInString(t); 104return n.default.isArrayLike(e)&&e.length>0}}class Gt{static generateSelectOptionsFromEnum(t,e,i,r={}){let a={};n.default.isString(e)?a.prefix=e:Object.assign(a,e),n.default.isString(i)&&(a.suffix=i);let s=[],o=n.default.isStringAndNotEmpty(a.prefix)?`${a.prefix}.`:"",l=n.default.isStringAndNotEmpty(a.tooltipPrefix)?`${a.tooltipPrefix}.`:o,u=n.default.isStringAndNotEmpty(a.suffix)?`.${a.suffix}`:"",c=n.default.isStringAndNotEmpty(a.tooltipSuffix)?`.${a.tooltipSuffix}`:".tooltip",h=n.default.isArrayLike(t)? 105t:Object.values(t);for(let t=0;t<h.length;t++){let e=h[t],i=!0===a.withTooltip?i18n.t(`${l}${e}${c}`):void 0,n=!0===a.withId?e:void 0;s.push({value:e,label:i18n.t(`${o}${e}${u}`),id:n,tooltip:i})}return(!0===r.enableSort||!0===t.autoSorting)&&s.sort((t,e)=>t.label.localeCompare(e.label)),s}static removeRactivity(t){return c({},t)}static addNonReactiveProperty(t,e,i){Object.defineProperty(t,e,{value:i,configurable:!1})}static enhanceWarnHandler(t){t.config.warnHandler=(e,i,n)=>{e.includes("Injection")|| 106!0!==t.config.silent&&r.a.warn("[Vue warn]: ",e,n)}}}const Kt={ZLOTY:"PLN"},qt={INIT_WITH_PAYMENT:"INIT_WITH_PAYMENT",INIT_WITH_REFUND:"INIT_WITH_REFUND",AUTO:"AUTO",MANUAL:"MANUAL",DEACTIVATE:"DEACTIVATE"};class Zt{static computeCardsGateHost(){return L.getValue("environment")===G.PRODUCTION?this.CARDS_GATE_HOST_PRODUCTION:this.CARDS_GATE_HOST_TEST}static computeAutopaySDKURL(){return this.computeCardsGateHost()+this.NEW_WIDGET_SCRIPT_SUFFIX}static loadAutopaySDK(){return p(this,null,function*(){if(n.default.isDefAndNotNull(window.WidgetConnection))return; 107let t=this.computeAutopaySDKURL();n.default.isDefAndNotNull(document.querySelector(`script[src="${t}"]`))||(yield new Promise((e,i)=>{let n=document.createElement("script");n.type="text/javascript",n.src=t,n.onload=()=>e(),n.onerror=()=>i(new Error(`Failed to load Autopay SDK: ${t}`)),document.head.appendChild(n)}))})}static createWidgetConfig(t){return{language:t.language,amount:t.amount,currency:t.currency,serviceId:t.serviceId,recurringAction:t.recurringAction}}static initializeWidget(t){return p(this, 108arguments,function*({iframeElement:t,widgetConfig:e,onError:i}){try{if(!1===n.default.isDefAndNotNull(e.serviceId))return i&&i("ServiceID is not configured"),null;if(yield this.loadAutopaySDK(),void 0===window.WidgetConnection)return i&&i("Autopay SDK was not loaded"),null;let r=new window.WidgetConnection(e);return yield r.startConnection(t),r}catch(t){return i&&i(`Autopay widget initialization error: ${t.message}`),null}})}static setupEventHandlers(t,e={}){if(!1===n.default.isDefAndNotNull(t))return; 109let i=window.widgetEvents||{};t.on(i.validityStatus||"VALIDITY_STATUS",(t,i)=>{e.onValidityStatus&&e.onValidityStatus(i)}),t.on(i.validationResult||"VALIDATION_RESULT",(t,i)=>{e.onValidationResult&&e.onValidationResult(i)}),t.on(i.formSuccess||"FORM_SUCCESS",(t,i)=>{e.onFormSuccess&&e.onFormSuccess(i)}),t.on(i.showModal||"SHOW_MODAL",()=>{e.onShowModal&&e.onShowModal()})}static stopWidget(t){t&&t.stopConnection()}static sendForm(t){if(!1===n.default.isDefAndNotNull(t)||!0===t.invalid)return!1;try{t.sendForm()}catch(t){return!1}return!0}static cleanAutopaySDK(){let t= 110this.computeAutopaySDKURL(),e=document.querySelector(`script[src="${t}"]`);e&&e.remove()}static isAutoPaySupportedCurrency(t){return Object.values(Kt).includes(t)}static validateAutopayWidgetEvent(t){if(n.default.isNotDefOrNull(t)||!1===t.valid||!1===n.default.isDefAndNotNull(t.controls))return!1;for(let e in t.controls)if(t.controls.hasOwnProperty(e)){let i=t.controls[e];if(!1===n.default.isStringAndNotEmpty(i.value))return!1}return!0}}h(Zt,"NEW_WIDGET_SCRIPT_SUFFIX","/widget-new/widget-communication.min.js"), 111h(Zt,"CARDS_GATE_HOST_PRODUCTION","https://cards.autopay.eu"),h(Zt,"CARDS_GATE_HOST_TEST","https://testcards.autopay.eu"),h(Zt,"EXAMPLE_AUTOPAY_URL","https://testcards.autopay.eu/widget-new/partner"),h(Zt,"DEFAULT_AMOUNT",1.23);const Jt={AUTOPAY_CREDIT_CARD:"autopay_credit_card",PAYLANE_CREDIT_CARD:"paylane_credit_card",STRIPE_CREDIT_CARD:"stripe_credit_card"};
111class Qt extends Error{constructor(t,e=null,i=null,n=null){super(t),this.name="ApiError",this.status=e,this.response=i,this.originalError= 112n,this.timestamp=(new Date).toISOString(),Error.captureStackTrace&&Error.captureStackTrace(this,Qt)}isNetworkError(){return null===this.status}hasStatus(t){return this.status===t}toJSON(){return{name:this.name,message:this.message,status:this.status,timestamp:this.timestamp,stack:this.stack}}}const te={JSON:"json",FORM:"form",TEXT:"text",NONE:"none",MULTIPART:"multipart"},ee={GET:"GET",POST:"POST",PUT:"PUT",PATCH:"PATCH",DELETE:"DELETE",HEAD:"HEAD",OPTIONS:"OPTIONS"},ie={OK:200,CREATED:201,NO_CONTENT:204, 113FORBIDDEN:403};class ne{constructor(t,e,i={}){this.httpStatus=t,this.parsedData=e,this.headers=i}static isApiResponse(t){return t instanceof ne}isSuccess(){return this.httpStatus>=200&&this.httpStatus<300}hasStatus(t){return this.httpStatus===t}isOk(){return this.hasStatus(ie.OK)}isCreated(){return this.hasStatus(ie.CREATED)}isNoContent(){return this.hasStatus(ie.NO_CONTENT)}getStatus(){return this.httpStatus}getData(){var t;return(null==(t=this.parsedData)?void 0:t.data)||this.parsedData}getRawData(){return this.parsedData}getHeaders(){return this.headers}getHeader(t){return this.headers[t]|| 114null}toJSON(){return{status:this.httpStatus,data:this.parsedData,headers:this.headers}}}const re=(t={})=>{let {obj:e={},prefix:i="",excludeValues:r=[]}=t,a=[];return Object.entries(e).forEach(([t,e])=>{let s=i?`${i}.${t}`:t;Object(n.isDefAndNotNull)(e)&&!1===Object(n.isEmptyString)(e)&&!r.includes(e)&&(Array.isArray(e)?e.forEach((t,e)=>{Object(n.isDefAndNotNull)(t)&&!1===Object(n.isEmptyString)(t)&&!r.includes(t)&&(Object(n.isObject)(t)?a=a.concat(re({obj:t,prefix:`${s}[${e}]`,excludeValues:r})): 115a.push([`${s}[${e}]`,t]))}):e instanceof File?a.push([s,e]):e instanceof Date?a.push([s,e.toISOString()]):Object(n.isObject)(e)?a=a.concat(re({obj:e,prefix:s,excludeValues:r})):a.push([s,e]))}),a},ae=(t,e={},i=[])=>{if(Object(n.isNotDefOrNullOrEmptyString)(t))return"";let r=new URLSearchParams;re({obj:e,prefix:"",excludeValues:i}).forEach(([t,e])=>{r.append(t,e)});let a=r.toString(),s;return Object(n.isEmptyString)(a)?t:`${t}${t.includes("?")?"&":"?"}${a}`},se=t=>t?t.startsWith("http://")||t.startsWith("https://")? 116t:`http://${t}`:"",oe=t=>{let e={};return t&&"function"==typeof t.forEach&&t.forEach((t,i)=>{e[i]=t}),e},le=t=>{let e=new FormData;return null==t||Object.keys(t).forEach(i=>{if(!1===Object.prototype.hasOwnProperty.call(t,i))return;let n=t[i];null!=n&&e.append(i,n)}),e},ue=class t{constructor(t={}){this._initialize(t)}_initialize(t){if(this.baseUrl=Object(n.isNotDefOrNullOrEmptyString)(t.baseUrl)?null:t.baseUrl,this.csrfProvider=Object(n.isNotDefOrNull)(t.csrfProvider)?null:t.csrfProvider,this.fetchImpl= 117this._getFetchImpl(t.fetchImpl),Object(n.isNotDef)(this.fetchImpl))throw new Error("Fetch implementation is not available");}_getFetchImpl(t){return Object(n.isFunction)(t)?t:Object(n.isFunction)(fetch)?fetch.bind(window):null}_getCsrfConfig(){return Object(n.isNotDef)(this.csrfProvider)?null:Object(n.isFunction)(this.csrfProvider)?this.csrfProvider():this.csrfProvider}_ensureCsrfLoaded(t=!1){return p(this,null,function*(){let e=this._getCsrfConfig();Object(n.isNotDef)(e)||Object(n.isNotDef)(e.loadCsrf)|| 118!0===e.loaded&&!0!==t||Object(n.isFunction)(e.loadCsrf)&&(yield e.loadCsrf(t))})}_buildHeaders(t={},e=!1){let i={"Content-Type":"application/json"},r={};if(!0===e){let t=this._getCsrfConfig();Object(n.isDef)(t)&&!0===t.loaded&&t.token&&t.headerName&&(r={[t.headerName]:t.token})}let a=c(c(c({},i),r),t);return!0===Object.prototype.hasOwnProperty.call(t,"Content-Type")&&!0===Object(n.isNotDefOrNull)(t["Content-Type"])&&delete a["Content-Type"],a}_isUnsafeMethod(e){let i=e.toUpperCase();return!1===t.SAFE_HTTP_METHODS.includes(i)}_prepareBody(t, 119e,i){if(!Object(n.isNotDef)(t))switch(e){case te.FORM:return i["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8",(new URLSearchParams(t)).toString();case te.TEXT:return i["Content-Type"]="text/plain; charset=UTF-8",String(t);
119case te.NONE:case te.MULTIPART:return i["Content-Type"]=null,t;case te.JSON:default:return i["Content-Type"]="application/json",JSON.stringify(t)}}_parseResponseText(t){if(Object(n.isEmptyString)(t))return null;try{return JSON.parse(t)}catch(t){return null}}_prepareRequestConfig(t){let e= 120(t.method||ee.GET).toUpperCase(),i=this._isUnsafeMethod(e),r=t.url||"",a=t.params||{},s=t.data,o=t.contentType||(Object(n.isDef)(s)?te.JSON:void 0),l=c({},t.headers||{}),u=t.signal,h,p;return{method:e,isUnsafeMethod:i,fullUrl:`${this.baseUrl||""}${ae(r,a)}`,preparedBody:this._prepareBody(s,o,l),headers:l,signal:u}}request(t){return p(this,null,function*(){let e=this._prepareRequestConfig(t);e.isUnsafeMethod&&(yield this._ensureCsrfLoaded());let i=yield this.fetchImpl(e.fullUrl,{method:e.method,body:e.preparedBody, 121headers:this._buildHeaders(e.headers,e.isUnsafeMethod),credentials:"include",signal:e.signal});if(e.isUnsafeMethod&&i.status===ie.FORBIDDEN&&(yield this._ensureCsrfLoaded(!0),i=yield this.fetchImpl(e.fullUrl,{method:e.method,body:e.preparedBody,headers:this._buildHeaders(e.headers,!0),credentials:"include",signal:e.signal})),!1===i.ok)throw new Qt(`HTTP error! status: ${i.status}`,i.status,i);let n=yield i.text(),r=this._parseResponseText(n),a=oe(i.headers);return new ne(i.status,r,a)})}get(t){return p(this, 122arguments,function*(t,e={}){return this.request(c({method:ee.GET,url:t},e))})}post(t,e){return p(this,arguments,function*(t,e,i={}){return this.request(c({method:ee.POST,url:t,data:e},i))})}put(t,e){return p(this,arguments,function*(t,e,i={}){return this.request(c({method:ee.PUT,url:t,data:e},i))})}patch(t,e){return p(this,arguments,function*(t,e,i={}){return this.request(c({method:ee.PATCH,url:t,data:e},i))})}delete(t){return p(this,arguments,function*(t,e={}){return this.request(c({method:ee.DELETE, 123url:t},e))})}};h(ue,"SAFE_HTTP_METHODS",[ee.GET,ee.HEAD,ee.OPTIONS]);let ce=ue;const he=t=>new ce(t)}.call(e,i(139)(t))},106:function(t,e,i){var n={PX:"px",PERCENT:"%",VW:"vw",VH:"vh"};Object.freeze(n),e.a=n},107:function(t,e,i){i.d(e,"a",function(){return s});var n=i(0),r=i(1),a=i(220),s=function(){function t(){Object(n.a)(this,t)}return Object(r.a)(t,null,[{key:"_normalizeTable",value:function t(e){e.replaceWith("<div>".concat(e.text().replace(/\s+/g," ").trim(),"</div>"))}},{key:"htmlElementToText", 124value:function e(i){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;if(!0===n.preserveWhiteSpaces){var s=webwave.isDefAndNotNull(n.replaceValue)?n.replaceValue:"\n";r=n.property===a.a.INNER_TEXT?i[0].innerText.replace(t.multipleNewLineCharRegex,s):i[0].textContent.replace(t.multipleNewLineCharRegex,s)}else r=i.text();return r}},{key:"html2Text",value:function e(i){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=$('<div style="white-space: pre;"/>').html(i);!0=== 125n.stripTables&&r.find("table").each(function(e,i){t._normalizeTable($(i))});var a=t.htmlElementToText(r,n);return!1===webwave.isDefAndNotEmpty(a)&&webwave.isStringAndNotEmpty(n.optionalValueOnEmpty)&&(a=n.optionalValueOnEmpty),a}},{key:"changeCssPropertyForEachChildrenElementInTextElement",value:function t(e,i){for(var n=e.find('*[style*="'.concat(i.cssProperty,'"]')),r=0;r<n.length;r++)n[r].style[i.cssProperty]=i.newCssValue;return n}},{key:"convertMarkdownBoldToHtmlStrong",value:function t(e){return!1=== 126webwave.isString(e)?"":e.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>")}},{key:"decodeHtml",value:function t(e){var i=document.createElement("textarea");i.innerHTML=e;var n=i.value;return i.remove(),n}},{key:"getEmptyParagraph",value:function t(){return"<p> </p>"}},{key:"getTextContentWithoutRedundantNewLines",value:function t(e){for(var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="",r=e[0].childNodes,a=0;a<r.length;a++){var s,o;n+=r[a].textContent,a!==r.length-1&&(!0===i.withSpace? 127n+=" ":n+="\n")}return n}},{key:"getTextContentWithoutRedundantNewLinesFromElementHtml",value:function e(i){var n=document.createElement("div");return $(n).html(i.html()),t.getTextContentWithoutRedundantNewLines($(n))}},{key:"textToHTMLWithDivs",value:function t(e){if(webwave.isStringAndNotEmpty(e)){var i=e.split(/\n/g);return(i=i.map(function(t){return""===t?"<div> </div>":"<div>".concat(t,"</div>")})).join("")}return e}},{key:"isPlainText",value:function t(e){return!1!==webwave.isStringAndNotEmpty(e)&& 128!/<[^>]*>/.test(e);var i}}]),t}();s.htmlToElements=function(t){var e=document.createElement("template");return e.innerHTML=t.trim(),e.content.childNodes},s.multipleNewLineCharRegex=/(\n)((\s)*(\n))+/g}
128,11:function(t,e,i){function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}e.a=n},1204:function(t,e,i){i.d(e,"a",function(){return p});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l=i(40),u;function c(t){var e=h();return function i(){var n= 129Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var p=function(t){Object(a.a)(i,t);var e=c(i);function i(t){var r;return Object(n.a)(this,i),(r= 130e.call(this,t))._panel=t.panel,r._nextPanel=t.nextPanel,r._direction=t.direction,r._panelSize=t.panelSize,r._$panelParent=t.panelParent,r}return Object(r.a)(i,[{key:"setDirection",value:function t(e){this._direction=e}},{key:"setNextPanel",value:function t(e){this._nextPanel=e}},{key:"getNextPanel",value:function t(){return this._nextPanel}}]),i}(i(1748).a)},122:function(t,e,i){i.d(e,"a",function(){return o});var n=i(0),r=i(1),a=i(106),s,o=function(){function t(){var e=arguments.length>0&&void 0!== 131arguments[0]?arguments[0]:{};Object(n.a)(this,t),this.value=webwave.isNumberAndNotNaN(e.value)?e.value:0,this.unit=webwave.isValidEnumValue(e.unit,a.a)?e.unit:a.a.PX}return Object(r.a)(t,[{key:"getUnit",value:function t(){return this.unit}},{key:"setUnit",value:function t(e){webwave.isValidEnumValue(e,a.a)&&(this.unit=e)}},{key:"getValue",value:function t(){return this.value}},{key:"setValue",value:function t(e){webwave.isNumberAndNotNaN(e)&&(this.value=e)}},{key:"serialize",value:function t(){return{value:this.value, 132unit:this.unit}}},{key:"add",value:function e(i){i instanceof t&&this.unit===i.getUnit()&&(this.value+=i.getValue())}},{key:"subtract",value:function t(e){return this.unit===e.getUnit()&&(this.value-=e.getValue()),this}},{key:"multiply",value:function t(e){return this.value*=e,this}},{key:"equals",value:function t(e){return this.getUnit()===e.getUnit()&&this.getValue()===e.getValue()}},{key:"toString",value:function t(){return this.value+this.unit}},{key:"clone",value:function e(){return new t({value:this.value, 133unit:this.unit})}},{key:"loadValuesFromObject",value:function t(e){this.setUnit(e.getUnit()),this.setValue(e.getValue())}}],[{key:"parseLengthString",value:function t(e){var i=String(e),n=parseFloat(i),r=i.match(/%|em/);return isNaN(n)?"":r?n+r:"".concat(Math.round(n),"px")}},{key:"parseLengthUnitString",value:function t(e){var i,n=String(e).match(/%|em|vh|vw/);return n?n.toString():a.a.PX}},{key:"isUnitVWorVH",value:function t(e){return e===a.a.VH||e===a.a.VW}},{key:"isUnitPX",value:function t(e){return e=== 134a.a.PX}},{key:"isUnitVH",value:function t(e){return e===a.a.VH}},{key:"isUnitVW",value:function t(e){return e===a.a.VW}},{key:"isUnitDynamic",value:function e(i){return t.isUnitVH(i)||t.isUnitVW(i)}},{key:"createLengthWithPxUnitFromValue",value:function e(i){var n;return new t({value:!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).withoutRounding?Math.round(i):i,unit:a.a.PX})}}]),t}()},1243:function(t,e,i){i.d(e,"a",function(){return s});var n=i(0),r=i(1),a=[{name:"blur",defaultValue:0, 135regex:/blur\(([+-]?([0-9]*[.])?[0-9]+)px\)/},{name:"brightness",defaultValue:1,regex:/brightness\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"contrast",defaultValue:1,regex:/contrast\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"greyscale",defaultValue:0,regex:/grayscale\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"hueRotate",defaultValue:0,regex:/hue-rotate\(([+-]?([0-9]*[.])?[0-9]+)deg\)/},{name:"saturate",defaultValue:1,regex:/saturate\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"sepia",defaultValue:0,regex:/sepia\(([+-]?([0-9]*[.])?[0-9]+)\)/}, 136{name:"invert",defaultValue:0,regex:/invert\(([+-]?([0-9]*[.])?[0-9]+)\)/}],s=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(n.a)(this,t),this.blur=void 0,this.brightness=void 0,this.contrast=void 0,this.greyscale=void 0,this.hueRotate=void 0,this.saturate=void 0,this.sepia=void 0,this.invert=void 0,this.enabled=!0===e.enabled,this.blur=webwave.isNumberAndNotNaN(e.blur)?e.blur:void 0,this.brightness=webwave.isNumberAndNotNaN(e.brightness)?e.brightness: 137void 0,this.contrast=webwave.isNumberAndNotNaN(e.contrast)?e.contrast:void 0,this.greyscale=webwave.isNumberAndNotNaN(e.greyscale)?e.greyscale:void 0,this.hueRotate=webwave.isNumberAndNotNaN(e.hueRotate)?e.hueRotate:void 0,this.saturate=webwave.isNumberAndNotNaN(e.saturate)?e.
137saturate:void 0,this.sepia=webwave.isNumberAndNotNaN(e.sepia)?e.sepia:void 0,this.invert=webwave.isNumberAndNotNaN(e.invert)?e.invert:void 0}return Object(r.a)(t,[{key:"setBlur",value:function t(e){this.blur=e}},{key:"setBrightness", 138value:function t(e){this.brightness=e}},{key:"setContrast",value:function t(e){this.contrast=e}},{key:"setGreyscale",value:function t(e){this.greyscale=e}},{key:"setHueRotate",value:function t(e){this.hueRotate=e}},{key:"setSaturate",value:function t(e){this.saturate=e}},{key:"setSepia",value:function t(e){this.sepia=e}},{key:"setInvert",value:function t(e){this.invert=e}},{key:"isEnabled",value:function t(){return this.enabled}},{key:"setEnabled",value:function t(e){return this.enabled=e}},{key:"toCssString", 139value:function t(){var e="";return this.isEnabled()?(webwave.isDef(this.blur)&&(e+="blur(".concat(Math.abs(this.blur),"px)")),webwave.isDef(this.brightness)&&(e+=" brightness(".concat(Math.abs(this.brightness),")")),webwave.isDef(this.contrast)&&(e+=" contrast(".concat(Math.abs(this.contrast),")")),webwave.isDef(this.greyscale)&&(e+=" grayscale(".concat(Math.abs(this.greyscale),")")),webwave.isDef(this.hueRotate)&&(e+=" hue-rotate(".concat(Math.abs(this.hueRotate),"deg)")),webwave.isDef(this.saturate)&& 140(e+=" saturate(".concat(Math.abs(this.saturate),")")),webwave.isDef(this.sepia)&&(e+=" sepia(".concat(Math.abs(this.sepia),")")),webwave.isDef(this.invert)&&(e+=" invert(".concat(Math.abs(this.invert),")"))):e="none",e}},{key:"toCss2Map",value:function t(){return{filter:this.toCssString()}}},{key:"serialize",value:function t(){return{enabled:this.enabled,blur:this.blur,brightness:this.brightness,contrast:this.contrast,greyscale:this.greyscale,hueRotate:this.hueRotate,saturate:this.saturate,sepia:this.sepia, 141invert:this.invert}}},{key:"clone",value:function e(){return new t(this.serialize())}},{key:"multiply",value:function t(e){for(var i=0;i<a.length;i++){var n=a[i].name;webwave.isDef(this[n])&&(this[n]*=e)}}},{key:"add",value:function t(e){for(var i=0;i<a.length;i++){var n=a[i].name;webwave.isDef(this[n])&&webwave.isDef(e[n])&&(this[n]+=e[n])}}},{key:"subtract",value:function t(e){for(var i=0;i<a.length;i++){var n=a[i].name;webwave.isDef(this[n])&&webwave.isDef(e[n])&&(this[n]-=e[n])}}},{key:"fillDefaultMissingValues", 142value:function t(e){for(var i=0;i<a.length;i++){var n=a[i],r=a[i].name;webwave.isDef(e[r])&&webwave.isNotDef(this[r])&&(this[r]=n.defaultValue)}}},{key:"mergeStyle",value:function t(e){if(webwave.isDef(e.enabled)&&(this.enabled=e.enabled),!0===e.enabled)for(var i=0;i<a.length;i++){var n=a[i].name;webwave.isDef(e[n])&&(this[n]=e[n])}}}],[{key:"deserialize",value:function e(i){return new t(i)}},{key:"readFromString",value:function e(i){for(var n=new t({enabled:webwave.isStringAndNotEmpty(i)}
142),r=0;r< 143a.length;r++){var s=a[r],o=i.match(s.regex);if(null!==o){var l=parseFloat(o[1]);!1===isNaN(l)&&(n[s.name]=l)}}return n}},{key:"createDefaultFilterData",value:function e(){return new t({blur:this.DEFAULT_BLUR_VALUE})}}]),t}();s.DEFAULT_BLUR_VALUE=4.8},1299:function(t,e,i){i.d(e,"a",function(){return f});var n=i(0),r=i(1),a=i(18),s=i(3),o=i(4),l=i(2),u=i(226),c=i(2027),h=i(106);function p(t){var e=d();return function i(){var n=Object(l.a)(t),r;if(e){var a=Object(l.a)(this).constructor;r=Reflect.construct(n, 144arguments,a)}else r=n.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var f=function(t){Object(s.a)(i,t);var e=p(i);function i(t){var r;return Object(n.a)(this,i),(r=e.call(this,t))._cropType=webwave.isValidEnumValue(t.cropType,u.a)?t.cropType:null, 145r}return Object(r.a)(i,[{key:"serialize",value:function t(){return Object.assign(Object(a.a)(Object(l.a)(i.prototype),"serialize",this).call(this),{cropType:this.getCropType()})}},{key:"loadValueFromObject",value:function t(e){Object(a.a)(Object(l.a)(i.prototype),"loadValueFromObject",this).call(this,e),this.setCropType(e.getCropType())}},{key:"getCropType",value:function t(){return this._cropType}},{key:"setCropType",value:function t(e){this._cropType=e}}
145,{key:"isCropTypeValidToCropping",value:function t(){return i.isCropTypeValidToCropping(this.getCropType())}}], 146[{key:"deserialize",value:function t(e){return new i(e)}},{key:"createDefaultWithCropType",value:function t(e){return new i({cropType:e,x:{value:50,unit:h.a.PERCENT},y:{value:50,unit:h.a.PERCENT}})}},{key:"isCropTypeValidToCropping",value:function t(e){return e!==u.a.FULL_WIDTH}}]),i}(c.a)},1301:function(t,e,i){var n=i(210);e.a={DEFAULT_ANIMATION_TIME:300,DEFAULT_DIRECTION:n.a.TOP}},137:function(t,e,i){i.d(e,"a",function(){return w});var n=i(57);const r={DEBUG:0,INFO:1,WARN:2,ERROR:3};let a=!1,s= 1470;function o(t){a=t}function l(){return a}function u(t){if(t&&Object(n.isDefAndNotNull)(t.debug)){let e=t.debug;Object(n.isString)(e)&&(e="true"===e.toLowerCase()),o(e)}}function c(t){return!!a&&t>=s}function h(...t){c(0)&&console.log(...t)}function p(...t){c(1)&&console.info(...t)}function d(...t){c(2)&&console.warn(...t)}function f(...t){c(3)&&console.error(...t)}function g(t,...e){c(0)&&console.log(t,...e)}function m(t){u(t)}function v(){return{enabled:a,level:s}}function y(t){o(t)}function _(){return l()} 148function b(t){if(Object(n.isString)(t))s=r[t.toUpperCase()]||0;else{if(!Object(n.isNumber)(t))throw new Error("Invalid log level");s=t}}const w={debug:(...t)=>h(...t),info:(...t)=>p(...t),log:(...t)=>p(...t),warn:(...t)=>d(...t),error:(...t)=>f(...t),debugWithPrefix:(t,...e)=>g(t,...e),configure:{set:t=>m(t),get:()=>v(),setEnabled:t=>y(t),isEnabled:()=>_(),setLevel:t=>b(t)},LogLevel:r}},139:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]), 149Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},1545:function(t,e,i){i.d(e,"a",function(){return o});var n=i(0),r=i(1),a=i(1301),s=0,o=function(){function t(e){Object(n.a)(this,t),webwave.isNotDef(e)&&(e={}),this._id=s++,this._duration=webwave.isDef(e.duration)&&webwave.isNumber(e.duration)?e.duration:a.a.DEFAULT_ANIMATION_TIME, 150this._startTime=0,this._currentTime=0,this._progress=0,this._started=!1,this._running=!1,this._finished=!1}return Object(r.a)(t,[{key:"setStartTime",value:function t(e){this._startTime=e}},{key:"setCurrentTime",value:function t(e){this._currentTime=Math.min(e,this._duration),this._progress=Math.min(this._currentTime/this._duration,1)}},{key:"getProgress",value:function t(){return this._progress}},{key:"getCurrentTime",value:function t(){return this._currentTime}},{key:"getCurrentProgress",value:function t(){return this._progress}}, 151{key:"getStartTime",value:function t(){return this._startTime}},{key:"getDuration",value:function t(){return this._duration}},{key:"start",value:function t(e){!1===this._started&&(this.setStartTime(e),this._started=!0,this._running=!0)}},{key:"isStarted",value:function t(){return this._started}},{key:"isRunning",value:function t(){return this._running}},{key:"isFinished",value:function t(){return this._finished}},{key:"stop",value:function t(e){!1===this._finished&&(this._running=!1,this._finished= 152!0,!0===e&&this.finish())}},{key:"finish",value:function t(){}},{key:"tick",value:function t(e){}}]),t}()},1573:function(t,e,i){var n={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",getOppositeDirection:function(t){switch(t){case n.TOP:return n.BOTTOM;case n.RIGHT:return n.LEFT;case n.BOTTOM:return n.TOP;case n.LEFT:return n.RIGHT}return t}};e.a=n},1719:function(t,e,i){var n={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", 153BOUNCE_IN_OUT:"bounce-in-out"};e.a=n},1748:function(t,e,i){i.d(e,"a",function(){return p});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l=i(1545),u=i(1719);function c(t){var e=h();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 154[],function(){})),!0}catch(t){return!1}}var p=function(t){Object(a.a)(i,t);var e=c(i);function i(t){var r;return Object(n.a)(this,i),(r=e.call(this,t))._easing=webwave.isDef(t.easing)?t.easing:i.DEFAULT_EASING_FUNCTION,webwave.isString(r._easing)&&(r._easing=jQuery.easing[r._easing]),r._onComplete=t.onComplete,r._stepCallback=t.step,r}return Object(r.a)(i,[{key:"finish",value:function t(){this._running=!1,this._finished=!0,this.setCurrentTime(this.getDuration()),this.render(),this.clean(),webwave.isFunction(this._onComplete)&& 155this._onComplete()}},{key:"reset",value:function t(){this._running=!1,this._finished=!0,this.setCurrentTime(0),this.render(),this.clean(),webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"clean",value:function t(){}},{key:"dispose",value:function t(){}},{key:"render",value:function t(){throw new Error("renderer not implemented!");}}
155,{key:"updateValues",value:function t(){throw new Error("update values not implemented!");}},{key:"tick",value:function t(){this.updateValues(),this.render(), 156webwave.isFunction(this._stepCallback)&&this._stepCallback()}}]),i}(l.a);p.DEFAULT_EASING_FUNCTION=u.a.SWING},18:function(t,e,i){e.a=r;var n=i(263);function r(){return(r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function t(e,i,r){var a=Object(n.a)(e,i);if(a){var s=Object.getOwnPropertyDescriptor(a,i);return s.get?s.get.call(arguments.length<3?e:r):s.value}}).apply(this,arguments)}},1972:function(t,e,i){i.d(e,"a",function(){return f});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l=i(49),u=i(40), 157c=i(1204),h=i(1573);function p(t){var e=d();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var f=function(t){Object(a.a)(i, 158t);var e=p(i);function i(t){var r;return Object(n.a)(this,i),(r=e.call(this,t))._singlePartSize=new u.a({width:Math.floor(r._panelSize.width/2),height:Math.floor(r._panelSize.height/2)}),r._initDomObjects(),r}return Object(r.a)(i,[{key:"_initDomObjects",value:function t(){var e=[],n=this._singlePartSize,r=this._direction===h.a.LEFT?this.getForwardVector():this.getBackwardVector();this._partialPanel2=i.createPartialPanel({x:0,y:0,width:this._panelSize.width,height:this._panelSize.height,panel:this._nextPanel}), 159this._$panelParent.append(this._partialPanel2.$panel),this._partialPanel2.z=this.getInitialNextPanelZIndex();for(var a=0;a<2;a++){var s=[];e.push(s);for(var o=0;o<2;o++){var u=i.createPartialPanel({width:n.width,height:n.height,x:a*n.width,y:o*n.height,panel:this._panel});s.push({$panel:u.$panel,$content:u.$content,currentPos:new l.a(0,0),moveVector:r[o][a]}),this._$panelParent.append(u.$panel)}}this._partialPanels=e,this._panel[0].style.display="none",this._nextPanel[0].style.display="none"}},{key:"updateValues", 160value:function t(){var e=this._partialPanels,i,n=this._easing(this._progress);this._partialPanel2.z=(1-n)*this.getInitialNextPanelZIndex();for(var r=0;r<e.length;r++)for(var a=0;a<e[r].length;a++){i=e[r][a];var s=Math.max(0,Math.min(1,(this._progress-i.moveVector.s)/(1-this.getMaxDelay())));n=this._easing(s),i.currentPos.x=i.moveVector.x*this._singlePartSize.width*n,i.currentPos.y=i.moveVector.y*this._singlePartSize.height*n}}},{key:"clean",value:function t(){this._panel[0].style.display="",this._nextPanel[0].style.display= 161"";for(var e=this._partialPanels,i=0;i<e.length;i++)for(var n=0;n<e[i].length;n++)e[i][n].$panel.remove();this._partialPanel2.$panel.remove()}},{key:"render",value:function t(){for(var e,i=this._partialPanels,n=0;n<i.length;n++)for(var r=0;r<i[n].length;r++)(e=i[n][r]).$content[0].style.transform="translate3D("+e.currentPos.x+"px, "+e.currentPos.y+"px, 0)";this._partialPanel2.$content[0].style.transform="perspective(100px) translate3d(0, 0, "+this._partialPanel2.z+"px)"}},{key:"getForwardVector", 162value:function t(){}},{key:"getBackwardVector",value:function t(){}},{key:"getMaxDelay",value:function t(){}},{key:"getInitialNextPanelZIndex",value:function t(){}}],[{key:"createPartialPanel",value:function t(e){var i=$('<div class="gv_partialPanel" style="width: '+e.width+"px;height: "+e.height+"px;left: "+e.x+"px;top: "+e.y+'px;position: absolute;overflow: hidden;"></div>'),n=i.clone();n[0].style.left="0",n[0].style.top="0";var r=e.panel.clone();return r[0].style.left=-e.x+"px",r[0].style.top= 163-e.y+"px",r[0].style.position="absolute",n.append(r),i.append(n),{$panel:i,$content:n}}}]),i}(c.a)},2:function(t,e,i){function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function t(e){return e.__proto__||Object.getPrototypeOf(e)})(t)}e.a=n},2027:function(t,e,i){i.d(e,"a",function(){return s});var n=i(0),r=i(1),a=i(122),s=function(){function t(e){Object(n.a)(this,t),this._x=new a.a(e.x),this._y=new a.a(e.y)}return Object(r.a)(t,[{key:"serialize",value:function t(){return{x:this.getX().serialize(), 164y:this.getY().serialize()}}},{key:"loadValueFromObject",value:function t(e){webwave.isNotDefOrNull(e)||(this.getX().loadValuesFromObject(e.getX()),this.getY().loadValuesFromObject(e.getY()))}},{key:"getX",value:function t(){return this._x}},{key:"getY",value:function t(){return this._y}},{key:"getCssMapForPosition",value:function t(){return"".concat(this.getX().getValue()).concat(this.getX().getUnit()," ").concat(this.getY().getValue()).concat(this.getY().getUnit())}}],[{key:"deserialize",value:function e(i){return new t(i)}}]), 165t}()}
165,2048:function(t,e,i){i.d(e,"a",function(){return c});var n=i(0),r=i(1),a=i(226),s=i(2878),o=i(49),l=i(2879),u=i(40),c=function(){function t(){Object(n.a)(this,t)}return Object(r.a)(t,null,[{key:"calculateSizeAndOffsetForCropping",value:function e(i){var n=i.imageCropData.getCropType(),r=t.calculateScaleForCropType({cropType:n,widthFactor:i.elemSize.getWidth()/i.imageSize.getWidth(),heightFactor:i.elemSize.getHeight()/i.imageSize.getHeight()}),a=Math.round(i.imageSize.getWidth()*r.getScaleX()), 166s=Math.round(i.imageSize.getHeight()*r.getScaleY()),o=t.calculateOffset({imageCropData:i.imageCropData,imageWidth:a,imageHeight:s,elemWidth:i.elemSize.getWidth(),elemHeight:i.elemSize.getHeight()});return new l.a({offset:o,size:new u.a({width:a,height:s})})}},{key:"calculateScaleForCropType",value:function t(e){var i,n,r=e.widthFactor,o=e.heightFactor;switch(e.cropType){case a.a.COVER:n=i=Math.max(r,o);break;case a.a.FULL_WIDTH:i=r,n=o;break;case a.a.AUTO:i=1,n=1;break;case a.a.CONTAIN:n=i=Math.min(r, 167o);break}return new s.a(i,n)}},{key:"calculateOffset",value:function t(e){var i=e.imageCropData,n=i.getX().getValue()/100,r=i.getY().getValue()/100,a=Math.round((e.elemWidth-e.imageWidth)*n),s=Math.round((e.elemHeight-e.imageHeight)*r);return new o.a(a,s)}},{key:"updateDomObjectByCroppedImage",value:function t(e,i){e.css({width:i.getSize().getWidth(),height:i.getSize().getHeight(),top:i.getOffset().getY(),left:i.getOffset().getX()})}}]),t}()},2074:function(t,e,i){i.d(e,"a",function(){return h});var n= 168i(0),r=i(1),a=i(3),s=i(4),o=i(2),l;function u(t){var e=c();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var h=function(t){Object(a.a)(i, 169t);var e=u(i);function i(t){var r;return Object(n.a)(this,i),webwave.isNotDef(t.duration)&&(t.duration=i.DEFAULT_AUTO_ANIMATION_TIME),(r=e.call(this,t))._animation=t.animation,r._initialAnimProgress=t.animation.getCurrentProgress(),r._direction=t.direction,r._finalAnimProgress="backward"===t.direction?0:1,r._animationProgressDelta=r._finalAnimProgress-r._initialAnimProgress,r._animation._onComplete=t.onComplete,r}return Object(r.a)(i,[{key:"tick",value:function t(){var e=this._initialAnimProgress+ 170this._animationProgressDelta*this._progress;this._animation.setCurrentTime(e*this._animation.getDuration()),this._animation.updateValues(),this._animation.render(),webwave.isFunction(this._animation._stepCallback)&&this._animation._stepCallback()}},{key:"finish",value:function t(){this._animation.finish()}}],[{key:"createRevertAnimation",value:function t(e){if(e instanceof i){var n="backward"===e._direction?"forward":"backward",r="forward"===n?e._animation.getDuration()-e._animation.getCurrentTime(): 171e._animation.getCurrentTime();return new i({animation:e._animation,onComplete:e._animation._onComplete,duration:r,direction:n})}return new i({animation:e,direction:"backward",duration:e.getCurrentTime(),onComplete:e._onComplete})}}]),i}(i(1545).a);h.DEFAULT_AUTO_ANIMATION_TIME=150},208:function(t,e,i){function n(t,e){return(n=Object.setPrototypeOf||function t(e,i){return e.__proto__=i,e})(t,e)}e.a=n},210:function(t,e,i){var n={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"};e.a=n},220:function(t, 172e,i){e.a={INNER_TEXT:"innerText"}},226:function(t,e,i){var n={COVER:"cover",CONTAIN:"contain",FULL_WIDTH:"100% 100%",AUTO:"auto"};e.a=n},2312:function(t,e,i){var n={HOVER:"hover",VISIBLE:"visible"};e.a=n},2593:function(t,e,i){i.d(e,"a",function(){return a});var n=i(0),r=i(1),a=function(){function t(e,i,r){Object(n.a)(this,t),this.y=0,this.x=0,this.z=0,webwave.isNumberAndNotNaN(e)?(this.x=e,webwave.isNumberAndNotNaN(i)&&(this.y=i),webwave.isNumberAndNotNaN(r)&&(this.z=r)):webwave.isDef(e)&&(webwave.isNumberAndNotNaN(e.x)&&
173(this.x=e.x),webwave.isNumberAndNotNaN(e.y)&&(this.y=e.y),webwave.isNumberAndNotNaN(e.z)&&(this.z=e.z))}return Object(r.a)(t,[{key:"subtract",value:function t(e){this.x-=e.x,this.y-=e.y,this.z-=e.z}},{key:"serialize",value:function t(){return{x:this.x,y:this.y,z:this.z}}},{key:"getX",value:function t(){return this.x}},{key:"getY",value:function t(){return this.y}},{key:"getZ",value:function t(){return this.z}}]),t}()},263:function(t,e,i){e.a=r;var n=i(2);function r(t,e){for(;!Object.prototype.hasOwnProperty.call(t, 174e)&&null!==(t=Object(n.a)(t)););return t}},2855:function(t,e,i){var n=i(2856),r=i(2858),a=i(2876)},2856:function(t,e,i){var n=i(0),r=i(1),a=i(49),s=i(2857);webwave.provide("com.webwave.ui.swipeable.Swipeable");var o=0,l=function(){function t(e,i){Object(n.a)(this,t),webwave.isNotDef(i)&&(i={}),this._element=e,this._$element=$(e),this._delegatedElements=webwave.isString(i._delegatedElements)?i._delegatedElements:"",this._id=++o,this._$eventContainer=$(window),this._detectingSwipe=!1,this._eventNamespace= 175"swipeable_"+this._id,this._horizontalSwipeInProgress=!1,this._onStartHandler=i.onStart,this._swipeHandler=i.onSwipe,this._onStopHandler=i.onStop,this._swipeData=null,this._swipeDetectionMinDistance=webwave.isNumber(i.minDistance)?i.minDistance:t.DEFAULT_SWIPE_MIN_DISTANCE,this._noClickPrevent=!0===i.noClickPrevent,this.startEventListeners(),this._lastSwipeEndDate=0}return Object(r.a)(t,[{key:"startEventListeners",value:function e(){var i=this._eventNamespace,n=this;this._$element.on("touchstart."+ 176i+" mousedown."+i,this._delegatedElements,function(t){"mousedown"===t.type&&1!==t.which||n._startSwipeDetection(t)}),this._$element.on("click."+i,this._delegatedElements,function(e){e.timeStamp-n._lastSwipeEndDate<t.PREVENT_CLICK_TRESHOLD&&(e.preventDefault(),e.stopPropagation())})}},{key:"stopEventListeners",value:function t(){var e=this._eventNamespace;this._$element.off("touchstart."+e+" mousedown."+e)}},{key:"_updateSwipeDataByEvent",value:function e(i){var n=t.getPositionByEvent(i);n.subtract(this._swipeData.startPoint), 177this._swipeData.setSwipe(n)}},{key:"_startSwipeDetection",value:function e(i){var n=this;this._stopSwipeDetection(),this._detectingSwipe=!0;var r=t.getPositionByEvent(i);this._swipeData=new s.a({startPoint:r});var a=i,o=this._eventNamespace,l=r;this._$eventContainer.on("mousemove."+o+" touchmove."+o,function(e){var i=t.getPositionByEvent(e);l.x!=i.x&&e.preventDefault(),n._updateSwipeDataByEvent(e);var r=n._swipeData.swipe;Math.abs(r.x)>n._swipeDetectionMinDistance?(n._stopSwipeDetection(),n._startHorizontalSwiping(a)): 178Math.abs(r.y)>n._swipeDetectionMinDistance&&n._stopSwipeDetection(),l=i}),this._$eventContainer.on("mouseup."+o+" touchend."+o,this._stopSwipeDetection.bind(this))}},{key:"_stopSwipeDetection",value:function t(){if(!0===this._detectingSwipe){var e=this._eventNamespace;this._$eventContainer.off("mousemove."+e+" touchmove."+e),this._$eventContainer.off("mouseup."+e+" touchend."+e),this._detectingSwipe=!1}}},{key:"_startHorizontalSwiping",value:function t(e){this._stopHorizontalSwiping(),this._horizontalSwipeInProgress= 179!0,webwave.isFunction(this._onStartHandler)&&this._onStartHandler.call(this._element,e,this._swipeData);var i=this._eventNamespace;this._$eventContainer.on("mousemove."+i+" touchmove."+i,this._ownSwipeHandler.bind(this)),this._$eventContainer.on("mouseup."+i+" touchend."+i,this._ownSwipeEndHandler.bind(this))}},{key:"_ownSwipeHandler",value:function t(e){this._updateSwipeDataByEvent(e),webwave.isFunction(this._swipeHandler)&&this._swipeHandler.call(this._element,e,this._swipeData),e.preventDefault()}}, 180{key:"_ownSwipeEndHandler",value:function t(e){this._lastSwipeEndDate=e.timeStamp,this._stopHorizontalSwiping(),webwave.isFunction(this._onStopHandler)&&this._onStopHandler.call(this._element,e,this._swipeData)}},{key:"_stopHorizontalSwiping",value:function t(){if(!0===this._horizontalSwipeInProgress){var e=this._eventNamespace;this._$eventContainer.off("mousemove."+e+" touchmove."+e),this._$eventContainer.off("mouseup."+e+" touchend."+e),this._horizontalSwipeInProgress=!1}}},{key:"dispose",value:function t(e){this.stopEventListeners()}}]), 181t}();com.webwave.ui.swipeable.Swipeable=l,l.DEFAULT_SWIPE_MIN_DISTANCE=8,l.PREVENT_CLICK_TRESHOLD=200,l.getPositionByEvent=function(t){var e=new a.a(0,0);if("touchstart"==t.type||"touchmove"==t.type||"touchend"==t.type||"touchcancel"==t.type){var i=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0];e.x=i.pageX,e.y=i.pageY}else"mousedown"!=t.type&&"mouseup"!=t.type&&"mousemove"!=t.type&&"mouseover"!=t.type&&"mouseout"!=t.type&&"mouseenter"!=t.type&&"mouseleave"!=t.type||(e.x=t.pageX,e.y= 182t.pageY);return e}}
182,2857:function(t,e,i){i.d(e,"a",function(){return o});var n=i(0),r=i(1),a=i(49),s=i(210);webwave.provide("com.webwave.ui.swipeable.SwipeData");var o=function(){function t(e){Object(n.a)(this,t),webwave.isNotDef(e)&&(e={}),this.startPoint=webwave.isDef(e.startPoint)?e.startPoint:new a.a(0,0),this.swipe=webwave.isDef(e.swipe)?e.swipe:new a.a(0,0),this.direction=t.getDirectionByVector(this.swipe)}return Object(r.a)(t,[{key:"setSwipe",value:function e(i){this.swipe=i,this.direction= 183t.getDirectionByVector(this.swipe)}}]),t}();com.webwave.ui.swipeable.SwipeData=o,o.getDirectionByVector=function(t){return t.x>0?s.a.RIGHT:s.a.LEFT}},2858:function(t,e,i){var n=i(0),r=i(1),a=i(2859),s=i(2865),o=i(2866),l=i(2867),u=i(2868),c=i(2869),h=i(2870),p=i(2871),d=i(2872),f=i(2873),g=i(2874),m=i(2875),v=[u.a,c.a,s.a,p.a,l.a,m.a,g.a,f.a],y=function(){function t(){Object(n.a)(this,t)}return Object(r.a)(t,[{key:"createAnimationByName",value:function t(e,i){switch(e){case "slide":return new p.a(i); 184break;case "crossfade":return new s.a(i);break;case "spinfade":return new d.a(i);break;case "cube":return new o.a(i);break;case "open":return new h.a(i);break;case "fade":return new u.a(i);break;case "fadeInOver":return new c.a(i);break;case "explosion":return new l.a(i);break;case "squareVortex":return new m.a(i);break;case "squareShutter":return new g.a(i);break;case "squareFall":return new f.a(i);break;case "advancedFadeAnimation":return new a.a(i);break;case "random":var n;return new (0,v[parseInt(Math.random()* 185v.length)])(i);default:return new p.a(i);break}}}],[{key:"getInstance",value:function e(){return webwave.isNotDef(t.__instance)&&(t.__instance=new t),t.__instance}}]),t}();webwave.provide("com.webwave.webgal.animation.ChangeAnimationService"),com.webwave.webgal.animation.ChangeAnimationService=y},2859:function(t,e,i){i.d(e,"a",function(){return g});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l=i(2860),u=i(2862),c=i(2863),h=i(2864),p;function d(t){var e=f();return function i(){var n=Object(o.a)(t),r;if(e){var a= 186Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var g=function(t){Object(a.a)(i,t);var e=d(i);function i(t){var r;Object(n.a)(this,i);var a=(r=e.call(this,t))._panel.children().eq(0).clone(); 187r._$panelParent.prepend(a);var s=window.getComputedStyle(r._panel.children()[0]),o=window.getComputedStyle(r._nextPanel.children()[0]);return r._borderRadiusTransitions={topLeft:new h.a(parseInt(s.borderTopLeftRadius),parseInt(o.borderTopLeftRadius)),topRight:new h.a(parseInt(s.borderTopRightRadius),parseInt(o.borderTopRightRadius)),bottomLeft:new h.a(parseInt(s.borderBottomLeftRadius),parseInt(o.borderBottomLeftRadius)),bottomRight:new h.a(parseInt(s.borderBottomRightRadius),parseInt(o.borderBottomRightRadius))}, 188r._opacityTransition=new h.a(parseFloat(s.opacity),parseFloat(o.opacity),1),r._backgroundColorTransition=new u.a(s.backgroundColor,o.backgroundColor),r._borderColorsTransitions={top:new u.a(s.borderTopColor,o.borderTopColor),right:new u.a(s.borderRightColor,o.borderRightColor),bottom:new u.a(s.borderBottomColor,o.borderBottomColor),left:new u.a(s.borderLeftColor,o.borderLeftColor)},r._boxShadowTransition=new l.a(s.boxShadow,o.boxShadow),r._filterTransition=new c.a(s.filter,o.filter),a[0].style.overflow= 189"hidden",r._$helper=a,r._panel[0].style.visibility="hidden",r._nextPanel[0].style.visibility="hidden",r._$panelParent[0].style.overflow="visible",r._hasDifferentBackgroundImage=i.isBackgroundImageDifferent(s,o),r._hasDifferentHtml=r._panel.find(".wwTextContent")[0]&&r._panel.find(".wwTextContent")[0].outerHTML!==r._nextPanel.find(".wwTextContent")[0].outerHTML,a.html(""),r._hasDifferentBackgroundImage&&(a[0].style.backgroundImage="none",r._$imageHelper1=r._panel.children().eq(0).clone(),r._$imageHelper2= 190r._nextPanel.children().eq(0).clone(),r._prepareHelperForBackgroun
190dImageAnimation(r._$imageHelper1),r._prepareHelperForBackgroundImageAnimation(r._$imageHelper2),r._$helper.append(r._$imageHelper1,r._$imageHelper2)),r._hasDifferentHtml?(r._$htmlHelper1=r._panel.children().eq(0).clone(),r._prepareHelperForHtmlAnimation(r._$htmlHelper1),r._$htmlHelper2=r._nextPanel.children().eq(0).clone(),r._prepareHelperForHtmlAnimation(r._$htmlHelper2),r._$helper.append(r._$htmlHelper1,r._$htmlHelper2)):(r._$htmlHelper1= 191r._panel.children().eq(0).clone(),r._prepareHelperForHtmlAnimation(r._$htmlHelper1),r._$helper.append(r._$htmlHelper1)),r._backgroundOverlayHelper1=r._panel.children().eq(1).clone(),r._backgroundOverlayHelper2=r._nextPanel.children().eq(1).clone(),r._$helper.parent().append(r._backgroundOverlayHelper1,r._backgroundOverlayHelper2),r._opacityTransition1=new h.a(1,0),r._opacityTransition2=new h.a(0,1),r}return Object(r.a)(i,[{key:"_prepareHelperForBackgroundImageAnimation",value:function t(e){var i= 192e[0].style;i.backgroundColor="transparent",i.opacity="1",i.boxShadow="none",i.filter="",i.borderRadius="0",i.border="none",i.width="100%",i.height="100%",e.html("")}},{key:"_prepareHelperForHtmlAnimation",value:function t(e){var i=e[0].style;i.background="none",i.opacity="1",i.boxShadow="none",i.filter="",i.background="none",i.borderRadius="0",i.border="none",i.width="100%",i.height="100%"}},{key:"updateValues",value:function t(){var e=this._easing(this._progress);for(var i in this._opacityTransition1.updateByProgress(e), 193this._opacityTransition2.updateByProgress(e),this._opacityTransition.updateByProgress(e),this._backgroundColorTransition.updateByProgress(e),this._borderRadiusTransitions)this._borderRadiusTransitions.hasOwnProperty(i)&&this._borderRadiusTransitions[i].updateByProgress(e);for(var i in this._borderColorsTransitions)this._borderColorsTransitions.hasOwnProperty(i)&&this._borderColorsTransitions[i].updateByProgress(e);this._boxShadowTransition.updateByProgress(e),this._filterTransition.updateByProgress(e)}}, 194{key:"clean",value:function t(){}},{key:"render",value:function t(){this._$helper[0].style.borderTopLeftRadius=this._borderRadiusTransitions.topLeft.getCurrentValue()+"px",this._$helper[0].style.borderTopRightRadius=this._borderRadiusTransitions.topRight.getCurrentValue()+"px",this._$helper[0].style.borderBottomLeftRadius=this._borderRadiusTransitions.bottomLeft.getCurrentValue()+"px",this._$helper[0].style.borderBottomRightRadius=this._borderRadiusTransitions.bottomRight.getCurrentValue()+"px",this._$helper[0].style.opacity= 195this._opacityTransition.getCurrentValue(),this._$helper[0].style.backgroundColor=this._backgroundColorTransition.getCurrentColor().toRgbaString(),this._$helper[0].style.borderTopColor=this._borderColorsTransitions.top.getCurrentColor().toRgbaString(),this._$helper[0].style.borderRightColor=this._borderColorsTransitions.right.getCurrentColor().toRgbaString(),this._$helper[0].style.borderBottomColor=this._borderColorsTransitions.bottom.getCurrentColor().toRgbaString(),this._$helper[0].style.borderLeftColor= 196this._borderColorsTransitions.left.getCurrentColor().toRgbaString(),this._$helper[0].style.boxShadow=this._boxShadowTransition.getCurrentBoxShadow().toCssString(),this._$helper[0].style.filter=this._filterTransition.getCurrentFilter().toCssString(),!0===this._hasDifferentHtml&&(this._$htmlHelper1[0].style.opacity=this._opacityTransition1.getCurrentValue(),this._$htmlHelper2[0].style.opacity=this._opacityTransition2.getCurrentValue()),this._hasDifferentBackgroundImage&&(this._$imageHelper1[0].style.opacity= 197this._opacityTransition1.getCurrentValue(),this._$imageHelper1[0].style.borderTopLeftRadius=this._borderRadiusTransitions.topLeft.getCurrentValue()+"px",this._$imageHelper1[0].style.borderTopRightRadius=this._borderRadiusTransitions.topRight.getCurrentValue()+"px",this._$imageHelper1[0].style.borderBottomLeftRadius=this._borderRadiusTransitions.bottomLeft.getCurrentValue()+"px",this._$imageHelper1[0].style.borderBottomRightRadius=this._borderRadiusTransitions.bottomRight.getCurrentValue()+"px",this._$imageHelper2[0].style.opacity= 198this._opacityTransition2.getCurrentValue(),this._$imageHelper2[0].style.borderTopLeftRadius=this._borderRadiusTransitions.topLeft.getCurrentValue()+"px",this._$imageHelper2[0].style.borderTopRightRadius=this._borderRadiusTransitions.top
198Right.getCurrentValue()+"px",this._$imageHelper2[0].style.borderBottomLeftRadius=this._borderRadiusTransitions.bottomLeft.getCurrentValue()+"px",this._$imageHelper2[0].style.borderBottomRightRadius=this._borderRadiusTransitions.bottomRight.getCurrentValue()+"px"),this._backgroundOverlayHelper1[0].style.borderTopLeftRadius= 199this._borderRadiusTransitions.topLeft.getCurrentValue()+"px",this._backgroundOverlayHelper1[0].style.borderTopRightRadius=this._borderRadiusTransitions.topRight.getCurrentValue()+"px",this._backgroundOverlayHelper1[0].style.borderBottomLeftRadius=this._borderRadiusTransitions.bottomLeft.getCurrentValue()+"px",this._backgroundOverlayHelper1[0].style.borderBottomRightRadius=this._borderRadiusTransitions.bottomRight.getCurrentValue()+"px",this._backgroundOverlayHelper1[0].style.opacity=this._opacityTransition1.getCurrentValue(), 200this._backgroundOverlayHelper2[0].style.borderTopLeftRadius=this._borderRadiusTransitions.topLeft.getCurrentValue()+"px",this._backgroundOverlayHelper2[0].style.borderTopRightRadius=this._borderRadiusTransitions.topRight.getCurrentValue()+"px",this._backgroundOverlayHelper2[0].style.borderBottomLeftRadius=this._borderRadiusTransitions.bottomLeft.getCurrentValue()+"px",this._backgroundOverlayHelper2[0].style.borderBottomRightRadius=this._borderRadiusTransitions.bottomRight.getCurrentValue()+"px",this._backgroundOverlayHelper2[0].style.opacity= 201this._opacityTransition2.getCurrentValue()}}],[{key:"isBackgroundImageDifferent",value:function t(e,i){return e.backgroundImage!==i.backgroundImage||e.backgroundPosition!==i.backgroundPosition||e.backgroundAttachment!==i.backgroundAttachment||e.backgroundSize!==i.backgroundSize}}]),i}(i(1204).a)},2860:function(t,e,i){i.d(e,"a",function(){return s});var n=i(0),r=i(1),a=i(2861),s=function(){function t(e,i){Object(n.a)(this,t),this._startBoxShadow=new a.a(e),this._finalBoxShadow=new a.a(i),this._currentBoxShadow= 202this._startBoxShadow.clone(),this._delta=this._finalBoxShadow.clone(),this._delta.subtract(this._startBoxShadow)}return Object(r.a)(t,[{key:"updateByProgress",value:function t(e){this._currentBoxShadow=this._startBoxShadow.clone();var i=this._delta.clone();i.multiply(e),this._currentBoxShadow.add(i)}},{key:"getCurrentBoxShadow",value:function t(){return this._currentBoxShadow}}]),t}()},2861:function(t,e,i){i.d(e,"a",function(){return s});var n=i(0),r=i(1),a=i(10),s=function(){function t(e){Object(n.a)(this, 203t),webwave.isString(e)&&(e=com.webwave.util.cssUtils.parseBoxShadow(e)[0]),webwave.isNotDef(e)&&(e={}),this.offsetX=webwave.isNumberAndNotNaN(e.offsetX)?e.offsetX:0,this.offsetY=webwave.isNumberAndNotNaN(e.offsetY)?e.offsetY:0,this.blurRadius=webwave.isNumberAndNotNaN(e.blurRadius)?e.blurRadius:0,this.spreadRadius=webwave.isNumberAndNotNaN(e.spreadRadius)?e.spreadRadius:0,this.color=new a.Color(e.color)}return Object(r.a)(t,[{key:"subtract",value:function t(e){return this.offsetX-=e.offsetX,this.offsetY-= 204e.offsetY,this.blurRadius-=e.blurRadius,this.spreadRadius-=e.spreadRadius,this.color.subtract(e.color),this}},{key:"add",value:function t(e){return this.offsetX+=e.offsetX,this.offsetY+=e.offsetY,this.blurRadius+=e.blurRadius,this.spreadRadius+=e.spreadRadius,this.color.add(e.color),this}},{key:"multiply",value:function t(e){return this.offsetX=Math.round(e*this.offsetX),this.offsetY=Math.round(e*this.offsetY),this.blurRadius=Math.round(e*this.blurRadius),this.spreadRadius=Math.round(e*this.spreadRadius), 205this.color.multiply(e),this}},{key:"clone",value:function e(){return new t(this)}},{key:"toCssString",value:function t(){return"".concat(this.offsetX,"px ").concat(this.offsetY,"px ").concat(this.blurRadius,"px ").concat(this.spreadRadius,"px ").concat(this.color.toRgbaString())}}]),t}()},2862:function(t,e,i){i.d(e,"a",function(){return s});var n=i(0),r=i(1),a=i(10),s=function(){function t(e,i){Object(n.a)(this,t),this._initialColor=new a.Color(e),this._finalColor=new a.Color(i),this._colorDelta= 206this._finalColor.clone(),this._colorDelta.subtract(this._initialColor),this._currentColor=this._initialColor.clone()}return Object(r.a)(t,[{key:"updateByProgress",value:function t(e){this._currentColor=this._initialColor.clone();
206var i=this._colorDelta.clone();this._currentColor.add(i.multiply(e))}},{key:"getCurrentColor",value:function t(){return this._currentColor}}]),t}()},2863:function(t,e,i){i.d(e,"a",function(){return s});var n=i(0),r=i(1),a=i(1243),s=function(){function t(e,i){Object(n.a)(this, 207t),this._startFilter=a.a.readFromString(e),this._finalFilter=a.a.readFromString(i),this._fillMissingValues(this._startFilter,this._finalFilter),this._currentFilter=this._startFilter.clone(),this._delta=this._finalFilter.clone(),this._delta.subtract(this._startFilter)}return Object(r.a)(t,[{key:"_fillMissingValues",value:function t(e,i){e.fillDefaultMissingValues(i),i.fillDefaultMissingValues(e)}},{key:"updateByProgress",value:function t(e){this._currentFilter=this._startFilter.clone();var i=this._delta.clone(); 208i.multiply(e),this._currentFilter.add(i)}},{key:"getCurrentFilter",value:function t(){return this._currentFilter}}]),t}()},2864:function(t,e,i){i.d(e,"a",function(){return a});var n=i(0),r=i(1),a=function(){function t(e,i,r){Object(n.a)(this,t),!1===webwave.isNumberAndNotNaN(r)&&(r=0),this._initialValue=webwave.isNumberAndNotNaN(e)?e:r,this._finalValue=webwave.isNumberAndNotNaN(i)?i:r,this._delta=this._finalValue-this._initialValue,this._currentValue=this._initialValue}return Object(r.a)(t,[{key:"updateByProgress", 209value:function t(e){this._currentValue=this._initialValue+this._delta*e}},{key:"getCurrentValue",value:function t(){return this._currentValue}}]),t}()},2865:function(t,e,i){i.d(e,"a",function(){return h});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l;function u(t){var e=c();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1; 210if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var h=function(t){Object(a.a)(i,t);var e=u(i);function i(t){var r;return Object(n.a)(this,i),(r=e.call(this,t))._initialOpacity1=1,r._initialOpacity2=0,r._finalOpacity1=0,r._finalOpacity2=1,r._opacityDelta1=r._finalOpacity1-r._initialOpacity1,r._opacityDelta2=r._finalOpacity2-r._initialOpacity2,r._currentOpacity1=r._initialOpacity1, 211r._currentOpacity2=r._initialOpacity2,r}return Object(r.a)(i,[{key:"updateValues",value:function t(){var e=this._easing(this._progress);this._currentOpacity1=this._initialOpacity1+this._opacityDelta1*e,this._currentOpacity2=this._initialOpacity2+this._opacityDelta2*e}},{key:"clean",value:function t(){this._panel[0].style.opacity="",this._nextPanel[0].style.opacity=""}},{key:"render",value:function t(){this._panel[0].style.opacity=this._currentOpacity1,this._nextPanel[0].style.opacity=this._currentOpacity2}}]), 212i}(i(1204).a)},2866:function(t,e,i){i.d(e,"a",function(){return p});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l=i(1204),u=i(1573);function c(t){var e=h();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 213[],function(){})),!0}catch(t){return!1}}var p=function(t){Object(a.a)(i,t);var e=c(i);function i(t){var r;switch(Object(n.a)(this,i),(r=e.call(this,t))._direction){case u.a.LEFT:r._panel[0].style.transformOrigin=r._panelSize.width/2+"px 0 "+-r._panelSize.width/2+"px",r._nextPanel[0].style.transformOrigin=r._panelSize.width/2+"px 0 "+-r._panelSize.width/2+"px",r._startDeg1=0,r._finalDeg1=-90,r._startDeg2=90,r._finalDeg2=0;break;case u.a.TOP:r._panel[0].style.transformOrigin="0 "+r._panelSize.height/ 2142+"px "+-r._panelSize.height/2+"px",r._nextPanel[0].style.transformOrigin="0 "+r._panelSize.height/2+"px "+-r._panelSize.height/2+"px",r._startDeg1=0,r._finalDeg1=90,r._startDeg2=-90,r._finalDeg2=0;break;case u.a.BOTTOM:r._panel[0].style.transformOrigin="0 "+r._panelSize.height/2+"px "+-r._panelSize.height/2+"px",r._nextPanel[0].style.transformOrigin="0 "+r._panelSize.height/2+"px "+-r._panelSize.height/2+"px",r._startDeg1=0,r._finalDeg1=-90,r._startDeg2=90,r._finalDeg2=0;break;default:r._panel[0].style.transformOrigin= 215r._panelSize.width/2+"px 0 "+-r._panelSize.width/2+"px",r._nextPanel[0].style.transformOrigin=r._panelSize.width/2+"px 0 "+-r._panelSize.width/2+"px",r._startDeg1=0,r._finalDeg1=90,r._startDeg2=-90,r._finalDeg2=0;break}return r._currDeg1=r._startDeg1,r._deg1Delta=r._finalDeg1-r._startDeg1,r._currDeg2=r._startDeg2,r._deg2Delta=r._finalDeg2-r._startDeg2,r._panel.parent()[0].style.perspective="3000px",r._panel.parent()[0].style.overflow="visible",r._$panelParent[0].style.transformStyle="preserve-3d", 216r._panel[0].style.backfaceVisibility="hidden",r._nextPanel[0].style.backfaceVisibility="hidden",r}
216return Object(r.a)(i,[{key:"updateValues",value:function t(){var e=this._easing(this._progress);this._currDeg1=this._startDeg1+this._deg1Delta*e,this._currDeg2=this._startDeg2+this._deg2Delta*e}},{key:"clean",value:function t(){this._panel[0].style.transformOrigin="",this._nextPanel[0].style.transformOrigin="",this._panel[0].style.transform="",this._nextPanel[0].style.transform="",this._panel[0].style.backfaceVisibility= 217"",this._nextPanel[0].style.backfaceVisibility=""}},{key:"render",value:function t(){this._direction===u.a.TOP||this._direction===u.a.BOTTOM?(this._panel[0].style.transform="rotate3d( 1, 0, 0, "+this._currDeg1+"deg)",this._nextPanel[0].style.transform="rotate3d( 1, 0, 0, "+this._currDeg2+"deg)"):(this._panel[0].style.transform="rotate3d( 0, 1, 0, "+this._currDeg1+"deg)",this._nextPanel[0].style.transform="rotate3d( 0, 1, 0, "+this._currDeg2+"deg)")}}]),i}(l.a)},2867:function(t,e,i){i.d(e,"a",function(){return d}); 218var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l=i(49),u=i(40),c;function h(t){var e=p();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}} 219var d=function(t){Object(a.a)(i,t);var e=h(i);function i(t){var r;return Object(n.a)(this,i),(r=e.call(this,t))._parts={x:5,y:3},r._distance=i.DEFAULT_DISTANCE,r._initDomObjects(),r}return Object(r.a)(i,[{key:"_initDomObjects",value:function t(){for(var e=[],n=new u.a({width:Math.floor(this._panelSize.width/this._parts.x),height:Math.floor(this._panelSize.height/this._parts.y)}),r,a,s=0;s<this._parts.x;s++){var o=[];e.push(o);for(var c=0;c<this._parts.y;c++){r=s*n.width,a=c*n.height;var h=i.createPartialPanel({width:n.width, 220height:n.height,x:r,y:a,panel:this._panel}),p=i.createPartialPanel({width:n.width,height:n.height,x:r,y:a,panel:this._nextPanel});o.push({dom1:h,dom2:p,currentPos1:new l.a(0,0),currentPos2:new l.a(0,0),moveVector:i.generateRandomVector(),opacity1:1,opacity2:0}),this._$panelParent.append(h),this._$panelParent.append(p)}}this._partialPanels=e,this._panel[0].style.display="none",this._nextPanel[0].style.display="none"}},{key:"updateValues",value:function t(){for(var e=this._partialPanels,i,n=this._easing(this._progress), 221r=0;r<e.length;r++)for(var a=0;a<e[r].length;a++)(i=e[r][a]).currentPos1.x=i.moveVector.x*this._distance*n,i.currentPos1.y=i.moveVector.y*this._distance*n,i.opacity1=1-n,i.currentPos2.x=i.moveVector.x*this._distance*(1-n),i.currentPos2.y=i.moveVector.y*this._distance*(1-n),i.opacity2=n}},{key:"clean",value:function t(){this._panel[0].style.display="",this._nextPanel[0].style.display="";for(var e=this._partialPanels,i=0;i<e.length;i++)for(var n=0;n<e[i].length;n++)e[i][n].dom1.remove(),e[i][n].dom2.remove()}}, 222{key:"render",value:function t(){for(var e,i=this._partialPanels,n=0;n<i.length;n++)for(var r=0;r<i[n].length;r++)(e=i[n][r]).dom1[0].style.transform="translate3D("+e.currentPos1.x+"px, "+e.currentPos1.y+"px, 0)",e.dom1[0].style.opacity=e.opacity1,e.dom2[0].style.transform="translate3D("+e.currentPos2.x+"px, "+e.currentPos2.y+"px, 0)",e.dom2[0].style.opacity=e.opacity2}}],[{key:"createPartialPanel",value:function t(e){var i=$('<div class="gv_partialPanel" style="width: '+e.width+"px;height: "+e.height+ 223"px;left: "+e.x+"px;top: "+e.y+'px;position: absolute;overflow: hidden;opacity: 1;"></div>'),n=e.panel.clone();return n[0].style.left=-e.x+"px",n[0].style.top=-e.y+"px",n[0].style.position="absolute",i.append(n),i}},{key:"generateRandomVector",value:function t(){return new l.a(2*Math.random()-1,2*Math.random()-1)}}]),i}(i(1204).a);d.DEFAULT_DISTANCE=200},2868:function(t,e,i){i.d(e,"a",function(){return h});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l;function u(t){var e=c();return function i(){var n= 224Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var h=function(t){Object(a.a)(i,t);var e=u(i);function i(t){var r;return Object(n.a)(this,i),(r= 225e.call(this,t))._initialOpacity1=1,r._initialOpacity2=0,r._finalOpacity1=0,r._finalOpacity2=1,r._opacityDelta1=r._finalOpacity1-r._initialOpacity1,r._opacityDelta2=r._finalOpacity2-r._initialOpacity2,r._currentOpacity1=r._initialOpacity1,r._currentOpacity2=r._initialOpacity2,r}
225return Object(r.a)(i,[{key:"updateValues",value:function t(){var e=this._easing(this._progress);this._currentOpacity1=this._initialOpacity1+this._opacityDelta1*e,this._currentOpacity2=this._initialOpacity2+this._opacityDelta2* 226e}},{key:"clean",value:function t(){this._panel[0].style.opacity="",this._nextPanel[0].style.opacity=""}},{key:"render",value:function t(){this._panel[0].style.opacity=2*this._currentOpacity1-1,this._nextPanel[0].style.opacity=2*this._currentOpacity2-1}}]),i}(i(1204).a)},2869:function(t,e,i){i.d(e,"a",function(){return h});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l;function u(t){var e=c();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments, 227a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var h=function(t){Object(a.a)(i,t);var e=u(i);function i(t){var r;return Object(n.a)(this,i),(r=e.call(this,t))._initialOpacity=0,r._finalOpacity=1,r._opacityDelta=r._finalOpacity-r._initialOpacity, 228r._currentOpacity=r._initialOpacity,r}return Object(r.a)(i,[{key:"updateValues",value:function t(){var e=this._easing(this._progress);this._currentOpacity=this._initialOpacity+this._opacityDelta*e}},{key:"clean",value:function t(){this._nextPanel[0].style.opacity=""}},{key:"render",value:function t(){this._nextPanel[0].style.opacity=this._currentOpacity}}]),i}(i(1204).a)},2870:function(t,e,i){i.d(e,"a",function(){return m});var n=i(3),r=i(4),a=i(2),s=i(0),o=i(1),l=i(40),u=i(2593),c=i(1204),h=i(1573); 229function p(t){var e=d();return function i(){var n=Object(a.a)(t),s;if(e){var o=Object(a.a)(this).constructor;s=Reflect.construct(n,arguments,o)}else s=n.apply(this,arguments);return Object(r.a)(this,s)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var f={VERTICAL:"vertical",HORIZONTAL:"horizontal"}, 230g=function(){function t(e){Object(s.a)(this,t),this.start=new u.a(e.start),this.end=new u.a(e.end),this.delta=new u.a({x:this.end.x-this.start.x,y:this.end.y-this.start.y,z:this.end.z-this.start.z}),this.current=new u.a(e.start)}return Object(o.a)(t,[{key:"updateByProgress",value:function t(e){this.current.x=this.start.x+this.delta.x*e,this.current.y=this.start.y+this.delta.y*e,this.current.z=this.start.z+this.delta.z*e}}]),t}(),m=function(t){Object(n.a)(i,t);var e=p(i);function i(t){var n;return Object(s.a)(this, 231i),(n=e.call(this,t))._orientation=n._direction==h.a.TOP||n._direction===h.a.BOTTOM?"horizontal":"vertical",n._verticalPanelsCount=n._orientation===f.VERTICAL?2:1,n._horizontalPanelsCount=n._orientation===f.HORIZONTAL?2:1,n._singlePartSize=new l.a({width:Math.floor(n._panelSize.width/n._verticalPanelsCount),height:Math.floor(n._panelSize.height/n._horizontalPanelsCount)}),n._initDomObjects(),n}return Object(o.a)(i,[{key:"_initDomObjects",value:function t(){var e=[],n=this._singlePartSize,r=this._generateMoveVectors(), 232a=this._direction===h.a.RIGHT||this._direction===h.a.BOTTOM?this._nextPanel:this._panel,s=this._direction===h.a.RIGHT||this._direction===h.a.BOTTOM?this._panel:this._nextPanel;this._partialPanel2=i.createPartialPanel({x:0,y:0,width:this._panelSize.width,height:this._panelSize.height,panel:s});var o=0,l=this._direction===h.a.RIGHT||this._direction===h.a.BOTTOM?0:-0,c=this._direction===h.a.RIGHT||this._direction===h.a.BOTTOM?-0:0;this._partialPanel2.moveData=new g({start:{x:0,y:0,z:l},end:{x:0,y:0, 233z:c}}),this._$panelParent.append(this._partialPanel2.$panel);for(var p=0;p<2;p++){var d="vertical"===this._orientation?p*n.width:0,f="horizontal"===this._orientation?p*n.height:0,m=i.createPartialPanel({width:n.width,height:n.height,x:d,y:f,panel:a});e.push({$panel:m.$panel,$content:m.$content,moveVector:r[p],currentPos:new u.a}),this._$panelParent.append(m.$panel)}this._partialPanels=e,this._panel[0].style.display="none",this._nextPanel[0].style.display="none"}}
233,{key:"updateValues",value:function t(){var e= 234this._partialPanels,i,n=this._easing(this._progress);this._partialPanel2.moveData.updateByProgress(n);for(var r=0;r<e.length;r++)(i=e[r]).moveVector.updateByProgress(n),i.currentPos.x=i.moveVector.current.x*this._singlePartSize.width,i.currentPos.y=i.moveVector.current.y*this._singlePartSize.height}},{key:"clean",value:function t(){this._panel[0].style.display="",this._nextPanel[0].style.display="";for(var e=this._partialPanels,i=0;i<e.length;i++)for(var n=0;n<e[i].length;n++)e[i][n].$panel.remove(); 235this._partialPanel2.$panel.remove()}},{key:"render",value:function t(){for(var e,i=this._partialPanels,n=0;n<i.length;n++)(e=i[n]).$content[0].style.transform="translate3D("+e.currentPos.x+"px, "+e.currentPos.y+"px, 0)";this._partialPanel2.$content[0].style.transform="perspective(100px) translate3d(0, 0, "+this._partialPanel2.moveData.current.z+"px)"}},{key:"_generateMoveVectors",value:function t(){switch(this._direction){case h.a.LEFT:return[new g({start:{x:0,y:0,z:0},end:{x:-1,y:0,z:0}}),new g({start:{x:0, 236y:0,z:0},end:{x:1,y:0,z:0}})];case h.a.TOP:return[new g({start:{x:0,y:0,z:0},end:{x:0,y:-1,z:0}}),new g({start:{x:0,y:0,z:0},end:{x:0,y:1,z:0}})];break;case h.a.BOTTOM:return[new g({start:{x:0,y:-1,z:0},end:{x:0,y:0,z:0}}),new g({start:{x:0,y:1,z:0},end:{x:0,y:0,z:0}})];break;default:return[new g({start:{x:-1,y:0,z:0},end:{x:0,y:0,z:0}}),new g({start:{x:1,y:0,z:0},end:{x:0,y:0,z:0}})];break}}}],[{key:"createPartialPanel",value:function t(e){var i=$('<div style="width: '+e.width+"px;height: "+e.height+ 237"px;left: "+e.x+"px;top: "+e.y+'px;position: absolute;overflow: hidden;"></div>'),n=i.clone();n[0].style.left="0",n[0].style.top="0";var r=e.panel.clone();return r[0].style.left=-e.x+"px",r[0].style.top=-e.y+"px",r[0].style.position="absolute",n.append(r),i.append(n),{$panel:i,$content:n}}}]),i}(c.a)},2871:function(t,e,i){i.d(e,"a",function(){return d});var n=i(0),r=i(1),a=i(18),s=i(3),o=i(4),l=i(2),u=i(1204),c=i(1573);function h(t){var e=p();return function i(){var n=Object(l.a)(t),r;if(e){var a= 238Object(l.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(o.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var d=function(t){Object(s.a)(i,t);var e=h(i);function i(t){var r;switch(Object(n.a)(this,i),(r=e.call(this,t))._direction){case c.a.LEFT:r._startX1= 2390,r._finalX1=-r._panelSize.width,r._startX2=r._panelSize.width,r._finalX2=0,r._startY1=0,r._finalY1=0,r._startY2=0,r._finalY2=0;break;case c.a.TOP:r._startX1=0,r._finalX1=0,r._startX2=0,r._finalX2=0,r._startY1=0,r._finalY1=-r._panelSize.height,r._startY2=r._panelSize.height,r._finalY2=0;break;case c.a.BOTTOM:r._startX1=0,r._finalX1=0,r._startX2=0,r._finalX2=0,r._startY1=0,r._finalY1=r._panelSize.height,r._startY2=-r._panelSize.height,r._finalY2=0;break;default:r._startX1=0,r._finalX1=r._panelSize.width, 240r._startX2=-r._panelSize.width,r._finalX2=0,r._startY1=0,r._finalY1=0,r._startY2=0,r._finalY2=0;break}return r._currX1=r._startX1,r._X1Delta=r._finalX1-r._startX1,r._currY1=r._startY1,r._Y1Delta=r._finalY1-r._startY1,r._currX2=r._startX2,r._X2Delta=r._finalX2-r._startX2,r._currY2=r._startY2,r._Y2Delta=r._finalY2-r._startY2,r}return Object(r.a)(i,[{key:"updateValues",value:function t(){var e=this._easing(this._progress);this._currX1=this._startX1+this._X1Delta*e,this._currX2=this._startX2+this._X2Delta* 241e,this._currY1=this._startY1+this._Y1Delta*e,this._currY2=this._startY2+this._Y2Delta*e}},{key:"setDirection",value:function t(e){Object(a.a)(Object(l.a)(i.prototype),"setDirection",this).call(this,e),this._startX1=-this._startX1,this._finalX1=-this._finalX1,this._startY1=-this._startY1,this._finalY1=-this._finalY1,this._startX2=-this._startX2,this._finalX2=-this._finalX2,this._startY2=-this._startY2,this._finalY2=-this._finalY2,this._X1Delta=this._finalX1-this._startX1,this._X2Delta=this._finalX2- 242this._startX2,this._Y1Delta=this._finalY1-this._startY1,this._Y2Delta=this._finalY2-this._startY2}},{key:"clean",value:function t(){this._panel[0].style.transform="",this._nextPanel[0].style.transform=""}},{key:"render",value:function t(){this._panel[0].style.transform="translate3d("+this._currX1+"px, "+this._currY1+"px, 0px)",this._nextPanel[0].style.transform="translate3d("+this._currX2+"px, "+this._currY2+"px, 0px)"}}]),i}(u.a)}
242,2872:function(t,e,i){i.d(e,"a",function(){return p});var n=i(0),r= 243i(1),a=i(3),s=i(4),o=i(2),l=i(972),u;function c(t){var e=h();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var p=function(t){Object(a.a)(i, 244t);var e=c(i);function i(t){var r;return Object(n.a)(this,i),(r=e.call(this,t))._initialOpacity1=1,r._initialOpacity2=0,r._finalOpacity1=0,r._finalOpacity2=1,r._opacityDelta1=r._finalOpacity1-r._initialOpacity1,r._opacityDelta2=r._finalOpacity2-r._initialOpacity2,r._currentOpacity1=r._initialOpacity1,r._currentOpacity2=r._initialOpacity2,r._direction===l.a.RIGHT?(r._initialRotate1=0,r._initialRotate2=180,r._finalRotate1=180,r._finalRotate2=360):r._direction===l.a.LEFT&&(r._initialRotate1=360,r._initialRotate2= 245180,r._finalRotate1=180,r._finalRotate2=0),r._rotateDelta1=r._finalRotate1-r._initialRotate1,r._rotateDelta2=r._finalRotate2-r._initialRotate2,r._currentRotate1=r._initialRotate1,r._currentRotate2=r._initialRotate2,r}return Object(r.a)(i,[{key:"updateValues",value:function t(){var e=this._easing(this._progress);this._currentOpacity1=this._initialOpacity1+this._opacityDelta1*e,this._currentOpacity2=this._initialOpacity2+this._opacityDelta2*e,this._currentRotate1=this._initialRotate1+this._rotateDelta1* 246e,this._currentRotate2=this._initialRotate2+this._rotateDelta2*e}},{key:"clean",value:function t(){this._panel[0].style.opacity="",this._nextPanel[0].style.opacity="",this._panel[0].style.transform="",this._nextPanel[0].style.transform=""}},{key:"render",value:function t(){this._panel[0].style.opacity=this._currentOpacity1,this._panel[0].style.transform="rotate(".concat(this._currentRotate1,"deg)"),this._nextPanel[0].style.opacity=this._currentOpacity2,this._nextPanel[0].style.transform="rotate(".concat(this._currentRotate2, 247"deg)")}}]),i}(i(1204).a)},2873:function(t,e,i){i.d(e,"a",function(){return g});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l;function u(t){var e=c();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 248[],function(){})),!0}catch(t){return!1}}var h=[[{x:0,y:-1,s:0},{x:0,y:-1,s:.15}],[{x:0,y:-1,s:.3},{x:0,y:-1,s:.45}]],p=[[{x:0,y:1,s:.1},{x:0,y:1,s:.15}],[{x:0,y:1,s:.3},{x:0,y:1,s:.45}]],d=.45,f=16,g=function(t){Object(a.a)(i,t);var e=u(i);function i(t){return Object(n.a)(this,i),e.call(this,t)}return Object(r.a)(i,[{key:"getForwardVector",value:function t(){return p}},{key:"getBackwardVector",value:function t(){return h}},{key:"getMaxDelay",value:function t(){return.45}},{key:"getInitialNextPanelZIndex", 249value:function t(){return 16}}]),i}(i(1972).a)},2874:function(t,e,i){i.d(e,"a",function(){return g});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l;function u(t){var e=c();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 250[],function(){})),!0}catch(t){return!1}}var h=[[{x:0,y:-1,s:0},{x:0,y:-1,s:.15}],[{x:0,y:1,s:.3},{x:0,y:1,s:.45}]],p=[[{x:-1,y:0,s:0},{x:1,y:0,s:.15}],[{x:-1,y:0,s:.3},{x:1,y:0,s:.45}]],d=.45,f=16,g=function(t){Object(a.a)(i,t);var e=u(i);function i(t){return Object(n.a)(this,i),e.call(this,t)}return Object(r.a)(i,[{key:"getForwardVector",value:function t(){return p}},{key:"getBackwardVector",value:function t(){return h}},{key:"getMaxDelay",value:function t(){return.45}},{key:"getInitialNextPanelZIndex", 251value:function t(){return 16}}]),i}(i(1972).a)}
251,2875:function(t,e,i){i.d(e,"a",function(){return g});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l;function u(t){var e=c();return function i(){var n=Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 252[],function(){})),!0}catch(t){return!1}}var h=[[{x:1,y:0,s:0},{x:0,y:1,s:0}],[{x:0,y:-1,s:0},{x:-1,y:0,s:0}]],p=[[{x:0,y:1,s:0},{x:-1,y:0,s:0}],[{x:1,y:0,s:0},{x:0,y:-1,s:0}]],d=0,f=0,g=function(t){Object(a.a)(i,t);var e=u(i);function i(t){return Object(n.a)(this,i),e.call(this,t)}return Object(r.a)(i,[{key:"getForwardVector",value:function t(){return p}},{key:"getBackwardVector",value:function t(){return h}},{key:"getMaxDelay",value:function t(){return 0}},{key:"getInitialNextPanelZIndex",value:function t(){return 0}}]), 253i}(i(1972).a)},2876:function(t,e,i){var n=i(1573),r=i(226),a=i(2312),s=i(2877),o=i(107),l=i(1299),u=i(2048),c=i(2880),h=i(210),p=i(40),d=i(2881);function f(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=g(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,r=function t(){};return{s:r,n:function e(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function t(e){throw e;},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."); 254}var a=!0,s=!1,o;return{s:function e(){i=i.call(t)},n:function t(){var e=i.next();return a=e.done,e},e:function t(e){s=!0,o=e},f:function t(){try{a||null==i.return||i.return()}finally{if(s)throw o;}}}}function g(t,e){if(t){if("string"==typeof t)return m(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?m(t,e):void 0}}function m(t,e){(null== 255e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}!function(){webwave.provide("com.webwave.webgal.GalleryView");var t=com.webwave.ui.swipeable.Swipeable,e=com.webwave.webgal.animation.ChangeAnimationService.getInstance(),i="next",g="prev",m="frame",v,y,_=function t(e){return webwave.isNotDef(e)&&(e={}),this.imageUrl=e.imageUrl,this.thumbnailUrl=webwave.isString(e.thumbnailUrl)?e.thumbnailUrl:this.imageUrl,this.scale={panel:null,frame:null},this.width=e.width,this.height= 256e.height,this.thumbnailWidth=e.thumbnailWidth?e.thumbnailWidth:e.width,this.thumbnailHeight=e.thumbnailHeight?e.thumbnailHeight:e.height,this.link=void 0,webwave.isDef(e.link)&&(this.link={href:e.link.href,target:e.link.target,samepage:e.link.samepage,title:e.link.title}),this.attrs={title:e.title,altText:e.altText,metaTitle:e.metaTitle},this._panelImgRendered=!1,this._panelImgWrapper=void 0,this.imageCropData=e.imageCropData,this};_.prototype.renderPanelImg=function(t){var e=this,i=this._panelImgWrapper, 257n=i.firstElementChild,r=i.parentNode;t.dom.gv_imageStore[0].appendChild(i),n.addEventListener("load",function(){r.classList.remove("gv_panel-loading");var a=O(e);webwave.isDefAndNotNull(a)?(a.appendChild(i),r.appendChild(a)):r.appendChild(i),n.style.visibility="",t.onImageLoaded(e)},{once:!0}),n.setAttribute("src",n.getAttribute("data-src")),this._panelImgRendered=!0},_.prototype.renderFilmstripImg=function(t){},_.prototype.isPanelImgRendered=function(){return this._panelImgRendered};var b={getInt:function t(e){return e= 258parseInt(e,10),isNaN(e)?0:e},innerWidth:function t(e){return this.getInt(e[0].style.width)||0},outerWidth:function t(e){return this.innerWidth(e)+this.extraWidth(e)},extraWidth:function t(e){var i=window.getComputedStyle(e[0]);return this.getInt(i.paddingLeft)+this.getInt(i.paddingRight)+this.getInt(i.borderLeftWidth)+this.getInt(i.borderRightWidth)},innerHeight:function t(e){return this.getInt(e[0].style.height)||0},outerHeight:function t(e){return this.innerHeight(e)+this.extraHeight(e)},extraHeight:function t(e){var i= 259window.getComputedStyle(e[0]);return this.getInt(i.paddingTop)+this.getInt(i.paddingBottom)+this.getInt(i.borderTopWidth)+this.getInt(i.borderBottomWidth)}};com.webwave.webgal.GalleryView=function(t,e){webwave.isNotDef(t)&&(t={}),this._visibleThumbnailsNumber=1,this._isMouseOver=!1,this._navigationVisibilityType=webwave.isValidEnumValue(t.navigationVisibilityType,a.a)?t.navigationVisibilityType:a.a.HOVER,this._slideshowTimeout=void 0,this._slideshowPau
259sed=!1,this._beingDisposed=!1,this._animator= 260null,this._imageLoadedListeners=[],this.init(t,e)};var w=com.webwave.webgal.GalleryView.prototype;w.elems=[".gv_galleryWrap",".gv_gallery",".gv_panelWrap",".gv_panel","img.gv_image",".gv_infobar",".gv_filmstripWrap",".gv_filmstrip",".gv_frame",".gv_thumbnail",".gv_caption","img.gv_thumb",".gv_navWrap",".gv_navNext",".gv_navPrev",".gv_navPlay",".gv_panelNavNext",".gv_panelNavPrev",".gv_overlay",".gv_showOverlay",".gv_imageStore",".gv_overlayHeaderWrapper",".gv_overlayHeader",".gv_controlsWrap"],w.createElem= 261function(t,e){var i;return e=document.createElement(e),$(e).attr(t)},w.getPos=function(t){var e=this,i=this.dom,n=t[0],r=n.id,a=0,s=0,o,l,u;if(!n)return{top:0,left:0};if(n.offsetParent){do a+=n.offsetLeft,s+=n.offsetTop;while(n=n.offsetParent)}return r===this.id?{left:a,top:s}:{left:a-(l=(o=this.getPos(i.galleryWrap)).left),top:s-(u=o.top)}},w.mouseIsOverGallery=function(t,e){var i=this,n=this.dom,r=this.getPos(n.gv_galleryWrap),a=r.top,s=r.left;return t>s&&t<s+b.outerWidth(n.gv_galleryWrap)&&e>a&& 262e<a+b.outerHeight(n.gv_galleryWrap)},w.mouseIsOverPanel=function(t,e){var i=this,n=this.dom,r=this.getPos(n.gv_panelWrap),a=this.getPos(n.gv_galleryWrap),s=r.top+a.top,o=r.left+a.left;return t>o&&t<o+b.outerWidth(n.gv_panelWrap)&&e>s&&e<s+b.outerHeight(n.gv_panelWrap)},w.storeImages=function(){var t=this;if(this.gvImages=[],webwave.isArrayLike(this.opts.images))for(var e=this.opts.images,i=0;i<e.length;i++)this.gvImages.push(new _(e[i]));this.numImages=this.gvImages.length},w._renderFilmstripImage= 263function(t){var e=this.opts.frame_width/t.thumbnailWidth,i=this.opts.frame_height/t.thumbnailHeight,n=this.opts.frame_scale===r.a.CONTAIN?Math.min(e,i):Math.max(e,i),a=Math.round(t.thumbnailWidth*n),s=Math.round(t.thumbnailHeight*n),l=Math.round((this.opts.frame_width-a)/2),u=Math.round((this.opts.frame_height-s)/2),c="bullet",h=Object(d.b)({width:a,height:s,heightOffset:u,widthOffset:l,thumbnailUrl:t.thumbnailUrl,altText:c});return o.a.htmlToElements(h)[0]},w._countImageScaleData=function(t){var e= 264t.imageCropData;webwave.isNotDefOrNull(e)&&(e=l.a.createDefaultWithCropType(t.cropType));var i=u.a.calculateSizeAndOffsetForCropping({elemSize:new p.a({width:t.newWidth,height:t.newHeight}),imageSize:new p.a({width:t.width,height:t.height}),imageCropData:e});return{width:i.getSize().getWidth(),height:i.getSize().getHeight(),heightOffset:i.getOffset().getY(),widthOffset:i.getOffset().getX()}},w.renderImageWrapper=function(t){var e=this._countImageScaleData({width:t.width,height:t.height,newWidth:this.opts.panel_width, 265newHeight:this.opts.panel_height,cropType:this.opts.panel_scale,imageCropData:t.imageCropData}),i=Object(d.c)({width:e.width,height:e.height,heightOffset:e.heightOffset,widthOffset:e.widthOffset,imageUrl:t.imageUrl,metaTitle:t.attrs.metaTitle,altText:t.attrs.altText}),n=o.a.htmlToElements(i)[0];return t._panelImgWrapper=n,n},w.setDimensions=function(){var t=this,e=this.dom,i={prev:b.innerWidth(e.gv_navPrev),play:b.innerWidth(e.gv_navPlay),next:b.innerWidth(e.gv_navNext),filmstrip:this.opts.frame_width, 266fsMax:0,fsFull:0},n={prev:b.innerHeight(e.gv_navPrev),play:b.innerHeight(e.gv_navPlay),next:b.innerHeight(e.gv_navNext),filmstrip:this.opts.frame_height+(this.opts.show_captions?b.outerHeight(e.gv_caption):0),fsMax:0,fsFull:0},r=[];"horizontal"===this.filmstripOrientation?e.gv_navWrap.css({width:i.prev+i.play+i.next,height:Math.max(n.prev,n.play,n.next)}):"scroll"===this.opts.filmstrip_style&&this.opts.frame_width<i.prev+i.play+i.next?e.gv_navWrap.css({width:Math.max(i.prev,i.play,i.next),height:n.prev+ 267n.play+n.next}):e.gv_navWrap.css({width:i.prev+i.play+i.next,height:Math.max(n.prev,n.play,n.next)}),"vertical"===this.filmstripOrientation&&i.filmstrip<i.prev+i.play+i.next?e.gv_navWrap.css({width:Math.max(i.prev,i.play,i.next),height:n.prev+n.play+n.next}):e.gv_navWrap.css({width:i.prev+i.play+i.next,height:Math.max(n.prev,n.play,n.next)}),!1===this.opts.show_filmstrip_nav&&e.gv_navWrap.css({width:0,height:0}),e.gv_panel.css({width:this.opts.panel_width,height:this.opts.panel_height}),e.gv_panelWrap.css({width:b.outerWidth(e.gv_panel), 268height:b.outerHeight(e.gv_panel)});for(var a=0;a<this.gvImages.length;a++){var s=e.gv_panel[0].cloneNode(!0);if(!0===this.opts.show_panels){var o=this.renderImageWrapper(this.gvImages[a]);s.appendChild(o)}e.gv_panelWrap[0].appendChild(s)}if(e.gv_panels=e.gv_panelWrap.find(".gv_panel"),e.gv_panels.detach(),e.gv_thumbnail.css({width:this.opts.frame_width,height:this.opts.frame_height}),e.gv_frame.css({width:b.outerWidth(e.gv_thumbnail),height:b.outerHeight(e.gv_thumbnail)+(this.opts.show_captions?b.outerHeight(e.gv_caption): 2690),marginRight:this.opts.frame_gap,marginBottom:this.opts.frame_gap}),this._updateThumbnailsPanelWidth(),this._updateGallerySize(),!0===this.opts.show_panels){var l=e.gv_panels.eq(this.opts.start_frame-1);l.removeClass("gv_panel-loading"),e.gv_panelWrap.append(l),this.markCurrentPanel(l),"function"==typeof this.opts.onImageChanged&&this.opts.onImageChanged(l)}},w.setPositions=function(){var t=this,e=this.dom,i=0,n=0,r=0,a=0,s,o;switch("horizontal"===this.filmstripOrientation?(s=Math.round((b.outerHeight(e.gv_filmstripWrap)- 270b.outerHeight(e.gv_navWrap))/2))<0?n=-1*s:i=s:(o=Math.round((b.outerWidth(e.gv_filmstripWrap)-b.outerWidth(e.gv_navWrap))/2))<0?a=-1*o:r=o,this.opts.show_filmstrip_nav||"horizontal"!==this.filmstripOrientation||(a=Math.floor((b.outerWidth(e.gv_panelWrap)-b.outerWidth(e.gv_filmstripWrap))/2)),!0===this.opts.filmstrip_on_image&&("horizontal"===this.filmstripOrientation?(n+=this.opts.filmstripEdgeDistance,i+=this.opts.filmstripEdgeDistance):(n+=this.opts.filmstripEdgeDistance,a+=this.opts.filmstripEdgeDistance, 271r+=this.opts.filmstripEdgeDistance)),this.opts.filmstrip_position){case "top":e.gv_navWrap.css({top:i,right:r}),e.gv_panelWrap.css({bottom:0,left:0}),e.gv_filmstripWrap.css({top:n,left:a});break;case "right":e.gv_navWrap.css({bottom:i,right:r}),e.gv_panelWrap.css({top:0,left:0}),e.gv_filmstripWrap.css({top:n,right:a});break;
271case "left":e.gv_navWrap.css({bottom:i,left:r}),e.gv_panelWrap.css({top:0,right:0}),e.gv_filmstripWrap.css({top:n,left:a});break;default:e.gv_navWrap.css({bottom:i,right:r}),e.gv_panelWrap.css({top:0, 272left:0}),e.gv_filmstripWrap.css({bottom:n,left:a});break}"top"===this.opts.overlay_position?(e.gv_overlay.css({top:0,left:0}),e.gv_showOverlay.css({top:0,left:0})):(e.gv_overlay.css({bottom:0,left:0}),e.gv_showOverlay.css({bottom:0,left:0})),this.opts.show_filmstrip_nav||e.gv_navWrap.remove()},w.buildFilmstrip=function(){var t=this,e=this.dom,i=this.gvImages.length*(("horizontal"===this.filmstripOrientation?this.opts.frame_width:this.opts.frame_height)+this.opts.frame_gap),n;e.gv_frame.append(e.gv_thumbnail), 273this.opts.show_captions&&e.gv_frame.append(e.gv_caption),e.gv_thumbnail[0].style.opacity=this.opts.frame_opacity,e.gv_thumbnail.on({mouseover:function t(){$(this).hasClass("current")||$(this).stop().animate({opacity:1},250)},mouseout:function e(){$(this).hasClass("current")||$(this).stop().animate({opacity:t.opts.frame_opacity},250)}});for(var r=0;r<this.gvImages.length;r++){var a=e.gv_frame.clone(!0);!0===t.opts.show_panels&&a.find(".gv_thumbnail")[0].appendChild(this._renderFilmstripImage(this.gvImages[r])), 274e.gv_filmstrip.append(a)}var s=e.gv_filmstrip[0];if(s.style.width="".concat(b.outerWidth(e.gv_frame),"px"),s.style.height="".concat(b.outerHeight(e.gv_frame),"px"),"scroll"===this.opts.filmstrip_style)"horizontal"===this.filmstripOrientation?i>b.innerWidth(e.gv_filmstripWrap)?(e.gv_filmstrip.find(".gv_frame").clone(!0).appendTo(e.gv_filmstrip).clone(!0).appendTo(e.gv_filmstrip),e.gv_filmstrip.css("width",3*i),this.scrolling=!0):e.gv_filmstrip.css("width",i):i>b.innerHeight(e.gv_filmstripWrap)?(e.gv_filmstrip.find(".gv_frame").clone(!0).appendTo(e.gv_filmstrip).clone(!0).appendTo(e.gv_filmstrip), 275e.gv_filmstrip.css("height",3*i),this.scrolling=!0):e.gv_filmstrip.css("height",i);else{var o=e.gv_filmstripWrap[0],l=parseInt(o.style.width,10)+this.opts.frame_gap,u=parseInt(o.style.height,10)+this.opts.frame_gap;s.style.height="".concat(u,"px"),s.style.width="".concat(l,"px")}e.gv_frames=Array.from(s.querySelectorAll(".gv_frame"));for(var c=0;c<e.gv_frames.length;c++)e.gv_frames[c].setAttribute("frameIndex",c);e.gv_thumbnails=e.gv_filmstrip.find("div.gv_thumbnail")},w.buildGallery=function(){var t= 276this,e=this.dom;this.setDimensions(),this.setPositions(),this.opts.show_filmstrip&&(this.buildFilmstrip(),this._setFirstThumbnailAsCurrent()),this._updateMouseOverInterfaceVisibility()},w.showInfoBar=function(){if(this.opts.show_infobar){var t=this,e=this.dom;e.gv_infobar.stop().stopTime("hideInfoBar_"+this.id).html(this.iterator+1+" / "+this.numImages).show().css("opacity",this.opts.infobar_opacity),e.gv_infobar.oneTime(2E3+this.opts.transition_speed,"hideInfoBar_"+this.id,function(){e.gv_infobar.fadeOut(1E3)})}}, 277w._getGvImageByIndex=function(t){var e=this.gvImages.length,i=t%e;return i<0?this.gvImages[e+i]:this.gvImages[i]},w.renderVisiblePanelImages=function(){for(var t,e=this.iterator,i=-2;i<=this._visibleThumbnailsNumber;i++)t=this._getGvImageByIndex(e+i),webwave.isDef(t)&&!1===t.isPanelImgRendered()&&t.renderPanelImg(this)},w.onImageLoaded=function(t){if(webwave.isDefAndNotNull(t)){var e=this.gvImages.indexOf(t);this._imageLoadedListeners.forEach(function(t){t(e)})}},w.renderVisibleFilmstripImages=function(){var t= 278this.frameIterator,e=this._visibleThumbnailsNumber,i,n=f(this.dom.gv_frames.slice(Math.max(t-1,0),Math.min(t+2*e,this.dom.gv_frames.length))),r;try{var a=function t(){var e,i=r.value.querySelector("img");if(webwave.isDefAndNotNull(i)){var n=i.getAttribute("data-src");webwave.isStringAndNotEmpty(n)&&(i.addEventListener("load",function(){i.style.visibility=""}),i.setAttribute("src",n),i.removeAttribute("data-src"))}};for(n.s();!(r=n.n()).done;)a()}catch(t){n.e(t)}finally{n.f()}},w.renderVisibleImages= 279function(){!0===this.opts.show_panels&&this.renderVisiblePanelImages(),!0===this.opts.show_filmstrip&&this.renderVisibleFilmstripImages()},w.initImages=function(){this.renderVisibleImages()},w.showNext=function(t){this.numImages<2||(this.navAction=i,this.showItem(this.frameIterator+1,t))},w.showPrev=function(t){this.numImages<2||(this.navAction=g,this.showItem(this.frameIterator-1,t))},w.getNextPanel=function(){return this.iterator<this.numImages-1?this.dom.gv_panels.eq(this.iterator+1):!0===this.opts.loop? 280this.dom.gv_panels.eq(0):$()},w.getPrevPanel=function(){return this.iterator>0?this.dom.gv_panels.eq(this.iterator-1):!0===this.opts.loop?this.dom.gv_panels.eq(this.numImages-1):$()},w.getPanelByIndex=function(t){return this.dom.gvPanels.eq(this.normalizeIndex(t))},w.normalizeIndex=function(t){var e=t%this.numImages;return e<0&&(e=this.numImages-Math.abs(e)),e},w.getCurrentPanel=function(){return this.dom.gv_panels.eq(this.iterator)},w.changeCropTypeForCurrentImage=function(t){var e=this._getGvImageByIndex(this.iterator), 281i;e.imageCropData=t,this.getCurrentPanel().html(this.renderImageWrapper(e)),e.renderPanelImg(this)},w.changeAnimation=function(t){this.opts.panel_animation=t},w.disabledFilmstripEvents=function(){this._setFilmstripEventsDisableFlag(!0)},w.enabledFilmstripEvents=function(){this._setFilmstripEventsDisableFlag(!1)},w.showItem=function(t,r){var a=this;if(!1!==webwave.isNumberAndNotNaN(t)){var s=this.normalizeIndex(t);if(1!=this.numImages&&this.iterator!==s){var o=this,l=this.dom;this.navAction===m&&(t> 282this.iterator?this.navAction=i:this.navAction=g);var u=this.getCurrentPanel(),c=l.gv_panels.eq(s);if(this.stopSlideshow(),this.unbindActions(),1!=r){this.currentAnimation&&this.currentAnimation.stop(!0);var h=this.navAction===i?n.a.LEFT:n.a.RIGHT;this.dom.gv_panelWrap.append(c);var d={direction:h,panel:u,nextPanel:c,panelWrap:this.dom.gv_panelWrap,panelParent:this.dom.gv_panelWrap,panelSize:new p.a({width:this.opts.panel_width,height:this.opts.panel_height}),duration:this.opts.transition_speed,onComplete:function t(){f.clean(), 283a.currentAnimation=void 0,u.detach(),l.gv_panelWrap.append(c),a.renderVisiblePanelImages(),a.markCurrentPanel(c),a.bindActions(),a.updateSlideshowState(),webwave.isFunction(a.opts.onImageChanged)&&a.opts.onImageChanged(c)}},f=e.createAnimationByName(this.opts.panel_animation,d);this.currentAnimation=f,this.getAnimator().registerAnimation(f)}else u.detach(),l.gv_panelWrap.append(c),this.renderVisiblePanelImages(),this.markCurrentPanel(c),this.bindActions(),this.updateSlideshowState(),"function"==typeof this.opts.onImageChanged&& 284this.opts.onImageChanged(c);this.updateOverlay(s);var v=this.iterator;this.iterator=s,!0===r&&this.renderVisiblePanelImages(),this.updateFilmstrip(t,r),this.showInfoBar(),"function"==typeof this.opts.onImageChange&&this.opts.onImageChange(s,v)}}},w.markCurrentPanel=function(t){this.dom.gv_panels.removeClass("currentPanel"),t.addClass("currentPanel")}
284,w.updateOverlay=function(t,e,i){if(webwave.isNotDef(i)&&(i={}),!0!==this._beingDisposed&&0!==this.gvImages.length){var n=this.dom,r=this,a=this.gvImages[t], 285s=a.attrs.title;webwave.isNotDef(s)&&(s="");var o=O(a);n.gv_overlay.detach(),n.gv_panelWrap.children("a").remove(),webwave.isDefAndNotNull(o)?(o.appendChild(n.gv_overlay[0]),n.gv_panelWrap[0].appendChild(o)):n.gv_panelWrap.append(n.gv_overlay),this.overlayVisible&&!0!==e?this.hideOverlay(null,function(){n.gv_overlayHeader.html(s),r.showOverlay(),!1===r._beingDisposed&&!0!==i.noExternalCallback&&webwave.isFunction(r.opts.onOverlayChange)&&r.opts.onOverlayChange(n)}):(n.gv_overlayHeader.html(s),!1=== 286r._beingDisposed&&!0!==i.noExternalCallback&&webwave.isFunction(r.opts.onOverlayChange)&&r.opts.onOverlayChange(n))}},w.hideOverlay=function(t,e){var i=this,n=this.dom,r={},a=t||this.opts.transition_speed;e=e||function(){},r.opacity=0,n.gv_overlay.animate(r,{duration:a,easing:"swing",complete:e}),this.overlayVisible=!1},w.showOverlay=function(t){var e=this,i=this.dom,n={opacity:1};n.opacity="",i.gv_overlay.css(n),!0===this.opts.enable_overlays&&("bottom"===this.opts.overlay_position?(i.gv_overlay.removeClass("onTop"), 287i.gv_overlay.addClass("onBottom")):(i.gv_overlay.addClass("onTop"),i.gv_overlay.removeClass("onBottom"))),this.overlayVisible=!0},w.updateFilmstrip=function(t,e){if(this.opts.show_filmstrip){var i=this,n=this.dom,r=n.gv_thumbnails.eq(this.iterator),a,s;this.scrolling&&(r=r.add(n.gv_thumbnails.eq(this.iterator+this.numImages)).add(n.gv_thumbnails.eq(this.iterator+2*this.numImages))),n.gv_thumbnails.removeClass("current").stop(!0,!0).animate({opacity:this.opts.frame_opacity}),r.stop().addClass("current").stop(!0, 288!0).animate({opacity:1},500),this.scrolling?"horizontal"===this.filmstripOrientation?(s=(s=(b.outerWidth(n.gv_frame)+this.opts.frame_gap)*(this.frameIterator-t))>0?"+="+Math.abs(s):"-="+Math.abs(s),i.frameIterator=t%i.numImages+i.numImages,n.gv_filmstrip.stop(!0,!0).animate({left:s},{duration:this.opts.transition_speed,easing:this.opts.easing,complete:function e(){t<i.numImages?n.gv_filmstrip.css("left",b.getInt(n.gv_filmstrip.css("left"))-i.numImages*(b.outerWidth(n.gv_frame)+i.opts.frame_gap)): 289t>=2*i.numImages&&n.gv_filmstrip.css("left",b.getInt(n.gv_filmstrip.css("left"))+i.numImages*(b.outerWidth(n.gv_frame)+i.opts.frame_gap)),i.renderVisibleFilmstripImages()}})):(s=(s=(b.outerHeight(n.gv_frame)+this.opts.frame_gap)*(this.frameIterator-t))>0?"+="+Math.abs(s):"-="+Math.abs(s),0===t?i.frameIterator=i.numImages:t>3*i.numImages-2*i.filmstripSize?i.frameIterator=t-i.numImages:i.frameIterator=t,n.gv_filmstrip.stop(!0,!0).animate({top:s},{duration:this.opts.transition_speed,easing:this.opts.easing, 290complete:function e(){0===t?n.gv_filmstrip.css("top",b.getInt(n.gv_filmstrip.css("top"))-i.numImages*(b.outerHeight(n.gv_frame)+i.opts.frame_gap)):t>3*i.numImages-2*i.filmstripSize&&n.gv_filmstrip.css("top",b.getInt(n.gv_filmstrip.css("top"))+i.numImages*(b.outerHeight(n.gv_frame)+i.opts.frame_gap)),i.renderVisibleFilmstripImages()}})):this.frameIterator=t}else this.frameIterator=t},w.startSlideshow=function(){var t=this;!0!==this._beingDisposed&&this.opts.enable_slideshow&&(clearInterval(this._slideshowTimeout), 291this._slideshowTimeout=setInterval(function(){!1===document.hidden&&t.showNext()},this.opts.transition_interval))},w.stopSlideshow=function(){clearInterval(this._slideshowTimeout)},w.updateSlideshowState=function(){!1===this._slideshowPaused&&!0===this.opts.autoplay?(!1===this._slideshowPaused&&this.stopAnimationImmediately(),this.startSlideshow()):this.stopSlideshow()},w.setSlideshowPause=function(t){var e=this._slideshowPaused!==t;this._slideshowPaused=!0===t,e&&this.updateSlideshowState()},w.setAutoPlay= 292function(t){var e=this.opts.autoplay!==t;this.opts.autoplay=!0===t,e&&this.updateSlideshowState()},w.enablePanning=function(){var t=this,e=this.dom;t.opts.enable_slideshow&&(e.gv_panel.css("cursor","url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur), n-resize"),"drag"===this.opts.pan_style&&e.gv_panelWrap.on("mousedown.galleryview",".gv_panel img",function(e){t.isMouseDown=!0,$(this).css("cursor","url(http://www.google.com/intl/en_ALL/mapfiles/closedhand.cur), n-resize")}).on("mouseup.galleryview", 293".gv_panel img",function(e){t.isMouseDown=!1,$(this).css("cursor","url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur), n-resize")}).on("mousemove.galleryview",".gv_panel img",function(i){var n,r,a=$(this),s,o;t.isMouseDown?(n=i.pageY-t.mouse.y,r=i.pageX-t.mouse.x,s=b.getInt(a.css("top"))+n,o=b.getInt(a.css("left"))+r,a.css("cursor","url(http://www.google.com/intl/en_ALL/mapfiles/closedhand.cur), n-resize"),s>0&&(s=0),o>
2930&&(o=0),s<-1*(b.outerHeight(a)-b.innerHeight(e.gv_panel))&&(s=-1*(b.outerHeight(a)- 294b.innerHeight(e.gv_panel))),o<-1*(b.outerWidth(a)-b.innerWidth(e.gv_panel))&&(o=-1*(b.outerWidth(a)-b.innerWidth(e.gv_panel))),a.css("top",s),a.css("left",o)):a.css("cursor","url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur), n-resize")}))},w.setNavigationVisibilityType=function(t){webwave.isValidEnumValue(t,a.a)&&(this._navigationVisibilityType=t,this._updateMouseOverInterfaceVisibility())},w._updateMouseOverInterfaceVisibility=function(){this._navigationVisibilityType===a.a.VISIBLE|| 295!0===this._isMouseOver?(this.showPanelNav(),!0===this.opts.showFilmstripOnHover&&this.showFilmstrip()):(this.hidePanelNav(),!0===this.opts.showFilmstripOnHover&&this.hideFilmstrip())},w.mouseOverHandler=function(){this._isMouseOver=!0,this._updateMouseOverInterfaceVisibility()},w.mouseOutHandler=function(){this._isMouseOver=!1,this._updateMouseOverInterfaceVisibility()},w.bindActions=function(){var t=this,e=this.dom;e.gv_showOverlay.off("click.galleryview").on("click.galleryview",function(){t.overlayVisible? 296t.hideOverlay(250):t.showOverlay(250)}),e.gv_navWrap.off("click.galleryview").on("click.galleryview","div",function(){var e=$
296(this);return e.hasClass("gv_navNext")?t.showNext():e.hasClass("gv_navPrev")?t.showPrev():e.hasClass("gv_navPlay")?t.startSlideshow(!0):e.hasClass("gv_navPause")&&t.stopSlideshow(!0),!1}),e.gv_panelNavNext.off("click.galleryview").on("click.galleryview",function(){return t.showNext(),!1}),e.gv_panelNavPrev.off("click.galleryview").on("click.galleryview",function(){return t.showPrev(), 297!1}),e.gv_filmstripWrap.off("click.galleryview").on("click.galleryview",".gv_frame",function(){var e=$(this),i=webwave.parseNumber(e.attr("frameIndex"));return t.navAction=m,t.showItem(i),!1}),e.gv_galleryWrap.off("mouseover.galleryview").on("mouseover.galleryview",this.mouseOverHandler.bind(this)),e.gv_galleryWrap.off("mouseout.galleryview").on("mouseout.galleryview",this.mouseOutHandler.bind(this)),this._updateSwipeableEvents()},w._updateSwipeableEvents=function(){!0!==this.opts.swipeEventsDisabled? 298this.swipeable||(this.swipeable=new t(this.dom.gv_panelWrap[0],{delegatedElements:"img",onStart:this.onSwipeStart.bind(this),onSwipe:this.onSwipe.bind(this),onStop:this.onSwipeStop.bind(this)})):this.swipeable&&(this.swipeable.dispose(),this.swipeable=void 0)},w.setSwipeEventsDisabled=function(t){this.opts.swipeEventsDisabled=!0===t,this._updateSwipeableEvents()},w.onSwipeStart=function(t,i){if(!(this.numImages<=1)){var r=this;webwave.isDef(this.currentAnimation)&&this.currentAnimation.stop(!0),webwave.isDefAndNotNull(this._swippingData)&& 299this.getAnimator().unregisterAnimation(this._swippingData.manualAnimation),this.stopSlideshow();var a=i.direction===h.a.LEFT?this.getNextPanel():this.getPrevPanel(),s=i.direction===h.a.LEFT?n.a.LEFT:n.a.RIGHT,o="slide"===this.opts.panel_animation?"linear":"swing",l={direction:s,panel:this.getCurrentPanel(),nextPanel:a,panelWrap:this.dom.gv_panelWrap,panelParent:this.dom.gv_panelWrap,panelSize:new p.a({width:this.opts.panel_width,height:this.opts.panel_height}),galleryView:this,easing:o};this.dom.gv_panelWrap.append(l.nextPanel); 300var u=e.createAnimationByName(this.opts.panel_animation,l);this.currentAnimation=u;var d=new c.a({animation:u});this.getAnimator().registerAnimation(d),this._swippingData={animation:u,manualAnimation:d,startTime:t.timeStamp}}},w.onSwipe=function(t,e){if(!(this.numImages<=1)){var i=e.direction===h.a.LEFT?n.a.LEFT:n.a.RIGHT,r=this._swippingData.animation,a;if(r._direction!==i){r.setDirection(i);var s=r.getNextPanel(),o=i===n.a.LEFT?this.getNextPanel():this.getPrevPanel();r.clean(),s.detach(),this.dom.gv_panelWrap.append(o), 301r.setNextPanel(o),r._initDomObjects&&r._initDomObjects()}this._swippingData.manualAnimation.setProgress(Math.abs(e.swipe.x/this.opts.panel_width))}},w.onSwipeStop=function(t,e){if(!(this.numImages<=1)){var i=this,n=t.timeStamp-this._swippingData.startTime,r="current",a=e.swipe.x,s;(n<i.opts.maxFastDragTimeSpan&&0!==a||Math.abs(a)>i.opts.panel_width/3)&&(r=a>0?"previous":"next");var o=this._swippingData.manualAnimation;switch(r){case "current":s=o.createRevertAnimation(function(){s._animation._nextPanel.detach(), 302i.updateSlideshowState()});break;case "next":i.getNextPanel().length>0&&(s=o.createFinishAnimation(function(){s._animation._panel.detach(),i.showNext(!0),i.currentAnimation=void 0}));break;case "previous":s=i.getPrevPanel().length>0?o.createFinishAnimation(function(){s._animation._panel.detach(),i.showPrev(!0),i.currentAnimation=void 0}):o.createRevertAnimation();break}this.getAnimator().unregisterAnimation(o),this.currentAnimation=s,this.getAnimator().registerAnimation(s),this._swippingData=null}}, 303w.unbindActions=function(){var t=this,e=this.dom;e.gv_showOverlay.off("click.galleryview"),e.gv_panelNavNext.off("click.galleryview"),e.gv_panelNavPrev.off("click.galleryview"),e.gv_navWrap.off("click.galleryview","div"),e.gv_filmstripWrap.off("click.galleryview",".gv_frame")},w.showPanelNav=function(){var t=this,e=this.dom;e.gv_panelNavNext.show(),e.gv_panelNavPrev.show()},w.hidePanelNav=function(){var t=this,e=this.dom;e.gv_panelNavNext.hide(),e.gv_panelNavPrev.hide()},w.showFilmstrip=function(){this.dom.gv_filmstripWrap.show()}, 304w.hideFilmstrip=function(){this.dom.gv_filmstripWrap.hide()},w.resize=function(t){this.opts=$.extend({},N,t),this._updateGallerySize(),this._updateGalleryImageSize(),this._updateThumbnailsPanelWidth(),this.setPositions()},w.init=function(t,e){var i=this,n=this.dom={};this.opts=$.extend({},N,t),this.el=e,this.$el=$(e),this.id=e.id,this.iterator=this.frameIterator=this.opts.start_frame-1,this.overlayVisible=!1,this.playing=!1,this.scrolling=!1,this.isMouseDown=!1,this.mouse={x:0,y:0},this.filmstripOrientation= 305"top"===this.opts.filmstrip_position||"bottom"===this.opts.filmstrip_position?"horizontal":"vertical",$(document).on("mousemove.galleryview",function(t){i.mouse={x:t.pageX,y:t.pageY}}),$.each(this.elems,function(t,e){var r=e.split(".");""===r[0]&&(r[0]="div"),n[r[1]]=i.createElem({class:r[1]},r[0])}),n.gv_imageStore.appendTo($("body")),n.gv_galleryWrap.on("mousedown.galleryview","img",function(t){t.preventDefault&&t.preventDefault()}),n.gv_panel.addClass("gv_panel-loading"),n.gv_frame.addClass("gv_frame-loading"), 306n.gv_galleryWrap.hide().append(n.gv_gallery),this.opts.show_panels&&(n.gv_gallery.append(n.gv_panelWrap),this.opts.show_panel_nav&&(n.gv_panelWrap.append(n.gv_panelNavNext,n.gv_panelNavPrev),n.gv_panelNavNext.css("right",this.opts.nextButtonDistance),n.gv_panelNavPrev.css("left",this.opts.prevButtonDistance)),this.opts.show_infobar&&n.gv_panelWrap.append(n.gv_infobar)),n.gv_gallery.append(n.gv_controlsWrap),this.opts.show_filmstrip&&(n.gv_gallery.append(n.gv_filmstripWrap.append(n.gv_filmstrip)), 307this.opts.show_filmstrip_nav&&n.gv_gallery.append(n.gv_navWrap.append(n.gv_navPrev,this.opts.enable_slideshow?n.gv_navPlay:$("<span></span>"),n.gv_navNext)),!0===this.opts.showFilmstripOnHover&&this.hideFilmstrip()),this.opts.enable_overlays&&(n.gv_panelWrap.append(n.gv_overlay,n.gv_showOverlay),n.gv_overlay.append(n.gv_overlayHeaderWrapper),n.gv_overlayHeaderWrapper.addClass("innerElement ww_inner_element"),n.gv_overlayHeaderWrapper.append(n.gv_overlayHeader),n.gv_overlayHeader.addClass("innerElementContent ww_inner_element_c
307ontent"), 308this.opts.header_text_style_id&&n.gv_overlayHeader.addClass(this.opts.header_text_style_id)),this.opts.show_captions&&n.gv_frame.append(n.gv_caption).appendTo(n.gv_gallery),this.$el.replaceWith(n.gv_galleryWrap),this.opts.pan_images&&this.enablePanning(),this.storeImages(),this.buildGallery(),this.initImages(),this.bindActions(),n.gv_frame.remove(),n.gv_galleryWrap[0].style.display="block",this.opts.autoplay&&this.updateSlideshowState(),this.updateOverlay(this.iterator,!1,{noExternalCallback:!0}), 309this.opts.enable_overlays&&i.showOverlay(250)},w.dispose=function(){this._beingDisposed=!0,this.stopAnimationImmediately(),this.stopSlideshow(),webwave.isDef(this.swipeable)&&this.swipeable.dispose(),this.$el.remove(),this.dom.gv_galleryWrap.remove(),this.dom.gv_imageStore.remove()},w.stopAnimationImmediately=function(){this.currentAnimation&&(this.getAnimator().unregisterAnimation(this.currentAnimation),this.currentAnimation.stop(),this.currentAnimation=void 0)},w.setAnimator=function(t){this._animator= 310t},w.addImageLoadedListener=function(t){this._imageLoadedListeners.push(t)},w.getAnimator=function(){return this._animator},w._setFirstThumbnailAsCurrent=function(){var t=this.dom.gv_thumbnails.eq(this.iterator)[0];webwave.isDefAndNotNull(t)&&(t.classList.add(s.a.CURRENT_THUMBNAIL_CLASS_NAME),t.style.opacity=1)},w._setFilmstripEventsDisableFlag=function(t){this.opts.filmstripEventsDisabled=t,this.dom.gv_filmstrip.toggleClass("events-disabled",t)},w._updateGalleryImageSize=function(){for(var t=this.dom, 311e=0;e<t.gv_panels.length;e++){var i=this.gvImages[e],n=this._countImageScaleData({width:i.width,height:i.height,newWidth:this.opts.panel_width,newHeight:this.opts.panel_height,cropType:this.opts.panel_scale,imageCropData:i.imageCropData}),r={width:n.width+"px",height:n.height+"px",top:n.heightOffset+"px",left:n.widthOffset+"px"};$(t.gv_panels[e]).css({width:this.opts.panel_width,height:this.opts.panel_height}),$(t.gv_panels[e]).find(".gv_imgWrapper").css(r)}},w._updateGallerySize=function(){var t= 312this.dom.gv_panelWrap[0],e,i;t.style.width="".concat(this.opts.panel_width,"px"),t.style.height="".concat(this.opts.panel_height,"px"),this.opts.show_filmstrip?this.opts.filmstrip_on_image?(e=b.outerWidth(this.dom.gv_panelWrap),i=b.outerHeight(this.dom.gv_panelWrap)):"horizontal"===this.filmstripOrientation?(e=b.outerWidth(this.dom.gv_panelWrap),i=b.outerHeight(this.dom.gv_panelWrap)+this.opts.frame_gap+(this.opts.show_filmstrip?Math.max(b.outerHeight(this.dom.gv_filmstripWrap),b.outerHeight(this.dom.gv_navWrap)): 313b.outerHeight(this.dom.gv_filmstripWrap))):(e=b.outerWidth(this.dom.gv_panelWrap)+this.opts.frame_gap+(this.opts.show_filmstrip?Math.max(b.outerWidth(this.dom.gv_filmstripWrap),b.outerWidth(this.dom.gv_navWrap)):b.outerWidth(this.dom.gv_filmstripWrap)),i=b.outerHeight(this.dom.gv_panelWrap)):(e=b.outerWidth(this.dom.gv_panelWrap),i=b.outerHeight(this.dom.gv_panelWrap));var n=this.dom.gv_gallery[0];n.style.width="".concat(e,"px"),n.style.height="".concat(i,"px");var r=this.dom.gv_galleryWrap[0];r.style.width= 314"".concat(b.outerWidth(this.dom.gv_gallery),"px"),r.style.height="".concat(b.outerHeight(this.dom.gv_gallery),"px")},w._updateThumbnailsPanelWidth=function(){var t=this.dom,e={prev:b.innerWidth(t.gv_navPrev),play:b.innerWidth(t.gv_navPlay),next:b.innerWidth(t.gv_navNext),filmstrip:this.opts.frame_width,fsMax:0,fsFull:0},i={prev:b.innerHeight(t.gv_navPrev),play:b.innerHeight(t.gv_navPlay),next:b.innerHeight(t.gv_navNext),filmstrip:this.opts.frame_height+(this.opts.show_captions?b.outerHeight(t.gv_caption): 3150),fsMax:0,fsFull:0};"horizontal"===this.filmstripOrientation?(this.filmstripSize=Math.floor((b.outerWidth(t.gv_panelWrap)-b.outerWidth(t.gv_navWrap))/(b.outerWidth(t.gv_frame)+this.opts.frame_gap)),e.fsMax=this.filmstripSize*(b.outerWidth(t.gv_frame)+this.opts.frame_gap),e.fsFull=this.gvImages.length*(b.outerWidth(t.gv_frame)+this.opts.frame_gap),e.filmstrip=Math.min(e.fsMax,e.fsFull),"scroll"!==this.opts.filmstrip_style&&(i.filmstrip=Math.ceil(this.gvImages.length/this.filmstripSize)*(b.outerHeight(t.gv_frame)+ 316this.opts.frame_gap)-this.opts.frame_gap)):(this.filmstripSize=Math.floor((b.outerHeight(t.gv_panelWrap)-b.outerHeight(t.gv_navWrap))/(b.outerHeight(t.gv_frame)+this.opts.frame_gap)),i.fsMax=this.filmstripSize*(b.outerHeight(t.gv_frame)+this.opts.frame_gap),i.fsFull=this.gvImages.length*(b.outerHeight(t.gv_frame)+this.opts.frame_gap),i.filmstrip=Math.min(i.fsMax,i.fsFull),"scroll"!==this.opts.filmstrip_style&&(e.filmstrip=Math.ceil(this.gvImages.length/this.filmstripSize)*(b.outerWidth(t.gv_frame)+ 317this.opts.frame_gap)-this.opts.frame_gap));var n=t.gv_filmstripWrap[0];n.style.width="".concat(e.filmstrip,"px"),n.style.height="".concat(i.filmstrip,"px"),!1===this.opts.show_filmstrip?this._visibleThumbnailsNumber=2:"scroll"===this.opts.filmstrip_style?this._visibleThumbnailsNumber="horizontal"===this.filmstripOrientation?Math.round(e.filmstrip/b.innerWidth(t.gv_frame)):Math.round(i.filmstrip/b.innerHe
317ight(t.gv_frame)):this._visibleThumbnailsNumber=this.gvImages.length};var O=function t(e){var i; 318if(webwave.isDef(e)&&webwave.isDef(e.link)&&""!==e.link.href){var n=webwave.isDef(e.link.target)?e.link.target:"_blank",r=webwave.isDef(e.link.title)?e.link.title:"",a=Object(d.a)({href:e.link.href,target:n,title:r});i=o.a.htmlToElements(a)[0],!0===e.link.samepage&&i.setAttribute(elementService.SAME_PAGE_ELEMENT_LINK_ATTRIBUTE_NAME,"true")}return i},N={transition_speed:1E3,transition_interval:5E3,easing:"swing",show_panels:!0,show_panel_nav:!0,nextButtonDistance:10,prevButtonDistance:10,enable_overlays:!1, 319panel_width:800,panel_height:400,panel_animation:"fade",panel_scale:r.a.COVER,overlay_position:"bottom",pan_images:!1,pan_style:"drag",pan_smoothness:15,start_frame:1,show_filmstrip:!0,show_filmstrip_nav:!0,navigationVisibilityType:"hover",enable_slideshow:!0,autoplay:!1,show_captions:!1,filmstrip_size:3,filmstrip_style:"scroll",filmstrip_position:"bottom",filmstrip_on_image:!1,filmstripEdgeDistance:10,showFilmstripOnHover:!1,frame_width:80,frame_height:40,frame_opacity:.4,frame_scale:r.a.COVER,frame_gap:5, 320filmstripEventsDisabled:!1,show_infobar:!0,infobar_opacity:1,onImageChange:null,onImageChanged:null,onOverlayChange:null,maxFastDragTimeSpan:300,loop:!0,swipeEventsDisabled:!1}}()},2877:function(t,e,i){var n={CURRENT_THUMBNAIL_CLASS_NAME:"current"};e.a=n},2878:function(t,e,i){i.d(e,"a",function(){return a});var n=i(0),r=i(1),a=function(){function t(e,i){Object(n.a)(this,t),this._scaleX=e,this._scaleY=i}return Object(r.a)(t,[{key:"getScaleX",value:function t(){return this._scaleX}},{key:"getScaleY", 321value:function t(){return this._scaleY}}]),t}()},2879:function(t,e,i){i.d(e,"a",function(){return a});var n=i(0),r=i(1),a=function(){function t(e){Object(n.a)(this,t),this._offset=e.offset,this._size=e.size}return Object(r.a)(t,[{key:"getOffset",value:function t(){return this._offset}},{key:"getSize",value:function t(){return this._size}}]),t}()},2880:function(t,e,i){i.d(e,"a",function(){return p});var n=i(0),r=i(1),a=i(3),s=i(4),o=i(2),l=i(1545),u=i(2074);function c(t){var e=h();return function i(){var n= 322Object(o.a)(t),r;if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var p=function(t){Object(a.a)(i,t);var e=c(i);function i(t){var r;if(Object(n.a)(this,i),webwave.isNotDef(t)|| 323webwave.isNotDef(t.animation))throw new Error("No animation specified!");return(r=e.call(this,t))._progress=0,r._animation=t.animation,r}return Object(r.a)(i,[{key:"tick",value:function t(){this._animation.render()}},{key:"getDuration",value:function t(){return 1/0}},{key:"setProgress",value:function t(e){e=Math.max(e,0),e=Math.min(e,1),this._progress=e,this._animation.setCurrentTime(e*this._animation.getDuration()),this._animation.updateValues()}},{key:"createFinishAnimation",value:function t(e){return new u.a({animation:this._animation, 324direction:"forward",onComplete:e})}},{key:"createRevertAnimation",value:function t(e){return new u.a({animation:this._animation,direction:"backward",onComplete:e})}},{key:"finish",value:function t(e){this._animation.stop(e)}}]),i}(l.a)},2881:function(t,e,i){i.d(e,"b",function(){return n}),i.d(e,"c",function(){return r}),i.d(e,"a",function(){return a});var n=function t(e){var i=e.width,n=e.height,r=e.heightOffset,a=e.widthOffset,s=e.thumbnailUrl,o=e.altText;return'\n <img \n style="width:'.concat(i, 325"px;height:").concat(n,"px;top:").concat(r,"px;left:").concat(a,'px;visibility: hidden;" \n data-src="').concat(s,'" \n alt="').concat(o,'"\n />\n')},r=function t(e){var i=e.width,n=e.height,r=e.heightOffset,a=e.widthOffset,s=e.imageUrl,o=e.metaTitle,l=e.altText;return'\n <div \n class="gv_imgWrapper"\n style="width:'.concat(i,"px;height:").concat(n,"px;top:").concat(r,"px;left:").concat(a,'px;"\n >\n <img \n class="gv_img"\n style="visibility: hidden;" \n data-src="').concat(s, 326'" \n title="').concat(o,'"\n alt="').concat(l,'"\n />\n </div>\n')},a=function t(e){var i=e.href,n=e.target,r=e.title;return'\n <a \n draggable="false"\n href="'.concat(i,'"\n target="').concat(n,'" \n title="').concat(r,'"\n />\n')}}
326,3:function(t,e,i){e.a=r;var n=i(208);function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype, 327{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Object(n.a)(t,e)}},4:function(t,e,i){e.a=a;var n=i(42),r=i(11);function a(t,e){if(e&&("object"===Object(n.a)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Object(r.a)(t)}},40:function(t,e,i){i.d(e,"a",function(){return s});var n=i(0),r=i(1),a=i(49),s=function(){function t(e){Object(n.a)(this,t),webwave.isNotDef(e)&& 328(e={}),this.width=webwave.isNumberAndNotNaN(e.width)?e.width:0,this.height=webwave.isNumberAndNotNaN(e.height)?e.height:0}return Object(r.a)(t,[{key:"getWidth",value:function t(){return this.width}},{key:"setWidth",value:function t(e){this.width=e}},{key:"getHeight",value:function t(){return this.height}},{key:"setHeight",value:function t(e){this.height=e}},{key:"clone",value:function e(){return new t({width:this.width,height:this.height})}},{key:"serialize",value:function t(){return{width:this.width, 329height:this.height}}},{key:"equals",value:function t(e){return this.width===e.width&&this.height===e.height}},{key:"add",value:function t(e){return this.width+=e.getWidth(),this.height+=e.getHeight(),this}},{key:"subtract",value:function t(e){return this.width-=e.getWidth(),this.height-=e.getHeight(),this}},{key:"multiply",value:function t(e){return this.width*=e,this.height*=e,this}},{key:"applyLimits",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};webwave.isDef(e.width)&& 330(webwave.isNumber(e.width.min)&&(this.width=Math.max(this.width,e.width.min)),webwave.isNumber(e.width.max)&&(this.width=Math.min(this.width,e.width.max))),webwave.isDef(e.height)&&(webwave.isNumber(e.height.min)&&(this.height=Math.max(this.height,e.height.min)),webwave.isNumber(e.height.max)&&(this.height=Math.min(this.height,e.height.max)))}},{key:"toString",value:function t(){return"{".concat(this.width,",").concat(this.height,"}}")}},{key:"toVector",value:function t(){return new a.a({x:this.getWidth(), 331y:this.getHeight()})}},{key:"addHeight",value:function t(e){this.height+=e}},{key:"subtractHeight",value:function t(e){this.height-=e}},{key:"addWidth",value:function t(e){this.width+=e}},{key:"subtractWidth",value:function t(e){this.width-=e}},{key:"ceil",value:function t(){this.width=Math.ceil(this.width),this.height=Math.ceil(this.height)}}]),t}();s.deserialize=function(t){return webwave.isNotDef(t)?new s({width:0,height:0}):new s(t)}},42:function(t,e,i){function n(t){"@babel/helpers - typeof"; 332return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.a=n},49:function(t,e,i){i.d(e,"a",function(){return a});var n=i(0),r=i(1),a=function(){function t(e,i){Object(n.a)(this,t),this.y=0,this.x=0,webwave.isNumberAndNotNaN(e)?(this.x=e,webwave.isNumberAndNotNaN(i)&&(this.y=i)):webwave.isDef(e)&&(webwave.isNumberAndNotNaN(e.x)&&(this.x=e.x), 333webwave.isNumberAndNotNaN(e.y)&&(this.y=e.y))}return Object(r.a)(t,[{key:"getX",value:function t(){return this.x}},{key:"setX",value:function t(e){this.x=e}},{key:"getY",value:function t(){return this.y}},{key:"setY",value:function t(e){this.y=e}},{key:"subtract",value:function t(e){return this.x-=e.x,this.y-=e.y,this}},{key:"add",value:function t(e){return this.x+=e.x,this.y+=e.y,this}},{key:"multiply",value:function t(e){return this.x*=e,this.y*=e,this}},{key:"serialize",value:function t(){return{x:this.x, 334y:this.y}}},{key:"clone",value:function e(){return new t({x:this.x,y:this.y})}},{key:"equals",value:function t(e){return this.x===e.x&&this.y===e.y}},{key:"lt",value:function t(e){return this.x<e.x&&this.y<e.y}},{key:"lte",value:function t(e){return this.x<=e.x&&this.y<=e.y}},{key:"gt",value:function t(e){return this.x>e.x&&this.y>e.y}},{key:"gte",value:function t(e){return this.x>=e.x&&this.y>=e.y}},{key:"toString",value:function t(){return"{".concat(this.x,",").concat(this.y,"}}")}}],[{key:"deserialize", 335value:function e(i){return webwave.isNotDef(i)?new t(0,0):new t(i.x,i.y)}},{key:"countDistance",value:function t(e,i){return Math.sqrt(Math.abs(e.getX()-i.getX())*Math.abs(e.getY()-i.getY()))}}]),t}()}
335,57:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"arrayHasSameItems",function(){return X}),i.d(e,"arrayIncludeArray",function(){return G}),i.d(e,"default",function(){return K}),i.d(e,"isArrayLike",function(){return q}),i.d(e,"isArrayWithExactlyNElements",function(){return Z}), 336i.d(e,"isArrayWithExactlyOneElement",function(){return J}),i.d(e,"isArrayWithMinimumNElements",function(){return Q}),i.d(e,"isArraysEqual",function(){return tt}),i.d(e,"isBoolean",function(){return et}),i.d(e,"isDate",function(){return it}),i.d(e,"isDef",function(){return nt}),i.d(e,"isDefAndNotEmpty",function(){return rt}),i.d(e,"isDefAndNotNull",function(){return at}),i.d(e,"isDomElement",function(){return st}),i.d(e,"isEmptyString",function(){return ot}),i.d(e,"isFile",function(){return lt}),i.d(e, 337"isFunction",function(){return ut}),i.d(e,"isNestedObjectExist",function(){return ct}),i.d(e,"isNonEmptyArray",function(){return ht}),i.d(e,"isNotBoolean",function(){return pt}),i.d(e,"isNotDef",function(){return dt}),i.d(e,"isNotDefOrNull",function(){return ft}),i.d(e,"isNotDefOrNullOrEmptyString",function(){return gt}),i.d(e,"isNotNull",function(){return mt}),i.d(e,"isNotString",function(){return vt}),i.d(e,"isNumber",function(){return yt}),i.d(e,"isNumberAndNotNaN",function(){return _t}),i.d(e, 338"isObject",function(){return bt}),i.d(e,"isObjectAndNotNull",function(){return wt}),i.d(e,"isString",function(){return Ot}),i.d(e,"isStringAndNotEmpty",function(){return Nt}),i.d(e,"isStringOrSymbol",function(){return Tt}),i.d(e,"isSymbol",function(){return xt}),i.d(e,"isValidEnumValue",function(){return St}),i.d(e,"isValidJSON",function(){return Dt});var n={d:(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t, 339e)},r={};n.d(r,{$5:()=>b,$P:()=>P,Ay:()=>Y,Bm:()=>k,C8:()=>g,EI:()=>W,Et:()=>R,FP:()=>$,Gv:()=>I,H0:()=>O,I$:()=>d,Kg:()=>x,LL:()=>v,Lm:()=>C,N2:()=>j,Pe:()=>w,Rg:()=>z,SU:()=>m,Tl:()=>y,Tn:()=>N,Xj:()=>H,ZR:()=>T,fS:()=>f,fo:()=>L,fz:()=>V,gI:()=>F,jw:()=>D,kI:()=>M,nX:()=>E,w7:()=>_,x0:()=>p,z9:()=>U,zC:()=>S,zG:()=>A,zM:()=>B});const a="undefined",s="function",o="string",l="number",u="boolean",c="object",h=typeof Symbol("test");function p(t,e){return t.length===e.length&&t.every((t,i)=>t===e[i])} 340function d(t,e){return!(!H(t)||!H(e)||e.length!==t.length)&&f(t,e)}function f(t,e){return e.every(e=>t.includes(e))}function g(t){if(0===arguments.length)return!1;for(var e=0;e<arguments.length;e++)if(typeof arguments[e]===a)return!1;return!0}function m(t,e,i="."){if(v(t))return!1;let n=e.split(i),r=t;for(var a=0;a<n.length;a++)if(v(r=r[n[a]]))return!1;return!0}function v(t){return typeof t===a}function y(t){return typeof t===a||null===t}function _(t){return y(t)||D(t)}function b(t){return I(t)&& 341w(t)}function w(t){return null!==t}function O(t){return g(t)&&null!==t}function N(t){return typeof t===s}function T(t){return O(t)&&t.length>0}function x(t){return typeof t===o}function S(t){return x(t)&&""!==t}function D(t){return x(t)&&""===t}function A(t){return typeof t!==o}function P(t){return t instanceof Date}function R(t){return typeof t===l}function C(t){return typeof t===u}function I(t){return typeof t===c}function E(t){return x(t)||k(t)}function k(t){return typeof t===h}function M(t){return typeof t!== 342u}function $(t){return typeof t===l&&!1===isNaN(t)}function H(t){return"object"==typeof t&&null!==t&&"number"==typeof t.length}function L(t){return t instanceof File}function F(t){return j(t,1)}function j(t,e){return H(t)&&t.length===e}function V(t,e){return H(t)&&t.length>=e}function W(t){return V(t,1)}function z(t,e){if(g(t)&&g(e))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t)return!0;return!1}function B(t){try{return JSON.parse(t),!0}catch(t){return!1}}function U(t){return t instanceof Element} 343const Y={arrayHasSameItems:d,arrayIncludeArray:f,isArrayLike:H,isArraysEqual:p,isArrayWithExactlyNElements:j,isArrayWithExactlyOneElement:F,isArrayWithMinimumNElements:V,isBoolean:C,isDate:P,isDef:g,isDefAndNotEmpty:T,isDefAndNotNull:O,isDomElement:U,isEmptyString:D,isFile:L,isFunction:N,isNestedObjectExist:m,isNonEmptyArray:W,isNotBoolean:M,isNotDef:v,isNotDefOrNull:y,isNotDefOrNullOrEmptyString:_,isNotNull:w,isNotString:A,isNumber:R,isNumberAndNotNaN:$,isObject:I,isObjectAndNotNull:b,isString:x, 344isStringAndNotEmpty:S,isStringOrSymbol:E,isSymbol:k,isValidEnumValue:z,isValidJSON:B};var X=r.I$,G=r.fS,K=r.Ay,q=r.Xj,Z=r.N2,J=r.gI,Q=r.fz,tt=r.x0,et=r.Lm,it=r.$P,nt=r.C8,rt=r.ZR,at=r.H0,st=r.z9,ot=r.jw,lt=r.fo,ut=r.Tn,ct=r.SU,ht=r.EI,pt=r.kI,dt=r.LL,ft=r.Tl,gt=r.w7,mt=r.Pe,vt=r.zG,yt=r.Et,_t=r.FP,bt=r.Gv,wt=r.$5,Ot=r.Kg,Nt=r.zC,Tt=r.nX,xt=r.Bm,St=r.Rg,Dt=r.zM}
344,6797:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2855);window[window.WWNamespace.LOAD_MODULE_SERVICE].notifyAboutLoad(window[window.WWNamespace.MODULES].GALLERY_LIB)}, 345972:function(t,e,i){var n={TOP:"top",TOP_RIGHT:"topRight",RIGHT:"right",BOTTOM_RIGHT:"bottomRight",BOTTOM:"bottom",BOTTOM_LEFT:"bottomLeft",LEFT:"left",TOP_LEFT:"topLeft",CENTER:"center"};e.a=n}});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.