vendor: 8,865 bytes, lines 1-212
1/** 2 * 3253.htmlï¼www.9game.cn PC é¦é¡µï¼bns å è½½é¾åå¹¶æä»¶ 3 * åå¹¶æ¥æï¼2026-09-16 4 * åå§å è½½é¾ï¼window.onload å bns.Script.chkload 便¬¡å è½½ï¼ï¼ 5 * 1. /public/javascripts/pc2/lib/jquery_easing.js 6 * 2. /public/javascripts/android_merge/seajs/seajs_patch.js?var=2014062402ï¼seajs 2.1.1ï¼ 7 * 3. seajs.use("/public/javascripts/pc2/dist/module_enter/e_index.js") 8 * ââ /public/javascripts/pc2/dist/common/common.jsï¼å è 17 个 seajs å ·åæ¨¡åï¼ 9 * ââ /public/javascripts/pc2/dist/module/index/index.jsï¼å è 5 个 seajs å ·åæ¨¡åï¼ 10 * åç½®ä¾èµï¼é¡µé¢éå å è½½ jquery.jsï¼https://cdn.9game.cn/ngm-portal-jws/js/jquery.jsï¼ 11 * 说æï¼e_index å为å¿å defineï¼ä¾èµ script å 载注åï¼ï¼åå¹¶åæåè¯·æ± ID å ·ååï¼ 12 * 使 seajs.use ç´æ¥å½ä¸æ¬å°ç¼åï¼å ¨é¨æ¨¡åé¶ç½ç»è¯·æ±æ§è¡ã 13 */ 14/* ==================== 1. jquery_easing.jsï¼jQuery easing æä»¶ï¼ ==================== */ 15/* 16 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ 17 * 18 * Uses the built in easing capabilities added In jQuery 1.1 19 * to offer multiple easing options 20 * 21 * TERMS OF USE - jQuery Easing 22 * 23 * Open source under the BSD License. 24 * 25 * Copyright æ¼ 2008 George McGinley Smith 26 * All rights reserved. 27 * 28 * Redistribution and use in source and binary forms, with or without modification, 29 * are permitted provided that the following conditions are met: 30 * 31 * Redistributions of source code must retain the above copyright notice, this list of 32 * conditions and the following disclaimer. 33 * Redistributions in binary form must reproduce the above copyright notice, this list 34 * of conditions and the following disclaimer in the documentation and/or other materials 35 * provided with the distribution. 36 * 37 * Neither the name of the author nor the names of contributors may be used to endorse 38 * or promote products derived from this software without specific prior written permission. 39 * 40 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 41 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 42 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 43 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 44 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 45 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 46 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 47 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48 * OF THE POSSIBILITY OF SUCH DAMAGE. 49 * 50*/ 51 52// t: current time, b: begInnIng value, c: change In value, d: duration 53jQuery.easing['jswing'] = jQuery.easing['swing']; 54 55jQuery.extend( jQuery.easing, 56{ 57 def: 'easeOutQuad', 58 swing: function (x, t, b, c, d) { 59 //alert(jQuery.easing.default); 60 return jQuery.easing[jQuery.easing.def](x, t, b, c, d); 61 }, 62 easeInQuad: function (x, t, b, c, d) { 63 return c*(t/=d)*t + b; 64 }, 65 easeOutQuad: function (x, t, b, c, d) { 66 return -c *(t/=d)*(t-2) + b; 67 }, 68 easeInOutQuad: function (x, t, b, c, d) { 69 if ((t/=d/2) < 1) return c/2*t*t + b; 70 return -c/2 * ((--t)*(t-2) - 1) + b; 71 }, 72 easeInCubic: function (x, t, b, c, d) { 73 return c*(t/=d)*t*t + b; 74 }, 75 easeOutCubic: function (x, t, b, c, d) { 76 return c*((t=t/d-1)*t*t + 1) + b; 77 }, 78 easeInOutCubic: function (x, t, b, c, d) { 79 if ((t/=d/2) < 1) return c/2*t*t*t + b; 80 return c/2*((t-=2)*t*t + 2) + b; 81 }, 82 easeInQuart: function (x, t, b, c, d) { 83 return c*(t/=d)*t*t*t + b; 84 }, 85 easeOutQuart: function (x, t, b, c, d) { 86 return -c * ((t=t/d-1)*t*t*t - 1) + b; 87 }, 88 easeInOutQuart: function (x, t, b, c, d) { 89 if ((t/=d/2) < 1) return c/2*t*t*t*t + b; 90 return -c/2 * ((t-=2)*t*t*t - 2) + b; 91 }, 92 easeInQuint: function (x, t, b, c, d) { 93 return c*(t/=d)*t*t*t*t + b; 94 }, 95 easeOutQuint: function (x, t, b, c, d) { 96 return c*((t=t/d-1)*t*t*t*t + 1) + b; 97 }, 98 easeInOutQuint: function (x, t, b, c, d) { 99 if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; 100 return c/2*((t-=2)*t*t*t*t + 2) + b; 101 }, 102 easeInSine: function (x, t, b, c, d) { 103 return -c * Math.cos(t/d * (Math.PI/2)) + c + b; 104 }, 105 easeOutSine: function (x, t, b, c, d) { 106 return c * Math.sin(t/d * (Math.PI/2)) + b; 107 }, 108 easeInOutSine: function (x, t, b, c, d) { 109 return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; 110 }, 111 easeInExpo: function (x, t, b, c, d) { 112 return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; 113 }, 114 easeOutExpo: function (x, t, b, c, d) { 115 return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; 116 }, 117 easeInOutExpo: function (x, t, b, c, d) { 118 if (t==0) return b; 119 if (t==d) return b+c; 120 if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; 121 return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; 122 }, 123 easeInCirc: function (x, t, b, c, d) { 124 return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; 125 }, 126 easeOutCirc: function (x, t, b, c, d) { 127 return c * Math.sqrt(1 - (t=t/d-1)*t) + b; 128 }, 129 easeInOutCirc: function (x, t, b, c, d) { 130 if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; 131 return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; 132 }, 133 easeInElastic: function (x, t, b, c, d) { 134 var s=1.70158;var p=0;var a=c; 135 if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; 136 if (a < Math.abs(c)) { a=c; var s=p/4; } 137 else var s = p/(2*Math.PI) * Math.asin (c/a); 138 return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; 139 }, 140 easeOutElastic: function (x, t, b, c, d) { 141 var s=1.70158;var p=0;var a=c; 142 if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; 143 if (a < Math.abs(c)) { a=c; var s=p/4; } 144 else var s = p/(2*Math.PI) * Math.asin (c/a); 145 return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; 146 }, 147 easeInOutElastic: function (x, t, b, c, d) { 148 var s=1.70158;var p=0;var a=c; 149 if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); 150 if (a < Math.abs(c)) { a=c; var s=p/4; } 151 else var s = p/(2*Math.PI) * Math.asin (c/a); 152 if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; 153 return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; 154 }, 155 easeInBack: function (x, t, b, c, d, s) { 156 if (s == undefined) s = 1.70158; 157 return c*(t/=d)*t*((s+1)*t - s) + b; 158 }, 159 easeOutBack: function (x, t, b, c, d, s) { 160 if (s == undefined) s = 1.70158; 161 return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; 162 }, 163 easeInOutBack: function (x, t, b, c, d, s) { 164 if (s == undefined) s = 1.70158; 165 if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; 166 return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; 167 }, 168 easeInBounce: function (x, t, b, c, d) { 169 return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; 170 }, 171 easeOutBounce: function (x, t, b, c, d) { 172 if ((t/=d) < (1/2.75)) { 173 return c*(7.5625*t*t) + b; 174 } else if (t < (2/2.75)) { 175 return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; 176 } else if (t < (2.5/2.75)) { 177 return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; 178 } else { 179 return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; 180 } 181 }, 182 easeInOutBounce: function (x, t, b, c, d) { 183 if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; 184 return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; 185 } 186}); 187 188/* 189 * 190 * TERMS OF USE - EASING EQUATIONS 191 * 192 * Open source under the BSD License. 193 * 194 * Copyright æ¼ 2001 Robert Penner 195 * All rights reserved. 196 * 197 * Redistribution and use in source and binary forms, with or without modification, 198 * are permitted provided that the following conditions are met: 199 * 200 * Redistributions of source code must retain the above copyright notice, this list of 201 * conditions and the following disclaimer. 202 * Redistributions in binary form must reproduce the above copyright notice, this list 203 * of conditions and the following disclaimer in the documentation and/or other materials 204 * provided with the distribution. 205 * 206 * Neither the name of the author nor the names of contributors may be used to endorse 207 * or promote products derived from this software without specific prior written permission. 208 * 209 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 210 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 211 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 212 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
213 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 214 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 215 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 216 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 217 * OF THE POSSIBILITY OF SUCH DAMAGE. 218 * 219 */ 220/* ==================== 2. seajs_patch.jsï¼seajs 2.1.1 å è½½å¨ï¼ ==================== */ 221(function(global,undefined){if(global.seajs){return}var seajs=global.seajs={version:"2.1.1"};var data=seajs.data={};function isType(type){return function(obj){return Object.prototype.toString.call(obj)==="[object "+type+"]"}}var isObject=isType("Object");var isString=isType("String");var isArray=Array.isArray||isType("Array");var isFunction=isType("Function");var _cid=0;function cid(){return _cid++}var events=data.events={};seajs.on=function(name,callback){var list=events[name]||(events[name]=[]);list.push(callback);return seajs};seajs.off=function(name,callback){if(!(name||callback)){events=data.events={};return seajs}var list=events[name];if(list){if(callback){for(var i=list.length-1;i>=0;i--){if(list[i]===callback){list.splice(i,1)}}}else{delete events[name]}}return seajs};var emit=seajs.emit=function(name,data){var list=events[name],fn;if(list){list=list.slice();while((fn=list.shift())){fn(data)}}return seajs};var DIRNAME_RE=/[^?#]*\//;var DOT_RE=/\/\.\//g;var DOUBLE_DOT_RE=/\/[^/]+\/\.\.\//;function dirname(path){return path.match(DIRNAME_RE)[0]}function realpath(path){path=path.replace(DOT_RE,"/");while(path.match(DOUBLE_DOT_RE)){path=path.replace(DOUBLE_DOT_RE,"/")}return path}function normalize(path){var last=path.length-1;var lastC=path.charAt(last);if(lastC==="#"){return path.substring(0,last)}return(path.substring(last-2)===".js"||path.indexOf("?")>0||path.substring(last-3)===".css"||lastC==="/")?path:path+".js"}var PATHS_RE=/^([^/:]+)(\/.+)$/;var VARS_RE=/{([^{]+)}/g;function parseAlias(id){var alias=data.alias;return alias&&isString(alias[id])?alias[id]:id}function parsePaths(id){var paths=data.paths;var m;if(paths&&(m=id.match(PATHS_RE))&&isString(paths[m[1]])){id=paths[m[1]]+m[2]}return id}function parseVars(id){var vars=data.vars;if(vars&&id.indexOf("{")>-1){id=id.replace(VARS_RE,function(m,key){return isString(vars[key])?vars[key]:m})}return id}function parseMap(uri){var map=data.map;var ret=uri;if(map){for(var i=0,len=map.length;i<len;i++){var rule=map[i];ret=isFunction(rule)?(rule(uri)||uri):uri.replace(rule[0],rule[1]);if(ret!==uri){break}}}return ret}var ABSOLUTE_RE=/^\/\/.|:\//;var ROOT_DIR_RE=/^.*?\/\/.*?\//;function addBase(id,refUri){var ret;var first=id.charAt(0);if(ABSOLUTE_RE.test(id)){ret=id}else{if(first==="."){ret=realpath((refUri?dirname(refUri):data.cwd)+id)}else{if(first==="/"){var m=data.cwd.match(ROOT_DIR_RE);ret=m?m[0]+id.substring(1):id}else{ret=data.base+id}}}return ret}function id2Uri(id,refUri){if(!id){return""}id=parseAlias(id);id=parsePaths(id);id=parseVars(id);id=normalize(id);var uri=addBase(id,refUri);uri=parseMap(uri);return uri}var doc=document;var loc=location;var cwd=dirname(loc.href);var scripts=doc.getElementsByTagName("script");var loaderScript=doc.getElementById("seajsnode")||scripts[scripts.length-1];
221var loaderDir=dirname(getScriptAbsoluteSrc(loaderScript)||cwd);function getScriptAbsoluteSrc(node){return node.hasAttribute?node.src:node.getAttribute("src",4)}var head=doc.getElementsByTagName("head")[0]||doc.documentElement;var baseElement=head.getElementsByTagName("base")[0];var IS_CSS_RE=/\.css(?:\?|$)/i;var READY_STATE_RE=/^(?:loaded|complete|undefined)$/;var currentlyAddingScript;var interactiveScript;var isOldWebKit=(navigator.userAgent.replace(/.*AppleWebKit\/(\d+)\..*/,"$1"))*1<536;function request(url,callback,charset){var isCSS=IS_CSS_RE.test(url);var node=doc.createElement(isCSS?"link":"script");if(charset){var cs=isFunction(charset)?charset(url):charset;if(cs){node.charset=cs}}addOnload(node,callback,isCSS);if(isCSS){node.rel="stylesheet";node.href=url.replace(seajs.data.cwd,seajs.data.staticserver)}else{node.async=true;node.src=url.replace(seajs.data.cwd,seajs.data.staticserver)}currentlyAddingScript=node;baseElement?head.insertBefore(node,baseElement):head.appendChild(node);currentlyAddingScript=null}function addOnload(node,callback,isCSS){var missingOnload=isCSS&&(isOldWebKit||!("onload" in node));if(missingOnload){setTimeout(function(){pollCss(node,callback)},1);return}node.onload=node.onerror=node.onreadystatechange=function(){if(READY_STATE_RE.test(node.readyState)){node.onload=node.onerror=node.onreadystatechange=null;if(!isCSS&&!data.debug){head.removeChild(node)}node=null;callback()}}}function pollCss(node,callback){var sheet=node.sheet;var isLoaded;if(isOldWebKit){if(sheet){isLoaded=true}}else{if(sheet){try{if(sheet.cssRules){isLoaded=true}}catch(ex){if(ex.name==="NS_ERROR_DOM_SECURITY_ERR"){isLoaded=true}}}}setTimeout(function(){if(isLoaded){callback()}else{pollCss(node,callback)}},20)}function getCurrentScript(){if(currentlyAddingScript){return currentlyAddingScript}if(interactiveScript&&interactiveScript.readyState==="interactive"){return interactiveScript}var scripts=head.getElementsByTagName("script");for(var i=scripts.length-1;i>=0;i--){var script=scripts[i];if(script.readyState==="interactive"){interactiveScript=script;return interactiveScript}}}var REQUIRE_RE=/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|\/\*[\S\s]*?\*\/|\/(?:\\\/|[^\/\r\n])+\/(?=[^\/])|\/\/.*|\.\s*require|(?:^|[^$])\brequire\s*\(\s*(["'])(.+?)\1\s*\)/g; 222var SLASH_RE=/\\\\/g;function parseDependencies(code){var ret=[];code.replace(SLASH_RE,"").replace(REQUIRE_RE,function(m,m1,m2){if(m2){ret.push(m2)}});return ret}var cachedMods=seajs.cache={};var anonymousMeta;var fetchingList={};var fetchedList={};var callbackList={};var STATUS=Module.STATUS={FETCHING:1,SAVED:2,LOADING:3,LOADED:4,EXECUTING:5,EXECUTED:6};function Module(uri,deps){this.uri=uri;this.dependencies=deps||[];this.exports=null;this.status=0;this._waitings={};this._remain=0}Module.prototype.resolve=function(){var mod=this;var ids=mod.dependencies;var uris=[];for(var i=0,len=ids.length;i<len;i++){uris[i]=Module.resolve(ids[i],mod.uri)}return uris};Module.prototype.load=function(){var mod=this;if(mod.status>=STATUS.LOADING){return}mod.status=STATUS.LOADING;var uris=mod.resolve();emit("load",uris);var len=mod._remain=uris.length;var m;for(var i=0;i<len;i++){m=Module.get(uris[i]);if(m.status<STATUS.LOADED){m._waitings[mod.uri]=(m._waitings[mod.uri]||0)+1}else{mod._remain--}}if(mod._remain===0){mod.onload();return}var requestCache={};for(i=0;i<len;i++){m=cachedMods[uris[i]];if(m.status<STATUS.FETCHING){m.fetch(requestCache)}else{if(m.status===STATUS.SAVED){m.load()}}}for(var requestUri in requestCache){if(requestCache.hasOwnProperty(requestUri)){requestCache[requestUri]()}}};Module.prototype.onload=function(){var mod=this;mod.status=STATUS.LOADED;if(mod.callback){mod.callback()}var waitings=mod._waitings;var uri,m;for(uri in waitings){if(waitings.hasOwnProperty(uri)){m=cachedMods[uri];m._remain-=waitings[uri];if(m._remain===0){m.onload()}}}delete mod._waitings;delete mod._remain};Module.prototype.fetch=function(requestCache){var mod=this;var uri=mod.uri;mod.status=STATUS.FETCHING;var emitData={uri:uri};emit("fetch",emitData);var requestUri=emitData.requestUri||uri;if(!requestUri||fetchedList[requestUri]){mod.load();return}if(fetchingList[requestUri]){callbackList[requestUri].push(mod);return}fetchingList[requestUri]=true;callbackList[requestUri]=[mod];
222emit("request",emitData={uri:uri,requestUri:requestUri,onRequest:onRequest,charset:data.charset});if(!emitData.requested){requestCache?requestCache[emitData.requestUri]=sendRequest:sendRequest()}function sendRequest(){request(emitData.requestUri,emitData.onRequest,emitData.charset)}function onRequest(){delete fetchingList[requestUri];fetchedList[requestUri]=true;if(anonymousMeta){Module.save(uri,anonymousMeta);anonymousMeta=null}var m,mods=callbackList[requestUri];delete callbackList[requestUri];while((m=mods.shift())){m.load()}}};Module.prototype.exec=function(){var mod=this;if(mod.status>=STATUS.EXECUTING){return mod.exports}mod.status=STATUS.EXECUTING;var uri=mod.uri;function require(id){return Module.get(require.resolve(id)).exec()}require.resolve=function(id){return Module.resolve(id,uri)};require.async=function(ids,callback){Module.use(ids,callback,uri+"_async_"+cid());return require};var factory=mod.factory;var exports=isFunction(factory)?factory(require,mod.exports={},mod):factory;if(exports===undefined){exports=mod.exports}if(exports===null&&!IS_CSS_RE.test(uri)){emit("error",mod)}delete mod.factory;mod.exports=exports;mod.status=STATUS.EXECUTED;emit("exec",mod);return exports};Module.resolve=function(id,refUri){var emitData={id:id,refUri:refUri};emit("resolve",emitData);return emitData.uri||id2Uri(emitData.id,refUri)};Module.define=function(id,deps,factory){var argsLen=arguments.length;if(argsLen===1){factory=id;id=undefined}else{if(argsLen===2){factory=deps;if(isArray(id)){deps=id;id=undefined}else{deps=undefined}}}if(!isArray(deps)&&isFunction(factory)){deps=parseDependencies(factory.toString())}var meta={id:id,uri:Module.resolve(id),deps:deps,factory:factory};if(!meta.uri&&doc.attachEvent){var script=getCurrentScript();if(script){meta.uri=script.src}}emit("define",meta);meta.uri?Module.save(meta.uri,meta):anonymousMeta=meta};Module.save=function(uri,meta){var mod=Module.get(uri);if(mod.status<STATUS.SAVED){mod.id=meta.id||uri;mod.dependencies=meta.deps||[];mod.factory=meta.factory;mod.status=STATUS.SAVED}};Module.get=function(uri,deps){return cachedMods[uri]||(cachedMods[uri]=new Module(uri,deps))};Module.use=function(ids,callback,uri){var mod=Module.get(uri,isArray(ids)?ids:[ids]);mod.callback=function(){var exports=[];var uris=mod.resolve();for(var i=0,len=uris.length;i<len;i++){exports[i]=cachedMods[uris[i]].exec()}if(callback){callback.apply(global,exports)}delete mod.callback};mod.load()};Module.preload=function(callback){var preloadMods=data.preload;var len=preloadMods.length;if(len){Module.use(preloadMods,function(){preloadMods.splice(0,len);Module.preload(callback)},data.cwd+"_preload_"+cid())}else{callback()}};seajs.use=function(ids,callback){Module.preload(function(){Module.use(ids,callback,data.cwd+"_use_"+cid())});return seajs};Module.define.cmd={};global.define=Module.define;seajs.Module=Module;data.fetchedList=fetchedList;data.cid=cid;seajs.resolve=id2Uri;seajs.require=function(id){return(cachedMods[Module.resolve(id)]||{}).exports 223};var BASE_RE=/^(.+?\/)(\?\?)?(seajs\/)+/;data.base=(loaderDir.match(BASE_RE)||["",loaderDir])[1];data.staticserver=cwd;data.dir=loaderDir;data.cwd=cwd;data.charset="utf-8";data.preload=(function(){var plugins=[];var str=loc.search.replace(/(seajs-\w+)(&|$)/g,"$1=1$2");str+=" "+doc.cookie;str.replace(/(seajs-\w+)=1/g,function(m,name){plugins.push(name)});return plugins})();seajs.config=function(configData){for(var key in configData){var curr=configData[key];var prev=data[key];if(prev&&isObject(prev)){for(var k in curr){prev[k]=curr[k]}}else{if(isArray(prev)){curr=prev.concat(curr)}else{if(key==="base"){(curr.slice(-1)==="/")||(curr+="/");curr=addBase(curr)}}data[key]=curr}}emit("config",configData);return seajs}})(this); 224/* ==================== 3. seajs.configï¼å window.onload åè°å é ç½®ï¼ ==================== */ 225(function () { 226 var verNum = 20161123; 227 seajs.config({ 228 cwd: "//www.9game.cn/", 229 //å çæ¬å· 230 map: [ 231 ['.js', '.js?v=' + verNum + ''] 232 ] 233 }); 234})(); 235/* ==================== 4. common.jsï¼seajs 模åå ï¼17 ä¸ªå ·åæ¨¡åï¼ ==================== */ 236define("/public/javascripts/pc2/dist/common/common", ["./function/pub_header", "./function/search_think", "./function/fix_nav", "./pubfun/getBow", "./function/scroll_to", "./function/popup", "./function/show_win_gamefile", "./function/show_win_gamefile_v2", "./function/x_move", "./function/litt_nav", "./pubfun/cookie
236s", "./function/lazy_load", "./function/loadmore", "./function/note", "./function/lognintips", "./function/guide_app"], function (a) { 237 a("./function/pub_header"), a("./function/search_think"), a("./function/fix_nav"), a("./function/scroll_to"), a("./function/popup"), a("./function/show_win_gamefile"), a("./function/show_win_gamefile_v2"), a("./function/x_move"), a("./function/litt_nav"), a("./function/lazy_load"), a("./function/loadmore"), a("./function/note"), a("./function/lognintips"), a("./function/guide_app") 238}), define("/public/javascripts/pc2/dist/common/function/pub_header", [], function (a) { 239 var b = { 240 getByClass: function (a, b) { 241 for (var c = a.getElementsByTagName("*"), d = [], e = new RegExp("\\b" + b + "\\b", "i"), 242 f = 0; f < c.length; f++)e.test(c[f].className) && d.push(c[f]); 243 return d 244 }, addClass: function (a, b) { 245 if (a) { 246 if (a.className) { 247 for (var c = a.className.split(" "), d = !1, e = 0; e < c.length; e++)if (c[e] === b) { 248 d = !0; 249 break 250 } 251 return d || (a.className += " " + b), d 252 } 253 return a.className = b, !1 254 } 255 return !1 256 }, removeClass: function (a, b) { 257 if (!a || !a.className)return !1; 258 for (var c = a.className.split(" "), d = !1, e = 0; e < c.length; e++)if (c[e] === b) { 259 c.splice(e, 1), d = !0; 260 break 261 } 262 if (d) { 263 if (a.className = "", c.length < 1)return d; 264 if (1 == c.length) a.className = c[0]; else if (c.length > 1)for (var e = 0; e < c.length; e++)e == c.length - 1 ? a.className += c[e] : a.className += c[e] + " " 265 } 266 return d 267 }, addEvent: function (a, b, c) { 268 if (a) { 269 if (a.addEventListener)return a.addEventListener(b, c, !1); 270 if (a.attachEvent)return a.attachEvent("on" + b, c); 271 a["on" + b] = c 272 } 273 } 274 }, c = document.getElementById("pub_9pcheader"); 275 if (c) { 276 for (var d = b.getByClass(c, "right-li"), e = b.getByClass(c, "web-site")[0], 277 f = b.getByClass(c, "web-site-pop")[0], g = b.getByClass(f, "site-con"), h = 0, 278 i = 0; i < d.length; i++)+function (a) { 279 b.addEvent(d[a], "mouseover", function () { 280 b.addClass(d[a], "current") 281 }), b.addEvent(d[a], "mouseout", function () { 282 b.removeClass(d[a], "current") 283 }) 284 }(i); 285 b.addClass(e, "current"); 286 for (var i = 0; i < g.length; i++)h = g[i].offsetHeight > h ? g[i].offsetHeight : h; 287 b.removeClass(e, "current"); 288 for (var i = 0; i < g.length; i++)g[i].style.height = h + 7 + "px" 289 } 290}), define("/public/javascripts/pc2/dist/common/function/search_think", [], function (a, b, c) { 291 function debounce(fn, delay) { 292 var timeout; 293 return function(){ 294 clearTimeout(timeout) 295 timeout = setTimeout(()=>{ 296 fn.apply(this, arguments) 297 },delay) 298 } 299 } 300 function d(a) { 301 function b(b) { 302 if (l.length >= 1) { 303 j = 1, k(a); 304 var c = g.children(), d = c.length, e = c.filter(".current").index(); 305 "up" === b ? e >= 0 ? next = (e - 1 + d) % d : next = d - 1 : "down" === b && (e >= 0 ? next = (e + 1) % d : next = 0), f.val(c.eq(next).find(".name a").attr("title")), c.eq(next).addClass("current").siblings().removeClass("current") 306 } 307 } 308 309 function c() { 310 if (!(l.length >= 1 && l.length <= 15))return !1; 311 try { 312 $.ajax({
313 type: "get", 314 dataType: "json", 315 url: "/suggest4pc.html", 316 data: {kwd: l, limit: 8, platformid: 2}, 317 success: function (a) { 318 g.html(""), d(a) 319 } 320 }) 321 } catch (a) { 322 console.log(a) 323 } 324 } 325 326 function d(a) { 327 j = 0; 328 for (var b in a) { 329 if (!(8 > b))break; 330 0 == b && "" != a[b].downType ? g.append(e(a[b])) : g.append(i(a[b])) 331 } 332 } 333 334 function e(a) { 335 var b = new RegExp(f.val(), "ig"), c = a.gameInfoDTO.name.replace(b, "</b>" + f.val() + "<b>"); 336 c = "<b>" + c + "</b>"; 337 var detailUrl = 'https://www.9game.cn/' + a.gameInfoDTO.gameZone + '/'; 338 var d = ""; 339 return d += '<li class="spec">', d += '<div class="img">', d += '<a href="' + detailUrl + '" data-statis="text:logo_p_search_searchbox_' + a.gameInfoDTO.id + '" title="' + a.gameInfoDTO.name + '"><img src="' + a.gamePlatformDTO.frontImagePath + '" /></a>', d += '<span class="radius48"></span>', d += "</div>", d += '<div class="name"><a href="' + detailUrl + '" data-statis="text:logo_p_search_searchbox_' + a.gameInfoDTO.id + '" title="' + a.gameInfoDTO.name + '">' + c + '<span class="type">' + a.gameInfoDTO.category + "</span></a></div>", d += '<div class="sr-btn">', d += '<a href="' + detailUrl + '" class="down android" data-statis="text:bt_p_search_searchbox_' + a.gameInfoDTO.id + '">è¿å ¥ä¸åº</a>', d += "</div>", d += "</li>" 340 } 341 342 function i(a) { 343 var b = new RegExp(f.val(), "ig"), c = a.gameInfoDTO.name.replace(b, "</b>" + f.val() + "<b>"); 344 c = "<b>" + c + "</b>"; 345 var detailUrl = 'https://www.9game.cn/' + a.gameInfoDTO.gameZone + '/'; 346 var d = ""; 347 return d += '<li><div class="name"><a href="' + detailUrl + '" title="' + a.gameInfoDTO.name + '">' + c + "</a></div></li>" 348 } 349 350 function k(a) { 351 a && a.preventDefault ? a.preventDefault() : window.event.returnValue = !1 352 } 353 354 var l = $.trim(f.val()); 355 l.length >= 1 ? g.show() : g.hide(), 13 == a.which ? k(a) : a.which < 37 || a.which > 40 ? c() : 38 == a.which ? b("up") : 40 == a.which && b("down") 356 } 357 358 var e = $(".search-con:eq(0)"), f = $(".search-text:eq(0)"), g = $("#result_list"), 359 h = ($("#search_type"), "https://www.9game.cn/game/downs_"), i = $.trim(f.val()), j = 0, k = 1; 360 f.bind({ 361 focus: function () { 362 $(this).css("color", "#333"), $(this).val() == i && $(this).attr("value", ""), $.trim(f.val()).length >= 1 ? g.show() : g.hide() 363 }, keyup: debounce(function (a) { 364 "" != $.trim($(this).val()) ? d(a) : $(this).parent().children(".result-list").hide() 365 }, 650), blur: function () { 366 var a = $(this); 367 "" == a.val() && setTimeout(function () { 368 a.css("color", "#a8a8a8").val(i) 369 }, 300), j = 0, k && g.hide() 370 } 371 }), e.bind({ 372 mouseenter: function () { 373 k = 0 374 }, mouseleave: function () { 375 k = 1 376 } 377 }), $("#search-form").bind({ 378 submit: function (a) { 379 return "" == $.trim(f.val()) ? !1 : j ? (window.open(g.children(".current:eq(0)").find(".name a")[0].href, "newwindow"), !1) : void 0 380 } 381 }), g.delegate("li", "mouseup", function () { 382 window.open($(this).find(".name a")[0].href, "newwindow"), setTimeout(function () { 383 g.hide() 384 }, 200), j = 0 385 }), g.delegate("a", "mouseup", function (a) { 386 a.stopPropagation(), g.hide() 387 }), g.delegate("li", "mouseenter", function () { 388 $(this).addClass("current").siblings().removeClass("current") 389 }) 390}), define("/public/javascripts/pc2/dist/common/function/fix_nav", ["/public/javascripts/pc2/dist/common/pubfun/getBow"], function (a) { 391 var b = a("/public/javascripts/pc2/dist/common/pubfun/getBow"); 392 if ("IE6" != b) { 393 var c = {}; 394 c.info_con = $(".sub-nav").eq(0), $(".sub-nav").length > 0 && (c.limit = c.info_con.offset().top, c.stat = 0, c.height = c.info_con.height(), $win = $(window), $win.scroll(function () { 395 c.height = c.info_con.height(), $win.height() > c.height && c.change_pos() 396 }), $win.resize(function () { 397 c.change_pos() 398 }), c.change_pos = function () { 399 c.height = c.info_con.height(), $win.height() > c.height && $win.scrollTop() > c.limit ? c.stat || (c.info_con.addClass("sub-nav-fixed"), c.stat = 1) : (c.info_con.removeClass("sub-nav-fixed"), c.stat = 0) 400 }) 401 } 402}), define("/public/javascripts/pc2/dist/common/pubfun/getBow", [], function (a, b, c) { 403 var d = function () { 404 var a, b = {}
404, c = navigator.userAgent.toLowerCase(); 405 return (a = c.match(/msie ([\d.]+)/)) ? b.ie = a[1] : (a = c.match(/firefox\/([\d.]+)/)) ? b.firefox = a[1] : (a = c.match(/chrome\/([\d.]+)/)) ? b.chrome = a[1] : (a = c.match(/opera.([\d.]+)/)) ? b.opera = a[1] : (a = c.match(/version\/([\d.]+).*safari/)) ? b.safari = a[1] : 0, b.ie && "6.0" == b.ie ? "IE6" : b.ie && "7.0" == b.ie ? "IE7" : b.ie && "8.0" == b.ie ? "IE8" : b.ie && "9.0" == b.ie ? "IE9" : b.ie && "10.0" == b.ie ? "IE10" : b.ie && "11.0" == b.ie ? "IE11" : b.firefox ? "-moz-" : b.chrome ? "-webkit-" : b.opera ? "-o-" : b.safari ? "-webkit-" : "" 406 }; 407 c.exports = d 408}), define("/public/javascripts/pc2/dist/common/function/scroll_to", [], function (a) { 409 function b(a, b) { 410 var d = $(a).offset(), e = d.top - b; 411 $("body,html").animate({scrollTop: e}, 500, function () { 412 c = !0 413 }) 414 } 415 416 for (var c = !0, d = $(".navTag"), e = [], f = [], g = -1, h = 0; h < d.length; h++) { 417 var i = $(d[h]); 418 e.push($("#" + i.attr("data-go")).offset().top), f.push(parseInt(i.attr("data-margin"))) 419 } 420 $(document).delegate(".js-togo", "click", function () { 421 if (c) { 422 var a = $(this), d = a.attr("data-go"), e = "#" + d; 423 c = !1; 424 var f = a.attr("data-margin") ? a.attr("data-margin") : 0; 425 b(e, f) 426 } 427 }), $(window).scroll(function () { 428 var a = $(this).scrollTop(), b = 0; 429 for (b = e.length - 1; b >= 0 && !(a + f[b] >= e[b]); b--); 430 g != b && b >= 0 && (g = b, d.eq(b).addClass("on").siblings().removeClass("on")), 0 > b && a < e[0] && (g = -1, d.eq(0).removeClass("on")) 431 }) 432}), define("/public/javascripts/pc2/dist/common/function/popup", [], function (a, b, c) { 433 $(".popupArea .close").click(function () { 434 $(".popupArea").hide(), $("body").removeClass("popup_of") 435 }), $(".popupArea").bind({ 436 click: function () { 437 $(this).hide(), $("body").removeClass("popup_of") 438 } 439 }), $(".popupArea").find(".popup").bind({ 440 mouseenter: function () { 441 $(".popupArea").unbind() 442 }, mouseleave: function () { 443 $(".popupArea").bind({ 444 click: function () { 445 $(this).hide(), $("body").removeClass("popup_of") 446 } 447 }) 448 } 449 }) 450}), define("/public/javascripts/pc2/dist/common/function/show_win_gamefile", [], function (a, b, c) { 451 function d(a) { 452 return null == a ? !1 : 14 == a || 15 == a || 16 == a || 19 == a ? !0 : !1 453 } 454 455 function e(a) { 456 var b = 0, c = ""; 457 if (a >= 1024 && (b = 1 ^ b), a >= 1048576 && (b = 2 ^ b), a >= 1073741824 && (b = 4 ^ b), (1 & b) > 0) { 458 var d = a; 459 d /= 1024, c = d.toFixed(1) + "KB" 460 } 461 if ((2 & b) > 0) { 462 var d = a; 463 d /= 1048576, c = d.toFixed(1) + "M" 464 } 465 if ((4 & b) > 0) { 466 var d = a; 467 d /= 1073741824, c = d.toFixed(1) + "GB" 468 } 469 return c 470 } 471 472 function f(a, b, c, f, g, h, j, k) { 473 c = c.replace(" ", ""); 474 try { 475 $.ajax({
476 type: "get", 477 dataType: "json", 478 url: "/tpl/pc2/common/pop_win_gamefile_ajax.html", 479 data: { 480 gameId: a, 481 platformId: b, 482 name: c, 483 uploadtime: f, 484 iosflag: g, 485 typeId: h, 486 statis_page: j, 487 statis_category: k 488 }, 489 success: function (f) { 490 $("#pb_popup").find(".box-title").children("p").text(c); 491 var k = ""; 492 if (0 == g) { 493 var l = f[0], m = l["k_" + a + "_" + b], n = m.packageinfo; 494 for (i = 0; i < n.length; i++) { 495 var o = n[i]; 496 k += '<div class="down-con">', d(h) && (k += '<a id="index_pop_furl" target="_self" href="https://www.9game.cn/game/down_' + a + "_" + o.id + '.html"'), (17 == h || 18 == h) && (k += '<a id="index_pop_furl" target="_self" href="https://www.9game.cn/game/down_' + a + "_" + o.id + '.html"'), null != j && (k += ' data-statis="' + j + '"'), k += ' class="popup-down">', k += '<p class="name">' + o.name + "</p>", k += '<p class="size">' + e(o.fileSize) + "</p>", k += "</a>", k += "</div>" 497 } 498 n.length > 0 ? ($("#popup-apple-con").hide(), $("#popup-android-con").show(), $("#popup-android").html(k)) : $("#popup-android-con").hide() 499 } else if (2 == g) { 500 var l = f[0], m = l["k_" + a + "_" + b], n = m.packageinfo; 501 for (i = 0; i < n.length; i++) { 502 var o = n[i]; 503 k += '<div class="down-con">', d(h) && (k += '<a id="index_pop_furl" target="_self" href="https://www.9game.cn/game/down_' + a + "_" + o.id + '.html"'), (17 == h || 18 == h) && (k += '<a id="index_pop_furl" target="_self" href="https://www.9game.cn/game/down_' + a + "_" + o.id + '.html"'), null != j && (k += ' data-statis="' + j + '"'), k += ' class="popup-down">', k += '<p class="name">' + o.name + "</p>", k += '<p class="size">' + e(o.fileSize) + "</p>", k += "</a>", k += "</div>" 504 } 505 n.length > 0 ? ($("#popup-apple-con").hide(), $("#popup-android-con").show(), $("#popup-android").html(k), $("#pop_sub_title_android").html("è¹æå¹³å°ä¸è½½")) : $("#popup-android-con").hide() 506 } else { 507 var l = f[0], m = l["k_" + a + "_2"], n = m.packageinfo; 508 for (i = 0; i < n.length; i++) { 509 var o = n[i]; 510 k += '<div class="down-con">', d(h) && (k += '<a id="index_pop_furl" target="_self" href="https://www.9game.cn/game/down_' + a + "_" + o.id + '.html"'), (17 == h || 18 == h) && (k += '<a id="index_pop_furl" target="_self" href="https://www.9game.cn/game/down_' + a + "_" + o.id + '.html"'), null != j && (k += ' data-statis="' + j + '"'), k += ' class="popup-down">', k += '<p class="name">' + o.name + "</p>", k += '<p class="size">' + e(o.fileSize) + "</p>", k += "</a>", k += "</div>" 511 } 512 $("#popup-android-con").show(), $("#popup-android").html(k), k = "", l = f[1]; 513 var m = l["k_" + a + "_3"], n = m.packageinfo; 514 for (i = 0; i < 1; i++) { 515 var o = n[i]; 516 k += '<div class="down-con">', d(h) && (k += '<a id="index_pop_furl" target="_self" href="https://www.9game.cn/game/downs_' + a + '_3.html"'), (17 == h || 18 == h) && (k += '<a id="index_pop_furl" target="_self" href="https://www.9game.cn/game/downs_' + a + '_3.html"'), null != j && (k += ' data-statis="' + j + '"'), k += ' class="popup-down">', k += '<p class="name">' + o.name + "</p>", k += '<p class="size">' + e(o.fileSize) + "</p>", k += "</a>", k += "</div>" 517 } 518 $("#popup-apple-con").show(), $("#popup-apple").html(k) 519 } 520 $("#pb_popup").show(), $("body").addClass("popup_of") 521 } 522 }) 523 } catch (l) { 524 } 525 } 526 527 window.show_win_gamefile = f 528}), define("/public/javascripts/pc2/dist/common/function/show_win_gamefile_v2", [], function (a, b, c) { 529 function d(a) { 530 var b = 0, c = ""; 531 if (a >= 1024 && (b = 1 ^ b), a >= 1048576 && (b = 2 ^ b), a >= 1073741824 && (b = 4 ^ b), (1 & b) > 0) { 532 var d = a; 533 d /= 1024, c = d.toFixed(1) + "KB" 534 } 535 if ((2 & b) > 0) { 536 var d = a; 537 d /= 1048576, c = d.toFixed(1) + "M" 538 } 539 if ((4 & b) > 0) { 540 var d = a; 541 d /= 1073741824, c = d.toFixed(1) + "GB" 542 } 543 return c 544 } 545 546 $("body").delegate(".ajax-down-pop", "click", function () { 547 var a = JSON.parse($(this).attr("data-params")); 548 var _this =$(this); 549 try { 550 $.ajax({
551 type: "get", 552 dataType: "json", 553 url: "/tpl/pc2/common/pop_win_gamefile_ajax2.html", 554 data: a, 555 success: function (b) { 556 if (1 == b.code){ 557 if (window.adjustRealName || _this.data('gs') === 0 || $('script[data-real-name]').data('realName') !== 2){ 558 window.open(b.downurl,"_self"); 559 }else{ 560 $.ajax({ 561 type: 'POST', 562 url: '/identify', 563 data: { 564 "s": 'pc', 565 "r": window.location.host+"/tpl/real_name.html" 566 }, 567 success: function (respose) { 568 if (respose.result === 1){ 569 respose.url === '' ? window.open(b.downurl,"_self") : window.downloadUrl = b.downurl; 570 }else { 571 console.log('request error'); 572 } 573 }, 574 error: function () { 575 console.log('request error'); 576 } 577 }); 578 } 579 }else if (2 == b.code) { 580 var c = a.gameId, e = a.name; 581 $("#pb_popup").find(".box-title").children("p").text(e); 582 var f = b.packageList[0], g = f["k_" + c + "_2"], h = g.packageinfo, j = ""; 583 for (i = 0; i < h.length; i++) { 584 var k = h[i]; 585 j += '<div class="down-con">', j += '<a id="index_pop_furl" target="_self" href="https://www.9game.cn/game/down_' + c + "_" + k.id + '.html"', j += ' data-statis="' + a.statis_text + '"', j += ' class="popup-down">', j += '<p class="name">' + k.name + "</p>", j += '<p class="size">' + d(k.fileSize) + "</p>", j += "</a>", j += "</div>" 586 } 587 $("#popup-android-con").show(), $("#popup-android").html(j), 1 == b.android ? $("#popup-apple-con").hide() : (j = "", j += '<div class="down-con">', j += '<a id="index_pop_furl" target="_self" href="https://www.9game.cn/game/downs_' + c + '_3.html"', j += ' data-statis="' + a.statis_text + '"', j += ' class="popup-down">', j += '<p class="name">' + k.name + "</p>", j += '<p class="size">' + d(k.fileSize) + "</p>", j += "</a>", j += "</div>", $("#popup-apple-con").show(), $("#popup-apple").html(j)), $("#pb_popup").show(), $("body").addClass("popup_of") 588 } 589 } 590 }) 591 } catch (b) { 592 return !1 593 } 594 }) 595}), define("/public/javascripts/pc2/dist/common/function/x_move", [], function (a) { 596 !function (a) { 597 var b = { 598 clone: function (a) { 599 var b = function () { 600 }; 601 return b.prototype = new a, b 602 }, getBow: function () { 603 var a, b = {}, c = navigator.userAgent.toLowerCase(); 604 return (a = c.match(/msie ([\d.]+)/)) ? b.ie = a[1] : (a = c.match(/firefox\/([\d.]+)/)) ? b.firefox = a[1] : (a = c.match(/chrome\/([\d.]+)/)) ? b.chrome = a[1] : (a = c.match(/opera.([\d.]+)/)) ? b.opera = a[1] : (a = c.match(/version\/([\d.]+).*safari/)) ? b.safari = a[1] : 0, b.ie && "6.0" == b.ie ? "IE6" : b.ie && "7.0" == b.ie ? "IE7" : b.ie && "8.0" == b.ie ? "IE8" : b.ie && "9.0" == b.ie ? "IE9" : b.ie && "10.0" == b.ie ? "IE10" : b.ie && "11.0" == b.ie ? "IE11" : b.firefox ? "" : b.chrome ? "-webkit-" : b.opera ? "-o-" : b.safari ? "-a-" : "" 605 }, trim: function (a) { 606 return a.replace(/(^\s*)|(\s*$)/gi, "") 607 } 608 }, c = { 609 tabMoveFun: function (a, b, c, d, e, f) { 610 switch (b) { 611 case"toggle": 612 this.toggleFun(a, c, d); 613 break; 614 case"fade": 615 this.fadeFun(a, c, d, e); 616 break; 617 case"xrun": 618 this.runFun(a, c, "x", d, e, f); 619 break; 620 case"yrun": 621 this.runFun(a, c, "y", d, e, f); 622 break; 623 default: 624 return 625 } 626 }, toggleFun: function (a, b) { 627 var c = a.children().eq(b); 628 c.show().siblings().hide() 629 }, fadeFun: function (a, b, c, d) { 630 var e = a.children().eq(b); 631 "IE6" != c && "IE7" != c && "" != c ? e.fadeIn(d).siblings().stop().fadeOut(d) : e.show().siblings().hide() 632 }, runFun: function (a, b, c, d, e, f) { 633 var g = f * b * -1; 634 "x" == c ? a.clearQueue().animate({left: g + "px"}, e) : "y" == c && a.clearQueue().animate({top: g + "px"}, e) 635 } 636 }, d = { 637 outerSize: function (a, b) { 638 var c = 0, d = a.children().eq(0); 639 return "xrun" == b ? c = parseInt(d.outerWidth(!0)) : "yrun" == b && (c = parseInt(d.outerHeight(!0))), c 640 } 641 }, e = function () { 642 var e = function (a, b, c) { 643 return new e.fn.init(a, b, c) 644 }; 645 return e.fn = e.prototype = { 646 constructor: e, init: function (a, b, c) { 647 if (this.setParam(a, b, c), this.modeFun(), this.autoplay = this.autoplay || !1, c.autoplay) { 648 var d = c; 649 d.ctrl = a, f(b, d) 650 } 651 }, setParam: function (c, e, f) { 652 this.parent = f.parent || a.document, this.ctrl = c, this.ctrled = e, this.mouse = f.mouse || "hover", this.mode = f.mode || "toggle", this.playTime = f.playTime || 300, this.active = f.active || "", this.beginFun = f.beginFun, this.endFun = f.endFun, this.bow = b.getBow(), this.runLength = f.runLength || d.outerSize($(this.parent).find(this.ctrled), this.mode), this.now = 0 653 }, modeFun: function () { 654 var a = this; 655 $(a.parent).each(function () {
656 var b = $(this), d = b.find(a.ctrl), e = b.find(a.ctrled); 657 d.children().each(function () { 658 "hover" == a.mouse ? $(this).bind({ 659 mouseenter: function () { 660 var b = $(this), d = b.index(); 661 b.addClass(a.active).siblings().removeClass(a.active), c.tabMoveFun(e, a.mode, d, a.bow, a.playTime, a.runLength), a.moveEndFun(e, d) 662 } 663 }) : "click" == a.mouse && $(this).bind({ 664 click: function () { 665 var b = $(this), d = b.index(); 666 b.addClass(a.active).siblings().removeClass(a.active), c.tabMoveFun(e, a.mode, d, a.bow, a.playTime, a.runLength), a.moveEndFun(e, d) 667 } 668 }) 669 }) 670 }) 671 }, moveEndFun: function (a, b) { 672 a.attr("x-now-data", b), this.now = b, this.endFun && this.endFun.call(this) 673 } 674 }, e.fn.init.prototype = e.fn, e 675 }(), f = function () { 676 var e = function (a, b) { 677 return new e.fn.init(a, b) 678 }; 679 return e.fn = e.prototype = { 680 constructor: e, init: function (a, b) { 681 this.setParam(a, b), this.autoPlayFun() 682 }, setParam: function (c, e) { 683 this.parent = e.parent || a.document, this.ctrl = e.ctrl, this.ctrled = c, this.mode = e.mode || "fade", this.speed = e.speed || 3e3, this.playTime = e.playTime || 300, this.active = e.active || "", this.beginFun = e.beginFun, this.endFun = e.endFun, this.bow = b.getBow(), this.runLength = e.runLength || d.outerSize($(this.parent).find(this.ctrled), this.mode), this.now = 0 684 }, autoPlayFun: function () { 685 var a = this; 686 $(a.parent).each(function () { 687 var b, c = $(this), d = c.find(a.ctrled), e = d.children(), f = null; 688 d.attr("x-now-data", "0"), null != a.ctrl && "" != a.ctrl && (b = c.find(a.ctrl), b.bind({ 689 mouseleave: function () { 690 f || (f = a.timeFun(d, e, b)) 691 }, mouseenter: function () { 692 clearInterval(f), f = null 693 } 694 })), d.bind({ 695 mouseleave: function () { 696 f || (f = a.timeFun(d, e, b)) 697 }, mouseenter: function () { 698 clearInterval(f), f = null 699 } 700 }), f || (f = a.timeFun(d, e, b)) 701 }) 702 }, timeFun: function (a, b, d) { 703 var e = this, f = setInterval(function () { 704 var f = (parseInt(a.attr("x-now-data")) + 1) % b.length; 705 null != e.ctrl && "" != e.ctrl && d.children().eq(f).addClass(e.active).siblings().removeClass(e.active), c.tabMoveFun(a, e.mode, f, e.bow, e.playTime, e.runLength), e.moveEndFun(a, f) 706 }, 3e3); 707 return f 708 }, moveEndFun: function (a, b) { 709 a.attr("x-now-data", b), this.now = b, this.endFun && this.endFun.call(this) 710 } 711 }, e.fn.init.prototype = e.fn, e 712 }(), g = function () { 713 var e = function (a, b, c, d) { 714 return new e.fn.init(a, b, c, d) 715 }; 716 return e.fn = e.prototype = { 717 constructor: e, init: function (a, b, c, d) { 718 this.setParam(a, b, c, d), this.modeFun() 719 }, setParam: function (c, e, f, g) { 720 this.parent = g.parent || a.document, this.ctrl = g.ctrl, this.ctrled = c, this.prev = e, this.next = f, this.mode = g.mode || "toggle", this.playTime = g.playTime || 300, this.active = g.active || "", this.btn_active = g.btn_active || "", this.endFun = g.endFun, this.bow = b.getBow(), this.runLength = g.runLength || d.outerSize($(this.parent).find(this.ctrled), this.mode) 721 }, modeFun: function () { 722 var a = this; 723 $(a.parent).each(function () { 724 var b = $(this), d = b.find(a.ctrl), e = b.find(a.ctrled), f = e.children(), g = b.find(a.prev), 725 h = b.find(a.next); 726 e.attr("x-now-data", "0"), g.bind({ 727 click: function () { 728 var b = (f.length + parseInt(e.attr("x-now-data")) - 1) % f.length; 729 c.tabMoveFun(e, a.mode, b, a.bow, a.playTime, a.runLength), a.moveEndFun(e, b), null != a.ctrl && "" != a.ctrl && d.children().eq(b).addClass(a.active).siblings().removeClass(a.active) 730 }, mouseenter: function () { 731 $(this).addClass(a.btn_active) 732 }, mouseleave: function () { 733 $(this).removeClass(a.btn_active) 734 } 735 }), h.bind({ 736 click: function () { 737 var b = (parseInt(e.attr("x-now-data")) + 1) % f.length; 738 c.tabMoveFun(e, a.mode, b, a.bow, a.playTime, a.runLength), a.moveEndFun(e, b), null != a.ctrl && "" != a.ctrl && d.children().eq(b).addClass(a.active).siblings().removeClass(a.active) 739 }, mouseenter: function () { 740 $(this).addClass(a.btn_active) 741 }, mouseleave: function () { 742 $(this).removeClass(a.btn_active) 743 } 744 }) 745 }) 746 }, moveEndFun: function (a, b) { 747 a.attr("x-now-data", b), this.now = b, this.endFun && this.endFun.call(this) 748 } 749 }, e.fn.init.prototype = e.fn, e 750 }(); 751 a.xTabMove = e, a.xAutoPlay = f, a.xCtrlTurn = g 752 }(window) 753}), define("/public/javascripts/pc2/dist/common/function/litt_nav", ["/public/javascripts/pc2/dist/common/pubfun/cookie
753s"], function (a, b, c) { 754 var d = a("/public/javascripts/pc2/dist/common/pubfun/cookies"); 755 $(document).ready(function () { 756 function a() { 757 var a = document.getElementsByTagName("head")[0], c = document.createElement("style"), d = b(); 758 c.type = "text/css"; 759 var e = ""; 760 c.id = "popup_css_litnav", e += "", e += ".pub-littlt-fix-nav { position: fixed; left: 50%; margin-left: 505px; bottom: 80px; width: 40px; display: block; _display: none; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; z-index:15; }", e += ".pub-littlt-fix-nav li { height: 36px; padding: 2px 0; margin-bottom: 1px; background: #f3f3f3; font-size: 14px; line-height: 18px; color: #333; text-align: center; }", e += ".pub-littlt-fix-nav li:hover { cursor: pointer; }", e += ".pub-littlt-fix-nav li.on { color: #fff; background-color: #ff8a00; cursor: pointer; }", e += ".pub-littlt-fix-nav li:hover .link { background-color: color: #fff; #ff8a00; display: block; text-decoration:none; }", e += ".pub-littlt-fix-nav .link { display: none; width: 100%; height: 36px; margin-bottom: 1px; background: #ff8a00; font-size: 14px; line-height: 18px; color: #fff; text-align: center; }", e += ".pub-littlt-fix-nav .to-top { visibility: hidden; }", e += ".pub-littlt-fix-nav .client{ background: url(https://cdn.9game.cn/ngm-portal-jws/public/images/pc/pc_9game_public/litnav/litt_nav.png) no-repeat 0px -40px; _background: url(https://cdn.9game.cn/ieu-ug-mng/custom/20260907/litt_nav.gif) no-repeat 0px -40px; background-color: #fff; visibility: visible; position:relative; }", e += ".pub-littlt-fix-nav .client .lit{ line-height:14px; font-size:12px; display:block; }", e += ".pub-littlt-fix-nav .client .client-code{ width:148px; padding:15px 0 10px; border:1px solid #e0e0e0; background:#fff; position:absolute; left:-52px; bottom:46px; cursor:default; }", e += ".pub-littlt-fix-nav .client .client-code.first{position:absolute; left:0; bottom:0; }", e += ".pub-littlt-fix-nav .client .client-code.first .cor{display:none;}", e += ".pub-littlt-fix-nav .client .img{ width:110px; height:110px; display:block; margin:0 0 10px 19px; }", e += ".pub-littlt-fix-nav .client .p{ line-height:16px; font-size:12px; text-align:center; color:#333; }", e += ".pub-littlt-fix-nav .client .p2{ line-height:16px; font-size:12px; text-align:center; color:#f60; }", e += ".pub-littlt-fix-nav .client .close{ width:23px; height:23px; position:absolute; left:-1px; top:-24px; background:#fff url(https://cdn.9game.cn/ngm-portal-jws/public/images/pc/pc_9game_public/litnav/litt_nav.png) no-repeat -8px 4px; _background:#fff url(https://cdn.9game.cn/ieu-ug-mng/custom/20260907/litt_nav.gif) no-repeat -8px 4px; border:1px solid #e0e0e0; border-bottom:0; cursor:pointer; }", e += ".pub-littlt-fix-nav .client .cor{ width:60px; height:8px; position:absolute; left:40px; bottom:-8px; background:url(https://cdn.9game.cn/ngm-portal-jws/public/images/pc/pc_9game_public/litnav/litt_nav.png) no-repeat 10px -315px; _background:#fff url(https://cdn.9game.cn/ieu-ug-mng/custom/20260907/litt_nav.gif) no-repeat 10px -315px; }", e += ".pub-littlt-fix-nav .to-top.show{ background: url(https://cdn.9game.cn/ngm-portal-jws/public/images/pc/pc_9game_public/litnav/litt_nav.png) no-repeat 0 -162px; _background: url(https://cdn.9game.cn/ieu-ug-mng/custom/20260907/litt_nav.gif) no-repeat 0 -162px; background-color: #fff; visibility: visible; }", e += ".pub-littlt-fix-nav .to-top.show:hover { background-color: #ff8a00; background-position:0 -214px; cursor:pointer; }", e += ".pub-littlt-fix-nav #bdshare { width: 40px; float: none; }", e += ".pub-littlt-fix-nav #bdshare .bds_more { margin: 0; padding: 0; display: none; width: 100%; height: 36px; margin-bottom: 1px; background: #ff8a00 !important; font-size: 14px; line-height: 18px; color: #fff; text-align: center; }", e += ".pub-littlt-fix-nav #bdshare:hover .bds_more { display: block; font-size: 14px; line-height: 18px; color: #fff; text-align: center; }", e += ".pub-littlt-fix-nav #bdshare:hover .bds_more:hover { opacity: 1; filter: alpha(opacity=100); }", e += ".pub-littlt-fix-nav .suggest { background: url(https://cdn.9game.cn/ngm-portal-jws/public/images/pc/pc_9game_public/litnav/litt_nav.png) no-repeat 1px -81px; _background: url(https://cdn.9game.cn/ieu-ug-mng/custom/20260907/litt_nav.gif) no-repeat 1px -81px; background-color: #fff; position:relative; }", e += ".pub-littlt-fix-nav .share { background: url(https://cdn.9game.cn/ngm-portal-jws/public/images/pc/pc_9game_public/litnav/litt_nav.png) no-repeat 1px -122px; _background: url(https://cdn.9game.cn/ieu-ug-mng/custom/20260907/litt_nav.gif) no-repeat 1px -122px; background-color: #fff; }", e += "#bdshare_l { position: fixed !important; left: 50% !important; margin-left: 278px !important; bottom: 121px !important; top: auto !important; _display: none; }", e += "#bdsIfr{ display:none !important; }", e += ".pub-littlt-fix-nav .suggest,.pub-littlt-fix-nav .client,.pub-littlt-fix-nav #bdshare,.pub-littlt-fix-nav .to-top.show{background-color:#f3f3f3;}", a.appendChild(c), "IE6" == d || "IE7" == d || "IE8" == d ? c.styleSheet.cssText = e : c.innerHTML = e 761 } 762 763 function b() { 764 var a, b = {}
764, c = navigator.userAgent.toLowerCase(); 765 return (a = c.match(/msie ([\d.]+)/)) ? b.ie = a[1] : (a = c.match(/firefox\/([\d.]+)/)) ? b.firefox = a[1] : (a = c.match(/chrome\/([\d.]+)/)) ? b.chrome = a[1] : (a = c.match(/opera.([\d.]+)/)) ? b.opera = a[1] : (a = c.match(/version\/([\d.]+).*safari/)) ? b.safari = a[1] : 0, b.ie && "6.0" == b.ie ? "IE6" : b.ie && "7.0" == b.ie ? "IE7" : b.ie && "8.0" == b.ie ? "IE8" : b.ie && "9.0" == b.ie ? "IE9" : b.ie && "10.0" == b.ie ? "IE10" : b.ie && "11.0" == b.ie ? "IE11" : b.firefox ? "-moz-" : b.chrome ? "-webkit-" : b.opera ? "-o-" : b.safari ? "-webkit-" : "" 766 } 767 768 a(), function () { 769 function a() { 770 return b.find(".client .close").hide(), e.hide(), d.set("game9ercode", "game9ercode", { 771 expires: 86400, 772 path: "/", 773 domain: ".9game.cn" 774 }), e.removeClass("first"), c.children("a").hide(), c.bind({ 775 mouseenter: function () { 776 c.children("a").show(), e.show() 777 }, mouseleave: function () { 778 c.children("a").hide(), e.hide() 779 } 780 }), !0 781 } 782 783 var b = $("#pub-littlt-fix-nav"), c = b.find(".client"), e = b.find(".client-code"); 784 !d.get("game9ercode") || a(), b.find(".client .close").click(function () { 785 a() 786 }) 787 }(), function (a) { 788 var b = !0, c = $("#pub-littlt-fix-nav"), d = c.find(".to-top"); 789 $(a).scroll(function () { 790 var a = $(this).scrollTop(); 791 575 > a ? d.removeClass("show") : d.addClass("show") 792 }), d.click(function () { 793 var a = 0; 794 $("body,html").animate({scrollTop: a}, 500, function () { 795 b = !0 796 }) 797 }) 798 }(window) 799 }) 800}), define("/public/javascripts/pc2/dist/common/pubfun/cookies", [], function (a, b, c) { 801 var d = { 802 setRaw: function (a, b, c) { 803 if (d._isValidKey(a)) { 804 c = c || {}; 805 var e = c.expires; 806 "number" == typeof c.expires && (e = new Date, e.setTime(e.getTime() + c.expires)), document.cookie = a + "=" + b + (c.path ? "; path=" + c.path : "") + (e ? "; expires=" + e.toGMTString() : "") + (c.domain ? "; domain=" + c.domain : "") + (c.secure ? "; secure" : "") 807 } 808 }, set: function (a, b, c) { 809 d.setRaw(a, encodeURIComponent(b), c) 810 }, getRaw: function (a) { 811 if (this._isValidKey(a)) { 812 var b = new RegExp("(^| )" + a + "=([^;]*)(;|$)"), c = b.exec(document.cookie); 813 if (c)return c[2] || null 814 } 815 return null 816 }, _isValidKey: function (a) { 817 return new RegExp('^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\"\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+$').test(a) 818 }, get: function (a) { 819 var b = d.getRaw(a); 820 return "string" == typeof b ? b = decodeURIComponent(b) : null 821 } 822 }; 823 c.exports = d 824}), define("/public/javascripts/pc2/dist/common/function/lazy_load", [], function (a, b, c) { 825 !function (a, b) { 826 var c = { 827 getByClass: function (a, b) { 828 for (var c = a.getElementsByTagName("*"), d = [], e = new RegExp("\\b" + b + "\\b", "i"), 829 f = 0; f < c.length; f++)e.test(c[f].className) && d.push(c[f]); 830 return d 831 }, get_pos: function (a) { 832 if (!a)return !1; 833 var b = a.offsetLeft, c = a.offsetTop, d = a; 834 if (c) d = a.offsetParent || a.parentNode; else for (; d != document && null != d && !d.offsetTop;)d = d.parentNode; 835 for (; d != document && null != d;)b += d.offsetLeft, c += d.offsetTop, d = d.offsetParent || d.parentNode; 836 return {left: b, top: c} 837 }, removeClass: function (a, b) { 838 if (!a || !a.className)return !1; 839 for (var c = a.className.split(" "), d = !1, e = 0; e < c.length; e++)if (c[e] === b) { 840 c.splice(e, 1), d = !0; 841 break 842 } 843 if (d) { 844 if (a.className = "", c.length < 1)return d; 845 if (1 == c.length) a.className = c[0]; else if (c.length > 1)for (var e = 0; e < c.length; e++)e == c.length - 1 ? a.className += c[e] : a.className += c[e] + " " 846 } 847 return d 848 }, addEvent: function (a, b, c) { 849 if (a) { 850 if (a.addEventListener)return a.addEventListener(b, c, !1); 851 if (a.attachEvent)return a.attachEvent("on" + b, c);
852 a["on" + b] = c 853 } 854 }, removeEvent: function (a, b, c) { 855 if (a) { 856 if (a.removeEventListener)return a.removeEventListener(b, c, !1); 857 if (a.detachEvent)return a.detachEvent("on" + b, c); 858 a["on" + b] = null 859 } 860 }, startMove: function (a, b, d) { 861 clearInterval(a.timer), a.timer = setInterval(function () { 862 var e = !0; 863 for (var f in b) { 864 var g = 0; 865 g = "opacity" == f ? parseInt(100 * parseFloat(c.getStyle(a, f))) : parseInt(c.getStyle(a, f)); 866 var h = (b[f] - g) / 8; 867 h = h > 0 ? Math.ceil(h) : Math.floor(h), g != b[f] && (e = !1), "opacity" == f ? (a.style.filter = "alpha(opacity:" + (g + h) + ")", a.style.opacity = (g + h) / 100) : a.style[f] = g + h + "px" 868 } 869 e && (clearInterval(a.timer), d && d()) 870 }, 30) 871 }, getStyle: function (a, b) { 872 return a.currentStyle ? a.currentStyle[b] : getComputedStyle(a, !1)[b] 873 } 874 }, d = { 875 init: function () { 876 this.parm(), this.getImg(), this.getPos(), this.bindEvent(), this.lazyShow() 877 }, parm: function () { 878 var a = b.getElementById("xManLazyLoad"); 879 this.img = {}, this.img.onerrorImgUrl = "", this.img.srcStore = a ? a.getAttribute("xdata-attr") : "xLazyImg", this.img.className = a ? a.getAttribute("xdata-class") : "xLazyClass", this.img.lazy = a ? parseInt(a.getAttribute("xdata-lazy")) : 20 880 }, getImg: function () { 881 this.img.node = c.getByClass(b.getElementsByTagName("body")[0], this.img.className), this.img.length = this.img.node.length 882 }, getPos: function () { 883 for (var a = d, b = 0; b < a.img.node.length; b++)a.img.node[b].xLazyPos = c.get_pos(a.img.node[b]) 884 }, bindEvent: function () { 885 this.img.node.length > 0 && (c.addEvent(a, "scroll", this.lazyShow), c.addEvent(a, "resize", this.getPos)) 886 }, lazyShow: function () { 887 var e = d, f = a.innerHeight || document.documentElement.clientHeight, 888 g = document.body.scrollTop || document.documentElement.scrollTop; 889 if (e.img.length > 0)for (var h = 0; h < e.img.node.length; h++)~function (a) { 890 var b = e.img.node[a], d = b.getAttribute(e.img.srcStore); 891 if (d && f + g + e.img.lazy >= b.xLazyPos.top && g - e.img.lazy <= b.xLazyPos.top) { 892 var h = new Image; 893 h.onload = function () { 894 b.style.filter = "alpha(opacity=0)", b.style.opacity = 0, b.removeAttribute(e.img.srcStore), c.removeClass(b, e.img.className), e.img.length--, b.setAttribute("src", d), c.startMove(b, {opacity: "100"}) 895 }, h.src = d 896 } 897 }(h); else e.img.node = c.getByClass(b.getElementsByTagName("body")[0], e.img.className), e.img.length = e.img.node.length, e.img.length <= 0 && (c.removeEvent(a, "scroll", e.lazyShow), c.removeEvent(a, "resize", e.getPos)) 898 } 899 }; 900 d.init() 901 }(window, document) 902}), define("/public/javascripts/pc2/dist/common/function/loadmore", [], function (a) { 903 !function (a, b) { 904 function c(a) { 905 var b = JSON.parse($("#param").val()); 906 b.offset = i * k, b.isAjax = 1; 907 try { 908 $.ajax({
909 type: "get", url: a, data: b, beforeSend: function () { 910 j = 0, f.show(), g.hide() 911 }, success: function (a) { 912 a.length > 1 ? (e.append(a), k++, i * k >= m && d()) : d() 913 }, error: function () { 914 g.find("a").html("å 载失败,ç¹å»éæ°å è½½") 915 }, complete: function () { 916 j = 1, f.hide(), g.show() 917 } 918 }) 919 } catch (c) { 920 } 921 } 922 923 function d() { 924 f.hide(), g.html("以䏿¯å ¨é¨æ°æ®") 925 } 926 927 var e = $("#comment_list"), f = $("#page_load"), g = $("#page_reload"); 928 if ($("#param").length) { 929 var h = JSON.parse($("#param").val()), i = h.count, j = 1, k = 1, l = $("#param").attr("data-url"), m = h.total; 930 m = parseInt(m); 931 var n = i * k; 932 f.hide(), g.show(), m > n ? g.find(".page-reload").click(function () { 933 1 == j && c(l) 934 }) : d(), 0 == m && g.html("ææ æ°æ®") 935 } 936 }(window, document) 937}), define("/public/javascripts/pc2/dist/common/function/note", [], function (a, b, c) { 938}), define("/public/javascripts/pc2/dist/common/function/lognintips", [], function (a, b, c) { 939 setTimeout(function () { 940 $(".public-mask").animate({opacity: "0"}, { 941 duration: 900, complete: function () { 942 $(".public-mask").hide() 943 } 944 }) 945 }, 3e3) 946}), define("/public/javascripts/pc2/dist/common/function/guide_app", ["/public/javascripts/pc2/dist/common/pubfun/cookies"], function (a, b, c) { 947 function d() { 948 return $(".guide-app-fix").hide(), e.set("game9guideapp", "game9guideapp", { 949 expires: 864e5, 950 path: "/", 951 domain: ".9game.cn" 952 }), !0 953 } 954 955 var e = a("/public/javascripts/pc2/dist/common/pubfun/cookies"); 956 $(".guide-app-fix .close").click(function () { 957 d() 958 }), e.get("game9guideapp") ? $(".guide-app-fix").hide() : $(".guide-app-fix").show() 959}); 960/* ==================== 5. index.jsï¼seajs 模åå ï¼5 ä¸ªå ·åæ¨¡åï¼ ==================== */ 961define("/public/javascripts/pc2/dist/module/index/index",["./function/speard_con","./function/fri_tab","./function/cpadv","../../common/pubfun/cookies"],function(a){a("./function/speard_con"),a("./function/fri_tab"),a("./function/cpadv")}),define("/public/javascripts/pc2/dist/module/index/function/speard_con",[],function(a){$(".speard-con:eq(0)").delegate("a","mouseenter",function(){$(this).children(".meng").stop().animate({bottom:"0"},300)}),$(".speard-con:eq(0)").delegate("a","mouseleave",function(){$(this).children(".meng").stop().animate({bottom:"-100%"},300)})}),define("/public/javascripts/pc2/dist/module/index/function/fri_tab",[],function(a){xTabMove(".tag-tit-ul",".box-text",{parent:".friend-link",active:"current"})}),define("/public/javascripts/pc2/dist/module/index/function/cpadv",["/public/javascripts/pc2/dist/common/pubfun/cookies"],function(a){function b(){return c(),d(),e.set("game9cpadvb"+h,"game9cpadvb"+h,{expires:j,path:"/",domain:".9game.cn"}),e.set("game9cpadvs"+h,"game9cpadvs"+h,{expires:k,path:"/",domain:".9game.cn"}),!0}function c(){f.children(".cp-bigadv-bg").animate({top:"-100%"},function(){f.hide()})}function d(){g.css({height:"100px"})}var e=a("/public/javascripts/pc2/dist/common/pubfun/cookies"),f=$("#cpbigadv"),g=$("#cpsmalladv"),h=f.attr("data-cokey"),i=f.attr("data-type");if(f){var j=0,k=0;if(1==i?(j=864e6,k=864e6):2==i?(j=864e6,k=864e5):3==i?(j=864e6,k=864e7):4==i?(j=864e6,k=0):(j=864e6,k=0),e.get("game9cpadvb"+h)?f.hide():f.show(),e.get("game9cpadvs"+h)?d():"",!e.get("game9cpadvb"+h)){new Date;f.find(".close").click(function(){b()}),f.find(".link").click(function(){b()}),setTimeout(function(){b()},5e3)}}}),define("/public/javascripts/pc2/dist/common/pubfun/cookies",[],function(a,b,c){var d={setRaw:function(a,b,c){if(d._isValidKey(a)){c=c||{};var e=c.expires;"number"==typeof c.expires&&(e=new Date,e.setTime(e.getTime()+c.expires)),document.cookie=a+"="+b+(c.path?"; path="+c.path:"")+(e?"; expires="+e.toGMTString():"")+(c.domain?"; domain="+c.domain:"")+(c.secure?"; secure":"")}},set:function(a,b,c){d.setRaw(a,encodeURIComponent(b),c)}
961,getRaw:function(a){if(this._isValidKey(a)){var b=new RegExp("(^| )"+a+"=([^;]*)(;|$)"),c=b.exec(document.cookie);if(c)return c[2]||null}return null},_isValidKey:function(a){return new RegExp('^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\"\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+$').test(a)},get:function(a){var b=d.getRaw(a);return"string"==typeof b?b=decodeURIComponent(b):null}};c.exports=d}); 962/* ==================== 6. e_index.js å ¥å£æ¨¡åï¼åå¿å defineï¼æåè¯·æ± ID å ·ååï¼ ==================== */ 963define("/public/javascripts/pc2/dist/module_enter/e_index.js", function(require) { 964 require('../common/common'); 965 require('../module/index/index'); 966}); 967/* ==================== 7. å ¥å£è§¦åï¼å seajs.use è°ç¨ï¼ ==================== */ 968seajs.use("/public/javascripts/pc2/dist/module_enter/e_index.js");
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.