Croma Electronics | Online Electronics Shopping


{x.push(`${e}_${z[e]}`)}),”image”===e&&config.imgSettings&&config.imgSettings[p]&&config.imgSettings[p].length&&x.push(…config.imgSettings[p]),config.disableAutoResize||z.w||z.h||x.push(`mxw_${_}`),c&&x.push(c),config.format&&x.push(`f_${config.format}`);var I=x.join(“,”);return`${config.mLinkBaseUrl}/${config.clientId}/${g}/${I}${f}`}function p(e,t){var i=”image”===e?we:ye;return`${config.mLinkBaseUrl}/${config.clientId}/${e}/m_blur${i?`,${i}`:””}/${t}`}function h(e){if(e.hasAttribute(“data-speedsize-src”)||e.hasAttribute(“data-speedsize-srcset”)){if(e.hasAttribute(“data-speedsize-srcset”)&&(e.srcset=e.getAttribute(“data-speedsize-srcset”)),e.hasAttribute(“data-speedsize-src”)&&(e.src=f(“image”,e.getAttribute(“data-speedsize-src”),e.getAttribute(“data-speedsize-width”),null,e.getAttribute(“data-speedsize-params”))),e.hasAttribute(“data-speedsize-width”)){const t=e.getAttribute(“data-speedsize-width”);t&&e.setAttribute(“width”,t)}if(e.hasAttribute(“data-speedsize-height”)){const t=e.getAttribute(“data-speedsize-height”);t&&e.setAttribute(“height”,t)}e.setAttribute(“data-processed”,”true”)}}function b(e){if(e=te[te.length-1])return te[te.length-1];for(var t=te.length-2;t>=0;t–)if(e>=te[t])return te[t+1]}function m(e){if(!e||0===e.indexOf(“data:image”))return!1;var t=new URL(e,s).hostname;return t===d||!t.endsWith(window.location.hostname)&&0!==e.indexOf(window.location.origin)}function v(e){if(!e)return null;var t=parseInt(e,10);return e.endsWith(“px”)?t:e.endsWith(“vw”)?parseInt(t*c/100,10):e.endsWith(“vh”)?parseInt(t*g/100,10):null}function A(e){if(!e||”string”!=typeof e)return null;for(var t=null,i=e.split(“,”),r=0;r=0&&i.top0?h(e):(t.blurredPlaceholders&&(e.src=p(“image”,e.getAttribute(“data-speedsize-src”)),e.addEventListener(“error”,L,{once:!0})),e.isObserved=!0,Ae.observe(e))}));h(e)}else h(e)}}}else window.IntersectionObserver&&t&&!t.native&&(e.isObserved=!0,Ae.observe(e))}function O(e){for(var t=[],i=e;i.indexOf(“url(“)>=0;){var r=i.indexOf(“url(“);if(-1===r)return null;var n=r+”url(“.length,a=i.indexOf(“)”,n),s=i.substring(n,a);if(‘”‘!==s.charAt(0)&&”‘”!==s.charAt(0)||(s=s.substring(1,s.length-1)),0!==s.indexOf(“data:”)&&t.push(s),i=i.substring(a+1),-1===a)break}return t}function z(e,t,i){var r=t||”image”;if(!e)return””;if(e.indexOf(config.mLinkBaseUrl)>=0)return e;for(var n=e.split(“,”),a=0;a=0&&(n.w=a.width.replace(“px”,””),s=!0),a.height.indexOf(“px”)>=0&&(n.h=a.height.replace(“px”,””),s=!0),s&&(n.c=”auto”)}for(var d=t,c=0;c=0&&(t.w=i.width.replace(“px”,””),n=!0),i.height.indexOf(“px”)>=0&&(t.h=i.height.replace(“px”,””),n=!0),n&&(t.c=”auto”)}if(300===(r=Number(r)))return e.setAttribute(“poster”,re),void window.requestAnimationFrame(function(){var i=window.getComputedStyle(e).width.replace(“px”,””);if(i=Number(i),e.src=f(“video”,e.getAttribute(“data-speedsize-src”),parseInt(i,10),t,e.getAttribute(“data-speedsize-params”)),e.hasAttribute(“data-speedsize-poster”)){var r=f(“image”,e.getAttribute(“data-speedsize-poster”),parseInt(i,10),null,e.getAttribute(“data-speedsize-params”));e.setAttribute(“poster”,r)}});if(e.src=f(“video”,e.getAttribute(“data-speedsize-src”),parseInt(r,10),t,e.getAttribute(“data-speedsize-params”)),e.hasAttribute(“data-speedsize-poster”)){var a=f(“image”,e.getAttribute(“data-speedsize-poster”),parseInt(r,10),null,e.getAttribute(“data-speedsize-params”));e.setAttribute(“poster”,a)}}var _,I=window.screen.height;function E(e){if(e.hasAttribute(“src”))return e.getAttribute(“src”);var t=e.querySelectorAll(“source”);if(!t||!t.length)return””;for(var i,r,n,a=t[t.length-1].src,s=0;s=e&&i=e}function D(){return!!S(“Microsoft Edge”)||ne.includes(“edg”)}function R(e,t=null){var i=S(“Microsoft Edge”);return i=i?parseInt(i,10):parseInt(ne.substring(ne.indexOf(“edg”)).split(“/”)[1],10),t?i>=e&&i=e}function B(){return!(!ne.includes(“safari”)||ne.includes(“chrome”)||ne.includes(“crios”))}function H(){return B()&&ne.includes(“macintosh”)}function T(e,t=null){var i=parseInt(ne.substring(ne.indexOf(“version”)).split(“/”)[1],10);return t?i>=e&&i=e}function j(){return ne.includes(“iphone”)||ne.includes(“ipad”)||ne.includes(“macintosh”)}function $(){return ne.includes(“android”)}function V(){return B()&&(ne.includes(“iphone”)||ne.includes(“ipad”))}function G(){return ne.includes(“crios”)}function F(e,t=null){var i=parseInt(ne.split(” os”)[1],10)||parseInt(ne.split(” os x”)[1],10);return t?i>=e&&i=e}function K(){if(S(“Google Chrome”))return!0;var e=navigator.vendor&&navigator.vendor.toLowerCase();return!P()&&!M()&&!D()&&!B()&&(“google inc.”===e||ne.includes(“chrome”)&&$())}function q(e,t=null){var i=S(“Google Chrome”);return i=i?parseInt(i,10):parseInt(ne.substring(ne.indexOf(“chrome”)).split(“/”)[1],10),t?i>=e&&i=e}function Q(){return D()?R(18):M()?U(65):P()?W(19):!(!V()&&!G())&&F(14)}function J(){return!!D()&&R(12,18)}function X(){return H()?T(5):!(!V()&&!G())&&F(5)}function Z(){return H()?T(13):!(!V()&&!G())&&F(11)}function Y(){return D()?R(79):M()?U(28):P()?W(16):!!K()&&q(25)}function ee(){return!M()||j()||$()?P()?W(57):!(!K()||$())&&q(70):U(67)}window.IntersectionObserver&&(_=new window.IntersectionObserver(function(e){for(var t=0;t{navigator.serviceWorker&&navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({type:”DISABLE_WORKER”}),Me(),e&&e.disconnect()},De=()=>{var e=e=>(function(){var t=arguments;if(“IMG”!==this.tagName||config.skipSrcHookIfNotConnected&&!this.isConnected||”src”!==t[0]&&(“data-src”!==t[0]||config.ignoreDataAttributes)||!t[1]||0===t[1].indexOf(config.mLinkBaseUrl)||0===t[1].indexOf(“data:image”)||m(t[1])&&!l(t[1]))”VIDEO”!==this.tagName||config.skipSrcHookIfNotConnected&&!this.isConnected||”poster”!==t[0]&&”data-poster”!==t[0]||config.ignoreDataAttributes||!t[1]||0===t[1].indexOf(config.mLinkBaseUrl)||0===t[1].indexOf(“data:image”)||m(t[1])&&!l(t[1])?config.skipSrcHookIfNotConnected&&!this.isConnected||”VIDEO”!==this.tagName||”src”!==t[0]&&”data-src”!==t[0]||config.ignoreDataAttributes||!t[1]||0===t[1].indexOf(config.mLinkBaseUrl)||m(t[1])&&!l(t[1])||(t[1]=f(“video”,t[1],this.getAttribute(“width”),null,this.getAttribute(“data-speedsize-params”)),this.speedsize=!0):(t[1]=f(“image”,t[1],this.getAttribute(“width”),null,this.getAttribute(“data-speedsize-params”)),this.speedsize=!0);else{var i=w(this);i&&i.native&&!i.eagerShowNotConnected&&!this.hasAttribute(“loading”)&&this.setAttribute(“loading”,”lazy”);var r=this.getAttribute(“width”);t[1]=f(“image”,t[1],r,null,this.getAttribute(“data-speedsize-params”)),this.speedsize=!0}return e.apply(this,t)});Element.prototype.setAttribute=e(Oe),Element.prototype.setAttributeNS=e(ze);var t=e=>(function(){var t=arguments,i=t[0];return 1!==i.nodeType?e.apply(this,t):(“PICTURE”===i.tagName?$e(i):”IMG”===i.tagName?y(i):”VIDEO”===i.tagName?config.enableVideoAutocrop&&!i.isConnected||N(i):Ve(i)&&x(i),e.apply(this,t))});function i(e,t,i){if(String.prototype.replaceAll)return e.replaceAll(t,i);var r=new RegExp(t,”g”);return e.replace(r,i)}if(Element.prototype.appendChild=t(xe),Element.prototype.insertBefore=t(ke),Object.defineProperty(HTMLImageElement.prototype,”src”,{configurable:!0,enumerable:!0,__proto__:_e.__proto__,get:Ee,set:function(){var e=arguments;if(“IMG”===this.tagName&&(!config.skipSrcHookIfNotConnected||this.isConnected)&&e[0]&&0!==e[0].indexOf(config.mLinkBaseUrl)&&0!==e[0].indexOf(“data:image”)&&(!m(e[0])||l(e[0]))){var t=this.getAttribute(“width”),i=f(“image”,e[0],t,null,this.getAttribute(“data-speedsize-params”)),r=w(this);r&&r.native&&!r.eagerShowNotConnected&&!this.hasAttribute(“loading”)&&this.setAttribute(“loading”,”lazy”),e[0]=i}Ie.apply(this,e)}}),Object.defineProperty(HTMLMediaElement.prototype,”src”,{configurable:!0,enumerable:!0,__proto__:Ce.__proto__,get:Le,set:function(){var e=arguments;if(“VIDEO”===this.tagName&&e[0]&&0!==e[0].indexOf(config.mLinkBaseUrl)&&(!m(e[0])||l(e[0]))){var t=this.getAttribute(“width”),i=f(“video”,e[0],t,null,this.getAttribute(“data-speedsize-params”));e[0]=i}Ne.apply(this,e)}}),config.innerHtmlHook){function r(e){for(var t=[],i=[],r=e.indexOf(“src”);r>=0;){var n,a=e.indexOf(“‘”,r),s=e.indexOf(‘”‘,r),o='”‘;if(-1===s&&-1===a)break;s>=0&&-1===a?(o='”‘,n=s):a>=0&&-1===s?(o=”‘”,n=a):s=0||n.indexOf(‘style=”background: url(‘)>=0)){for(var{srcUrls:a,srcsetUrls:s}=function(e){for(var t=”=0;){var o=s+t.length,d=i.indexOf(“>”,o),c=i.substring(s,d+1);if(-1===c.indexOf(“data-processed”)){var{srcs:g,srcsets:l}=r(c);n.push(…g),a.push(…l)}s=(i=i.substring(d+1)).indexOf(t)}t=’style=”background: url(‘;for(var u=(i=e).indexOf(t);u>=0;){d=i.indexOf(“)”,u);var f=O(i.substring(u,d+1));f&&f.length&&n.push(…f),u=(i=i.substring(d+1)).indexOf(t)}return{srcUrls:n,srcsetUrls:a}}(n),d=Array.from(new Set(a)),c=Array.from(new Set(s)),g=0;g{navigator.serviceWorker&&navigator.serviceWorker.controller?navigator.serviceWorker.controller.postMessage({type:”ENABLE_WORKER”}):navigator.serviceWorker&&!config.disableWorker&&be(),De(),e&&e.observe(document.body,{childList:!0,subtree:!0})};function Be(e){var t=!0,i=!0;if(config.allowedPaths&&config.allowedPaths.length){i=!1;for(var r=0;r=0&&e.getAttribute(“style”).indexOf(“url(“)>=0}function Ge(e){for(var t=0;t timeout) { if (timeoutFn) { timeoutFn(); } } totalTime += delay; setTimeout(resultFn, delay); }; resultFn(); } const timeout = 2000; function identify() { if (typeof window._fs_identity === ‘function’) { const userVars = window._fs_identity(); if (typeof userVars === ‘object’ && typeof userVars.uid === ‘string’) { fs(‘setUserVars’)(userVars); fs(‘restart’)(); } else { fs(‘log’)(‘error’, ‘FS.setUserVars requires an object that contains uid’); } } else { fs(‘log’)(‘error’, ‘window[“_fs_identity”] function not found’); } } fs(‘shutdown’)(); waitUntil(window._fs_identity, identify, timeout, fs(‘restart’)); }()); ]]> Croma Electronics | Online Electronics Shopping | Buy Electronics Online 0)if(e&&”performance”in e&&e.performance&&”function”==typeof e.performance.setResourceTimingBufferSize)e.performance.setResourceTimingBufferSize();!function(){if(BOOMR=e.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.AK){var n=””==”true”?1:0,t=””,a=”m6me6pixfyeyczbjg3ha-f-295e88edd-clientnsv4-s.akamaihd.net”,i=”false”==”true”?2:1,o={“ak.v”:”34″,”ak.cp”:”1158852″,”ak.ai”:parseInt(“690600″,10),”ak.ol”:”0″,”ak.cr”:5,”ak.ipv”:4,”ak.proto”:”h2″,”ak.rid”:”31e8f2b7″,”ak.r”:35677,”ak.a2″:n,”ak.m”:”dsca”,”ak.n”:”essl”,”ak.bpcip”:”103.152.79.0″,”ak.cport”:46230,”ak.gh”:”23.46.9.125″,”ak.quicv”:””,”ak.tlsv”:”tls1.3″,”ak.0rtt”:””,”ak.csrc”:”-“,”ak.acc”:””,”ak.t”:”1680422606″,”ak.ak”:”hOBiQwZUYzCg5VSAfCLimQ==LNZMHeGXpAG9R6I7pILtCMu6QduTmr5TKfj/e5R2zipr99rmKHd9TC2Mx4jRvHhPUvcjjR2NWcXkQQibqZWlZq3M9xIAgkG3DlRhrCC011FT7CEqvfCX6PuCvCqT3vL2jA9L35sGYQS4VnixrljTYUUZ/3va1e+IjFoBdspsK+bPTWjTGq+Yt3LIgCIHBalczBbnvmevj6ZCXqsBNDcDXIDAfyoii6kfC42Uwsu0i95WNLD3z26Vj5Ktrf4zbVTz4WVrteCaKIikjGJ9ilOvHceJjwQxFKb5Z0s3nLMSNTGZCOnqRnZlqV/WmzB4FvU+7d399FL+uPR0Q66TCgIt8LgNYe8gTKaU0OVyPa0Yg6q9YkEYvgBrp71rycMfA35yUuZKodAXVIaFYwQSdxc57Hoytmv0N/JrmokzfeklQR4=”,”ak.pv”:”231″,”ak.dpoabenc”:””,”ak.tf”:i};if(“”!==t)o[“ak.ruds”]=t;var r={i:!1,av:function(n){var t=”http.initiator”;if(n&&(!n[t]||”spa_hard”===n[t]))o[“ak.feo”]=void 0!==e.aFeoApplied?1:0,BOOMR.addVar(o)},rv:function(){var e=[“ak.bpcip”,”ak.cport”,”ak.cr”,”ak.csrc”,”ak.gh”,”ak.ipv”,”ak.m”,”ak.n”,”ak.ol”,”ak.proto”,”ak.quicv”,”ak.tlsv”,”ak.0rtt”,”ak.r”,”ak.acc”,”ak.t”,”ak.tf”];BOOMR.removeVar(e)}};BOOMR.plugins.AK={akVars:o,akDNSPreFetchDomain:a,init:function(){if(!r.i){var e=BOOMR.subscribe;e(“before_beacon”,r.av,null,null),e(“onbeacon”,r.rv,null,null),r.i=!0}return this},is_complete:function(){return!0}}}}()}(window);]]> { item.addEventListener(‘click’, event => { event.preventDefault(); if(event.target.parentElement.className!==’carousel__snapper’){ typeof(window) !== ‘undefined’ && typeof window.openConnectToStoreModal === ‘function’ && window.openConnectToStoreModal(‘Product’,”); } }) }) } ]]> { if (document.getElementsByClassName(“bs-content”).length > 0) { document.getElementsByClassName(“bs-content”)[0].innerHTML = ”; location.reload() clearInterval(myInterval) } }, 1); } }); ]]> -1 && navigator.userAgent && navigator.userAgent.indexOf(‘CriOS’) === -1 && navigator.userAgent.indexOf(‘FxiOS’) === -1 && navigator.userAgent.indexOf(‘EdgiOS’) === -1 && navigator.userAgent.indexOf(‘OPT’) === -1; } function shopWithVideoScript() { const script = document.createElement(“script”); script.src = “/assets/js/shopWithVideo.min.js”; document.head.append(script); script.onload = function() { appendShopWithHtml(); }; } setTimeout(shopWithVideoScript,6000) ]]> Source

Back To Top