",Sc='',Pc='',Oc=0,Qc=150,ad=1E4;function bd(){this.ba=[];this.Ca={}}w(bd,ra);n=bd.prototype;n.je=1;n.uc=0;function cd(a,b,c){var d=a.Ca["/offline"];d||(d=a.Ca["/offline"]=[]);var e=a.je;a.ba[e]="/offline";a.ba[e+1]=b;a.ba[e+2]=c;a.je=e+3;d.push(e)}n.Qe=function(a){if(0!=this.uc)return this.Mb||(this.Mb=[]),this.Mb.push(a),l;var b=this.ba[a];if(b){var c=this.Ca[b];c&&Ka(c,a);delete this.ba[a];delete this.ba[a+1];delete this.ba[a+2]}return!!b}; n.lg=function(a,b){var c=this.Ca[a];if(c){this.uc++;for(var d=Pa(arguments,1),e=0,g=c.length;e';a=a.firstChild;sd=r(a.style.WebkitTransition)||r(a.style.MozTransition)||r(a.style.Ze)}return sd} function ud(a,b){a.style.WebkitTransition=b;a.style.MozTransition=b;a.style.Ze=b};function wd(){}ea(wd);wd.prototype.Tf=0;wd.da();function P(a){this.S=a||gc();this.yc=xd}w(P,F);P.prototype.zf=wd.da();var xd=k;n=P.prototype;n.T=k;n.k=l;n.a=k;n.yc=k;n.w=k;n.o=k;n.Q=k;n.Te=l;function Q(a){return a.T||(a.T=":"+(a.zf.Tf++).toString(36))}function yd(a,b){if(a.w&&a.w.Q){var c=a.w.Q,d=a.T;d in c&&delete c[d];Eb(a.w.Q,b,a)}a.T=b}n.c=m("a");n.i=function(){return this.$a||(this.$a=new M(this))}; function zd(a,b){a==b&&f(Error("Unable to set parent component"));b&&a.w&&a.T&&Ad(a.w,a.T)&&a.w!=b&&f(Error("Unable to set parent component"));a.w=b;P.b.Ad.call(a,b)}n.getParent=m("w");n.Ad=function(a){this.w&&this.w!=a&&f(Error("Method not supported"));P.b.Ad.call(this,a)};n.s=m("S");n.d=function(){this.a=this.S.createElement("div")};n.L=function(a){Bd(this,a)}; function Bd(a,b,c){a.k&&f(Error("Component already rendered"));a.a||a.d();b?b.insertBefore(a.a,c||k):a.S.D.body.appendChild(a.a);(!a.w||a.w.k)&&a.f()}n.sb=function(a){this.k&&f(Error("Component already rendered"));if(a&&this.Rd(a)){this.Te=i;if(!this.S||this.S.D!=ic(a))this.S=gc(a);this.la(a);this.f()}else f(Error("Invalid element to decorate"))};n.Rd=function(){return i};n.la=aa("a");n.f=function(){this.k=i;Cd(this,function(a){!a.k&&a.c()&&a.f()})}; n.oa=function(){Cd(this,function(a){a.k&&a.oa()});this.$a&&Lc(this.$a);this.k=l};n.e=function(){P.b.e.call(this);this.k&&this.oa();this.$a&&(this.$a.g(),delete this.$a);Cd(this,function(a){a.g()});!this.Te&&this.a&&yc(this.a);this.w=this.a=this.Q=this.o=k}; function R(a,b,c){var d=a.o?a.o.length:0;b.k&&(c||!a.k)&&f(Error("Component already rendered"));(0>d||d>(a.o?a.o.length:0))&&f(Error("Child component index out of bounds"));if(!a.Q||!a.o)a.Q={},a.o=[];if(b.getParent()==a){var e=Q(b);a.Q[e]=b;Ka(a.o,b)}else Eb(a.Q,Q(b),b);zd(b,a);Oa(a.o,d,0,b);b.k&&a.k&&b.getParent()==a?(a=a.ec(),a.insertBefore(b.c(),a.childNodes[d]||k)):c?(a.a||a.d(),d=a.o?a.o[d+1]||k:k,Bd(b,a.ec(),d?d.a:k)):a.k&&!b.k&&b.a&&b.f()}n.ec=m("a"); function Dd(a){return!!a.o&&0!=a.o.length}function Ed(a){var b=[];Cd(a,function(a){b.push(Q(a))});return b}function Ad(a,b){return a.Q&&b?(b in a.Q?a.Q[b]:h)||k:k}function Cd(a,b){a.o&&A(a.o,b,h)}n.removeChild=function(a,b){if(a){var c=u(a)?a:Q(a),a=Ad(this,c);if(c&&a){var d=this.Q;c in d&&delete d[c];Ka(this.o,a);b&&(a.oa(),a.a&&yc(a.a));zd(a,k)}}a||f(Error("Child is not in parent component"));return a};n.De=function(a){for(;Dd(this);)this.removeChild(this.o?this.o[0]||k:k,a)};var Fd,Gd; function Hd(){this.X=navigator.userAgent;this.ja=this.Qa=this.ma=k;this.Oa={Od:l,Id:l,Jc:l};if(/android/i.test(this.X))this.ma=Id,this.ja="http://u.pricecheck.com.ng/mtnplay";else if(/ipod|iphone/i.test(this.X))this.ma=Jd,this.ja="http://u.pricecheck.com.ng/mtnapple";else if(/blackberry/i.test(this.X)){if(this.ma=Kd,this.ja="http://u.pricecheck.com.ng/mtnbb7",0<=this.X.indexOf("Version/")){var a=this.X.indexOf("Version/")+8;this.Qa=parseFloat(this.X.substring(a,a+3))}}else/bb10/i.test(this.X)?(this.ma= Kd,this.ja="http://u.pricecheck.com.ng/mtnbb10",0<=this.X.indexOf("Version/")&&(a=this.X.indexOf("Version/")+8,this.Qa=parseFloat(this.X.substring(a,a+3)))):/iemobile/i.test(this.X)?(this.ma=Ld,this.ja="http://u.pricecheck.com.ng/mtnwp"):/Symbian\/3/i.test(this.X)&&(this.ja="http://store.ovi.com/content/339436");"ontouchstart"in document.documentElement&&(this.Oa.Od=i);vd()&&(this.Oa.Id=i);"undefined"!=typeof p.localStorage&&(this.Oa.Jc=i)}Hd.prototype.Cb=function(){return"undefined"!=typeof window.cordova}; var Id="android",Jd="ios",Kd="bb",Ld="wp7";var Md=[];function Nd(){Md.splice(0,2)}function Od(a){for(var b=0;bMath.abs(a.clientX-Md[b])&&25>Math.abs(a.clientY-c)&&(a.preventDefault(),a.stopPropagation())}};function Pd(a,b){a.setAttribute("role",b);a.Eg=b}function Qd(a,b,c){a.setAttribute("aria-"+b,c)};function Rd(a,b,c,d,e){function g(a){a&&(a.tabIndex=0,Pd(a,"tab"),H(a,"goog-zippy-eb"),a&&N(j.pe,a,"click",j.bg),a&&N(j.ke,a,"keydown",j.cg))}this.S=e||gc();this.Xa=this.S.c(a)||k;this.Tc=this.S.c(d||k);this.Wa=(this.ld=ha(b)?b:k)||!b?k:this.S.c(b);this.vb=c==i;this.ke=new M(this);this.pe=new M(this);var j=this;g(this.Xa);g(this.Tc);Sd(this,this.vb)}w(Rd,F);n=Rd.prototype;n.e=function(){Rd.b.e.call(this);ta(this.ke);ta(this.pe)};n.ec=m("Wa");n.collapse=function(){Sd(this,l)}; n.toggle=function(){Sd(this,!this.vb)};function Sd(a,b){a.Wa?O(a.Wa,b):b&&a.ld&&(a.Wa=a.ld());a.Wa&&H(a.Wa,"goog-zippy-a");if(a.Tc)O(a.Xa,!b),O(a.Tc,b);else if(a.Xa){var c=a.Xa;b?H(c,"goog-zippy-expanded"):dc(c,"goog-zippy-expanded");c=a.Xa;!b?H(c,"goog-zippy-collapsed"):dc(c,"goog-zippy-collapsed");Qd(a.Xa,"expanded",b)}a.vb=b;a.dispatchEvent(new Td("toggle",a))}n.cg=function(a){if(13==a.keyCode||32==a.keyCode)this.toggle(),this.dispatchEvent(new E("action",this)),a.preventDefault(),a.stopPropagation()}; n.bg=function(){this.toggle();this.dispatchEvent(new E("action",this))};function Td(a,b){E.call(this,a,b)}w(Td,E);function Ud(a){if("function"==typeof a.ya)return a.ya();if(u(a))return a.split("");if(ga(a)){for(var b=[],c=a.length,d=0;d2*this.m&&Xd(this),i):l};function Xd(a){if(a.m!=a.v.length){for(var b=0,c=0;bb.length){c.push(ge(a)+"(");for(var d=a.arguments,e=0;e=re(this).value){a=this.rf(a,b,c);b="log:"+a.Sf;p.console&&(p.console.timeStamp?p.console.timeStamp(b):p.console.markTimeline&&p.console.markTimeline(b));p.msWriteProfilerMark&&p.msWriteProfilerMark(b);for(b=this;b;){var c=b,d=a;if(c.be)for(var e=0,g=h;g=c.be[e];e++)g(d);b=b.getParent()}}}; n.rf=function(a,b,c){var d=new je(a,""+b,this.oc);if(c){d.Yd=c;var e;var g=arguments.callee.caller;try{var j;var o=ca("window.location.href");if(u(c))j={message:c,name:"Unknown error",lineNumber:"Not available",fileName:o,stack:"Not available"};else{var q,s,G=l;try{q=c.lineNumber||c.Dg||"Not available"}catch(x){q="Not available",G=i}try{s=c.fileName||c.filename||c.sourceURL||o}catch(eb){s="Not available",G=i}j=G||!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.name,lineNumber:q,fileName:s, stack:c.stack||"Not available"}:c}e="Message: "+xa(j.message)+'\nUrl: '+j.fileName+"\nLine: "+j.lineNumber+"\n\nBrowser stack:\n"+xa(j.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+xa(ee(g)+"-> ")}catch(J){e="Exception trying to expose exception! You win, we lose. "+J}d.Xd=e}return d};function se(a,b){a.log(qe,b,h)}var te={},ue=k; function ve(a){ue||(ue=new le(""),te[""]=ue,ue.Ge(pe));var b;if(!(b=te[a])){b=new le(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=ve(a.substr(0,c));c.o||(c.o={});c.o[d]=b;b.w=c;te[a]=b}return b};function we(a){a=""+a;if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x10-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}f(Error("Invalid JSON string: "+a))}function xe(){this.vc=h} function ye(a,b,c){switch(typeof b){case "string":ze(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(b==k){c.push("null");break}if(t(b)){var d=b.length;c.push("[");for(var e="",g=0;gb?e+="000":256>b?e+="00":4096>b&&(e+="0");return Ae[a]=e+b.toString(16)}),'"')};function Ce(){}Ce.prototype.Zb=k;var De;function Ee(){}w(Ee,Ce);function Fe(a){return(a=Ge(a))?new ActiveXObject(a):new XMLHttpRequest}function He(a){var b={};Ge(a)&&(b[0]=i,b[1]=i);return b}Ee.prototype.bd=k; function Ge(a){if(!a.bd&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c":">","\t":" ","\n":" ","\x0B":" ","\u000c":" ","\r":" "," ":" ","-":"-","/":"/","=":"=","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function df(a){return ef[a]}var cf=/[\x00\x22\x26\x27\x3c\x3e]/g;function ff(){return''} function gf(a){return'
'+U(a.name)+"
"+(a.link?'
':"")+"
"};function hf(a){P.call(this,a);this.Wb=[];this.Fa=k}w(hf,P);hf.prototype.d=function(){hf.b.d.call(this);this.a.appendChild(L("h1",{"class":"j-i"},"About"));this.a.appendChild($e(ff,{}));We(Fd+"/data/about.json",v(this.O,this),0,i)};hf.prototype.e=function(){S(this.Wb,function(a){a.g()},this);hf.b.e.call(this)}; hf.prototype.O=function(a){S(a,function(a){var c=T(gf,{name:a.header,link:a.link});this.a.appendChild(c);if(a.content){var d=L("div",{"class":"dc-a"});this.a.appendChild(d);d.innerHTML=a.content;a=new Rd(c,d);this.Wb.push(a);N(this.i(),a,"action",this.td)}},this)};hf.prototype.td=function(a){this.Fa&&this.Fa.collapse();this.Fa=a.currentTarget.vb?a.currentTarget:k};function jf(){return'
Loading...
'};function kf(a){P.call(this,a);this.rc=1;this.hd=10;this.ub=l;this.Vb=k;this.Lb={};this.ra=k;this.xb=l;this.eb=k}w(kf,P);n=kf.prototype;n.d=function(){kf.b.d.call(this);H(this.a,"Qb");this.eb=T(jf,{});this.ub&&(this.a.appendChild(this.eb),lf(this))};n.f=function(){kf.b.f.call(this)};n.ca=function(a){this.ra&&A(a,function(a){R(this,new this.ra(a),i)},this)}; function lf(a){if(a.ub&&a.Vb&&!a.xb){a.xb=i;var b=new ae,c;for(c in a.Lb)b.set(c,a.Lb[c]);b.set("start_num",(a.rc-1)*a.hd);b.set("count",a.hd);We(Fd+"/proxy.php?url="+y(a.Vb+"?"+b.toString()),v(a.O,a),v(a.Xf,a),l)}}n.O=function(){this.xb=l;this.rc+=1;yc(this.eb)};n.Xf=function(){this.xb=l;yc(this.eb)};function V(a,b){this.a=a;this.F=new M(this);this.rg="boolean"==typeof b?b:i;N(N(this.F,this.a,"touchstart",v(this.gg,this),l),this.a,"click",v(this.Jb,this),l)}w(V,F);n=V.prototype;n.e=function(){V.b.e.call(this);this.F.g()};n.c=m("a");n.gg=function(a){this.rg&&a.stopPropagation();N(N(this.F,this.a,"touchend",this.Jb,l,this),document.body,"touchmove",this.we,l,this);this.Rb=a.J.touches[0].clientX;this.Sb=a.J.touches[0].clientY}; n.we=function(a){(10
'+(a.item.imageBase64?'':'')+'
'+U(a.item.name)+'
from '+U(a.wd)+'
'+ U(a.item.num_shops)+" shop"+(1!=a.item.num_shops?"s":"")+'
'} function of(a){return'
'+U(a.item.shop_name)+'
'+U(a.item.shop_name)+ '
Reviews ('+U(a.item.num_reviews)+')
'+U(a.wd)+'
'} function pf(a){for(var b='
'+U(a.item.date_created)+'
',c=Math.round(a.item.avg_score),d=0;d';c=5-Math.round(a.item.avg_score);for(d=0;d';return b+='
'+(a.item.first_name||a.item.last_name? U(a.item.first_name)+" "+U(a.item.last_name):"Anonymous")+"
"+a.item.comment+"
"}function qf(a){return'
'+U(a.text)+'
'};function rf(a,b){P.call(this,b);this.fa=a;this.Y=k}w(rf,P);rf.prototype.d=function(){this.a=T(qf,{text:this.fa.text,link:this.fa.link});this.Y=new V(this.a)};rf.prototype.e=function(){this.k&&this.Y.g();rf.b.e.call(this)};function sf(a){P.call(this,a)}w(sf,P);sf.prototype.d=function(){sf.b.d.call(this);this.a.appendChild(L("h1",{"class":"j-i"},"Contact"));var a=L("div",{"class":"P-a"});this.ed=L("div",{"class":"c-d"});a.appendChild(this.ed);this.a.appendChild(a)};sf.prototype.f=function(){sf.b.f.call(this);We(Fd+"/data/contact.html",v(this.O,this),0,i,l)};sf.prototype.O=function(a){this.ed.innerHTML=a;a=I("button",k,this.a)[0];H(a,"Fb-hc");a=I("form",k,this.a)[0];N(this.i(),a,"submit",this.$f)}; sf.prototype.$f=function(a){a.preventDefault();var b=[],c=kc("l",this.a);S(c,function(a){yc(a)});c=a.currentTarget.name;""==tf(c).trim()&&b.push([c,"Please enter your name"]);c=a.currentTarget.email;uf(new vf(tf(c).toString()))||b.push([c,"Please enter a valid email"]);c=a.currentTarget.message;""==tf(c).trim()&&b.push([c,"Please enter your message"]);0Thank you. Your message has been sent.
')};function xf(a){P.call(this,a);this.Wb=[];this.Fa=k}w(xf,P);n=xf.prototype;n.d=function(){xf.b.d.call(this);this.a.appendChild(L("h1",{"class":"j-i"},"Help"));this.z=L("div");this.a.appendChild(this.z)};n.f=function(){xf.b.f.call(this);We(Fd+"/data/help.json",v(this.O,this),0,i)};n.e=function(){this.k&&S(this.Wb,function(a){a.g()},this);xf.b.e.call(this)}; n.O=function(a){S(a,function(a){if(!("undefined"!=typeof window.cordova&&"Mobile Device Support"==a.header)){var c=T(gf,{name:a.header,link:k});this.z.appendChild(c);var d=L("div",{"class":"dc-a"});this.z.appendChild(d);d.innerHTML=a.content;a=new Rd(c,d);this.Wb.push(a);N(this.i(),a,"action",this.td)}},this)};n.td=function(a){this.Fa&&this.Fa.collapse();this.Fa=a.currentTarget.vb?a.currentTarget:k};function yf(a,b){P.call(this,b);this.ga=a||""}w(yf,P);yf.prototype.Ya=k;var zf="placeholder"in document.createElement("input");n=yf.prototype;n.zb=l;n.d=function(){this.a=this.s().d("input",{type:"text"})};n.la=function(a){yf.b.la.call(this,a);this.ga||(this.ga=a.getAttribute("label")||"");var b;a:{var c=ic(a);try{b=c&&c.activeElement;break a}catch(d){}b=k}b==a&&(this.zb=i,dc(this.c(),this.pb));zf?this.c().placeholder=this.ga:Qd(this.c(),"label",this.ga)}; n.f=function(){yf.b.f.call(this);var a=new M(this);N(a,this.c(),"focus",this.ae);N(a,this.c(),"blur",this.tf);zf?this.r=a:(C&&N(a,this.c(),["keypress","keydown","keyup"],this.uf),N(a,ic(this.c())?rc(ic(this.c())):window,"load",this.xf),this.r=a,Af(this));this.Sa();this.c().Jf=this};n.oa=function(){yf.b.oa.call(this);Bf(this);this.c().Jf=k};function Af(a){!a.qf&&a.r&&a.c().form&&(N(a.r,a.c().form,"submit",a.vf),a.qf=i)}function Bf(a){a.r&&(a.r.g(),a.r=k)}n.e=function(){yf.b.e.call(this);Bf(this)}; n.pb="label-e-label";n.ae=function(){this.zb=i;dc(this.c(),this.pb);if(!zf&&!Cf(this)&&!this.Df){var a=this,b=function(){a.c().value=""};B?Zb(b,10):b()}};n.tf=function(){zf||(Kc(this.r,this.c(),"click",this.ae),this.Ya=k);this.zb=l;this.Sa()};n.uf=function(a){27==a.keyCode&&("keydown"==a.type?this.Ya=this.c().value:"keypress"==a.type?this.c().value=this.Ya:"keyup"==a.type&&(this.Ya=k),a.preventDefault())};n.vf=function(){Cf(this)||(this.c().value="",Zb(this.sf,10,this))}; n.sf=function(){Cf(this)||(this.c().value=this.ga)};n.xf=function(){this.Sa()};function Cf(a){return!!a.c()&&""!=a.c().value&&a.c().value!=a.ga}n.clear=function(){this.c().value="";this.Ya!=k&&(this.Ya="")};n.reset=function(){Cf(this)&&(this.clear(),this.Sa())};n.Sa=function(){zf?this.c().placeholder!=this.ga&&(this.c().placeholder=this.ga):(Af(this),Qd(this.c(),"label",this.ga));Cf(this)?dc(this.c(),this.pb):(!this.Df&&!this.zb&&H(this.c(),this.pb),zf||Zb(this.mg,10,this))}; n.sa=function(a){this.c().disabled=!a;var b=this.c(),c=this.pb+"-Ib";!a?H(b,c):dc(b,c)};n.mg=function(){this.c()&&!Cf(this)&&!this.zb&&(this.c().value=this.ga)};function Df(a){return'
Please enter the barcode manually below.
'+(a.Cb==l&&a.Qd?'<\!-- div class="B-yb-xb">
For true barcode scanning using your smartphone\'s camera, download the latest PriceCheck Mobile application now - click here!
':"")+""};function Ef(a){P.call(this,a)}w(Ef,P);Ef.prototype.d=function(){Ef.b.d.call(this);this.a.appendChild(L("h1",{"class":"j-i"},"Scan Barcode"));this.a.appendChild(T(Df,{Qd:W.ja,Cb:W.Cb()}));this.Ma=I("input",k,this.a)[0];var a=I("button",k,this.a)[0];this.Me=new V(a)};Ef.prototype.f=function(){Ef.b.f.call(this);(new yf("type barcode number here")).sb(this.Ma);N(this.i(),this.Me,"click",function(a){a.preventDefault();a=this.Ma.value.trim();""!=a&&(window.location.href="#search/"+a)})}; Ef.prototype.e=function(){this.k&&this.Me.g();Ef.b.e.call(this)};function Ff(a){P.call(this,a)}w(Ff,P);Ff.prototype.d=function(){Ff.b.d.call(this);window.plugins.barcodeScanner.scan(function(a){a.cancelled==i?window.history.back():window.location="#search/"+a.text},function(a){alert("Barcode scanning failed: "+a)})};function Gf(a,b,c){this.nd=a;this.Ia=b||0;this.F=c;this.df=v(this.jf,this)}w(Gf,ra);n=Gf.prototype;n.T=0;n.e=function(){Gf.b.e.call(this);this.stop();delete this.nd;delete this.F};n.start=function(a){this.stop();this.T=Zb(this.df,r(a)?a:this.Ia)};n.stop=function(){this.ge()&&Xb.clearTimeout(this.T);this.T=0};n.ge=function(){return 0!=this.T};n.jf=function(){this.T=0;this.nd&&this.nd.call(this.F)};function Hf(a,b){return a.dataset?a.dataset[b]:a.getAttribute("data-"+Ha(b))};function If(a,b,c){this.target=a;this.handle=b||a;this.md=c||new ed(NaN,NaN,NaN,NaN);this.D=ic(a);this.r=new M(this);Lb(this.handle,["touchstart","mousedown"],this.Le,l,this)}w(If,F);var Jf=B||C&&D("1.9.3");n=If.prototype;n.clientX=0;n.clientY=0;n.screenX=0;n.screenY=0;n.Rb=0;n.Sb=0;n.Ua=0;n.Va=0;n.wa=i;n.va=l;n.ee=0;n.Af=l;n.Hd=l;n.i=m("r");n.sa=aa("wa");n.e=function(){If.b.e.call(this);Pb(this.handle,["touchstart","mousedown"],this.Le,l,this);this.r.g();delete this.target;delete this.handle;delete this.r}; function Kf(a){r(a.yc)||(a.yc="rtl"==id(a.target,"direction"));return a.yc} n.Le=function(a){var b="mousedown"==a.type;if(this.wa&&!this.va&&(!b||(qb?0==a.J.button:"click"==a.type||a.J.button&wb[0])&&(!bb||!Wa||!a.ctrlKey))){if(0==this.ee)if(Lf(this,a),this.va)a.preventDefault();else return;else a.preventDefault();var b=this.D,c=b.documentElement,d=!Jf;N(this.r,b,["touchmove","mousemove"],this.wf,d);N(this.r,b,["touchend","mouseup"],this.cc,d);Jf?(c.setCapture(l),N(this.r,c,"losecapture",this.cc)):N(this.r,b?rc(b):window,"blur",this.cc);B&&this.Af&&N(this.r,b,"dragstart", tb);this.ng&&N(this.r,this.ng,"scroll",this.ib,d);this.clientX=this.Rb=a.clientX;this.clientY=this.Sb=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.Hd?(a=this.target,b=a.offsetLeft,C?(c=rd(a.offsetParent),b+=c.left):pb(8)&&(c=rd(a.offsetParent),b-=c.left),a="rtl"==id(a.offsetParent,"direction")?a.offsetParent.clientWidth-(b+a.offsetWidth):b):a=this.target.offsetLeft;this.Ua=a;this.Va=this.target.offsetTop;this.ud=Ic(gc(this.D));pa()}else this.dispatchEvent("earlycancel")}; function Lf(a,b){a.dispatchEvent(new Mf("start",a,b.clientX,b.clientY))!==l&&(a.va=i)}n.cc=function(a){Lc(this.r);Jf&&this.D.releaseCapture();var b=Nf(this,this.Ua),c=Of(this,this.Va);this.va?(this.va=l,this.dispatchEvent(new Mf("end",this,a.clientX,a.clientY,0,b,c))):this.dispatchEvent("earlycancel");("touchend"==a.type||"touchcancel"==a.type)&&a.preventDefault()}; n.wf=function(a){if(this.wa){var b=(this.Hd&&Kf(this)?-1:1)*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.va){var d=this.Rb-this.clientX,e=this.Sb-this.clientY;if(d*d+e*e>this.ee&&(Lf(this,a),!this.va)){this.cc(a);return}}c=Pf(this,b,c);b=c.x;c=c.y;this.va&&this.dispatchEvent(new Mf("beforedrag",this,a.clientX,a.clientY,0,b,c))!==l&&(Qf(this,a,b,c),a.preventDefault())}}; function Pf(a,b,c){var d=Ic(gc(a.D)),b=b+(d.x-a.ud.x),c=c+(d.y-a.ud.y);a.ud=d;a.Ua+=b;a.Va+=c;b=Nf(a,a.Ua);a=Of(a,a.Va);return new ec(b,a)}n.ib=function(a){var b=Pf(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Qf(this,a,b.x,b.y)};function Qf(a,b,c,d){a.Hd&&Kf(a)?a.target.style.right=c+"px":a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new Mf("drag",a,b.clientX,b.clientY,0,c,d))} function Nf(a,b){var c=a.md,d=!isNaN(c.left)?c.left:k,c=!isNaN(c.width)?c.width:0;return Math.min(d!=k?d+c:Infinity,Math.max(d!=k?d:-Infinity,b))}function Of(a,b){var c=a.md,d=!isNaN(c.top)?c.top:k,c=!isNaN(c.height)?c.height:0;return Math.min(d!=k?d+c:Infinity,Math.max(d!=k?d:-Infinity,b))}function Mf(a,b,c,d,e,g,j){E.call(this,a);this.clientX=c;this.clientY=d;this.left=r(g)?g:b.Ua;this.top=r(j)?j:b.Va}w(Mf,E);function Rf(){this.M=Sf;this.Uc=this.startTime=k}w(Rf,F);var Sf=0;Rf.prototype.hb=function(){this.R("begin")};Rf.prototype.Kb=function(){this.R("end")};Rf.prototype.R=function(a){this.dispatchEvent(a)};var Tf={},Uf=k;function Vf(a){a=ja(a);delete Tf[a];Db(Tf)&&Uf&&(Xb.clearTimeout(Uf),Uf=k)}function Wf(){Uf||(Uf=Zb(function(){Uf=k;Xf()},20))}function Xf(){var a=pa();zb(Tf,function(b){Yf(b,a)});Db(Tf)||Wf()};function Zf(a,b,c,d){Rf.call(this);(!t(a)||!t(b))&&f(Error("Start and end parameters must be arrays"));a.length!=b.length&&f(Error("Start and end points must be the same length"));this.mb=a;this.lf=b;this.duration=c;this.Pd=d;this.coords=[]}w(Zf,Rf);n=Zf.prototype;n.V=0; n.play=function(a){if(a||this.M==Sf)this.V=0,this.coords=this.mb;else if(1==this.M)return l;Vf(this);this.startTime=a=pa();-1==this.M&&(this.startTime-=this.duration*this.V);this.Uc=this.startTime+this.duration;this.V||this.hb();this.R("play");-1==this.M&&this.R("resume");this.M=1;var b=ja(this);b in Tf||(Tf[b]=this);Wf();Yf(this,a);return i};n.stop=function(a){Vf(this);this.M=Sf;a&&(this.V=1);$f(this,this.V);this.R("stop");this.Kb()};n.e=function(){this.M==Sf||this.stop(l);this.R("destroy");Zf.b.e.call(this)}; function Yf(a,b){a.V=(b-a.startTime)/(a.Uc-a.startTime);1<=a.V&&(a.V=1);$f(a,a.V);1==a.V?(a.M=Sf,Vf(a),a.R("finish"),a.Kb()):1==a.M&&a.rd()}function $f(a,b){ha(a.Pd)&&(b=a.Pd(b));a.coords=Array(a.mb.length);for(var c=0;c');return b+=(a.oe?'':"")+'
From
'} ;function gg(a,b,c){P.call(this,c);this.If=a;this.Rf=b||k;this.Ba=this.xe=this.qe=k;this.qa=[];this.kc=k;this.pa=this.Na=0;this.Oe=600;this.Ac=k;this.gd=[]}w(gg,P);n=gg.prototype;n.d=function(){gg.b.d.call(this);this.a=$e(fg,{Hf:this.If,oe:this.Rf})}; n.f=function(){gg.b.f.call(this);this.me=K("Lb-rb-zb",this.a);this.Lf=new V(this.me);this.qe=K("Lb-rb-tb",this.a);this.xe=K("Lb-rb-Ob",this.a);this.Ba=K("Lb-pb",this.a);this.qa=kc("Lb-jb",this.Ba);this.kc=this.qa[0].clientWidth;W.Oa.Od&&(this.Ac=new If(this.Ba,k,new ed(k,0,k,0)),N(this.i(),this.Ac,"end",this.Wf));S(this.qa,function(a){this.gd.push(new V(a,l))},this);this.Je=new V(K("Lb-jb-Nb",this.Ba));S(this.gd,function(a,b){N(this.i(),a,"click",function(c){0<=Ia(cc(a.c()),"Lb-jb-Pb")?window.location= "#product/"+Hf(a.c(),"id"):(c.preventDefault(),hg(this,b-1))})},this);N(this.i(),this.Je,"click",function(a){window.location=Hf(a.currentTarget.c(),"link")});N(this.i(),window,"resize",function(){this.kc=this.qa[0].clientWidth;hg(this,this.pa)});hg(this,-1)};n.e=function(){this.k&&(this.Lf.g(),this.Je.g(),this.Ac&&this.Ac.g(),S(this.gd,function(a){a.g()}));gg.b.e.call(this)}; function hg(a,b){-1>b&&(b=-1);b>a.qa.length-2&&(b=a.qa.length-2);a.pa!=b&&(dc(a.qa[a.pa+1],"Lb-jb-Pb"),a.pa=b,H(a.qa[a.pa+1],"Lb-jb-Pb"));a.Na=-(a.pa*a.kc);W.Oa.Id?(a.Fe(i),jd(a.Ba,a.Na),(new Gf(v(a.Fe,a,l),600)).start()):(new dg(a.Ba,[a.Na,0],a.Oe,eg)).play();var c=new ig(jg,"NGN"),d=a.qa[a.pa+1];zc(a.qe,Hf(d,"name")||"");zc(a.xe,c.format(Hf(d,"price")||""));nc(a.me,{href:"#product/"+Hf(d,"id")})}n.Fe=function(a){var b=this.Oe/1E3;a?td(this.Ba,"left "+b+"s ease-out 0s"):ud(this.Ba,"")}; n.Wf=function(a){a.stopPropagation();var b=a.left<=this.Na?"right":"left",a=Math.abs(Math.abs(a.left)>=Math.abs(this.Na)?a.left-this.Na:this.Na-a.left)/this.kc;0.1>=a?hg(this,this.pa):(a=Math.ceil(a),hg(this,this.pa+("left"==b?-a:a)))};function kg(a,b){P.call(this,b);this.vd=a||0}w(kg,P);kg.prototype.f=function(){kg.b.f.call(this);We(Fd+"/proxy.php?url="+y(Gd+"/crud/entity/category/get_children_by_category_id?id="+this.vd+"&format=json"),v(this.Uf,this),0,i)}; kg.prototype.Uf=function(a){if(a.results.current.name)var b=a.results.current.parent_name,c=a.results.current.name;else b=k,c="All Categories";b&&this.a.appendChild(L("h2",k,b));this.a.appendChild(L("h1",{"class":"j-i"},c));"undefined"!=typeof a.results.products.products&&0c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(pa()+1E3*c)).toUTCString();this.D.cookie=a+"="+b+e+d+c+g}; n.get=function(a,b){for(var c=a+"=",d=(this.D.cookie||"").split(mg),e=0,g;g=d[e];e++)if(0==g.indexOf(c))return g.substr(c.length);return b};n.remove=function(a,b,c){var d=this.Z(a);this.set(a,"",0,b,c);return d};n.Ga=function(){return ng(this).keys};n.ya=function(){return ng(this).yg};n.Z=function(a){return r(this.get(a))};n.clear=function(){for(var a=ng(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])}; function ng(a){for(var a=(a.D.cookie||"").split(mg),b=[],c=[],d,e,g=0;e=a[g];g++)d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,yg:c}}var og=new lg(document);og.Ag=3950;function pg(a){return'
Download the free app!
YesNo
'};function qg(){P.call(this);this.h=[]}w(qg,P);qg.prototype.d=function(){qg.b.d.call(this);this.a=T(pg,{url:W.ja})};qg.prototype.f=function(){qg.b.f.call(this);var a=kc("fc-Fb",this.a);A(a,function(a){a=new V(a);this.h.push(a);N(this.i(),a,"click",this.Jb)},this)};qg.prototype.e=function(){A(this.h,function(a){a.g()});qg.b.e.call(this)};qg.prototype.Jb=function(a){og.set(rg,"1",2592E3);if(a=Hf(a.target.c(),"url"))window.location=a;this.g()};var rg="hp";function sg(a){if(ia(a))if(p.JSON)a=p.JSON.stringify(a);else{var b=[];ye(new xe,a,b);a=b.join("")}else a=k;return a};function tg(a,b,c){this.qd=a;u(this.qd)||f("No namespace set.");this.Cd=b||window.localStorage;this.I=c||new Vd;if(W.Oa.Jc){var a=this.I,d;if(b=this.Cd.getItem(this.qd))try{d=p.JSON?p.JSON.parse(b):we(b)}catch(e){d=k}else d=k;Wd(a,d)}}w(tg,ra);n=tg.prototype;n.getMap=function(){this.I||(this.I=new Vd);return this.I};n.set=function(a,b){this.getMap().set(a,b);this.save()};n.remove=function(a){this.getMap().remove(a);this.save()};n.clear=function(){this.getMap().clear();this.Cd.clear()}; n.save=function(){if(W.Oa.Jc)try{this.Cd.setItem(this.qd,sg(Zd(this.getMap())))}catch(a){}};n.e=function(){tg.b.e.call(this)};function ug(){tg.call(this,"Favorites")}w(ug,tg);ea(ug);function vg(){return'

Favourites

'};function wg(a,b){P.call(this,b);this.fa=a;this.Y=k}w(wg,P);wg.prototype.d=function(){wg.b.d.call(this);var a=new ig(jg,"NGN");this.a=T(nf,{item:this.fa,wd:a.format(this.fa.price)});this.Y=new V(this.a)};wg.prototype.e=function(){this.k&&this.Y.g();wg.b.e.call(this)};function xg(a){P.call(this,a);this.xa=ug.da()}w(xg,P);xg.prototype.d=function(){xg.b.d.call(this);H(this.a,"favorites");bf(this.a,vg,{});var a=I("a",k,this.a)[0];this.Wd=new V(a);yg(this)};xg.prototype.f=function(){xg.b.f.call(this);N(this.i(),this.Wd,"click",function(a){a.preventDefault();this.xa.clear();yg(this)})};xg.prototype.e=function(){this.k&&this.Wd.g();xg.b.e.call(this)}; function yg(a){a.De(i);a.pd&&yc(a.pd);var b=Zd(a.xa.getMap());if(0
'} ;function Cg(a){P.call(this,a);this.Ke=l;this.h=[]}w(Cg,P);n=Cg.prototype;n.d=function(){Cg.b.d.call(this);this.a=T(Bg,{})}; n.f=function(){Cg.b.f.call(this);this.Lc=K("eb-fb-Fb",this.a);this.h.push(new V(this.Lc));this.zc=jc("search");var a=new V(this.zc);this.h.push(a);this.Qf=jc("menu");this.h.push(new V(this.Qf));this.h.push(new V(K("eb-gb-f",this.a)));this.Ee=K("I-hb",this.a);var b=I("form",k,this.Ee)[0];this.Ma=K("I-hb-e",b);(new yf("type product name here")).sb(this.Ma);N(N(this.i(),a,"click",function(a){a.preventDefault();Dg(this,!this.Ke)}),b,"submit",function(a){a.preventDefault();a=tf(this.Ma).trim();""!=a&& (window.location.href="#search/"+a)})};n.e=function(){this.k&&S(this.h,function(a){a.g()});Cg.b.e.call(this)};n.reset=function(){Ag(this.Ma,"");Dg(this,l);this.setVisible(this.Lc,i);this.setVisible(this.zc,i)};function Dg(a,b){a.Ke=b;O(a.Ee,b)}n.setVisible=function(a,b){b?fd(a,"visibility","visible"):fd(a,"visibility","hidden")};function Eg(a,b,c,d,e){Rf.call(this);this.a=a;this.kf=b;this.Ef=c;this.Zd=d;this.wg=t(e)?e:[e]}w(Eg,Rf);n=Eg.prototype;n.play=function(){if(1==this.M)return l;this.hb();this.R("play");this.startTime=pa();this.M=1;if(vd())return fd(this.a,this.Ef),Zb(this.ig,h,this),i;this.Bd(l);return l};n.ig=function(){td(this.a,this.wg);fd(this.a,this.Zd);this.Gd=Zb(v(this.Bd,this,l),1E3*this.kf)};n.stop=function(){1==this.M&&(this.Gd&&(Xb.clearTimeout(this.Gd),this.Gd=0),this.Bd(i))}; n.Bd=function(a){ud(this.a,"");fd(this.a,this.Zd);this.Uc=pa();this.M=Sf;a?this.R("stop"):this.R("finish");this.Kb()};n.e=function(){this.stop();Eg.b.e.call(this)};function Fg(a){return''};function X(a){P.call(this,a);this.link=this.U=k;this.fd=l;this.text=k;this.de=l;this.Tb=k;this.Wc=l;this.Y=this.ze=this.ye=k}w(X,P);X.prototype.d=function(){X.b.d.call(this);H(this.a,"nb-f");this.a.appendChild(T(Fg,{U:this.U,link:this.link,external:this.fd,text:this.text}));this.Tb=K("nb-qb-f",this.a);this.ye=K("nb-sb-tb",this.Tb);this.ze=K("nb-sb-vb",this.Tb)};X.prototype.f=function(){X.b.f.call(this);this.Y=new V(I("a",k,this.a)[0])};X.prototype.e=function(){this.k&&this.Y.g();X.b.e.call(this)}; function Gg(a){a.de&&((a.Wc?new Eg(a.Tb,0.5,k,{"margin-top":"0"},{Ae:"all",duration:0.5,timing:"linear",Ud:0}):new Eg(a.Tb,0.5,{"margin-top":"0"},{"margin-top":"-100%"},{Ae:"all",duration:0.5,timing:"linear",Ud:0})).play(),a.Wc=!a.Wc)};function Hg(a){X.call(this,a);yd(this,"7843");this.U="T-r T-r-O";this.link="#category/"+Q(this);this.text="Home"}w(Hg,X);function Ig(a){X.call(this,a);yd(this,"124");this.U="T-r T-r-U";this.link="#category/"+Q(this);this.text="Cellphones"}w(Ig,X);function Jg(a){X.call(this,a);yd(this,"4");this.U="T-r T-r-W";this.link="#category/"+Q(this);this.text="Computers"}w(Jg,X);function Kg(a){X.call(this,a);yd(this,"62");this.U="T-r T-r-Z";this.link="#category/"+Q(this);this.text="Fashion"}w(Kg,X);function Lg(a){X.call(this,a);yd(this,"67");this.U="T-r T-r-X";this.link="#category/"+Q(this);this.text="Electronics"}w(Lg,X);function Mg(a){X.call(this,a);yd(this,"flights");this.U="T-r T-r-cb";this.link="http://www.travelstart.com.ng/mobile/?affid=174059";this.fd=i;this.text="Flights"}w(Mg,X);function Ng(a){X.call(this,a);yd(this,"mtn");this.U="T-r T-r-db";this.link="http://www.pricecheck.com.ng/app_partner_redirect/?appversion=ng-mtn-touch";this.fd=i;this.text=""}w(Ng,X);function Og(a){X.call(this,a);yd(this,"72");this.U="T-r T-r-ab";this.link="#category/"+Q(this);this.text="Video Games"}w(Og,X);function Pg(a){X.call(this,a);yd(this,"8197");this.U="T-r T-r-V";this.link="#category/"+Q(this);this.text="Tablets"}w(Pg,X);function Qg(a){P.call(this,a);this.l=new Wb;this.Za=new Wb(3E3);this.Bc=k}w(Qg,P);n=Qg.prototype;n.d=function(){Qg.b.d.call(this);H(this.a,"mb")};n.f=function(){Qg.b.f.call(this);this.l.setInterval(4E3);this.l.start();N(N(N(N(this.i(),this.l,Yb,this.pf),this.Za,Yb,this.of),document,"pause",function(){this.l.stop();this.Za.stop()}),document,"resume",function(){this.l.start();this.Za.start()})};n.e=function(){Qg.b.e.call(this);this.l.g();this.Za.g()}; function Rg(a){var b=[new Ig,new Pg,new Jg,new Lg,new Ng,new Kg,new Og,new Hg,new Mg];S(b,function(a){R(this,a,i)},a);if(Xe()){var c=Gd+"/crud/entity/product/get_popular_front_page?format=json";S(Ed(a),function(a){a&&(c+="&category_ids[]="+a)});We(Fd+"/proxy.php?url="+y(c),v(a.Yf,a),0,l)}}n.pf=function(){this.l.stop();this.Za.start();var a=this.o?this.o[Math.floor(Math.random()*(this.o?this.o.length:0))]||k:k;Gg(a);this.Bc=a}; n.of=function(){this.Za.stop();this.l.start();this.Bc&&(Gg(this.Bc),this.Bc=k)};n.Yf=function(a){S(a.results,function(a){var c=Ad(this,a.category.id);if(c){var a=a.products[0],d=new ig(jg,"NGN");"undefined"!=typeof a&&"price"in a&&"name"in a&&(c.de=i,zc(c.ye,a.name),zc(c.ze,d.format(a.price)))}},this)};function Sg(){return''};function Tg(a){P.call(this,a);this.h=[]}w(Tg,P);Tg.prototype.d=function(){Tg.b.d.call(this);H(this.a,"O");this.He=T(Sg,{});this.a.appendChild(this.He);this.a.appendChild(L("h1",{},"Popular Categories"));this.Ne=L("div",{"class":"c-d",style:"margin: 0 4px;"});this.a.appendChild(this.Ne);this.Fd=new Qg;R(this,this.Fd);this.Fd.L(this.Ne);Rg(this.Fd)};Tg.prototype.f=function(){Tg.b.f.call(this);var a=kc("menu-item",this.He);S(a,function(a){this.h.push(new V(a))},this)}; Tg.prototype.e=function(){this.k&&S(this.h,function(a){a.g()});Tg.b.e.call(this)};function Ug(a){return'
'+U(a.text)+"
"};function Vg(a){P.call(this,a);this.h=[]}w(Vg,P); Vg.prototype.d=function(){Vg.b.d.call(this);H(this.a,"F-f");var a=L("div",{"class":"c-d"});this.a.appendChild(a);S([{link:"#category",icon:"r-C",text:"Browse Categories"},{link:"#favorites",icon:"r-E",text:"Favourites"},{link:"#about",icon:"r-P",text:"About"},{link:"http://www.pricecheck.com.ng/?full=1",icon:"r-Q",text:"Full Website",Mc:i}],function(b){b=$e(Ug,{link:b.link,icon:b.icon,text:b.text,Mc:b.Mc||l});a.appendChild(b);this.h.push(new V(b))},this)}; Vg.prototype.e=function(){this.k&&S(this.h,function(a){a.g()});Vg.b.e.call(this)};function Wg(){return'
You need to be online to access this resource.

Please check your connection settings and enable either your WiFi or 3G connection.
'};function Xg(a){P.call(this,a)}w(Xg,P);Xg.prototype.d=function(){Xg.b.d.call(this);bf(this.a,Wg,{})};function Yg(a){this.bb={};this.F=new M(this);this.w=a}w(Yg,F);function Zg(a,b){var c=u(b)?b:b.src;c&&(a.bb.p=c)}Yg.prototype.start=function(){zb(this.bb,this.Pf,this)};Yg.prototype.Pf=function(a,b){var c;c=this.w?gc(this.w).d("img"):new Image;N(this.F,c,[B?"readystatechange":"load","abort","error"],this.dg);c.id=b;c.src=a}; Yg.prototype.dg=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.bc||(a=this.bb,b=b.id,b in a&&delete a[b],Db(this.bb)&&(this.dispatchEvent("complete"),this.F&&Lc(this.F)))}}; Yg.prototype.e=function(){this.bb&&delete this.bb;this.F&&(this.F.g(),this.F=k);Yg.b.e.call(this)};function $g(a,b){P.call(this,b);this.Cf=wa(a)}w($g,P);$g.prototype.d=function(){$g.b.d.call(this);H(this.a,"sb-kb");Ye.da().setVisible(i)};$g.prototype.f=function(){$g.b.f.call(this);this.cd=new Yg;Zg(this.cd,this.Cf);N(this.i(),this.cd,"load",function(a){this.a.appendChild(a.target);Ye.da().setVisible(l)},l,this);this.cd.start()};var ah={Jd:".",Ld:",",Md:"%",Kc:"0",af:"+",Xe:"-",Kd:"E",Nd:"\u2030",Ic:"\u221e",Ye:"NaN",Ve:"#,##0.###",bf:"#E0",$e:"#,##0%",Ue:"\u00a4#,##0.00;(\u00a4#,##0.00)",We:"USD"},Y=ah,Y=ah;var bh={AED:[2,"dh","\u062f.\u0625.","DH"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[0,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[2,"K\u010d","K\u010d"],DKK:[18,"kr","kr"],DOP:[2,"$","RD$"],EGP:[2,"\u00a3","LE"],EUR:[18,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],ILS:[2,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"], KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],MNT:[0,"\u20ae","MN\u20ae"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[18,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","Php"],PKR:[0,"Rs","PKRs."],RUB:[2,"Rup","Rup"],SAR:[2,"Rial","Rial"],SEK:[2,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"TL","YTL"],TWD:[2,"NT$","NT$"],USD:[2,"$","US$"],UYU:[2,"$","UY$"],VND:[0,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};function ig(a,b,c){this.Ab=b||Y.We;this.gf=c||ch;this.mc=40;this.$=1;this.od=3;this.nc=this.Hb=0;this.Se=l;this.Nb=this.Ja="";this.za="-";this.gb="";this.Ib=1;this.Yc=3;this.Gc=this.Td=l;if("number"==typeof a)switch(a){case 1:dh(this,Y.Ve);break;case 2:dh(this,Y.bf);break;case 3:dh(this,Y.$e);break;case jg:a=Y.Ue;b=["0"];c=bh[this.Ab][0]&7;if(0e&&q++;break;case "0":0e&&q++;break;case ",":q=0;break;case ".":0<=e&&f(Error('Multiple decimal separators in pattern "'+b+'"'));e=g+j+o;break;case "E":a.Gc&&f(Error('Multiple exponential symbols in pattern "'+b+'"'));a.Gc=i;a.nc=0;c[0]+1g+j||1>a.nc)&&f(Error('Malformed exponential pattern "'+b+'"'));G=l;break;default:c[0]--,G=l}0==j&&0e&&0g+j)||0==q)&&f(Error('Malformed pattern "'+b+'"'));o=g+j+o;a.od=0<=e?o-e:0;0<=e&&(a.Hb=g+j-e,0>a.Hb&&(a.Hb=0));a.$=(0<=e?e:o)-g;a.Gc&&(a.mc=g+a.$,0==a.od&&0==a.$&&(a.$=1));a.Yc=Math.max(0,q);a.Td=0==e||e==o;d=c[0]-d;a.Nb=eh(a,b,c);c[0]this.za.length?g=l:this.Ja.length=he)J+=he,q=i;else if(Ea==G.charAt(0)){if(j|| o)break;J+=".";j=i}else if(Ea==x.charAt(0)&&("\u00a0"!=x.charAt(0)||c[0]+1a||0==a&&0>1/a;b.push(c?this.za:this.Ja);if(isFinite(a))if(a=a*(c?-1:1)*this.Ib,this.Gc)if(0==a)hh(this,a,this.$,b),ih(this,0,b);else{var d=Math.floor(Math.log(a)/Math.log(10)),a=a/Math.pow(10,d),e=this.$;if(1this.$){for(;0!=d%this.mc;)a*=10,d--;e=1}else 1>this.$?(d++,a/=10):(d-=this.$-1,a*=Math.pow(10,this.$-1));hh(this,a,e,b);ih(this,d,b)}else hh(this,a,this.$,b);else b.push(Y.Ic);b.push(c?this.gb:this.Nb);return b.join("")}; function hh(a,b,c,d){var e=Math.pow(10,a.od),g=Math.round(b*e),j;isFinite(g)?(b=Math.floor(g/e),j=Math.floor(g-b*e)):j=0;for(var o=0a.Hb+1;)e--;for(b=1;bb?(b=-b,c.push(Y.Xe)):a.Se&&c.push(Y.af);for(var b=""+b,d=Y.Kc,e=b.length;ea)return a-48;var b=Y.Kc.charCodeAt(0);return b<=a&&a@,;:\\\".\[\]]/,Lh=/\"/g,Mh=/\\/g;vf.prototype.getName=m("oc");vf.prototype.toString=function(){var a=this.getName(),a=a.replace(Lh,"");Kh.test(a)&&(a='"'+a.replace(Mh,"\\\\")+'"');return""==a?this.Xb:""==this.Xb?a:a+" <"+this.Xb+">"};function uf(a){return/^[+a-zA-Z0-9_.-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z0-9]{2,6}$/.test(a.Xb)};function Nh(a){rh.call(this,a)}w(Nh,rh);Nh.prototype.C="jc-Fb m-p-q Fb-p goog-buttonset";Nh.prototype.L=function(){if(this.a){this.a.innerHTML="";var a=gc(this.a);S(this,function(b,c){var d=a.d("button",{name:c},b);d.className=this.C;c==this.tb&&(d.className+="jc-Fb-default");this.a.appendChild(d)},this)}};function Oh(a){var b=window;if("fixed"==id(a,"position"))var c=0,d=0;else d=qc(document),c=d.x,d=d.y;var e=md(a),b=pc(b||window);r(window.blackberry)&&(b.height=screen.height-screen.height/3+d);c=Math.max(c+b.width/2-e.width/2,0);d=Math.max(d+b.height/2-e.height/2,0);jd(a,c,d)};function Ph(){Z.call(this)}w(Ph,Z);Ph.prototype.Ob=function(){Oh(this.c())};function Qh(a,b){Z.call(this);this.n=a;this.Mf=b;this.setTitle("Share via email:");this.setDraggable(l);vh(this,$($(new Nh,{key:"ok",caption:"Send"},i,l),Fh,i,i));this.ac=i;this.setContent('
Send link to email address:
Message:
')}w(Qh,Ph); Qh.prototype.f=function(){Qh.b.f.call(this);var a=K("K",this.a),b=K("xb",this.a);this.Ob();N(this.i(),this,wh,function(c){var d;"ok"==c.key&&(c.preventDefault(),c=new vf(tf(a).toString()),uf(c)?(d=tf(b),d=Gd+"/crud/entity/product/mail_product?to="+y(c.toString())+"&message="+y(d)+"&link="+y(this.Mf)+"&format=json",We(Fd+"/proxy.php?url="+y(d),v(this.setVisible,this,l),v(this.setVisible,this,l),l)):("undefined"==typeof d&&(d=L("div",{"class":"error"}),Ec(a,"g-h-i").appendChild(d)),d.innerHTML="Please enter a valid email address."))}, l,this)};function Rh(a){return''};function Sh(a){Z.call(this);this.n=a;this.setTitle("Share via:");this.setDraggable(l);vh(this,$(new Nh,Fh,i,i));this.ac=i;this.setContent(Rh({link:Th(this)}))}w(Sh,Ph);Sh.prototype.f=function(){Sh.b.f.call(this);var a=I("a",k,this.a);A(a,function(a){N(this.i(),a,"click",function(c){"email"==Hf(a,"share")&&(c.preventDefault(),(new Qh(this.n,Th(this))).setVisible(i));this.setVisible(l)},l,this)},this)};function Th(a){return"http://pricecheck.com.ng/offers/"+a.n.id+"/"+y(a.n.name)};function Uh(a){Z.call(this);this.n=a;this.setTitle("Sort by:");this.setDraggable(l);vh(this,$(new Nh,Fh,i,i));this.ac=i;this.setContent('')}w(Uh,Ph); Uh.prototype.f=function(){Uh.b.f.call(this);var a=I("a",k,this.a);A(a,function(a){N(this.i(),a,"click",function(c){c.preventDefault();c=Hf(a,"sort");z.sort.call(this.n.offers,Vh[c]||Qa);this.dispatchEvent(Wh);this.setVisible(l)},l,this)},this)};var Vh={"price-asc":function(a,b){return parseFloat(a.price)>parseFloat(b.price)?1:parseFloat(a.price)parseFloat(b.price)?-1:parseFloat(a.price)
'+(a.product.imageBase64?'':'')+'
'+U(a.kg)+" - "+U(a.jg)+'
From '+U(a.product.num_shops)+" shop"+(1!=a.product.num_shops?"s":"")+'
', c=Math.round(a.product.rating),d=0;d';c=5-Math.round(a.product.rating);for(d=0;d';return b+='
'+(a.Gf?"Remove from Favourites":"Add to Favourites")+'
  • Offers
  • Details
  • Reviews
  • Share
  • Sort
'} ;function ci(a){P.call(this,a);this.u=[];this.aa=k;this.Dd=[]}w(ci,P);ci.prototype.la=function(a){ci.b.la.call(this,a);this.u=I("li",h,h);this.aa=K("w",this.a)};ci.prototype.f=function(){ci.b.f.call(this);A(this.u,function(a){this.Dd.push(new V(a))},this);A(this.Dd,function(a){N(this.i(),a,"click",function(a){di(this,a.currentTarget.c())},l,this)},this)};ci.prototype.e=function(){this.k&&A(this.Dd,function(a){a.g()});ci.b.e.call(this)}; function ei(a,b){(0>b||b>=a.u.length)&&f("Index out of bounds.");di(a,a.u[b])}ci.prototype.sa=function(a,b){b?dc(this.u[a],"Ib"):H(this.u[a],"Ib")};function di(a,b){0<=Ia(cc(b),"Ib")||(0<=Ia(cc(b),"selectable")?(a.aa&&dc(a.aa,"w"),H(b,"w"),a.aa=b,a.dispatchEvent(fi)):a.dispatchEvent({type:gi,action:Hf(b,"tab")}))}var fi="tab-change",gi="tab-action";function hi(a,b){P.call(this,b);this.lb=parseInt(a,10);"number"!=typeof this.lb&&f("Invalid Product Id");this.ka=this.n=k;this.xa=ug.da();this.Bb=this.xa.getMap().Z(this.lb);this.h=[]}w(hi,P);hi.prototype.f=function(){hi.b.f.call(this);this.Bb?this.ue({results:this.xa.getMap().get(this.lb)}):We(Fd+"/proxy.php?url="+y(Gd+"/crud/entity/product/get_product_by_id?id="+this.lb+"&format=json"),v(this.ue,this),0,i)}; hi.prototype.e=function(){this.u&&this.u.g();this.h&&S(this.h,function(a){a.g()});this.xa.g();hi.b.e.call(this)}; hi.prototype.ue=function(a){this.n=a.results;a=new ig(jg,"NGN");bf(this.a,bi,{product:this.n,kg:a.format(this.n.price_min),jg:a.format(this.n.price_max),Gf:this.Bb});a=K("Bb-Cb-v",this.a);this.Ce=new V(a);this.h.push(this.Ce);a=K("Bb-Cb-E-Fb",this.a);this.wb=new V(a);this.h.push(this.wb);a=K("Bb-Cb-kb",this.a);this.fe=new V(a);this.h.push(this.fe);a=K("Hb-hb",this.a);this.u=new ci;this.u.sb(a);this.sg=K("Hb-a",this.a);ii(this)}; function ii(a){var b=Xe();N(N(N(N(N(N(a.i(),a.wb,"click",function(a){a.preventDefault();ji(this)}),a.u,fi,function(){var a=this.u.aa&&(this.u.aa.dataset?"tab"in this.u.aa.dataset:this.u.aa.hasAttribute?this.u.aa.hasAttribute("data-"+Ha("tab")):this.u.aa.getAttribute("data-"+Ha("tab")))?Hf(this.u.aa,"tab"):k;this.ka&&(this.ka.g(),this.ka=k);switch(a){case "offers":this.ka=new Zh(this.n);break;case "details":this.ka=new Xh(this.n);break;case "reviews":this.ka=new ai(this.n)}this.ka&&(R(this,this.ka), this.ka.L(this.sg))}),a.u,gi,function(a){switch(a.action){case "share":a=new Sh(this.n);R(this,a);a.setVisible(i);break;case "sort":a=new Uh(this.n),R(this,a),a.setVisible(i)}}),a,Wh,function(){ei(this.u,0)}),a.Ce,"click",function(){ei(this.u,2)}),a.fe,"click",function(){b&&(window.location="#image/"+y(this.n.image_big))});1==a.n.num_shops&&"1406"==a.n.offers["0"].shop_id?ei(a.u,1):ei(a.u,0);a.u.sa(3,b)} function ji(a){var b;a.Bb?(a.xa.remove(a.lb),a.Bb=l,b="Add to Favourites"):(a.xa.set(a.lb,a.n),a.Bb=i,b="Remove from Favourites");var c=K("Fb-p-ic-lb",a.wb.c());if(W.ma==Kd)zc(c,b);else{fd(a.wb.c(),"opacity",0);var d=new Wb(500);N(a.i(),d,"tick",function(){zc(c,b);fd(this.wb.c(),"opacity",1);d.g()},l,a);d.start()}};function ki(a){this.P=window;this.Sc=a||new M(this);this.zd=l;this.l=k;this.Kf=100}w(ki,F);ki.prototype.start=function(){N(this.Sc,this.P,"scroll",this.ib)};ki.prototype.stop=function(){Kc(this.Sc,this.P,"scroll")};ki.prototype.e=function(){clearTimeout(this.l);this.Sc.g()};ki.prototype.ib=function(){this.zd||(this.zd=i,this.dispatchEvent(li));clearTimeout(this.l);this.l=p.setTimeout(v(function(){this.zd=l;this.dispatchEvent(mi)},this),this.Kf)};var li="scroll",mi="scrollstop";function ni(a,b){kf.call(this,b);this.Pb=a||new ki}w(ni,kf);n=ni.prototype;n.f=function(){ni.b.f.call(this);N(this.i(),this.Pb,mi,this.ib);this.Pb.start()};n.e=function(){ni.b.e.call(this);this.Pb.g()};n.ca=function(a){ni.b.ca.call(this,a);this.a.appendChild(this.eb);a.lengthb?a>e?a:e:a=a-140&&lf(this)};function oi(a){ni.call(this,k,a)}w(oi,ni);oi.prototype.O=function(a){oi.b.O.call(this,a);if(a.results.category.name)var b=a.results.category.parent_name,c=a.results.category.name;else b=k,c="Categories";var d=this.getParent();d.tc&&"string"==typeof b?zc(d.tc,b):O(d.tc,l);d.$c&&"string"==typeof c&&zc(d.$c,c);0");else{var a=a.results.suggestions,c="This means that PriceCheck may still have the product on offer, but does not have a barcode for it.

";if(0",d= a.length,e=0;e'+U(g)+" ");c+="
"}a=c+'Try searching for the product directly by typing its name, model or other description in the search field at the top of the page and click on "Search".

Please note that PriceCheck only has barcodes for the following product categories: Books, Electronics, DVD and Video, Music, Video Games and Accessories.

'}b.innerHTML=a}this.stop()}};function ri(a,b){P.call(this,b);this.Ed=wa(a)}w(ri,P);ri.prototype.d=function(){ri.b.d.call(this);this.a.appendChild(L("h1",{"class":"j-i"},'Results for "'+this.Ed+'"'));var a;a=/^\d{8}/.exec(this.Ed)!=k?i:l;var b=new qi;b.ub=i;b.Vb=Gd+"/crud/entity/product/search";b.Lb={q:this.Ed,format:"json",barcode:a};b.ra=wg;R(this,b,i)};function si(a){for(var b='

Reviews

'+U(a.A.name)+'

',c=Math.round(a.A.rating),d=0;d';c=5-Math.round(a.A.rating);for(d=0;d';return b+="
"+(1==a.A.is_trusted?'
Trusted Shop
': "")+'
'} function ti(a){return'

Contact Details

'+U(a.A.name)+'

'+(a.A.phone?'
Telephone:
'+U(a.A.phone)+"
":"")+(a.A.fax?'
Fax:
'+ U(a.A.fax)+"
":"")+(a.A.address1||a.A.address2?'
Address:
'+U(a.A.address1)+"
"+U(a.A.address2)+"
"+U(a.A.address3)+"
"+U(a.A.town)+"
"+U(a.A.post_code)+"
":"")+"
"};function ui(a,b){P.call(this,b);this.Qb=parseInt(a,10);"number"!=typeof this.Qb&&f("Invalid Shop Id");this.Aa=k}w(ui,P);ui.prototype.d=function(){ui.b.d.call(this)};ui.prototype.f=function(){ui.b.f.call(this);We(Fd+"/proxy.php?url="+y(Gd+"/crud/entity/shop/get_shop_by_id?id="+this.Qb+"&format=json"),v(this.sd,this),0,i)};ui.prototype.sd=function(a){this.Aa=a.results;this.a.appendChild(T(ti,{A:this.Aa}))};function vi(a){ni.call(this,k,a)}w(vi,ni);vi.prototype.O=function(a){vi.b.O.call(this,a);this.xb=l;0