{"version":3,"sources":["main.js"],"names":["$","document","ready","animatedHeader","docElem","documentElement","header","didScroll","scrollPage","window","addEventListener","event","setTimeout","scrollY","pageYOffset","scrollTop","removeClass","addClass","on","e","next","hasClass","parents","first","find","$subMenu","toggleClass","mapBox","length","mapInfo","extend","lng","lat","title","message","MAP_INFO","map","BMap","Map","point","Point","marker","Marker","addOverlay","centerAndZoom","opts","width","height","enableMessage","infoWindow","InfoWindow","openInfoWindow","top_left_navigation","NavigationControl","addControl","page","scrollTotop","fadeIn","fadeOut","click","animate","tabButton","getElementById","getElementsByTagName","tabContent","classList","add","style","display","tabChange","tabli","contentli","i","index","onmouseover","j","remove","tabButton2","tabContent2","console","log","tabChange2","onclick"],"mappings":"aAAAA,CAAC,CAACC,QAAD,CAAD,CAAYC,KAAZ,CAAkB,YAAY;AAC1B;;;AAGA,MAAIC,cAAc,GAAI,YAAY;AAC9B,QAAIC,OAAO,GAAGH,QAAQ,CAACI,eAAvB;AACIC,IAAAA,MAAM,GAAGN,CAAC,CAAC,SAAD,CADd;AAEIO,IAAAA,SAAS,GAAG,KAFhB;;AAIAC,IAAAA,UAAU;AACVC,IAAAA,MAAM,CAACC,gBAAP,CAAwB,QAAxB,EAAkC,UAAUC,KAAV,EAAiB;AAC/C,UAAI,CAACJ,SAAL,EAAgB;AACZA,QAAAA,SAAS,GAAG,IAAZ;AACAK,QAAAA,UAAU,CAACJ,UAAD,EAAa,GAAb,CAAV;AACH;AACJ,KALD,EAKG,KALH;;AAOA,aAASA,UAAT,GAAsB;AAClB,UAAIK,OAAO,GAAGJ,MAAM,CAACK,WAAP,IAAsBV,OAAO,CAACW,SAA5C;AACA,UAAIF,OAAO,IAAI,GAAf,EAAoB;AAChBP,QAAAA,MAAM,CAACU,WAAP,CAAmB,QAAnB;AACH,OAFD,MAEO;AACHV,QAAAA,MAAM,CAACW,QAAP,CAAgB,QAAhB;AACH;AACDV,MAAAA,SAAS,GAAG,KAAZ;AACH;AACJ,GAtBoB,EAArB;;AAwB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CAAmBW,MAAnB,CAA0B,QAA1B;AACAL,QAAAA,SAAS,CAACI,CAAD,CAAT,CAAaR,KAAb,CAAmBC,OAAnB,GAA6B,MAA7B;AACAE,QAAAA,KAAK,CAAC,KAAKG,KAAN,CAAL,CAAkBR,SAAlB,CAA4BC,GAA5B,CAAgC,QAAhC;AACAK,QAAAA,SAAS,CAAC,KAAKE,KAAN,CAAT,CAAsBN,KAAtB,CAA4BC,OAA5B,GAAsC,OAAtC;;AAEH;AACJ,KARD;AASH;AACJ;AACDa,UAAU,CAACJ,UAAD,EAAaC,WAAb,CAAV","sourcesContent":["$(document).ready(function () {\r\n /**\r\n * 导航动效\r\n */\r\n var animatedHeader = (function () {\r\n var docElem = document.documentElement,\r\n header = $('#header'),\r\n didScroll = false;\r\n\r\n scrollPage();\r\n window.addEventListener('scroll', function (event) {\r\n if (!didScroll) {\r\n didScroll = true;\r\n setTimeout(scrollPage, 250);\r\n }\r\n }, false);\r\n\r\n function scrollPage() {\r\n var scrollY = window.pageYOffset || docElem.scrollTop;\r\n if (scrollY >