<root><item name="JSSDK:core:1409350978" value="b[a7](&quot;Library Load Start: Core&quot;,3,&quot;core&quot;);var by=JSON&amp;&amp;JSON.parse,bA=JSON&amp;&amp;JSON.stringify,bF=&quot;Process Instructions&quot;,bs=&quot;convertURL&quot;,bJ=/\?/,bH=/(^https?:\/\/)(.*.badgeville\.com(?::\d*)?\/cairo\/v\d+\/[^\/]*)\/(sites\/?[^?#]*)\??([^#]*)/,bB=/^true|false$/,bq=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/,bn=&quot;Badgeville::jsonCache&quot;;aR={get:function(bM,bL){bM=aR[bM]?bM:500;bL=I(bL)===E.types.st?[bL]:I(bL)===E.types.ar?bL:[];return{errors:[{code:bM,status:aR[bM],messages:bL}]}},500:&quot;Internal Server Error&quot;,6276001:&quot;Missing or Invalid Arguments&quot;,6276002:&quot;Source Invalid&quot;,6276003:&quot;Unknown Link&quot;,6276004:&quot;Invalid URL Provided&quot;,6276005:&quot;Missing API Key&quot;};E={types:{ar:I([]),bo:I(true),dt:I(new Date()),fu:I(function(){}),nu:I(0),nl:I(null),na:I(NaN),ob:I({}),st:I(&quot;&quot;)},jsonCache:null,extend:function(bL,bM){for(var bN in bM){if(bM[bN]&amp;&amp;I(bM[bN])===E.types.ob){bL[bN]=bL[bN]||{};E.extend(bL[bN],bM[bN])}else{bL[bN]=bM[bN]}}return bL},convertURL:function(bN){b[a7](bs+&quot; Start: &quot;+bN,A,this._id);var bV=this,bL=bN.match(bH),bR=-1,bT,bS,bQ,bO,bP,bM,bU;if(I(bL)!==E.types.ar||bL.length!==5){bT='An invalid Cairo URL was provided: &quot;'+bN+'&quot;'}else{b[a7](bs+&quot; Base URL: &quot;+bL[2],1,bV._id);b[a7](bs+&quot; Path Start: &quot;+bL[3],1,bV._id);bV._urlHead=bL[1]+bL[2].replace(aS,&quot;/&quot;);bQ=bL[3].replace(r,&quot;&quot;).replace(aS,&quot;/&quot;);bS=bQ.split(&quot;/&quot;);while(++bR&lt;bS.length){if(bS[bR].length===0){continue}if(!bR){bV.path=bO=bS[bR]}else{if(bR%2){bV.ids[bO]=bS[bR]}else{bV.path+=(&quot;/&quot;+(bO=bS[bR]))}}}b[a7](bs+&quot; Path End: &quot;+bV.path,1,bV._id);if(!bT){b[a7](bs+&quot; URL query: &quot;+bL[4],1,bV._id);bP=bL[4].split(&quot;&amp;&quot;);bM=bP.length;while(bM--){if(bP[bM].length>0){bU=bP[bM].split(&quot;=&quot;);if(bU.length!==2){bT='An invalid query argument was provided: &quot;'+bP[bM]+'&quot;';break}if(B.test(bU[1])){bU[1]=ap.parse(bU[1],(bU[0]!==an?false:G))}else{if(bU[1].indexOf(&quot;,&quot;)>-1){bU[1]=bU[1].split(&quot;,&quot;)}else{if(bU[1].match(bB)||bU[1].match(bq)){bU[1]=eval(bU[1])}}}bV.options[bU[0]]=bU[1]}}}}if(bT){b[a7](bs+&quot; End - Fail: &quot;+bT,1,bV._id);E.resolveReject[am](bV,aR.get(6276004,bT));return false}b[a7](bs+&quot; End: &quot;+bN,1,bV._id);return true},getUrl:function(bY){b[a7](&quot;getUrl Start&quot;,A,this._id);var bP=this,bQ=a2[bP._id][l],bZ=[&quot;aggressive&quot;].concat(bY||[]),bS=-1,bX=false,bR=&quot;?&quot;,bT,bO,bV,bU,bN,bW,bL,bM;bW=bP.path.split(&quot;/&quot;);bL=bP._urlHead||aK[aA]+aK[aI]+&quot;/cairo/v&quot;+aK[N]+&quot;/&quot;+aB.key;bM=[bL+(bW[0]===&quot;sites&quot;?&quot;&quot;:&quot;/sites&quot;)];b[a7](&quot;getUrl Building URL: &quot;+bM,1,bP._id);if(aB.sites_id&amp;&amp;bW[0]!==&quot;sites&quot;){bM[e](&quot;/&quot;+aB.sites_id)}b[a7](&quot;getUrl Building URL: &quot;+bM,1,bP._id);while(++bS&lt;bW.length){if(bP.ids[bW[bS]]){bM[e](&quot;/&quot;+bW[bS]+&quot;/&quot;+bP.ids[bW[bS]])}else{if(bS===bW.length-1){bM[e](&quot;/&quot;+bW[bS])}else{bN=&quot;A resource path component was provided without a corresponding id.&quot;;b[a7](&quot;getUrl End: &quot;+bN,2,bP._id);return E.resolveReject[am](bP,aR.get(6276001,bN))}}b[a7](&quot;getUrl Building URL: &quot;+bM,1,bP._id)}for(bT in bP.options){b[a7](&quot;getUrl Process Option: &quot;+bT,1,bP._id);bV=bZ.length;bX=false;while(bV--){if(bZ[bV]===bT){bX=true}}if(bX||!aF[am](bP.options,bT)){b[a7](&quot;getUrl Skipping Option: &quot;+bT,1,bP._id);continue}bO=bP.options[bT];bU=I(bO);if(bU===E.types.st){bO=encodeURIComponent(bO)}if(bU===E.types.ar){bO=encodeURIComponent(bO.join(&quot;,&quot;)).replace(/%2C/g,&quot;,&quot;)}if(bU===E.types.ob){b[a7](&quot;getUrl Attempting BVQL.stringify: &quot;+bT,1,bP._id);try{bO=ap.stringify(bO)}catch(bV){bN='The &quot;'+bT+'&quot; option can not be included in the URL due to an unknown error.';if(bV instanceof TypeError){bN=&quot;BVQL.stringify is not defined.&quot;}else{if(bV.message){bN=bV.message}}return E.resolveReject[am](bP,aR.get(6276001,bN))}}bU=I(bO);if(bU===E.types.st||bU===E.types.nu||bU===E.types.bo){if((&quot;&quot;+bO).length>0){bM[e](bR+bT+&quot;=&quot;+bO);bR=&quot;&amp;&quot;;b[a7](&quot;getUrl Building URL: &quot;+bM,1,bP._id)}}else{bN='An invalid value type (&quot;'+bU+'&quot;) was provided for the &quot;'+bT+'&quot; option.';b[a7](&quot;getUrl End: &quot;+bN,2,bP._id);return E.resolveReject[am](bP,aR.get(6276001,bN))}}if(aB[aq]!==A&amp;&amp;I(bP.options[aq])!==E.types.bo){bM[e](bR+aq+&quot;=&quot;+aB[aq]);b[a7](&quot;getUrl Building URL: &quot;+bM,1,bP._id)}b[a7](&quot;getUrl End: &quot;+bM,2,bP._id);return bM[aJ](&quot;&quot;)},promiseState:function(bM,bR){if(bM){b[a7](&quot;promiseState Start: &quot;+bM,1,this._id)}var bT=this,bQ=a2[bT._id][l],bL=bQ.callbacks.progress,bS=bL&amp;&amp;bL.length,bN=bM&amp;&amp;bM!==bl[l],bO=-1,bP=bQ.progressEvent;if(bR){bP.meta=bR}if(bN&amp;&amp;bS){if(bP.loaded){bP.loaded=bM===bl.loadstart?0:bP.loaded+1}bP.type=bM;while(++bO&lt;bS){if(I(bL[bO])===E.types.fu){bL[bO][am](bT,bP)}}}if(bM){b[a7](&quot;promiseState End: &quot;+bM,1,bT._id)}return bN?bQ._state=bM:bQ._state},getUtilityData:function(bS){b[a7](&quot;getUtilityData Start: &quot;+bS,A,this._id);var bO=this,bN=a2[bO._id][l],bL=bO instanceof a6,bM=bO instanceof ao,bQ=bM||bL?&quot;All promises failed to retrieve data.&quot;:&quot;A promise failed to retrieve data.&quot;,bR=[],bP=bO.resources.length;if(bS===bl.resolved){if(bM){bR=[a2[bN.resolved_id][l].data]}else{while(bP--){bR[bP]=a2[bO.resources[bP]._id][l].data}}}else{if(bS===bl.rejected){bR=aR.get(6276002,bQ)}}b[a7](&quot;getUtilityData End&quot;,2,bO._id);return bR},pendingLibrary:function(){b[a7](&quot;pendingLibrary check Start&quot;,A,this._id);var bL=a2[this._id][l];for(bp in bL.requires){if(aF[am](bL.requires,bp)){if(bL.requires[bp]===bl.loadstart){b[a7](&quot;pendingLibrary check End - true : &quot;+bp,2,this._id);return true}}}b[a7](&quot;pendingLibrary check End - false&quot;,2,this._id);return false},getData:function(){b[a7](&quot;getData Start&quot;,A,this._id);var bM=this,bN=a2[bM._id][l],bL;if(E.pendingLibrary[am](bM)===true){bN.needsData=true;b[a7](&quot;getData Pending&quot;,1,bM._id);return false}if(bM._api&amp;&amp;!bM._urlHead){E[bs][am](bM,bM._api)}if(E.promiseState[am](bM)===bl.pending){bL=E.getUrl[am](bM);if(bL&amp;&amp;I(bL)===E.types.st){E.promiseState[am](bM,bl.loadstart);E.jsonp[am](bM,bL,function(bO){E.resolveReject[am](bM,bO)})}else{E.resolveReject[am](bM,aR.get(6276004,&quot;A valid URL can not be formed.&quot;))}}b[a7](&quot;getData End&quot;,2,bM._id)},jsonp:function(bL,bU){b[a7](&quot;jsonp Start: &quot;+bL,A,this._id);var bO=this,bT=aE[n].createElement(bm),bS=Math.floor(Math.random()*+new Date),bN=this._id?this._id+&quot;.&quot;+bS:&quot;subscription.&quot;+bS,bR=false,bM=false,bP=aE.addEventListener?&quot;onload&quot;:&quot;onreadystatechange&quot;,bV=function(){b[a7](&quot;jsonp._fail&quot;,A,bO._id);b[a7](&quot;End of Load - fail: &quot;+bL,4,bN);if(!bM){bM=true;delete aE[aB[aT]][&quot;_&quot;+bS];if(bO instanceof x){E.resolveReject[am](bO,aR.get(500,&quot;An unknown error has occured during the API call.&quot;))}b.send()}bT[C](bP,bQ)},bQ=function(){var bW=bT.readyState;if(!bW||/loaded|complete/.test(bW)){b[a7](&quot;jsonp.scriptloaded&quot;,A,bO._id);if(!bR){bV()}}};aE[aB[aT]][&quot;_&quot;+bS]=function(bW){if(bW.errors){b[a7](&quot;End of Load - fail: &quot;+bL,4,bN)}else{b[a7](&quot;End of Load - success: &quot;+bT.src,4,bN)}b[a7](&quot;jsonp.callback&quot;,A,bO._id);delete aE[aB[aT]][&quot;_&quot;+bS];bR=true;if(bW&amp;&amp;bU){bU(bW)}b.send();H.removeChild(bT)};bT.src=bL+(/\?/.test(bL)?&quot;&amp;&quot;:&quot;?&quot;)+&quot;callback=&quot;+aB[aT]+&quot;._&quot;+bS;bT.acync=true;bT[bc](bP,bQ);bT.onerror=bV;b[a7](&quot;Start of load&quot;,A,bN);H.appendChild(bT);b[a7](&quot;jsonp child appended&quot;,2,bO._id)},resolveReject:function(bP){b[a7](&quot;resolveReject Start&quot;,2,this._id);var bT=this,bS=a2[bT._id][l],bL=bP.errors?bl.rejected:bl.resolved,bQ=bL===bl.resolved?ah:bL===bl.rejected?q:null,bO=bS.callbacks[bQ],bR=bS.callbacks.always,bN=bT.path?bT.type:A,bM;if(E.promiseState[am](bT)!==bL){bS.data=bP||bS.data;if(bS.data&amp;&amp;E.promiseState[am](bT)!==bl.executing&amp;&amp;E.promiseState[am](bT)!==bl.loadend){b[a7](&quot;resolveReject State: &quot;+bL,A,bT._id);bS.status=bL;E.promiseState[am](bT,bL);E.promiseState[am](bT,bl.executing);if(bO&amp;&amp;bO.length){while(bM=bO.shift()){bM.apply(bT,bS.data.length?bS.data:[bS.data])}}if(bR&amp;&amp;bR.length){while(bM=bR.shift()){bM.apply(bT,bS.data.length?bS.data:[bS.data])}}E.promiseState[am](bT,bl.loadend)}}b[a7](&quot;resolveReject End&quot;,2,bT._id)},removeCallback:function(bM,bQ){b[a7](&quot;removeCallback Start: &quot;+bM,1,this._id);var bO=this,bN=a2[bO._id][l],bP=bN.callbacks[bM],bL=bP?bP.length:0;while(bL--){if(bQ===bP[bL]){bP.splice(bL,1)}}b[a7](&quot;removeCallback End: &quot;+bM,1,bO._id)},processLibrary:function(bL){b[a7](bF+&quot; Start: &quot;+bL,A,bL);var bN=-1,bP=[],bS,bQ,bL,bM,bO;function bR(bU){var bT=a2[bU._id]._private;b[a7](bF+&quot;: Has &quot;+bT.methodCalls.length+&quot; methods&quot;,1,bU._id);if(bT.methodCalls.length){b[a7](bF+&quot; Execute Methods&quot;,1,bU._id);bT.methodCalls.reverse();while(bM=bT.methodCalls.pop()){bU[bM.type].apply(bU,bM.args)}}else{if(bT.needsData){delete bT.needsData;E.getData[am](bU)}}}while(++bN&lt;a2.ids.length){bS=a2[a2.ids[bN]]._public;bQ=a2[bS._id]._private;if(bQ._state===bl.pending){bO=false;b[a7](bF+&quot;: Checking ready state&quot;,2,bS._id);if(bQ.requires[bL]===bl.loadstart){bQ.requires[bL]=bl.loadend}bO=E.pendingLibrary[am](bS);if(bQ.requires.factory&amp;&amp;bL===&quot;factory&quot;){b[a7](bF+&quot;: Factory Promise&quot;,1,bS._id);bP.push(bS._id);continue}else{if(bO){b[a7](bF+&quot;: Waiting for more libraries&quot;,1,bS._id);continue}else{if(bQ.status===bl.rejected){b[a7](bF+&quot;: Promise is already rejected&quot;,1,bS._id);continue}else{if(aB.key||bS._api){if(bS instanceof x){b[a7](bF+&quot;: Promise is a Resource&quot;,1,bS._id);if(bS._api){E[bs][am](bS,bS._api)}if(bS.path||(!bS.ids.sites&amp;&amp;(bS.path=&quot;sites&quot;))){if(I(bS.path)!==E.types.st){E.resolveReject[am](bS,aR.get(6276001,'A string was not provided for the &quot;path&quot; argument.'))}if(aB.aggressive||bS.options.aggressive){b[a7](bF+&quot;: aggressive Promise&quot;,1,bS._id);E.getData[am](bS)}}else{E.resolveReject[am](bS,aR.get(6276001,'The &quot;path&quot; argument was not provided.'))}}}else{E.resolveReject[am](bS,aR.get(6276005,'The global &quot;key&quot; configuration was not defined.'))}}}}bR(bS)}}if(bP.length>0){bN=-1;while(++bN&lt;bP.length){bS=a2[bP[bN]]._public;bQ=a2[bS._id]._private;x[Q][bQ.factory.type].apply(bS,bQ.factory.args);bR(bS);b[a7](&quot;Factory method processed: &quot;+bQ.factory.type,2,bS._id)}}b[a7](bF+&quot; End: &quot;+bL,2,bL)}};function s(bL){return function(bM){b[a7](&quot;callbackFactory: &quot;+bL+&quot; - Start&quot;,A,this._id);var bR=this,bP=a2[bR._id][l],bO=bP.factory&amp;&amp;a2[bP.factory.parent_id],bN=bP.status===bl.rejected&amp;&amp;bL===q||bP.status===bl.resolved&amp;&amp;bL===ah,bQ;if(I(bM)===E.types.fu){if(E.promiseState[am](bR)===bl.loadend&amp;&amp;bN){bQ=bR instanceof aZ&amp;&amp;I(bP.data)===E.types.ar?bP.data:[bP.data];bM.apply(bR,bQ)}else{(bP.callbacks[bL]=bP.callbacks[bL]||[])[e](bM);if(E.promiseState[am](bR)===bl.pending&amp;&amp;bL!==ba){if(bR instanceof x&amp;&amp;(!bO||bO.path===bR.path)){E.getData[am](bR)}else{if(bR instanceof aZ){bK[am](bR)}}}}}b[a7](&quot;callbackFactory: &quot;+bL+&quot; - End&quot;,2,bR._id);return bR}}function bD(bN,bL,bM){b[a7](&quot;then Start&quot;,1,this._id);if(I(bM)===E.types.fu){this.progress(bM)}if(I(bN)===E.types.fu){this.ok(bN)}if(I(bL)===E.types.fu){this.fail(bL)}b[a7](&quot;then End&quot;,1,this._id);return this}function bx(bL){b[a7](&quot;always Start&quot;,1,this._id);if(bL){this.ok(bL);this.fail(bL)}b[a7](&quot;always End&quot;,1,this._id);return this}bf[Q].ok=s(ah);bf[Q].fail=s(q);bf[Q].progress=s(ba);bf[Q].then=bD;bf[Q].always=bx;function bK(){b[a7](&quot;registerProgress Start&quot;,1,this._id);var bT=this,bL=a2[bT._id][l],bQ=bT instanceof ao,bR=bT instanceof a6,bN=bT instanceof c,bS={},bP=bT.resources.length,bU=bQ?q:ah,bM;function bO(bY){b[a7](&quot;registerProgress.progressCB Start: &quot;+bY,1,this._id);var bV=this,bZ=bY.type||bY,bW=bZ===bl.resolved,bX=bZ===bl.rejected,b1=bZ===bl.loadend,b2,b3,b0;bS[bZ]=++bS[bZ]||1;if(E.promiseState[am](bT)!==bl.loadend&amp;&amp;E.promiseState[am](bT)!==bl.executing){E.promiseState[am](bT,bl.progress,{resource:bV,progress:bY})}if(bQ){b2=bW&amp;&amp;E.promiseState[am](bT)!==bl.resolved;b3=bX&amp;&amp;bS[bl.rejected]===bT.resources.length;b0=b1&amp;&amp;(bV._id===bL.resolved_id||bS[bl.loadend]===bT.resources.length);bU=b2?ah:bU}else{if(bN){b3=bX&amp;&amp;E.promiseState[am](bT)!==bl.rejected;b2=bW&amp;&amp;bS[bl.resolved]===bT.resources.length;b0=b1&amp;&amp;(bV._id===bL.rejected_id||bS[bl.loadend]===bT.resources.length);bU=b3?q:bU}else{if(bR){bM=bM||bl.resolved;b3=bX&amp;&amp;bS[bl.rejected]===bT.resources.length;b0=b1&amp;&amp;(bV._id===bL.rejected_id||bS[bl.loadend]===bT.resources.length);bU=b3?q:bU}}}if(b2||b3){bL[bZ+&quot;_id&quot;]=bV._id;bM=bZ}else{if(b0){E.resolveReject[am](bT,E.getUtilityData[am](bT,bM))}}b[a7](&quot;registerProgress.progressCB End: &quot;+bY,1,bV._id)}E.promiseState[am](bT,bl.loadstart);if(!bP){E.resolveReject[am](bT,aR.get(6276001,&quot;No resources were provided.&quot;))}while(bP--){(function(bV){var bW=bT.resources[bV],bX=a2[bW._id][l];bW.progress(function(bY){bO[am](bW,bY)});if(bX.status){bO[am](bW,bX.status);bO[am](bW,E.promiseState[am](bW))}else{if(E.promiseState[am](bW)===bl.pending&amp;&amp;bW.path){E.getData[am](bW);bW.options.aggressive=true;b[a7](&quot;Option changed: aggressive set to true&quot;,1,bW._id)}}})(bP)}b[a7](this._id+&quot; - registerProgress End&quot;,1)}b.get=function(bT,bL){function bW(bY){return bY}bL=bL||bW;var bX=this,bV=window.JSON?window.JSON:{stringify:bW},bO=window.console?window.console:false,bM=this.logs.slice().reverse(),bP=bM.length,bS=[],bN,bQ=0;if(!bO&amp;&amp;I(bT)!==E.types.fu){bT=2}function bU(bY){switch(parseInt(bT)){case 2:bX.logWin.document.write([bQ,&quot;. &lt;b>&quot;,bY.created_at,&quot;&lt;/b> (+&quot;,bY.main,(bY.id?&quot; / &quot;+bY.id+&quot;: +&quot;+bY.offset:&quot;&quot;),&quot;) : &quot;,(typeof(bY.data)!==al?bV.stringify(bY.data):bY.data),&quot;&lt;br/>&quot;][aJ](&quot;&quot;));break;default:try{bO.log([bQ,&quot;. &quot;,bY.created_at,&quot; (+&quot;,bY.main,(bY.id?&quot; / &quot;+bY.id+&quot;: +&quot;+bY.offset:&quot;&quot;),&quot;) : &quot;][aJ](&quot;&quot;),bY.data)}catch(bZ){}}}if(bT===2){if(!bX.logWin||bX.logWin.closed){bX.logWin=window.open(&quot;&quot;,&quot;BVSDK_Log&quot;,&quot;address=0,location=0,menubar=0,status=0,toolbar=0&quot;)}bX.logWin.document.write(&quot;------- &quot;+(new Date)+&quot; -------&lt;br/>&quot;)}else{if(bT===3){try{bO.log(&quot;All promises: &quot;,a2)}catch(bR){}}}while(bP--){bN=bL(bM[bP]);if(bN){if(I(bT)===E.types.fu){bS[e](bN)}else{bQ++;bU(bN)}}}if(I(bT)===E.types.fu){bT(bS)}};b.send=function(){};aE[aB[aT]].showLogs=function(bM){function bL(bO){var bP=!bM.id||new RegExp(bM.id).test(bO.id),bN=!bM.since||bM.since&lt;bO.created_at;return bO.level>=bM.level&amp;&amp;bP&amp;&amp;bN?bO:false}if(I(bM)===E.types.nu||I(bM)===E.types.st){bM={id:bM,level:0}}bM=bM||{};bM.level=bM.level===G?3:bM.level;filter=bM.filter||bL;b.get(bM.target,filter);return a2};if(ad.length>0){b[a7](&quot;Processing library queue: &quot;+ad.join());while(Z=ad.pop()){E.processLibrary(Z)}}aV.core=bl.loadend;b[a7](&quot;Library Load End: Core&quot;,4,&quot;core&quot;);" ltime="601151552" htime="30468488" /><item name="JSSDK:subscribe:1412794727" value="b[a7](&quot;Library Load Start: Subscribe&quot;,3,&quot;subscribe&quot;);var bz=1000,bv=&quot;Subscriptions: &quot;,bE=&quot;Subscription Request&quot;;at={subscriptions:{stack:{},ids:[]},interval:3,gap:200,requestPoolMax:2,pollingStarted:false,requests:[],getMostRecent:function(bO,bL){var bP=bO.length,bN,bM;while(bP--){if(bN=bO[bP].earned||bO[bP].created_at){bM=Math.max(+new Date(bN),bM||bL||1)}}return bM||1},resgisterSubscription:function(){var bP=this,bQ=a2[bP._id][l],bY=bP.path.split(&quot;/&quot;).pop(),bL=at.requests,bS=bL.length,bN={_id:bP._id,path:bP.path,ids:bP.ids,options:bP.options},bM,bR,bV,bT,bU,bX,bO,bW,bZ;if(!bP.ids[bY]||aX.test(bP.path)){if(bP.options[&quot;do&quot;]===&quot;create&quot;&amp;&amp;bQ.data&amp;&amp;bQ.data[bY]&amp;&amp;bQ.data[bY].length){bN.ids[bY]=bQ.data[bY][0].id}else{bN.options.offset=0;bN.options.limit=20;bV=true}}bM=E.getUrl.call(bN,[&quot;do&quot;,&quot;data&quot;]);bR=/\?/.test(bM)?bM.match(/(.*)\?(.*)?/)[1]:bM;for(bT in bN.options){if(bN.options.hasOwnProperty(bT)&amp;&amp;!/fields|includes|with_links|with_count/.test(bT)){bZ=true}}while(bS--){request=bL[bS];bX=false;if(bM===request.url){bU=true}if(!bZ&amp;&amp;!request.skipTest){old_base=/\?/.test(request.url)?request.url.match(/(.*)\?(.*)?/)[1]:request.url;if(old_base===bR){for(bT in bN.options){if(bN.options.hasOwnProperty(bT)){bO=request.urlObj.options[bT];bW=bN.options[bT];switch(bT){case&quot;fields&quot;:case&quot;includes&quot;:if(bO===&quot;all&quot;){continue}else{if(bW===&quot;all&quot;){request.urlObj.options[bT]=bW}else{if(bW){request.urlObj.options[bT]=(I(bO)===E.types.ar?bO:bO?[bO]:[]).concat(bW)}}}break;case&quot;with_links&quot;:case&quot;with_count&quot;:if(typeof bO!==&quot;undefined&quot;&amp;&amp;bO!==bW){bX=true}else{bO=bW}break}}}bU=!bX}}if(bU){request.url=E.getUrl.call(request.urlObj,[&quot;do&quot;,&quot;data&quot;]);request.promises.push(bP._id);break}}if(!bU){request={url:bM,urlObj:bN,type:bY,level:1,iteration:0,promises:[bP._id],skipTest:!!bZ};if(bV){request.mostRecent=at.getMostRecent(bQ.data[bY])}else{request[o]=new Date(bQ.data[bY][0][o])}bL.push(request)}},subscribe:function(bL){b[a7](&quot;subscribe Start&quot;,A,this._id);var bQ=this,bR=a2[bQ._id][l],bP=bQ.path.split(&quot;/&quot;).pop();function bN(bS){if(bS.type===bl.resolved){bO()}else{if(bS.type===bl.rejected){at.killSubscription.call(bQ)}}if(bR.status){E.removeCallback.call(bQ,&quot;progress&quot;,bN)}}function bM(){var bS=+new Date;if(at.requests.length){at.processSubscriptions(function(){var bT=+new Date-bS,bU;if(bT>=at.interval*bz){at.processSubscriptions(bM)}else{bU=at.interval*bz-bT;setTimeout(bM,bU)}})}else{at.pollingStarted=false}}function bO(){at.resgisterSubscription.call(bQ,this);if(!at.pollingStarted){at.pollingStarted=true;bM()}}if(I(bL)===E.types.fu){if(bR.status!==bl.rejected){(bR.callbacks.subscribe=bR.callbacks.subscribe||[])[e](bL);if(!bR.status){bQ.progress(bN);E.getData.call(bQ);return bQ}bO()}}return bQ},processSubscriptions:function(bL){var bR=at.requests.length,bM=0,bO=Math.min(bR,at.requestPoolMax),bN;function bQ(bT,bS){setTimeout(function(){if(bT.lastRequest){bT.urlObj.options.query=bT.urlObj.options.query||{};bT.urlObj.options.query.created_at={$gteq:bT.lastRequest}}E.jsonp(E.getUrl.call(bT.urlObj,[&quot;do&quot;,&quot;data&quot;]),function(bU){if(bT.level&lt;5){bT.level++}at[bT.mostRecent?&quot;processCollections&quot;:&quot;processResources&quot;](bT,bU);if(I(bS)===E.types.fu){bS()}})},at.gap)}function bP(){var bS=at.requests[bM++];if(!bS){if(!bN){bN=true;return bL()}else{return}}if(++bS.iteration===bS.level){bQ(bS,bP);bS.iteration=0}else{bO--;bP()}}while(bO-->0){bP()}},processResources:function(bP,bQ){var bL=bP[o],bT=bP.type,bR=bQ[bT]&amp;&amp;bQ[bT][0]&amp;&amp;bQ[bT][0][o]&amp;&amp;new Date(bQ[bT][0][o]),bM=bP.promises.length,bN,bO,bS;bP[o]=bR;while(bM--){id=bP.promises[bM];bN=a2[id]._public;bO=a2[id]._private;bS=bO.callbacks.subscribe;if(!bR){at.killSubscription.call(bN)}else{if(+new Date(bR)-+new Date(bL)){bP.level=1;at.renewPromise.call(bN,bQ)}}}},processCollections:function(bQ,bT){var bM=bQ.promises.length,bV=bQ.type,bR=bQ.mostRecent,bS={},bU,bN,bP,bO,bL;if(!bT[bV]||bT.errors){at.killSubscription.call(a2[bQ.promises[0]]._public)}else{bU=bT[bV].length,bQ.lastRequest=new Date();bS[bV]=[];while(bU--){bO=+new Date(bT[bV][bU].earned||bT[bV][bU][bj]);if(bO>bR){bQ.mostRecent=bO>bQ.mostRecent?bO:bQ.mostRecent;bS[bV].unshift(bT[bV][bU])}}if(bS[bV].length){bQ.level=1;while(bM--){bL=bQ.promises[bM];at.renewPromise.call(a2[bL]._public,bS)}}}},renewPromise:function(bO){var bN=this,bP=a2[bN._id][l],bL=-1,bM=bP.callbacks.subscribe;E.promiseState.call(this,bl.renewed);E.promiseState.call(this,bl.executing);while(++bL&lt;bM.length){bM[bL].call(this,bO)}E.promiseState.call(this,bl.loadend)},unsubscribe:function(bL){b[a7](&quot;unsubscribe Start&quot;,null,this._id);var bO=this,bP=a2[bO._id][l],bN=bP.callbacks.subscribe||[],bM=bN.length;if(bL){b[a7](&quot;unsubscribe Single&quot;,null,bO._id);while(bM--){if(bN[bM]===bL){bN.splice(bM,1);break}}}if(!arguments.length||!bN.length){at.killSubscription.call(bO)}b[a7](&quot;unsubscribe End&quot;,2,this._id);return bO},killSubscription:function(){b[a7](&quot;killSubscription Start&quot;,null,this._id);var bN=this,bP=a2[bN._id][l],bL=at.requests.length,bM,bO;delete bP.callbacks.subscribe;while(bL--){bM=at.requests[bL];bO=bM.promises.length;while(bO--){if(bN._id===bM.promises[bO]){bM.promises.splice(bO,1);if(!bM.promises.length){at.requests.splice(bL,1)}b[a7](&quot;killSubscription End&quot;,2,bN._id);return bN}}}}};x[Q].subscribe=at.subscribe;x[Q].unsubscribe=at.unsubscribe;aV.subscribe=bl.loadend;b[a7](&quot;Library Load End: Subscribe&quot;,4,&quot;subscribe&quot;);" ltime="603961552" htime="30468488" /><item name="JSSDK:bvql:1408139640" value="b[a7](&quot;Library Load Start: bvql&quot;,3,&quot;bvql&quot;);(function(bT){function b1(b5){return b5&lt;10?&quot;0&quot;+b5:b5}function b2(b5){return b5===null?null:Object.prototype.toString.call(b5)}var bN=b2(new Date()),bR=b2(&quot;&quot;),bW=b2(0),bO=b2([]),bS=b2({}),bY=b2(true),b0=b2(function(){}),bZ=b2(null),b3=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,bP=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,bU=/[\s\+\?&amp;=\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,bX={&quot; &quot;:&quot;%20&quot;,&quot;\b&quot;:&quot;%20&quot;,&quot;\t&quot;:&quot;%20&quot;,&quot;\n&quot;:&quot;%20&quot;,&quot;\f&quot;:&quot;%20&quot;,&quot;\r&quot;:&quot;%20&quot;,&quot;+&quot;:&quot;%2B&quot;,&quot;?&quot;:&quot;%3F&quot;,&quot;&amp;&quot;:&quot;%26&quot;,&quot;=&quot;:&quot;%3D&quot;,&quot;\\&quot;:&quot;\\\\&quot;,&quot;'&quot;:&quot;\\\\%27&quot;},bQ=&quot;null&quot;,bV=Object.prototype.hasOwnProperty;function bL(b5){switch(b2(b5)){case bN:return isFinite(b5.valueOf())?b5.getUTCFullYear()+&quot;-&quot;+b1(b5.getUTCMonth()+1)+&quot;-&quot;+b1(b5.getUTCDate())+&quot;T&quot;+b1(b5.getUTCHours())+&quot;:&quot;+b1(b5.getUTCMinutes())+&quot;:&quot;+b1(b5.getUTCSeconds())+&quot;Z&quot;:&quot;&quot;;case bR:case bW:case bY:return b5.valueOf();case bZ:return bQ}return b5}function b4(b5){bU.lastIndex=0;return bU.test(b5)?&quot;'&quot;+b5.replace(bU,function(b6){var b7=bX[b6];return b2(b7)===bR?b7:&quot;\\u&quot;+(&quot;0000&quot;+b6.charCodeAt(0).toString(16)).slice(-4)})+&quot;'&quot;:&quot;'&quot;+b5+&quot;'&quot;}function bM(cd,cb,b6){var b8,b7,ce,b5,ca=[],b9=b2(b6),cc=bL(cb[cd]);if(b9===b0){cc=b6.call(cb,cd,cc)}switch(b2(cc)){case bR:return b4(cc);case bW:return isFinite(cc)?String(cc):bQ;case bY:return String(cc);case bO:case bS:if(b2(cc)===bO){b5=cc.length;for(b8=0;b8&lt;b5;b8+=1){ca[b8]=bM(b8,cc,b6)||bQ}return ca.length===0?&quot;[]&quot;:&quot;[&quot;+ca.join(&quot;,&quot;)+&quot;]&quot;}if(b9===bO){b8=b6.length;while(b8--){if(b2(b6[b8])===bR){b7=b6[b8];ce=bM(b7,cc,b6);if(ce){ca.push(b7+&quot;:&quot;+ce)}}}}else{for(b7 in cc){if(bV.call(cc,b7)){ce=bM(b7,cc,b6);if(ce){ca.push(b7+&quot;:&quot;+ce)}}}}return&quot;{&quot;+ca.join(&quot;,&quot;)+&quot;}&quot;}}ap={stringify:function(b7,b6){var b5=b2(b6);b6=b5===b0||b5===bO?b6:null;return bM(&quot;&quot;,{&quot;&quot;:b7},b6)},reviver:function(b5,b6){var b8=b2(b6);if(/^or|and|not$/.test(b5)&amp;&amp;b8!==bO){throw new SyntaxError('BVQL.parse : &quot;and&quot;, &quot;or&quot; and &quot;not&quot; keys must equal an array.')}if(/^bt|bteq$/.test(b5)&amp;&amp;(b8!==bO||b6.length!==2)){throw new SyntaxError('BVQL.parse : &quot;bt&quot; and &quot;bteq&quot; keys must equal an array with a length of 2.')}if(/^gt|lt|gteq|lteq$/.test(b5)&amp;&amp;b8!==bR){throw new SyntaxError('BVQL.parse : &quot;gt&quot;, &quot;lt&quot;, &quot;gteq&quot; and &quot;lteq&quot; keys must equal a string, number or date.')}if(b8===bR){if(b3.test(b6)){try{return new Date(b6)}catch(b7){}}b6=decodeURIComponent(b6.replace(/\\%27/g,&quot;'&quot;).replace(/\\\\/g,&quot;\\&quot;))}return b6},parse:function(ca,b5){var b5=b5===bT?this.reviver:(b2(b5)===b0?b5:false),b7,b8;function b6(ce,cd){var cc,cb,cf=ce[cd];if(cf&amp;&amp;b2(cf)===bS){for(cc in cf){if(bV.call(cf,cc)){cb=b6(cf,cc);if(cb!==bT){cf[cc]=cb}else{delete cf[cc]}}}}return b5===false?cf:b5.call(ce,cd,cf)}if(ca===null){return null}try{return JSON.parse(ca,b5===false?null:b5)}catch(b9){}ca=String(ca);bP.lastIndex=0;if(bP.test(ca)){ca=ca.replace(bP,function(cb){return&quot;\\u&quot;+(&quot;0000&quot;+cb.charCodeAt(0).toString(16)).slice(-4)})}b8=ca.replace(/\\(?:['&quot;%\\\/bfnrt]|u[0-9a-fA-F]{4})/g,&quot;@&quot;).replace(/[&quot;'][^&quot;'\\\n\r]*[&quot;']|[,{][^\:]*|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,&quot;]&quot;).replace(/(?:^|:|,)(?:\s*\[)+/g,&quot;&quot;);if(/^[\],:{}\s]*$/.test(b8)){b7=eval(&quot;(&quot;+ca+&quot;)&quot;);return b6({&quot;&quot;:b7},&quot;&quot;)}throw new SyntaxError(&quot;BVQL.parse : Invalid syntax&quot;)}}})();aV.bvql=bl.loadend;b[a7](&quot;Library Load End: bvql&quot;,4,&quot;bvql&quot;);" ltime="603961552" htime="30468488" /></root>