1/*! For license information please see 6478-f91bdfb3.chunk.js.LICENSE.txt */ 2(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2451,6478],{5493:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(58168),i=n(5544),a=n(53986),o=n(96540),c=n(13937),s=n(32485),l=n.n(s),u=n(11047),d=n(44856),f=n(78792);var m=["as","anchorProps","children","anchorRedirection","showPointer","onClick","disabled"];const p=function(e){var t,n,s,p,v,h,y,g=e.as,b=e.anchorProps,E=e.children,w=e.anchorRedirection,C=e.showPointer,S=e.onClick,A=e.disabled,I=(0,a.A)(e,m),D=(0,c.Zp)(),_=(t=d.j.Control,n=(0,o.useState)(!1),p=(s=(0,i.A)(n,2))[0],v=s[1],h=function(e){e.key===t&&v(!0)},y=function(e){e.key===t&&v(!1)},(0,o.useEffect)(function(){return window.addEventListener(u.w.KeyDown,h),window.addEventListener(u.w.KeyUp,y),function(){window.removeEventListener(u.w.KeyDown,h),window.removeEventListener(u.w.KeyUp,y)}},[]),p),k=(0,f.A)(function(e){var t=e;w||A||(t.preventDefault(),S&&S(t),g&&(_?window.open(g):D(g)))});return o.createElement("a",(0,r.A)({},I,b,k,{href:A?void 0:g||(null==b?void 0:b.href),className:l()(null==b?void 0:b.className,C?"uAsfmEMMfY":""),onDragStart:function(e){return e.preventDefault()}}),E)}},11047:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});var r=function(e){return e.TouchStart="touchstart",e.TouchMove="touchmove",e.TouchEnd="touchend",e.KeyDown="keydown",e.KeyUp="keyup",e}({})},15657:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96540);const i=function(e){var t=e.label;return r.createElement(r.Fragment,null,"*"!==t.slice(t.length-1,t.length)?r.createElement("span",{dangerouslySetInnerHTML:{__html:t}}):r.createElement(r.Fragment,null,r.createElement("span",{dangerouslySetInnerHTML:{__html:t.slice(0,t.length-1)}}),r.createElement("span",{className:"alert--error"},"*")))}},20450:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){var n=t.map(function(t){if("function"==typeof t){var n=t(e);return"function"==typeof n?n:function(){return t(null)}}if(t)return t.current=e,function(){t.current=null}});return function(){n.forEach(function(e){return null==e?void 0:e()})}}}},23497:(e,t,n)=>{"use strict";n.d(t,{BD:()=>m,In:()=>f,Nr:()=>p,Ue:()=>u,Y_:()=>d});var r=n(10467),i=n(2543),a=n(7202);function o(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function a(n,r,i,a){var o=r&&r.prototype instanceof l?r:l,u=Object.create(o.prototype);return c(u,"_invoke",function(n,r,i){var a,o,c,l=0,u=i||[],d=!1,f={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,n){return a=t,o=0,c=e,f.n=n,s}};function m(n,r){for(o=n,c=r,t=0;!d&&l&&!i&&t<u.length;t++){var i,a=u[t],m=f.p,p=a[2];n>3?(i=p===r)&&(c=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=e):a[0]<=m&&((i=n<2&&m<a[1])?(o=0,f.v=r,f.n=a[1]):m<p&&(i=n<3||a[0]>r||r>p)&&(a[4]=n,a[5]=r,f.n=p,o=0))}if(i||n>1)return s;throw d=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(d&&1===u&&m(u,p),o=u,c=p;(t=o<2?e:c)||!d;){a||(o?o<3?(o>1&&(f.n=-1),m(o,c)):f.n=c:f.v=c);try{if(l=2,a){if(o||(i="next"),t=a[i]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,o<2&&(o=0)}else 1===o&&(t=a.return)&&t.call(a),o<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),o=1);a=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==s)break}catch(t){a=e,o=1,c=t}finally{l=1}}return{value:t,done:d}}}(n,i,a),!0),u}var s={};function l(){}function u(){}function d(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(c(t={},r,function(){return this}),t),m=d.prototype=l.prototype=Object.create(f);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,c(e,i,"GeneratorFunction")),e.prototype=Object.create(m),e}return u.prototype=d,c(m,"constructor",d),c(d,"constructor",u),u.displayName="GeneratorFunction",c(d,i,"GeneratorFunction"),c(m),c(m,i,"Generator"),c(m,r,function(){return this}),c(m,"toString",function(){return"[object Generator]"}),(o=function(){return{w:a,m:p}})()}function c(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}c=function(e,t,n,r){function a(t,n){c(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},c(e,t,n,r)}var s="move-label",l="",u=function(e,t){Object.entries(e.current).forEach(function(e){var n,r,o,c=null===(n=e[1])||void 0===n?void 0:n.ref;null!=t&&t.find(function(t){return t===e[0]}
2)||((0,a.Im)(c.value)?((0,i.includes)(c.classList,s)&&c.classList.remove(s),null===(r=c.labels)||void 0===r||r.forEach(function(e){(0,i.includes)(e.classList,s)&&e.classList.remove(s)})):(c.classList.add(s),null===(o=c.labels)||void 0===o||o.forEach(function(e){e.classList.add(s)})))})},d=function(e){var t,n=null===(t=e.current)||void 0===t?void 0:t.childNodes[0];n&&n.classList&&!(0,i.includes)(n.classList,s)&&n.classList.add(s)},f=function(e){var t,n,r=null===(t=e.current)||void 0===t?void 0:t.childNodes[0],o=null===(n=e.current)||void 0===n?void 0:n.childNodes[1];r&&r.classList&&(0,i.includes)(r.classList,s)&&(0,a.Im)(o.value)&&r.classList.remove(s)},m=function(e){Object.entries(e.current).forEach(function(e){var t;(null===(t=e[1])||void 0===t?void 0:t.ref).value=""})},p=function(){var e=(0,r.A)(o().m(function e(t){return o().w(function(e){for(;;)switch(e.n){case 0:isNaN(Number(t.target.value))?t.target.value=l:l=t.target.value;case 1:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}()},25279:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let i;const a=new Uint8Array(16);function o(){if(!i){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");i=crypto.getRandomValues.bind(crypto)}return i(a)}const c=[];for(let e=0;e<256;++e)c.push((e+256).toString(16).slice(1));const s=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const i=(e=e||{}).random||(e.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=i[e];return t}return function(e,t=0){return(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase()}(i)}},44856:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var r=function(e){return e.Enter="Enter",e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.Control="Control",e}({})},50411:(e,t,n)=>{var r;!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()}
2,52423:(e,t,n)=>{"use strict";n.d(t,{FA:()=>c,aX:()=>s,jS:()=>l});var r=n(74353),i=n.n(r),a=n(83826),o=n.n(a);i().extend(o());var c=function(e,t,n){if(!e)return"";var r=new Date(e),i=[r.getDate(),r.getMonth()+1,r.getFullYear()];return n&&i.reverse(),i.map(function(e){return e<10?"0".concat(e):"".concat(e)}).join(t).toString()},s=function(e,t){var n=new Date(e);return n.setFullYear(n.getFullYear()+t),n},l=function(e,t){var n=new Date(e);return n.setMonth(n.getMonth()+t),n}},63815:(e,t,n)=>{"use strict";n.d(t,{F:()=>i,X:()=>r});var r=["onedrive","access","excel","exel","onenote","outlook","powerpoint","word","exchange","office","teams","publisher","sharepoint"],i=function(e){return e.split(",").map(function(e){return r.includes(e)?"".concat(e,"-icon"):void 0})}},65734:(e,t,n)=>{"use strict";n.d(t,{jb:()=>u,mP:()=>d,z9:()=>f});var r=n(36557),i=n(834),a=n(69609),o=(n(9716),n(2543)),c=n(52423),s=n(96540),l=n(19628),u=function(e,t,n,o,s,u){var d="";if(s===r.c.Presale)d=o?"".concat(a.A.t("product:deliveryTime.presaleDate")," ").concat((0,c.FA)(o.toString(),"/")):"".concat(a.A.t("product:deliveryTime.presale"));else switch(e){case i.A.CSP:d=a.A.t("product:deliveryTime.immediateRealization");break;case i.A.ESD:if(t>0){d=a.A.t("product:deliveryTime.immediateRealization");break}d=a.A.t("product:deliveryTime.realizationIn24h");break;case i.A.MOLP:d=a.A.t("product:deliveryTime.realizationUpTo2Days");break;case i.A.Device:if(u&&u!==l.T.Polish&&u!==l.T.PolishCXP){d=a.A.t("product:deliveryTime.toOrder");break}if(t>0){d=a.A.t("product:deliveryTime.realizationUpTo1Day");break}if(n>0){d=a.A.t("product:deliveryTime.realizationUpTo3Days");break}if(s===r.c.Presale){if(o){d="".concat(a.A.t("product:deliveryTime.presaleDate")," ").concat((0,c.FA)(o.toString(),"/"));break}d="".concat(a.A.t("product:deliveryTime.presale"));break}if(s===r.c.EndOfLifetime){d=a.A.t("product:deliveryTime.productDiscontinued");break}if(s===r.c.Soon){if(o){d="".concat(a.A.t("product:deliveryTime.expectedDeliveryDate")," ").concat((0,c.FA)(o.toString(),"/"));break}d="".concat(a.A.t("product:deliveryTime.deliveryExpectedSoon"));break}if(s===r.c.None){d=a.A.t("product:deliveryTime.toOrder");break}break;default:d=a.A.t("product:deliveryTime.toOrder")}return d},d=function(e,t,n,c,u,d,f,m,p){if(e==i.A.Device&&(t<=0&&n<=0&&(0,o.includes)([r.c.None,r.c.Soon],m)||p&&p!==l.T.Polish&&p!==l.T.PolishCXP))switch(m){case r.c.Soon:return f?s.createElement("a",{className:"btn btn--primary btn-icon-big btn--full margin-top-10"},s.createElement("div",{onClick:function(){return d(!0)}},s.createElement(s.Fragment,null,a.A.t("product:deliveryTime.notifyAboutAvailability")))):s.createElement("a",{className:"btn btn--primary btn-icon-big btn--full margin-top-10"},s.createElement("div",{onClick:function(){return c(!0)}},s.createElement(s.Fragment,null,a.A.t("product:deliveryTime.askForDeliveryTime"))," "));case r.c.None:default:return s.createElement("a",{className:"btn btn--primary btn-icon-big btn--full margin-top-10"},s.createElement("div",{onClick:function(){return u(!0)}},s.createElement(s.Fragment,null,a.A.t("product:deliveryTime.askForAvailability"))," "))}return s.createElement(s.Fragment,null)},f=function(e,t,n,a,c){return e===i.A.Device&&(t<=0&&n<=0&&(0,o.includes)([r.c.None,r.c.EndOfLifetime,r.c.Soon],a)||null!=c&&c!==l.T.Polish&&c!==l.T.PolishCXP)}},67522:(e,t,n)=>{"use strict";n.d(t,{tV:()=>i});var r=n(45619);const i=(e,t={abortEarly:!1})=>async(n,i,a=!1)=>{try{return t.context,{values:await e.validate(n,Object.assign(Object.assign({},t),{context:i})),errors:{}}}catch(e){const t=((e,t)=>Array.isArray(e.inner)&&e.inner.length?e.inner.reduce((e,{path:n,message:r,type:i})=>{const a=e[n]&&e[n].types||{},o=n||i;return Object.assign(Object.assign({},e),o?{[o]:Object.assign(Object.assign({},e[o]||{message:r,type:i}),t?{types:Object.assign(Object.assign({},a),{[i]:a[i]?[...[].concat(a[i]),r]:r})}:{})}:{})},{}):{[e.path]:{message:e.message,type:e.type}})(e,a);return{values:{},errors:(0,r.nO)(t)}}}},74353:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="day",a="week",o="month",c="quarter",s="year",l="date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
vendor: 4,883 bytes, line 2
2|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},p={s:m,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,o),a=n-i<0,c=t.clone().add(r+(a?-1:1),o);return+(-(r+(n-i)/(a?i-c:c-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return{M:o,y:s,w:a,d:i,D:l,h:r,m:n,s:t,ms:e,Q:c}[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},v="en",h={};h[v]=f;var y=function(e){return e instanceof w},g=function(e,t,n){var r;if(!e)return v;if("string"==typeof e)h[e]&&(r=e),t&&(h[e]=t,r=e);else{var i=e.name;h[i]=e,r=i}return!n&&r&&(v=r),r||!n&&v},b=function(e,t){if(y(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new w(n)},E=p;E.l=g,E.i=y,E.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var w=function(){function f(e){this.$L=g(e.locale,null,!0),this.parse(e)}var m=f.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(u);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return E},m.isValid=function(){return!("Invalid Date"===this.$d.toString())},m.isSame=function(e,t){var n=b(e);return this.startOf(t)<=n&&n<=this.endOf(t)},m.isAfter=function(e,t){return b(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<b(e)},m.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,c){var u=this,d=!!E.u(c)||c,f=E.p(e),m=function(e,t){var n=E.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return d?n:n.endOf(i)},p=function(e,t){return E.w(u.toDate()[e].apply(u.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},v=this.$W,h=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(f){case s:return d?m(1,0):m(31,11);case o:return d?m(1,h):m(0,h+1);case a:var b=this.$locale().weekStart||0,w=(v<b?v+7:v)-b;return m(d?y-w:y+(6-w),h);case i:case l:return p(g+"Hours",0);case r:return p(g+"Minutes",1);case n:return p(g+"Seconds",2);case t:return p(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(a,c){var u,d=E.p(a),f="set"+(this.$u?"UTC":""),m=(u={},u[i]=f+"Date",u[l]=f+"Date",u[o]=f+"Month",u[s]=f+"FullYear",u[r]=f+"Hours",u[n]=f+"Minutes",u[t]=f+"Seconds",u[e]=f+"Milliseconds",u)[d],p=d===i?this.$D+(c-this.$W):c;if(d===o||d===s){var v=this.clone().set(l,1);v.$d[m](p),v.init(),this.$d=v.set(l,Math.min(this.$D,v.daysInMonth())).$d}else m&&this.$d[m](p);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[E.p(e)]()},m.add=function(e,c){var l,u=this;e=Number(e);var d=E.p(c),f=function(t){var n=b(u);return E.w(n.date(n.date()+Math.round(t*e)),u)};if(d===o)return this.set(o,this.$M+e);if(d===s)return this.set(s,this.$y+e);if(d===i)return f(1);if(d===a)return f(7);var m=(l={},l[n]=6e4,l[r]=36e5,l[t]=1e3,l)[d]||1,p=this.$d.getTime()+e*m;return E.w(p,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this;if(!this.isValid())return"Invalid Date";var n=e||"YYYY-MM-DDTHH:mm:ssZ",r=E.z(this),i=this.$locale(),a=this.$H,o=this.$m,c=this.$M,s=i.weekdays,l=i.months,u=function(e,r,i,a){return e&&(e[r]||e(t,n))||i[r].substr(0,a)},f=function(e){return E.s(a%12||12,e,"0")},m=i.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:c+1,MM:E.s(c+1,2,"0"),MMM:u(i.monthsShort,c,l,3),MMMM:u(l,c),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:u(i.weekdaysMin,this.$W,s,2),ddd:u(i.weekdaysShort,this.$W,s,3),dddd:s[this.$W],H:String(a),HH:E.s(a,2,"0"),h:f(1),hh:f(2),a:m(a,o,!0),A:m(a,o,!1),m:String(o),mm:E.s(o,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:r};return n.replace(d,function(e,t){return t||p[e]||r.replace(":","")})}
2,m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(e,l,u){var d,f=E.p(l),m=b(e),p=6e4*(m.utcOffset()-this.utcOffset()),v=this-m,h=E.m(this,m);return h=(d={},d[s]=h/12,d[o]=h,d[c]=h/3,d[a]=(v-p)/6048e5,d[i]=(v-p)/864e5,d[r]=v/36e5,d[n]=v/6e4,d[t]=v/1e3,d)[f]||v,u?h:E.a(h)},m.daysInMonth=function(){return this.endOf(o).$D},m.$locale=function(){return h[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=g(e,t,!0);return r&&(n.$L=r),n},m.clone=function(){return E.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},f}(),C=w.prototype;return b.prototype=C,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W",i],["$M",o],["$y",s],["$D",l]].forEach(function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),b.extend=function(e,t){return e.$i||(e(t,w,b),e.$i=!0),b},b.locale=g,b.isDayjs=y,b.unix=function(e){return b(1e3*e)},b.en=h[v],b.Ls=h,b.p={},b}()},76216:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(96540),i=n(32389),a=n(94291),o=n.n(a),c=function(e){var t=e.value,n=e.currency,a=e.withVat,c=e.small,s=e.isMonthly,l=e.testid,u=(0,i.Bd)("customCurrency").t,d=n||"",f=void 0===a?"":a?" ".concat(u(s?"bruttoMonth":"brutto")," (").concat(u("withVat"),")"):" ".concat(u(s?"netMonth":"withoutVat")),m=["$","£"].indexOf(d)>-1,p=["zÅ"].indexOf(d)>-1,v=m?"".concat(d," "):"",h="".concat(m?"":" ".concat(d)).concat(f),y=p?",":".",g=o()(null!=t?t:"",{symbol:"",separator:" ",decimal:y}).format();return r.createElement("span",{"data-testid":l},c&&v?r.createElement("span",{className:"smaller","aria-label":"Custom currency small"},v):v,g,c&&h?r.createElement("span",{className:"smaller","aria-label":"Custom currency small"},h):h)};const s=(0,r.memo)(c)},78792:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(5544),i=n(96540);const a=function(e){var t=(0,i.useState)({x:0,y:0}),n=(0,r.A)(t,2),a=n[0],o=n[1];return{onMouseDown:function(e){o({x:e.clientX,y:e.clientY})},onClick:function(t){Math.floor(t.clientX)===a.x&&Math.floor(t.clientY)===a.y?e&&e(t):t.preventDefault()}}}},79759:(e,t,n)=>{"use strict";n.d(t,{AM:()=>u,Jz:()=>s,sv:()=>l});var r=n(55322),i=n(49108),a=n(69609),o=n(93273),c=n(78978),s={success:function(e){return(0,o.VP)(c.ZM.SUCCESS,e)}},l={success:function(){return(0,o.VP)(c.IQ.SUCCESS)}},u=function(e){return function(t,n){var s=n();(0,r.Zm)(s)?i.P.warning(a.A.t("productCompare.isFull")):t(function(e){return(0,o.VP)(c.Ah.SUCCESS,e)}(e))}}},80614:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(58168),i=n(5544),a=n(53986),o=n(96540),c=n(32485),s=n.n(c),l=n(25279),u=n(15657),d=n(23497),f=n(20450),m=n(59734),p=["ref"];const v=function(e){var t=e.ref,n=(0,a.A)(e,p),c=n.placeholder,v=n.type,h=n.name,y=n.onChange,g=n.customRef,b=n.labelTranslation,E=n.errorMessage,w=n.successMessage,C=n.onBlur,S=n.onEnter,A=n.description,I=n.defaultValue,D=n.autoComplete,_=n.className,k=n.minLength,N=n.maxLength,M=n.required,O=n.toolParamDescription,T=n.value,$=n.disabled,x=n.hideErrorAfterDelay,P=(0,o.useMemo)(function(){var e;return null!==(e=n.id)&&void 0!==e?e:(0,l.A)()},[n.id]),L=(0,o.useMemo)(function(){return"textarea"===v},[v]),U=(0,o.useMemo)(function(){return"tel"===v},[v]),j=o.useRef(null),F=(0,o.useState)(!0),B=(0,i.A)(F,2),V=B[0],Y=B[1],R=(0,o.useCallback)(function(){(0,d.Y_)(j)},[]),G=(0,o.useCallback)(function(){Y(!1)},[]),H=(0,o.useCallback)(function(e){null==C||C(e),(0,d.In)(j)},[C]),z=(0,o.useCallback)(function(e){"Enter"===e.key&&(null==S||S(e))},[S]),X=(0,o.useCallback)(function(e){(0,d.Y_)(j),y&&y(e),U&&(0,d.Nr)(e)},[U,y]);(0,o.useEffect)(function(){if(x){var e=setTimeout(function(){Y(!1)},5e3);return function(){return clearTimeout(e)}}},[x]),(0,o.useEffect)(function(){I?(0,d.Y_)(j):(0,d.In)(j)},[I]);var W=(0,o.useMemo)(function(){return{className:s()("form-basic__input",{"form-basic__input_no-label":!b||""===b},_),id:P,type:v,name:h,placeholder:c,onBlur:H,onChange:X,onKeyDown:z,onFocus:R,defaultValue:I,minLength:k,maxLength:N,required:M,toolparamdescription:O,autoComplete:D,value:T,disabled:$}},[b,_,P,v,h,c,H,X,z,R,I,k,N,M,O,D,T,$]),Q=(0,o.useMemo)(function(){return(0,f.P)(g,t)},[g,t]);return o.createElement("div",{ref:j,className:s()("form-basic__input-group",{"is-error":E||w},{"is-success":w})},b&&""!==b&&o.createElement("label",{className:"form-basic__label",htmlFor:P},o.createElement(u.A,{label:b})),L?o.createElement("textarea",(0,r.A)({},W,{ref:Q})):o.createElement("input",(0,r.A)({},W,{ref:Q})),E&&V&&E!==m.Z7&&o.createElement("span",{onClick:G,className:"form-basic__error"},E),w&&o.createElement("span",{className:"form-basic__error"},w),A&&o.createElement("p",{className:"basket-step__email-txt"},A))}},83826:function(e){e.exports=function(){"use strict";return function(e,t,n){var r=t.prototype;n.utc=function(e){return new t({date:e,utc:!0,args:arguments})},r.utc=function(e){var t=n(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),"minute"):t},r.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var i=r.parse;r.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),i.call(this,e)};var a=r.init;r.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else a.call(this)};var o=r.utcOffset;r.utcOffset=function(e,t){var n=this.$utils().u;if(n(e))return this.$u?0:n(this.$offset)?o.call(this):this.$offset;var r=Math.abs(e)<=16?60*e:e,i=this;if(t)return i.$offset=r,i.$u=0===e,i;if(0!==e){var a=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(r+a,"minute")).$offset=r,i.$x.$localOffset=a}else i=this.utc();return i};var c=r.format;r.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},r.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*e},r.isUTC=function(){return!!this.$u},r.toISOString=function(){return this.toDate().toISOString()},r.toString=function(){return this.toDate().toUTCString()};var s=r.toDate;r.toDate=function(e){return"s"===e&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():s.
2call(this)};var l=r.diff;r.diff=function(e,t,r){if(e&&this.$u===e.$u)return l.call(this,e,t,r);var i=this.local(),a=n(e).local();return l.call(i,a,t,r)}}}()},85195:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(5544),i=n(96540),a=n(2896),o=n(86016),c=n(21169),s=n(41740),l=n(44991),u=n(92218),d=n(87531);const f=function(e){return e.wrapperClass?i.createElement("div",{className:e.wrapperClass},e.children):i.createElement(i.Fragment,null,e.children)};var m=n(65734);const p=function(e){var t,n=e.quantity,p=e.licenseMonthsCount,v=e.idProduct,h=e.productName,y=e.productImg,g=e.wrapperClass,b=e.deliveryStatusId,E=e.productTypeId,w=e.instockCount,C=e.instockCountSupplier,S=e.plannedDeliveryDate,A=e.isInLi,I=e.addButtonOnClick,D=e.isUnavailable,_=void 0!==D&&D,k=e.availability,N=e.buttonContent,M=(0,a.wA)(),O=(0,a.d4)(c.kd),T=(0,a.d4)(c.lW),$=(0,a.d4)(s.aV),x=(0,a.d4)(s.Mx),P=(0,a.d4)(s.iT),L=(0,a.d4)(c.vN),U=!(null==k||!k.maxQuantitySoldLimit||null==k||!k.alreadySold)&&k.maxQuantitySoldLimit-k.alreadySold,j=(0,i.useState)(!1),F=(0,r.A)(j,2),B=F[0],V=F[1],Y=(0,i.useMemo)(function(){return(0,m.z9)(E,w,C,b,P)},[b,w,C,P,E]),R=(0,i.useMemo)(function(){return(0,m.jb)(E,w,C,S,b,P)},[b,w,C,P,S,E]);return Y?A?i.createElement("div",null,i.createElement("ul",{className:"boqEVnELkn"},i.createElement("li",{className:"FElbRW53az"},R))):i.createElement("span",null,R):i.createElement(f,{wrapperClass:g},i.createElement(d.A,{handleAddItemToBasketClick:function(e){e.preventDefault(),null==I||I(),null==T||T.forEach(function(e){var t;if(e.basketItem.productId===v)return e.basketItem.quantity===(0,l.Zh)(E,U,null!==(t=null==k?void 0:k.maxQuantityInBasket)&&void 0!==t&&t,w+C)?V(!0):void 0}),M((0,o.I)({sessionGuid:O,productId:v,quantity:n,licenseMonthsCount:p,languageId:P,marketLanguageId:x,currencyId:$,discountCode:L},function(){return V(!0)}))},buttonContent:N}),i.createElement(u.A,{isNotEnoghItemsInStockModalOpen:B,setIsNotEnoghItemsInStockModal:function(e){return V(e)},productName:h,productId:v,imageUrl:y,numberOfItemsInStock:(0,l.Zh)(E,U,null!==(t=null==k?void 0:k.maxQuantityInBasket)&&void 0!==t?t:0,w+C),isUnavailable:_}))}},86016:(e,t,n)=>{"use strict";n.d(t,{I:()=>C});var r=n(10467),i=n(46660),a=n(49108),o=n(69609),c=n(93273),s=n(78978),l=n(92164),u=n(60638),d=n(33937),f=n(11524),m=n(39072),p=n(69430),v=n(45547),h=n(20950);function y(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function a(n,r,i,a){var s=r&&r.prototype instanceof c?r:c,l=Object.create(s.prototype);return g(l,"_invoke",function(n,r,i){var a,c,s,l=0,u=i||[],d=!1,f={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,n){return a=t,c=0,s=e,f.n=n,o}};function m(n,r){for(c=n,s=r,t=0;!d&&l&&!i&&t<u.length;t++){var i,a=u[t],m=f.p,p=a[2];n>3?(i=p===r)&&(s=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=e):a[0]<=m&&((i=n<2&&m<a[1])?(c=0,f.v=r,f.n=a[1]):m<p&&(i=n<3||a[0]>r||r>p)&&(a[4]=n,a[5]=r,f.n=p,c=0))}if(i||n>1)return o;throw d=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(d&&1===u&&m(u,p),c=u,s=p;(t=c<2?e:s)||!d;){a||(c?c<3?(c>1&&(f.n=-1),m(c,s)):f.n=s:f.v=s);try{if(l=2,a){if(c||(i="next"),t=a[i]){if(!(t=t.call(a,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,c<2&&(c=0)}else 1===c&&(t=a.return)&&t.call(a),c<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),c=1);a=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==o)break}catch(t){a=e,c=1,s=t}finally{l=1}}return{value:t,done:d}}}(n,i,a),!0),l}var o={};function c(){}function s(){}function l(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(g(t={},r,function(){return this}),t),d=l.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,g(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=l,g(d,"constructor",l),g(l,"constructor",s),s.displayName="GeneratorFunction",g(l,i,"GeneratorFunction"),g(d),g(d,i,"Generator"),g(d,r,function(){return this}),g(d,"toString",function(){return"[object Generator]"}),(y=function(){return{w:a,m:f}})()}function g(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}g=function(e,t,n,r){function a(t,n){g(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},g(e,t,n,r)}var b=function(){return(0,c.VP)(s.XF.REQUEST)},E=function(){return(0,c.VP)(s.XF.SUCCESS)},w=function(){return s.XF.FAILURE?(0,c.VP)(s.XF.FAILURE):null},C=function(e,t){return function(){var n=(0,r.A)(y().m(function n(r,c){var s,g,C;return y().w(function(n){for(;;)switch(n.p=n.n){case 0:if(r(b()),s=c(),!(0,u.H)(s.userProfile)){n.n=2;break}return n.n=1,r((0,d.ri)());case 1:return n.a(2);case 2:return n.p=2,n.n=3,(0,i.Rw)(e);case 3:if(!(g=n.v).statusCode){n.n=7;break}C=g.statusCode,n.n=C===p.A.BasketLicenseTypeMixingIsForbidden?4:C===p.A.NotEnoughItemsInStockException?5:6;break;case 4:return a.P.error(o.A.t("errors:addToBasketMixedLicences")),n.a(3,6);case 5:return t&&t(),n.a(3,6);case 6:return r(w()),n.a(2);case 7:return r(E()),n.n=8,r((0,l.Bm)({languageId:e.languageId,marketLanguageId:e.marketLanguageId,currencyId:e.currencyId,sessionGuid:e.sessionGuid,discountCode:e.discountCode}));case 8:r((0,d.pK)(!0)),(0,f.BT)((0,m.H4)(c(),e.productId,e.quantity)),(0,h.t)({codeType:v.c.AddProductToBasket,productId:e.productId}),n.n=10;break;case 9:n.p=9,n.v,r(w()),a.P.error(o.A.t("errors:addToBasketFailed"));case 10:return n.a(2)}},n,null,[[2,9]])}
2));return function(e,t){return n.apply(this,arguments)}}()}},87531:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9716),i=n(96540),a=n(32389);var o=n(97372);const c=function(e){var t=e.handleAddItemToBasketClick,n=e.buttonContent,c=(0,a.Bd)("categorySoftware").t,s=(0,o.A)().isCXP;return i.createElement("button",{onClick:t,className:"TYXiFg1cMi","data-cxp":s,"data-testid":"add-to-basket-button"},i.createElement(r.hb5,{svgClassName:"j5COa9Qn7A"}),n||c("addToBasket"))}},87895:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>re});var r=n(96540),i=n(58168),a=n(64980),o=n(10467),c=n(5544),s=n(46660),l=n(58394),u=n(33937),d=n(79759),f=n(2543),m=n(2896),p=n(32389),v=n(32485),h=n.n(v),y=n(9716);const g=function(e){var t=(0,p.Bd)("productCompare").t,n=e.activeCategoryId,i=e.categoryGroups,a=e.setActiveCategoryId,o=e.onClearAll,c=function(e){var t=e.currentTarget.dataset.categoryId;a(t?Number(t):null)};return r.createElement(r.Fragment,null,e.isMoreThanOneCategory?r.createElement(r.Fragment,null,r.createElement("div",{className:"comparison-tool-categories"},r.createElement("ul",{className:"comparison-tool-categories__list"},r.createElement("li",{"data-category-id":null,className:h()("comparison-tool-categories__item",{active:(0,f.isNull)(n)}),onClick:c},t("comparePage.allProducts")),(0,f.values)(i).map(function(e){var t=(0,f.first)(e);return r.createElement("li",{key:null==t?void 0:t.categoryId,"data-category-id":null==t?void 0:t.categoryId,className:h()("comparison-tool-categories__item",{active:(null==t?void 0:t.categoryId)===n}),onClick:c},null==t?void 0:t.categoryName,"Â (",null==t?void 0:t.productComparisons.length,")")}))),r.createElement("a",{className:"comparison-tool__remove-all",onClick:o,href:""},t("comparePage.clearAll"),r.createElement(y.NQl,null))):null)},b=function(e){var t=(0,p.Bd)("productCompare").t,n=e.activeCategoryId,i=e.categoryGroups,a=e.setActiveCategoryId,o=e.onClearAll;return r.createElement("div",{className:"comparison-tool-header"},r.createElement("h1",{className:"h2"},t("comparePage.title")),r.createElement(g,{categoryGroups:i,activeCategoryId:n,setActiveCategoryId:a,isMoreThanOneCategory:e.isMoreThanOneCategory,onClearAll:o}))},E=function(e){var t=(0,p.Bd)("productCompare").t;return r.createElement("div",{className:"comparison-tool-box-info h-100"},r.createElement("div",{className:"h5"},t("comparePage.visible"),r.createElement("b",null," ".concat(e.firstVisibleIndex," - ").concat(e.lastVisibleIndex))),r.createElement("div",{className:"heading--gray mb-15"},t("comparePage.visibleOfProduct",{totalCountProducts:e.totalCount})),r.createElement("div",{className:"onex-switch__wrapper"},r.createElement("label",{className:"onex-switch",htmlFor:"comparison-table-trigger"},r.createElement("input",{onChange:function(t){e.onCompare(t.currentTarget.checked)},className:"onex-switch__input",type:"checkbox",id:"comparison-table-trigger"}),r.createElement("span",{className:"onex-switch__slider"})),r.createElement("span",{className:"onex-switch__label"}," ",t("comparePage.showTheDifference"))))};var w=n(53986),C=n(294),S=n(11524),A=n(39072),I=n(35938),D=n(89436),_=n(85195),k=n(76216),N=n(44991),M=n(5493);const O="mr1I_jdkzY",T=function(e){var t,n,i,a,o,c,s,l,u,v,g,b=(0,m.wA)(),E=e.product,w=(0,m.Pj)(),T=(0,p.Bd)("categorySoftware").t,$=(0,r.useMemo)(function(){return!(0,f.isNull)(E.pricesModel.specialGrossPrice)&&E.pricesModel.grossPrice-E.pricesModel.specialGrossPrice>0},[E.pricesModel.grossPrice,E.pricesModel.specialGrossPrice]),x=function(){return(0,S.BT)((0,A.WI)(w,E,C.d.ProductComparison))},P=!(!E.productAvailability.maxQuantitySoldLimit||!E.productAvailability.alreadySold)&&E.productAvailability.maxQuantitySoldLimit-E.productAvailability.alreadySold,L=null!==(t=E.productAvailability.maxQuantityInBasket)&&void 0!==t&&t,U=E.productAvailability.instockCount+E.productAvailability.instockCountSupplier,j=!(0,N.WJ)(E.productTypeId)||0!==(0,N.Zh)(E.productTypeId,P,L,U);return r.createElement("div",{className:"comparison-tool-slider__slide"},r.createElement("div",{className:"comparison-slide__content"},r.createElement("div",{className:"comparison-slide__delete"},r.createElement("a",{className:"cursor-pointer",onClick:function(e){e.preventDefault();var t=Number(e.currentTarget.dataset.id);b(d.Jz.success(t))},"data-id":E.productId},r.createElement(y.NQl,null))),r.createElement("div",{className:"Q5cF0
27BjSu"},r.createElement(M.default,{onClick:x,as:(0,D.c)((0,I.cO)(E.relativeUrl)),anchorProps:{className:"comparison-slide__img mb-40 mb-mobile-10"}},r.createElement("img",{loading:"lazy",src:null===(n=E.pictureModel)||void 0===n?void 0:n.miniatureUrl,alt:null!==(i=null===(a=E.pictureModel)||void 0===a?void 0:a.alt)&&void 0!==i?i:"produkt"}))),r.createElement(M.default,{onClick:x,as:(0,D.c)((0,I.cO)(E.relativeUrl)),anchorProps:{className:"comparison-slide__title h5 mb-10 mb-mobile-10"}},r.createElement("span",{className:"vQ2qU7FXF1"},E.productName)),r.createElement("div",{className:O},r.createElement("div",{className:h()("summary-flex-col-top","GSk62m4wVg")},r.createElement("div",{className:h()(O,"product-list__price product-list__price-md-right align-right")},$&&r.createElement("span",{className:"f-12 old-price"},r.createElement(k.A,{value:E.pricesModel.grossPrice,currency:E.pricesModel.currencySymbol})),r.createElement(k.A,{value:null!==(o=E.pricesModel.specialGrossPrice)&&void 0!==o?o:E.pricesModel.grossPrice,small:!0,currency:E.pricesModel.currencySymbol}),r.createElement("span",{className:"d-block small-default"},r.createElement(k.A,{value:null!==(c=E.pricesModel.specialNetPrice)&&void 0!==c?c:E.pricesModel.netPrice,currency:E.pricesModel.currencySymbol,withoutVat:!0})))),r.createElement("div",{className:"mt-30"},j?r.createElement(_.A,{idProduct:E.productId,productName:E.productName,productImg:null===(s=E.pictureModel)||void 0===s?void 0:s.url,quantity:1,deliveryStatusId:null===(l=E.productAvailability)||void 0===l?void 0:l.deliveryStatusId,instockCount:null===(u=E.productAvailability)||void 0===u?void 0:u.instockCount,instockCountSupplier:null===(v=E.productAvailability)||void 0===v?void 0:v.instockCountSupplier,productTypeId:E.productTypeId,plannedDeliveryDate:null===(g=E.productAvailability)||void 0===g?void 0:g.plannedDeliveryDate,isInLi:!1}):r.createElement("p",null,T("notificationsTitle"))))))};var $=n(97372),x=n(61629);const P=function(e){var t=(0,p.Bd)("productCompare").t,n=(0,$.A)().isCXP;return r.createElement(M.default,{as:e.activeCategoryUrl?(0,D.c)((0,I.cO)(e.activeCategoryUrl)):n?x.Dc:x.ML,anchorRedirection:!1,disabled:e.isDisabled},r.createElement("div",{title:e.isDisabled?t("isFull"):void 0,className:h()("comparison-tool-slider__slide comparison-slider__slide--add","wbBkU3GTvu",(0,a.A)({},"d5bZDcFNyA",e.isDisabled))},r.createElement("div",{className:"comparison-slide__content h-100"},r.createElement("i",{className:"plus-icon"}),r.createElement("div",{className:"comparison-slider__slide--add"},t("comparePage.addProduct")))))};var L=n(4589);var U=n(10016),j=n(55322),F=["ref"];const B=function(e){var t,n,a=e.ref,o=(0,w.A)(e,F),c=(0,m.d4)(j.os).length===U.gC;return r.createElement("div",{key:"comparison-tool-slider",className:"comparison-tool-slider"},r.createElement(L.A,(0,i.A)({className:"dapEE9Gqcs",ref:a},o.sliderSettings,{onReInit:o.onInitSliderBox,asNavFor:null!==(t=null===(n=o.tableSliderRef)||void 0===n?void 0:n.current)&&void 0!==t?t:void 0}),o.products.map(function(e){return r.createElement(T,{key:"product-box-".concat(e.productId),product:e})}),r.createElement(P,{activeCategoryUrl:o.activeCategoryUrl,isDisabled:c})))},V=function(e){var t=e.products,n=e.sliderBoxRef,a=e.tableRef,o=e.comparisonBoxRef,c=e.sliderSettings,s=e.onInitSliderBox,l=e.firstVisibleIndex,u=e.lastVisibleIndex,d=e.totalCount,f=e.isMoreThanOneCategory,m=e.activeCategoryId,p=e.onCompare,v=e.activeCategoryUrl,y=e.tableSliderRef;(0,r.useEffect)(function(){var e=function(){if(o.current&&null!=a&&a.current){var e=o.current,t=a.current;if(window.innerHeight<1.75*e.offsetHeight)return e.style.transform="translateY(0)";var n=t.offsetTop+t.offsetHeight-1.5*e.offsetHeight,r=window.scrollY-60<0?0:window.scrollY-140;window.scrollY>n||r<0||(e.style.transform="translateY(".concat(r,"px)"))}};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}},[o,a]);var g={sliderSettings:c,products:t,onInitSliderBox:s,isMoreThanOneCategory:f,activeCategoryId:m,activeCategoryUrl:v,tableSliderRef:y},b={firstVisibleIndex:l,lastVisibleIndex:u,totalCount:d,onCompare:p};return r.createElement("div",{ref:o,className:h()("comparison-tool-box-container-box","NPF9kxaDXx")},r.createElement("div",{className:"comparison-tool-box product-details-nav",id:"c
2omparison-tool-box--sticky"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-12 lg_col-3"},r.createElement(E,b)),r.createElement("div",{className:"col-12 lg_col-9"},r.createElement(B,(0,i.A)({ref:n},g))))))},Y="w54XxDbfNT",R=function(e){return r.createElement("div",{className:"table-slider__slide"},r.createElement("table",{className:"comparison-table"},r.createElement("tbody",null,Array(e.attributesLength).fill(0).map(function(e,t){return r.createElement("tr",{key:"empty-column-row-".concat(t)},r.createElement("td",null))}))))};var G=n(10900),H=n(15909),z=n(63815),X=["ref"];const W=function(e){var t=e.ref,n=(0,w.A)(e,X),o=(0,r.useMemo)(function(){return(0,f.map)(n.products,function(e){var t={productId:e.productId,attributes:[]};return(0,f.map)(n.attributes,function(n){if(U.be===n.value||U.xm===n.value)t.attributes.push({title:n.name,apps:(0,f.map)(e.productAttributesDifference[n.value],function(e){return{value:e.attribute,hasDifference:e.hasDifference}}),type:n.value});else{var r=(0,f.find)(e.productAttributesDifference.common,function(e){return e.attribute.name===n.name});t.attributes.push({title:n.name,value:(null==r?void 0:r.attribute.value)||"-",hasDifference:null==r?void 0:r.hasDifference,type:U.gU})}}),t})},[n.attributes,n.products]);return r.createElement(L.A,(0,i.A)({className:h()("table-slider","Pgf5Stwdeb"),ref:t},n.sliderSettings,{arrows:!1,swipe:!1}),o.map(function(e){return r.createElement("div",{key:"table-product-".concat(e.productId),className:"table-slider__slide"},r.createElement("table",{className:h()("comparison-table")},r.createElement("tbody",null,e.attributes.map(function(t,i){var o,c;return r.createElement("tr",{key:"table-product-attr-".concat(e.productId,"-").concat(i),className:"comparison-table__tr"},t.type===U.gU?r.createElement("td",{className:h()("comparison-table__td",(0,a.A)({},Y,t.hasDifference&&n.isCompare)),"data-title":t.title},(0,G.Ay)(null!==(o=null==t?void 0:t.value)&&void 0!==o?o:H.Nj)):r.createElement("td",{className:h()("v-top comparison-table__td"),"data-title":t.title},null!==(c=t.apps)&&void 0!==c&&c.length?r.createElement("div",{className:"comparison-table__apps px-10"},t.apps.map(function(t,i){return r.createElement("div",{key:"table-product-attr-apps-".concat(e.productId,"-").concat(i),className:"comparison-table__app mb-10"},r.createElement("span",{className:h()("app-icon sprite-main",z.X.includes(t.value)?"".concat(t.value,"-icon"):t.value)}),r.createElement("span",{className:h()("app-name",(0,a.A)({},Y,t.hasDifference&&n.isCompare))},(0,f.upperFirst)(t.value)))})):"-"))}))))}),r.createElement(R,{attributesLength:n.attributes.length}))},Q=function(e){var t,n=e.products,i=e.tableSliderRef,a=e.isCompare,o=e.sliderSettings,c=(0,p.Bd)("productCompare").t,s=(0,r.useRef)(null),l=(0,r.useCallback)(function(e){var t,r,i=(0,f.maxBy)(n,function(t){return t.productAttributesDifference[e].length});return(null!==(t=null==i||null===(r=i.productAttributesDifference[e])||void 0===r?void 0:r.length)&&void 0!==t?t:0)>0},[n]),u=(0,r.useMemo)(function(){var e=(0,f.map)(n,function(e){return e.productAttributesDifference.common}).flat(1),t=(0,f.uniqBy)(e.map(function(e){var t=e.attribute;return{name:t.name,value:t.order}}),"name"),r=l(U.be),i=l(U.xm);return r&&t.push({name:c("comparePage.table.apps"),value:U.be}),i&&t.push({name:c("comparePage.table.onlineApps"),value:U.xm}),t},[l,n,c]),d=(0,r.useCallback)(function(){(0,f.map)(u,function(e,t){var n,r=null,a=0,o=null===(n=i.current)||void 0===n?void 0:n.innerSlider.track.node.children;s.current&&(r=s.current.children[0].children[t]),r&&(r.style.height="auto",a=r.clientHeight),(0,f.map)(o,function(e){var n=e.firstChild.firstChild.firstChild.firstChild.children[t];n.style.height="auto",n.clientHeight>a&&(a=n.clientHeight)}),r&&(r.style.height="".concat(a,"px")),(0,f.map)(o,function(e){e.firstChild.firstChild.firstChild.firstChild.children[t].style.height="".concat(a,"px")})})},[u,i]);return(0,r.useEffect)(function(){return window.addEventListener("resize",d),function(){window.removeEventListener("resize",d)}},[d]),(0,r.useEffect)(function(){u&&d()},[u,null===(t=i.current)||void 0===t?void 0:t.innerSlider,d,a]),r.createElement("div",{className:"comparison-tool-table pb-50 comparison-tool-table--top"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-12 lg_col-3"},r.createElement("table",{ref:s,className:"comparison-table comparison-table--info"},r.createElement("tbody",null,u.map(function(e,t){return r.createElement("tr",{key:"c
2omparison-attr-".concat(t),className:"comparison-table__tr"},r.createElement("td",{className:"comparison-table__td"},e.name))})))),r.createElement("div",{className:"col-12 lg_col-9"},r.createElement(W,{sliderSettings:o,attributes:u,products:n,isCompare:a,ref:i}))))};var q=n(49108),Z=n(79235);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach(function(t){(0,a.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ee(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function a(n,r,i,a){var s=r&&r.prototype instanceof c?r:c,l=Object.create(s.prototype);return te(l,"_invoke",function(n,r,i){var a,c,s,l=0,u=i||[],d=!1,f={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,n){return a=t,c=0,s=e,f.n=n,o}};function m(n,r){for(c=n,s=r,t=0;!d&&l&&!i&&t<u.length;t++){var i,a=u[t],m=f.p,p=a[2];n>3?(i=p===r)&&(s=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=e):a[0]<=m&&((i=n<2&&m<a[1])?(c=0,f.v=r,f.n=a[1]):m<p&&(i=n<3||a[0]>r||r>p)&&(a[4]=n,a[5]=r,f.n=p,c=0))}if(i||n>1)return o;throw d=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(d&&1===u&&m(u,p),c=u,s=p;(t=c<2?e:s)||!d;){a||(c?c<3?(c>1&&(f.n=-1),m(c,s)):f.n=s:f.v=s);try{if(l=2,a){if(c||(i="next"),t=a[i]){if(!(t=t.call(a,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,c<2&&(c=0)}else 1===c&&(t=a.return)&&t.call(a),c<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),c=1);a=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==o)break}catch(t){a=e,c=1,s=t}finally{l=1}}return{value:t,done:d}}}(n,i,a),!0),l}var o={};function c(){}function s(){}function l(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(te(t={},r,function(){return this}),t),d=l.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,te(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=l,te(d,"constructor",l),te(l,"constructor",s),s.displayName="GeneratorFunction",te(l,i,"GeneratorFunction"),te(d),te(d,i,"Generator"),te(d,r,function(){return this}),te(d,"toString",function(){return"[object Generator]"}),(ee=function(){return{w:a,m:f}})()}function te(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}te=function(e,t,n,r){function a(t,n){te(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},te(e,t,n,r)}const ne=function(){var e,t,n,a,v=(0,m.Pj)(),h=(0,m.wA)(),y=(0,p.Bd)("productCompare").t,g=(0,r.useState)(!1),E=(0,c.A)(g,2),w=E[0],C=E[1],S=(0,r.useState)([0,0]),A=(0,c.A)(S,2),I=A[0],D=A[1],_=(0,r.useState)(null),k=(0,c.A)(_,2),N=k[0],M=k[1],O=(0,r.useState)(null),T=(0,c.A)(O,2),$=T[0],x=T[1],P=(0,m.d4)(function(e){return e}),L=P.app.productsCompare,U=P.pageData.productComparisonPageData,j=P.userSetting,F=j.currencySetting.currency,B=j.languageSetting.language,Y=j.marketLanguageId,R=(0,r.useRef)(null),G=(0,r.useRef)(null),H=(0,r.useRef)(null),z=(0,r.useRef)(null),X=(0,r.useMemo)(function(){return(0,f.groupBy)($,function(e){return e.categoryId})},[$]),W=(0,r.useMemo)(function(){return(0,f.keys)((0,f.groupBy)(L,function(e){return e.categoryId})).length>1},[L]),K=(0,r.useMemo)(function(){return(0,f.flatten)((0,f.map)($,function(e){return e.productComparisons}
2))},[$]),te=(0,r.useMemo)(function(){var e,t;return(null===(e=(0,f.find)($,function(e){return e.categoryId===N}))||void 0===e?void 0:e.categoryUrl)||(null!=$&&$.length?null===(t=$[$.length-1])||void 0===t?void 0:t.categoryUrl:null)},[N,$]),ne=(0,r.useMemo)(function(){var e,t=N?null==$||null===(e=$.find(function(e){return e.categoryId===N}))||void 0===e?void 0:e.productComparisons:K;return(0,f.filter)(t,function(e){return-1!==(0,f.findIndex)(L,function(t){return t.productId==(null==e?void 0:e.productId)})})},[N,K,L,$]),re=function(e){var t,n;null==R||null===(t=R.current)||void 0===t||t.slickGoTo(e||0,!0),null==z||null===(n=z.current)||void 0===n||n.slickGoTo(e||0,!0)},ie=(0,r.useCallback)((0,o.A)(ee().m(function e(){var t,n,r;return ee().w(function(e){for(;;)switch(e.n){case 0:return h(u.F6.success({isLoading:!0})),t=L.filter(function(e){return N?N===e.categoryId:e}).map(function(e){return e.detailsId}),e.n=1,(0,s.be)({currencyId:null==F?void 0:F.id,languageId:null==B?void 0:B.defaultLanguageId,marketLanguageId:Y,productDetailsIds:t});case 1:(n=e.v).forEach(function(e){var t=e.productComparisons.filter(function(t){return t.categoryId===e.categoryId});e.productComparisons=t}),(r=(0,f.uniq)(n.map(function(e){return e.productComparisons.map(function(e){return e.productId})})).reduce(function(e,t){return e.concat(t)})).length<t.length&&L.filter(function(e){return!r.includes(e.productId)}).map(function(e){return e}).forEach(function(e){h(d.Jz.success(e.productId)),q.P.info(y("productRemoved",{product:e.name}))}),h(u.F6.success({isLoading:!1})),x(n),0===n.filter(function(e){return e.categoryId===N}).length&&M(null);case 2:return e.a(2)}},e)})),[N,F,B,h,Y,L,y]),ae=(0,r.useCallback)(function(){var e,t,n,r,i=null==R||null===(e=R.current)||void 0===e||null===(t=e.innerSlider)||void 0===t||null===(n=t.track)||void 0===n||null===(r=n.node)||void 0===r?void 0:r.children;if(i){var a=(0,f.findIndex)(i,function(e){return(0,f.includes)(e.classList,"slick-active")})+1,o=i.length&&i.length-1,c=null!=ne&&ne.length?a:0,s=o||(null!=ne&&ne.length?1:0);I[0]===c&&I[I.length-1]===s||D([c,s])}},[null==ne?void 0:ne.length,I]);(0,r.useEffect)(function(){ie()},[ie]),(0,r.useEffect)(function(){U||(0,Z.c)(v)},[U,v]),(0,r.useEffect)(function(){if($){var e,t,n,r,i=null==R||null===(e=R.current)||void 0===e||null===(t=e.innerSlider)||void 0===t||null===(n=t.track)||void 0===n||null===(r=n.node)||void 0===r?void 0:r.children;i&&re((0,f.findIndex)(i,function(e){return(0,f.includes)(e.classList,"slick-active")}))}},[$]);var oe={dots:!1,infinite:!1,speed:500,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:768,settings:{slidesToShow:1!==ne.length?2:1}},{breakpoint:769,settings:{slidesToShow:1!==ne.length?3:1}}]},ce={products:ne,sliderSettings:oe,tableSliderRef:z},se=J(J({},ce),{},{activeCategoryId:N,activeCategoryUrl:te,comparisonBoxRef:G,firstVisibleIndex:I[0],lastVisibleIndex:I[I.length-1],totalCount:null==ne?void 0:ne.length,tableRef:H,sliderBoxRef:R,onInitSliderBox:function(){return ae()},isMoreThanOneCategory:W,onCompare:function(e){return C(e)}}),le={activeCategoryId:N,categoryGroups:X,isMoreThanOneCategory:W,setActiveCategoryId:function(e){M(e),re()},onClearAll:function(e){e.preventDefault(),h(d.sv.success()),x(null)}};return r.createElement(r.Fragment,null,r.createElement(l.A,{metaTitle:null==U||null===(e=U.metaTags)||void 0===e?void 0:e.metaTitle,metaDescription:null==U||null===(t=U.metaTags)||void 0===t?void 0:t.metaDescription,keywords:null==U||null===(n=U.metaTags)||void 0===n?void 0:n.metaKeywords}),r.createElement("main",{className:"main main--separator"},r.createElement("div",{className:"comparison-tool mt-50"},r.createElement("div",{className:"wrap",style:{position:"relative"}},r.createElement(b,le),r.createElement(V,se),r.createElement("div",{ref:H,style:{paddingTop:G?null==G||null===(a=G.current)||void 0===a?void 0:a.offsetHeight:0}},r.createElement(Q,(0,i.A)({},ce,{isCompare:w})))))))},re=function(){return r.createElement(ne,null)}},94291:function(e){e.exports=function(){function e(a,o){if(!(this instanceof e))return new e(a,o);o=Object.assign({},n,o);var c=Math.pow(10,o.precision);this.intValue=a=t(a,o),this.value=a/c,o.increment=o.increment||1/c,o.groups=o.useVedic?i:r,this.s=o,this.p=c}function t(t,n){var r=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],i=n.decimal,a=n.errorOnInvalid,o=n.fromCents,c=Math.pow(10,n.precision),s=t instanceof e;if(s&&o)return t.intValue;if("number"==typeof t||s)i=s?t.value:t;else if("string"==typeof t)a=new RegExp("[^-\\d"+i+"]","g"),i=new RegExp("\\"+i,"g"),i=(i=t.replace(/\((.*)\)/,"-$1").replace(a,"").replace(i,"."))||0;else{if(a)throw Error("Invalid Input");i=0}return o||(i=(i*c).toFixed(4)),r?Math.round(i):i}
2var n={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(e,t){var n=t.pattern,r=t.negativePattern,i=t.symbol,a=t.separator,o=t.decimal;t=t.groups;var c=(""+e).replace(/^-/,"").split("."),s=c[0];return c=c[1],(0<=e.value?n:r).replace("!",i).replace("#",s.replace(t,"$1"+a)+(c?o+c:""))},fromCents:!1},r=/(\d)(?=(\d{3})+\b)/g,i=/(\d)(?=(\d\d)+\d\b)/g;return e.prototype={add:function(n){var r=this.s,i=this.p;return e((this.intValue+t(n,r))/(r.fromCents?1:i),r)},subtract:function(n){var r=this.s,i=this.p;return e((this.intValue-t(n,r))/(r.fromCents?1:i),r)},multiply:function(t){var n=this.s;return e(this.intValue*t/(n.fromCents?1:Math.pow(10,n.precision)),n)},divide:function(n){var r=this.s;return e(this.intValue/t(n,r,!1),r)},distribute:function(t){var n=this.intValue,r=this.p,i=this.s,a=[],o=Math[0<=n?"floor":"ceil"](n/t),c=Math.abs(n-o*t);for(r=i.fromCents?1:r;0!==t;t--){var s=e(o/r,i);0<c--&&(s=s[0<=n?"add":"subtract"](1/r)),a.push(s)}return a},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(e){var t=this.s;return"function"==typeof e?e(this,t):t.format(this,Object.assign({},t,e))},toString:function(){var e=this.s,t=e.increment;return(Math.round(this.intValue/this.p/t)*t).toFixed(e.precision)},toJSON:function(){return this.value}},e}()}}]);
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.