jekyll-theme-pirati 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/elections.yml +7 -0
- data/_data/menu.yml +3 -3
- data/_includes/candidate_badge.html +3 -7
- data/_includes/contacts/basic_contacts.html +30 -50
- data/_includes/contacts/residance.html +1 -1
- data/_includes/footer.html +3 -3
- data/_includes/head.html +6 -8
- data/_includes/header.html +1 -1
- data/_includes/headline-image.html +16 -0
- data/_includes/js/main.html +7 -13
- data/_includes/js/webpack.html +13 -0
- data/_includes/people/{list_2col.html → list-2col.html} +2 -2
- data/_includes/people/{list_group.html → list-group.html} +1 -1
- data/_includes/people/{profile_badge.html → profile-badge.html} +5 -4
- data/_includes/right-bar/bar_garant.html +1 -1
- data/_includes/right-bar/bar_people.html +1 -1
- data/_includes/right-bar/bar_person_contact.html +8 -8
- data/_includes/right-bar/bar_program.html +7 -5
- data/_layouts/contacts.html +47 -51
- data/_layouts/komunalni-volby.html +1 -1
- data/_layouts/page.html +9 -9
- data/_layouts/person.html +5 -0
- data/_layouts/post.html +30 -38
- data/_layouts/team.html +2 -2
- data/_sass/_base.scss +2 -1
- data/_sass/_fonts.scss +42 -0
- data/_sass/_settings.scss +6 -5
- data/_sass/components/BlogPosting.scss +6 -4
- data/_sass/components/contact-bar.scss +2 -2
- data/_sass/components/content-block.scss +11 -0
- data/_sass/components/footer.scss +5 -0
- data/_sass/components/header-bar.scss +2 -2
- data/_sass/components/headline-image.scss +44 -0
- data/_sass/components/metadata-block.scss +29 -0
- data/_sass/components/program.scss +4 -2
- data/_sass/components/tag.scss +10 -11
- data/_sass/components/top-bar.scss +236 -236
- data/_sass/components/typography.scss +43 -0
- data/_sass/components/widget-accordion.scss +12 -7
- data/_sass/foundation-sites/LICENSE +22 -0
- data/_sass/foundation-sites/README.md +44 -0
- data/_sass/foundation-sites/assets/foundation-flex.scss +3 -0
- data/_sass/foundation-sites/assets/foundation-rtl.scss +5 -0
- data/_sass/foundation-sites/assets/foundation.scss +3 -0
- data/_sass/foundation-sites/code-of-conduct.md +43 -0
- data/_sass/foundation-sites/customizer/complete.json +46 -0
- data/_sass/foundation-sites/customizer/config.yml +218 -0
- data/_sass/foundation-sites/customizer/essential.json +11 -0
- data/_sass/foundation-sites/customizer/index.html +169 -0
- data/_sass/foundation-sites/dist/foundation-flex.css +4028 -0
- data/_sass/foundation-sites/dist/foundation-flex.min.css +2 -0
- data/_sass/foundation-sites/dist/foundation-rtl.css +3583 -0
- data/_sass/foundation-sites/dist/foundation-rtl.min.css +2 -0
- data/_sass/foundation-sites/dist/foundation.css +3578 -0
- data/_sass/foundation-sites/dist/foundation.js +9069 -0
- data/_sass/foundation-sites/dist/foundation.min.css +2 -0
- data/_sass/foundation-sites/dist/foundation.min.js +4 -0
- data/_sass/foundation-sites/dist/plugins/foundation.abide.js +600 -0
- data/_sass/foundation-sites/dist/plugins/foundation.accordion.js +262 -0
- data/_sass/foundation-sites/dist/plugins/foundation.accordionMenu.js +307 -0
- data/_sass/foundation-sites/dist/plugins/foundation.core.js +386 -0
- data/_sass/foundation-sites/dist/plugins/foundation.drilldown.js +409 -0
- data/_sass/foundation-sites/dist/plugins/foundation.dropdown.js +447 -0
- data/_sass/foundation-sites/dist/plugins/foundation.dropdownMenu.js +447 -0
- data/_sass/foundation-sites/dist/plugins/foundation.equalizer.js +364 -0
- data/_sass/foundation-sites/dist/plugins/foundation.interchange.js +227 -0
- data/_sass/foundation-sites/dist/plugins/foundation.magellan.js +257 -0
- data/_sass/foundation-sites/dist/plugins/foundation.offcanvas.js +438 -0
- data/_sass/foundation-sites/dist/plugins/foundation.orbit.js +484 -0
- data/_sass/foundation-sites/dist/plugins/foundation.responsiveMenu.js +171 -0
- data/_sass/foundation-sites/dist/plugins/foundation.responsiveToggle.js +142 -0
- data/_sass/foundation-sites/dist/plugins/foundation.reveal.js +623 -0
- data/_sass/foundation-sites/dist/plugins/foundation.slider.js +648 -0
- data/_sass/foundation-sites/dist/plugins/foundation.sticky.js +495 -0
- data/_sass/foundation-sites/dist/plugins/foundation.tabs.js +348 -0
- data/_sass/foundation-sites/dist/plugins/foundation.toggler.js +166 -0
- data/_sass/foundation-sites/dist/plugins/foundation.tooltip.js +468 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.box.js +196 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.keyboard.js +123 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.mediaQuery.js +216 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.motion.js +97 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.nest.js +69 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.timerAndImageLoader.js +84 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.touch.js +352 -0
- data/_sass/foundation-sites/dist/plugins/foundation.util.triggers.js +243 -0
- data/_sass/foundation-sites/docslink.sh +3 -0
- data/_sass/foundation-sites/js/foundation.abide.js +543 -0
- data/_sass/foundation-sites/js/foundation.accordion.js +237 -0
- data/_sass/foundation-sites/js/foundation.accordionMenu.js +274 -0
- data/_sass/foundation-sites/js/foundation.core.js +378 -0
- data/_sass/foundation-sites/js/foundation.drilldown.js +369 -0
- data/_sass/foundation-sites/js/foundation.dropdown.js +409 -0
- data/_sass/foundation-sites/js/foundation.dropdownMenu.js +404 -0
- data/_sass/foundation-sites/js/foundation.equalizer.js +306 -0
- data/_sass/foundation-sites/js/foundation.interchange.js +198 -0
- data/_sass/foundation-sites/js/foundation.magellan.js +223 -0
- data/_sass/foundation-sites/js/foundation.offcanvas.js +398 -0
- data/_sass/foundation-sites/js/foundation.orbit.js +446 -0
- data/_sass/foundation-sites/js/foundation.responsiveMenu.js +148 -0
- data/_sass/foundation-sites/js/foundation.responsiveToggle.js +119 -0
- data/_sass/foundation-sites/js/foundation.reveal.js +576 -0
- data/_sass/foundation-sites/js/foundation.slider.js +597 -0
- data/_sass/foundation-sites/js/foundation.sticky.js +450 -0
- data/_sass/foundation-sites/js/foundation.tabs.js +333 -0
- data/_sass/foundation-sites/js/foundation.toggler.js +144 -0
- data/_sass/foundation-sites/js/foundation.tooltip.js +444 -0
- data/_sass/foundation-sites/js/foundation.util.box.js +195 -0
- data/_sass/foundation-sites/js/foundation.util.keyboard.js +115 -0
- data/_sass/foundation-sites/js/foundation.util.mediaQuery.js +214 -0
- data/_sass/foundation-sites/js/foundation.util.motion.js +99 -0
- data/_sass/foundation-sites/js/foundation.util.nest.js +76 -0
- data/_sass/foundation-sites/js/foundation.util.timerAndImageLoader.js +86 -0
- data/_sass/foundation-sites/js/foundation.util.touch.js +352 -0
- data/_sass/foundation-sites/js/foundation.util.triggers.js +239 -0
- data/_sass/foundation-sites/node_modules/jquery/AUTHORS.txt +278 -0
- data/_sass/foundation-sites/node_modules/jquery/LICENSE.txt +36 -0
- data/_sass/foundation-sites/node_modules/jquery/README.md +65 -0
- data/_sass/foundation-sites/node_modules/jquery/bower.json +14 -0
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.js +9814 -0
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.js +4 -0
- data/_sass/foundation-sites/node_modules/jquery/dist/jquery.min.map +1 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.js +2143 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/_sass/foundation-sites/node_modules/jquery/package.json +112 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax.js +845 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/jsonp.js +100 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/load.js +83 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseJSON.js +13 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/parseXML.js +27 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/script.js +68 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/location.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/nonce.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/var/rquery.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/ajax/xhr.js +167 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes.js +11 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/attr.js +142 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/classes.js +177 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/prop.js +125 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/support.js +36 -0
- data/_sass/foundation-sites/node_modules/jquery/src/attributes/val.js +177 -0
- data/_sass/foundation-sites/node_modules/jquery/src/callbacks.js +232 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core.js +494 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/access.js +65 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/init.js +134 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/parseHTML.js +41 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/ready.js +103 -0
- data/_sass/foundation-sites/node_modules/jquery/src/core/var/rsingleTag.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css.js +502 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/addGetHookIf.js +24 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/adjustCSS.js +65 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/curCSS.js +60 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/defaultDisplay.js +72 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/showHide.js +48 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/support.js +121 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/cssExpand.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/getStyles.js +15 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/isHidden.js +16 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/rmargin.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/css/var/swap.js +24 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data.js +187 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/Data.js +200 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/acceptData.js +18 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataPriv.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/data/var/dataUser.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/deferred.js +158 -0
- data/_sass/foundation-sites/node_modules/jquery/src/deprecated.js +32 -0
- data/_sass/foundation-sites/node_modules/jquery/src/dimensions.js +54 -0
- data/_sass/foundation-sites/node_modules/jquery/src/effects.js +629 -0
- data/_sass/foundation-sites/node_modules/jquery/src/effects/Tween.js +121 -0
- data/_sass/foundation-sites/node_modules/jquery/src/effects/animatedSelector.js +13 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event.js +711 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/ajax.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/alias.js +27 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/focusin.js +53 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/support.js +9 -0
- data/_sass/foundation-sites/node_modules/jquery/src/event/trigger.js +183 -0
- data/_sass/foundation-sites/node_modules/jquery/src/exports/amd.js +24 -0
- data/_sass/foundation-sites/node_modules/jquery/src/exports/global.js +26 -0
- data/_sass/foundation-sites/node_modules/jquery/src/intro.js +44 -0
- data/_sass/foundation-sites/node_modules/jquery/src/jquery.js +37 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation.js +481 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/_evalUrl.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/buildFragment.js +102 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/getAll.js +21 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/support.js +33 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/var/rtagName.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/manipulation/wrapMap.js +27 -0
- data/_sass/foundation-sites/node_modules/jquery/src/offset.js +218 -0
- data/_sass/foundation-sites/node_modules/jquery/src/outro.js +2 -0
- data/_sass/foundation-sites/node_modules/jquery/src/queue.js +143 -0
- data/_sass/foundation-sites/node_modules/jquery/src/queue/delay.js +22 -0
- data/_sass/foundation-sites/node_modules/jquery/src/selector-native.js +211 -0
- data/_sass/foundation-sites/node_modules/jquery/src/selector-sizzle.js +14 -0
- data/_sass/foundation-sites/node_modules/jquery/src/selector.js +1 -0
- data/_sass/foundation-sites/node_modules/jquery/src/serialize.js +125 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing.js +175 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/findFilter.js +100 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/dir.js +20 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/_sass/foundation-sites/node_modules/jquery/src/traversing/var/siblings.js +15 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/arr.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/class2type.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/concat.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/document.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/documentElement.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/hasOwn.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/indexOf.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/pnum.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/push.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/rcssNum.js +7 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/rnotwhite.js +3 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/slice.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/support.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/var/toString.js +5 -0
- data/_sass/foundation-sites/node_modules/jquery/src/wrap.js +79 -0
- data/_sass/foundation-sites/package.json +148 -0
- data/_sass/foundation-sites/scss/_global.scss +638 -0
- data/_sass/foundation-sites/scss/components/_accordion-menu.scss +32 -0
- data/_sass/foundation-sites/scss/components/_accordion.scss +129 -0
- data/_sass/foundation-sites/scss/components/_badge.scss +55 -0
- data/_sass/foundation-sites/scss/components/_breadcrumbs.scss +95 -0
- data/_sass/foundation-sites/scss/components/_button-group.scss +195 -0
- data/_sass/foundation-sites/scss/components/_button.scss +265 -0
- data/_sass/foundation-sites/scss/components/_callout.scss +105 -0
- data/_sass/foundation-sites/scss/components/_close-button.scss +61 -0
- data/_sass/foundation-sites/scss/components/_drilldown.scss +79 -0
- data/_sass/foundation-sites/scss/components/_dropdown-menu.scss +221 -0
- data/_sass/foundation-sites/scss/components/_dropdown.scss +65 -0
- data/_sass/foundation-sites/scss/components/_flex-video.scss +63 -0
- data/_sass/foundation-sites/scss/components/_flex.scss +28 -0
- data/_sass/foundation-sites/scss/components/_float.scss +27 -0
- data/_sass/foundation-sites/scss/components/_label.scss +56 -0
- data/_sass/foundation-sites/scss/components/_media-object.scss +115 -0
- data/_sass/foundation-sites/scss/components/_menu-icon.scss +9 -0
- data/_sass/foundation-sites/scss/components/_menu.scss +314 -0
- data/_sass/foundation-sites/scss/components/_off-canvas.scss +177 -0
- data/_sass/foundation-sites/scss/components/_orbit.scss +193 -0
- data/_sass/foundation-sites/scss/components/_pagination.scss +162 -0
- data/_sass/foundation-sites/scss/components/_progress-bar.scss +64 -0
- data/_sass/foundation-sites/scss/components/_reveal.scss +172 -0
- data/_sass/foundation-sites/scss/components/_slider.scss +133 -0
- data/_sass/foundation-sites/scss/components/_sticky.scss +38 -0
- data/_sass/foundation-sites/scss/components/_switch.scss +232 -0
- data/_sass/foundation-sites/scss/components/_table.scss +234 -0
- data/_sass/foundation-sites/scss/components/_tabs.scss +165 -0
- data/_sass/foundation-sites/scss/components/_thumbnail.scss +54 -0
- data/_sass/foundation-sites/scss/components/_title-bar.scss +89 -0
- data/_sass/foundation-sites/scss/components/_tooltip.scss +104 -0
- data/_sass/foundation-sites/scss/components/_top-bar.scss +168 -0
- data/_sass/foundation-sites/scss/components/_visibility.scss +132 -0
- data/_sass/foundation-sites/scss/forms/_checkbox.scss +40 -0
- data/_sass/foundation-sites/scss/forms/_error.scss +84 -0
- data/_sass/foundation-sites/scss/forms/_fieldset.scss +54 -0
- data/_sass/foundation-sites/scss/forms/_forms.scss +34 -0
- data/_sass/foundation-sites/scss/forms/_help-text.scss +30 -0
- data/_sass/foundation-sites/scss/forms/_input-group.scss +128 -0
- data/_sass/foundation-sites/scss/forms/_label.scss +48 -0
- data/_sass/foundation-sites/scss/forms/_meter.scss +109 -0
- data/_sass/foundation-sites/scss/forms/_progress.scss +85 -0
- data/_sass/foundation-sites/scss/forms/_range.scss +144 -0
- data/_sass/foundation-sites/scss/forms/_select.scss +67 -0
- data/_sass/foundation-sites/scss/forms/_text.scss +163 -0
- data/_sass/foundation-sites/scss/foundation.scss +102 -0
- data/_sass/foundation-sites/scss/grid/_classes.scss +151 -0
- data/_sass/foundation-sites/scss/grid/_column.scss +126 -0
- data/_sass/foundation-sites/scss/grid/_flex-grid.scss +274 -0
- data/_sass/foundation-sites/scss/grid/_grid.scss +60 -0
- data/_sass/foundation-sites/scss/grid/_gutter.scss +34 -0
- data/_sass/foundation-sites/scss/grid/_layout.scss +51 -0
- data/_sass/foundation-sites/scss/grid/_position.scss +73 -0
- data/_sass/foundation-sites/scss/grid/_row.scss +95 -0
- data/_sass/foundation-sites/scss/grid/_size.scss +24 -0
- data/_sass/foundation-sites/scss/settings/_settings.scss +567 -0
- data/_sass/foundation-sites/scss/typography/_alignment.scss +22 -0
- data/_sass/foundation-sites/scss/typography/_base.scss +443 -0
- data/_sass/foundation-sites/scss/typography/_helpers.scss +77 -0
- data/_sass/foundation-sites/scss/typography/_print.scss +77 -0
- data/_sass/foundation-sites/scss/typography/_typography.scss +28 -0
- data/_sass/foundation-sites/scss/util/_breakpoint.scss +275 -0
- data/_sass/foundation-sites/scss/util/_color.scss +60 -0
- data/_sass/foundation-sites/scss/util/_flex.scss +68 -0
- data/_sass/foundation-sites/scss/util/_mixins.scss +235 -0
- data/_sass/foundation-sites/scss/util/_selector.scss +40 -0
- data/_sass/foundation-sites/scss/util/_unit.scss +90 -0
- data/_sass/foundation-sites/scss/util/_util.scss +11 -0
- data/_sass/foundation-sites/scss/util/_value.scss +107 -0
- data/_sass/foundation-sites/vendor/fastclick/LICENSE +22 -0
- data/_sass/foundation-sites/vendor/fastclick/README.md +140 -0
- data/_sass/foundation-sites/vendor/jquery-placeholder/jquery.placeholder.js +192 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/content/styles.css +9 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/devbridge-autocomplete.jquery.json +28 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.js +823 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/jquery.autocomplete.min.js +29 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/dist/license.txt +21 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/index.htm +48 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/license.txt +21 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/readme.md +165 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/countries.js +266 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/demo.js +68 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery-1.8.2.min.js +2 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/scripts/jquery.mockjax.js +564 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.d.ts +40 -0
- data/_sass/foundation-sites/vendor/jquery.autocomplete/src/jquery.autocomplete.js +823 -0
- data/_sass/foundation-sites/vendor/jquery.cookie/jquery.cookie.js +117 -0
- data/_sass/foundation-sites/vendor/jquery/AUTHORS.txt +278 -0
- data/_sass/foundation-sites/vendor/jquery/LICENSE.txt +36 -0
- data/_sass/foundation-sites/vendor/jquery/README.md +65 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.js +9842 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.js +4 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.min.map +1 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.js +7877 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.js +4 -0
- data/_sass/foundation-sites/vendor/jquery/dist/jquery.slim.min.map +1 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/LICENSE.txt +36 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.js +2143 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/sizzle/dist/sizzle.min.map +1 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax.js +845 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/jsonp.js +100 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/load.js +83 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/parseJSON.js +13 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/parseXML.js +27 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/script.js +68 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/location.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/nonce.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/var/rquery.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/ajax/xhr.js +167 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes.js +11 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/attr.js +142 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/classes.js +177 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/prop.js +125 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/support.js +36 -0
- data/_sass/foundation-sites/vendor/jquery/src/attributes/val.js +177 -0
- data/_sass/foundation-sites/vendor/jquery/src/callbacks.js +232 -0
- data/_sass/foundation-sites/vendor/jquery/src/core.js +494 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/DOMEval.js +14 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/access.js +65 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/init.js +134 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/parseHTML.js +41 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/ready.js +103 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/support.js +18 -0
- data/_sass/foundation-sites/vendor/jquery/src/core/var/rsingleTag.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/css.js +515 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/addGetHookIf.js +24 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/adjustCSS.js +65 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/curCSS.js +60 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/defaultDisplay.js +72 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/showHide.js +48 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/support.js +121 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/cssExpand.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/getStyles.js +15 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/isHidden.js +16 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/rmargin.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/rnumnonpx.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/css/var/swap.js +24 -0
- data/_sass/foundation-sites/vendor/jquery/src/data.js +187 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/Data.js +200 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/accepts.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/support.js +23 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/var/acceptData.js +18 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/var/dataPriv.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/data/var/dataUser.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/deferred.js +158 -0
- data/_sass/foundation-sites/vendor/jquery/src/deferred/exceptionHook.js +19 -0
- data/_sass/foundation-sites/vendor/jquery/src/deprecated.js +32 -0
- data/_sass/foundation-sites/vendor/jquery/src/dimensions.js +54 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects.js +629 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects/Tween.js +121 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects/animatedSelector.js +13 -0
- data/_sass/foundation-sites/vendor/jquery/src/effects/support.js +58 -0
- data/_sass/foundation-sites/vendor/jquery/src/event.js +710 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/ajax.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/alias.js +27 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/focusin.js +53 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/support.js +9 -0
- data/_sass/foundation-sites/vendor/jquery/src/event/trigger.js +199 -0
- data/_sass/foundation-sites/vendor/jquery/src/exports/amd.js +24 -0
- data/_sass/foundation-sites/vendor/jquery/src/exports/global.js +26 -0
- data/_sass/foundation-sites/vendor/jquery/src/intro.js +44 -0
- data/_sass/foundation-sites/vendor/jquery/src/jquery.js +37 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation.js +481 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/_evalUrl.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/buildFragment.js +102 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/createSafeFragment.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/getAll.js +21 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/support.js +33 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/nodeNames.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rleadingWhitespace.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/var/rtagName.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/manipulation/wrapMap.js +27 -0
- data/_sass/foundation-sites/vendor/jquery/src/offset.js +218 -0
- data/_sass/foundation-sites/vendor/jquery/src/outro.js +2 -0
- data/_sass/foundation-sites/vendor/jquery/src/queue.js +143 -0
- data/_sass/foundation-sites/vendor/jquery/src/queue/delay.js +22 -0
- data/_sass/foundation-sites/vendor/jquery/src/selector-native.js +211 -0
- data/_sass/foundation-sites/vendor/jquery/src/selector-sizzle.js +14 -0
- data/_sass/foundation-sites/vendor/jquery/src/selector.js +1 -0
- data/_sass/foundation-sites/vendor/jquery/src/serialize.js +125 -0
- data/_sass/foundation-sites/vendor/jquery/src/support.js +63 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing.js +175 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/findFilter.js +100 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/dir.js +20 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/_sass/foundation-sites/vendor/jquery/src/traversing/var/siblings.js +15 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/arr.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/class2type.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/concat.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/deletedIds.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/document.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/documentElement.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/hasOwn.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/indexOf.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/pnum.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/push.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/rcssNum.js +7 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/rnotwhite.js +3 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/slice.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/support.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/var/toString.js +5 -0
- data/_sass/foundation-sites/vendor/jquery/src/wrap.js +79 -0
- data/_sass/foundation-sites/vendor/lodash/LICENSE.txt +22 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.js +7158 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.compat.min.js +92 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.js +6786 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.min.js +87 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.js +4979 -0
- data/_sass/foundation-sites/vendor/lodash/dist/lodash.underscore.min.js +39 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/a-download.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-audiodata-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/audio-webaudio-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-api.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/battery-level.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/blob-constructor.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/canvas-todataurl-type.js +28 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contenteditable.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contentsecuritypolicy.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/contextmenu.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/cookies.js +15 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/cors.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-shorthand.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundposition-xy.js +15 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundrepeat.js +31 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-backgroundsizecover.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-boxsizing.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-calc.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-cubicbezierrange.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displayrunin.js +18 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-displaytable.js +27 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-filters.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-hyphens.js +205 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-lastchild.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mask.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-mediaqueries.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-objectfit.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-overflow-scrolling.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-pointerevents.js +25 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-positionsticky.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-regions.js +55 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-remunit.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-resize.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-scrollbars.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-shapes.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-subpixelfont.js +23 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-supports.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-userselect.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vhunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vmaxunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vminunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/css-vwunit.js +14 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/custom-protocol-handler.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dart.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dataview-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-classlist.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-createElement-attrs.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-dataset.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/dom-microdata.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-datalist.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-details.js +25 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-output.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-progress-meter.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-ruby.js +53 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-time.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/elem-track.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/emoji.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/es5-strictmode.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/event-deviceorientation-motion.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/exif-orientation.js +32 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-api.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/file-filesystem.js +9 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-fileinput.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-formattribute.js +29 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-inputnumber-l10n.js +32 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-placeholder.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-speechinput.js +19 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/forms-validation.js +62 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/fullscreen-api.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/gamepad.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/getusermedia.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/ie8compat.js +12 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-sandbox.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-seamless.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/iframe-srcdoc.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-apng.js +26 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/img-webp.js +20 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/json.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/lists-reversed.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/mathml.js +23 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-connection.js +22 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-eventsource.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/network-xhr2.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/notification.js +10 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/performance.js +5 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/pointerlock-api.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/quota-management-api.js +11 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/requestanimationframe.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-async.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/script-defer.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/style-scoped.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/svg-filters.js +13 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/unicode.js +32 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/url-data-uri.js +26 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/userdata.js +7 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/vibration.js +4 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/web-intents.js +6 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/webgl-extensions.js +42 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/websockets-binary.js +20 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/window-framed.js +8 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-blobworkers.js +66 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-dataworkers.js +34 -0
- data/_sass/foundation-sites/vendor/modernizr/feature-detects/workers-sharedworkers.js +3 -0
- data/_sass/foundation-sites/vendor/modernizr/grunt.js +69 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.ai +292 -1
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.eps +0 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.pdf +292 -1
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.png +0 -0
- data/_sass/foundation-sites/vendor/modernizr/media/Modernizr 2 Logo.svg +35 -0
- data/_sass/foundation-sites/vendor/modernizr/modernizr.js +1406 -0
- data/_sass/foundation-sites/vendor/modernizr/readme.md +28 -0
- data/_sass/objects/media.scss +7 -2
- data/_sass/objects/section.scss +5 -5
- data/assets/css/main.scss +7 -1
- data/assets/fonts/BebasNeue-Thin.ttf +0 -0
- data/assets/fonts/BebasNeue-Thin.woff +0 -0
- data/assets/fonts/BebasNeueBold.ttf +0 -0
- data/assets/fonts/BebasNeueBold.woff +0 -0
- data/assets/fonts/BebasNeueBook.ttf +0 -0
- data/assets/fonts/BebasNeueBook.woff +0 -0
- data/assets/fonts/BebasNeueLight.ttf +0 -0
- data/assets/fonts/BebasNeueLight.woff +0 -0
- data/assets/fonts/BebasNeueRegular.ttf +0 -0
- data/assets/fonts/BebasNeueRegular.woff +0 -0
- data/assets/fonts/demo.html +311 -0
- data/assets/fonts/stylesheet.css +40 -0
- data/assets/img/people/unknown-pirate.svg +3 -0
- data/assets/js/0.main.98ff15822eba72edef32.js +51 -0
- data/assets/js/0.main.98ff15822eba72edef32.js.map +1 -0
- data/assets/js/main.98ff15822eba72edef32.css +3 -0
- data/assets/js/main.98ff15822eba72edef32.css.map +1 -0
- data/assets/js/main.98ff15822eba72edef32.js +1 -0
- data/assets/js/main.98ff15822eba72edef32.js.map +1 -0
- data/jekyll-theme-pirati.gemspec +26 -0
- metadata +549 -20
- data/_sass/components/BasicPage.scss +0 -469
- data/assets/fonts/bebasneue_regular-webfont.eot +0 -0
- data/assets/fonts/bebasneue_regular-webfont.svg +0 -3906
- data/assets/fonts/bebasneue_regular-webfont.ttf +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff2 +0 -0
- data/assets/js/apps.js +0 -8
- data/assets/js/apps/scroll-top/ScrollTop.vue +0 -83
- data/assets/js/apps/scroll-top/index.js +0 -9
- data/assets/js/apps/site-search/SiteSearch.vue +0 -85
- data/assets/js/apps/site-search/SiteSearchItemTemplate.vue +0 -29
- data/assets/js/apps/site-search/index.js +0 -14
- data/assets/js/index.js +0 -52
@@ -0,0 +1,99 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
!function($) {
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Motion module.
|
7
|
+
* @module foundation.motion
|
8
|
+
*/
|
9
|
+
|
10
|
+
const initClasses = ['mui-enter', 'mui-leave'];
|
11
|
+
const activeClasses = ['mui-enter-active', 'mui-leave-active'];
|
12
|
+
|
13
|
+
const Motion = {
|
14
|
+
animateIn: function(element, animation, cb) {
|
15
|
+
animate(true, element, animation, cb);
|
16
|
+
},
|
17
|
+
|
18
|
+
animateOut: function(element, animation, cb) {
|
19
|
+
animate(false, element, animation, cb);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
function Move(duration, elem, fn){
|
24
|
+
var anim, prog, start = null;
|
25
|
+
// console.log('called');
|
26
|
+
|
27
|
+
function move(ts){
|
28
|
+
if(!start) start = window.performance.now();
|
29
|
+
// console.log(start, ts);
|
30
|
+
prog = ts - start;
|
31
|
+
fn.apply(elem);
|
32
|
+
|
33
|
+
if(prog < duration){ anim = window.requestAnimationFrame(move, elem); }
|
34
|
+
else{
|
35
|
+
window.cancelAnimationFrame(anim);
|
36
|
+
elem.trigger('finished.zf.animate', [elem]).triggerHandler('finished.zf.animate', [elem]);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
anim = window.requestAnimationFrame(move);
|
40
|
+
}
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Animates an element in or out using a CSS transition class.
|
44
|
+
* @function
|
45
|
+
* @private
|
46
|
+
* @param {Boolean} isIn - Defines if the animation is in or out.
|
47
|
+
* @param {Object} element - jQuery or HTML object to animate.
|
48
|
+
* @param {String} animation - CSS class to use.
|
49
|
+
* @param {Function} cb - Callback to run when animation is finished.
|
50
|
+
*/
|
51
|
+
function animate(isIn, element, animation, cb) {
|
52
|
+
element = $(element).eq(0);
|
53
|
+
|
54
|
+
if (!element.length) return;
|
55
|
+
|
56
|
+
var initClass = isIn ? initClasses[0] : initClasses[1];
|
57
|
+
var activeClass = isIn ? activeClasses[0] : activeClasses[1];
|
58
|
+
|
59
|
+
// Set up the animation
|
60
|
+
reset();
|
61
|
+
|
62
|
+
element
|
63
|
+
.addClass(animation)
|
64
|
+
.css('transition', 'none');
|
65
|
+
|
66
|
+
requestAnimationFrame(() => {
|
67
|
+
element.addClass(initClass);
|
68
|
+
if (isIn) element.show();
|
69
|
+
});
|
70
|
+
|
71
|
+
// Start the animation
|
72
|
+
requestAnimationFrame(() => {
|
73
|
+
element[0].offsetWidth;
|
74
|
+
element
|
75
|
+
.css('transition', '')
|
76
|
+
.addClass(activeClass);
|
77
|
+
});
|
78
|
+
|
79
|
+
// Clean up the animation when it finishes
|
80
|
+
element.one(Foundation.transitionend(element), finish);
|
81
|
+
|
82
|
+
// Hides the element (for out animations), resets the element, and runs a callback
|
83
|
+
function finish() {
|
84
|
+
if (!isIn) element.hide();
|
85
|
+
reset();
|
86
|
+
if (cb) cb.apply(element);
|
87
|
+
}
|
88
|
+
|
89
|
+
// Resets transitions and removes motion-specific classes
|
90
|
+
function reset() {
|
91
|
+
element[0].style.transitionDuration = 0;
|
92
|
+
element.removeClass(`${initClass} ${activeClass} ${animation}`);
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
Foundation.Move = Move;
|
97
|
+
Foundation.Motion = Motion;
|
98
|
+
|
99
|
+
}(jQuery);
|
@@ -0,0 +1,76 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
!function($) {
|
4
|
+
|
5
|
+
const Nest = {
|
6
|
+
Feather(menu, type = 'zf') {
|
7
|
+
menu.attr('role', 'menubar');
|
8
|
+
|
9
|
+
var items = menu.find('li').attr({'role': 'menuitem'}),
|
10
|
+
subMenuClass = `is-${type}-submenu`,
|
11
|
+
subItemClass = `${subMenuClass}-item`,
|
12
|
+
hasSubClass = `is-${type}-submenu-parent`;
|
13
|
+
|
14
|
+
menu.find('a:first').attr('tabindex', 0);
|
15
|
+
|
16
|
+
items.each(function() {
|
17
|
+
var $item = $(this),
|
18
|
+
$sub = $item.children('ul');
|
19
|
+
|
20
|
+
if ($sub.length) {
|
21
|
+
$item
|
22
|
+
.addClass(hasSubClass)
|
23
|
+
.attr({
|
24
|
+
'aria-haspopup': true,
|
25
|
+
'aria-expanded': false,
|
26
|
+
'aria-label': $item.children('a:first').text()
|
27
|
+
});
|
28
|
+
|
29
|
+
$sub
|
30
|
+
.addClass(`submenu ${subMenuClass}`)
|
31
|
+
.attr({
|
32
|
+
'data-submenu': '',
|
33
|
+
'aria-hidden': true,
|
34
|
+
'role': 'menu'
|
35
|
+
});
|
36
|
+
}
|
37
|
+
|
38
|
+
if ($item.parent('[data-submenu]').length) {
|
39
|
+
$item.addClass(`is-submenu-item ${subItemClass}`);
|
40
|
+
}
|
41
|
+
});
|
42
|
+
|
43
|
+
return;
|
44
|
+
},
|
45
|
+
|
46
|
+
Burn(menu, type) {
|
47
|
+
var items = menu.find('li').removeAttr('tabindex'),
|
48
|
+
subMenuClass = `is-${type}-submenu`,
|
49
|
+
subItemClass = `${subMenuClass}-item`,
|
50
|
+
hasSubClass = `is-${type}-submenu-parent`;
|
51
|
+
|
52
|
+
menu
|
53
|
+
.find('*')
|
54
|
+
.removeClass(`${subMenuClass} ${subItemClass} ${hasSubClass} is-submenu-item submenu is-active`)
|
55
|
+
.removeAttr('data-submenu').css('display', '');
|
56
|
+
|
57
|
+
// console.log( menu.find('.' + subMenuClass + ', .' + subItemClass + ', .has-submenu, .is-submenu-item, .submenu, [data-submenu]')
|
58
|
+
// .removeClass(subMenuClass + ' ' + subItemClass + ' has-submenu is-submenu-item submenu')
|
59
|
+
// .removeAttr('data-submenu'));
|
60
|
+
// items.each(function(){
|
61
|
+
// var $item = $(this),
|
62
|
+
// $sub = $item.children('ul');
|
63
|
+
// if($item.parent('[data-submenu]').length){
|
64
|
+
// $item.removeClass('is-submenu-item ' + subItemClass);
|
65
|
+
// }
|
66
|
+
// if($sub.length){
|
67
|
+
// $item.removeClass('has-submenu');
|
68
|
+
// $sub.removeClass('submenu ' + subMenuClass).removeAttr('data-submenu');
|
69
|
+
// }
|
70
|
+
// });
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
Foundation.Nest = Nest;
|
75
|
+
|
76
|
+
}(jQuery);
|
@@ -0,0 +1,86 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
!function($) {
|
4
|
+
|
5
|
+
function Timer(elem, options, cb) {
|
6
|
+
var _this = this,
|
7
|
+
duration = options.duration,//options is an object for easily adding features later.
|
8
|
+
nameSpace = Object.keys(elem.data())[0] || 'timer',
|
9
|
+
remain = -1,
|
10
|
+
start,
|
11
|
+
timer;
|
12
|
+
|
13
|
+
this.isPaused = false;
|
14
|
+
|
15
|
+
this.restart = function() {
|
16
|
+
remain = -1;
|
17
|
+
clearTimeout(timer);
|
18
|
+
this.start();
|
19
|
+
}
|
20
|
+
|
21
|
+
this.start = function() {
|
22
|
+
this.isPaused = false;
|
23
|
+
// if(!elem.data('paused')){ return false; }//maybe implement this sanity check if used for other things.
|
24
|
+
clearTimeout(timer);
|
25
|
+
remain = remain <= 0 ? duration : remain;
|
26
|
+
elem.data('paused', false);
|
27
|
+
start = Date.now();
|
28
|
+
timer = setTimeout(function(){
|
29
|
+
if(options.infinite){
|
30
|
+
_this.restart();//rerun the timer.
|
31
|
+
}
|
32
|
+
cb();
|
33
|
+
}, remain);
|
34
|
+
elem.trigger(`timerstart.zf.${nameSpace}`);
|
35
|
+
}
|
36
|
+
|
37
|
+
this.pause = function() {
|
38
|
+
this.isPaused = true;
|
39
|
+
//if(elem.data('paused')){ return false; }//maybe implement this sanity check if used for other things.
|
40
|
+
clearTimeout(timer);
|
41
|
+
elem.data('paused', true);
|
42
|
+
var end = Date.now();
|
43
|
+
remain = remain - (end - start);
|
44
|
+
elem.trigger(`timerpaused.zf.${nameSpace}`);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Runs a callback function when images are fully loaded.
|
50
|
+
* @param {Object} images - Image(s) to check if loaded.
|
51
|
+
* @param {Func} callback - Function to execute when image is fully loaded.
|
52
|
+
*/
|
53
|
+
function onImagesLoaded(images, callback){
|
54
|
+
var self = this,
|
55
|
+
unloaded = images.length;
|
56
|
+
|
57
|
+
if (unloaded === 0) {
|
58
|
+
callback();
|
59
|
+
}
|
60
|
+
|
61
|
+
images.each(function() {
|
62
|
+
if (this.complete) {
|
63
|
+
singleImageLoaded();
|
64
|
+
}
|
65
|
+
else if (typeof this.naturalWidth !== 'undefined' && this.naturalWidth > 0) {
|
66
|
+
singleImageLoaded();
|
67
|
+
}
|
68
|
+
else {
|
69
|
+
$(this).one('load', function() {
|
70
|
+
singleImageLoaded();
|
71
|
+
});
|
72
|
+
}
|
73
|
+
});
|
74
|
+
|
75
|
+
function singleImageLoaded() {
|
76
|
+
unloaded--;
|
77
|
+
if (unloaded === 0) {
|
78
|
+
callback();
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
Foundation.Timer = Timer;
|
84
|
+
Foundation.onImagesLoaded = onImagesLoaded;
|
85
|
+
|
86
|
+
}(jQuery);
|
@@ -0,0 +1,352 @@
|
|
1
|
+
//**************************************************
|
2
|
+
//**Work inspired by multiple jquery swipe plugins**
|
3
|
+
//**Done by Yohai Ararat ***************************
|
4
|
+
//**************************************************
|
5
|
+
(function($) {
|
6
|
+
|
7
|
+
$.spotSwipe = {
|
8
|
+
version: '1.0.0',
|
9
|
+
enabled: 'ontouchstart' in document.documentElement,
|
10
|
+
preventDefault: false,
|
11
|
+
moveThreshold: 75,
|
12
|
+
timeThreshold: 200
|
13
|
+
};
|
14
|
+
|
15
|
+
var startPosX,
|
16
|
+
startPosY,
|
17
|
+
startTime,
|
18
|
+
elapsedTime,
|
19
|
+
isMoving = false;
|
20
|
+
|
21
|
+
function onTouchEnd() {
|
22
|
+
// alert(this);
|
23
|
+
this.removeEventListener('touchmove', onTouchMove);
|
24
|
+
this.removeEventListener('touchend', onTouchEnd);
|
25
|
+
isMoving = false;
|
26
|
+
}
|
27
|
+
|
28
|
+
function onTouchMove(e) {
|
29
|
+
if ($.spotSwipe.preventDefault) { e.preventDefault(); }
|
30
|
+
if(isMoving) {
|
31
|
+
var x = e.touches[0].pageX;
|
32
|
+
var y = e.touches[0].pageY;
|
33
|
+
var dx = startPosX - x;
|
34
|
+
var dy = startPosY - y;
|
35
|
+
var dir;
|
36
|
+
elapsedTime = new Date().getTime() - startTime;
|
37
|
+
if(Math.abs(dx) >= $.spotSwipe.moveThreshold && elapsedTime <= $.spotSwipe.timeThreshold) {
|
38
|
+
dir = dx > 0 ? 'left' : 'right';
|
39
|
+
}
|
40
|
+
// else if(Math.abs(dy) >= $.spotSwipe.moveThreshold && elapsedTime <= $.spotSwipe.timeThreshold) {
|
41
|
+
// dir = dy > 0 ? 'down' : 'up';
|
42
|
+
// }
|
43
|
+
if(dir) {
|
44
|
+
e.preventDefault();
|
45
|
+
onTouchEnd.call(this);
|
46
|
+
$(this).trigger('swipe', dir).trigger(`swipe${dir}`);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
function onTouchStart(e) {
|
52
|
+
if (e.touches.length == 1) {
|
53
|
+
startPosX = e.touches[0].pageX;
|
54
|
+
startPosY = e.touches[0].pageY;
|
55
|
+
isMoving = true;
|
56
|
+
startTime = new Date().getTime();
|
57
|
+
this.addEventListener('touchmove', onTouchMove, false);
|
58
|
+
this.addEventListener('touchend', onTouchEnd, false);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
function init() {
|
63
|
+
this.addEventListener && this.addEventListener('touchstart', onTouchStart, false);
|
64
|
+
}
|
65
|
+
|
66
|
+
function teardown() {
|
67
|
+
this.removeEventListener('touchstart', onTouchStart);
|
68
|
+
}
|
69
|
+
|
70
|
+
$.event.special.swipe = { setup: init };
|
71
|
+
|
72
|
+
$.each(['left', 'up', 'down', 'right'], function () {
|
73
|
+
$.event.special[`swipe${this}`] = { setup: function(){
|
74
|
+
$(this).on('swipe', $.noop);
|
75
|
+
} };
|
76
|
+
});
|
77
|
+
})(jQuery);
|
78
|
+
/****************************************************
|
79
|
+
* Method for adding psuedo drag events to elements *
|
80
|
+
***************************************************/
|
81
|
+
!function($){
|
82
|
+
$.fn.addTouch = function(){
|
83
|
+
this.each(function(i,el){
|
84
|
+
$(el).bind('touchstart touchmove touchend touchcancel',function(){
|
85
|
+
//we pass the original event object because the jQuery event
|
86
|
+
//object is normalized to w3c specs and does not provide the TouchList
|
87
|
+
handleTouch(event);
|
88
|
+
});
|
89
|
+
});
|
90
|
+
|
91
|
+
var handleTouch = function(event){
|
92
|
+
var touches = event.changedTouches,
|
93
|
+
first = touches[0],
|
94
|
+
eventTypes = {
|
95
|
+
touchstart: 'mousedown',
|
96
|
+
touchmove: 'mousemove',
|
97
|
+
touchend: 'mouseup'
|
98
|
+
},
|
99
|
+
type = eventTypes[event.type],
|
100
|
+
simulatedEvent
|
101
|
+
;
|
102
|
+
|
103
|
+
if('MouseEvent' in window && typeof window.MouseEvent === 'function') {
|
104
|
+
simulatedEvent = new window.MouseEvent(type, {
|
105
|
+
'bubbles': true,
|
106
|
+
'cancelable': true,
|
107
|
+
'screenX': first.screenX,
|
108
|
+
'screenY': first.screenY,
|
109
|
+
'clientX': first.clientX,
|
110
|
+
'clientY': first.clientY
|
111
|
+
});
|
112
|
+
} else {
|
113
|
+
simulatedEvent = document.createEvent('MouseEvent');
|
114
|
+
simulatedEvent.initMouseEvent(type, true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY, false, false, false, false, 0/*left*/, null);
|
115
|
+
}
|
116
|
+
first.target.dispatchEvent(simulatedEvent);
|
117
|
+
};
|
118
|
+
};
|
119
|
+
}(jQuery);
|
120
|
+
|
121
|
+
|
122
|
+
//**********************************
|
123
|
+
//**From the jQuery Mobile Library**
|
124
|
+
//**need to recreate functionality**
|
125
|
+
//**and try to improve if possible**
|
126
|
+
//**********************************
|
127
|
+
|
128
|
+
/* Removing the jQuery function ****
|
129
|
+
************************************
|
130
|
+
|
131
|
+
(function( $, window, undefined ) {
|
132
|
+
|
133
|
+
var $document = $( document ),
|
134
|
+
// supportTouch = $.mobile.support.touch,
|
135
|
+
touchStartEvent = 'touchstart'//supportTouch ? "touchstart" : "mousedown",
|
136
|
+
touchStopEvent = 'touchend'//supportTouch ? "touchend" : "mouseup",
|
137
|
+
touchMoveEvent = 'touchmove'//supportTouch ? "touchmove" : "mousemove";
|
138
|
+
|
139
|
+
// setup new event shortcuts
|
140
|
+
$.each( ( "touchstart touchmove touchend " +
|
141
|
+
"swipe swipeleft swiperight" ).split( " " ), function( i, name ) {
|
142
|
+
|
143
|
+
$.fn[ name ] = function( fn ) {
|
144
|
+
return fn ? this.bind( name, fn ) : this.trigger( name );
|
145
|
+
};
|
146
|
+
|
147
|
+
// jQuery < 1.8
|
148
|
+
if ( $.attrFn ) {
|
149
|
+
$.attrFn[ name ] = true;
|
150
|
+
}
|
151
|
+
});
|
152
|
+
|
153
|
+
function triggerCustomEvent( obj, eventType, event, bubble ) {
|
154
|
+
var originalType = event.type;
|
155
|
+
event.type = eventType;
|
156
|
+
if ( bubble ) {
|
157
|
+
$.event.trigger( event, undefined, obj );
|
158
|
+
} else {
|
159
|
+
$.event.dispatch.call( obj, event );
|
160
|
+
}
|
161
|
+
event.type = originalType;
|
162
|
+
}
|
163
|
+
|
164
|
+
// also handles taphold
|
165
|
+
|
166
|
+
// Also handles swipeleft, swiperight
|
167
|
+
$.event.special.swipe = {
|
168
|
+
|
169
|
+
// More than this horizontal displacement, and we will suppress scrolling.
|
170
|
+
scrollSupressionThreshold: 30,
|
171
|
+
|
172
|
+
// More time than this, and it isn't a swipe.
|
173
|
+
durationThreshold: 1000,
|
174
|
+
|
175
|
+
// Swipe horizontal displacement must be more than this.
|
176
|
+
horizontalDistanceThreshold: window.devicePixelRatio >= 2 ? 15 : 30,
|
177
|
+
|
178
|
+
// Swipe vertical displacement must be less than this.
|
179
|
+
verticalDistanceThreshold: window.devicePixelRatio >= 2 ? 15 : 30,
|
180
|
+
|
181
|
+
getLocation: function ( event ) {
|
182
|
+
var winPageX = window.pageXOffset,
|
183
|
+
winPageY = window.pageYOffset,
|
184
|
+
x = event.clientX,
|
185
|
+
y = event.clientY;
|
186
|
+
|
187
|
+
if ( event.pageY === 0 && Math.floor( y ) > Math.floor( event.pageY ) ||
|
188
|
+
event.pageX === 0 && Math.floor( x ) > Math.floor( event.pageX ) ) {
|
189
|
+
|
190
|
+
// iOS4 clientX/clientY have the value that should have been
|
191
|
+
// in pageX/pageY. While pageX/page/ have the value 0
|
192
|
+
x = x - winPageX;
|
193
|
+
y = y - winPageY;
|
194
|
+
} else if ( y < ( event.pageY - winPageY) || x < ( event.pageX - winPageX ) ) {
|
195
|
+
|
196
|
+
// Some Android browsers have totally bogus values for clientX/Y
|
197
|
+
// when scrolling/zooming a page. Detectable since clientX/clientY
|
198
|
+
// should never be smaller than pageX/pageY minus page scroll
|
199
|
+
x = event.pageX - winPageX;
|
200
|
+
y = event.pageY - winPageY;
|
201
|
+
}
|
202
|
+
|
203
|
+
return {
|
204
|
+
x: x,
|
205
|
+
y: y
|
206
|
+
};
|
207
|
+
},
|
208
|
+
|
209
|
+
start: function( event ) {
|
210
|
+
var data = event.originalEvent.touches ?
|
211
|
+
event.originalEvent.touches[ 0 ] : event,
|
212
|
+
location = $.event.special.swipe.getLocation( data );
|
213
|
+
return {
|
214
|
+
time: ( new Date() ).getTime(),
|
215
|
+
coords: [ location.x, location.y ],
|
216
|
+
origin: $( event.target )
|
217
|
+
};
|
218
|
+
},
|
219
|
+
|
220
|
+
stop: function( event ) {
|
221
|
+
var data = event.originalEvent.touches ?
|
222
|
+
event.originalEvent.touches[ 0 ] : event,
|
223
|
+
location = $.event.special.swipe.getLocation( data );
|
224
|
+
return {
|
225
|
+
time: ( new Date() ).getTime(),
|
226
|
+
coords: [ location.x, location.y ]
|
227
|
+
};
|
228
|
+
},
|
229
|
+
|
230
|
+
handleSwipe: function( start, stop, thisObject, origTarget ) {
|
231
|
+
if ( stop.time - start.time < $.event.special.swipe.durationThreshold &&
|
232
|
+
Math.abs( start.coords[ 0 ] - stop.coords[ 0 ] ) > $.event.special.swipe.horizontalDistanceThreshold &&
|
233
|
+
Math.abs( start.coords[ 1 ] - stop.coords[ 1 ] ) < $.event.special.swipe.verticalDistanceThreshold ) {
|
234
|
+
var direction = start.coords[0] > stop.coords[ 0 ] ? "swipeleft" : "swiperight";
|
235
|
+
|
236
|
+
triggerCustomEvent( thisObject, "swipe", $.Event( "swipe", { target: origTarget, swipestart: start, swipestop: stop }), true );
|
237
|
+
triggerCustomEvent( thisObject, direction,$.Event( direction, { target: origTarget, swipestart: start, swipestop: stop } ), true );
|
238
|
+
return true;
|
239
|
+
}
|
240
|
+
return false;
|
241
|
+
|
242
|
+
},
|
243
|
+
|
244
|
+
// This serves as a flag to ensure that at most one swipe event event is
|
245
|
+
// in work at any given time
|
246
|
+
eventInProgress: false,
|
247
|
+
|
248
|
+
setup: function() {
|
249
|
+
var events,
|
250
|
+
thisObject = this,
|
251
|
+
$this = $( thisObject ),
|
252
|
+
context = {};
|
253
|
+
|
254
|
+
// Retrieve the events data for this element and add the swipe context
|
255
|
+
events = $.data( this, "mobile-events" );
|
256
|
+
if ( !events ) {
|
257
|
+
events = { length: 0 };
|
258
|
+
$.data( this, "mobile-events", events );
|
259
|
+
}
|
260
|
+
events.length++;
|
261
|
+
events.swipe = context;
|
262
|
+
|
263
|
+
context.start = function( event ) {
|
264
|
+
|
265
|
+
// Bail if we're already working on a swipe event
|
266
|
+
if ( $.event.special.swipe.eventInProgress ) {
|
267
|
+
return;
|
268
|
+
}
|
269
|
+
$.event.special.swipe.eventInProgress = true;
|
270
|
+
|
271
|
+
var stop,
|
272
|
+
start = $.event.special.swipe.start( event ),
|
273
|
+
origTarget = event.target,
|
274
|
+
emitted = false;
|
275
|
+
|
276
|
+
context.move = function( event ) {
|
277
|
+
if ( !start || event.isDefaultPrevented() ) {
|
278
|
+
return;
|
279
|
+
}
|
280
|
+
|
281
|
+
stop = $.event.special.swipe.stop( event );
|
282
|
+
if ( !emitted ) {
|
283
|
+
emitted = $.event.special.swipe.handleSwipe( start, stop, thisObject, origTarget );
|
284
|
+
if ( emitted ) {
|
285
|
+
|
286
|
+
// Reset the context to make way for the next swipe event
|
287
|
+
$.event.special.swipe.eventInProgress = false;
|
288
|
+
}
|
289
|
+
}
|
290
|
+
// prevent scrolling
|
291
|
+
if ( Math.abs( start.coords[ 0 ] - stop.coords[ 0 ] ) > $.event.special.swipe.scrollSupressionThreshold ) {
|
292
|
+
event.preventDefault();
|
293
|
+
}
|
294
|
+
};
|
295
|
+
|
296
|
+
context.stop = function() {
|
297
|
+
emitted = true;
|
298
|
+
|
299
|
+
// Reset the context to make way for the next swipe event
|
300
|
+
$.event.special.swipe.eventInProgress = false;
|
301
|
+
$document.off( touchMoveEvent, context.move );
|
302
|
+
context.move = null;
|
303
|
+
};
|
304
|
+
|
305
|
+
$document.on( touchMoveEvent, context.move )
|
306
|
+
.one( touchStopEvent, context.stop );
|
307
|
+
};
|
308
|
+
$this.on( touchStartEvent, context.start );
|
309
|
+
},
|
310
|
+
|
311
|
+
teardown: function() {
|
312
|
+
var events, context;
|
313
|
+
|
314
|
+
events = $.data( this, "mobile-events" );
|
315
|
+
if ( events ) {
|
316
|
+
context = events.swipe;
|
317
|
+
delete events.swipe;
|
318
|
+
events.length--;
|
319
|
+
if ( events.length === 0 ) {
|
320
|
+
$.removeData( this, "mobile-events" );
|
321
|
+
}
|
322
|
+
}
|
323
|
+
|
324
|
+
if ( context ) {
|
325
|
+
if ( context.start ) {
|
326
|
+
$( this ).off( touchStartEvent, context.start );
|
327
|
+
}
|
328
|
+
if ( context.move ) {
|
329
|
+
$document.off( touchMoveEvent, context.move );
|
330
|
+
}
|
331
|
+
if ( context.stop ) {
|
332
|
+
$document.off( touchStopEvent, context.stop );
|
333
|
+
}
|
334
|
+
}
|
335
|
+
}
|
336
|
+
};
|
337
|
+
$.each({
|
338
|
+
swipeleft: "swipe.left",
|
339
|
+
swiperight: "swipe.right"
|
340
|
+
}, function( event, sourceEvent ) {
|
341
|
+
|
342
|
+
$.event.special[ event ] = {
|
343
|
+
setup: function() {
|
344
|
+
$( this ).bind( sourceEvent, $.noop );
|
345
|
+
},
|
346
|
+
teardown: function() {
|
347
|
+
$( this ).unbind( sourceEvent );
|
348
|
+
}
|
349
|
+
};
|
350
|
+
});
|
351
|
+
})( jQuery, this );
|
352
|
+
*/
|