!function(e) { var t = {}; function n(i) { if (t[i]) return t[i].exports; var a = t[i] = { i: i, l: !1, exports: {} }; return e[i].call(a.exports, a, a.exports, n), a.l = !0, a.exports } n.m = e, n.c = t, n.d = function(e, t, i) { n.o(e, t) || object.defineproperty(e, t, { enumerable: !0, get: i }) } , n.r = function(e) { "undefined" != typeof symbol && symbol.tostringtag && object.defineproperty(e, symbol.tostringtag, { value: "module" }), object.defineproperty(e, "__esmodule", { value: !0 }) } , n.t = function(e, t) { if (1 & t && (e = n(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esmodule) return e; var i = object.create(null); if (n.r(i), object.defineproperty(i, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var a in e) n.d(i, a, function(t) { return e[t] } .bind(null, a)); return i } , n.n = function(e) { var t = e && e.__esmodule ? function() { return e.default } : function() { return e } ; return n.d(t, "a", t), t } , n.o = function(e, t) { return object.prototype.hasownproperty.call(e, t) } , n.p = "", n(n.s = 5) }([function(e, t) { (function() { var e, t, n, i, a, s = function(e, t) { return function() { return e.apply(t, arguments) } }, o = [].indexof || function(e) { for (var t = 0, n = this.length; t < n; t++) if (t in this && this[t] === e) return t; return -1 } ; t = function() { function e() {} return e.prototype.extend = function(e, t) { var n, i; for (n in t) i = t[n], null == e[n] && (e[n] = i); return e } , e.prototype.ismobile = function(e) { return /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(e) } , e.prototype.createevent = function(e, t, n, i) { var a; return null == t && (t = !1), null == n && (n = !1), null == i && (i = null), null != document.createevent ? (a = document.createevent("customevent")).initcustomevent(e, t, n, i) : null != document.createeventobject ? (a = document.createeventobject()).eventtype = e : a.eventname = e, a } , e.prototype.emitevent = function(e, t) { return null != e.dispatchevent ? e.dispatchevent(t) : t in (null != e) ? e[t]() : "on" + t in (null != e) ? e["on" + t]() : void 0 } , e.prototype.addevent = function(e, t, n) { return null != e.addeventlistener ? e.addeventlistener(t, n, !1) : null != e.attachevent ? e.attachevent("on" + t, n) : e[t] = n } , e.prototype.removeevent = function(e, t, n) { return null != e.removeeventlistener ? e.removeeventlistener(t, n, !1) : null != e.detachevent ? e.detachevent("on" + t, n) : delete e[t] } , e.prototype.innerheight = function() { return "innerheight"in window ? window.innerheight : document.documentelement.clientheight } , e }(), n = this.weakmap || this.mozweakmap || (n = function() { function e() { this.keys = [], this.values = [] } return e.prototype.get = function(e) { var t, n, i, a; for (t = n = 0, i = (a = this.keys).length; n < i; t = ++n) if (a[t] === e) return this.values[t] } , e.prototype.set = function(e, t) { var n, i, a, s; for (n = i = 0, a = (s = this.keys).length; i < a; n = ++i) if (s[n] === e) return void (this.values[n] = t); return this.keys.push(e), this.values.push(t) } , e }()), e = this.mutationobserver || this.webkitmutationobserver || this.mozmutationobserver || (e = function() { function e() { "undefined" != typeof console && null !== console && console.warn("mutationobserver is not supported by your browser."), "undefined" != typeof console && null !== console && console.warn("wow.js cannot detect dom mutations, please call .sync() after loading new content.") } return e.notsupported = !0, e.prototype.observe = function() {} , e }()), i = this.getcomputedstyle || function(e, t) { return this.getpropertyvalue = function(t) { var n; return "float" === t && (t = "stylefloat"), a.test(t) && t.replace(a, (function(e, t) { return t.touppercase() } )), (null != (n = e.currentstyle) ? n[t] : void 0) || null } , this } , a = /(\-([a-z]){1})/g, this.wow = function() { function a(e) { null == e && (e = {}), this.scrollcallback = s(this.scrollcallback, this), this.scrollhandler = s(this.scrollhandler, this), this.resetanimation = s(this.resetanimation, this), this.start = s(this.start, this), this.scrolled = !0, this.config = this.util().extend(e, this.defaults), null != e.scrollcontainer && (this.config.scrollcontainer = document.queryselector(e.scrollcontainer)), this.animationnamecache = new n, this.wowevent = this.util().createevent(this.config.boxclass) } return a.prototype.defaults = { boxclass: "wow", animateclass: "animated", offset: 0, mobile: !0, live: !0, callback: null, scrollcontainer: null }, a.prototype.init = function() { var e; return this.element = window.document.documentelement, "interactive" === (e = document.readystate) || "complete" === e ? this.start() : this.util().addevent(document, "domcontentloaded", this.start), this.finished = [] } , a.prototype.start = function() { var t, n, i, a, s; if (this.stopped = !1, this.boxes = function() { var e, n, i, a; for (a = [], e = 0, n = (i = this.element.queryselectorall("." + this.config.boxclass)).length; e < n; e++) t = i[e], a.push(t); return a } .call(this), this.all = function() { var e, n, i, a; for (a = [], e = 0, n = (i = this.boxes).length; e < n; e++) t = i[e], a.push(t); return a } .call(this), this.boxes.length) if (this.disabled()) this.resetstyle(); else for (n = 0, i = (a = this.boxes).length; n < i; n++) t = a[n], this.applystyle(t, !0); if (this.disabled() || (this.util().addevent(this.config.scrollcontainer || window, "scroll", this.scrollhandler), this.util().addevent(window, "resize", this.scrollhandler), this.interval = setinterval(this.scrollcallback, 50)), this.config.live) return new e((s = this, function(e) { var t, n, i, a, o; for (o = [], t = 0, n = e.length; t < n; t++) a = e[t], o.push(function() { var e, t, n, s; for (s = [], e = 0, t = (n = a.addednodes || []).length; e < t; e++) i = n[e], s.push(this.dosync(i)); return s } .call(s)); return o } )).observe(document.body, { childlist: !0, subtree: !0 }) } , a.prototype.stop = function() { if (this.stopped = !0, this.util().removeevent(this.config.scrollcontainer || window, "scroll", this.scrollhandler), this.util().removeevent(window, "resize", this.scrollhandler), null != this.interval) return clearinterval(this.interval) } , a.prototype.sync = function(t) { if (e.notsupported) return this.dosync(this.element) } , a.prototype.dosync = function(e) { var t, n, i, a, s; if (null == e && (e = this.element), 1 === e.nodetype) { for (s = [], n = 0, i = (a = (e = e.parentnode || e).queryselectorall("." + this.config.boxclass)).length; n < i; n++) t = a[n], o.call(this.all, t) < 0 ? (this.boxes.push(t), this.all.push(t), this.stopped || this.disabled() ? this.resetstyle() : this.applystyle(t, !0), s.push(this.scrolled = !0)) : s.push(void 0); return s } } , a.prototype.show = function(e) { return this.applystyle(e), e.classname = e.classname + " " + this.config.animateclass, null != this.config.callback && this.config.callback(e), this.util().emitevent(e, this.wowevent), this.util().addevent(e, "animationend", this.resetanimation), this.util().addevent(e, "oanimationend", this.resetanimation), this.util().addevent(e, "webkitanimationend", this.resetanimation), this.util().addevent(e, "msanimationend", this.resetanimation), e } , a.prototype.applystyle = function(e, t) { var n, i, a, s; return i = e.getattribute("data-wow-duration"), n = e.getattribute("data-wow-delay"), a = e.getattribute("data-wow-iteration"), this.animate((s = this, function() { return s.customstyle(e, t, i, n, a) } )) } , a.prototype.animate = "requestanimationframe"in window ? function(e) { return window.requestanimationframe(e) } : function(e) { return e() } , a.prototype.resetstyle = function() { var e, t, n, i, a; for (a = [], t = 0, n = (i = this.boxes).length; t < n; t++) e = i[t], a.push(e.style.visibility = "visible"); return a } , a.prototype.resetanimation = function(e) { var t; if (e.type.tolowercase().indexof("animationend") >= 0) return (t = e.target || e.srcelement).classname = t.classname.replace(this.config.animateclass, "").trim() } , a.prototype.customstyle = function(e, t, n, i, a) { return t && this.cacheanimationname(e), e.style.visibility = t ? "hidden" : "visible", n && this.vendorset(e.style, { animationduration: n }), i && this.vendorset(e.style, { animationdelay: i }), a && this.vendorset(e.style, { animationiterationcount: a }), this.vendorset(e.style, { animationname: t ? "none" : this.cachedanimationname(e) }), e } , a.prototype.vendors = ["moz", "webkit"], a.prototype.vendorset = function(e, t) { var n, i, a, s; for (n in i = [], t) a = t[n], e["" + n] = a, i.push(function() { var t, i, o, r; for (r = [], t = 0, i = (o = this.vendors).length; t < i; t++) s = o[t], r.push(e["" + s + n.charat(0).touppercase() + n.substr(1)] = a); return r } .call(this)); return i } , a.prototype.vendorcss = function(e, t) { var n, a, s, o, r, l; for (o = (r = i(e)).getpropertycssvalue(t), n = 0, a = (s = this.vendors).length; n < a; n++) l = s[n], o = o || r.getpropertycssvalue("-" + l + "-" + t); return o } , a.prototype.animationname = function(e) { var t; try { t = this.vendorcss(e, "animation-name").csstext } catch (n) { t = i(e).getpropertyvalue("animation-name") } return "none" === t ? "" : t } , a.prototype.cacheanimationname = function(e) { return this.animationnamecache.set(e, this.animationname(e)) } , a.prototype.cachedanimationname = function(e) { return this.animationnamecache.get(e) } , a.prototype.scrollhandler = function() { return this.scrolled = !0 } , a.prototype.scrollcallback = function() { var e; if (this.scrolled && (this.scrolled = !1, this.boxes = function() { var t, n, i, a; for (a = [], t = 0, n = (i = this.boxes).length; t < n; t++) (e = i[t]) && (this.isvisible(e) ? this.show(e) : a.push(e)); return a } .call(this), !this.boxes.length && !this.config.live)) return this.stop() } , a.prototype.offsettop = function(e) { for (var t; void 0 === e.offsettop; ) e = e.parentnode; for (t = e.offsettop; e = e.offsetparent; ) t += e.offsettop; return t } , a.prototype.isvisible = function(e) { var t, n, i, a, s; return n = e.getattribute("data-wow-offset") || this.config.offset, a = (s = this.config.scrollcontainer && this.config.scrollcontainer.scrolltop || window.pageyoffset) + math.min(this.element.clientheight, this.util().innerheight()) - n, t = (i = this.offsettop(e)) + e.clientheight, i <= a && t >= s } , a.prototype.util = function() { return null != this._util ? this._util : this._util = new t } , a.prototype.disabled = function() { return !this.config.mobile && this.util().ismobile(navigator.useragent) } , a }() } ).call(this) } , function(e, t, n) {} , function(e, t, n) {} , function(e, t, n) {} , function(e, t, n) { "use strict"; function i() { if ($(".page1-a1>a").length) if ($(window).width() > 1024) { if ($(".page1-a1>a").length > 9) if ($(".select").index() < 5) { if (2 == $(".select").index()) for (var e = 2; e < 7; e++) $(".page1-a1>a").eq(e).css({ display: "inline-block" }); else for (e = 0; e < 7; e++) $(".page1-a1>a").eq(e).css({ display: "inline-block" }); $(".page1-a1>a").eq($(".page1-a1>a").length - 1).css({ display: "inline-block" }), $(".page1-a1>a").eq($(".page1-a1>a").length - 2).css({ display: "inline-block" }), $(".page1-a1>a").eq(6).after('...') } else if ($(".select").index() > $(".page1-a1>a").length - 6) { if ($(".select").index() == $(".page1-a1>a").length - 3) for (e = 0; e < 5; e++) $(".page1-a1>a").eq($(".page1-a1>a").length - 3 - e).css({ display: "inline-block" }); else for (e = 0; e < 7; e++) $(".page1-a1>a").eq($(".page1-a1>a").length - 1 - e).css({ display: "inline-block" }); $(".page1-a1>a").eq(0).css({ display: "inline-block" }), $(".page1-a1>a").eq(1).css({ display: "inline-block" }), $(".page1-a1>a").eq($(".page1-a1>a").length - 7).before('...') } else { for (e = -2; e < 3; e++) $(".page1-a1>a").eq($(".select").index() + e).css({ display: "inline-block" }); $(".page1-a1>a").eq(0).css({ display: "inline-block" }), $(".page1-a1>a").eq(1).css({ display: "inline-block" }), $(".page1-a1>a").eq($(".page1-a1>a").length - 1).css({ display: "inline-block" }), $(".page1-a1>a").eq($(".page1-a1>a").length - 2).css({ display: "inline-block" }), $(".page1-a1>a").eq($(".select").index() + 2).after('...'), $(".page1-a1>a").eq($(".select").index() - 2).before('...') } } else if ($(".page1-a1>a").length > 9) if ($(".select").index() < 4) { if (2 == $(".select").index()) for (e = 2; e < 4; e++) $(".page1-a1>a").eq(e).css({ display: "inline-block" }); else for (e = 0; e < 4; e++) $(".page1-a1>a").eq(e).css({ display: "inline-block" }); $(".page1-a1>a").eq($(".page1-a1>a").length - 1).css({ display: "inline-block" }), $(".page1-a1>a").eq($(".page1-a1>a").length - 2).css({ display: "inline-block" }), $(".page1-a1>a").eq(6).after('...') } else if ($(".select").index() > $(".page1-a1>a").length - 4) { if ($(".select").index() == $(".page1-a1>a").length - 3) for (e = 0; e < 5; e++) $(".page1-a1>a").eq($(".page1-a1>a").length - 3 - e).css({ display: "inline-block" }); else for (e = 0; e < 7; e++) $(".page1-a1>a").eq($(".page1-a1>a").length - 1 - e).css({ display: "inline-block" }); $(".page1-a1>a").eq(0).css({ display: "inline-block" }), $(".page1-a1>a").eq(1).css({ display: "inline-block" }), $(".page1-a1>a").eq($(".page1-a1>a").length - 7).before('...') } else { for (e = -1; e < 1; e++) $(".page1-a1>a").eq($(".select").index() + e).css({ display: "inline-block" }); $(".page1-a1>a").eq(0).css({ display: "inline-block" }), $(".page1-a1>a").eq(1).css({ display: "inline-block" }), $(".page1-a1>a").eq($(".page1-a1>a").length - 1).css({ display: "inline-block" }), $(".page1-a1>a").eq($(".page1-a1>a").length - 2).css({ display: "inline-block" }), $(".page1-a1>a").eq($(".select").index() + 1).after('...'), $(".page1-a1>a").eq($(".select").index() - 1).before('...') } } function a() { if (new swiper(".gongjiang-sw",{ observer: !0, observeparents: !0, observeslidechildren: !0, loop: !0, autoplay: !0, roundlengths: !0, spacebetween: 20, effect: "fade", navigation: { nextel: ".gongjiang .btn-con .shot-next", prevel: ".gongjiang .btn-con .shot-prev" } }), $(".gallery-thumbs")[0]) { var e = new swiper(".gallery-thumbs",{ observer: !0, observeparents: !0, observeslidechildren: !0, spacebetween: 10, slidesperview: 7, freemode: !0, watchslidesvisibility: !0, watchslidesprogress: !0, breakpoints: { 1500: { slidesperview: 6, spacebetween: 0 }, 1023: { slidesperview: 6, spacebetween: 0 }, 768: { slidesperview: 5, spacebetween: 0 }, 500: { slidesperview: 2, spacebetween: 0 } } }); new swiper(".gallery-top",{ observer: !0, observeparents: !0, observeslidechildren: !0, spacebetween: 10, navigation: { nextel: ".bjhg-btn-next", prevel: ".bjhg-btn-prev" }, thumbs: { swiper: e } }) } } function s() { if ($(".buwuguan-bot-sw")[0]) { var e = new swiper(".buwuguan-bot-sw",{ observer: !0, observeparents: !0, observeslidechildren: !0, spacebetween: 0, slidesperview: 5, freemode: !0, watchslidesvisibility: !0, watchslidesprogress: !0, breakpoints: { 1023: { slidesperview: 2, spacebetween: 0 }, 750: { slidesperview: 1, spacebetween: 0 } } }); new swiper(".buwuguan-top-sw",{ observer: !0, observeparents: !0, observeslidechildren: !0, spacebetween: 10, effect: "fade", thumbs: { swiper: e } }) } // $(".er-honer .tabs-tab .card-more").click((function() { // var e = $(this).index(); // $(this).addclass("active").siblings().removeclass("active"), // $(".er-honer .bottom .item").eq(e).addclass("active").siblings().removeclass("active") // } // )), new swiper(".er-shui-tg-sw",{ effect: "fade", loop: !0, autoplay: !0, navigation: { nextel: ".shui-btn-next", prevel: ".shui-btn-prev" } }) } n.r(t), n.d(t, "page", (function() { return i } )), n.d(t, "gongjiang", (function() { return a } )), n.d(t, "suiyyue", (function() { return s } )) } , function(e, t, n) { "use strict"; n.r(t); n(1), n(2), n(3); var i = n(0) , a = function() { return (a = object.assign || function(e) { for (var t, n = 1, i = arguments.length; n < i; n++) for (var a in t = arguments[n]) object.prototype.hasownproperty.call(t, a) && (e[a] = t[a]); return e } ).apply(this, arguments) } , s = function() { function e(e, t, n) { var i = this; this.target = e, this.endval = t, this.options = n, this.version = "2.0.4", this.defaults = { startval: 0, decimalplaces: 0, duration: 2, useeasing: !0, usegrouping: !0, smarteasingthreshold: 999, smarteasingamount: 333, separator: ",", decimal: ".", prefix: "", suffix: "" }, this.finalendval = null, this.useeasing = !0, this.countdown = !1, this.error = "", this.startval = 0, this.paused = !0, this.count = function(e) { i.starttime || (i.starttime = e); var t = e - i.starttime; i.remaining = i.duration - t, i.useeasing ? i.countdown ? i.frameval = i.startval - i.easingfn(t, 0, i.startval - i.endval, i.duration) : i.frameval = i.easingfn(t, i.startval, i.endval - i.startval, i.duration) : i.countdown ? i.frameval = i.startval - (i.startval - i.endval) * (t / i.duration) : i.frameval = i.startval + (i.endval - i.startval) * (t / i.duration), i.countdown ? i.frameval = i.frameval < i.endval ? i.endval : i.frameval : i.frameval = i.frameval > i.endval ? i.endval : i.frameval, i.frameval = math.round(i.frameval * i.decimalmult) / i.decimalmult, i.printvalue(i.frameval), t < i.duration ? i.raf = requestanimationframe(i.count) : null !== i.finalendval ? i.update(i.finalendval) : i.callback && i.callback() } , this.formatnumber = function(e) { var t, n, a, s, o, r = e < 0 ? "-" : ""; if (t = math.abs(e).tofixed(i.options.decimalplaces), a = (n = (t += "").split("."))[0], s = n.length > 1 ? i.options.decimal + n[1] : "", i.options.usegrouping) { o = ""; for (var l = 0, c = a.length; l < c; ++l) 0 !== l && l % 3 == 0 && (o = i.options.separator + o), o = a[c - l - 1] + o; a = o } return i.options.numerals && i.options.numerals.length && (a = a.replace(/[0-9]/g, (function(e) { return i.options.numerals[+e] } )), s = s.replace(/[0-9]/g, (function(e) { return i.options.numerals[+e] } ))), r + i.options.prefix + a + s + i.options.suffix } , this.easeoutexpo = function(e, t, n, i) { return n * (1 - math.pow(2, -10 * e / i)) * 1024 / 1023 + t } , this.options = a({}, this.defaults, n), this.formattingfn = this.options.formattingfn ? this.options.formattingfn : this.formatnumber, this.easingfn = this.options.easingfn ? this.options.easingfn : this.easeoutexpo, this.startval = this.validatevalue(this.options.startval), this.frameval = this.startval, this.endval = this.validatevalue(t), this.options.decimalplaces = math.max(this.options.decimalplaces), this.decimalmult = math.pow(10, this.options.decimalplaces), this.resetduration(), this.options.separator = string(this.options.separator), this.useeasing = this.options.useeasing, "" === this.options.separator && (this.options.usegrouping = !1), this.el = "string" == typeof e ? document.getelementbyid(e) : e, this.el ? this.printvalue(this.startval) : this.error = "[countup] target is null or undefined" } return e.prototype.determinedirectionandsmarteasing = function() { var e = this.finalendval ? this.finalendval : this.endval; this.countdown = this.startval > e; var t = e - this.startval; if (math.abs(t) > this.options.smarteasingthreshold) { this.finalendval = e; var n = this.countdown ? 1 : -1; this.endval = e + n * this.options.smarteasingamount, this.duration = this.duration / 2 } else this.endval = e, this.finalendval = null; this.finalendval ? this.useeasing = !1 : this.useeasing = this.options.useeasing } , e.prototype.start = function(e) { this.error || (this.callback = e, this.duration > 0 ? (this.determinedirectionandsmarteasing(), this.paused = !1, this.raf = requestanimationframe(this.count)) : this.printvalue(this.endval)) } , e.prototype.pauseresume = function() { this.paused ? (this.starttime = null, this.duration = this.remaining, this.startval = this.frameval, this.determinedirectionandsmarteasing(), this.raf = requestanimationframe(this.count)) : cancelanimationframe(this.raf), this.paused = !this.paused } , e.prototype.reset = function() { cancelanimationframe(this.raf), this.paused = !0, this.resetduration(), this.startval = this.validatevalue(this.options.startval), this.frameval = this.startval, this.printvalue(this.startval) } , e.prototype.update = function(e) { cancelanimationframe(this.raf), this.starttime = null, this.endval = this.validatevalue(e), this.endval !== this.frameval && (this.startval = this.frameval, this.finalendval || this.resetduration(), this.determinedirectionandsmarteasing(), this.raf = requestanimationframe(this.count)) } , e.prototype.printvalue = function(e) { var t = this.formattingfn(e); "input" === this.el.tagname ? this.el.value = t : "text" === this.el.tagname || "tspan" === this.el.tagname ? this.el.textcontent = t : this.el.innerhtml = t } , e.prototype.ensurenumber = function(e) { return "number" == typeof e && !isnan(e) } , e.prototype.validatevalue = function(e) { var t = number(e); return this.ensurenumber(t) ? t : (this.error = "[countup] invalid start or end value: " + e, null) } , e.prototype.resetduration = function() { this.starttime = null, this.duration = 1e3 * number(this.options.duration), this.remaining = this.duration } , e }() , o = n(4) , r = o.page , l = o.gongjiang , c = o.suiyyue; window.addeventlistener("load", (function() { try { var e = function() { var e = $(".nav ul").offset().left; $(".nav .line").css({ width: "".concat(e, "px") }) } , t = function() { ++u >= 4 && (u = 0), $(".abs1").eq(u).addclass("active").siblings().removeclass("active"), $(".centennial .item").eq(u).addclass("on").siblings().removeclass("on") } , n = function() { if ($("#num1")[0]) { var e = $("#num1").offset().top - function() { var e = 0; if (document.body.clientheight && document.documentelement.clientheight) e = document.body.clientheight < document.documentelement.clientheight ? document.body.clientheight : document.documentelement.clientheight; else e = document.body.clientheight > document.documentelement.clientheight ? document.body.clientheight : document.documentelement.clientheight; return e }(); if ($(window).scrolltop() - 100 >= e && p) { p = !1; var t = settimeout((function() { f.start(), m.start(), v.start(), g.start(), cleartimeout(t) } ), 1e3) } } } , a = function(e) { if ("left" === e) { $(".index-serve-container .inner .item").removeclass("item1 item2 item3"); var t = y.pop(); y.unshift(t), y.map((function(e, t) { $(".index-serve-container .inner .item").eq(t).addclass(e) } )) } else if ("right" === e) { $(".index-serve-container .inner .item").removeclass("item1 item2 item3"); var n = y.shift(); y.push(n), y.map((function(e, t) { $(".index-serve-container .inner .item").eq(t).addclass(e) } )) } console.log(y) }; new swiper(".ba-sw",{ observer: !0, observeparents: !0, observeslidechildren: !0, roundlengths: !0, // autoplay: { // delay: 6e3, // stoponlastslide: !1, // disableoninteraction: !0 // }, loop: !0, // speed: 700, pagination: { el: ".ba-pa", clickable: !0 } }); new swiper(".ba-sw-wap",{ // autoplay: { // delay: 6e3, // stoponlastslide: !1, // disableoninteraction: !0 // }, loop: !0, // speed: 700, pagination: { el: ".touch-ba-pa", } }); new i.wow({ boxclass: "wow", animateclass: "animated", offset: 0, mobile: !0, live: !0, callback: function(e) {}, scrollcontainer: null }).init(), $(".pc-header .pc-nav .item").click((function() { 0 !== $(this).index() && ($(".nav").slidedown(), e()) } )), $(".close").click((function() { $(".nav").slideup(e) } )), $(".nav ul").mousemove((function(e) { $(".nav .line").css({ width: "".concat(e.screenx, "px") }) } )), $(".nav ul").mouseleave((function(t) { e() } )); var o = []; $(".centennial .container .bottom .item").each((function(e, t, n) { o.push({ left: $(t).offset().left, top: $(t).position().top, contop: t.getboundingclientrect().top, conright: t.getboundingclientrect().right, conbottom: t.getboundingclientrect().bottom, conleft: t.getboundingclientrect().left }) } )); var u = 0 , h = null; h = setinterval(t, 6e3), $(".centennial .dot").hover((function() { u = $(this).parents(".item").index(), $(".abs1").eq(u).addclass("active").siblings().removeclass("active"), clearinterval(h), h = setinterval(t, 6e3), $(this).parents(".item").addclass("on").siblings().removeclass("on") } )), $(".centennial .item").eq(0).addclass("on").siblings().removeclass("on"), w = 0, (v = document.queryselectorall(".centennial")[0]) && (v.addeventlistener("touchstart", (function(e) { clearinterval(h), w = e.changedtouches[0].pagex } ), !1), v.addeventlistener("touchend", (function(e) { var n = e.changedtouches[0].pagex; n < w ? t() : n > w && (--u <= -1 && (u = 3), $(".abs1").eq(u).addclass("active").siblings().removeclass("active")) } ), !1)); var d = { useeasing: !0, usegrouping: !0, separator: "", decimal: ".", duration: 2 } , p = !0 , f = new s("num1",1929,d) , m = new s("num2",10,d) , v = new s("num3",3,d) , g = new s("num4",6,d); n(), $(window).on("scroll", (function() { n(), $(window).scrolltop() > 1e3 ? $(".fanhuidingbu").addclass("active") : $(".fanhuidingbu").removeclass("active") } )), $(".special .container .one").mouseenter((function(e) { var t = $(this).index(); $(".special .meun .box").css({ top: "".concat(58 * (t - 1) + 5, "px") }), $(".special .container .one").removeclass("active"), $(this).addclass("active"), $(".special .container .item").eq(t - 1).addclass("active").siblings().removeclass("active") } )), $(".special .touch-container .one").click((function(e) { var t = $(this).index(); $(".special .touch-container .one").removeclass("active"), $(this).addclass("active"), $(".special .touch-container .item").eq(t).addclass("active").siblings().removeclass("active") } )), $(".er-tab").hover((function() { $(this).prev().addclass("xxx") } ), (function() { $(this).prev().removeclass("xxx") } )); var b = document.getelementbyid("vido"); b && b.play(), $(window).width() <= 1023 && new swiper(".new-swiper",{ observer: !0, observeparents: !0, observeslidechildren: !0, roundlengths: !0, autoplay: { delay: 6e3, stoponlastslide: !1, disableoninteraction: !0 }, spacebetween: 12, loop: !0, speed: 700, pagination: { el: ".ba-pa", clickable: !0 } }), function() { var e = 0 , t = document.queryselectorall(".index-serve-container")[0]; t && (t.addeventlistener("touchstart", (function(t) { e = t.changedtouches[0].pagex } ), !1), t.addeventlistener("touchend", (function(t) { var n = t.changedtouches[0].pagex; n < e ? a("left") : n > e && a("right") } ), !1)) }(); var y = ["item1", "item2", "item3"].slice(0) } catch (e) { console.log("首页------".concat(e)) } var w, v; $(window).width() <= 1023 && new swiper(".er-media-sw",{ observer: !0, observeparents: !0, observeslidechildren: !0, loop: !0, roundlengths: !0, spacebetween: 20 }), r(), new swiper(".guanggao-sw",{ observer: !0, observeparents: !0, observeslidechildren: !0, loop: !0, autoplay: !0, roundlengths: !0, spacebetween: 20, pagination: { el: ".guanggao-pa", clickable: !0 } }), l(), c(); var c = !1; $(".nav-btn").on("click touchstart", (function(e) { try { 0 == c ? ($(this).addclass("active"), $(".t-nav").slidedown((function() { c = !0 } ))) : 1 == c && ($(this).removeclass("active"), $(".t-nav").slideup((function() { c = !1 } ))), e.preventdefault(), e.stoppropagation() } catch (e) {} } )), $(".t-nav .t-nav-one-btn").on("click touchstart", (function(e) { try { var t = $(this).parents(".t-nav-item"); t.hasclass("active") ? t.find(".t-nav-bottom").slideup((function() { t.removeclass("active") } )) : t.find(".t-nav-bottom").slidedown((function() { t.addclass("active") } )), e.preventdefault(), e.stoppropagation() } catch (e) {} } )), $(".search-btn").click((function() { $(".search-full").fadein() } )), $(".search-close").click((function() { $(".search-full").fadeout() } )), $(".fanhuidingbu").click((function() { $("body,html").animate({ scrolltop: 0 }) } )) } )) } ]); //# sourcemappingurl=dist.js.map