{"version":3,"sources":["webpack:///v2-1/production.js","webpack:///webpack/bootstrap 01c2fc112be7167e9403","webpack:///./v2-1/production.js","webpack:///./v2-1/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","tmpl","adv","AdBase","extend","init","a","this","base","hotIpaCode","emit","ENUM","EVENTS","inited","setup","data","opts","options","ads","el","$","advid","$ptlist","find","each","idx","item","game","replaceWith","razor","util","sendIpa","ipaCode","setuped","play","self","hotFlag","length","closest","show","played","stop","stoped"],"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;IEpEA,IAAI2B,IAAO3B,EAAQ;IAOnB4B,IAAIC,OAAOC,OAAO;QAChBC,QAAM,SAASC;YACbC,KAAKC,KAAKF,IACVC,KAAKE,aAAa,UAClBF,KAAKG,KAAKR,IAAIS,KAAKC,OAAOC;;QAE5BC,SAAO,SAASC;YACdR,KAAKC,QACLD,KAAKQ,OAAOA;YACZ,IAAIC,IAAOT,KAAKU,SACZC,IAAMH,EAAKG;YACfX,KAAKY,KAAKC,EAAE,MAAMJ,EAAKK;YACvB,IAAIC,IAAUf,KAAKY,GAAGI,KAAK;YAE3BH,EAAEI,KAAKN,GAAK,SAASO,GAAKC;gBACrBA,KAAQA,EAAKC,SACdL,EAAQC,KAAK,cAAcE,IAAM,KAAKG,YAAY1B,IAAI2B,MAAM5B,GAAKyB,KAEjExB,IAAI4B,KAAKC,QAAQT,EAAQC,KAAK,cAAcE,IAAM,MAAMC,EAAKM,UAAS;gBAK1EzB,KAAKG,KAAKR,IAAIS,KAAKC,OAAOqB;;QAE5BC,QAAM;YACJ,IAAIC,IAAO5B;YACXA,KAAKC;YAEL,IAAI4B,KAAU;YACdD,EAAKhB,GAAGI,KAAK,gBAAgBC,KAAK,SAAS7C,GAAEc;gBAC3CS,IAAI4B,KAAKC,QAAQX,EAAEb,OAAO4B,EAAK1B,YAAY2B,IAC3CA,KAAU;gBAET7B,KAAKU,WAAWV,KAAKU,QAAQC,OAAOX,KAAKU,QAAQC,IAAImB,WACtDF,EAAKhB,GAAGmB,QAAQ,UAAUC;YAC1BhC,KAAKG,KAAKR,IAAIS,KAAKC,OAAO4B;;QAI9BC,QAAM;YACJlC,KAAKC,QACLD,KAAKG,KAAKR,IAAIS,KAAKC,OAAO8B;;;GFsExB,SAAUhE,GAAQD;IGxHxBC,EAAAD,UAAA","file":"v2-1/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);\n\nadv.AdBase.extend(\"AdYeyouCommendList\", {\n init: function init(a) {\n this.base(a);\n this.hotIpaCode = 'Y3Armm';\n this.emit(adv.ENUM.EVENTS.inited);\n },\n setup: function setup(data) {\n this.base();\n this.data = data;\n var opts = this.options;\n var ads = data.ads;\n this.el = $('.' + opts.advid);\n var $ptlist = this.el.find('.tg-ptlist');\n\n $.each(ads, function (idx, item) {\n if (item && item.game) {\n $ptlist.find('.item:eq(' + idx + ')').replaceWith(adv.razor(tmpl, item));\n\n adv.util.sendIpa($ptlist.find('.item:eq(' + idx + ')'), item.ipaCode, true);\n }\n });\n\n this.emit(adv.ENUM.EVENTS.setuped);\n },\n play: function play() {\n var self = this;\n this.base();\n\n var hotFlag = true;\n self.el.find('.item-active').each(function (i, n) {\n adv.util.sendIpa($(this), self.hotIpaCode, hotFlag);\n hotFlag = false;\n });\n if (this.options && this.options.ads && this.options.ads.length) {\n self.el.closest('.pn-tg').show();\n this.emit(adv.ENUM.EVENTS.played);\n }\n },\n stop: function stop() {\n this.base();\n this.emit(adv.ENUM.EVENTS.stoped);\n }\n});\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\nmodule.exports = \"
  • \\n \\n
    \\n \\\"\\\"\\n
    \\n
    \\n

    @game

    \\n
    @dec
    \\n 开始游戏\\n
    \\n
    \\n
  • \"\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// v2-1/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 01c2fc112be7167e9403","\nlet tmpl = require('./template.html');\n/*\n 1)cms提供5个内容位\n 2)有广告时,广告替换对应内容位\n 3)没广告时,隐藏整个广告位\n* */\n// 根据广告配置 替换对应位置上的 内容,ads对象game为空时不做替换\nadv.AdBase.extend(\"AdYeyouCommendList\", {\n init: function(a) {\n this.base(a);\n this.hotIpaCode = 'Y3Armm'; // (套红)BI统计代码\n this.emit(adv.ENUM.EVENTS.inited);\n },\n setup: function(data) {\n this.base();\n this.data = data;\n var opts = this.options;\n var ads = data.ads\n this.el = $('.' + opts.advid);\n var $ptlist = this.el.find('.tg-ptlist')\n\n $.each(ads, function(idx, item) {\n if(item && item.game){\n $ptlist.find('.item:eq(' + idx + ')').replaceWith(adv.razor(tmpl,item));\n // 每个推荐位单独统计代码,统计码在子模版中配置\n adv.util.sendIpa($ptlist.find('.item:eq(' + idx + ')'), item.ipaCode, true);\n\n }\n });\n\n this.emit(adv.ENUM.EVENTS.setuped)\n },\n play: function() {\n var self = this;\n this.base();\n //添加标红BI统计\n var hotFlag = true;\n self.el.find('.item-active').each(function(i,n){\n adv.util.sendIpa($(this), self.hotIpaCode, hotFlag);\n hotFlag = false;\n });\n if(this.options && this.options.ads && this.options.ads.length) {\n self.el.closest('.pn-tg').show();\n this.emit(adv.ENUM.EVENTS.played);\n }\n\n },\n stop: function() {\n this.base();\n this.emit(adv.ENUM.EVENTS.stoped);\n }\n});\n\n\n// WEBPACK FOOTER //\n// ./v2-1/production.js","module.exports = \"
  • \\n \\n
    \\n \\\"\\\"\\n
    \\n
    \\n

    @game

    \\n
    @dec
    \\n 开始游戏\\n
    \\n
    \\n
  • \"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./v2-1/template.html\n// module id = 1\n// module chunks = 0 1"],"sourceRoot":""}