{"version":3,"file":"assets/js/index.min.js","mappings":";;;;;;;;;;;AAAA;;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;ACNmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,4CAA4C;AACxF,SAAS;AACT,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,iCAAiC,sEAAsE;AACvG,gCAAgC,sEAAsE;AACtG,iCAAiC,sEAAsE;AACvG;AACA,iCAAiC,uEAAuE;AACxG,iCAAiC,qEAAqE;AACtG,gCAAgC,qEAAqE;AACrG;AACA,8CAA8C,0CAA0C;AACxF;AACA,SAAS;AACT,iDAAiD,qEAAqE;AACtH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,+CAA+C,QAAQ;AACvD,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,+CAA+C,QAAQ;AACvD,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,+CAA+C,QAAQ;AACvD,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,+CAA+C,QAAQ;AACvD,aAAa;AACb;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,CAAC,E","sources":["webpack:///./assets/css/home/index.scss","webpack:///webpack/bootstrap","webpack:///webpack/runtime/make namespace object","webpack:///./assets/js/home/index.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import '../../css/home/index.scss';\r\n\r\n$(function() {\r\n\r\n let _hash, _scrollTop;\r\n $('.nav-link[href*=\"#\"]').click(function(e) {\r\n _hash = $(this).attr('href');\r\n _hash = _hash.substr(_hash.indexOf('#'));\r\n _scrollTop = $(hash).offset().top;\r\n setTimeout(() => {\r\n TweenMax.to('html, body', .6, { scrollTop: _scrollTop, ease: Quart.easeOut });\r\n }, 400);\r\n });\r\n\r\n if ($(window).width() > 768) {\r\n\r\n var winH = $(window).height();\r\n\r\n TweenMax.to('.c1', 12, { x: '120%', y: '-50%', yoyo: true, repeat: -1, ease: Power1.easeInOut })\r\n TweenMax.to('.c2', 9, { x: '-120%', y: '50%', yoyo: true, repeat: -1, ease: Power1.easeInOut })\r\n TweenMax.to('.c3', 10, { x: '120%', y: '-50%', yoyo: true, repeat: -1, ease: Power1.easeInOut })\r\n\r\n TweenMax.to('.c4', 10, { x: '-120%', y: '-60%', yoyo: true, repeat: -1, ease: Power1.easeInOut })\r\n TweenMax.to('.c5', 15, { x: '120%', y: '60%', yoyo: true, repeat: -1, ease: Power1.easeInOut })\r\n TweenMax.to('.c6', 9, { x: '120%', y: '60%', yoyo: true, repeat: -1, ease: Power1.easeInOut })\r\n\r\n TweenMax.staggerFrom('.whiten', .4, { opacity: 0, scale: 0, ease: Back.easeOut }, .15, function() {\r\n $('.b11').addClass('active');\r\n })\r\n TweenMax.staggerFrom('.label_box', .4, { opacity: 0, y: -winH / 2, delay: .2, ease: Back.easeOut.config(1.4) }, .15)\r\n\r\n }\r\n\r\n //swiper ------------------------------------------\r\n if ($(\".kv_swiper\").length > 0) {\r\n\r\n //kv_swiper\r\n const $swiper = '.kv_swiper';\r\n const container = $swiper + ' .swiper';\r\n const pagination = $swiper + ' .swiper-pagination';\r\n const button_next = $swiper + ' .swiper-button-next';\r\n const button_prev = $swiper + ' .swiper-button-prev';\r\n\r\n new Swiper(container, {\r\n grabCursor: true,\r\n loop: true,\r\n loopedSlides: 1,\r\n speed: 300,\r\n autoplay: {\r\n delay: 3000,\r\n },\r\n pagination: {\r\n el: pagination,\r\n clickable: true,\r\n },\r\n navigation: {\r\n nextEl: button_next,\r\n prevEl: button_prev,\r\n },\r\n a11y: {\r\n enabled: true,\r\n firstSlideMessage: \"第一則\",\r\n lastSlideMessage: \"最後一則\",\r\n paginationBulletMessage: \"到第 {{index}} 則\",\r\n },\r\n });\r\n\r\n }\r\n if ($(\".app_swiper\").length > 0) {\r\n\r\n //kv_swiper\r\n const $swiper = '.app_swiper';\r\n const container = $swiper + ' .swiper';\r\n const pagination = $swiper + ' .swiper-pagination';\r\n const button_next = $swiper + ' .swiper-button-next';\r\n const button_prev = $swiper + ' .swiper-button-prev';\r\n\r\n new Swiper(container, {\r\n grabCursor: true,\r\n loop: true,\r\n loopedSlides: 1,\r\n speed: 600,\r\n // pagination: {\r\n // el: pagination,\r\n // clickable: true,\r\n // },\r\n navigation: {\r\n nextEl: button_next,\r\n prevEl: button_prev,\r\n },\r\n a11y: {\r\n enabled: true,\r\n firstSlideMessage: \"第一則\",\r\n lastSlideMessage: \"最後一則\",\r\n paginationBulletMessage: \"到第 {{index}} 則\",\r\n },\r\n });\r\n\r\n }\r\n if ($(\".m_map_swiper\").length > 0) {\r\n\r\n //kv_swiper\r\n const $swiper = '.m_map_swiper';\r\n const container = $swiper + ' .swiper';\r\n const pagination = $swiper + ' .swiper-pagination';\r\n const button_next = $swiper + ' .swiper-button-next';\r\n const button_prev = $swiper + ' .swiper-button-prev';\r\n\r\n new Swiper(container, {\r\n grabCursor: true,\r\n slidesPerView: 1,\r\n // loop: true,\r\n // loopedSlides: 1,\r\n speed: 600,\r\n pagination: {\r\n el: pagination,\r\n type: 'fraction',\r\n clickable: true,\r\n },\r\n navigation: {\r\n nextEl: button_next,\r\n prevEl: button_prev,\r\n },\r\n a11y: {\r\n enabled: true,\r\n firstSlideMessage: \"第一則\",\r\n lastSlideMessage: \"最後一則\",\r\n paginationBulletMessage: \"到第 {{index}} 則\",\r\n },\r\n });\r\n\r\n }\r\n if ($(\".intro_swiper\").length > 0) {\r\n\r\n //kv_swiper\r\n const $swiper = '.intro_swiper';\r\n const container = $swiper + ' .swiper';\r\n const pagination = $swiper + ' .swiper-pagination';\r\n const button_next = $swiper + ' .swiper-button-next';\r\n const button_prev = $swiper + ' .swiper-button-prev';\r\n\r\n new Swiper(container, {\r\n grabCursor: true,\r\n slidesPerView: 2,\r\n speed: 600,\r\n pagination: {\r\n el: pagination,\r\n type: 'fraction',\r\n clickable: true,\r\n },\r\n navigation: {\r\n nextEl: button_next,\r\n prevEl: button_prev,\r\n },\r\n a11y: {\r\n enabled: true,\r\n firstSlideMessage: \"第一則\",\r\n lastSlideMessage: \"最後一則\",\r\n paginationBulletMessage: \"到第 {{index}} 則\",\r\n },\r\n breakpoints: {\r\n 320: {\r\n slidesPerView: 1.05,\r\n },\r\n 480: {\r\n slidesPerView: 2,\r\n },\r\n }\r\n });\r\n\r\n }\r\n\r\n\r\n});"],"names":[],"sourceRoot":""}