foundation-rails 6.6.2.0 → 6.9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +2 -0
- data/Appraisals +4 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +198 -145
- data/bower.json +3 -3
- data/foundation-rails.gemspec +4 -4
- data/gemfiles/rails_7.1.gemfile +10 -0
- data/gemfiles/rails_7.1.gemfile.lock +261 -0
- data/lib/foundation/rails/version.rb +1 -1
- data/lib/generators/foundation/templates/_settings.scss +32 -28
- data/vendor/assets/js/foundation.cjs.js +1996 -3162
- data/vendor/assets/js/foundation.cjs.js.map +1 -1
- data/vendor/assets/js/foundation.es6.js +385 -292
- data/vendor/assets/js/foundation.es6.js.map +1 -1
- data/vendor/assets/js/foundation.esm.js +1663 -2832
- data/vendor/assets/js/foundation.esm.js.map +1 -1
- data/vendor/assets/js/foundation.js +2440 -3870
- data/vendor/assets/js/foundation.js.map +1 -1
- data/vendor/assets/js/foundation.min.js +1 -1
- data/vendor/assets/js/foundation.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.abide.js +238 -344
- data/vendor/assets/js/plugins/foundation.abide.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.abide.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.abide.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.js +197 -275
- data/vendor/assets/js/plugins/foundation.accordion.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.js +174 -260
- data/vendor/assets/js/plugins/foundation.accordionMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.core.js +308 -447
- data/vendor/assets/js/plugins/foundation.core.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.core.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.core.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.js +258 -358
- data/vendor/assets/js/plugins/foundation.drilldown.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.js +289 -457
- data/vendor/assets/js/plugins/foundation.dropdown.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.js +246 -346
- data/vendor/assets/js/plugins/foundation.dropdownMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.js +178 -261
- data/vendor/assets/js/plugins/foundation.equalizer.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.js +227 -326
- data/vendor/assets/js/plugins/foundation.interchange.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.js +225 -336
- data/vendor/assets/js/plugins/foundation.magellan.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.js +326 -471
- data/vendor/assets/js/plugins/foundation.offcanvas.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.js +244 -347
- data/vendor/assets/js/plugins/foundation.orbit.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js +203 -278
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.js +205 -255
- data/vendor/assets/js/plugins/foundation.responsiveMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.js +170 -226
- data/vendor/assets/js/plugins/foundation.responsiveToggle.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.js +284 -444
- data/vendor/assets/js/plugins/foundation.reveal.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.slider.js +322 -483
- data/vendor/assets/js/plugins/foundation.slider.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.slider.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.slider.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.js +138 -188
- data/vendor/assets/js/plugins/foundation.smoothScroll.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.js +253 -394
- data/vendor/assets/js/plugins/foundation.sticky.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.js +228 -317
- data/vendor/assets/js/plugins/foundation.tabs.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.js +207 -294
- data/vendor/assets/js/plugins/foundation.toggler.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.js +275 -434
- data/vendor/assets/js/plugins/foundation.tooltip.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.js +130 -186
- data/vendor/assets/js/plugins/foundation.util.box.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.js +110 -150
- data/vendor/assets/js/plugins/foundation.util.imageLoader.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.js +157 -172
- data/vendor/assets/js/plugins/foundation.util.keyboard.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.js +167 -233
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.js +123 -161
- data/vendor/assets/js/plugins/foundation.util.motion.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.js +123 -160
- data/vendor/assets/js/plugins/foundation.util.nest.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.js +116 -171
- data/vendor/assets/js/plugins/foundation.util.timer.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.js +172 -228
- data/vendor/assets/js/plugins/foundation.util.touch.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.js +158 -222
- data/vendor/assets/js/plugins/foundation.util.triggers.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.min.js.map +1 -1
- data/vendor/assets/scss/_global.scss +18 -5
- data/vendor/assets/scss/components/_accordion-menu.scss +2 -2
- data/vendor/assets/scss/components/_badge.scss +1 -1
- data/vendor/assets/scss/components/_breadcrumbs.scss +2 -1
- data/vendor/assets/scss/components/_button-group.scss +13 -8
- data/vendor/assets/scss/components/_button.scss +13 -13
- data/vendor/assets/scss/components/_callout.scss +2 -2
- data/vendor/assets/scss/components/_close-button.scss +5 -4
- data/vendor/assets/scss/components/_dropdown-menu.scss +1 -1
- data/vendor/assets/scss/components/_label.scss +1 -1
- data/vendor/assets/scss/components/_menu.scss +54 -19
- data/vendor/assets/scss/components/_off-canvas.scss +18 -16
- data/vendor/assets/scss/components/_orbit.scss +3 -3
- data/vendor/assets/scss/components/_pagination.scss +1 -1
- data/vendor/assets/scss/components/_progress-bar.scss +1 -1
- data/vendor/assets/scss/components/_responsive-embed.scss +1 -1
- data/vendor/assets/scss/components/_reveal.scss +8 -3
- data/vendor/assets/scss/components/_slider.scss +5 -2
- data/vendor/assets/scss/components/_switch.scss +25 -2
- data/vendor/assets/scss/components/_table.scss +8 -7
- data/vendor/assets/scss/components/_tabs.scss +2 -2
- data/vendor/assets/scss/components/_top-bar.scss +7 -5
- data/vendor/assets/scss/components/_visibility.scss +45 -2
- data/vendor/assets/scss/forms/_label.scss +2 -1
- data/vendor/assets/scss/forms/_progress.scss +1 -1
- data/vendor/assets/scss/forms/_range.scss +1 -1
- data/vendor/assets/scss/forms/_select.scss +5 -4
- data/vendor/assets/scss/forms/_text.scss +2 -2
- data/vendor/assets/scss/foundation.scss +1 -1
- data/vendor/assets/scss/grid/_classes.scss +1 -1
- data/vendor/assets/scss/grid/_column.scss +3 -2
- data/vendor/assets/scss/grid/_flex-grid.scss +7 -6
- data/vendor/assets/scss/grid/_gutter.scss +1 -1
- data/vendor/assets/scss/grid/_layout.scss +5 -5
- data/vendor/assets/scss/grid/_position.scss +4 -4
- data/vendor/assets/scss/grid/_row.scss +1 -1
- data/vendor/assets/scss/motion-ui/util/_animation.scss +1 -1
- data/vendor/assets/scss/motion-ui/util/_series.scss +1 -1
- data/vendor/assets/scss/motion-ui/util/_unit.scss +54 -1
- data/vendor/assets/scss/prototype/_border-none.scss +1 -1
- data/vendor/assets/scss/prototype/_font-styling.scss +2 -2
- data/vendor/assets/scss/prototype/_overflow.scss +9 -0
- data/vendor/assets/scss/prototype/_rotate.scss +7 -5
- data/vendor/assets/scss/prototype/_separator.scss +5 -5
- data/vendor/assets/scss/prototype/_shadow.scss +1 -2
- data/vendor/assets/scss/prototype/_spacing.scss +33 -33
- data/vendor/assets/scss/prototype/_text-transformation.scss +3 -3
- data/vendor/assets/scss/settings/_settings.scss +32 -28
- data/vendor/assets/scss/typography/_base.scss +6 -6
- data/vendor/assets/scss/typography/_helpers.scss +10 -2
- data/vendor/assets/scss/typography/_print.scss +2 -2
- data/vendor/assets/scss/util/_breakpoint.scss +21 -18
- data/vendor/assets/scss/util/_color.scss +20 -8
- data/vendor/assets/scss/util/_direction.scss +1 -1
- data/vendor/assets/scss/util/_flex.scss +1 -1
- data/vendor/assets/scss/util/_math.scss +61 -9
- data/vendor/assets/scss/util/_mixins.scss +18 -14
- data/vendor/assets/scss/util/_selector.scss +1 -15
- data/vendor/assets/scss/util/_typography.scss +6 -6
- data/vendor/assets/scss/util/_unit.scss +14 -8
- data/vendor/assets/scss/util/_value.scss +3 -18
- data/vendor/assets/scss/vendor/normalize.scss +19 -2
- data/vendor/assets/scss/xy-grid/_cell.scss +16 -5
- data/vendor/assets/scss/xy-grid/_classes.scss +8 -8
- data/vendor/assets/scss/xy-grid/_frame.scss +12 -0
- data/vendor/assets/scss/xy-grid/_grid.scss +2 -2
- data/vendor/assets/scss/xy-grid/_gutters.scss +2 -2
- data/vendor/assets/scss/xy-grid/_layout.scss +1 -1
- data/vendor/assets/scss/xy-grid/_position.scss +12 -7
- data/vendor/assets/scss/xy-grid/_xy-grid.scss +2 -2
- metadata +21 -19
@@ -1,193 +1,47 @@
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
-
module.exports = factory(require("./foundation.core"), require("./foundation.smoothScroll"), require("./foundation.util.motion")
|
3
|
+
module.exports = factory(require("./foundation.core"), require("jquery"), require("./foundation.smoothScroll"), require("./foundation.util.motion"));
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
5
|
-
define(["./foundation.core", "./foundation.smoothScroll", "./foundation.util.motion"
|
5
|
+
define(["./foundation.core", "jquery", "./foundation.smoothScroll", "./foundation.util.motion"], factory);
|
6
6
|
else if(typeof exports === 'object')
|
7
|
-
exports["
|
7
|
+
exports["__FOUNDATION_EXTERNAL__"] = factory(require("./foundation.core"), require("jquery"), require("./foundation.smoothScroll"), require("./foundation.util.motion"));
|
8
8
|
else
|
9
|
-
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.magellan"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["__FOUNDATION_EXTERNAL__"]["foundation.smoothScroll"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.motion"]
|
10
|
-
})(
|
11
|
-
return /******/ (function(
|
12
|
-
/******/
|
13
|
-
/******/ var
|
14
|
-
/******/
|
15
|
-
/******/ // The require function
|
16
|
-
/******/ function __webpack_require__(moduleId) {
|
17
|
-
/******/
|
18
|
-
/******/ // Check if module is in cache
|
19
|
-
/******/ if(installedModules[moduleId]) {
|
20
|
-
/******/ return installedModules[moduleId].exports;
|
21
|
-
/******/ }
|
22
|
-
/******/ // Create a new module (and put it into the cache)
|
23
|
-
/******/ var module = installedModules[moduleId] = {
|
24
|
-
/******/ i: moduleId,
|
25
|
-
/******/ l: false,
|
26
|
-
/******/ exports: {}
|
27
|
-
/******/ };
|
28
|
-
/******/
|
29
|
-
/******/ // Execute the module function
|
30
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31
|
-
/******/
|
32
|
-
/******/ // Flag the module as loaded
|
33
|
-
/******/ module.l = true;
|
34
|
-
/******/
|
35
|
-
/******/ // Return the exports of the module
|
36
|
-
/******/ return module.exports;
|
37
|
-
/******/ }
|
38
|
-
/******/
|
39
|
-
/******/
|
40
|
-
/******/ // expose the modules object (__webpack_modules__)
|
41
|
-
/******/ __webpack_require__.m = modules;
|
42
|
-
/******/
|
43
|
-
/******/ // expose the module cache
|
44
|
-
/******/ __webpack_require__.c = installedModules;
|
45
|
-
/******/
|
46
|
-
/******/ // define getter function for harmony exports
|
47
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
48
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
49
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
50
|
-
/******/ }
|
51
|
-
/******/ };
|
52
|
-
/******/
|
53
|
-
/******/ // define __esModule on exports
|
54
|
-
/******/ __webpack_require__.r = function(exports) {
|
55
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
56
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
57
|
-
/******/ }
|
58
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
59
|
-
/******/ };
|
60
|
-
/******/
|
61
|
-
/******/ // create a fake namespace object
|
62
|
-
/******/ // mode & 1: value is a module id, require it
|
63
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
64
|
-
/******/ // mode & 4: return value when already ns object
|
65
|
-
/******/ // mode & 8|1: behave like require
|
66
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
67
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
68
|
-
/******/ if(mode & 8) return value;
|
69
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
70
|
-
/******/ var ns = Object.create(null);
|
71
|
-
/******/ __webpack_require__.r(ns);
|
72
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
73
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
74
|
-
/******/ return ns;
|
75
|
-
/******/ };
|
76
|
-
/******/
|
77
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
78
|
-
/******/ __webpack_require__.n = function(module) {
|
79
|
-
/******/ var getter = module && module.__esModule ?
|
80
|
-
/******/ function getDefault() { return module['default']; } :
|
81
|
-
/******/ function getModuleExports() { return module; };
|
82
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
83
|
-
/******/ return getter;
|
84
|
-
/******/ };
|
85
|
-
/******/
|
86
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
87
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
88
|
-
/******/
|
89
|
-
/******/ // __webpack_public_path__
|
90
|
-
/******/ __webpack_require__.p = "";
|
91
|
-
/******/
|
92
|
-
/******/
|
93
|
-
/******/ // Load entry module and return exports
|
94
|
-
/******/ return __webpack_require__(__webpack_require__.s = 8);
|
95
|
-
/******/ })
|
96
|
-
/************************************************************************/
|
97
|
-
/******/ ({
|
98
|
-
|
99
|
-
/***/ "./foundation.core":
|
100
|
-
/*!****************************************************************************************************************************************************************!*\
|
101
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
|
102
|
-
\****************************************************************************************************************************************************************/
|
103
|
-
/*! no static exports found */
|
104
|
-
/***/ (function(module, exports) {
|
105
|
-
|
106
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
|
107
|
-
|
108
|
-
/***/ }),
|
109
|
-
|
110
|
-
/***/ "./foundation.smoothScroll":
|
111
|
-
/*!************************************************************************************************************************************************************************************************!*\
|
112
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.smoothScroll"],"amd":"./foundation.smoothScroll","commonjs":"./foundation.smoothScroll","commonjs2":"./foundation.smoothScroll"} ***!
|
113
|
-
\************************************************************************************************************************************************************************************************/
|
114
|
-
/*! no static exports found */
|
115
|
-
/***/ (function(module, exports) {
|
116
|
-
|
117
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_smoothScroll__;
|
118
|
-
|
119
|
-
/***/ }),
|
120
|
-
|
121
|
-
/***/ "./foundation.util.motion":
|
122
|
-
/*!********************************************************************************************************************************************************************************************!*\
|
123
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.motion"],"amd":"./foundation.util.motion","commonjs":"./foundation.util.motion","commonjs2":"./foundation.util.motion"} ***!
|
124
|
-
\********************************************************************************************************************************************************************************************/
|
125
|
-
/*! no static exports found */
|
126
|
-
/***/ (function(module, exports) {
|
127
|
-
|
128
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__;
|
129
|
-
|
130
|
-
/***/ }),
|
131
|
-
|
132
|
-
/***/ "./js/entries/plugins/foundation.magellan.js":
|
133
|
-
/*!***************************************************!*\
|
134
|
-
!*** ./js/entries/plugins/foundation.magellan.js ***!
|
135
|
-
\***************************************************/
|
136
|
-
/*! exports provided: Foundation, Magellan */
|
137
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
138
|
-
|
139
|
-
"use strict";
|
140
|
-
__webpack_require__.r(__webpack_exports__);
|
141
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
142
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
143
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Foundation", function() { return _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"]; });
|
144
|
-
|
145
|
-
/* harmony import */ var _foundation_magellan__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.magellan */ "./js/foundation.magellan.js");
|
146
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Magellan", function() { return _foundation_magellan__WEBPACK_IMPORTED_MODULE_1__["Magellan"]; });
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
_foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"].plugin(_foundation_magellan__WEBPACK_IMPORTED_MODULE_1__["Magellan"], 'Magellan');
|
151
|
-
|
152
|
-
|
153
|
-
/***/ }),
|
9
|
+
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.magellan"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.smoothScroll"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.motion"]);
|
10
|
+
})(self, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_smoothScroll__, __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__) {
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
12
|
+
/******/ "use strict";
|
13
|
+
/******/ var __webpack_modules__ = ({
|
154
14
|
|
155
15
|
/***/ "./js/foundation.magellan.js":
|
156
16
|
/*!***********************************!*\
|
157
17
|
!*** ./js/foundation.magellan.js ***!
|
158
18
|
\***********************************/
|
159
|
-
|
160
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
161
20
|
|
162
|
-
"use strict";
|
163
21
|
__webpack_require__.r(__webpack_exports__);
|
164
|
-
/* harmony export
|
22
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
23
|
+
/* harmony export */ Magellan: function() { return /* binding */ Magellan; }
|
24
|
+
/* harmony export */ });
|
165
25
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
|
166
26
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
167
|
-
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.
|
27
|
+
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
|
168
28
|
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__);
|
169
29
|
/* harmony import */ var _foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.smoothScroll */ "./foundation.smoothScroll");
|
170
30
|
/* harmony import */ var _foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_2__);
|
171
31
|
/* harmony import */ var _foundation_util_triggers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation.util.triggers */ "./js/foundation.util.triggers.js");
|
172
|
-
|
173
|
-
|
174
|
-
function
|
175
|
-
|
176
|
-
function
|
177
|
-
|
178
|
-
function
|
179
|
-
|
180
|
-
function
|
181
|
-
|
182
|
-
function
|
183
|
-
|
184
|
-
function
|
185
|
-
|
186
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
187
|
-
|
188
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
189
|
-
|
190
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
32
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
33
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
34
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
35
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
36
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
37
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
38
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
39
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
40
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
41
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
42
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
43
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
44
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
191
45
|
|
192
46
|
|
193
47
|
|
@@ -200,21 +54,15 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
200
54
|
* @requires foundation.smoothScroll
|
201
55
|
* @requires foundation.util.triggers
|
202
56
|
*/
|
203
|
-
|
204
|
-
var Magellan =
|
205
|
-
/*#__PURE__*/
|
206
|
-
function (_Plugin) {
|
207
|
-
_inherits(Magellan, _Plugin);
|
208
|
-
|
57
|
+
var Magellan = /*#__PURE__*/function (_Plugin) {
|
209
58
|
function Magellan() {
|
210
59
|
_classCallCheck(this, Magellan);
|
211
|
-
|
212
|
-
return _possibleConstructorReturn(this, _getPrototypeOf(Magellan).apply(this, arguments));
|
60
|
+
return _callSuper(this, Magellan, arguments);
|
213
61
|
}
|
214
|
-
|
215
|
-
_createClass(Magellan, [{
|
62
|
+
_inherits(Magellan, _Plugin);
|
63
|
+
return _createClass(Magellan, [{
|
216
64
|
key: "_setup",
|
217
|
-
|
65
|
+
value:
|
218
66
|
/**
|
219
67
|
* Creates a new instance of Magellan.
|
220
68
|
* @class
|
@@ -223,30 +71,25 @@ function (_Plugin) {
|
|
223
71
|
* @param {Object} element - jQuery object to add the trigger to.
|
224
72
|
* @param {Object} options - Overrides to the default plugin settings.
|
225
73
|
*/
|
226
|
-
|
74
|
+
function _setup(element, options) {
|
227
75
|
this.$element = element;
|
228
|
-
this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
76
|
+
this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default().extend({}, Magellan.defaults, this.$element.data(), options);
|
229
77
|
this.className = 'Magellan'; // ie9 back compat
|
230
|
-
// Triggers init is idempotent, just need to make sure it is initialized
|
231
|
-
|
232
|
-
_foundation_util_triggers__WEBPACK_IMPORTED_MODULE_3__["Triggers"].init(jquery__WEBPACK_IMPORTED_MODULE_0___default.a);
|
233
78
|
|
79
|
+
// Triggers init is idempotent, just need to make sure it is initialized
|
80
|
+
_foundation_util_triggers__WEBPACK_IMPORTED_MODULE_3__.Triggers.init((jquery__WEBPACK_IMPORTED_MODULE_0___default()));
|
234
81
|
this._init();
|
235
|
-
|
236
82
|
this.calcPoints();
|
237
83
|
}
|
84
|
+
|
238
85
|
/**
|
239
86
|
* Initializes the Magellan plugin and calls functions to get equalizer functioning on load.
|
240
87
|
* @private
|
241
88
|
*/
|
242
|
-
|
243
89
|
}, {
|
244
90
|
key: "_init",
|
245
91
|
value: function _init() {
|
246
|
-
var id = this.$element[0].id ||
|
247
|
-
|
248
|
-
var _this = this;
|
249
|
-
|
92
|
+
var id = this.$element[0].id || (0,_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.GetYoDigits)(6, 'magellan');
|
250
93
|
this.$targets = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-magellan-target]');
|
251
94
|
this.$links = this.$element.find('a');
|
252
95
|
this.$element.attr({
|
@@ -256,167 +99,151 @@ function (_Plugin) {
|
|
256
99
|
});
|
257
100
|
this.$active = jquery__WEBPACK_IMPORTED_MODULE_0___default()();
|
258
101
|
this.scrollPos = parseInt(window.pageYOffset, 10);
|
259
|
-
|
260
102
|
this._events();
|
261
103
|
}
|
104
|
+
|
262
105
|
/**
|
263
106
|
* Calculates an array of pixel values that are the demarcation lines between locations on the page.
|
264
107
|
* Can be invoked if new elements are added or the size of a location changes.
|
265
108
|
* @function
|
266
109
|
*/
|
267
|
-
|
268
110
|
}, {
|
269
111
|
key: "calcPoints",
|
270
112
|
value: function calcPoints() {
|
271
113
|
var _this = this,
|
272
|
-
|
273
|
-
|
274
|
-
|
114
|
+
body = document.body,
|
115
|
+
html = document.documentElement;
|
275
116
|
this.points = [];
|
276
117
|
this.winHeight = Math.round(Math.max(window.innerHeight, html.clientHeight));
|
277
118
|
this.docHeight = Math.round(Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight));
|
278
119
|
this.$targets.each(function () {
|
279
120
|
var $tar = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this),
|
280
|
-
|
121
|
+
pt = Math.round($tar.offset().top - _this.options.threshold);
|
281
122
|
$tar.targetPoint = pt;
|
282
|
-
|
283
123
|
_this.points.push(pt);
|
284
124
|
});
|
285
125
|
}
|
126
|
+
|
286
127
|
/**
|
287
128
|
* Initializes events for Magellan.
|
288
129
|
* @private
|
289
130
|
*/
|
290
|
-
|
291
131
|
}, {
|
292
132
|
key: "_events",
|
293
133
|
value: function _events() {
|
294
134
|
var _this = this;
|
295
|
-
|
296
135
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).one('load', function () {
|
297
136
|
if (_this.options.deepLinking) {
|
298
137
|
if (location.hash) {
|
299
138
|
_this.scrollToLoc(location.hash);
|
300
139
|
}
|
301
140
|
}
|
302
|
-
|
303
141
|
_this.calcPoints();
|
304
|
-
|
305
142
|
_this._updateActive();
|
306
143
|
});
|
307
|
-
_this.onLoadListener =
|
144
|
+
_this.onLoadListener = (0,_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.onLoad)(jquery__WEBPACK_IMPORTED_MODULE_0___default()(window), function () {
|
308
145
|
_this.$element.on({
|
309
146
|
'resizeme.zf.trigger': _this.reflow.bind(_this),
|
310
147
|
'scrollme.zf.trigger': _this._updateActive.bind(_this)
|
311
148
|
}).on('click.zf.magellan', 'a[href^="#"]', function (e) {
|
312
149
|
e.preventDefault();
|
313
150
|
var arrival = this.getAttribute('href');
|
314
|
-
|
315
151
|
_this.scrollToLoc(arrival);
|
316
152
|
});
|
317
153
|
});
|
318
|
-
|
319
|
-
this._deepLinkScroll = function (e) {
|
154
|
+
this._deepLinkScroll = function () {
|
320
155
|
if (_this.options.deepLinking) {
|
321
156
|
_this.scrollToLoc(window.location.hash);
|
322
157
|
}
|
323
158
|
};
|
324
|
-
|
325
159
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).on('hashchange', this._deepLinkScroll);
|
326
160
|
}
|
161
|
+
|
327
162
|
/**
|
328
163
|
* Function to scroll to a given location on the page.
|
329
164
|
* @param {String} loc - a properly formatted jQuery id selector. Example: '#foo'
|
330
165
|
* @function
|
331
166
|
*/
|
332
|
-
|
333
167
|
}, {
|
334
168
|
key: "scrollToLoc",
|
335
169
|
value: function scrollToLoc(loc) {
|
336
170
|
this._inTransition = true;
|
337
|
-
|
338
171
|
var _this = this;
|
339
|
-
|
340
172
|
var options = {
|
341
173
|
animationEasing: this.options.animationEasing,
|
342
174
|
animationDuration: this.options.animationDuration,
|
343
175
|
threshold: this.options.threshold,
|
344
176
|
offset: this.options.offset
|
345
177
|
};
|
346
|
-
_foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_2__
|
178
|
+
_foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_2__.SmoothScroll.scrollToLoc(loc, options, function () {
|
347
179
|
_this._inTransition = false;
|
348
180
|
});
|
349
181
|
}
|
182
|
+
|
350
183
|
/**
|
351
184
|
* Calls necessary functions to update Magellan upon DOM change
|
352
185
|
* @function
|
353
186
|
*/
|
354
|
-
|
355
187
|
}, {
|
356
188
|
key: "reflow",
|
357
189
|
value: function reflow() {
|
358
190
|
this.calcPoints();
|
359
|
-
|
360
191
|
this._updateActive();
|
361
192
|
}
|
193
|
+
|
362
194
|
/**
|
363
195
|
* Updates the visibility of an active location link, and updates the url hash for the page, if deepLinking enabled.
|
364
196
|
* @private
|
365
197
|
* @function
|
366
198
|
* @fires Magellan#update
|
367
199
|
*/
|
368
|
-
|
369
200
|
}, {
|
370
201
|
key: "_updateActive",
|
371
|
-
value: function _updateActive(
|
372
|
-
|
373
|
-
{
|
202
|
+
value: function _updateActive(/*evt, elem, scrollPos*/
|
203
|
+
) {
|
374
204
|
var _this2 = this;
|
375
|
-
|
376
205
|
if (this._inTransition) return;
|
377
206
|
var newScrollPos = parseInt(window.pageYOffset, 10);
|
378
207
|
var isScrollingUp = this.scrollPos > newScrollPos;
|
379
208
|
this.scrollPos = newScrollPos;
|
380
|
-
var activeIdx;
|
381
|
-
|
382
|
-
if (newScrollPos < this.points[0]) {}
|
383
|
-
/* do nothing */
|
209
|
+
var activeIdx;
|
210
|
+
// Before the first point: no link
|
211
|
+
if (newScrollPos < this.points[0] - this.options.offset - (isScrollingUp ? this.options.threshold : 0)) {/* do nothing */}
|
384
212
|
// At the bottom of the page: last link
|
385
213
|
else if (newScrollPos + this.winHeight === this.docHeight) {
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
214
|
+
activeIdx = this.points.length - 1;
|
215
|
+
}
|
216
|
+
// Otherwhise, use the last visible link
|
217
|
+
else {
|
218
|
+
var visibleLinks = this.points.filter(function (p) {
|
219
|
+
return p - _this2.options.offset - (isScrollingUp ? _this2.options.threshold : 0) <= newScrollPos;
|
220
|
+
});
|
221
|
+
activeIdx = visibleLinks.length ? visibleLinks.length - 1 : 0;
|
222
|
+
}
|
395
223
|
|
224
|
+
// Get the new active link
|
396
225
|
var $oldActive = this.$active;
|
397
226
|
var activeHash = '';
|
398
|
-
|
399
227
|
if (typeof activeIdx !== 'undefined') {
|
400
228
|
this.$active = this.$links.filter('[href="#' + this.$targets.eq(activeIdx).data('magellan-target') + '"]');
|
401
229
|
if (this.$active.length) activeHash = this.$active[0].getAttribute('href');
|
402
230
|
} else {
|
403
231
|
this.$active = jquery__WEBPACK_IMPORTED_MODULE_0___default()();
|
404
232
|
}
|
405
|
-
|
406
233
|
var isNewActive = !(!this.$active.length && !$oldActive.length) && !this.$active.is($oldActive);
|
407
|
-
var isNewHash = activeHash !== window.location.hash;
|
234
|
+
var isNewHash = activeHash !== window.location.hash;
|
408
235
|
|
236
|
+
// Update the active link element
|
409
237
|
if (isNewActive) {
|
410
238
|
$oldActive.removeClass(this.options.activeClass);
|
411
239
|
this.$active.addClass(this.options.activeClass);
|
412
|
-
}
|
413
|
-
|
240
|
+
}
|
414
241
|
|
242
|
+
// Update the hash (it may have changed with the same active link)
|
415
243
|
if (this.options.deepLinking && isNewHash) {
|
416
244
|
if (window.history.pushState) {
|
417
245
|
// Set or remove the hash (see: https://stackoverflow.com/a/5298684/4317384
|
418
246
|
var url = activeHash ? activeHash : window.location.pathname + window.location.search;
|
419
|
-
|
420
247
|
if (this.options.updateHistory) {
|
421
248
|
window.history.pushState({}, '', url);
|
422
249
|
} else {
|
@@ -426,7 +253,6 @@ function (_Plugin) {
|
|
426
253
|
window.location.hash = activeHash;
|
427
254
|
}
|
428
255
|
}
|
429
|
-
|
430
256
|
if (isNewActive) {
|
431
257
|
/**
|
432
258
|
* Fires when magellan is finished updating to the new active element.
|
@@ -435,33 +261,27 @@ function (_Plugin) {
|
|
435
261
|
this.$element.trigger('update.zf.magellan', [this.$active]);
|
436
262
|
}
|
437
263
|
}
|
264
|
+
|
438
265
|
/**
|
439
266
|
* Destroys an instance of Magellan and resets the url of the window.
|
440
267
|
* @function
|
441
268
|
*/
|
442
|
-
|
443
269
|
}, {
|
444
270
|
key: "_destroy",
|
445
271
|
value: function _destroy() {
|
446
272
|
this.$element.off('.zf.trigger .zf.magellan').find(".".concat(this.options.activeClass)).removeClass(this.options.activeClass);
|
447
|
-
|
448
273
|
if (this.options.deepLinking) {
|
449
274
|
var hash = this.$active[0].getAttribute('href');
|
450
275
|
window.location.hash.replace(hash, '');
|
451
276
|
}
|
452
|
-
|
453
277
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off('hashchange', this._deepLinkScroll);
|
454
278
|
if (this.onLoadListener) jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off(this.onLoadListener);
|
455
279
|
}
|
456
280
|
}]);
|
457
|
-
|
458
|
-
return Magellan;
|
459
|
-
}(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__["Plugin"]);
|
281
|
+
}(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.Plugin);
|
460
282
|
/**
|
461
283
|
* Default settings for plugin
|
462
284
|
*/
|
463
|
-
|
464
|
-
|
465
285
|
Magellan.defaults = {
|
466
286
|
/**
|
467
287
|
* Amount of time, in ms, the animated scrolling should take between locations.
|
@@ -470,7 +290,6 @@ Magellan.defaults = {
|
|
470
290
|
* @default 500
|
471
291
|
*/
|
472
292
|
animationDuration: 500,
|
473
|
-
|
474
293
|
/**
|
475
294
|
* Animation style to use when scrolling between locations. Can be `'swing'` or `'linear'`.
|
476
295
|
* @option
|
@@ -479,7 +298,6 @@ Magellan.defaults = {
|
|
479
298
|
* @see {@link https://api.jquery.com/animate|Jquery animate}
|
480
299
|
*/
|
481
300
|
animationEasing: 'linear',
|
482
|
-
|
483
301
|
/**
|
484
302
|
* Number of pixels to use as a marker for location changes.
|
485
303
|
* @option
|
@@ -487,7 +305,6 @@ Magellan.defaults = {
|
|
487
305
|
* @default 50
|
488
306
|
*/
|
489
307
|
threshold: 50,
|
490
|
-
|
491
308
|
/**
|
492
309
|
* Class applied to the active locations link on the magellan container.
|
493
310
|
* @option
|
@@ -495,7 +312,6 @@ Magellan.defaults = {
|
|
495
312
|
* @default 'is-active'
|
496
313
|
*/
|
497
314
|
activeClass: 'is-active',
|
498
|
-
|
499
315
|
/**
|
500
316
|
* Allows the script to manipulate the url of the current page, and if supported, alter the history.
|
501
317
|
* @option
|
@@ -503,7 +319,6 @@ Magellan.defaults = {
|
|
503
319
|
* @default false
|
504
320
|
*/
|
505
321
|
deepLinking: false,
|
506
|
-
|
507
322
|
/**
|
508
323
|
* Update the browser history with the active link, if deep linking is enabled.
|
509
324
|
* @option
|
@@ -511,7 +326,6 @@ Magellan.defaults = {
|
|
511
326
|
* @default false
|
512
327
|
*/
|
513
328
|
updateHistory: false,
|
514
|
-
|
515
329
|
/**
|
516
330
|
* Number of pixels to offset the scroll of the page on item click if using a sticky nav bar.
|
517
331
|
* @option
|
@@ -528,44 +342,36 @@ Magellan.defaults = {
|
|
528
342
|
/*!****************************************!*\
|
529
343
|
!*** ./js/foundation.util.triggers.js ***!
|
530
344
|
\****************************************/
|
531
|
-
|
532
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
345
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
533
346
|
|
534
|
-
"use strict";
|
535
347
|
__webpack_require__.r(__webpack_exports__);
|
536
|
-
/* harmony export
|
348
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
349
|
+
/* harmony export */ Triggers: function() { return /* binding */ Triggers; }
|
350
|
+
/* harmony export */ });
|
537
351
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
|
538
352
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
539
353
|
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
|
540
354
|
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__);
|
541
355
|
/* harmony import */ var _foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.util.motion */ "./foundation.util.motion");
|
542
356
|
/* harmony import */ var _foundation_util_motion__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__);
|
543
|
-
|
544
|
-
|
545
|
-
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
546
|
-
|
547
|
-
|
357
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
548
358
|
|
549
359
|
|
550
360
|
|
551
361
|
var MutationObserver = function () {
|
552
362
|
var prefixes = ['WebKit', 'Moz', 'O', 'Ms', ''];
|
553
|
-
|
554
363
|
for (var i = 0; i < prefixes.length; i++) {
|
555
364
|
if ("".concat(prefixes[i], "MutationObserver") in window) {
|
556
365
|
return window["".concat(prefixes[i], "MutationObserver")];
|
557
366
|
}
|
558
367
|
}
|
559
|
-
|
560
368
|
return false;
|
561
369
|
}();
|
562
|
-
|
563
370
|
var triggers = function triggers(el, type) {
|
564
371
|
el.data(type).split(' ').forEach(function (id) {
|
565
372
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()("#".concat(id))[type === 'close' ? 'trigger' : 'triggerHandler']("".concat(type, ".zf.trigger"), [el]);
|
566
373
|
});
|
567
374
|
};
|
568
|
-
|
569
375
|
var Triggers = {
|
570
376
|
Listeners: {
|
571
377
|
Basic: {},
|
@@ -579,7 +385,6 @@ Triggers.Listeners.Basic = {
|
|
579
385
|
},
|
580
386
|
closeListener: function closeListener() {
|
581
387
|
var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('close');
|
582
|
-
|
583
388
|
if (id) {
|
584
389
|
triggers(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), 'close');
|
585
390
|
} else {
|
@@ -588,7 +393,6 @@ Triggers.Listeners.Basic = {
|
|
588
393
|
},
|
589
394
|
toggleListener: function toggleListener() {
|
590
395
|
var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('toggle');
|
591
|
-
|
592
396
|
if (id) {
|
593
397
|
triggers(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), 'toggle');
|
594
398
|
} else {
|
@@ -596,12 +400,12 @@ Triggers.Listeners.Basic = {
|
|
596
400
|
}
|
597
401
|
},
|
598
402
|
closeableListener: function closeableListener(e) {
|
599
|
-
var animation = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('closable');
|
403
|
+
var animation = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('closable');
|
600
404
|
|
405
|
+
// Only close the first closable element. See https://git.io/zf-7833
|
601
406
|
e.stopPropagation();
|
602
|
-
|
603
407
|
if (animation !== '') {
|
604
|
-
_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__
|
408
|
+
_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__.Motion.animateOut(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), animation, function () {
|
605
409
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).trigger('closed.zf');
|
606
410
|
});
|
607
411
|
} else {
|
@@ -612,39 +416,40 @@ Triggers.Listeners.Basic = {
|
|
612
416
|
var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('toggle-focus');
|
613
417
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()("#".concat(id)).triggerHandler('toggle.zf.trigger', [jquery__WEBPACK_IMPORTED_MODULE_0___default()(this)]);
|
614
418
|
}
|
615
|
-
};
|
419
|
+
};
|
616
420
|
|
421
|
+
// Elements with [data-open] will reveal a plugin that supports it when clicked.
|
617
422
|
Triggers.Initializers.addOpenListener = function ($elem) {
|
618
423
|
$elem.off('click.zf.trigger', Triggers.Listeners.Basic.openListener);
|
619
424
|
$elem.on('click.zf.trigger', '[data-open]', Triggers.Listeners.Basic.openListener);
|
620
|
-
};
|
621
|
-
// If used without a value on [data-close], the event will bubble, allowing it to close a parent component.
|
622
|
-
|
425
|
+
};
|
623
426
|
|
427
|
+
// Elements with [data-close] will close a plugin that supports it when clicked.
|
428
|
+
// If used without a value on [data-close], the event will bubble, allowing it to close a parent component.
|
624
429
|
Triggers.Initializers.addCloseListener = function ($elem) {
|
625
430
|
$elem.off('click.zf.trigger', Triggers.Listeners.Basic.closeListener);
|
626
431
|
$elem.on('click.zf.trigger', '[data-close]', Triggers.Listeners.Basic.closeListener);
|
627
|
-
};
|
628
|
-
|
432
|
+
};
|
629
433
|
|
434
|
+
// Elements with [data-toggle] will toggle a plugin that supports it when clicked.
|
630
435
|
Triggers.Initializers.addToggleListener = function ($elem) {
|
631
436
|
$elem.off('click.zf.trigger', Triggers.Listeners.Basic.toggleListener);
|
632
437
|
$elem.on('click.zf.trigger', '[data-toggle]', Triggers.Listeners.Basic.toggleListener);
|
633
|
-
};
|
634
|
-
|
438
|
+
};
|
635
439
|
|
440
|
+
// Elements with [data-closable] will respond to close.zf.trigger events.
|
636
441
|
Triggers.Initializers.addCloseableListener = function ($elem) {
|
637
442
|
$elem.off('close.zf.trigger', Triggers.Listeners.Basic.closeableListener);
|
638
443
|
$elem.on('close.zf.trigger', '[data-closeable], [data-closable]', Triggers.Listeners.Basic.closeableListener);
|
639
|
-
};
|
640
|
-
|
444
|
+
};
|
641
445
|
|
446
|
+
// Elements with [data-toggle-focus] will respond to coming in and out of focus
|
642
447
|
Triggers.Initializers.addToggleFocusListener = function ($elem) {
|
643
448
|
$elem.off('focus.zf.trigger blur.zf.trigger', Triggers.Listeners.Basic.toggleFocusListener);
|
644
449
|
$elem.on('focus.zf.trigger blur.zf.trigger', '[data-toggle-focus]', Triggers.Listeners.Basic.toggleFocusListener);
|
645
|
-
};
|
646
|
-
|
450
|
+
};
|
647
451
|
|
452
|
+
// More Global/complex listeners and triggers
|
648
453
|
Triggers.Listeners.Global = {
|
649
454
|
resizeListener: function resizeListener($nodes) {
|
650
455
|
if (!MutationObserver) {
|
@@ -652,9 +457,8 @@ Triggers.Listeners.Global = {
|
|
652
457
|
$nodes.each(function () {
|
653
458
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).triggerHandler('resizeme.zf.trigger');
|
654
459
|
});
|
655
|
-
}
|
656
|
-
|
657
|
-
|
460
|
+
}
|
461
|
+
//trigger all listening elements and signal a resize event
|
658
462
|
$nodes.attr('data-events', "resize");
|
659
463
|
},
|
660
464
|
scrollListener: function scrollListener($nodes) {
|
@@ -663,9 +467,8 @@ Triggers.Listeners.Global = {
|
|
663
467
|
$nodes.each(function () {
|
664
468
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).triggerHandler('scrollme.zf.trigger');
|
665
469
|
});
|
666
|
-
}
|
667
|
-
|
668
|
-
|
470
|
+
}
|
471
|
+
//trigger all listening elements and signal a scroll event
|
669
472
|
$nodes.attr('data-events', "scroll");
|
670
473
|
},
|
671
474
|
closeMeListener: function closeMeListener(e, pluginId) {
|
@@ -673,17 +476,15 @@ Triggers.Listeners.Global = {
|
|
673
476
|
var plugins = jquery__WEBPACK_IMPORTED_MODULE_0___default()("[data-".concat(plugin, "]")).not("[data-yeti-box=\"".concat(pluginId, "\"]"));
|
674
477
|
plugins.each(function () {
|
675
478
|
var _this = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this);
|
676
|
-
|
677
479
|
_this.triggerHandler('close.zf.trigger', [_this]);
|
678
480
|
});
|
679
|
-
}
|
680
|
-
|
481
|
+
}
|
681
482
|
};
|
682
483
|
|
484
|
+
// Global, parses whole document.
|
683
485
|
Triggers.Initializers.addClosemeListener = function (pluginName) {
|
684
486
|
var yetiBoxes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-yeti-box]'),
|
685
|
-
|
686
|
-
|
487
|
+
plugNames = ['dropdown', 'tooltip', 'reveal'];
|
687
488
|
if (pluginName) {
|
688
489
|
if (typeof pluginName === 'string') {
|
689
490
|
plugNames.push(pluginName);
|
@@ -693,7 +494,6 @@ Triggers.Initializers.addClosemeListener = function (pluginName) {
|
|
693
494
|
console.error('Plugin names must be strings');
|
694
495
|
}
|
695
496
|
}
|
696
|
-
|
697
497
|
if (yetiBoxes.length) {
|
698
498
|
var listeners = plugNames.map(function (name) {
|
699
499
|
return "closeme.zf.".concat(name);
|
@@ -701,75 +501,63 @@ Triggers.Initializers.addClosemeListener = function (pluginName) {
|
|
701
501
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off(listeners).on(listeners, Triggers.Listeners.Global.closeMeListener);
|
702
502
|
}
|
703
503
|
};
|
704
|
-
|
705
504
|
function debounceGlobalListener(debounce, trigger, listener) {
|
706
505
|
var timer,
|
707
|
-
|
708
|
-
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).
|
506
|
+
args = Array.prototype.slice.call(arguments, 3);
|
507
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).on(trigger, function () {
|
709
508
|
if (timer) {
|
710
509
|
clearTimeout(timer);
|
711
510
|
}
|
712
|
-
|
713
511
|
timer = setTimeout(function () {
|
714
512
|
listener.apply(null, args);
|
715
513
|
}, debounce || 10); //default time to emit scroll event
|
716
514
|
});
|
717
515
|
}
|
718
|
-
|
719
516
|
Triggers.Initializers.addResizeListener = function (debounce) {
|
720
517
|
var $nodes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-resize]');
|
721
|
-
|
722
518
|
if ($nodes.length) {
|
723
519
|
debounceGlobalListener(debounce, 'resize.zf.trigger', Triggers.Listeners.Global.resizeListener, $nodes);
|
724
520
|
}
|
725
521
|
};
|
726
|
-
|
727
522
|
Triggers.Initializers.addScrollListener = function (debounce) {
|
728
523
|
var $nodes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-scroll]');
|
729
|
-
|
730
524
|
if ($nodes.length) {
|
731
525
|
debounceGlobalListener(debounce, 'scroll.zf.trigger', Triggers.Listeners.Global.scrollListener, $nodes);
|
732
526
|
}
|
733
527
|
};
|
734
|
-
|
735
528
|
Triggers.Initializers.addMutationEventsListener = function ($elem) {
|
736
529
|
if (!MutationObserver) {
|
737
530
|
return false;
|
738
531
|
}
|
532
|
+
var $nodes = $elem.find('[data-resize], [data-scroll], [data-mutate]');
|
739
533
|
|
740
|
-
|
741
|
-
|
534
|
+
//element callback
|
742
535
|
var listeningElementsMutation = function listeningElementsMutation(mutationRecordsList) {
|
743
|
-
var $target = jquery__WEBPACK_IMPORTED_MODULE_0___default()(mutationRecordsList[0].target);
|
536
|
+
var $target = jquery__WEBPACK_IMPORTED_MODULE_0___default()(mutationRecordsList[0].target);
|
744
537
|
|
538
|
+
//trigger the event handler for the element depending on type
|
745
539
|
switch (mutationRecordsList[0].type) {
|
746
540
|
case "attributes":
|
747
541
|
if ($target.attr("data-events") === "scroll" && mutationRecordsList[0].attributeName === "data-events") {
|
748
542
|
$target.triggerHandler('scrollme.zf.trigger', [$target, window.pageYOffset]);
|
749
543
|
}
|
750
|
-
|
751
544
|
if ($target.attr("data-events") === "resize" && mutationRecordsList[0].attributeName === "data-events") {
|
752
545
|
$target.triggerHandler('resizeme.zf.trigger', [$target]);
|
753
546
|
}
|
754
|
-
|
755
547
|
if (mutationRecordsList[0].attributeName === "style") {
|
756
548
|
$target.closest("[data-mutate]").attr("data-events", "mutate");
|
757
549
|
$target.closest("[data-mutate]").triggerHandler('mutateme.zf.trigger', [$target.closest("[data-mutate]")]);
|
758
550
|
}
|
759
|
-
|
760
551
|
break;
|
761
|
-
|
762
552
|
case "childList":
|
763
553
|
$target.closest("[data-mutate]").attr("data-events", "mutate");
|
764
554
|
$target.closest("[data-mutate]").triggerHandler('mutateme.zf.trigger', [$target.closest("[data-mutate]")]);
|
765
555
|
break;
|
766
|
-
|
767
556
|
default:
|
768
557
|
return false;
|
769
558
|
//nothing
|
770
559
|
}
|
771
560
|
};
|
772
|
-
|
773
561
|
if ($nodes.length) {
|
774
562
|
//for each element that needs to listen for resizing, scrolling, or mutation add a single observer
|
775
563
|
for (var i = 0; i <= $nodes.length - 1; i++) {
|
@@ -784,7 +572,6 @@ Triggers.Initializers.addMutationEventsListener = function ($elem) {
|
|
784
572
|
}
|
785
573
|
}
|
786
574
|
};
|
787
|
-
|
788
575
|
Triggers.Initializers.addSimpleListeners = function () {
|
789
576
|
var $document = jquery__WEBPACK_IMPORTED_MODULE_0___default()(document);
|
790
577
|
Triggers.Initializers.addOpenListener($document);
|
@@ -793,44 +580,58 @@ Triggers.Initializers.addSimpleListeners = function () {
|
|
793
580
|
Triggers.Initializers.addCloseableListener($document);
|
794
581
|
Triggers.Initializers.addToggleFocusListener($document);
|
795
582
|
};
|
796
|
-
|
797
583
|
Triggers.Initializers.addGlobalListeners = function () {
|
798
584
|
var $document = jquery__WEBPACK_IMPORTED_MODULE_0___default()(document);
|
799
585
|
Triggers.Initializers.addMutationEventsListener($document);
|
800
|
-
Triggers.Initializers.addResizeListener();
|
586
|
+
Triggers.Initializers.addResizeListener(250);
|
801
587
|
Triggers.Initializers.addScrollListener();
|
802
588
|
Triggers.Initializers.addClosemeListener();
|
803
589
|
};
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
if ($.triggersInitialized !== true) {
|
590
|
+
Triggers.init = function (__, Foundation) {
|
591
|
+
(0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__.onLoad)(jquery__WEBPACK_IMPORTED_MODULE_0___default()(window), function () {
|
592
|
+
if ((jquery__WEBPACK_IMPORTED_MODULE_0___default().triggersInitialized) !== true) {
|
808
593
|
Triggers.Initializers.addSimpleListeners();
|
809
594
|
Triggers.Initializers.addGlobalListeners();
|
810
|
-
|
595
|
+
(jquery__WEBPACK_IMPORTED_MODULE_0___default().triggersInitialized) = true;
|
811
596
|
}
|
812
597
|
});
|
813
|
-
|
814
598
|
if (Foundation) {
|
815
|
-
Foundation.Triggers = Triggers;
|
816
|
-
|
599
|
+
Foundation.Triggers = Triggers;
|
600
|
+
// Legacy included to be backwards compatible for now.
|
817
601
|
Foundation.IHearYou = Triggers.Initializers.addGlobalListeners;
|
818
602
|
}
|
819
603
|
};
|
820
604
|
|
821
605
|
|
606
|
+
/***/ }),
|
607
|
+
|
608
|
+
/***/ "./foundation.core":
|
609
|
+
/*!****************************************************************************************************************************************************************!*\
|
610
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
|
611
|
+
\****************************************************************************************************************************************************************/
|
612
|
+
/***/ (function(module) {
|
613
|
+
|
614
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
|
822
615
|
|
823
616
|
/***/ }),
|
824
617
|
|
825
|
-
/***/
|
826
|
-
|
827
|
-
!***
|
828
|
-
|
829
|
-
|
830
|
-
|
618
|
+
/***/ "./foundation.smoothScroll":
|
619
|
+
/*!************************************************************************************************************************************************************************************************!*\
|
620
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.smoothScroll"],"amd":"./foundation.smoothScroll","commonjs":"./foundation.smoothScroll","commonjs2":"./foundation.smoothScroll"} ***!
|
621
|
+
\************************************************************************************************************************************************************************************************/
|
622
|
+
/***/ (function(module) {
|
623
|
+
|
624
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_smoothScroll__;
|
625
|
+
|
626
|
+
/***/ }),
|
831
627
|
|
832
|
-
|
628
|
+
/***/ "./foundation.util.motion":
|
629
|
+
/*!********************************************************************************************************************************************************************************************!*\
|
630
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.motion"],"amd":"./foundation.util.motion","commonjs":"./foundation.util.motion","commonjs2":"./foundation.util.motion"} ***!
|
631
|
+
\********************************************************************************************************************************************************************************************/
|
632
|
+
/***/ (function(module) {
|
833
633
|
|
634
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__;
|
834
635
|
|
835
636
|
/***/ }),
|
836
637
|
|
@@ -838,13 +639,101 @@ module.exports = __webpack_require__(/*! /Users/joeworkman/Development/foundatio
|
|
838
639
|
/*!********************************************************************************************!*\
|
839
640
|
!*** external {"root":["jQuery"],"amd":"jquery","commonjs":"jquery","commonjs2":"jquery"} ***!
|
840
641
|
\********************************************************************************************/
|
841
|
-
|
842
|
-
/***/ (function(module, exports) {
|
642
|
+
/***/ (function(module) {
|
843
643
|
|
844
644
|
module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
|
845
645
|
|
846
646
|
/***/ })
|
847
647
|
|
848
|
-
/******/
|
648
|
+
/******/ });
|
649
|
+
/************************************************************************/
|
650
|
+
/******/ // The module cache
|
651
|
+
/******/ var __webpack_module_cache__ = {};
|
652
|
+
/******/
|
653
|
+
/******/ // The require function
|
654
|
+
/******/ function __webpack_require__(moduleId) {
|
655
|
+
/******/ // Check if module is in cache
|
656
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
657
|
+
/******/ if (cachedModule !== undefined) {
|
658
|
+
/******/ return cachedModule.exports;
|
659
|
+
/******/ }
|
660
|
+
/******/ // Create a new module (and put it into the cache)
|
661
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
662
|
+
/******/ // no module.id needed
|
663
|
+
/******/ // no module.loaded needed
|
664
|
+
/******/ exports: {}
|
665
|
+
/******/ };
|
666
|
+
/******/
|
667
|
+
/******/ // Execute the module function
|
668
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
669
|
+
/******/
|
670
|
+
/******/ // Return the exports of the module
|
671
|
+
/******/ return module.exports;
|
672
|
+
/******/ }
|
673
|
+
/******/
|
674
|
+
/************************************************************************/
|
675
|
+
/******/ /* webpack/runtime/compat get default export */
|
676
|
+
/******/ !function() {
|
677
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
678
|
+
/******/ __webpack_require__.n = function(module) {
|
679
|
+
/******/ var getter = module && module.__esModule ?
|
680
|
+
/******/ function() { return module['default']; } :
|
681
|
+
/******/ function() { return module; };
|
682
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
683
|
+
/******/ return getter;
|
684
|
+
/******/ };
|
685
|
+
/******/ }();
|
686
|
+
/******/
|
687
|
+
/******/ /* webpack/runtime/define property getters */
|
688
|
+
/******/ !function() {
|
689
|
+
/******/ // define getter functions for harmony exports
|
690
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
691
|
+
/******/ for(var key in definition) {
|
692
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
693
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
694
|
+
/******/ }
|
695
|
+
/******/ }
|
696
|
+
/******/ };
|
697
|
+
/******/ }();
|
698
|
+
/******/
|
699
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
700
|
+
/******/ !function() {
|
701
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
702
|
+
/******/ }();
|
703
|
+
/******/
|
704
|
+
/******/ /* webpack/runtime/make namespace object */
|
705
|
+
/******/ !function() {
|
706
|
+
/******/ // define __esModule on exports
|
707
|
+
/******/ __webpack_require__.r = function(exports) {
|
708
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
709
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
710
|
+
/******/ }
|
711
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
712
|
+
/******/ };
|
713
|
+
/******/ }();
|
714
|
+
/******/
|
715
|
+
/************************************************************************/
|
716
|
+
var __webpack_exports__ = {};
|
717
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
718
|
+
!function() {
|
719
|
+
/*!***************************************************!*\
|
720
|
+
!*** ./js/entries/plugins/foundation.magellan.js ***!
|
721
|
+
\***************************************************/
|
722
|
+
__webpack_require__.r(__webpack_exports__);
|
723
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
724
|
+
/* harmony export */ Foundation: function() { return /* reexport safe */ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation; },
|
725
|
+
/* harmony export */ Magellan: function() { return /* reexport safe */ _foundation_magellan__WEBPACK_IMPORTED_MODULE_1__.Magellan; }
|
726
|
+
/* harmony export */ });
|
727
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
728
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
729
|
+
/* harmony import */ var _foundation_magellan__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.magellan */ "./js/foundation.magellan.js");
|
730
|
+
|
731
|
+
|
732
|
+
_foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation.plugin(_foundation_magellan__WEBPACK_IMPORTED_MODULE_1__.Magellan, 'Magellan');
|
733
|
+
|
734
|
+
}();
|
735
|
+
/******/ return __webpack_exports__;
|
736
|
+
/******/ })()
|
737
|
+
;
|
849
738
|
});
|
850
739
|
//# sourceMappingURL=foundation.magellan.js.map
|