{"version":3,"sources":["webpack:///webpack/bootstrap 97ab7a0843033a7d2d00","webpack:///./focus-package.js","webpack:///./js/ue_base.js","webpack:///./js/ue_ui.js","webpack:///./js/ue_focus.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","window","_benSetupCore","_ben","extend","$","apply","this","arguments","setCookie","value","expires","domain","cookieString","escape","date","Date","setTime","getTime","toGMTString","document","cookie","getCookie","arr","reg","RegExp","match","unescape","isIPad","navigator","userAgent","indexOf","initializing","fnTest","test","xyz","Class","ns","prop","length","base","fn","tmp","ret","_Class","constructor","callee","firstLetter","split","toUpperCase","Error","init","ue","toString","findUI","uiAttr","attrValue","selector","find","findMark","markName","uiData","attr","processAll","rootElement","each","control","controlInstance","push","initMark","me","mark","box","add","el","options","el_options","isPlainObject","opt","jQuery","UI","Focus","defaultOptions","currentIndex","isAnimating","items","list","append","clone","addClass","total","initNavs","navs","nav","bindAction","autoToggle","html","data","noUndefined","txt","li","link","type","title","subTitle","image","last","after","ipaCode","_jc_ping","next","click","isAuto","thumbDirect","nextPage","prev","prevPage","clearTimer","timer","setTimeout","clearTimeout","index","direct","goToPage","ml","css","stop","animate","margin-left","removeClass","eq"],"mappings":"aACA,IAAAA,KAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,IACAG,EAAAH,EACAI,GAAA,EACAH,YAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,GACAK,cAAA,EACAC,YAAA,EACAC,IA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AAA,IAAAA,EAAAlH,KAAAmF,MAAA,GACAnF,KAAAmH,OAAA,OAFAnH,KAGA8G,aAHA9G,KAIAoH,SAAAF,IAEAE,SAAA,SAAAF,GACA,IAEAG,EAFAtD,EAAA/D,KACAA,KAAA6E,cAEA,SAAA7E,KAAAmH,QAAA,GAAAnH,KAAA4E,aACA5E,KAAAgE,KAAAe,KAAAuC,IAAA,mBAAAvD,EAAA,OAEA,UAAA/D,KAAAmH,QAAAnH,KAAA4E,cAAA5E,KAAAmF,MAAA,GACAnF,KAAAgE,KAAAe,KAAAuC,IAAA,oBAAAvD,EAAAoB,MAAA,IAEAkC,EAAA,UAAArH,KAAAmH,OAAA,gBACAnH,KAAA4E,aAAAsC,EACAlH,KAAA6E,aAAA,EACA7E,KAAAgE,KAAAe,KAAAwC,OAAAC,SAA2CC,cAAAJ,GAAkB,eAC7DtD,EAAAsB,KAAAqC,YAAA,UAAAC,GAAAT,GAAAhC,SAAA,UACAnB,EAAAc,aAAA,EACAd,EAAAyB","file":"index.js","sourcesContent":[" \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 97ab7a0843033a7d2d00","require('./js/ue_base.js')\r\nrequire('./js/ue_ui.js')\r\nrequire('./js/ue_focus.js')\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./focus-package.js\n// module id = 0\n// module chunks = 0","\n(function () {\n  if (window._benSetupCore) return;\n  window._benSetupCore = true;\n  var _ben = {\n    extend: function () {\n      $.extend.apply(this, arguments);\n    },\n    setCookie: function (name, value, expires, domain) {\n      var cookieString = name + \"=\" + escape(value);\n      //判断是否设置过期时间 \n      if (expires) {\n        var date = new Date();\n        date.setTime(date.getTime() + expires);\n        cookieString += \"; expires=\" + date.toGMTString();\n      }\n      if (domain) {\n        cookieString += \"; domain=\" + domain;\n      }\n      document.cookie = cookieString;\n    },\n    /**\n    \t* 取得指定名称的cookie值\n    \t* \n    \t* @method getCookie\n    \t* @param {String} name cookie名\n    \t* @return {String,null}  cookie值,如果name不存在,则返回null\n      * @static\n    \t*/\n    getCookie: function (name) {\n      var arr, reg = new RegExp(\"(^| )\" + name + \"=([^;]*)(;|$)\");\n      arr = document.cookie.match(reg);\n      if (arr) {\n        return unescape(arr[2]);\n      }\n      return null;\n    },\n    isIPad:navigator.userAgent.indexOf('iPad') > -1\n  };\n\n  var initializing = false, fnTest = /xyz/.test(function () { xyz; }) ? /\\bbase\\b/ : /.*/;\n  // The base Class implementation (does nothing)\n  var Class = function () { };\n\n  // Create a new Class that inherits from this class\n  Class.extend = function (ns, prop) {\n    if (arguments.length == 2) {\n      var firstLetter = ns.split('')[0];\n      if (firstLetter.toUpperCase() != firstLetter) {\n        throw new Error(\"Class must begin with Uppercase letters:\" + ns);\n      }\n      _ben[ns] = this.extend(prop);\n      return;\n    }\n    var base = this.prototype, prop = arguments[0];\n    initializing = true;\n    var prototype = new this();\n    initializing = false;\n    for (var name in prop) {\n      // Check if we're overwriting an existing function\n      prototype[name] = typeof prop[name] == \"function\" &&\n        typeof base[name] == \"function\" && fnTest.test(prop[name]) ?\n        (function (name, fn) {\n          return function () {\n            var tmp = this.base;\n\n            // Add a new .base() method that is the same method\n            // but on the super-class\n            this.base = base[name];\n\n            // The method only need to be bound temporarily, so we\n            // remove it when we're done executing\n            var ret = fn.apply(this, arguments);\n            this.base = tmp;\n\n            return ret;\n          };\n        })(name, prop[name]) :\n        prop[name];\n    }\n\n    function _Class() {\n      // All construction is actually done in the init method\n      if (!initializing && this.init)\n        this.init.apply(this, arguments);\n    }\n\n    _Class.prototype = prototype;\n\n    _Class.prototype.constructor = _Class;\n\n    _Class.extend = arguments.callee;\n\n    return _Class;\n  };\n  _ben.Class = Class;\n  window.ue = _ben;\n})();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./js/ue_base.js\n// module id = 1\n// module chunks = 0","/**\n*ui\n**/\n(function ($, _ben) {\n  var toString = Object.prototype.toString;\n  $.fn.findUI = function (uiAttr, attrValue) {\n    var selector = '[data-ui-' + uiAttr;\n    if (attrValue) {\n      selector += '=\"' + attrValue + '\"';\n    }\n    selector += ']';\n    return this.find(selector);\n  };\n  $.findUI = function (uiAttr, attrValue) {\n    var selector = '[data-ui-' + uiAttr;\n    if (attrValue) {\n      selector += '=\"' + attrValue + '\"';\n    }\n    selector += ']';\n    return $(selector);\n  };\n  $.fn.findMark = function (markName) {\n    var selector = '[data-ui-mark=\"' + markName + '\"]';\n    return this.find(selector);\n  };\n  $.fn.uiData = function (attr) {\n    return this.attr('data-ui-' + attr);\n  };\n  var _staticTypeString = {\n    obj: '[object Object]'\n  };\n\n  _ben.extend({\n    processAll: function (rootElement) {\n      var els = $(rootElement)\n        .find('[data-ui-control]')\n        .each(function () {\n          var me = $(this), control = me.attr('data-ui-control');\n          if (control && _ben[control]) {\n            _ben.controlInstance[control] = _ben.controlInstance[control] || [];\n            _ben.controlInstance[control].push(new _ben[control](this));\n          }\n        });\n    },\n    controlInstance: {}\n  });\n  _ben.Class.extend('UI', {\n    initMark: function () {\n      var me = this;\n      this.mark = {};\n      if (this.box) {\n        this.box.findUI('mark')\n          .each(function () {\n          \tvar name = $(this).uiData('mark');\n            me.mark[name] = me.mark[name]? me.mark[name].add(this) : $(this);\n          });\n      }\n    },\n    init: function () {\n      var el, options = el_options = {};\n      if (!arguments[1]) {\n        var argType = $.isPlainObject(arguments[0]);\n        if (argType) {\n          options = arguments[0];\n        }\n        else {\n          el = arguments[0];\n        }\n      }\n      else {\n        el = arguments[0];\n        options = arguments[1];\n      }\n      if (el) {\n        this.box = $(el);\n        //el_options = this.box.attr('data-ui-option');\n        //el_options = $.parseJSON(el_options);\n      }\n      this.opt = $.extend({}, options, el_options);\n    }\n  });\n\n  //提供html5 data-xxx式的描述式调用接口,此类ui控件参数顺序为,html元素上的描述 > 手动调用的配置 > 默认配置\n  //$(function () {\n    //_ben.processAll($(document));\n  //});\n})(jQuery, ue);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./js/ue_ui.js\n// module id = 2\n// module chunks = 0","//http://bbs.17173.com/misc/php?mod=cms&op=thread&source=home&tid=10840551\r\n(function ($) {\r\n    //focus_nav_func();  \r\n    ue.UI.extend('Focus', {\r\n        //初始化一些参数\r\n        init: function (el, options) {\r\n            this.base(el, options);\r\n            this.opt = $.extend({}, ue.Focus.defaultOptions, this.opt);\r\n            this.currentIndex = 0;\r\n            this.isAnimating = false;\r\n            this.initMark();\r\n            this.items = this.mark.list.find('li')\r\n            this.mark.list.append(this.items.clone().addClass('focus-copy'))\r\n            this.total = this.items.length\r\n            this.initNavs();\r\n            this.navs = this.mark.nav.find('.item')\r\n            this.bindAction()\r\n            this.autoToggle()\r\n        },\r\n        initNavs:function(){\r\n            var html = ''\r\n            for(var i = 0;i< this.total;i++){\r\n                html+='<div class=\"item '+(i === 0?'active':'')+'\"><div class=\"in\"></div></div>'\r\n            }\r\n            this.mark.nav.append(html)\r\n        },\r\n        add:function(data){\r\n            /* data = {\r\n                link:'http:/www.171731.com',\r\n                type:'独家',\r\n                title:'标题',\r\n                subTitle:'zibiaoti',\r\n                image:'http://i3.17173.itc.cn/2016/v/05/25/tuijian1.jpg'\r\n            } */\r\n            this.total++;\r\n            var noUndefined = function(txt){\r\n                return txt?txt:''\r\n            }\r\n            var li = $('<li><a href=\"'+data.link+'\" target=\"_blank\" class=\"con\"><span class=\"type\">'+noUndefined(data.type)+'</span><strong class=\"tit\">'+noUndefined(data.title)+'</strong><strong class=\"tit-sub\">'+noUndefined(data.subTitle)+'</strong><img src=\"'+data.image+'\" alt=\"\" width=\"365\" height=\"475\"><b class=\"line\"></b></a></li>');\r\n            this.items.last().after(li)\r\n            this.mark.list.find('.focus-copy:last').after(li.clone().addClass('focus-copy'))\r\n            this.mark.nav.append('<div class=\"item \"><div class=\"in\"></div></div>')\r\n            this.navs = this.mark.nav.find('.item')\r\n            if(data.ipaCode){\r\n                window._jc_ping = window._jc_ping || [],\r\n                _jc_ping.push([\"_trackBlock\", li,data.ipaCode,false])\r\n            }\r\n        },\r\n        bindAction: function () {\r\n            var me = this;\r\n            if (me.mark.next) {\r\n                me.mark.next.click(function () {\r\n                    me.isAuto = false;\r\n                    me.thumbDirect = 'right';\r\n                    me.nextPage();\r\n                });\r\n            }\r\n            if (me.mark.prev) {\r\n                me.mark.prev.click(function () {\r\n                    me.isAuto = false;\r\n                    me.thumbDirect = 'left';\r\n                    me.prevPage();\r\n                });\r\n            }\r\n        },\r\n        autoToggle: function () {\r\n            var me = this;\r\n            me.clearTimer();\r\n            me.timer = setTimeout(function () {\r\n                me.nextPage();\r\n            }, 3500);\r\n        },\r\n        clearTimer: function () {\r\n            clearTimeout(this.timer);\r\n        },\r\n        //跳转到下一页\r\n        nextPage: function () {\r\n            var me = this, index = me.currentIndex * 1 + 1;\r\n            this.direct='right'\r\n            me.clearTimer();\r\n            if (index >= this.total) index = 0;\r\n            me.goToPage(index);\r\n        },\r\n        //跳转到上一页\r\n        prevPage: function () {\r\n            var me = this, index = me.currentIndex - 1;\r\n            if (index < 0) index = this.total - 1;\r\n            this.direct='left'\r\n            me.clearTimer();\r\n            me.goToPage(index);\r\n        },\r\n        goToPage: function (index) {\r\n            var me = this;\r\n            if(this.isAnimating)return;\r\n            var ml;\r\n            if(this.direct === 'left' && this.currentIndex == 0){\r\n                this.mark.list.css('margin-left',-(me.total)*365)\r\n            }\r\n            else if(this.direct === 'right' && this.currentIndex == this.total-1){\r\n                this.mark.list.css('margin-left',-(me.total-1)*365)\r\n            }\r\n            ml = this.direct === 'right'? '-=365':'+=365';\r\n            this.currentIndex = index;\r\n            this.isAnimating = true;\r\n            this.mark.list.stop().animate({'margin-left': ml},300,function(){\r\n                me.navs.removeClass('active').eq(index).addClass('active')\r\n                me.isAnimating = false;\r\n                me.autoToggle()\r\n            })\r\n        }\r\n    })\r\n})(jQuery)\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./js/ue_focus.js\n// module id = 3\n// module chunks = 0"],"sourceRoot":""}