window.__require=function t(o,e,n){function c(i,l){if(!e[i]){if(!o[i]){var a=i.split("/");if(a=a[a.length-1],!o[a]){var s="function"==typeof __require&&__require;if(!l&&s)return s(a,!0);if(r)return r(a,!0);throw new Error("Cannot find module '"+i+"'")}}var u=e[i]={exports:{}};o[i][0].call(u.exports,function(t){return c(o[i][1][t]||t)},u,u.exports,t,o,e,n)}return e[i].exports}for(var r="function"==typeof __require&&__require,i=0;i<n.length;i++)c(n[i]);return c}({common:[function(t,o,e){"use strict";cc._RF.push(o,"70465Q4Pq1HCoMHiF2Q6VdR","common");var n=cc.Class({properties:{poolAmount:0,prefab:cc.Prefab}}),c=cc.Class({extends:n,name:"rankListBlock",properties:{name:"rankListBlock"}});cc.Class({extends:cc.Component,properties:{rankListBlock:{default:null,type:c,tooltips:"\u6392\u884c\u699c"}},onLoad:function(){F.loaded||(F.loaded=!0,F.common=this,F.commonState.poolObj={},F.prefab={rankListBlock:this.rankListBlock})},batchInitNodePool:function(t,o){for(var e=0;e<o.length;e++){var n=o[e];this.initNodePool(t,n)}},initNodePool:function(t,o){var e=o.name+"Pool";t[e]=new cc.NodePool,F.commonState.poolObj[e]=t[e];for(var n=0;n<o.poolAmount;n++){var c=cc.instantiate(o.prefab);t[e].put(c)}},genNewNode:function(t,o,e){var n=null;return n=t.size()>0?t.get():cc.instantiate(o),e.addChild(n),n},putBackPool:function(t,o){t[o.name+"Pool"].put(o)},clearAllPool:function(){_.forEach(F.commonState.poolObj,function(t){t.clear()})}}),cc._RF.pop()},{}],global:[function(t,o,e){"use strict";cc._RF.push(o,"a9a5fGwwRVC07LCbtV55cpM","global"),window.F={loaded:!1,common:null,commonState:{},prefab:{},userInfo:null},cc._RF.pop()},{}],lanuch:[function(t,o,e){"use strict";cc._RF.push(o,"20e21rQL55IvouNdawHXzSk","lanuch"),cc.Class({extends:cc.Component,properties:{listBlock:{type:cc.Node,default:null},myList:{type:cc.Node,default:null},listController:{type:cc.ScrollView,default:null}},onLoad:function(){F.common.initNodePool(this,F.prefab.rankListBlock),this.loadList(),this.loadMySelf()},genTestBlock:function(t){var o=this[F.prefab.test.name+"Pool"];return F.common.genNewNode(o,F.prefab.test.prefab,t)},loadList:function(){this[F.prefab.rankListBlock.name+"Pool"];for(var t=0;t<100;t++){var o=this.genListBlock(this.listBlock);0==t?o.getComponent("listBlock").first():o.getComponent("listBlock").setNumber(t+1)}},genListBlock:function(t){var o=this[F.prefab.rankListBlock.name+"Pool"];return F.common.genNewNode(o,F.prefab.rankListBlock.prefab,t)},loadMySelf:function(){this.genListBlock(this.myList).getComponent("listBlock").setNumber("100+")},start:function(){this.listController.scrollToTop(0)}}),cc._RF.pop()},{}],listBlock:[function(t,o,e){"use strict";cc._RF.push(o,"d3c799Zx8dLBrLFPByn86R1","listBlock"),cc.Class({extends:cc.Component,properties:{rankNumber:{type:cc.Node,default:null},topIcon:{type:cc.Node,default:null},avatar:{type:cc.Node,default:null}},onLoad:function(){},first:function(){this.rankNumber.active=!1,this.topIcon.active=!0},setAvatar:function(t){var o=this;cc.loader.load({url:t,type:"png"},function(t,e){t&&console.error(t),o.avatar.spriteFrame=new cc.SpriteFrame(e)})},setNumber:function(t){this.rankNumber.getComponent(cc.Label).string=t},start:function(){}}),cc._RF.pop()},{}],testScript:[function(t,o,e){"use strict";cc._RF.push(o,"6bfc4STh+NNoo0eCr2k7s4a","testScript"),cc.Class({extends:cc.Component,properties:{},setNumber:function(t){this.node.getComponent(cc.Label).string=t},start:function(){}}),cc._RF.pop()},{}]},{},["common","global","lanuch","listBlock","testScript"]);