{"version":3,"sources":["webpack:///v1-0/production.js","webpack:///webpack/bootstrap 16a4bd2eaf47ea9eda35","webpack:///./v1-0/production.js","webpack:///./v1-0/template.html"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","bbsListFinalTopBannerSet","$","J","seachWidth","outerWidth","wrapWidth","width","loginWidth","Passport","isLoggedIn","show","tmpl","adv","AdBase","extend","init","options","this","base","emit","ENUM","EVENTS","inited","setup","data","setuped","play","advEl","selector","window","ued","gameInfo","gameCode","append","razor","on","loginSuccess","test","navigator","userAgent","location","reload","logoutSuccess","played"],"mappings":"CAAS,SAAUA;ICInB,SAAAC,EAAAC;QAGA,IAAAC,EAAAD,IACA,OAAAC,EAAAD,GAAAE;QAGA,IAAAC,IAAAF,EAAAD;YACAI,KAAAJ;YACAK,MAAA;YACAH;;QAUA,OANAJ,EAAAE,GAAAM,KAAAH,EAAAD,SAAAC,KAAAD,SAAAH,IAGAI,EAAAE,KAAA,GAGAF,EAAAD;;IAvBA,IAAAD;IA4BAF,EAAAQ,IAAAT,GAGAC,EAAAS,IAAAP,GAGAF,EAAAU,IAAA,SAAAP,GAAAQ,GAAAC;QACAZ,EAAAa,EAAAV,GAAAQ,MACAG,OAAAC,eAAAZ,GAAAQ;YACAK,iBAAA;YACAC,eAAA;YACAC,OAAAN;;OAMAZ,EAAAmB,IAAA,SAAAf;QACA,IAAAQ,IAAAR,OAAAgB,aACA;YAA2B,OAAAhB,EAAA;YAC3B;YAAiC,OAAAA;;QAEjC,OADAJ,EAAAU,EAAAE,GAAA,KAAAA,IACAA;OAIAZ,EAAAa,IAAA,SAAAQ,GAAAC;QAAsD,OAAAR,OAAAS,UAAAC,eAAAjB,KAAAc,GAAAC;OAGtDtB,EAAAyB,IAAA,IAGAzB,IAAA0B,IAAA;IDMM,SAAUtB,GAAQD,GAASH;IAEjC;IEjCA,SAAS2B;QACP,IAAIC,IAAIA,KAAKC,GACTC,IAAaF,EAAE,cAAcG,YAAW,IAC1CC,IACEJ,EAAE,mBAAmBK,UACrBL,EAAE,mBAAmBK,UACrBL,EAAE,mBAAmBK,UACrB,KACA,IACFC,IAAa;QAEbA,IADEC,SAASC,eACER,EAAE,UAAUG,YAAW,KAEvBH,EAAE,wBAAwBG,YAAW;QAEpDH,EAAE,6BACCK,MAAMD,IAAYF,IAAaI,GAC/BG;;IArDL,IAAIC,IAAOtC,EAAQ;IACnBuC,IAAIC,OAAOC,OAAO;QAChBC,QAD2C,SACtCC;YACHC,KAAKC,KAAKF,IACVC,KAAKE,KAAKP,IAAIQ,KAAKC,OAAOC;;QAE5BC,SAL2C,SAKrCC;YACJP,KAAKO,OAAOA,GACZP,KAAKE,KAAKP,IAAIQ,KAAKC,OAAOI;;QAE5BC,QAT2C;YAUzC,IAAIzB,IAAIA,KAAKC,GACTyB,IAAQ1B,EAAEgB,KAAKD,QAAQY;YAEvBC,OAAOC,IAAIC,SAASC,YACtBf,KAAKO,KAAKQ,YAAYH,OAAOC,IAAIC,SAASC,aAE1CL,EAAMM,OAAOrB,IAAIsB,MAAMvB,GAAMM,KAAKO;YAClChB,SAAS2B,GAAG3B,SAASa,OAAOe,cAAc;gBACxCpC,KACI,WAAWqC,KAAKC,UAAUC,cAC5BC,SAASC;gBAGbjC,SAAS2B,GAAG3B,SAASa,OAAOqB,eAAe;gBACzC1C,KACI,WAAWqC,KAAKC,UAAUC,cAC5BC,SAASC;gBAGbxC,EAAE4B,QAAQM,GAAG,UAAUnC,IACvBA,KACAiB,KAAKE,KAAKP,IAAIQ,KAAKC,OAAOsB;;;GFwF1B,SAAUlE,GAAQD;IGxHxBC,EAAAD,UAAA","file":"v1-0/production.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar tmpl = __webpack_require__(1);\nadv.AdBase.extend('AdBBSListFinalTopBanner', {\n init: function init(options) {\n this.base(options);\n this.emit(adv.ENUM.EVENTS.inited);\n },\n setup: function setup(data) {\n this.data = data;\n this.emit(adv.ENUM.EVENTS.setuped);\n },\n play: function play() {\n var $ = $ || J;\n var advEl = $(this.options.selector);\n if (!!window.ued.gameInfo.gameCode && this.data.gameCode == window.ued.gameInfo.gameCode) {\n advEl.append(adv.razor(tmpl, this.data));\n Passport.on(Passport.EVENTS.loginSuccess, function () {\n bbsListFinalTopBannerSet();\n if (/msie 9/gi.test(navigator.userAgent)) {\n location.reload();\n }\n });\n Passport.on(Passport.EVENTS.logoutSuccess, function () {\n bbsListFinalTopBannerSet();\n if (/msie 9/gi.test(navigator.userAgent)) {\n location.reload();\n }\n });\n $(window).on('resize', bbsListFinalTopBannerSet);\n bbsListFinalTopBannerSet();\n this.emit(adv.ENUM.EVENTS.played);\n }\n }\n});\nfunction bbsListFinalTopBannerSet() {\n var $ = $ || J;\n var seachWidth = $('.scqb-co01').outerWidth(true),\n wrapWidth = $('.sc-quick-bar-c').width() - $('.sc-quick-bar-l').width() - $('.sc-quick-bar-r').width() - 20 + 70,\n loginWidth = 0;\n if (Passport.isLoggedIn()) {\n loginWidth = $('#psptR').outerWidth(true);\n } else {\n loginWidth = $('.scqb-co02 .pp-login').outerWidth(true);\n }\n $('.widthauto .tg-top-banner').width(wrapWidth - seachWidth - loginWidth).show();\n}\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<style type=\\\"text/css\\\">\\nbody{min-width: 1200px;}\\n.tg-top-banner{ display: none;}\\n.widthauto .sc-quick-bar-c .scqb-co02{ display: inline-block}\\n.widthauto .tg-top-banner{ overflow: hidden; position: absolute; top:8px; right: 395px; width: 550px; height: 90px; text-align: center;}\\n.tg-top-banner:after{content: ' '; display: inline-block; overflow:hidden; width: 0; height: 100%; vertical-align: middle;}\\n.tg-top-banner a{ display: inline-block; position: relative; max-width: 550px; vertical-align: middle}\\n.tg-top-banner [class^='tg-con']{ position: absolute; top: 0; left: 0; padding:0 15px 0 10px; font:normal 14px/32px \\\"MicroSoft Yahei\\\"; color:#fff; background: #000; background:rgba(0,0,0,.6); white-space: nowrap;}\\n.tg-top-banner [class^='tg-con']:before{ content: ' '; display: inline-block; height: 18px; margin:0 10px 3px 0; background: url(//ue.17173cdn.com/a/lib/vda/sources/adbbslistfinaltopbanner/v1-0/ico.png) no-repeat; vertical-align: middle}\\n.tg-top-banner img{ max-width: 100%; max-height: 100%;}\\n.tg-top-banner .tg-con-lb:before{ width: 17px; background-position: 0 0;}\\n.tg-top-banner .tg-con-zj:before{ width: 20px; background-position: -22px 0;}\\n.tg-top-banner .tg-con-new:before{ width: 34px; background-position: -47px 0;}\\n.tg-top-banner .tg-con-hot:before{ width: 34px; background-position: -86px 0;}\\n.tg-top-banner [class^='tg-con']:after{ content: ' '; overflow: hidden; position: absolute; top: 0; right: -20px; border-left: 10px solid rgba(0,0,0,.6); border-right: 10px dashed transparent; border-top: 16px solid rgba(0,0,0,.6); border-bottom: 16px dashed transparent;}\\n.tg-top-banner a:hover{ text-decoration: none;}\\n</style>\\n<div class=\\\"tg-top-banner\\\">\\n <a href=\\\"@link\\\" target=\\\"_blank\\\">\\n <img src=\\\"@img\\\" alt=\\\"@text\\\" width=\\\"100%\\\">\\n <p class=\\\"tg-con-@type\\\">@text</p>\\n </a>\\n</div>\\n\"\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// v1-0/production.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 16a4bd2eaf47ea9eda35","let tmpl = require('./template.html')\nadv.AdBase.extend('AdBBSListFinalTopBanner', {\n init(options) {\n this.base(options)\n this.emit(adv.ENUM.EVENTS.inited)\n },\n setup(data) {\n this.data = data\n this.emit(adv.ENUM.EVENTS.setuped)\n },\n play() {\n let $ = $ || J\n let advEl = $(this.options.selector)\n if (\n !!window.ued.gameInfo.gameCode &&\n this.data.gameCode == window.ued.gameInfo.gameCode\n ) {\n advEl.append(adv.razor(tmpl, this.data))\n Passport.on(Passport.EVENTS.loginSuccess, function() {\n bbsListFinalTopBannerSet()\n if (/msie 9/gi.test(navigator.userAgent)) {\n location.reload()\n }\n })\n Passport.on(Passport.EVENTS.logoutSuccess, function() {\n bbsListFinalTopBannerSet()\n if (/msie 9/gi.test(navigator.userAgent)) {\n location.reload()\n }\n })\n $(window).on('resize', bbsListFinalTopBannerSet)\n bbsListFinalTopBannerSet()\n this.emit(adv.ENUM.EVENTS.played)\n }\n }\n})\nfunction bbsListFinalTopBannerSet() {\n var $ = $ || J\n var seachWidth = $('.scqb-co01').outerWidth(true),\n wrapWidth =\n $('.sc-quick-bar-c').width() -\n $('.sc-quick-bar-l').width() -\n $('.sc-quick-bar-r').width() -\n 20 +\n 70,\n loginWidth = 0\n if (Passport.isLoggedIn()) {\n loginWidth = $('#psptR').outerWidth(true)\n } else {\n loginWidth = $('.scqb-co02 .pp-login').outerWidth(true)\n }\n $('.widthauto .tg-top-banner')\n .width(wrapWidth - seachWidth - loginWidth)\n .show()\n}\n\n\n\n// WEBPACK FOOTER //\n// ./v1-0/production.js","module.exports = \"<style type=\\\"text/css\\\">\\nbody{min-width: 1200px;}\\n.tg-top-banner{ display: none;}\\n.widthauto .sc-quick-bar-c .scqb-co02{ display: inline-block}\\n.widthauto .tg-top-banner{ overflow: hidden; position: absolute; top:8px; right: 395px; width: 550px; height: 90px; text-align: center;}\\n.tg-top-banner:after{content: ' '; display: inline-block; overflow:hidden; width: 0; height: 100%; vertical-align: middle;}\\n.tg-top-banner a{ display: inline-block; position: relative; max-width: 550px; vertical-align: middle}\\n.tg-top-banner [class^='tg-con']{ position: absolute; top: 0; left: 0; padding:0 15px 0 10px; font:normal 14px/32px \\\"MicroSoft Yahei\\\"; color:#fff; background: #000; background:rgba(0,0,0,.6); white-space: nowrap;}\\n.tg-top-banner [class^='tg-con']:before{ content: ' '; display: inline-block; height: 18px; margin:0 10px 3px 0; background: url(//ue.17173cdn.com/a/lib/vda/sources/adbbslistfinaltopbanner/v1-0/ico.png) no-repeat; vertical-align: middle}\\n.tg-top-banner img{ max-width: 100%; max-height: 100%;}\\n.tg-top-banner .tg-con-lb:before{ width: 17px; background-position: 0 0;}\\n.tg-top-banner .tg-con-zj:before{ width: 20px; background-position: -22px 0;}\\n.tg-top-banner .tg-con-new:before{ width: 34px; background-position: -47px 0;}\\n.tg-top-banner .tg-con-hot:before{ width: 34px; background-position: -86px 0;}\\n.tg-top-banner [class^='tg-con']:after{ content: ' '; overflow: hidden; position: absolute; top: 0; right: -20px; border-left: 10px solid rgba(0,0,0,.6); border-right: 10px dashed transparent; border-top: 16px solid rgba(0,0,0,.6); border-bottom: 16px dashed transparent;}\\n.tg-top-banner a:hover{ text-decoration: none;}\\n</style>\\n<div class=\\\"tg-top-banner\\\">\\n <a href=\\\"@link\\\" target=\\\"_blank\\\">\\n <img src=\\\"@img\\\" alt=\\\"@text\\\" width=\\\"100%\\\">\\n <p class=\\\"tg-con-@type\\\">@text</p>\\n </a>\\n</div>\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./v1-0/template.html\n// module id = 1\n// module chunks = 0 1"],"sourceRoot":""}