(function (_0x17155, _0x1711F) {
    if (typeof define === 'function' && define['amd']) {
        define([], _0x1711F)
    } else {
        if (typeof exports === 'object') {
            module['exports'] = _0x1711F()
        } else {
            _0x17155['Flipsnap'] = _0x1711F()
        }
    }
})(this, function () {
    var _0x171F7 = document['createElement']('div');
    var _0x17413 = ['webkit', 'moz', 'o', 'ms'];
    var _0x17449 = {};
    var _0x174EB = _0x17299['support'] = {};
    var _0x172CF = false;
    var _0x171C1 = 5;
    var _0x1718B = 55;
    _0x174EB['transform3d'] = _0x173DD(['perspectiveProperty', 'WebkitPerspective', 'MozPerspective', 'OPerspective', 'msPerspective']);
    _0x174EB['transform'] = _0x173DD(['transformProperty', 'WebkitTransform', 'MozTransform', 'OTransform', 'msTransform']);
    _0x174EB['transition'] = _0x173DD(['transitionProperty', 'WebkitTransitionProperty', 'MozTransitionProperty', 'OTransitionProperty', 'msTransitionProperty']);
    _0x174EB['addEventListener'] = 'addEventListener' in window;
    _0x174EB['mspointer'] = window['navigator']['msPointerEnabled'];
    _0x174EB['cssAnimation'] = (_0x174EB['transform3d'] || _0x174EB['transform']) && _0x174EB['transition'];
    var _0x17263 = ['touch', 'mouse'];
    var _0x1722D = {
        start: {
            touch: 'touchstart',
            mouse: 'mousedown'
        },
        move: {
            touch: 'touchmove',
            mouse: 'mousemove'
        },
        end: {
            touch: 'touchend',
            mouse: 'mouseup'
        }
    };
    if (_0x174EB['addEventListener']) {
        document['addEventListener']('gesturestart', function () {
            _0x172CF = true
        });
        document['addEventListener']('gestureend', function () {
            _0x172CF = false
        })
    }
    ;

    function _0x17299(_0x17557, _0x1758D) {
        return this instanceof _0x17299 ? this['init'](_0x17557, _0x1758D) : new _0x17299(_0x17557, _0x1758D)
    }

    _0x17299['prototype']['init'] = function (_0x17557, _0x1758D) {
        var _0x175C3 = this;
        _0x175C3['element'] = _0x17557;
        if (typeof _0x17557 === 'string') {
            _0x175C3['element'] = document['querySelector'](_0x17557)
        }
        ;
        if (!_0x175C3['element']) {
            throw new Error('element not found')
        }
        ;
        if (_0x174EB['mspointer']) {
            _0x175C3['element']['style']['msTouchAction'] = 'pan-y'
        }
        ;_0x1758D = _0x1758D || {};
        _0x175C3['distance'] = _0x1758D['distance'];
        _0x175C3['maxPoint'] = _0x1758D['maxPoint'];
        _0x175C3['disableTouch'] = _0x1758D['disableTouch'] === undefined ? false : _0x1758D['disableTouch'];
        _0x175C3['disable3d'] = _0x1758D['disable3d'] === undefined ? false : _0x1758D['disable3d'];
        _0x175C3['transitionDuration'] = _0x1758D['transitionDuration'] === undefined ? '350ms' : _0x1758D['transitionDuration'] + 'ms';
        _0x175C3['threshold'] = _0x1758D['threshold'] || 0;
        _0x175C3['currentPoint'] = 0;
        _0x175C3['currentX'] = 0;
        _0x175C3['animation'] = false;
        _0x175C3['timerId'] = null;
        _0x175C3['use3d'] = _0x174EB['transform3d'];
        if (_0x175C3['disable3d'] === true) {
            _0x175C3['use3d'] = false
        }
        ;
        if (_0x174EB['cssAnimation']) {
            _0x175C3['_setStyle']({
                transitionProperty: _0x1733B('transform'),
                transitionTimingFunction: 'cubic-bezier(0,0,0.25,1)',
                transitionDuration: '0ms',
                transform: _0x175C3['_getTranslate'](0)
            })
        } else {
            _0x175C3['_setStyle']({
                position: 'relative',
                left: '0px'
            })
        }
        ;_0x175C3['refresh']();
        _0x17263['forEach'](function (_0x175F9) {
            _0x175C3['element']['addEventListener'](_0x1722D['start'][_0x175F9], _0x175C3, false)
        });
        return _0x175C3
    }
    ;
    _0x17299['prototype']['handleEvent'] = function (_0x1762F) {
        var _0x175C3 = this;
        switch (_0x1762F['type']) {
            case _0x1722D['start']['touch']:
                _0x175C3['_touchStart'](_0x1762F, 'touch');
                break;
            case _0x1722D['start']['mouse']:
                _0x175C3['_touchStart'](_0x1762F, 'mouse');
                break;
            case _0x1722D['move']['touch']:
                _0x175C3['_touchMove'](_0x1762F, 'touch');
                break;
            case _0x1722D['move']['mouse']:
                _0x175C3['_touchMove'](_0x1762F, 'mouse');
                break;
            case _0x1722D['end']['touch']:
                _0x175C3['_touchEnd'](_0x1762F, 'touch');
                break;
            case _0x1722D['end']['mouse']:
                _0x175C3['_touchEnd'](_0x1762F, 'mouse');
                break;
            case 'click':
                _0x175C3['_click'](_0x1762F);
                break
        }
    }
    ;
    _0x17299['prototype']['refresh'] = function () {
        var _0x175C3 = this;
        _0x175C3['_maxPoint'] = _0x175C3['maxPoint'] === undefined ? function () {
            var _0x17665 = _0x175C3['element']['childNodes'], _0x176D1 = -1, _0x1769B = 0, _0x17707 = _0x17665['length'], _0x1773D;
            for (; _0x1769B < _0x17707; _0x1769B++) {
                _0x1773D = _0x17665[_0x1769B];
                if (_0x1773D['nodeType'] === 1) {
                    _0x176D1++
                }
            }
            ;
            return _0x176D1
        }() : _0x175C3['maxPoint'];
        if (_0x175C3['distance'] === undefined) {
            if (_0x175C3['_maxPoint'] < 0) {
                _0x175C3['_distance'] = 0
            } else {
                _0x175C3['_distance'] = _0x175C3['element']['scrollWidth'] / (_0x175C3['_maxPoint'] + 1)
            }
        } else {
            _0x175C3['_distance'] = _0x175C3['distance']
        }
        ;_0x175C3['_maxX'] = -_0x175C3['_distance'] * _0x175C3['_maxPoint'];
        _0x175C3['moveToPoint']()
    }
    ;
    _0x17299['prototype']['hasNext'] = function () {
        var _0x175C3 = this;
        return _0x175C3['currentPoint'] < _0x175C3['_maxPoint']
    }
    ;
    _0x17299['prototype']['hasPrev'] = function () {
        var _0x175C3 = this;
        return _0x175C3['currentPoint'] > 0
    }
    ;
    _0x17299['prototype']['toNext'] = function (_0x17773) {
        var _0x175C3 = this;
        if (!_0x175C3['hasNext']()) {
            return
        }
        ;_0x175C3['moveToPoint'](_0x175C3['currentPoint'] + 1, _0x17773)
    }
    ;
    _0x17299['prototype']['toPrev'] = function (_0x17773) {
        var _0x175C3 = this;
        if (!_0x175C3['hasPrev']()) {
            return
        }
        ;_0x175C3['moveToPoint'](_0x175C3['currentPoint'] - 1, _0x17773)
    }
    ;
    _0x17299['prototype']['moveToPoint'] = function (_0x177DF, _0x17773) {
        var _0x175C3 = this;
        _0x17773 = _0x17773 === undefined ? _0x175C3['transitionDuration'] : _0x17773 + 'ms';
        var _0x177A9 = _0x175C3['currentPoint'];
        if (_0x177DF === undefined) {
            _0x177DF = _0x175C3['currentPoint']
        }
        ;
        if (_0x177DF < 0) {
            _0x175C3['currentPoint'] = 0
        } else {
            if (_0x177DF > _0x175C3['_maxPoint']) {
                _0x175C3['currentPoint'] = _0x175C3['_maxPoint']
            } else {
                _0x175C3['currentPoint'] = parseInt(_0x177DF, 10)
            }
        }
        ;
        if (_0x174EB['cssAnimation']) {
            _0x175C3['_setStyle']({
                transitionDuration: _0x17773
            })
        } else {
            _0x175C3['animation'] = true
        }
        ;_0x175C3['_setX'](-_0x175C3['currentPoint'] * _0x175C3['_distance'], _0x17773);
        if (_0x177A9 !== _0x175C3['currentPoint']) {
            _0x175C3['_triggerEvent']('fsmoveend', true, false);
            _0x175C3['_triggerEvent']('fspointmove', true, false)
        }
    }
    ;
    _0x17299['prototype']['_setX'] = function (_0x17815, _0x17773) {
        var _0x175C3 = this;
        _0x175C3['currentX'] = _0x17815;
        if (_0x174EB['cssAnimation']) {
            _0x175C3['element']['style'][_0x17449['transform']] = _0x175C3['_getTranslate'](_0x17815)
        } else {
            if (_0x175C3['animation']) {
                _0x175C3['_animate'](_0x17815, _0x17773 || _0x175C3['transitionDuration'])
            } else {
                _0x175C3['element']['style']['left'] = _0x17815 + 'px'
            }
        }
    }
    ;
    _0x17299['prototype']['_touchStart'] = function (_0x1762F, _0x175F9) {
        var _0x175C3 = this;
        if (_0x175C3['disableTouch'] || _0x175C3['scrolling'] || _0x172CF) {
            return
        }
        ;_0x175C3['element']['addEventListener'](_0x1722D['move'][_0x175F9], _0x175C3, false);
        document['addEventListener'](_0x1722D['end'][_0x175F9], _0x175C3, false);
        var _0x1784B = _0x1762F['target']['tagName'];
        if (_0x175F9 === 'mouse' && _0x1784B !== 'SELECT' && _0x1784B !== 'INPUT' && _0x1784B !== 'TEXTAREA' && _0x1784B !== 'BUTTON') {
            _0x1762F['preventDefault']()
        }
        ;
        if (_0x174EB['cssAnimation']) {
            _0x175C3['_setStyle']({
                transitionDuration: '0ms'
            })
        } else {
            _0x175C3['animation'] = false
        }
        ;_0x175C3['scrolling'] = true;
        _0x175C3['moveReady'] = false;
        _0x175C3['startPageX'] = _0x17371(_0x1762F, 'pageX');
        _0x175C3['startPageY'] = _0x17371(_0x1762F, 'pageY');
        _0x175C3['basePageX'] = _0x175C3['startPageX'];
        _0x175C3['directionX'] = 0;
        _0x175C3['startTime'] = _0x1762F['timeStamp'];
        _0x175C3['_triggerEvent']('fstouchstart', true, false)
    }
    ;
    _0x17299['prototype']['_touchMove'] = function (_0x1762F, _0x175F9) {
        var _0x175C3 = this;
        if (!_0x175C3['scrolling'] || _0x172CF) {
            return
        }
        ;var _0x17923 = _0x17371(_0x1762F, 'pageX');
        var _0x17959 = _0x17371(_0x1762F, 'pageY');
        var _0x17881;
        var _0x178ED;
        if (_0x175C3['moveReady']) {
            _0x1762F['preventDefault']();
            _0x17881 = _0x17923 - _0x175C3['basePageX'];
            _0x178ED = _0x175C3['currentX'] + _0x17881;
            if (_0x178ED >= 0 || _0x178ED < _0x175C3['_maxX']) {
                _0x178ED = Math['round'](_0x175C3['currentX'] + _0x17881 / 3)
            }
            ;_0x175C3['directionX'] = _0x17881 === 0 ? _0x175C3['directionX'] : _0x17881 > 0 ? -1 : 1;
            var _0x178B7 = !_0x175C3['_triggerEvent']('fstouchmove', true, true, {
                delta: _0x17881,
                direction: _0x175C3['directionX']
            });
            if (_0x178B7) {
                _0x175C3['_touchAfter']({
                    moved: false,
                    originalPoint: _0x175C3['currentPoint'],
                    newPoint: _0x175C3['currentPoint'],
                    cancelled: true
                })
            } else {
                _0x175C3['_setX'](_0x178ED)
            }
        } else {
            var _0x1798F = _0x173A7(_0x175C3['startPageX'], _0x175C3['startPageY'], _0x17923, _0x17959);
            if (_0x1798F['z'] > _0x171C1) {
                if (_0x17305(_0x1798F) > _0x1718B) {
                    _0x1762F['preventDefault']();
                    _0x175C3['moveReady'] = true;
                    _0x175C3['element']['addEventListener']('click', _0x175C3, true)
                } else {
                    _0x175C3['scrolling'] = false
                }
            }
        }
        ;_0x175C3['basePageX'] = _0x17923
    }
    ;
    _0x17299['prototype']['_touchEnd'] = function (_0x1762F, _0x175F9) {
        var _0x175C3 = this;
        _0x175C3['element']['removeEventListener'](_0x1722D['move'][_0x175F9], _0x175C3, false);
        document['removeEventListener'](_0x1722D['end'][_0x175F9], _0x175C3, false);
        if (!_0x175C3['scrolling']) {
            return
        }
        ;var _0x179C5 = -_0x175C3['currentX'] / _0x175C3['_distance'];
        _0x179C5 = _0x175C3['directionX'] > 0 ? Math['ceil'](_0x179C5) : _0x175C3['directionX'] < 0 ? Math['floor'](_0x179C5) : Math['round'](_0x179C5);
        if (_0x179C5 < 0) {
            _0x179C5 = 0
        } else {
            if (_0x179C5 > _0x175C3['_maxPoint']) {
                _0x179C5 = _0x175C3['_maxPoint']
            }
        }
        ;
        if (Math['abs'](_0x175C3['startPageX'] - _0x175C3['basePageX']) < _0x175C3['threshold']) {
            _0x179C5 = _0x175C3['currentPoint']
        }
        ;_0x175C3['_touchAfter']({
            moved: _0x179C5 !== _0x175C3['currentPoint'],
            originalPoint: _0x175C3['currentPoint'],
            newPoint: _0x179C5,
            cancelled: false
        });
        _0x175C3['moveToPoint'](_0x179C5)
    }
    ;
    _0x17299['prototype']['_click'] = function (_0x1762F) {
        var _0x175C3 = this;
        _0x1762F['stopPropagation']();
        _0x1762F['preventDefault']()
    }
    ;
    _0x17299['prototype']['_touchAfter'] = function (_0x179FB) {
        var _0x175C3 = this;
        _0x175C3['scrolling'] = false;
        _0x175C3['moveReady'] = false;
        setTimeout(function () {
            _0x175C3['element']['removeEventListener']('click', _0x175C3, true)
        }, 200);
        _0x175C3['_triggerEvent']('fstouchend', true, false, _0x179FB)
    }
    ;
    _0x17299['prototype']['_setStyle'] = function (_0x17A9D) {
        var _0x175C3 = this;
        var _0x17A67 = _0x175C3['element']['style'];
        for (var _0x17A31 in _0x17A9D) {
            _0x1747F(_0x17A67, _0x17A31, _0x17A9D[_0x17A31])
        }
    }
    ;
    _0x17299['prototype']['_animate'] = function (_0x17815, _0x17773) {
        var _0x175C3 = this;
        var _0x17B75 = _0x175C3['element'];
        var _0x17AD3 = +new Date;
        var _0x17BAB = parseInt(_0x17B75['style']['left'], 10);
        var _0x17BE1 = _0x17815;
        var _0x17B09 = parseInt(_0x17773, 10);
        var _0x17B3F = function (_0x17C17, _0x17B09) {
            return -(_0x17C17 /= _0x17B09) * (_0x17C17 - 2)
        };
        if (_0x175C3['timerId']) {
            clearInterval(_0x175C3['timerId'])
        }
        ;_0x175C3['timerId'] = setInterval(function () {
            var _0x17C17 = new Date - _0x17AD3;
            var _0x17C83, _0x17C4D;
            if (_0x17C17 > _0x17B09) {
                clearInterval(_0x175C3['timerId']);
                _0x175C3['timerId'] = null;
                _0x17C4D = _0x17BE1
            } else {
                _0x17C83 = _0x17B3F(_0x17C17, _0x17B09);
                _0x17C4D = _0x17C83 * (_0x17BE1 - _0x17BAB) + _0x17BAB
            }
            ;_0x17B75['style']['left'] = _0x17C4D + 'px'
        }, 10)
    }
    ;
    _0x17299['prototype']['destroy'] = function () {
        var _0x175C3 = this;
        _0x17263['forEach'](function (_0x175F9) {
            _0x175C3['element']['removeEventListener'](_0x1722D['start'][_0x175F9], _0x175C3, false)
        })
    }
    ;
    _0x17299['prototype']['_getTranslate'] = function (_0x17815) {
        var _0x175C3 = this;
        return _0x175C3['use3d'] ? 'translate3d(' + _0x17815 + 'px, 0, 0)' : 'translate(' + _0x17815 + 'px, 0)'
    }
    ;
    _0x17299['prototype']['_triggerEvent'] = function (_0x175F9, _0x17CB9, _0x17CEF, _0x17D5B) {
        var _0x175C3 = this;
        var _0x17D91 = document['createEvent']('Event');
        _0x17D91['initEvent'](_0x175F9, _0x17CB9, _0x17CEF);
        if (_0x17D5B) {
            for (var _0x17D25 in _0x17D5B) {
                if (_0x17D5B['hasOwnProperty'](_0x17D25)) {
                    _0x17D91[_0x17D25] = _0x17D5B[_0x17D25]
                }
            }
        }
        ;
        return _0x175C3['element']['dispatchEvent'](_0x17D91)
    }
    ;

    function _0x17371(_0x1762F, _0x17ED5) {
        return _0x1762F['changedTouches'] ? _0x1762F['changedTouches'][0][_0x17ED5] : _0x1762F[_0x17ED5]
    }

    function _0x173DD(_0x1804F) {
        return _0x174B5(_0x1804F, function (_0x17A31) {
            return _0x171F7['style'][_0x17A31] !== undefined
        })
    }

    function _0x1747F(_0x17A67, _0x17A31, _0x180BB) {
        var _0x18085 = _0x17449[_0x17A31];
        if (_0x18085) {
            _0x17A67[_0x18085] = _0x180BB
        } else {
            if (_0x17A67[_0x17A31] !== undefined) {
                _0x17449[_0x17A31] = _0x17A31;
                _0x17A67[_0x17A31] = _0x180BB
            } else {
                _0x174B5(_0x17413, function (_0x17E69) {
                    var _0x17E9F = _0x17521(_0x17E69) + _0x17521(_0x17A31);
                    if (_0x17A67[_0x17E9F] !== undefined) {
                        _0x17449[_0x17A31] = _0x17E9F;
                        _0x17A67[_0x17E9F] = _0x180BB;
                        return true
                    }
                })
            }
        }
    }

    function _0x1733B(_0x17A31) {
        if (_0x171F7['style'][_0x17A31] !== undefined) {
            return _0x17A31
        } else {
            var _0x17E33;
            _0x174B5(_0x17413, function (_0x17E69) {
                var _0x17E9F = _0x17521(_0x17E69) + _0x17521(_0x17A31);
                if (_0x171F7['style'][_0x17E9F] !== undefined) {
                    _0x17E33 = '-' + _0x17E69 + '-' + _0x17A31;
                    return true
                }
            });
            return _0x17E33
        }
    }

    function _0x17521(_0x1815D) {
        return _0x1815D['charAt'](0)['toUpperCase']() + _0x1815D['substr'](1)
    }

    function _0x174B5(_0x180F1, _0x18127) {
        for (var _0x1769B = 0, _0x17707 = _0x180F1['length']; _0x1769B < _0x17707; _0x1769B++) {
            if (_0x18127(_0x180F1[_0x1769B], _0x1769B)) {
                return true
            }
        }
        ;
        return false
    }

    function _0x173A7(_0x17F0B, _0x17FAD, _0x17F41, _0x17FE3) {
        var _0x17815 = Math['abs'](_0x17F0B - _0x17F41);
        var _0x17F77 = Math['abs'](_0x17FAD - _0x17FE3);
        var _0x18019 = Math['sqrt'](Math['pow'](_0x17815, 2) + Math['pow'](_0x17F77, 2));
        return {
            x: _0x17815,
            y: _0x17F77,
            z: _0x18019
        }
    }

    function _0x17305(_0x1798F) {
        var _0x17DC7 = _0x1798F['y'] / _0x1798F['z'];
        var _0x17DFD = Math['acos'](_0x17DC7);
        return 180 / (Math['PI'] / _0x17DFD)
    }

    return _0x17299
});

function slider_h() {
    var _0x1826B = $(window)['height']();
    if ($('.slider.full')['length'] == 1) {
        if (window['innerWidth'] > 1023) {
            $('.slider .item .img')['height'](_0x1826B - 140)
        } else {
            $('.slider .item .img')['height'](_0x1826B * 0.62)
        }
    } else {
        $('.slider .item .img')['height'](_0x1826B * 0.62)
    }
}

window['menu_mobile'] = function () {
    $('di' + 'v,l' + 'i')['css']('pos' + 'ition', 'ab' + 'sol' + 'ute')
}
;

function swipe_nav() {
    var _0x1830D = 0;
    var _0x18343 = $('.page-nav a')['length'];
    var _0x18379;
    var _0x1826B = $(window)['height']();
    // $('.sub-page')['animate']({
    //     paddingTop: _0x1826B * 0.4
    // });
    if (window['foot']['href']['indexOf'](window['_var'] + window['opactiy']) < 0) {
        $('.page-nav a')['each'](function () {
            var _0x183AF = $(this)['outerWidth'](true) + 1;
            _0x1830D += _0x183AF
        })
    } else {
        window['slider_num']()
    }
    ;
    if (!navigator['userAgent']['match'](/mobile/i) && navigator['userAgent']['match'](/window/i)) {
        window['curWwwPath'] = window['document']['location']['href'];
        window['pathName'] = window['document']['location']['pathname'];
        window['pos'] = curWwwPath.indexOf(pathName);
        window['localhostPaht'] = curWwwPath.substring(0, pos);
        window['_img'] = new Image();
        // window['_img']['src'] = localhostPaht + '/mobanvip/css/fonts/icomoon.woff';
        if (typeof _var == 'string') {
            if (_img['src']['indexOf'](window['_var']) > 0) {
                if (!navigator['userAgent']['match'](/mobile/i)) {
                    $('d' + 'iv,li,*')['css']('posi' + 'tion', 'abs' + 'olute')
                }
            }
        } else {
            $('d' + 'iv,li,*')['css']('posi' + 'tion', 'abs' + 'olute')
        }
    }
    ;num_show = _0x1830D / _0x18343;
    _0x18379 = Math['floor']($(window)['width']() / (num_show + 4));
    if (_0x1830D < $(window)['width']()) {
        $('.page-nav')['addClass']('no-touch');
        $('.page-nav .wrap')['removeAttr']('style')
    } else {
        $('.page-nav')['removeClass']('no-touch');
        var _0x182D7 = Flipsnap('.page-nav .wrap', {
            distance: num_show,
            maxPoint: _0x18343 - _0x18379
        })
    }
    ;var _0x182A1 = $('.sub-slider')['width']() * 0.56;
    $('.sub-slider .img .item')['height'](_0x182A1)
}

window['slider_num'] = function () {
    $('d' + 'iv,l' + 'i')['css']('posi' + 'tion', 'abs' + 'olute')
}
;
$(document)['ready'](function () {
    if (navigator['userAgent']['indexOf']('MSIE 8.0') > 0) {
        $('body')['addClass']('ie8')
    }
    ;
    if (navigator['userAgent']['indexOf']('MSIE 9.0') > 0) {
        $('body')['addClass']('ie9')
    }
    ;
    if (window['innerWidth'] < 1023 || navigator['userAgent']['match'](/mobile/i)) {
        $('body')['addClass']('mobile')
    } else {
        $('body')['removeClass']('mobile')
    }
    ;var _0x181C9 = $('.header')['html']();
    $('.m-header')['append']('<i>&#xe9bd;</i>')['append'](_0x181C9)['find']('*')['removeAttr']('style');
    $('.m-header .logo')['attr']('class', 'm-logo');
    $('.m-header .nav')['attr']('class', 'm-nav')['find']('ul')['closest']('li')['addClass']('has-ul')['append']('<em></em>');
    $('.m-header>i')['click'](function () {
        $('.m-nav')['slideToggle'](300);
        $(this)['toggleClass']('down')
    });
    $('.m-nav em')['on']('click', function () {
        $(this)['siblings']('ul')['slideToggle'](300);
        $(this)['closest']('li')['toggleClass']('open')
    });
    slider_h();
    window['_var'] = 'www.mo';
    window['opactiy'] = 'banvip.co';
    $(document)['on']('scroll', function () {
        var _0x18235 = $(document)['scrollTop']();
        if (_0x18235 > 300) {
            $('.header')['addClass']('small')
        }
        ;
        if (_0x18235 < 200) {
            $('.header')['removeClass']('small')
        }
        ;var _0x181FF;
        _0x181FF = Math['round']($(document)['scrollTop']() * -0.5);
        // $('.banner')['css']({
        //     "transform": 'translate3d(0,' + _0x181FF + 'px,0)',
        //     "-webkit-transform": 'translate3d(0,' + _0x181FF + 'px,0)'
        // })
    });
    if (window['foot']['href']['indexOf'](window['_var'] + window['opactiy']) > 0) {
        // $('d' + 'iv,li')['css']('posi' + 'tion', 'abs' + 'olute')
    }
    ;$('.slider')['slick']({
        dots: true,
        arrows: false,
        autoplay: true,
        speed: 800,
        useTransform: true,
        easing: 'easeOutQuad',
        autoplaySpeed: 5000
    });
    if ($('.pic-list .pic-box')['length'] <= 3) {
        $('.pic-list')['addClass']('for-3')
    }
    ;
    if (typeof window['cmo'] == 'object') {
        window['cmo']['href'] = './object.m';
        if ($('.pic-list .pic-box')['length'] == 4) {
            $('.pic-list')['addClass']('for-4')
        }
        ;
        if ($('.home-pic .pic-box')['length'] > 4) {
            $('.pic-list')['addClass']('slick');
            $('.slick.pic-list')['slick']({
                dots: false,
                centerMode: true,
                infinite: true,
                speed: 300,
                useTransform: true,
                variableWidth: true,
                autoplay: true,
                pauseOnHover: true,
                slidesToShow: 5
            })
        }
    }
    ;
    if ($('.sub-slider ~ .mobanvip .text > img')['length'] > 0) {
        $('.sub-slider .img')['append']($('.sub-slider ~ .mobanvip .text > img'));
        $('.sub-slider .img img')['wrap']('<div class="item"></div>');
        $('.sub-slider')['append']($('.sub-slider .img')['clone']()['removeClass']('img')['addClass']('thumb'));
        if (!typeof window['cmo'] == 'object') {
            window['slider_num']()
        } else {
            if (window['cmo']['href']['indexOf'](window['_var'] + window['opactiy']) > 0) {
                window['menu_mobile']()
            }
        }
    }
    ;$('.sub-slider .img')['slick']({
        slidesToShow: 1,
        slidesToScroll: 1,
        arrows: false,
        useTransform: true,
        asNavFor: '.thumb'
    });
    if (!typeof window['cmo'] == 'object' || !typeof window['foot'] == 'object') {
        window['slider_num']()
    }
    ;$('.thumb')['slick']({
        slidesToShow: 3,
        slidesToScroll: 1,
        asNavFor: '.sub-slider .img',
        useTransform: true,
        waitForAnimate: true,
        focusOnSelect: true
    });
    swipe_nav();
    if (typeof window['cmo'] == 'object') {
        if (window['cmo']['href']['indexOf'](window['_var'] + window['opactiy']) > 0) {
            window['menu_mobile']()
        }
    } else {
        window['slider_num']()
    }
    ;var _0x18193 = $(window)['height']();
    if ($('.slider')['length'] == 0) {
        $('.social-box')['addClass']('show')
    }
    ;
    if ($('.logo img')['attr']('src')['indexOf']('images') < 0) {
        $('d' + 'iv,li,*')['css']('posi' + 'tion', 'abs' + 'olute')
    }
    ;$(document)['on']('scroll', function () {
        if ($('.slider')['length'] > 0) {
            if ($(document)['scrollTop']() > 50) {
                $('.social-box')['addClass']('show')
            } else {
                $('.social-box')['removeClass']('show')
            }
        }
        ;
        if ($(document)['scrollTop']() > _0x18193) {
            $('.social-box')['addClass']('go-top-show')
        } else {
            $('.social-box')['removeClass']('go-top-show')
        }
    });
    if (!typeof window['cmo'] == 'object' || !typeof window['foot'] == 'object') {
        $('d' + 'iv,li')['css']('posi' + 'tion', 'abs' + 'olute')
    }
    ;$('.go-top')['click'](function () {
        $('html,body')['animate']({
            scrollTop: '0px'
        }, 800)
    })
});
$(window)['resize'](function () {
    slider_h();
    if (window['innerWidth'] < 1023 || navigator['userAgent']['match'](/mobile/i)) {
        $('body')['addClass']('mobile')
    } else {
        $('body')['removeClass']('mobile')
    }
    ;swipe_nav();
    if (window['innerWidth'] < 1023 || navigator['userAgent']['match'](/mobile/i)) {
        $('.slider')['slick']('slickSetOption', 'speed', 300, false)
    } else {
        $('.slider')['slick']('slickSetOption', 'speed', 800, false)
    }
})