text: /*! Copyright 2006-2015 ClickTale Ltd. */
  !function(){!function(){var b3=!0,b0=null,bZ=!1;function bY(ca){return function(){return ca}}var bW;var bU;function cK(cb){var ca=cb instanceof Array?[]:{},c3,c2;for(c2 in cb){cb.hasOwnProperty(c2)&&((c3=cb[c2])&&"object"===typeof c3&&(c3 instanceof Boolean||c3 instanceof Number||c3 instanceof String||(c3=cK(c3))),ca[c2]=c3)}return ca}function bT(){if(bU){return bU}var ca=window.ClickTaleGlobal;ca||(ca={},window.ClickTaleGlobal=ca);ca.exports=ca.exports||{};ca.symbols=ca.symbols||{};ca.api=ca.api||{};return bU=ca}var bS;bT().symbols.WREH=cn;function bR(ca){if(!bS){ca=ca.ClickTaleSettings;if("object"!==typeof ca){return b0}bS||(bS=cK(ca))}return bS}function cn(){bS=b0}function bQ(cb,ca,c2){return"function"===typeof cb?cb:typeof cb===ca?function(){return cb}:c2||b0}function bX(cb){var cb=(bR(cb)||{}).Persistence||{},ca=cb.EnableStorage,c5=cb.EnableStreams,c4=cb.EnableDispatch,c3=cb.AutoDispatch,c2=cb.Providers;cb.EnableStorage=function(){var c6="function"===typeof ca?!!ca():ca;return"boolean"===typeof c6?c6:b3};cb.EnableStreams=function(){var c6="function"===typeof c5?!!c5():c5;return"boolean"===typeof c6?c6:b3};cb.EnableDispatch=function(){var c6="function"===typeof c4?!!c4():c4;return"boolean"===typeof c6?c6:b3};cb.AutoDispatch=function(){var c6="function"===typeof c3?!!c3():c3;return"boolean"===typeof c6?c6:b3};cb.Providers=c2 instanceof Array?c2:[];return cb}var bP;function bC(){if(!bP){var ca=bT();ca.exports.persistence=ca.exports.persistence||{};bP=ca.exports.persistence}return bP}function bO(cb,ca,c2){this.key=cb;this.item=ca||{};this.u=c2||bZ}function bN(cb,ca,c2){this.key=cb;this.a=ca;this.L=c2;this.T=bZ}try{Object.defineProperty({},"x",{get:bY(b3)})}catch(bt){}function bM(cb,ca){this.ra=cb;this.la=ca}(function(cb,ca){function c2(){this.constructor=cb}c2.prototype=ca.prototype;cb.prototype=new c2})(bM,Error.prototype);bM.prototype.name="PersistenceMechanismException";function cW(cb,ca){this.j=cb;this.G=cb.localStorage;this.B=ca}bW=cW.prototype;bW.q=function(cb,ca,c4){var c3=this.B.stringify(cb.item);try{this.G.setItem(cb.key,c3),c4=ca}catch(c2){throw new bM(b3,this)}finally{c4&&c4(cb.key)}};bW.remove=function(cb,ca,c2){try{this.G.removeItem(cb.key),c2=ca}finally{c2&&c2(cb.key)}};bW.get=function(cb,ca){ca&&ca(new bO(cb.key,this.B.parse(this.G.getItem(cb.key))))};bW.all=function(cb,ca,c4){var c3=[],c2;for(c2 in this.G){bK(c2,ca,c4)&&c3.push(new bO(c2,this.B.parse(this.G.getItem(c2))))}cb&&cb(c3)};bW.clear=function(cb){for(var ca in this.G){bK(ca)&&this.G.remove(ca)}cb&&cb(b3)};bW.w=function(ca){this.clear(ca)};function bJ(cb,ca){var c3;this.k=bZ;try{if(c3=cb.localStorage,this.k=!!c3){c3.setItem("ct.p.k","ct.p.d"),"ct.p.d"===c3.getItem("ct.p.k")&&c3.removeItem("ct.p.k"),cF||(cF=new cW(cb,ca))}}catch(c2){this.k=bZ}}bJ.prototype.$=bY(b3);bJ.prototype.get=function(){return cF};var cF=b0;function cE(){this.db=b0;this.r=[]}cE.prototype.qa=1;cE.prototype.pa="ct.db";cE.prototype.ha="ct.db.os";cE.prototype.A=function(cb,ca,c2){this.r.push(function(){ca.apply(cb,c2)})};function cM(cb){for(var ca=0,c2;ca<cb.r.length;ca++){(c2=cb.r[ca])&&c2()}}function cD(cb,ca,c2){this.j=cb;this.l=ca;this.i=c2}bW=cD.prototype;bW.q=function(cb,ca,c2){this.i.A(this.l,this.l.q,arguments)};bW.remove=function(cb,ca,c2){this.i.A(this.l,this.l.remove,arguments)};bW.get=function(cb,ca){this.i.A(this.l,this.l.get,arguments)};bW.all=function(cb,ca,c2){this.i.A(this.l,this.l.all,arguments)};bW.clear=function(ca){this.i.A(this.l,this.l.clear,arguments)};bW.w=function(ca){ca&&ca(b3)};function cu(cb,ca,c2){this.j=cb;this.l=ca;this.I=c2.db;this.t=c2.ha}bW=cu.prototype;bW.q=function(c8,c7,c6){var c5,c4,c3,c2=c8.key,cb=b3;try{c5=this.I.transaction(this.t,"readwrite"),c4=c5.objectStore(this.t),c5.onabort=c5.onerror=function(){c6&&c6(c2)},c5.oncomplete=function(){var c9=cb?c7:c6;c9&&c9(c2)},c3=cC(c2)?c4.put(c8.item,c2):c4.add(c8.item,c2),c3.onerror=function(){cb=bZ}}catch(ca){throw cb=bZ,cA(this,ca)}};bW.remove=function(cb,ca,c6){var c5,c4,c3=b3;try{c5=this.I.transaction(this.t,"readwrite"),c5.onabort=c5.onerror=function(){c6&&c6(cb.key)},c5.oncomplete=function(){var c7=c3?ca:c6;c7&&c7(cb.key)},c4=c5.objectStore(this.t)["delete"](cb.key),c4.onerror=function(){c3=bZ}}catch(c2){throw c3=bZ,cA(this,c2)}};bW.get=function(cb,ca){var c3;try{c3=this.I.transaction(this.t,"readonly"),c3.onabort=c3.onerror=function(){ca&&ca(cb)},c3.oncomplete=function(c4){cb.item=c4.target.result;ca&&ca(cb)},c3.objectStore(this.t).get(cb.key)}catch(c2){throw cA(this,c2)}};bW.all=function(c8,c7,c6){function c5(){c8&&c8(c4)}var c4=[],c3,c2,cb;try{c3=this.I.transaction(this.t,"readonly"),c3.onabort=c3.onerror=c3.oncomplete=c5,c2=c3.objectStore(this.t).openCursor(),c2.onsuccess=function(c9){if(cb=c9.target.result){bK(cb.key,c7,c6)&&c4.push(new bO(cb.key,cb.value)),cb["continue"]()}}}catch(ca){throw cA(this,ca)}};bW.clear=function(cb){var ca;try{ca=this.I.transaction(this.t,"readwrite"),ca.onabort=ca.onerror=function(){cb&&cb(bZ)},ca.oncomplete=function(){cb&&cb(b3)},ca.objectStore(this.t).clear()}catch(c2){throw cA(this,c2)}};bW.w=function(cb){var ca=b3;try{this.I.close()}catch(c2){ca=bZ}cb&&cb(ca)};function cA(cb,ca){var c2=bZ;ca instanceof DOMException&&"InvalidStateError"===ca.name&&(c2=b3);return new bM(c2,cb)}function b1(){}bW=b1.prototype;bW.q=function(cb,ca,c2){(ca=c2||ca)&&ca(cb.key)};bW.remove=function(cb,ca,c2){(ca=c2||ca)&&ca(cb.key)};bW.get=function(cb,ca){cb&&(cb.item=b0);ca&&ca(cb)};bW.all=function(ca){ca&&ca([])};bW.clear=function(ca){ca&&ca(bZ)};bW.w=function(ca){ca&&ca(b3)};function bD(ca){this.j=ca;this.Q=bZ;this.i=new cE;this.z=new cD(ca,this,this.i);bu(this)}function bu(cb){var ca,c2;ca=cb.j.indexedDB.open(cb.i.pa,cb.i.qa);ca.onupgradeneeded=function(c3){(c2=c3.target.result)?(c2.onerror=c2.onabort=function(){cz(cb)},c2.onversionchange=function(){cz(cb)},c2.onclose=function(){cb.Q&&(cb.Q=bZ,cb.i.db=b0,cb.z=new cD(cb.j,cb,cb.i))},c2.objectStoreNames.contains(cb.i.ha)||(c3=c2.createObjectStore(cb.i.ha),c3.createIndex("s","s",{unique:bZ}),c3.transaction.oncomplete=function(){cY(cb,c2)})):cz(cb)};ca.onsuccess=function(c3){(c2=c3.target.result)?cY(cb,c2):cz(cb)};ca.onerror=function(){cz(cb)};ca.onblocked=function(){cz(cb)}}function cz(ca){ca.z=new b1;cM(ca.i)}function cY(cb,ca){var c2;cb.Q||(cb.Q=b3,cb.i.db=ca,cb.z=new cu(cb.j,cb,cb.i),c2=setTimeout(function(){clearTimeout(c2);cM(cb.i)},0))}bW=bD.prototype;bW.q=function(cb,ca,c2){this.z.q(cb,ca,c2)};bW.remove=function(cb,ca,c2){this.z.remove(cb,ca,c2)};bW.get=function(cb,ca){this.z.get(cb,ca)};bW.all=function(cb,ca,c2){this.z.all(cb,ca,c2)};bW.clear=function(ca){this.z.clear(ca)};bW.w=function(ca){this.z.w(ca)};function cy(cb){var ca,c3;if(this.k=cb.indexedDB&&(ca=cb.IDBFactory)&&(c3=ca.prototype)&&"function"===typeof c3.open&&(ca=cb.IDBDatabase)&&(c3=ca.prototype)&&"function"===typeof c3.transaction){try{cx||(cx=new bD(cb))}catch(c2){this.k=bZ}}}cy.prototype.$=bY(b3);cy.prototype.get=function(){return cx};var cx=b0;function cO(cb,ca,c2){this.j=cb;this.K=ca;this.J=c2}bW=cO.prototype;bW.q=function(cb,ca,c2){(cb.u?this.J:this.K).q(cb,ca,c2)};bW.remove=function(cb,ca,c2){(cb.u?this.J:this.K).remove(cb,ca,c2)};bW.get=function(cb,ca){(cb.u?this.J:this.K).get(cb,ca)};bW.all=function(cb,ca,c5){function c4(){c3&&c2&&cb&&cb(c3.concat(c2))}var c3,c2;this.K.all(function(c6){c3=c6;c4()},ca,c5);this.J.all(function(c6){c2=c6;c4()},ca,c5)};bW.clear=function(cb){function ca(c5){c5||(c2=bZ);c4&&c3&&cb&&cb(c2)}var c4,c3,c2=b3;this.K.clear(function(c5){c4=b3;ca(c5)});this.J.clear(function(c5){c3=b3;ca(c5)})};bW.w=function(cb){function ca(c5){c5||(c2=bZ);c4&&c3&&cb&&cb(c2)}var c4,c3,c2=b3;this.K.w(function(c5){c4=b3;ca(c5)});this.J.w(function(c5){c3=b3;ca(c5)})};function cv(cb,ca){var c6=new bJ(cb,ca),c5=new cy(cb);if(this.k=c6.k&&c5.k){try{if(!ct){var c4=c6.get(),c3=c5.get();c4&&c3?ct=new cO(cb,c4,c3):this.k=bZ}}catch(c2){this.k=bZ}}}cv.prototype.$=bY(bZ);cv.prototype.get=function(){return ct};var ct=b0;function cs(cb,ca,c3){this.j=cb;this.B=c3;this.O={};this.O.hybrid="hybrid";this.O.indexedDB="indexedDB";this.O.localStorage="localStorage";if(!cq.length){if(ca.length){for(cb=0;cb<ca.length;cb++){cB(this,ca[cb],b3)}}for(var c2 in this.O){cB(this,c2,bZ)}}return this}var cq=[];function cB(cb,ca,c3){var c2=b0;if("string"===typeof ca){c3&&delete cb.O[ca];cb:{c3=cb.j;cb=cb.B;switch(ca){case"hybrid":c2=new cv(c3,cb);break cb;case"indexedDB":c2=new cy(c3);break cb;case"localStorage":c2=new bJ(c3,cb);break cb}c2=b0}}else{ca&&(c2="function"===typeof ca.get&&"function"===typeof ca.isSpecified&&ca)}c2&&c2.k&&cq.push(c2)}cs.prototype.top=function(){return cq.length?cq[0]:b0};function b4(){for(var cb,ca=[],c2=0;c2<cq.length;c2++){cb=cq[c2],cb.$()&&ca.push(cb)}return ca}function bF(cb,ca){this.h=cb;this.key=ca;this.oa=1}function bw(){}bw.prototype.R=bY(1);function c0(){}c0.prototype.R=bY(3);function cR(cb,ca){this.h=cb;this.key=ca}cR.prototype.R=bY(4);var cp,co;(function(){var ca={};cp=function(cb,c2){ca[cb]=ca[cb]||[];ca[cb].push(c2)};co=function(cb){var c3=ca[cb.R()];if(c3){for(var c2=0;c2<c3.length;c2++){c3[c2].call(this,cb)}}}})();function cm(){this.aa=0;this.g={};this.r=[]}cm.prototype.set=function(ca){this.g[ca.key]||this.aa++;this.g[ca.key]=ca;this.A(ca)};cm.prototype.ca=function(){return !!this.aa};cm.prototype.next=function(){var ca=b0;this.r.length&&(ca=this.r[0],this.r.splice(0,1));this.r.length||co(new cG);return ca};function ck(cb,ca){cb.g[ca]&&(delete cb.g[ca],cb.aa--);cb.ca()||co(new c0)}cm.prototype.A=function(cb){var ca=this.r.length;this.r.push(cb);ca||co(new bw)};var bK,cC,b6,bH,by;function bp(){return Array.prototype.slice.call(arguments).join(".")}var cT=Date.now||function(){return +new Date};b6=function(ca){return bp("ct.p.s","V1",ca)};bH=function(cb,ca){return bp("ct.p.m","V1",cb,ca)};cC=function(ca){return 0===ca.indexOf("ct.p.s")};by=function(ca){return 0===ca.indexOf("ct.p.m")};bK=function(cb,ca,c2){ca=ca||"ct.p";switch(c2||2){case 0:return cb===ca;case 1:return -1<cb.indexOf(ca);case 2:return 0===cb.indexOf(ca)}return bZ};function cj(cb,ca,c6,c5,c4,c3,c2){this.path=cb;this.ga=ca;this.data=c6;this.u=c5;this.ja=c4;this.ba=c3;this.ea=c2;this.P=self&&self.Uint8Array}cj.prototype.Y=function(){return{p:this.path,sd:this.ga,d:this.P&&this.data instanceof this.P?Array.apply([],this.data):this.data,sm:this.u,b:this.ja,f:this.ba,m:this.ea}};cj.prototype.M=function(){return !!this.path&&!isNaN(this.ga)&&("string"===typeof this.data||this.P&&this.data instanceof this.P)&&"boolean"===typeof this.u&&"boolean"===typeof this.ja&&!isNaN(this.ba)&&!isNaN(this.ea)};function ci(cb,ca,c2){this.h=cb;this.D=ca;this.H=c2}ci.prototype.Y=function(){return{s:this.h,p:this.D.Y(),c:this.H}};ci.prototype.M=function(){return !isNaN(this.h)&&this.D&&this.D instanceof cj&&this.D.M()&&!isNaN(this.H)};function cI(){this.g={}}bW=cI.prototype;bW.set=function(cb,ca){this.g[cb]=ca};bW.get=function(ca){return this.g[ca]};bW.all=function(){var cb,ca=[];for(cb in this.g){ca.push(this.g[cb])}return ca};bW.remove=function(ca){delete this.g[ca]};bW.clear=function(){this.g={}};bW.ca=function(){for(var ca in this.g){return b3}return bZ};function ch(cb,ca,c2){this.h=cb;this.H=ca;this.S=c2||this.H+420000;this.n=new cI}ch.prototype.Y=function(){return{s:this.h,c:this.H,e:this.S}};ch.prototype.M=function(){return !isNaN(this.h)&&!isNaN(this.H)&&!isNaN(this.S)&&!(new Date>this.S)};ch.prototype.W=function(ca){ca||(ca=cT()+420000);this.S=ca};function cG(){}cG.prototype.R=bY(2);var cX;function cN(){if(!cX){var ca=bT();ca.exports.transport=ca.exports.transport||{};cX=ca.exports.transport}return cX}function cw(cb,ca,c3){var c2=cN();this.j=cb;this.B=ca;this.Z=c3;this.X=[];this.ma=0;this.U=[];this.V=b3;this.C=new cI;this.g=new cm;this.ta=c2.getMaxConcurrentRequests();this.sa=c2.getTransportInterval;this.ia=this.Z.AutoDispatch();this.F=bZ;this.ia&&this.ka()}cw.prototype.ka=function(){var cb=this;if(this.Z.EnableDispatch()){this.X=b4(new cs(this.j,this.Z.Providers,this.B));for(var ca=0;ca<this.X.length;ca++){(function(c2){c2.get().all(function(dc){for(var db=0;db<dc.length;db++){var da=dc[db].key,c8=dc[db].item,c6;if(cC(da)){c6=new ch(c8.s,c8.c,c8.e),da=new bN(da,c6,c2),cb.C.set(c6.h,da)}else{if(by(da)){c6=c8.c;var c3=c8.s,c5=c8.p,c8=c5.p,c9=c5.sd,dd=c5.d,c4=c5.sm,c7=c5.b,de=c5.f,c5=c5.m;c7&&dd instanceof Array&&self.Uint8Array&&(dd=new self.Uint8Array(dd));c6=new ci(c3,new cj(c8,c9,dd,c4,c7,de,c5),c6);da=new bN(da,c6,c2);cb.U.push(da)}}}cb.ma++;b2(cb)})})(this.X[ca])}}};function b2(cb){var ca,c6,c5,c4,c3;if(cb.ma===cb.X.length){c3={};for(var c2=0;c2<cb.U.length;c2++){c5=cb.U[c2],ca=c5.a.h,c6=cb.C.get(c5.a.h),c3[ca]||(c6?(c3[ca]=c4=c6.a.M())||bE(cb,c6.L,c6.a.h,c6.key):c3[ca]=bZ),c3[ca]&&c5.a.M()?(c6.a.n.set(c5.key,c5),cb.g.set(new bF(c5.a.h,c5.key))):bv(cb,c5,bZ)}cb.U=[];cp(1,function(){cb.V=bZ;cg(cb,0)});cp(2,function(){cb.V=b3});cp(3,function(){var c7,db,da;if(cZ(cb)){c7=cb.C.all();for(var c9=0;c9<c7.length;c9++){if(db=c7[c9]){db=db.a.n.all();for(var c8=0;c8<db.length;c8++){(da=db[c8])&&cb.g.set(new bF(da.a.h,da.key))}}}}});cp(4,function(c7){var c8=cb.C.get(c7.h);(c8=c8&&c8.a.n.get(c7.key))?bv(cb,c8,b3):ck(cb.g,c7.key)});cb.V=bZ;cb.F=b3;cg(cb,0)}}function cg(cb,ca){cb.V||cZ(cb)&&cP(cb,ca)}function cZ(cb){for(var ca=cb.C.all(),c4,c3=bZ,c2=0;c2<ca.length;c2++){if(c4=ca[c2]){if(c4.a.n.ca()){c3=b3;break}else{bE(cb,c4.L,c4.a.h,c4.key)}}}return c3}function cP(cb,ca,c4,c3){var c2=setTimeout(function(){var c6=c3,c8=c4,c7=c6&&c8,c9=b0,c5;clearTimeout(c2);if(!c7&&(c5=cb.g.next())){c6=c5.h,c8=c5.key}if(c6=cb.C.get(c6)){c9=c6.a.n.get(c8)}c9?c9.T?cg(cb,0):b5(cb,c9):(ck(cb.g,c8),cg(cb,0))},ca||0)}function b5(cb,ca){var c2=ca.a.D;ca.T=b3;bb.WRC4<cb.ta?bb.WRCm(c2.path,c2.ga,c2.data,c2.ba,c2.ea,function(c5,c4,c3){bv(cb,ca,b3);cg(cb,cb.da(c5,c4,c3))},function(c7,c6,c5){ca.T=bZ;var c4=cb.g,c3=c4.g[ca.key];c3&&(--c3.oa?c4.A(c3):co(new cR(c3.h,c3.key)));cg(cb,cb.da(c7,c6,c5))}):(ca.T=bZ,cP(cb,cb.da(),ca.key,ca.a.h))}cw.prototype.da=function(cb,ca,c2){return this.sa.apply(this,arguments)||0};function bE(cb,ca,c3,c2){c2=new bO(c2);ca&&ca.get().remove(c2);cb.C.remove(c3.toString())}function bv(cb,ca,c4){var c3=ca.key,c2=new bO(c3,b0,ca.a.D.u);c4&&(c4=cb.C.get(ca.a.h))&&c4.a.n.remove(c3);ck(cb.g,ca.key);ca.L.get().remove(c2)}function cf(cb,ca,c4,c3){var c2=this;this.j=cb;this.B=ca;this.Z=c4;this.fa=c3;this.N=this.o=b0;this.na=c4.EnableStreams();this.F=bZ;if(c4.EnableStorage()&&c2.fa&&(this.N=(new cs(cb,c4.Providers,ca)).top())){cb=b6(c2.fa),ca=new ch(c2.fa,cT()),c2.o=new bN(cb,ca,this.N),ce(c2,c2.o,bZ,function(){c2.F=b3},function(){})}}cf.prototype.q=function(c9,c8,c7,c6,c5){var c4=this,c3,c2,c8=c8||cT(),ca=new cj(c7.path,c7.stid,c7.data,c7.stream,c7.binary,c7.flag,c7.mid),cb=this.F&&this.N;ca.u&&(cb=this.na);if(!cb){return c5&&c5(c7),b0}c3=bH(c9,c8);c2=new bN(c3,new ci(c9,ca,c8),this.N);ce(this,c2,ca.u,function(){c4.o.a.n.set(c2.key,c2);c6&&c6(c3)},function(da){c4.o.a.n.remove(da);c5&&c5(c7)});this.o.a.W();ce(this,this.o,bZ);return c2.key};function ce(cb,ca,c5,c4,c3){c5=new bO(ca.key,ca.a.Y(),c5);try{ca.L?ca.L.get().q(c5,c4,c3):c3(ca.key)}catch(c2){c2.la&&c2.ra&&(cb.F=bZ,c2.la.w(function(){this.o.a.n.clear()}))}}cf.prototype.remove=function(cb,ca,c5){var c4=this,c3,c2=c4.o.a.n.get(cb);c2&&(c3=new bO(cb,b0,c2.a.D.u),c2.L.get().remove(c3,function(){c4.o.a.n.remove(cb);ca&&ca(cb)},c5))};cf.prototype.W=function(cb,ca){this.o.a.W();ce(this,this.o,bZ,cb,ca)};(function(cb){var ca=bC(),c2=bX(cb);ca.ua=c2.EnableStorage;ca.va=c2.EnableStreams;ca.wa=c2.EnableDispatch;ca.createPersistenceDispatchService=function(c4,c3){var c5=new cw(c4,c3,c2);return{dispatchMessages:function(){return c5.ka.apply(c5)},serviceEnabled:function(){return c5.F},autoDispatch:function(){return c5.ia}}};ca.createPersistenceStorageService=function(c4,c3,c6){var c5=new cf(c4,c3,c2,c6);return{storeMessage:function(){return c5.q.apply(c5,arguments)},removeMessage:function(){c5.remove.apply(c5,arguments)},prolongSession:function(){c5.W.apply(c5,arguments)},serviceEnabled:function(){return c5.F},streamsEnabled:function(){return c5.na}}}})(window);function bG(cb){var cb=(bR(cb)||{}).Transport||{},ca=cb.LastMessage||{},c3=cb.MaxInlineExecLength,c2=cb.Reliability||{};cb.LastMessage=function(){return ca};cb.Interval=bQ(cb.Interval,"number",bY(0));cb.MaxConcurrentRequests=bQ(cb.MaxConcurrentRequests,"number",bY(5));cb.MaxInlineExecLength=Math.min(isNaN(c3)?2000:c3,2000);ca.RegisterToOnBeforeUnload=bQ(ca.RegisterToOnBeforeUnload,"boolean",bY(bZ));cb.LastMessage=function(){return ca};c2.Load={Retries:c2.Load&&"number"===typeof c2.Load.Retries?c2.Load.Retries:2,Persist:c2.Load&&"boolean"===typeof c2.Load.Persist?c2.Load.Persist:bZ};cb.Reliability=function(c4){return c2[c4]};return cb}(function(cb){var ca=cN(),cb=bG(cb),c2=cb.Legacy===b3;ca.isLegacy=function(){return c2};ca.getTransportInterval=cb.Interval;ca.getTransportLastMessage=cb.LastMessage;ca.getMaxConcurrentRequests=cb.MaxConcurrentRequests;ca.getTransportReliability=cb.Reliability;ca.maxInlineExecLength=cb.MaxInlineExecLength})(window);var bx;function cd(ca){return"string"===typeof ca&&!!ca.length}var c1=window,cc;if(!bx){var cS=bT();cS.exports.proxy=cS.exports.proxy||{};bx=cS.exports.proxy}cc=bx;var b8=(bR(c1)||{}).Proxy||{},cH=b8.WR,b7=b8.ImageFlag,bI=b8.UploadPage,bz=b8.Reliable;cc.wrMessagesHandler=cc.authenticationHandler=cc.reliableHandler=cc.uploadPageHandler=b0;cd(b7)&&(cc.authenticationHandler=b7);cd(cH)&&(cc.wrMessagesHandler=cH);cd(bI)&&(cc.uploadPageHandler=bI);cd(bz)&&(cc.reliableHandler=bz);var bq;var cU=window,cQ;if(!bq){var cJ=bT();cJ.exports.scrollDimensions=cJ.exports.scrollDimensions||{};bq=cJ.exports.scrollDimensions}cQ=bq;var b9=(bR(cU)||{}).ScrollDimensions||{},bL=b9.Width,bA=b9.Height;cQ.width=cQ.height=0;"number"===typeof bL&&(cQ.width=bL);"number"===typeof bA&&(cQ.height=bA);var br;var cl=(bR(window)||{}).RecordingThresholds||{};if(!br){var bV=bT();bV.exports.recordingThresholds=bV.exports.recordingThresholds||{};br=bV.exports.recordingThresholds}br.maxMid="number"===typeof cl.MaxMessageId?cl.MaxMessageId:3000;var bB;var bs=window,cV;if(!bB){var cL=bT();cL.exports.protocol=cL.exports.protocol||{};bB=cL.exports.protocol}cV=bB;var cr=((bR(bs)||{}).Protocol||{}).Method;cV.method=b0;"string"===typeof cr&&cr.length&&(cV.method=cr)}();!function(){function bV(bW,bX){bU.symbols[bW]=bX}var bT;function bS(){if(bT){return bT}var bW=window.ClickTaleGlobal;bW||(bW={},window.ClickTaleGlobal=bW);bW.exports=bW.exports||{};bW.symbols=bW.symbols||{};bW.api=bW.api||{};return bT=bW}var bR;function bQ(){if(!bR){var bW=bS();bW.exports.persistence=bW.exports.persistence||{};bR=bW.exports.persistence}return bR}var bP,bO;(function(){var bW=bQ();bP=function(bY,bX){return bW.createPersistenceDispatchService(bY,bX)};bO=function(bZ,bY,bX){return bW.createPersistenceStorageService(bZ,bY,bX)}})();var bU=bS();bV("WREK",bP);bV("WREL",bO);var bN;function bM(){if(!bN){var bW=bS();bW.exports.transport=bW.exports.transport||{};bN=bW.exports.transport}return bN}var bL,bK,bJ,bH,bF,bD;(function(){var bW=bM();bL=bW.isLegacy;bK=function(bZ,bY,bX){return bW.getTransportInterval.apply(this,arguments)};bJ=bW.getTransportLastMessage;bH=bW.getMaxConcurrentRequests;bF=bW.maxInlineExecLength;bD=bW.getTransportReliability})();bV("WRCw",bL);bV("WRC0",bK);bV("WRDf",bJ);bV("WRC7",bH);bV("WREm",bD);bV("WRE3",bF);var bB;var bz,bx,bu,bs,bq;if(!bB){var bI=bS();bI.exports.proxy=bI.exports.proxy||{};bB=bI.exports.proxy}bq=bB;bz=bq.wrMessagesHandler;bx=bq.authenticationHandler;bu=bq.uploadPageHandler;bs=bq.reliableHandler;bV("WRDv",bx);bV("WRDp",bz);bV("WRE4",bu);bV("WRE5",bs);var bG;if(!bG){var bE=bS();bE.exports.recordingThresholds=bE.exports.recordingThresholds||{};bG=bE.exports.recordingThresholds}bV("WRDr",bG.maxMid);var bC;function bA(){if(!bC){var bW=bS();bW.exports.xhr=bW.exports.xhr||{};bC=bW.exports.xhr}return bC}bV("WRBY",function(bW){var bW=bW||window,bX=bA();return bX.originalXHR?bX.originalXHR:"undefined"!=typeof bW.XMLHttpRequest&&("function"==typeof bW.XMLHttpRequest.OriginalXMLHttpRequest||"object"==typeof bW.XMLHttpRequest.OriginalXMLHttpRequest)?bW.XMLHttpRequest.OriginalXMLHttpRequest:bW.XMLHttpRequest});bV("WRCD",function(bW){var bW=bW||window,bX=bA();return bX.registerRecorderFunctionAPI?bX.registerRecorderFunctionAPI:bW.XMLHttpRequest&&bW.XMLHttpRequest.RegisterRecorderFunction?bW.XMLHttpRequest.RegisterRecorderFunction:null});bV("WRCE",function(bW){var bW=bW||window,bX=bA();return bX.v?bX.v:bW.XMLHttpRequest&&"number"==typeof bW.XMLHttpRequest.ClickTaleWrapperVersion?bW.XMLHttpRequest.ClickTaleWrapperVersion:null});var by;if(!by){var bw=bS();bw.exports.protocol=bw.exports.protocol||{};by=bw.exports.protocol}bV("WREO",by.method);var bv;var bt,br;if(!bv){var bp=bS();bp.exports.scrollDimensions=bp.exports.scrollDimensions||{};bv=bp.exports.scrollDimensions}br=bv;bt=br.height;bV("WRE0",br.width);bV("WRE1",bt)}();var a1=ClickTaleGlobal.api;if(a1&&a1.ClickTaleOnReadyInvoked){return}var a7=void 0,bb=ClickTaleGlobal.symbols,a4="Copyright 2006-2015 ClickTale Ltd., US Patent and US Patent Pending",aa,aJ,Q,X=false,f=false,P=false,aN,L=false,O="",N={},M={},x="&",v="=",p=false,o,a6,a0="ImpactRecorder",bh="",a9='unable to record because either there are no credits for project, the domain is not checked in the account\'s "Manage Domains" section or communication is down';bb.WRE9={wr:1,authentication:2,upload:3,reliable:4};bb.WRAN=false;bb.WRD=document;bb.WRE="https://wr.clicktale.net/v1/";bb.WRDx="https://wr.clicktale.net/v1/";bb.WRE6="https://wr.clicktale.net/v1/";bb.WRE7="https://wr.clicktale.net/v1/";bb.WRAJ=".clicktale.net/";bb.WRDz=false;bb.WRBU=aF;bb.WRBS=aF();bb.WRm=bb.WRBS.a;bb.WRB=[];bb.WRBP=true,bb.WRDh=false;bb.WRDi=false;bb.WRBT=T();bb.WRCT=false;bb.WRCc="";bb.WRCY=false;bb.WRC9=false;bb.WRDA=false;bb.WRDB=false;bb.WRJ=0;bb.WRC4=0;bb.WRn=Y;bb.WREJ=null;bb.WRBn=ag;bb.WREu=bb.WREO!==a0;bb.WRFC=false;bb.WRFD=0;bb.WRi=af;bb.WRj=ac;bb.WRFK=[];bb.WRFQ=false;bb.WRFR={};bb.WRa=au;bb.WRCO=ah;bb.WRCm=B;bb.WRc=at;bb.WREl=ba;bb.WRG=aL;bb.WRH=aK;bb.WRr=V;bb.WRs=S;bb.WRAS=aS;bb.WRAT=aQ;bb.WRBj=aq;bb.WRBi=ar;bb.WRBl=am;bb.WRBm=aj;bb.WRCL=ap;bb.WRBk=ao;bb.WRAs=aH;bb.WRDW=y;bb.WRE2=A;bb.WRFA=bo;bb.WRFL="";ClickTaleUnloadPause=window.ClickTaleUnloadPause||200;ClickTaleEventsMask=window.ClickTaleEventsMask||511-128;ClickTaleIgnoreCookieName=window.ClickTaleIgnoreCookieName||"WRIgnore";ClickTaleUIDCookieName=window.ClickTaleUIDCookieName||"WRUID";ClickTaleLog=a1.ClickTaleLog=K;window.ClickTaleCookieDomain=a1.ClickTaleCookieDomain=(function(bp){return window.ClickTaleCookieDomain||a1.ClickTaleCookieDomain||(bp.search(/www\.\w+([\-]{1}\w+)*\.\w+/i)==0&&bp.substring(4,bp.length))||a7})(bb.WRD.domain);window.ClickTale=a1.ClickTale=Z;a1.WRFE=window.ClickTaleIsSavedCookieName||"_CT_RS_";window.ClickTaleUploadPage=a1.ClickTaleUploadPage=a;window.ClickTaleDelayUploadPage=a1.ClickTaleDelayUploadPage=bf;window.ClickTaleIsUploadPage=a1.ClickTaleIsUploadPage=aU;window.ClickTaleSetAllSensitive=a1.ClickTaleSetAllSensitive=aT;window.ClickTaleResetAllSensitive=a1.ClickTaleResetAllSensitive=R;window.ClickTaleSetSomeSensitive=a1.ClickTaleSetSomeSensitive=aA;window.ClickTaleResetSomeSensitive=a1.ClickTaleResetSomeSensitive=w;window.ClickTaleIgnore=a1.ClickTaleIgnore=r;window.ClickTaleRegisterFormSubmitFailure=a1.ClickTaleRegisterFormSubmitFailure=aw;window.ClickTaleGetVersion=a1.ClickTaleGetVersion=e;window.ClickTaleSetCustomElementID=a1.ClickTaleSetCustomElementID=z;window.ClickTaleRegisterFormSubmitSuccess=a1.ClickTaleRegisterFormSubmitSuccess=aB;window.ClickTaleExec=a1.ClickTaleExec=I;window.ClickTaleField=a1.ClickTaleField=b;window.ClickTaleNote=a1.ClickTaleNote=U;window.ClickTaleEvent=window.ClickTaleTag=a1.ClickTaleTag=a1.ClickTaleEvent=l;window.ClickTaleGetPID=a1.ClickTaleGetPID=t;window.ClickTaleSetUID=a1.ClickTaleSetUID=aY;window.ClickTaleGetUID=a1.ClickTaleGetUID=bi;window.ClickTaleGetSID=a1.ClickTaleGetSID=c;window.ClickTaleLogical=a1.ClickTaleLogical=a2;window.ClickTaleDetectAgent=a1.ClickTaleDetectAgent=aX;window.ClickTaleIsPlayback=a1.ClickTaleIsPlayback=aV;window.ClickTaleCookieExpiryDays=a1.ClickTaleCookieExpiryDays=(window.ClickTaleCookieExpiryDays||a1.ClickTaleCookieExpiryDays||365);window.ClickTaleIsSavedRecording=a1.ClickTaleIsSavedRecording=a5;window.ClickTaleIsRecording=a1.ClickTaleIsRecording=W;window.ClickTaleSendJsonMessage=a1.ClickTaleSendJsonMessage=aO;window.ClickTaleDispatchPersistedMessages=a1.ClickTaleDispatchPersistedMessages=aC;window.ClickTaleUploadPageNow=a1.ClickTaleUploadPageNow=aW;window.ClickTaleAddAugmentElementPathHandler=a1.ClickTaleAddAugmentElementPathHandler=aR;function A(){if(window.ClickTaleIncludedOnDOMReady||/complete|interactive/.test(document.readyState)){return true}return false}function bo(){bb.WRE=al(bb.WRE);bb.WRDx=al(bb.WRDx);bb.WRE6=al(bb.WRE6);bb.WRE7=al(bb.WRE7)}function W(){return bb.WREP.WREF()}function K(bp,br,bt){bt=bt||{};bt.module=(bp||"").toString();bt.type=(br||"").toString();for(var bs in M){if(!!bs){var bq=M[bs];if(!!bq){bq(bt)}}}}function aK(){return(new Date()).getTime()-window.WRInitTime}function aL(){return Math.floor(Math.random()*2147483647)}function a8(){if(window.performance){window.WRInitTime=performance.timing.navigationStart}else{if(typeof window.WRInitTime==="undefined"){window.WRInitTime=(new Date()).getTime();return false}}return true}function ba(bw){if(typeof bw==="object"&&"length" in bw){var bv=bw.length;for(var br=0;br<bv;br++){var bt=bw[br],bq={},bu,bs,bp;if(typeof bt==="string"){bu=window[bt];if(!bu){continue}bq.func=bu;bq.scope=window;bq.args=[]}else{if(typeof bt==="function"){bq.func=bt;bq.scope=window;bq.args=[]}else{if(typeof bt==="object"){bu=bt.fn;if(typeof bu!=="function"){continue}bq.func=bu;bq.scope=bt.scope||window;bq.args=bt.args||[]}}}bq.func.apply(bq.scope,bq.args)}}}function at(){var bp=bb.WREm("Load");bb.WRAG={a:"load",w:V(),h:S(),cw:ar(),ch:aq(),lw:am(),lh:aj(),t:aK(),o:ao(),persist:bp.Persist,retries:bp.Retries,type:bb.WRE9.reliable,sw:bb.WRE0||aS(),sh:bb.WRE1||aQ()};au(bb.WRAG)}function B(bq,bp,bs,bv,bw,bu,bt){var br,bx=!!window.Uint8Array&&bs instanceof window.Uint8Array;if(bx){bv|=64}if(o){aZ(bq,bp,bs,bv,bw,bx,bu,bt);return}br={isBinaryStream:bx,onSuccess:bu,onError:bt,onBeforeSend:function(){++bb.WRC4;this.startTime=new Date()},onComplete:function(bz,bA,by){--bb.WRC4},startTime:null};bk(br,bq,bv,bs,bp)}function aZ(bq,bp,bv,by,bz,bA,bx,bw){var bt,br,bB,bu=(bp===0&&(by&3)),bs=bd(bA,bv,bu);if(bs){bB="&"+bv+"&"+aL();if(bu){bq=bq+(by|16)+bB;bt=new XDomainRequest();bt.open("GET",bq);bt.onload=function(){bt.onerror=bt.ontimeout=bt.onload=null;--bb.WRC4;if(bx){bx(bq.length,new Date()-br,bA)}};bt.onerror=bt.ontimeout=bw?function(){bt.onerror=bt.ontimeout=bt.onload=null;--bb.WRC4;if(bw){bw(bq.length,new Date()-br,bA)}}:bt.onload;bt.onprogress=function(){return};bt.timeout=30000;++bb.WRC4;br=new Date();bt.send()}else{bt=new Image();bq=bq+by+bB;br=new Date();bt.src=bq;++bb.WRC4;bt.onload=bt.onerror=function(){bt.onerror=bt.onload=null;--bb.WRC4;if(bx){bx(bq.length,new Date()-br,bA)}}}}else{bq=bq+(by|16);bt=new XDomainRequest();bt.open("POST",bq);bt.onload=function(){bt.onerror=bt.ontimeout=bt.onload=null;--bb.WRC4;if(bx){bx(bq.length,new Date()-br,bA)}};bt.onerror=bt.ontimeout=bw?function(){bt.onerror=bt.ontimeout=bt.onload=null;--bb.WRC4;if(bw){bw(bq.length,new Date()-br,bA)}}:bt.onload;bt.onprogress=function(){};bt.timeout=30000;++bb.WRC4;br=new Date();bt.send(bv)}}function ah(bq,bw){var bt=ac(bq);if(!bt){return null}var bp=bt.split(x),bu=[];for(var bs=0;bs<bp.length;bs++){var bv=bp[bs];var br=bv.split(v);if(br.length==2){bu.push(br)}}if(!bw){return bu}for(var bs=0;bs<bu.length;bs++){if(bu[bs][0]==bw){return bu[bs][1]}}return null}function au(bp){if(W()){bb.WRCb(bp)}else{if(bb.WRB.push){bb.WRB.push(bp)}}if(bb.WRJ===bb.WRDr&&!bb.WRDh){bb.WRDh=true;a1.ClickTaleSendThresholdExceededEvent();a1.ClickTaleStop()}}function V(){return self.innerWidth||bb.WRu.offsetWidth}function S(){return self.innerHeight||bb.WRu.offsetHeight}function aS(){return bb.WRu.scrollWidth}function aQ(){if(bb.WRD.documentElement){return Math.max(bb.WRD.body.scrollHeight,bb.WRD.documentElement.scrollHeight)}return bb.WRu.scrollHeight}function ao(){return window.orientation|0}function ar(){return bb.WRBS.m?self.innerWidth:bb.WRu.clientWidth}function aq(){return bb.WRBS.m?self.innerHeight:bb.WRu.clientHeight}function am(){return bb.WRu.clientWidth}function aj(){return bb.WRu.clientHeight}function ap(br,bs,bp){var bq=parseInt(ah(br,bs))||0;ak(br,bs,bq+1,bp)}function ai(){}ai.prototype={WRD3:function(bp){if(bp==undefined){bp=1}aN=bp;if(bp==1){aH("note3: recording all visitors to this page ("+bp+")")}else{if(bp==0){aH("note3: not recording any visitor to this page ("+bp+")")}else{aH("note3: recording approximately 1 of every "+Math.ceil(1/bp)+" visitors to this page ("+bp+")")}}},WRD4:function(bp){bb.WRBu=true;if(Math.random()<bp){bb.WRK=aP()}else{bb.WRK=0}},WRD5:function(bp){af(ClickTaleUIDCookieName,bb.WRK,a1.ClickTaleCookieExpiryDays);if(bb.WRK==0||(ac(ClickTaleUIDCookieName)==null&&bp!=1)){aH("warning4: the current machine/user is disabled for recording");return true}return false},WRD6:function(bp){if(bp===null||bp==="0"){af(ClickTaleUIDCookieName,aP(),a1.ClickTaleCookieExpiryDays)}},WRD7:function(){if(!X){var bq=this;X=true;var bp=new Image();bp.src=bb.WRDx+"i/"+bb.WRA+".gif?r="+aN+"&UID="+bb.WRK+(bb.WRBu?"&new":"")+(bb.WRBP?"&as=1":"")+(bb.WRBS.m?"&m=1":"")+"&"+aL();bp.onerror=function(){bp.onload=null;bp.onerror=null;X=false;aG(a9,true)};bp.onload=function(){bp.onload=null;bp.onerror=null;X=false;bq.WRD8(bp)}}},WRD8:function(bp){if(bp.width==2&&bp.height==1){aG(a9,true);return}aM(bp)},WREF:function(){return typeof bb.WRDw=="number"},WRD9:function(){return typeof bb.WRDw=="number"?bb.WRDw:null},WREA:function(bp){if(bp>0||bp===0||bp==="0"){af(ClickTaleUIDCookieName,bp,a1.ClickTaleCookieExpiryDays)}else{an(ClickTaleUIDCookieName)}},WREB:function(bp){bb.WRE=bb.WRDp?"https://"+bb.WRDp:"https://"+bp+bb.WRAJ;bb.WRDx=bb.WRDv?"https://"+bb.WRDv:"https://"+bp+bb.WRAJ;if(bb.WRE4){bb.WRE6="https://"+bb.WRE4}else{bb.WRE6=bb.WRDp?"https://"+bb.WRDp:"https://"+bp+bb.WRAJ}if(bb.WRE5){bb.WRE7="https://"+bb.WRE5}else{bb.WRE7=bb.WRDp?"https://"+bb.WRDp:"https://"+bp+bb.WRAJ}bb.WRFA()},WREC:function(){Z(bb.WRA,aN,bb.WRCQ)},WRED:function(){bb.WRDw=aL();return bb.WRDw},WREw:function(){return this.WREF()}};function ad(){}ad.prototype={WRFG:false,WRD3:function(){return},WRD4:function(){bb.WRBu=true},WRD5:function(){return false},WRD6:function(bp){if(bp===null||bp==="0"){an(ClickTaleUIDCookieName)}this.WRFG=true},WREB:function(){bb.WRE=bb.WRDp?"https://"+bb.WRDp:bb.WRE;bb.WRDx=bb.WRDv?"https://"+bb.WRDv:bb.WRDx;if(bb.WRE4){bb.WRE6="https://"+bb.WRE4}else{bb.WRE6=bb.WRDp?"https://"+bb.WRDp:bb.WRE6}if(bb.WRE5){bb.WRE7="https://"+bb.WRE5}else{bb.WRE7=bb.WRDp?"https://"+bb.WRDp:bb.WRE7}bb.WRFA()},WRD7:function(){var bp,br=bb.WRDx+"auth/",bq=bb.WRA,bs=bb.WRK,bt=this;if(f){return}f=true;br+="?pid="+bq+(bs&&bs.indexOf(".")<0?"&uid="+bs:"");br+=bb.WRBP?"&as=1":"";br+=bb.WRBS.m?"&m=1":"";br+="&"+aL();br+=bb.WREP.WRFF();br+=(bb.WRFQ)?"&skiprnd=1":"";br+=bh;if(o){bp=new XDomainRequest();bp.open("GET",br);bp.onerror=bp.ontimeout=bp.onload=function(){bp.onerror=bp.ontimeout=bp.onload=null;bb.WREP.WREE(bp.responseText)};bp.onprogress=function(){return};bp.timeout=30000;bp.send();return}var bu={onSuccess:function(by,bv,bx,bw){bb.WREP.WREE(bw.responseText)},url:br,method:"GET"};n(bu)},WREE:function(bq){try{bq=JSON.parse(bq);var bp=bq.rejectReason.indexOf("RejectedByRandomRatio")>=0;if(bq.authorized){var bs=bq.userTrackingState;if(bs.indexOf("Recording")>=0){bb.WRFD=256;bb.WREx=true}bb.WRK=bq.uid||bb.WRK;bb.WRDw=bq.sid||bb.WRDw;bb.WRFL=bq.ip;aM()}if(bp||!bq.authorized){aG("User rejected for recording [reason: "+bq.rejectReason+"]",bp)}if(bb.WRK!==null){af(ClickTaleUIDCookieName,bb.WRK,a1.ClickTaleCookieExpiryDays)}if(bb.WRK===0||ac(ClickTaleUIDCookieName)===null){aH("warning4: the current machine/user is disabled for recording")}}catch(br){aG("Authentication process failed")}f=false},WREF:function(){return bb.WRDz},WRD9:function(){return typeof bb.WRDw==="string"&&bb.WRDw.length?bb.WRDw:null},WREA:function(){ai.prototype.WREA.apply(this,arguments)},WREC:function(){Z(bb.WRA,1,bb.WRCQ)},WRED:function(){bb.WRDz=true;return bb.WRDw},WREw:function(){return !!bb.WREx},WRFF:function(){if(window.ClickTaleSettings){if(ClickTaleSettings.ForceRecording&&ClickTaleSettings.ForceRecording()){return"&f=1"}if(this.WRFG||ClickTaleSettings.QARecording&&ClickTaleSettings.QARecording()){return"&f=2"}}return""}};function a5(){return bb.WREP.WREw()}bb.WREP=ab();function ab(){if(bb.WREu){return new ai()}return new ad()}J();H();aI();K("recorder","loaded");aH("note1: entering debug mode, ClickTale script is installed");if(!a8()){aH("warning1: top ClickTale script is missing in the page")}o=(bb.WRBS.t===bb.WRBS.IE&&bb.WRBS.v<10);a6=bb.WRBS.XDR&&(bb.WRBS.t==bb.WRBS.FF||(bb.WRBS.t==bb.WRBS.IE&&bb.WRBS.v>=9));var ax=av();Q=(bb.WRD.compatMode=="BackCompat");bb.WRu=(Q?bb.WRD.body:bb.WRD.documentElement);if(bb.WRBS){bb.WRCR=(window.ClickTaleSettings&&typeof ClickTaleSettings.CookieName!="undefined")?ClickTaleSettings.CookieName:"__CT_Data";if(window.ClickTaleSettings&&window.ClickTaleSettings.SubCookieSeperator){x=window.ClickTaleSettings.SubCookieSeperator}if(window.ClickTaleSettings&&window.ClickTaleSettings.SubCookieEquator){v=window.ClickTaleSettings.SubCookieEquator}if(bb.WRCR){ap(bb.WRCR,"gpv",a1.ClickTaleCookieExpiryDays)}}if(window.ClickTaleIncludedOnWindowLoad){window.ClickTaleIncludedOnDOMReady=true}if(!A()){if(bb.WRD.addEventListener){bb.WRD.addEventListener("DOMContentLoaded",a3,false)}else{if(bb.WRBS&&bb.WRBS.t==bb.WRBS.IE){bb.WRD.write('<script id="ClickTaleDefer" defer="defer" src=//:><\/script>');(function(bp){if(bp){bp.onreadystatechange=function(){if(this.readyState=="complete"){a3()}}}})(bb.WRD.getElementById("ClickTaleDefer"))}}}else{a3()}if(!window.ClickTaleIncludedOnWindowLoad){bb.WRn(window,"load",at)}else{at()}s();function s(){bb.WREJ=bb.WREK(window,window.JSON)}function av(){var bp=document.getElementsByTagName("script");if(bp.length){var bq=bp[bp.length-1];if(bq.src){return bq.src}}return false}function al(bp){var bq=window.ClickTaleSSL;if(typeof bq!=="undefined"){if(bq===0||(bq===1&&location.protocol=="http:")){bp=bp.replace(/^https/,"http")}}if(bb.WRBS.t===bb.WRBS.IE&&bb.WRBS.v<10&&location.protocol==="http:"){bp=bp.replace(/^https/,"http")}return bp}function Z(bt,bv,bp,bu){var bq;bb.WRFQ=ac(ClickTaleIgnoreCookieName);function bs(){if(typeof ClickTaleScriptSource!="undefined"&&ClickTaleScriptSource!==null){if(typeof ClickTaleScriptSource=="string"){return ClickTaleScriptSource}else{return bb.WRAJ}}var bx=bp.substr(0,3)=="www"?bp:"www";if(ax){var bw=["http://s.clicktale.net/","https://s2.clicktale.net/","https://clicktale.pantherssl.com/","https://clicktalecdn.sslcs.cdngc.net/"+bx+"/"];for(var by=0;by<bw.length;by++){if(ax.substr(0,bw[by].length)==bw[by]){return bw[by]}}}if(bb.WRBS.t===bb.WRBS.IE&&bb.WRBS.v<10&&location.protocol==="http:"){return"http://cdn.clicktale.net/"+bx+"/"}if(typeof clickTaleSSL!=="undefined"){if(clickTaleSSL===0||(clickTaleSSL===1&&location.protocol=="http:")){return"http://cdn.clicktale.net/"+bx+"/"}}return"https://cdnssl.clicktale.net/"+bx+"/"}if(bb.WRAU){aH("CT: Monitoring has already started");return}if(aV()){return}bb.WRA=bt;bb.SubscriberId=bu;if(!bp){bp="www"}bb.WRCQ=bp;aH("note2: preparing to record (ver "+16+"."+3+"."+4+") for project id "+bt+" and partition "+bp);bb.WREP.WRD3(bv);if(!bb.WRm){aH("warning2: the current browser is not supported");return}if(location.protocol=="file:"){aH("warning3: the current protocol is not supported");return}var br="_"+bb.WRA+"_"+bb.WRCQ;if(bb.WRCR){ap(bb.WRCR,"apv"+br,a1.ClickTaleCookieExpiryDays)}if(!ClickTaleIgnoreCookieName||!ClickTaleUIDCookieName||!bb.WRCR){aH("warning9: can't record when cookies are not specified");if(bb.WREu){return}}if(bb.WRFQ){if(typeof bb.WREP.WRFF==="function"&&bb.WREP.WRFF()!==""){bb.WRFQ=false}else{if(bb.WREu){aH("warning6: the current machine/user is temporarily disabled for recording");return}}}bb.WRK=ac(ClickTaleUIDCookieName);bb.WRBu=false;if(bb.WRK==null){bb.WREP.WRD4(bv)}p=bb.WREP.WRD5(bv);if(p){return}aH("note3b: visitor id "+bb.WRK);bb.WREP.WREB(bp);if(!bb.WREu&&!bb.WRAN){aH("can't record when protocol is set to "+a0+" and ClickTaleUpload was not called");return}if(!bb.WRCT){bb.WRAJ=bs()}bb.WRAU=true;K("recorder","initialized",{projectId:bb.WRA,recordingRatio:aN||null,partition:bb.WRCQ,version:a1.ClickTaleGetVersion(),fetchFromUrl:window.ClickTaleFetchFrom,isSslDefined:!!window.ClickTaleSSL,userId:bb.WRK,isLogical:bb.WRCT});au({a:"start",t:aK()});if(bb.WRCR){ap(bb.WRCR,"cpv"+br,a1.ClickTaleCookieExpiryDays)}if(!bb.WREu&&bb.SubscriberId){bh="&subsid="+bb.SubscriberId}bb.WREP.WRD7()}function aX(){return az(navigator.userAgent)}function aV(){if(typeof ClickTaleContext=="object"){return true}try{return parent&&parent!=window&&parent.WebPlayer}catch(bp){}return false}function aM(){if(bb.WRCT&&!bb.WRCY){bb.WRCY=true;at()}if(T()){aH("note4: preparing for stage 2");bb.WRV()}else{if(!P){P=true;var bq=bb.WRD.createElement("script");bq.src=bb.WRAJ+"WR103b.js";var bp=bb.WRD.getElementById("ClickTaleDiv");if(!bp){bp=bb.WRD.getElementById("ClickTale")}if(bp){aH("note4: preparing for stage 2");bp.appendChild(bq)}else{aH("error1: no 'ClickTale' DIV element found in this page")}}}}function T(){return bb.WRBT||typeof bb.WRV!=="undefined"}function aG(bq,bp){aH("error2: "+bq);if(bp){af(ClickTaleIgnoreCookieName,true,a1.ClickTaleCookieExpiryDays?0.042:false)}bb.WRAU=false;K("recorder","recording rejected")}function aP(){a8();return aL()+"."+(window.WRInitTime&2147483647)}function aO(bp,bq){bq.type=(bp||"").toString();y(bq)}function y(br){if(!br.type){aH("CT: Invalid JSON object. No type was specified.");return}var bq=JSON.stringify(br);var bp={a:"json",t:aK()};if(br.type!=="LogicalFormDeclaration"&&bq.length>bb.WRE3&&bb.WRBS.XDR){bp.streamval=bq}else{bp.c=bq}au(bp)}function af(bs,bt,bu,br){if(bu){var bq=new Date();br=br||86400000;bq.setTime(bq.getTime()+(bu*br));var bp="; expires="+bq.toGMTString()}else{var bp=""}bb.WRD.cookie=bs+"="+bt+bp+"; path=/;"+(a1.ClickTaleCookieDomain?" domain="+a1.ClickTaleCookieDomain+";":"")}function an(bp){af(bp,null,-1)}function ac(bq){var bs=bq+"=";var bp=bb.WRD.cookie.split(";");for(var br=0;br<bp.length;br++){var bt=bp[br];bt=bt.replace(/^\s\s*/,"");if(bt.indexOf(bs)==0){return bt.substring(bs.length,bt.length)}}return null}function ak(br,bu,bt,bp){var bq=ah(br);if(!bq){bq=[]}for(var bs=0;bs<bq.length;bs++){if(bq[bs][0]==bu){bq[bs][1]=bt;break}}if(bs==bq.length){bq.push([bu,bt])}var bv=[];for(var bs=0;bs<bq.length;bs++){if(bq[bs][1]!==null){bv.push(bq[bs].join(v))}}af(br,bv.join(x),bp)}function ae(bq,br,bp){ak(bq,br,null,bp)}function c(){return bb.WREP.WRD9()}function bi(){var bp=ac(ClickTaleUIDCookieName);return bp>0?bp:null}function aY(bp){bb.WREP.WREA(bp)}function t(){return typeof bb.WRA=="number"?bb.WRA:null}function l(bp){au({a:"tag",c:bp,t:aK()})}function U(bp){au({a:"note",c:bp,t:aK()})}function b(bq,bp){au({a:"field",f:bq,v:bp,t:aK()})}function I(bp){if(bp.length>bb.WRE3&&bb.WRBS.XDR){au({a:"exec",streamval:bp,t:aK()})}else{au({a:"exec",c:bp,t:aK()})}}function aB(bp){if(W()){bb.WRB0(bp)}else{if(bp==null){au({a:"submitsuccess",i:false,t:aK()})}}}function aw(bp){if(W()){bb.WRB1(bp)}else{if(bp==null){au({a:"submitfail",i:false,t:aK()})}}}function r(bp){af(ClickTaleUIDCookieName,0,bp)}function a(bp,bq){if(bb.WRAU){aH("CTUP: Monitoring has already started")}bb.WRAN=true;bb.WRAP=bp;bb.WRAQ=bq;if(bb.WRAW&&!bb.WRFC){bb.WRAW()}}function bf(){bb.WRFC=true;a()}function aW(){if(ClickTaleIsRecording()&&bb.WRFC){bb.WRAW()}}function aR(bq,bp){bb.WRFR[bq]=bp}function aU(){return bb.WRAN}function aT(){bb.WRBP=true;bb.WRFK=[]}function R(){bb.WRBP=false;bb.WRFK=[]}function aA(bp){be(bp,!bb.WRBP)}function w(bp){be(bp,bb.WRBP)}function be(bp,bq){var br,bt,bu=document.querySelectorAll(bp);for(var bs=0;bs<bu.length;bs++){bt=bu[bs];br=bb.WRFK.indexOf(bt);if(bq){br<0&&bb.WRFK.push(bt)}else{br>=0&&bb.WRFK.splice(br,1)}}}function e(){return[16,3,4]}function z(bp,bq){bp.ClickTale=bp.ClickTale||{};bp.ClickTale.CustomID=bq}function a3(){var bq=window.setImmediate||window.msSetImmediate||setTimeout;if(aV()||bb.WRDA){return}bb.WRDA=true;var bp=bb.WRD.getElementById("ClickTaleDefer");if(bp){bp.parentNode.removeChild(bp)}if(window.performance){bq(function(){au({a:"domload",t:performance.timing.domContentLoadedEventEnd-performance.timing.navigationStart})})}else{au({a:"domload",t:aK()})}if(bb.WRAW&&!bb.WRFC){bb.WRAW()}}function aI(){if(aV()){return}aE(location.hash.substr(1));aE(location.search.substr(1))}function aE(bs){var br=bs.split("&");for(var bq=0;bq<br.length;bq++){var bt=br[bq].split("=");var bp=decodeURIComponent(bt[0]).toLowerCase();if(bt.length==2&&(bp=="ct"||bp=="clicktale")){aD(bt[1])}}}function aD(bs){var br=bs.split(",");for(var bq=0;bq<br.length;bq++){switch(br[bq].toLowerCase()){case"debug":if(!A()){bb.WRD.write('<textarea id="ClickTaleDebugDump" rows="5" cols="80" style="position: absolute; left:10px; top:10px; border: solid #6C358D;"></textarea>')}aJ=bb.WRD.getElementById("ClickTaleDebugDump");if(aJ){aJ.value=""}G("inPage");G("console");break;case"enable":if(bb.WREu){an(ClickTaleIgnoreCookieName);var bp=ac(ClickTaleUIDCookieName)}bb.WREP.WRD6(bp);break;case"disable":af(ClickTaleUIDCookieName,0,a1.ClickTaleCookieExpiryDays);break;case"reset":an(ClickTaleUIDCookieName);break;case"uaskipcheck":bb.WRBS=aF(true);aH("warning8: skipping userAgent support check, running as: "+bb.WRBS.a);break;default:ts=br[bq].match(/^(\w+)(\(|%28)(.+)(\)|%29)$/i);if(ts&&ts.length==5){var bp=decodeURIComponent(ts[3]),bt=ts[1];switch(bt.toLowerCase()){case"t":a1.ClickTaleTag(bp);break;case"u":bb.WREP.WREA(bp);break;case"ua":bb.WRm=decodeURIComponent(bp);aH("warning7: forcing userAgent type: "+bb.WRm);break;case"uao":bb.WRBS=JSON.parse(bp);aH("warning7: forcing userAgentObj type: "+bp);break;case"report":if(/test|subs\d?\d?/.test(bp)){G("crossDomainMessaging");aa="http://"+(bp=="test"?"qa-core.app.clicktale.com":(bp+".app.clicktale.com"))}break;default:aH("warning5: unknown parameter in URL: "+bt);break}}break}}}function aH(bp){var bq={message:bp};a1.ClickTaleLog("recorder","debug",bq)}function J(){N.inPage=E;N.crossDomainMessaging=D;N.console=C}function H(){if(window.ClickTaleSettings&&window.ClickTaleSettings.LogHandlers&&window.ClickTaleSettings.LogHandlers instanceof window.Array){var br=window.ClickTaleSettings.LogHandlers;for(var bp=0;bp<br.length;bp++){var bq=br[bp];if(bq){G(bq)}}}}function G(bp){if(bp in N&&!(bp in M)){M[bp]=N[bp]}}function E(bp){if(aJ&&bp.type=="debug"&&bp.module=="recorder"){O+=(bp.message+"\n");aJ.value=O}}function D(br){if(!!aa){try{var bp=JSON.stringify(br);if(parent&&parent!=window){if(parent.postMessage){parent.postMessage(bp,aa)}else{console&&console.log("CT: Browser doesn't support cross domain logging.")}}else{console&&console.log("CT: "+bp)}}catch(bq){console&&console.log("CT: exception trying to communicate cross domain log information.")}}}function C(bp){if(console&&console.log){console.log(bp.module+" ",bp.type+" ",bp)}}function a2(br,bp){var bq=a1.ClickTaleStop||window.ClickTaleStop;if(ClickTaleIsRecording()&&bq){bq()}window.WRInitTime=(new Date()).getTime();bb.WRCT=true;bb.WRCc=br;bb.WRAU=false;if(bp){bb.WRCU=bp}if(window.WRA0){WRA0(true)}s();bb.WREP.WREC()}function aC(){bb.WREJ&&bb.WREJ.dispatchMessages()}function bk(br,bq,bx,bu,bp){var bv=(bp===0&&(bx&3)),bt=bd(br.isBinaryStream,bu,bv),by=bl(bv),bs,bw;if(bt&&by){br.url=bc(bq+bx,bu);br.onError=br.onSuccess;bj(br)}else{bw=o?16:8;bs=bq+(bx|bw);bg(bt,br,bs,bu)}}function bg(bs,br,bp,bq){if(bs){br.url=bc(bp,bq);br.method="GET"}else{br.data=bq;br.url=bp+bh;br.method="POST"}n(br)}function bc(bp,bq){return bp+bh+"&"+bq+"&"+aL()}function bj(bp){var bq=new Image();j(bq,bp);bq.src=bp.url}function bd(bq,br,bp){return !bq&&(br.length<=1500||bp||!bb.WRBS.XDR)}function bl(bp){return(bp||bb.WRDi)&&!a6}function n(bq){var bp;if(o){bp=setTimeout(function(){clearTimeout(bp);bm(m(bq),bq)},0)}else{bm(k(bq),bq)}}function m(bq){var bp=new XDomainRequest();bp.open(bq.method,bq.url);bp.onprogress=bq.method==="GET"?function(){return}:function(){};j(bp,bq);return bp}function k(bp){var bq=bb.WRBY();var br=new bq();ba([{fn:window.ClickTaleOnXHRCreated,args:[br]}]);br.open(bp.method,bp.url,true);if(bp.method==="POST"){h(br,bp.isBinaryStream)}g(br,bp);j(br,bp);return br}function h(bq,bp){if(bp){return}bq.setRequestHeader("Content-Type","text/plain")}function j(bp,bq){d(bp,bq);bn(bp,bq);bp.timeout=30000}function g(bp,bq){bp.onreadystatechange=function(){if(bp.readyState===4){var br,bs=new Date()-bq.startTime;i(bp);br=bq.onError||bq.onSuccess;if(bp.status===200&&bq.onSuccess){bq.onSuccess(bq.url.length,bs,bq.isBinaryStream,bp)}else{if(br){br(bq.url.length,bs,bq.isBinaryStream,bp)}}if(bq.onComplete){bq.onComplete()}}}}function d(bp,bq){bp.onload=function(){i(bp);if(bq.onSuccess){bq.onSuccess(bq.url.length,new Date()-bq.startTime,bq.isBinaryStream,bp)}if(bq.onComplete){bq.onComplete()}}}function bn(bp,bq){bp.onerror=bp.ontimeout=function(){var bs,br=new Date()-bq.startTime;i(bp);bs=bq.onError||bq.onSuccess;if(bs){bs(bq.url.length,br,bq.isBinaryStream,bp)}if(bq.onComplete){bq.onComplete(bq.url.length,br,bq.isBinaryStream)}}}function i(bp){bp.ontimeout=bp.onerror=bp.onload=bp.onreadystatechange=null}function bm(bq,bp){if(bp.onBeforeSend){bp.onBeforeSend()}if(bp.data){bq.send(bp.data);return}bq.send()}function aF(bp){var bq=az(navigator.userAgent);if(!bp){if(window.ClickTaleSettings&&ClickTaleSettings.CheckAgentSupport){bq=ClickTaleSettings.CheckAgentSupport(ay,bq)}else{bq=ay(bq)}}return bq}function ay(bp){if(!bp||(bp.t==bp.ED&&!bp.m)||(bp.t==bp.Ch&&bp.v>=9)||(bp.t==bp.Sa&&bp.v>=5.1)||(bp.t==bp.WK&&bp.v>=534)||(bp.t==bp.IE&&bp.v>=10&&!bp.m)||(bp.t==bp.FF&&bp.v>=25&&!bp.m)){return bp}return false}function ag(bq){var bs={};var bt=" "+bq+" ";var br=/ (\w+)(?:\/([\w\.]+))? (?:(\([^\)]+\)) )?/img;var bp;while((bp=br.exec(bt))!=null){bs[bp[1]]={value:bp[2],extra:bp[3]};br.lastIndex--}return bs}function az(bq){var br={IE:0,FF:1,Ch:2,Sa:3,Op:4,WK:5,ED:6};var bt=ag(bq);if(bt.Opera){br.t=br.Op;br.v=0;br.a="Op";br.m=false;return br}if(bt.Mozilla&&bt.Mozilla.extra){var bs=bt.Mozilla.extra;var bp=bs.indexOf("MSIE ");if(bp!=-1){br.t=br.IE;br.v=parseFloat(bs.substr(bp+5,3));br.a="IE"+br.v;br.m=(bs.indexOf("; Touch")!=-1)||(bs.indexOf("; IEMobile/")!=-1);if(br.v>=8){br.XDR=true}if(window.Uint8Array){br.XHRBin=true}return br}else{if(bs.indexOf("; Trident/")!=-1){var bp=bs.indexOf("; rv:");if(bp!=-1){br.t=br.IE;br.v=parseFloat(bs.substr(bp+5,3));br.a="IE"+br.v;br.m=(bs.indexOf("; Touch")!=-1)||(bs.indexOf("; IEMobile/")!=-1);br.XDR=true;if(window.Uint8Array){br.XHRBin=true}return br}}}}if(bt.Firefox&&bt.Firefox.value){br.t=br.FF;br.v=parseFloat(bt.Firefox.value);if(br.v<10){br.a="FF"+(br.v*10)}else{br.a="FF"+br.v}br.m=(bt.Mozilla&&bt.Mozilla.extra&&bt.Mozilla.extra.indexOf("Android; ")!=-1);if(br.v>=3.5){br.XDR=true}if(window.Uint8Array){br.XHRBin=true}return br}if(bt.Edge&&bt.Edge.value){br.t=br.ED;br.v=parseInt(bt.Edge.value);br.a="ED"+br.v;br.m=bq.indexOf("Windows Phone; ")!==-1;br.XDR=true;if(window.Uint8Array){br.XHRBin=true}return br}if(((bt.Chrome&&bt.Chrome.value)||(bt.CriOS&&bt.CriOS.value))&&!bt.Version){br.t=br.Ch;br.v=parseFloat(bt.Chrome?bt.Chrome.value:bt.CriOS.value);br.a="Ch"+br.v;br.m=(!(!bt.CriOS))||(bt.Mozilla&&bt.Mozilla.extra&&bt.Mozilla.extra.indexOf("; Android ")!=-1);if(br.v>=9){br.XDR=true}if(window.Uint8Array){br.XHRBin=true}return br}if(bt.Safari){if(bt.Mozilla&&bt.Mozilla.extra&&bt.Mozilla.extra.indexOf("; Android ")!=-1&&bt.AppleWebKit&&bt.AppleWebKit.value){br.t=br.WK;br.v=parseFloat(bt.AppleWebKit.value);br.a="WK"+parseInt(br.v);br.m=true;if(br.v>=5){br.XDR=true}if(window.Uint8Array&&br.v>=535){br.XHRBin=true}return br}if(bt.Mozilla&&bt.Mozilla.extra&&bt.Mozilla.extra.indexOf("Windows")===-1&&bt.Version&&bt.Version.value){br.t=br.Sa;br.v=parseFloat(bt.Version.value);br.a="Sa"+br.v;br.m=!(!bt.Mobile);if(br.v>=5){br.XDR=true}if(window.Uint8Array&&parseFloat(bt.AppleWebKit.value)>=535){br.XHRBin=true}return br}}return false}function Y(br,bp,bq){if(br.attachEvent){br.attachEvent("on"+bp,bq)}else{if(br.addEventListener){br.addEventListener(bp,bq,false)}}}window.ClickTaleFetchFromWithCookies=a1.ClickTaleFetchFromWithCookies=(function(){var bq=[],bt,bw,bs,bp,bv,br;bp=function(bA,bz){bz=bz||bq;for(var by=0,bx=bq.length;by<bx;by++){if(bA.call(bz,bq[by],by)){return true}}return false};bt=function(bx){return bp(function(bz,by){return bz.k==bx})};bw=function(bx){var by=null;bp(function(bA,bz){if(bA.k==bx){by=bA;return true}return false});return by};br=function(bx,by){var bz=bw(bx);if(bz){bz.v=by}else{bq.push({k:bx,v:by})}};bv=function(bz){var by=arguments.callee;if(!by.sRE){var bx=["/",".","*","+","?","|","(",")","[","]","{","}","\\"];by.sRE=new RegExp("(\\"+bx.join("|\\")+")","g")}return bz.replace(by.sRE,"\\$1")};bs=function(bx){if(bx instanceof String||bx instanceof Boolean||bx instanceof Number){bx=bx.valueOf()}else{if(bx===null){return"null"}}switch(typeof bx){case"number":bx=isFinite(bx)?String(bx):"null";break;case"boolean":bx=String(bx);break;case"object":if(typeof bx.toString=="function"){bx=bx.toString()}else{bx="[Object]"}break}return bx};var bu={_URL_PARAM_NAME:"CTFetchCookies",cookieNameDecoder:decodeURIComponent,cookieValueDecoder:function(bx){return bx},clear:function(){bq=[]},set:function(by,bx){if(bx===null||typeof bx=="undefined"){bu.setFromCookie(by);return}bx=bs(bx);br(by,bx)},setFromCookie:function(bx){var bE,bD,by,bB,bC=document.cookie.split(/;\s/g),bA;if(typeof bx=="string"){bE=function(bF){return bF==bx}}else{if(typeof bx.test=="function"){bE=function(bF){return bx.test(bF)}}else{bE=function(){return false}}}for(bA=0;bA<bC.length;bA++){by=bC[bA].match(/([^=]+)=/i);if(by instanceof Array){try{bD=bu.cookieNameDecoder(by[1]);bB=bu.cookieValueDecoder(bC[bA].substring(by[1].length+1))}catch(bz){}}else{bD=bu.cookieNameDecoder(bC[bA]);bB=bD}if(bE(bD)){br(bD,bB)}}},constructCookiesParam:function(){var bx=[];bp(function(bz,by){bx.push(bz.k);bx.push("=");bx.push(bz.v);bx.push(";");return false});return bu._URL_PARAM_NAME+"="+encodeURIComponent(bx.join(""))},constructCookiesHash:function(){return"#"+bu.constructCookiesParam()},constructFetchFromUrl:function(bx){bx=bx||window.location.href;if(!(bx.indexOf("#")>=0)){bx+="#"}else{bx+="&"}bx+=bu.constructCookiesParam();return bx}};return bu})();(function(){var ce=!0,cd=null,cc=!1;function cb(cg,ch,ca){return cg.call.apply(cg.bind,arguments)}function bQ(cg,ci,ca){if(!cg){throw Error()}if(2<arguments.length){var ch=Array.prototype.slice.call(arguments,2);return function(){var cj=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(cj,ch);return cg.apply(ci,cj)}}return function(){return cg.apply(ci,arguments)}}function b9(cg,ch,ca){b9=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?cb:bQ;return b9.apply(cd,arguments)}var b8;var b7;function b6(){if(!b7){var ca;b8?ca=b8:(ca=window.ClickTaleGlobal,ca||(ca={},window.ClickTaleGlobal=ca),ca.exports=ca.exports||{},b8=ca);ca.exports.xhr=ca.exports.xhr||{};b7=ca.exports.xhr}return b7}function cf(cg,ch,ca){Object.prototype.__defineGetter__&&!b5?("get" in ca&&cg.__defineGetter__(ch,ca.get),"set" in ca&&cg.__defineSetter__(ch,ca.set)):Object.defineProperty&&Object.defineProperty(cg,ch,ca)}var b5;try{b5=Object.defineProperty({},"x",{get:function(){return ce}}).x}catch(bU){b5=cc}var b4;function b3(){}var b2=cd,b1=cd,b0=50000,bZ=b5||Object.prototype.__defineGetter__?1:2;var bV=0,bY=cd;function bX(cg,ci,ca){try{return cg[ci]}catch(ch){return ca}}var bP=cc,bO="";function bN(){}var bM={};function bL(ca,cg){cf(cg,ca,{get:function(){return this.x[ca]},set:function(ch){this.x[ca]=ch},enumerable:ce,configurable:ce})}function bK(cg,ci){var ca=new Function("a","b","c","d","e","f","g","h",'return this["x"].'+cg+"(a,b,c,d,e,f,g,h);");if(2==bZ){var ch=ca,ca=function(cl,ck,cq,co,cj,cp,cm,cn){bJ(this,this.x,bI);return ch.call(this,cl,ck,cq,co,cj,cp,cm,cn)}}ci[cg]=ca}function bH(cg){var ci=bG.prototype,ca;for(ca in cg){if("string"==typeof ca&&bM[ca]!==bN){try{"function"==typeof cg[ca]?(bK(ca,ci),bM[ca]=bN):1===bZ&&(bL(ca,ci),bM[ca]=bN)}catch(ch){bM[ca]=bN,1===bZ&&bL(ca,ci)}}}}function bJ(cg,ck,ca){for(var cj=ca.length,ci,ch;cj--;){ch=ca[cj],ci=ch[0],ch=bX(cg,ci,ch[1]),ck[ci]=ch}}var bF=[["status",""],["timeout",0],["responseXML",cd],["responseBody",cd],["readyState",0],["responseText",cd],["statusText",cd]],bI=[["ontimeout",cd]];function bE(){var ca=b4;return !!ca&&!!ca.g&&0<ca.g.length}function bG(){var ca=new bG.OriginalXMLHttpRequest;this.x=ca;this.q=bV++;ca.onreadystatechange=b9(bR,this);bP||(bH(ca),bP=ce);2==bZ&&(bJ(ca,this,bF),bJ(ca,this,bI))}function bR(){var co=this.x,cm=this.B,cn=this.skip;2==bZ&&bJ(co,this,bF);var cl=bX(co,"readyState",0),ck=bX(co,"status",0),cj=bX(co,"statusText",""),cg=bX(co,"responseText",""),ci=this.headersToRecord;if(!cn&&cm!=cl){if(0<cl&&4>cl){bY.readyState(this.q,cl)}else{if(4==cl){var ca=[];if(ci&&"number"==typeof ci.length){for(cn=ci.length;0<cn--;){cm=ci[cn],ca.push(cm+":"+co.getResponseHeader.call(co,cm))}}else{ci=cd;try{ci=this.getAllResponseHeaders()}catch(ch){}ca=ci!=cd&&0<ci.length?ci.split("\n"):["Error: headers are null"]}ck={status:ck,statusText:cj,headers:ca,responseText:cg};b2&&b2(ck);ck.responseText&&ck.responseText.length>b0&&(ck.responseText="",ck.statusText="responseText is larger than MaxResponseSize");cj=cd;cg=cc;ci=this.urlRule;bE()&&ci&&(cj=co.getResponseHeader.call(co,"X-ClickTale-IMToken"),cg=ci.w);bY.i(this.q,ck.status,ck.statusText,ck.headers,ck.responseText,cj,cg)}}}this.B=cl;return"function"!=typeof this.onreadystatechange?void 0:this.onreadystatechange.apply(this,[])}bG.prototype.open=function(cg,ck,ca,cj,ci){var ch=this.x;"undefined"==typeof ca&&(ca=ce);b1&&b1(cg,ck)==cc?this.skip=ce:bY.open(this.q,ck,cg.toUpperCase());cg=ch.open(cg,ck,ca,cj,ci);this.urlRule=cd;if(bE()){ca=cd;cj=b4.g;for(ci=0;ci<cj.length;ci++){if(ch=cj[ci],ch.n instanceof RegExp&&ch.n.test(ck)||ck==ch.n){ca=ch;break}}if(ck=ca){this.urlRule=ck,ca=this.x,ca.setRequestHeader.call(ca,"X-ClickTale-IMCache","1"),ck.s&&ca.setRequestHeader.call(ca,"X-ClickTale-IMRuleSet",ck.s)}}return cg};bM.open=bN;bM.onreadystatechange=bN;bG.prototype.skip=cc;function bD(){this.b=cd;this.d=[]}bD.prototype.b=cd;bD.prototype.open=function(cg,ch,ca){this.b!=cd?this.b.open(cg,ch,ca):this.d.push([this.open,[cg,ch,ca]])};bD.prototype.readyState=function(ca,cg){this.b!=cd?this.b.readyState(ca,cg):this.d.push([this.readyState,[ca,cg]])};bD.prototype.i=function(ch,cl,ca,ck,cj,ci,cg){this.b!=cd?this.b.i(ch,cl,ca,ck,cj,ci,cg):this.d.push([this.i,[ch,cl,ca,ck,cj,ci,cg]])};bD.prototype.d=[];function bC(cg,ci,ca,ch){this.p=cg;this.o=ci;this.z=ca;this.A=ch}bC.GET=1;bC.HEAD=2;bC.POST=3;bC.OPTIONS=4;bC.PUT=5;bC.DELETE=6;bC.prototype.open=function(cg,ci,ca){var ca=bC[ca],ch={a:"xhropen"};ch.xhrid=cg;ch.u=ci;ch.methodid=ca;ch.t=this.o();this.p(ch)};bC.prototype.readyState=function(cg,ch){var ca={a:"xhrstate"};ca.xhrid=cg;ca.stateid=ch;ca.t=this.o();this.p(ca)};bC.prototype.i=function(cn,cl,cm,ck,cj,ci,cg){var ch=ci&&ci.length,ca={v:1};ca.h=ck;ch||(ca.c=cj);cj=this.z(this.A(ca));ck={a:"xhrstatedone"};ck.xhrid=cn;ck.status=cl;ck.statusText=cm;ck.streamid=cj;ck.t=this.o();if(ch){ck.a="xhrstatedoneim";if(!bO||0==bO.length){if((cn=window.ClickTaleFetchFrom)&&0<cn.length){(cl=/\?[th]=(\w+)/ig.exec(cn))&&(cl=cl[1]),bO=cn=cn.replace(cl,"")}}ck.fetchUrl=bO+ci;ck.fetcherDoRewriteRules=!!cg}this.p(ck)};function bp(){var ca=bB;bG.OriginalXMLHttpRequest=bA;bG.RegisterRecorderFunction=ca;bG.ClickTaleWrapperVersion=1;bG.addMethodDelegation=function(cg){bK(cg,bG.prototype)}}function bW(ca){bK(ca,bG.prototype)}var bz=cd;function by(){bz===cd&&(bz=new bD);return bz}function bS(){var ca=bx,cg=bw.f,ca=ca||window;if(ca.XMLHttpRequest){if(!cg){return ca=ca.XMLHttpRequest.toString(),-1===ca.indexOf("[native code]")&&-1===ca.indexOf("[object XMLHttpRequestConstructor]")&&-1===ca.indexOf("[object XMLHttpRequest]")?cc:ce}}else{return cc}return !!cg()}function bB(cg,cj,ca){cj=new bC(cg,cj,ca,b3);cg=by();cg.b=cj;for(var cj=cg.d.length,ca=cg.d,ci,ch=0;ch<cj;ch++){ci=ca[ch],ci[0].apply(cg,ci[1])}}var bx=window,bw=void 0,bw=function(){var cg=bx,ck=cg.ClickTaleSettings,ca={};"object"!=typeof ck&&(ck={});"object"!=typeof ck.XHRWrapper&&(ck.XHRWrapper={});ck=ck.XHRWrapper;ca.e=ck.Enable;ca.k=ck.MaxResponseSize;ca.l=ck.RequestFilter;ca.m=ck.ResponseFilter;ca.j=ck.JSONStringify;ca.f=ck.Override;var cj=cd;if(cj=ck.IM){if(ca.r={g:[]},ck=cd,(ck=cj.Urls)&&ck.length){for(cj=0;cj<ck.length;cj++){var ci=ck[cj];ca.r.g.push({n:ci.UrlRule,w:ci.FetcherDoRewriteRules,s:ci.IMRewriteRulesSet})}}}var ch=ca.f;"boolean"===typeof ch?ca.f=function(){return ch}:"function"!==typeof ch&&(ca.f=cd);"boolean"!=typeof ca.e&&(ca.e=cc);"number"!=typeof ca.k&&(ca.k=50000);"function"!=typeof ca.l&&(ca.l=function(){return ce});"function"!=typeof ca.m&&(ca.m=function(){});"function"!=typeof ca.j&&(cg.JSON&&"function"==typeof cg.JSON.stringify?ca.j=cg.JSON.stringify:ca.e=cc);return ca}();if(bw.e&&bS()){var bs=bx;if(!("number"==typeof b6().v||"number"==typeof(bs||window).XMLHttpRequest.ClickTaleWrapperVersion)&&bw.e){for(var bv=bx,bu=bw,bA=bv.XMLHttpRequest,bt=bG.prototype,br=["setRequestHeader","send","abort","getAllResponseHeaders","getResponseHeader"],bq=br.length;bq--;){bK(br[bq],bt),bM[br[bq]]=bN}if(1===bZ){br="responseXML,responseText,statusText,status,readyState,responseType".split(",");for(bq=br.length;bq--;){bL(br[bq],bt),bM[br[bq]]=bN}}bH(bv.XMLHttpRequest.prototype);bY=by();b2=bu.m;b1=bu.l;b0=bu.k;b3=bu.j;b4=bu.r;var bT=b6();bT.v=1;bT.registerRecorderFunctionAPI=bB;bT.originalXHR=bA;bT.addMethodDelegation=bW;bp();bx.XMLHttpRequest=bG}}})();if(!a1.ClickTaleOnReadyInvoked){a1.ClickTaleOnReadyInvoked=true;var u,F=ClickTaleGlobal.scripts,q=function(){if(typeof ClickTaleOnReady=="function"){ClickTaleOnReady()}bb.WREl(window.ClickTaleOnReadyList)};if(F){u=F.dependencies;u&&u.onDependencyResolved(q);u.notifyScriptLoaded("wr")}else{q()}}}();